CN116431266A - Interaction method, device, electronic equipment and storage medium - Google Patents
Interaction method, device, electronic equipment and storage medium Download PDFInfo
- Publication number
- CN116431266A CN116431266A CN202310457793.9A CN202310457793A CN116431266A CN 116431266 A CN116431266 A CN 116431266A CN 202310457793 A CN202310457793 A CN 202310457793A CN 116431266 A CN116431266 A CN 116431266A
- Authority
- CN
- China
- Prior art keywords
- session
- target object
- interaction
- associated object
- state
- 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.)
- Pending
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/451—Execution arrangements for user interfaces
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q50/00—Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
- G06Q50/01—Social networking
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Software Systems (AREA)
- Business, Economics & Management (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- Computing Systems (AREA)
- Human Computer Interaction (AREA)
- Health & Medical Sciences (AREA)
- Economics (AREA)
- General Health & Medical Sciences (AREA)
- Human Resources & Organizations (AREA)
- Marketing (AREA)
- Primary Health Care (AREA)
- Strategic Management (AREA)
- Tourism & Hospitality (AREA)
- General Business, Economics & Management (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The embodiment of the disclosure provides an interaction method, an interaction device, electronic equipment and a storage medium. The method comprises the following steps: a session list interface for displaying the target object; responding to the interactive state opening operation of a first associated object of the target object, and displaying a first session unfolding control of the first associated object in a preset area of a session list interface; and responding to the triggering operation of the first session unfolding control, and displaying the first session detail page of the target object and the first association object. According to the method, the first session expansion control of the first associated object subjected to the interactive state opening operation can be displayed in the preset area of the session list interface, the display mode of the first session expansion control is enriched, a target user corresponding to the target object can quickly notice that the first associated object has executed the interactive state opening operation, so that a session between the target object and the first associated object is quickly established, and the interactive efficiency is improved.
Description
Technical Field
The disclosure relates to the field of computer technology, and in particular, to an interaction method, an interaction device, electronic equipment and a storage medium.
Background
With the development of computer technology, information transmission through the internet is becoming more and more popular, such as interactive communication such as text communication and voice chat through instant social application programs.
In the related art, a user usually searches a conversation expansion control of a friend based on his own chat willingness, and performs interactive output in a displayed conversation detail page after clicking the searched conversation expansion control, so that on one hand, the operation is complicated, and on the other hand, the friend may lack chat willingness under the condition, so that the chat efficiency of both parties is low.
It should be noted that the information disclosed in the above background section is only for enhancing understanding of the background of the present disclosure and thus may include information that does not constitute prior art known to those of ordinary skill in the art.
Disclosure of Invention
The disclosure provides an interaction method, an interaction device, an electronic device, a computer readable storage medium and a computer program product, so as to display a first session expansion control of a first associated object subjected to an interaction state opening operation in a preset area of a session list interface, so that a target user corresponding to a target object can quickly notice that the first associated object has executed the interaction state opening operation, thereby quickly establishing a session between the target object and the first associated object and improving interaction efficiency.
The embodiment of the disclosure provides an interaction method, which comprises the following steps: a session list interface for displaying the target object; responding to the interactive state opening operation of a first associated object of the target object, and displaying a first session unfolding control of the first associated object in a preset area of a session list interface; and responding to the triggering operation of the first session unfolding control, and displaying the first session detail page of the target object and the first association object.
In some exemplary embodiments of the present disclosure, the interaction method provided by the present disclosure further includes: and hiding the first session expansion control in response to an interactive state closing operation of the first associated object.
In some exemplary embodiments of the present disclosure, after displaying the first session detail page of the target object and the first associated object, the interaction method provided by the present disclosure further includes: and displaying session expansion controls of other associated objects opened in the interaction state in the first session detail page.
In some exemplary embodiments of the present disclosure, a second session expansion control of a second associated object with closed interactive status is further included in the session list interface; the interaction method provided by the disclosure further comprises the following steps: responding to the triggering operation of the second session expansion control, and displaying a second session detail page of the target object and the second association object; and displaying the session unfolding control of the associated object with the opened interaction state in the second session detail page.
In some exemplary embodiments of the present disclosure, in response to an interactive status-on operation of a first associated object of a target object, a first session expansion control of the first associated object is presented in a predetermined area of a session list interface, including: responding to the interactive state opening operation of a first associated object of the target object, and judging whether the first associated object is in a first preset list of the target object; and if the first associated object is in the first preset list of the target object, displaying a first session expansion control of the first associated object in a preset area of the session list interface.
In some exemplary embodiments of the present disclosure, the interaction method provided by the present disclosure further includes: responding to the interactive state opening operation of the target object, and generating a state opening record of the target object; storing the state opening record into an interaction state record table of each associated object of the target object, and generating an interaction state opening notification of the target object; pushing the interaction state opening notification of the target object to each associated object of the target object.
In some exemplary embodiments of the present disclosure, pushing an interaction state open notification of a target object to each associated object of the target object includes: acquiring a second preset list of the target object; determining an associated object to be notified from all the associated objects of the target object based on the second preset list; pushing the interactive status opening notification to the associated object to be notified.
In some exemplary embodiments of the present disclosure, the interaction method provided by the present disclosure further includes: when the target object is determined to meet the closing condition of the interaction state, popping up the closing prompt control of the interaction state; wherein, the interactive state closing condition includes: the time length of opening the interaction state of the target object reaches a time length threshold; or the number of the associated objects for interaction of the target object in the preset period reaches a number threshold.
In some exemplary embodiments of the present disclosure, the interaction method provided by the present disclosure further includes: and deleting the state opening record of the target object from the interaction state record table of each associated object of the target object in response to the interaction state closing operation of the target object.
The embodiment of the disclosure provides an interaction device, which comprises: the display module is used for displaying a session list interface of the target object; the display module is further used for responding to the interactive state opening operation of the first associated object of the target object, and displaying a first session expansion control of the first associated object in a preset area of the session list interface; the display module is further configured to display a first session detail page of the target object and the first associated object in response to a triggering operation of the first session expansion control.
An embodiment of the present disclosure provides an electronic device, including: a processor; a memory for storing processor-executable instructions; wherein the processor is configured to execute executable instructions to implement the interaction method as in any of the above.
Embodiments of the present disclosure provide a computer readable storage medium, which when executed by a processor of an electronic device, enables the electronic device to perform an interaction method as any one of the above.
Embodiments of the present disclosure provide a computer program product, a computer program/instruction, characterized in that the computer program/instruction, when executed by a processor, implements the interaction method of any of the above.
According to the interaction method provided by the embodiment of the disclosure, the first session expansion control of the first associated object can be displayed in the preset area of the session list interface of the target object in response to the interaction state opening operation of the first associated object of the target object, and then the first session detail page of the target object and the first associated object is displayed by triggering the first session expansion control in the preset area of the session list interface, so that the target object can rapidly perform interaction with the first associated object. Therefore, according to the interaction method provided by the disclosure, on one hand, the first session expansion control of the first associated object subjected to the interaction state opening operation is displayed in the preset area of the session list interface, so that the display mode of the first session expansion control can be enriched, the first session expansion control has a striking display effect, a target user corresponding to the target object can quickly notice that the first associated object has executed the interaction state opening operation, a session between the target object and the first associated object is quickly established, and the interaction efficiency is improved. On the other hand, when the target user also has the intention of interacting with the first associated object, the interaction with the first associated object can be rapidly developed by operating the first session expansion control in the preset area, so that the interaction mode between the target user and the first associated object is enriched, and the interaction efficiency is further improved.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the disclosure and together with the description, serve to explain the principles of the disclosure and do not constitute an undue limitation on the disclosure.
FIG. 1 illustrates a schematic diagram of an exemplary system architecture to which the interaction methods of embodiments of the present disclosure may be applied.
FIG. 2 is a flow chart illustrating a method of interaction according to an exemplary embodiment.
FIG. 3 is a schematic diagram illustrating a first session expansion control in a predetermined area of a session list interface, according to an example embodiment.
FIG. 4 is a schematic diagram of a session expansion control showing other interactive state-opened associated objects in a first session detail page, according to an example embodiment.
FIG. 5 is a flowchart illustrating a method for target object opening interaction state in an interaction method according to an exemplary embodiment.
FIG. 6 is a block diagram illustrating an interactive device, according to an exemplary embodiment.
Fig. 7 is a schematic diagram illustrating a structure of an electronic device suitable for use in implementing an exemplary embodiment of the present disclosure, according to an exemplary embodiment.
Detailed Description
In order to enable those skilled in the art to better understand the technical solutions of the present disclosure, the technical solutions of the embodiments of the present disclosure will be clearly and completely described below with reference to the accompanying drawings.
It should be noted that the terms "first," "second," and the like in the description and claims of the present disclosure and in the foregoing figures are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged where appropriate such that the embodiments of the disclosure described herein may be capable of operation in sequences other than those illustrated or described herein. The implementations described in the following exemplary examples are not representative of all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with some aspects of the present disclosure as detailed in the accompanying claims.
The user information according to the embodiments of the present disclosure may be information authorized by the user or sufficiently authorized by each party. It should be noted that, the information (including but not limited to account information and the like), the data (including but not limited to data for analysis, stored data, presented data and the like) and the signals related to the embodiments of the present disclosure are all authorized by the user or are fully authorized by the parties, and the collection, use and processing of the related data need to comply with the relevant laws and regulations and standards of the relevant countries and regions.
FIG. 1 illustrates a schematic diagram of an exemplary system architecture to which the interaction methods of embodiments of the present disclosure may be applied.
As shown in fig. 1, the system architecture may include a server 101, a network 102, and a client 103. Network 102 is the medium used to provide communication links between clients 103 and server 101. Network 102 may include various connection types such as wired, wireless communication links, or fiber optic cables, among others.
In an exemplary embodiment, the server 101 may be a server providing various services, such as a background management server providing support for devices operated by users with the client 103. The background management server may analyze and process the received data such as the request, and feed back the processing result to the client 103. The server 101 may be an independent physical server, a server cluster or a distributed system formed by a plurality of physical servers, or a cloud server providing cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communication, middleware services, domain name services, security services, CDNs (Content Delivery Network, content delivery networks), basic cloud computing services such as big data and artificial intelligent platforms, and the like. In some practical applications, the server 101 may also be a server of a network platform, and the network platform may be, for example, a transaction platform, a live broadcast platform, a social platform, or a music platform, which is not limited in the embodiments of the present disclosure. The server may be one server or may be a cluster formed by a plurality of servers, and the specific architecture of the server is not limited in this disclosure.
The client 103 in data transmission with the server 101 may include, but is not limited to, a smart phone, a desktop computer, a tablet computer, a notebook computer, a smart speaker, a digital assistant, an AR (Augmented Reality) device, a VR (Virtual Reality) device, a smart wearable device, and other types of electronic devices.
In an exemplary embodiment, the process of implementing the interaction method by the client 103 may be: client 103 presents a session list interface of the target object; the client 103 responds to the interactive state opening operation of the first associated object of the target object, and displays a first session expansion control of the first associated object in a preset area of a session list interface; the client 103 exposes a first session detail page of the target object and the first associated object in response to a trigger operation of the first session expansion control.
In addition, it should be noted that fig. 1 is only one application environment of the interaction method provided by the present disclosure. The number of clients, networks, and servers in fig. 1 is merely illustrative, and any number of clients, networks, and servers may be provided as desired.
In order to enable those of ordinary skill in the art to better understand the technical solutions of the present disclosure, the following describes in more detail the steps of the online document processing method in the exemplary embodiment of the present disclosure with reference to the accompanying drawings and embodiments.
Fig. 2 is a flowchart illustrating an interaction method according to an exemplary embodiment, and the execution subject of the method provided in the embodiment of fig. 2 may be any electronic device, such as the client 103 in the embodiment of fig. 1, but the disclosure is not limited thereto.
As shown in fig. 2, the interaction method provided by the embodiment of the disclosure may include the following steps.
Step S201, a session list interface of the target object is displayed.
In this step, the target object may be a user account of a target user using the social application. The session list interface may be an interface in a social application for presenting a list of session messages (e.g., a buddy user's head-end icon, the message content of the last session message in a session, the time of transmission of the last session message, etc.) between a target user and his buddy user.
In step S203, a first session expansion control of the first associated object is displayed in a predetermined area of the session list interface in response to the interactive status opening operation of the first associated object of the target object.
In this step, the first association object may be a user account of a friend user of the target user, where the friend user may perform an interaction state opening operation in a social application on a client thereof; the interaction state can be the interaction willingness of the user, and the opening operation of the interaction state can indicate that the user has the interaction willingness currently, for example, the interaction behavior that the user hopes to carry out word communication, voice communication and the like with friends of the user currently can be indicated.
The predetermined area of the session list interface may be, for example, a partial area located at the upper side or the left side of the session list interface; the first session expansion control may be used to expand session messages between more target objects and the first associated object after being operated. In some practical applications, some session messages between the target user and the friend user may be displayed in the session expansion control, for example, in this step, information such as a head portrait of the first associated object, a user identifier (such as a nickname) and the like may be displayed in the first session expansion control. The preset area of the session list interface can be used for displaying the session expansion control of the associated friends with opened interaction states, and the session expansion control of the associated friends with closed interaction states can be displayed in an area outside the preset area of the session list interface so as to distinguish the associated friends with opened interaction states from the associated friends with closed interaction states.
In this step, the first session expansion control of the first associated object subjected to the interactive state opening operation is displayed in the predetermined area of the session list interface, so that the display mode of the first session expansion control can be enriched, the first session expansion control has a striking display effect, and a target user corresponding to the target object can quickly notice that the first associated object has executed the interactive state opening operation, thereby quickly establishing a session between the target object and the first associated object, and improving the interactive efficiency.
In some implementations, the session list interface may also include a list area that is different from the predetermined area; before the friend user of the target user performs the interactive status opening operation, the first session expansion control may be displayed in the list area, based on which step S203 may further include: and responding to the interactive state opening operation of the first associated object, and transforming the display position of the first session expansion control to display the first session expansion control in a preset area of the session list interface.
For example, the predetermined area may be a partial area on the upper side of the session list interface, and the list area may be an area other than the predetermined area in the session list interface; before the friend user corresponding to the first associated object performs the interactive status opening operation, the first session expansion control may be located at a certain position in the list area, and then in response to the interactive status opening operation of the first associated object, the first session expansion control may be set to be displayed at a certain position in the predetermined area.
In an exemplary embodiment, after the first session expansion control is presented in the predetermined area of the session list interface, the interaction method provided by the present disclosure may further include: and hiding the first session expansion control in response to an interactive state closing operation of the first associated object.
The first session expansion control may be removed from the predetermined area and not displayed in the session list interface, or the first session expansion control may be moved from the predetermined area to the list area of the session list interface.
Through the step, after the friend user corresponding to the first associated object executes the interaction state closing operation, the operation is reflected in the conversation list interface of the target object in time (namely, the first conversation expansion control is hidden), so that the display mode of the first conversation expansion control is enriched as a whole, the target user corresponding to the target object can timely learn the change condition of reduced interaction intention of the friend user, and the interaction modes of the two parties are enriched.
Referring to fig. 3, fig. 3 is a schematic diagram showing a first session expansion control in a predetermined area of a session list interface, as shown in fig. 3, according to an exemplary embodiment, including: a session list interface 300, a predefined area 301, a first session expansion control 302, and an avatar 303 of a first associated object. The predetermined area 301 may be located at an upper side of the session list interface 300, and after the target object receives the interaction state opening operation of the first associated object, a first session expansion control 302 of the first associated object may be displayed in the predetermined area 301, and information such as an avatar 303 of the first associated object may also be displayed in the first session expansion control 302.
In an exemplary embodiment, in response to an interactive status-on operation of a first associated object of a target object, a first session expansion control of the first associated object is presented in a predetermined area of a session list interface, including: responding to the interactive state opening operation of a first associated object of the target object, and judging whether the first associated object is in a first preset list of the target object; and if the first associated object is in the first preset list of the target object, displaying a first session expansion control of the first associated object in a preset area of the session list interface.
The first preset list can be set by taking the target object as a receiver of the interactive state opening operation, and the first preset list can contain related objects of which the target object hopes to know the interactive state; that is, if the associated object is in the first preset list of the target object, the session expansion control of the associated object may be displayed in a predetermined area of the session list interface; if the associated object is not in the first preset list of the target object, the display is not performed.
The target user corresponding to the target object can obtain the interaction state of the associated object in the first preset list by setting the first preset list and shield the interaction state of the associated object outside the first preset list, so that the autonomous selection mode of the target object for being informed of the interaction state of the associated object is enriched, and the interaction mode of the target object and the associated object is enriched.
In step S205, in response to the triggering operation of the first session expansion control, a first session detail page of the target object and the first association object is displayed.
The triggering operation of the first session expansion control may be any one or a combination of multiple operations of clicking, double clicking, long pressing, hovering, etc. on the first session expansion control, and may also be a voice instruction or a gesture instruction on the first session expansion control. An interaction message (e.g., a text chat log, etc.) between the target object and the first associated object may be displayed in the first session detail page and may be used to enable the target object to continue interaction (e.g., text interaction, voice interaction, etc.) with the first associated object.
In this step, when the target user also has a desire to interact with the first associated object, the interaction with the first associated object may be rapidly performed by operating the first session expansion control in the predetermined area, so that the interaction manner between the target user and the first associated object is enriched, and the interaction efficiency is improved.
According to the interaction method provided by the disclosure, the first session expansion control of the first associated object can be displayed in the preset area of the session list interface of the target object in response to the interaction state opening operation of the first associated object of the target object, and then the first session detail page of the target object and the first associated object is displayed by triggering the first session expansion control in the preset area of the session list interface, so that the target object can rapidly develop interaction with the first associated object. On the one hand, the first session expansion control of the first associated object subjected to the interactive state opening operation is displayed in the preset area of the session list interface, so that the display mode of the first session expansion control can be enriched, the first session expansion control has a striking display effect, a target user corresponding to the target object can quickly notice that the first associated object has executed the interactive state opening operation, a session between the target object and the first associated object is quickly established, and the interactive efficiency is improved. On the other hand, when the target user also has the intention of interacting with the first associated object, the interaction with the first associated object can be rapidly developed by operating the first session expansion control in the preset area, so that the interaction mode between the target user and the first associated object is enriched, and the interaction efficiency is further improved.
In an exemplary embodiment, after displaying the first session detail page of the target object and the first associated object, the interaction method provided by the present disclosure further includes: and displaying session expansion controls of other associated objects opened in the interaction state in the first session detail page.
The first session detail page may have a session area for displaying interaction information (such as a chat record) between the target object and the first associated object, and may have a predetermined area (such as an upper area) different from the session area for displaying a session expansion control of the associated object opened by other interaction states of the target object.
According to the method and the device for achieving interaction between the target object and the first associated object, other session expansion controls of the associated objects opened in other interaction states of the target object can be displayed while the target object interacts with the first associated object, so that the target object can timely learn other associated objects with interaction will, and therefore sessions between the target object and the associated objects opened in other interaction states can be established quickly through triggering operation on the other session expansion controls in the first session detail page, operation is convenient and fast, and interaction efficiency is further improved.
Referring to fig. 4, fig. 4 is a schematic diagram illustrating a session expansion control for displaying other associated objects with opened interaction states in a first session detail page according to an exemplary embodiment, as shown in fig. 4, including: a first session details page 400, a predetermined area 401 in the first session details page 400, a session area 402 in the first session details page 400, a third session expansion control 403 of a third associated object, and a fourth session expansion control 404 of a fourth associated object. Wherein the predetermined area 401 may be located at an upper side of the first session detail page 400, and the session area 402 may be an area other than the predetermined area 401 in the first session detail page 400; the third associated object and the fourth associated object are associated objects with opened interaction states of the target object, and a third session expansion control 403 and a fourth session expansion control 404 can be displayed in the predetermined area 401.
In an exemplary embodiment, the session list interface further includes a second session expansion control of a second associated object whose interaction state is closed; the interaction method provided by the disclosure further comprises the following steps: responding to the triggering operation of the second session expansion control, and displaying a second session detail page of the target object and the second association object; and displaying the session unfolding control of the associated object with the opened interaction state in the second session detail page.
In this embodiment, the second associated object with the closed interaction state may be regarded as an associated object of the target object, where the interaction will not be displayed, and the second session expansion control may be located in an area other than the predetermined area in the session list interface; the target object may perform a triggering operation (e.g., a single click, a double click, etc.) on the second session expansion control to display a second session detail page for session interaction with the second associated object; and then, the session expansion control of other associated objects opened in all interaction states can be displayed in the second session detail page, so that the target object can timely learn other associated objects with interaction will, and therefore, the session between the target object and the associated objects opened in other interaction states can be quickly established by executing triggering operation on the other session expansion control in the second session detail page, the operation is convenient, and the interaction efficiency is further improved.
Fig. 5 is a flowchart illustrating a method for opening an interaction state of a target object in an interaction method according to an exemplary embodiment, as shown in fig. 5, in an exemplary embodiment, the interaction method provided by the present disclosure further includes:
in step S501, a status opening record of the target object is generated in response to the interactive status opening operation of the target object.
The social application program where the target object is located can have an interaction state opening control, and the target user corresponding to the target object can execute triggering operation (such as clicking, double clicking and the like) on the interaction state opening control provided by the social application program on the local client, so that the interaction state of the target object is opened to express the interaction willingness of the target user. In this step, according to the operation of opening the interaction state of the target object, a piece of record data capable of indicating the opening the interaction state of the target object at this time may be correspondingly generated at the server, where the record data may include the identification information (e.g., UID) of the target object, the opening time of the interaction state, and other data.
In some practical applications, an interface and message content related to the open interaction state protocol may be predefined, for example, the open interaction state protocol may be defined based on the Protobuf protocol (a lightweight and efficient structured data storage format), and when a social application program where a target object is located calls the interface of the open interaction state protocol, a state open record of the target object is generated.
In step S503, the status opening record is stored in the interaction status record table of each associated object of the target object, and an interaction status opening notification of the target object is generated.
The server side can store an account list of friend users with opened interaction states for each user account, and the account list of the friend users with opened interaction states can be used as an interaction state record list. In this step, each associated object (i.e., each friend user of the target user) of the target object may be first found, and then the state opening record of the opening interaction state of the target object is stored in the interaction state record table of each associated object. For example, friends of the user A are the second and the third, and after the interaction state of the first is started, information of the first is newly added in the interaction state record table of the user B, and information of the first is also newly added in the interaction state record table of the user C.
In addition, an interaction state opening notification of the target object can be generated, so that the interaction state opening notification is used for pushing each associated object of the target object to inform each associated object of the message of opening the interaction state of the target object.
In step S505, the interaction status opening notification of the target object is pushed to each associated object of the target object.
The interaction state opening notification of the target object may be pushed to each online associated object of the target object (i.e., the associated object of the logged-in social application).
The interaction state opening notification can directly contain identification information of the target object, so that each associated object of the target object displays a session expansion control of the target object in each session list interface according to the identification information in the interaction state opening notification. The interaction state opening notification may not include the identification information of the target object, but notify each associated object of the target object to read its own interaction state record table, and then display the session expansion control of the associated object (including the target object) whose own interaction state is opened in a predetermined area in its own session list interface according to the read content.
In some practical applications, the client where the target object is located may also process the received notification of the opening of the interaction state based on a preset frequency (e.g. every 5 seconds, every 30 seconds, etc.), so as to update the session list interface of the target object.
In some practical applications, when the target object opens the interaction state, if a certain associated object of the target object is not online, the interaction state record table of the target object may be read after the target object logs in to the online state, so as to obtain the associated object (including the target object) of the opened interaction state of the target object, and further display the session expansion controls (including the session expansion controls of the target object) of the associated object in a predetermined area in the session list interface of the target object. Specifically, the interface and the message content related to the read interaction state record table may be predefined, for example, the read interaction state record table protocol may be defined based on the Protobuf protocol, which is described above, and when the user is detected that the user is logged in online, the read interaction state record table protocol may be called, so that the social application program of the user reads the interaction state record table of the user stored in the server, and the session expansion control of the associated object of the user is displayed in a predetermined area in the session list interface of the user.
In an exemplary embodiment, the interaction method provided by the present disclosure further includes: and deleting the state opening record of the target object from the interaction state record table of each associated object of the target object in response to the interaction state closing operation of the target object.
Further, an interaction state closing notification of the target object may also be generated, and then the interaction state closing notification of the target object is pushed to each associated object of the target object, so as to hide the session expansion control of the target object in a predetermined area in the session list interface of each associated object of the target object.
In some practical applications, an interface and message content related to the closing interaction state protocol may be predefined, for example, the closing interaction state protocol may be defined based on the Protobuf protocol, and when the social application program where the target object is located calls the interface of the closing interaction state protocol, the state opening record of the target object in the corresponding interaction state record table is deleted.
In the above embodiment, the target object is used as the initiator of the interaction state opening operation to generate the state opening record of the target object according to the interaction state opening operation of the target object, and then the state opening record of the target object is stored in the interaction state record table of each associated object of the target object; and the state opening record of the target object can be deleted from the interaction state record table of each associated object of the target object according to the interaction state closing operation of the target object. Similarly, for any object (i.e. user account), after the object performs the operation of opening the interaction state or closing the interaction state, the interaction state record table of each associated object of the object can be updated in time, and so on, the interaction state record tables under all user accounts can be maintained in time.
In an exemplary embodiment, step S505 may further include: acquiring a second preset list of the target object; determining an associated object to be notified from all the associated objects of the target object based on the second preset list; pushing the interactive status opening notification to the associated object to be notified.
In this embodiment, the second preset list may be set by using the target object as the initiator of the interaction state opening operation, where the second preset list may include an associated object whose interaction state is desired to be notified by the target object; that is, if the associated object is in the second preset list of the target object, the interaction state opening notification of the target object may be pushed to the associated object, so that the session expansion control of the target object is displayed in a predetermined area in the session list interface of the associated object; if the associated object is not in the second preset list of the target object, pushing is not performed, and then the session expansion control of the target object is not displayed in a preset area in the session list interface of the associated object.
The target user corresponding to the target object can inform the relevant object in the second preset list of the information of the opened interaction state of the target user by setting the second preset list, and avoid informing the relevant object outside the second preset list of the information of the opened interaction state of the target user, so that the autonomous selection mode of the target object for informing the relevant object of the opened interaction state of the target user is enriched, and the interaction mode of the target object and the relevant object is enriched.
In an exemplary embodiment, the interaction method provided by the present disclosure further includes: when the target object is determined to meet the closing condition of the interaction state, popping up the closing prompt control of the interaction state; wherein, the interactive state closing condition includes: the time length of opening the interaction state of the target object reaches a time length threshold; or the number of the associated objects for interaction of the target object in the preset period reaches a number threshold.
In this embodiment, the duration threshold, the preset period and the number threshold may be configured in the social application program, or may be set by the target object based on its actual requirement; the opening time of the target object in the opening interaction state can be recorded, and when the difference between a certain time after the target object in the opening interaction state is detected and the opening time exceeds a time threshold (such as 1 hour, 3 hours, etc.), the interaction state closing prompt control can be popped up. The preset period may be, for example, 30 minutes, and the number of associated objects that interact with the target object within 30 minutes before the current time may be detected every 30 seconds, and the number is compared with a number threshold (e.g., 10), and if the number is greater than or equal to the number threshold, the interaction state may be popped up to close the prompt control.
It can be seen that through the embodiment, more ways of controlling and selecting the interaction state can be provided for the target object, so that not only are ways of controlling the interaction state function in the social application program enriched, but also display forms and interface functions of interfaces in the social application program are enriched.
It is noted that the above-described figures are merely schematic illustrations of processes involved in a method according to exemplary embodiments of the present disclosure, and are not intended to be limiting. It will be readily appreciated that the processes shown in the above figures do not indicate or limit the temporal order of these processes. In addition, it is also readily understood that these processes may be performed synchronously or asynchronously, for example, among a plurality of modules.
FIG. 6 is a block diagram illustrating an interactive device, according to an exemplary embodiment. Referring to fig. 6, an interactive apparatus 600 provided by an embodiment of the present disclosure may include: the display module 601 is configured to display a session list interface of the target object; the display module 601 is further configured to display, in response to an interactive status opening operation of a first associated object of the target object, a first session expansion control of the first associated object in a predetermined area of the session list interface; the presentation module 601 is further configured to present a first session detail page of the target object and the first associated object in response to a triggering operation of the first session expansion control.
As can be seen, the interactive apparatus as shown in fig. 6 is implemented, the first session expansion control of the first associated object is displayed in a predetermined area of the session list interface of the target object in response to the operation of opening the interactive state of the first associated object of the target object, and then the first session detail page of the target object and the first associated object is displayed by triggering the first session expansion control in the predetermined area of the session list interface, so that the target object rapidly performs the interaction with the first associated object. On the one hand, the first session expansion control of the first associated object subjected to the interactive state opening operation is displayed in the preset area of the session list interface, so that the display mode of the first session expansion control can be enriched, the first session expansion control has a striking display effect, a target user corresponding to the target object can quickly notice that the first associated object has executed the interactive state opening operation, a session between the target object and the first associated object is quickly established, and the interactive efficiency is improved. On the other hand, when the target user also has the intention of interacting with the first associated object, the interaction with the first associated object can be rapidly developed by operating the first session expansion control in the preset area, so that the interaction mode between the target user and the first associated object is enriched, and the interaction efficiency is further improved.
In an exemplary embodiment, the interactive apparatus 600 further includes a hiding module 602, the hiding module 602 being configured to hide the first session expansion control in response to an interactive status closing operation of the first associated object.
In an exemplary embodiment, after presenting the first session detail page of the target object and the first associated object, the presentation module 601 is further configured to: and displaying session expansion controls of other associated objects opened in the interaction state in the first session detail page.
In an exemplary embodiment, the session list interface further includes a second session expansion control of a second associated object whose interaction state is closed; the display module 601 is further configured to: responding to the triggering operation of the second session expansion control, and displaying a second session detail page of the target object and the second association object; and displaying the session unfolding control of the associated object with the opened interaction state in the second session detail page.
In an exemplary embodiment, the presenting module 601 presents, in a predetermined area of the session list interface, a first session expansion control of a first associated object of the target object in response to an interactive status-on operation of the first associated object, including: responding to the interactive state opening operation of a first associated object of the target object, and judging whether the first associated object is in a first preset list of the target object; and if the first associated object is in the first preset list of the target object, displaying a first session expansion control of the first associated object in a preset area of the session list interface.
In an exemplary embodiment, the interaction device 600 further includes: a generating module 603, configured to generate a status opening record of the target object in response to an interaction status opening operation of the target object; the recording module 604 is configured to store the status opening record in an interaction status record table of each associated object of the target object, and generate an interaction status opening notification of the target object; the pushing module 605 is configured to push the interaction status opening notification of the target object to each associated object of the target object.
In an exemplary embodiment, the pushing module 605 pushes the interaction state open notification of the target object to each associated object of the target object, including: acquiring a second preset list of the target object; determining an associated object to be notified from all the associated objects of the target object based on the second preset list; pushing the interactive status opening notification to the associated object to be notified.
In an exemplary embodiment, the interaction device 600 further includes a pop-up module 606, the pop-up module 606 being configured to: when the target object is determined to meet the closing condition of the interaction state, popping up the closing prompt control of the interaction state; wherein, the interactive state closing condition includes: the time length of opening the interaction state of the target object reaches a time length threshold; or the number of the associated objects for interaction of the target object in the preset period reaches a number threshold.
In an exemplary embodiment, the interactive apparatus 600 further includes a deleting module 607 for deleting the status on record of the target object from the interactive status record table of each associated object of the target object in response to the interactive status off operation of the target object.
The specific manner in which the various modules perform the operations in the apparatus of the above embodiments have been described in detail in connection with the embodiments of the method, and will not be described in detail herein.
An electronic device 700 according to such an embodiment of the present disclosure is described below with reference to fig. 7. The electronic device 700 shown in fig. 7 is merely an example and should not be construed to limit the functionality and scope of use of embodiments of the present disclosure in any way.
As shown in fig. 7, the electronic device 700 is embodied in the form of a general purpose computing device. Components of electronic device 700 may include, but are not limited to: the at least one processing unit 710, the at least one storage unit 720, a bus 730 connecting the different system components (including the storage unit 720 and the processing unit 710), and a display unit 740.
Wherein the storage unit stores program code that is executable by the processing unit 710 such that the processing unit 710 performs steps according to various exemplary embodiments of the present disclosure described in the above-described "exemplary methods" section of the present specification. For example, the processing unit 710 may perform an interaction method as shown in fig. 2.
As another example, the electronic device may implement the various steps shown in fig. 2.
The memory unit 720 may include readable media in the form of volatile memory units, such as Random Access Memory (RAM) 721 and/or cache memory 722, and may further include Read Only Memory (ROM) 723.
The storage unit 720 may also include a program/utility 724 having a set (at least one) of program modules 725, such program modules 725 including, but not limited to: an operating system, one or more application programs, other program modules, and program data, each or some combination of which may include an implementation of a network environment.
The electronic device 700 may also communicate with one or more external devices 770 (e.g., keyboard, pointing device, bluetooth device, etc.), one or more devices that enable a user to interact with the electronic device 700, and/or any device (e.g., router, modem, etc.) that enables the electronic device 700 to communicate with one or more other computing devices. Such communication may occur through an input/output (I/O) interface 750. Also, electronic device 700 may communicate with one or more networks such as a Local Area Network (LAN), a Wide Area Network (WAN) and/or a public network, such as the Internet, through network adapter 760. As shown, network adapter 760 communicates with other modules of electronic device 700 over bus 730. It should be appreciated that although not shown, other hardware and/or software modules may be used in connection with electronic device 700, including, but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, data backup storage systems, and the like.
From the above description of embodiments, those skilled in the art will readily appreciate that the example embodiments described herein may be implemented in software, or in combination with the necessary hardware. Thus, the technical solution according to the embodiments of the present disclosure may be embodied in the form of a software product, which may be stored in a non-volatile storage medium (may be a CD-ROM, a U-disk, a mobile hard disk, etc.) or on a network, and includes several instructions to cause a computing device (may be a personal computer, a server, a terminal device, or a network device, etc.) to perform the method according to the embodiments of the present disclosure.
In an exemplary embodiment, a computer readable storage medium is also provided, e.g., a memory, comprising instructions executable by a processor of an apparatus to perform the above method. Alternatively, the computer readable storage medium may be ROM, random Access Memory (RAM), CD-ROM, magnetic tape, floppy disk, optical data storage device, etc.
In an exemplary embodiment, a computer program product is also provided, comprising a computer program and/or instructions which, when executed by a processor, implement the interaction method of the above embodiments.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any adaptations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It is to be understood that the present disclosure is not limited to the precise arrangements and instrumentalities shown in the drawings, and that various modifications and changes may be effected without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.
Claims (12)
1. A method of interaction, comprising:
a session list interface for displaying the target object;
responding to the interactive state opening operation of a first associated object of the target object, and displaying a first session unfolding control of the first associated object in a preset area of the session list interface;
and responding to the triggering operation of the first session expansion control, and displaying a first session detail page of the target object and the first association object.
2. The method according to claim 1, wherein the method further comprises:
and hiding the first session expansion control in response to an interactive state closing operation of the first associated object.
3. The method according to claim 1 or 2, wherein after presenting the first session detail page of the target object and the first associated object, the method further comprises:
and displaying session expansion controls of other associated objects opened in the interaction state in the first session detail page.
4. The method according to claim 1 or 2, wherein the session list interface further comprises a second session expansion control of a second associated object with closed interaction state; the method further comprises the steps of:
responding to the triggering operation of the second session expansion control, and displaying a second session detail page of the target object and the second association object;
and displaying a session unfolding control of the associated object with the opened interaction state in the second session detail page.
5. The method of claim 1 or 2, wherein presenting a first conversation expansion control of a first associated object of the target object in a predetermined area of the conversation listing interface in response to an interactive state opening operation of the first associated object, comprises:
Responding to an interaction state opening operation of a first associated object of the target object, and judging whether the first associated object is in a first preset list of the target object;
and if the first associated object is in the first preset list of the target object, displaying a first session expansion control of the first associated object in a preset area of the session list interface.
6. The method according to claim 1, wherein the method further comprises:
responding to the interactive state opening operation of the target object, and generating a state opening record of the target object;
storing the state opening record into an interaction state record table of each associated object of the target object, and generating an interaction state opening notification of the target object;
pushing the interaction state opening notification of the target object to each associated object of the target object.
7. The method of claim 6, wherein pushing the interaction state open notification of the target object to each associated object of the target object comprises:
acquiring a second preset list of the target object;
determining an associated object to be notified from all the associated objects of the target object based on the second preset list;
Pushing the interaction state opening notification to the related object to be notified.
8. The method of claim 6, wherein the method further comprises:
when the target object is determined to meet the closing condition of the interaction state, popping up the closing prompt control of the interaction state;
wherein, the interaction state closing condition includes: the duration of the target object in the starting interaction state reaches a duration threshold; or the number of the associated objects for interaction of the target object in the preset period reaches a number threshold.
9. The method of claim 6, wherein the method further comprises:
and deleting the state opening record of the target object from the interaction state record table of each associated object of the target object in response to the interaction state closing operation of the target object.
10. An interactive apparatus, comprising:
the display module is used for displaying a session list interface of the target object;
the display module is further used for responding to the interactive state opening operation of the first associated object of the target object, and displaying a first session expansion control of the first associated object in a preset area of the session list interface;
The display module is further configured to display a first session detail page of the target object and the first associated object in response to a triggering operation of the first session expansion control.
11. An electronic device, comprising:
a processor;
a memory for storing the processor-executable instructions;
wherein the processor is configured to execute the executable instructions to implement the interaction method of any of claims 1 to 9.
12. A computer readable storage medium, which when executed by a processor of an electronic device, causes the electronic device to perform the interaction method of any of claims 1-9.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310457793.9A CN116431266A (en) | 2023-04-25 | 2023-04-25 | Interaction method, device, electronic equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310457793.9A CN116431266A (en) | 2023-04-25 | 2023-04-25 | Interaction method, device, electronic equipment and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN116431266A true CN116431266A (en) | 2023-07-14 |
Family
ID=87087184
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202310457793.9A Pending CN116431266A (en) | 2023-04-25 | 2023-04-25 | Interaction method, device, electronic equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN116431266A (en) |
-
2023
- 2023-04-25 CN CN202310457793.9A patent/CN116431266A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110113252B (en) | Method and device for processing applet notification message and computer storage medium | |
CN111857500B (en) | Message display method and device, electronic equipment and storage medium | |
US9338403B2 (en) | Persistent conversations | |
CN107864358B (en) | Shared object operation method in video call | |
US8433761B2 (en) | Method for receiving and displaying segments of a message before the message is complete | |
CA2385619A1 (en) | Messaging application user interface | |
WO2025092652A1 (en) | Interaction method and apparatus, device, and storage medium | |
CN111444415B (en) | Barrage processing method, server, client, electronic equipment and storage medium | |
NO315679B1 (en) | Rich communication over the internet | |
US10200338B2 (en) | Integrating communication modes in persistent conversations | |
US11134034B2 (en) | Systems, methods, and storage media configured to integrate artificial intelligence chatbots into a communication between real-world users | |
US20070214424A1 (en) | Networked chat technique | |
CN111901225B (en) | Message prompting method and device, storage medium and electronic device | |
CN114244793B (en) | Information processing method, device, equipment and storage medium | |
JP2019155103A (en) | Game replay method and system | |
CN115757748B (en) | Method and device for controlling conversation with robot, computer equipment and storage medium | |
JP2020154491A (en) | Communication support system and program | |
WO2023138184A1 (en) | Prompt information display method and apparatus, storage medium and electronic device | |
US20240329919A1 (en) | Speech message playback | |
CN116431266A (en) | Interaction method, device, electronic equipment and storage medium | |
CN115268724A (en) | Information statistical method, device, equipment and storage medium | |
US12427414B2 (en) | Method and apparatus for displaying prompt information, storage medium and electronic device | |
CN113065061B (en) | Information display method, device and server | |
CN110555027A (en) | information security processing method and device, storage medium and computing equipment | |
CN119200864A (en) | A multi-channel streaming keyboard input method, device, equipment and medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |