Interactive interface presentation method and apparatus, and device

By responding to trigger instructions of preset events in interactive software, obtaining and displaying interactive data, and generating interactive information display items, the problem of simple information display in the existing technology is solved, and a rich and interesting user communication experience is achieved.

WO2025214314A1PCT designated stage Publication Date: 2025-10-16BEIJING ZITIAO NETWORK TECH CO LTD
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
PCT/CN2025/087601
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2024-04-12
Filing Date
2025-04-07
Publication Date
2025-10-16

AI Technical Summary

Technical Problem

The information display method in existing interactive software is simple, resulting in limited interactive information content, lack of richness and fun, and inability to effectively promote user communication.

Method used

A method for displaying an interactive interface is provided. By responding to interactive information trigger instructions in preset events, event information is displayed in a target dialogue interface, and interactive data of multiple target objects is obtained, interactive information display items are generated and displayed, thereby improving the efficiency and richness of information generation.

Benefits of technology

It increases the information richness and fun of the interactive interface, promotes communication between users, and improves the efficiency of information display and interactive experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2025087601_16102025_PF_FP_ABST
    Figure CN2025087601_16102025_PF_FP_ABST
Patent Text Reader

Abstract

Provided in the present disclosure are an interactive interface presentation method and apparatus, and a device. The method comprises: in response to an interactive information triggering instruction in a preset event, displaying event information of the preset event in a dialogue interface of a target dialogue; in response to a triggering operation for the event information in the target dialogue, triggering the acquisition of first interactive data of a plurality of target objects in the preset event, which objects participate in the target dialogue; and acquiring at least one interactive information presentation item generated on the basis of the first interactive data, and presenting an interactive interface including the at least one interactive information presentation item.
Need to check novelty before this filing date? Find Prior Art

Description

Method, device and equipment for displaying interactive interface

[0001] Cross-reference to Related Applications

[0002] The present application claims priority to the Chinese patent application No. 202410446743.5, filed on April 12, 2024, and entitled "Method, device and equipment for displaying interactive interface", the content of which is incorporated herein by reference in its entirety. TECHNICAL FIELD

[0003] The present disclosure relates to the technical field of computer, in particular to a method, device and equipment for displaying interactive interface. BACKGROUND

[0004] With the continuous improvement of the functions of computer program products, the richness of the information displayed in the computer program products is also being optimized. For example, in some interactive software, under the condition of obtaining user authorization, different user interactive information can be displayed through information display. SUMMARY

[0005] Therefore, one or more embodiments of the present disclosure provide a method, device and equipment for displaying interactive interface.

[0006] In a first aspect, the present disclosure provides a method for displaying interactive interface, the method comprising: displaying event information of a preset event in a conversation interface of a target conversation in response to an interactive information trigger instruction in the preset event; triggering acquisition of first interactive data of a plurality of target objects participating in the target conversation in the preset event in response to a trigger operation on the event information in the target conversation; acquiring at least one interactive information display item generated based on the first interactive data; and displaying an interactive interface containing the at least one interactive information display item.

[0007] In a second aspect, the present disclosure provides a device for displaying interactive interface, the device comprising: an instruction processing unit configured to display event information of a preset event in a conversation interface of a target conversation in response to an interactive information trigger instruction in the preset event; a data acquisition unit configured to trigger acquisition of first interactive data of a plurality of target objects participating in the target conversation in the preset event in response to a trigger operation on the event information in the target conversation; and a display unit configured to acquire at least one interactive information display item generated based on the first interactive data, and display an interactive interface containing the at least one interactive information display item.

[0008] In a third aspect, the present disclosure provides a computer device, comprising a memory and a processor, wherein the memory is configured to store a computer program, and the computer program, when executed by the processor, implements the method for displaying an interactive interface.

[0009] In a fourth aspect, the present disclosure provides a computer readable storage medium, configured to store a computer program, and the computer program, when executed by a processor, implements the method for displaying an interactive interface.

[0010] In a fifth aspect, the present disclosure provides a computer program product, comprising computer instructions for causing a computer to execute the method for displaying an interactive interface. BRIEF DESCRIPTION OF DRAWINGS

[0011] The features and advantages of the embodiments of the present disclosure will be understood more clearly by referring to the attached drawings, which are provided by way of illustration and are not intended to be limiting of the present disclosure, and in which:

[0012] Fig. 1 shows a schematic diagram of steps of a method for displaying an interactive interface according to an embodiment of the present disclosure;

[0013] Fig. 2 shows a display effect of an interactive interface according to an embodiment of the present disclosure;

[0014] Fig. 3 shows a display effect of an interactive interface according to another embodiment of the present disclosure;

[0015] Fig. 4 shows a schematic diagram of steps of a sliding method of an interactive interface according to an embodiment of the present disclosure;

[0016] Fig. 5 shows a functional module diagram of a display device of an interactive interface according to an embodiment of the present disclosure;

[0017] Fig. 6 shows a structural diagram of a computer device according to an embodiment of the present disclosure. DETAILED DESCRIPTION

[0018] In order to make the objectives, technical solutions and advantages of the embodiments of the present disclosure clearer, the technical solutions in the embodiments of the present disclosure will be described clearly and completely below with reference to the drawings in the embodiments of the present disclosure. Obviously, the described embodiments are only some of the embodiments of the present disclosure, but not all the embodiments. Based on the embodiments in the present disclosure, any other embodiments obtained by those skilled in the art without creative work fall within the scope of the present disclosure.

[0019] In the related art, in some interactive software, the interactive information of different users can be displayed through information display in the case of obtaining the authorization of the user. However, the information display in the interactive software in the related art is usually a simple statistical analysis of the interactive information of the user, and the displayed information content is limited. Therefore, there is a need for an interface display method that can improve the richness of interactive information.

[0020] The display method of the interactive interface provided by one embodiment of the present disclosure can be applied to various terminal devices. The terminal device can be an electronic device with data processing capability. For example, the terminal device can be a personal computer, a mobile phone, a tablet computer, etc. In addition, the method can also be applied to software running in the above terminal device.

[0021] The technical solutions provided by one or more embodiments of the present disclosure can increase the interactive interface in the interactive software, display rich and interesting information, and promote user communication. Specifically, in response to an interactive information triggering instruction of a preset event, event information of the preset event can be displayed in a conversation interface of a target conversation. At this time, if a triggering operation for the event information is received, first interactive data of a plurality of target objects participating in the target conversation in the preset event can be obtained. Based on the first interactive data, at least one interactive information display item can be generated, and the generated interactive information display item is displayed in the interactive interface.

[0022] The technical solutions provided by one or more embodiments of the present disclosure can determine the interactive information display item according to the target conversation in which the user is located, which can correspond to different interactive information display scenarios. On the other hand, the interactive information display item is generated based on the first interactive data, which can also improve the generation efficiency of the information. Please refer to FIG. 1, the display method of the interactive interface provided by one embodiment of the present disclosure can include the following steps.

[0023] S1: In response to an interactive information triggering instruction in a preset event, event information of the preset event is displayed in a conversation interface of a target conversation.

[0024] In the embodiment, the preset event can be an event that can interact with the user. The preset event can be deployed in the terminal device, or can be deployed in the interactive software installed in the terminal device. In a specific application example, the preset event can be a game mode, which can have a basic process of asking questions and collecting answers. The questions asked can be questions with a relatively accurate answer, or can be open questions. For example, "how is snow formed?", which has a relatively accurate answer "snow is formed by condensation of water vapor in the atmosphere". For example, "where do you like to travel?", which does not have a relatively accurate answer. The questions asked can also be questions with limited options, such as "which dumplings do you like? Sweet dumplings, salty dumplings", "which music do you like? Pop, folk, classical, rap". The questions in the preset event can be taken from one or more question banks, the question banks can be updated periodically, and the question banks can be edited by administrators.

[0025] In the embodiment, the interaction information between different users in the preset event can be displayed, which can reflect the association degree between different users. For example, in an application example, the interaction information can be the tacit degree between users, which can represent whether different users provide consistent views on one or more questions. Through the interaction information triggering instruction, the process of viewing the interaction information between users in the preset event can be entered. The interaction information triggering instruction can be triggered according to the indication of the user, for example, the click operation of the user. The interaction information triggering instruction can also be triggered according to the preset rule, for example, the rule "after the user answers a specified number of questions, start viewing the interaction information" can be set in the preset event.

[0026] It can be understood that before using the technical solutions disclosed in the embodiments of the present disclosure, the type, use range, use scenario, etc. of the personal information involved in the present disclosure should be informed to the user and the authorization of the user should be obtained through appropriate means according to relevant laws and regulations.

[0027] For example, in response to receiving the active request of the user, the prompt information is sent to the user to explicitly prompt the user that the operation requested to be performed will require obtaining and using the personal information of the user. Thus, the user can voluntarily choose whether to provide personal information to the electronic device, application program, server or storage medium, etc. software or hardware that performs the operation of the technical solution of the present disclosure according to the prompt information.

[0028] As an optional but not limited implementation manner, in response to receiving the active request of the user, the prompt information can be sent to the user in the form of a pop-up window, and the prompt information can be presented in the form of text in the pop-up window. In addition, the pop-up window can also carry selection controls for the user to select "agree" or "disagree" to provide personal information to the electronic device.

[0029] It can be understood that the above notification and user authorization obtaining process is only illustrative and does not limit the implementation of the present disclosure, and other ways that meet relevant laws and regulations can also be applied to the implementation of the present disclosure.

[0030] In the present embodiment, after receiving the interaction information trigger instruction in the preset event, the event information of the preset event can be displayed in the conversation interface of the target conversation. The target conversation can be a conversation between friends or a group chat conversation. The target conversation can be an already established conversation or a newly established conversation according to a user instruction. The event information can include the event name, event jump link, and event animation of the current preset event. The event information can be a card form display control or a piece of text that can trigger a jump operation.

[0031] In some embodiments, the target conversation can be a conversation between a first object that executes the interaction information trigger instruction and a second object that receives the event information. For example, the first object can send the event information of the preset event to the second object in the friend list by triggering the interaction information trigger instruction in the preset event, so that the event information of the preset event can be displayed in the target conversation between the first object and the second object.

[0032] In some embodiments, the target conversation can also be a group conversation of a group in which the first object that executes the interaction information trigger instruction is located. For example, the first object can actively share the event information of the preset event in the group in which the first object is located, so that the event information of the preset event can be displayed in the group conversation. In addition, since there are other objects in the group, the event information displayed in the group conversation can also come from the sharing of the other objects. The first object can jump to the group conversation in which the event information is displayed by executing the interaction information trigger instruction in the preset event, so that the displayed event information can be viewed in the conversation interface of the group conversation.

[0033] In an actual application example, taking the tacit degree as an example, in the preset event, the user A can select to answer a part of the questions and then start to query the tacit degree. The user A can select to query the tacit degree with the friend B. If there is a conversation between the user A and the friend B, the event information can be displayed in the display interface of the existing conversation. If there is no conversation between the user A and the friend B, a new conversation is established, and the event information is displayed in the display interface of the new conversation.

[0034] In an actual application example, within a preset event, user C can directly select to query the tacit understanding. User C can select to query the tacit understanding with users in group chat D. Group chat D can include users that user C has added as friends, or users that user C has not added as friends. Group chat D can be a historical group chat that user C has kept, or a group chat that user C has newly joined. User C can share event information to a conversation display interface of group chat D.

[0035] In some embodiments, a sharing control is displayed in the interface of the preset event. In response to a triggering operation on the sharing control, a conversation sharing interface can be displayed, and the conversation sharing interface includes at least one conversation identifier. In response to an interaction information triggering instruction on any target conversation identifier in the conversation sharing interface, event information of the preset event can be generated, and the event information can be shared to a target conversation represented by the target conversation identifier.

[0036] For example, the sharing control can be a control representing “friend PK”, indicating inviting a friend and querying the tacit understanding with the friend. The sharing control can also be a control representing “group friend interaction”, indicating inviting a user in a group chat and querying the tacit understanding with the group friends. When the sharing control is triggered, a conversation sharing interface can be displayed, and the sharing interface can include multiple conversation identifiers, each of which can mark a friend or a specific group chat. For any conversation identifier, further confirmation can be performed to form an interaction information triggering instruction. In this case, according to the interaction information triggering instruction, the event information can be directly displayed in the conversation marked by the conversation identifier.

[0037] S2: In response to a triggering operation on the event information in the target conversation, first interaction data of multiple target objects participating in the target conversation in the preset event is obtained.

[0038] In this embodiment, the triggering operation can be triggered by different objects in the target conversation. For example, the triggering operation can be triggered by a current user acting on the interaction information triggering instruction, or the triggering operation can be triggered by another user in the target conversation other than the current user.

[0039] In an actual application example, after user A shares the event information in the target conversation, the triggering operation can be directly started to call the first interaction data of multiple target objects in the conversation.

[0040] In an actual application example, after user A shares the event information in the target conversation, user B can act on the triggering operation to obtain the first interaction data of multiple target objects in the conversation.

[0041] In the embodiment, the first interaction data can be historical interaction data of each object in the target conversation within a preset event. For example, the historical interaction data can be historical answering data of each object in the target conversation within a quiz game. The historical answering data can include answers selected by each object for different question information.

[0042] In the embodiment, the plurality of target objects can be all participating objects in the target conversation, or can be part of the participating objects in the target conversation, which can be filtered according to a preset rule. For example, filtering all objects online in the current conversation, or filtering all objects having a friend relationship in the current conversation.

[0043] In the embodiment, the first interaction data can be stored by a database of the preset event. The first interaction data can contain historical data of all periods. The first interaction data can also only save historical data within a set period, thereby reducing storage resources. Through a designated control in the preset event, an interaction process can be triggered, in which interaction records of the user can be stored. For example, the user can enter an answering process through a “single answering” control in the quiz game. In the answering process, a specified number of question information can be provided to the user, and selectable answers of the question information can also be displayed. The user can complete the answering process by selecting the answers. In the answering process, the answers selected by the user are recorded, thereby forming the first interaction data.

[0044] S3: Obtain at least one interaction information display item generated based on the first interaction data, and display an interaction interface containing the at least one interaction information display item.

[0045] In the embodiment, according to the first interaction data, the tacit understanding between different objects can be determined, which can be displayed to the user through the interaction information display item. The interaction information display item can be a direct display, such as “your tacit understanding is 75%” or “your tacit understanding is 10%”. The interaction information display item can also be a preset slogan determined according to the tacit understanding, which can contain some interesting words, such as “you hit it off”.

[0046] In the embodiment, different interaction information display items can be determined according to different questions, and are displayed together in the interaction interface. For example, three interaction information display items can be displayed in the interaction interface, which are “you agree on question A”, “someone is special on question B”, and “you have different opinions on question C”.

[0047] In some embodiments, the question information can be determined from the first interaction data. For any determined question information, the answer information of the target objects in the target conversation to the question information can be counted according to the first interaction data. According to the counted answer information of the question information, at least one interaction information display item can be generated.

[0048] Specifically, the first interaction data can include a plurality of questions, and each question can correspond to the answers of a plurality of users. To generate the interaction information display item, different question information can be determined from the first interaction data, and classification processing can be performed. For a certain question information, the target objects participating in the question in a certain conversation and the answer information of each target object to the question can be determined. The answer information of the target objects can be counted to determine their tacit understanding, and the interaction information display item can be generated.

[0049] It should be noted that the above process of generating the interaction information display item can be generated on the client side or in the server in actual application. Specifically, after the client obtains the first interaction data, at least one interaction information display item can be generated based on the first interaction data. Alternatively, after the client triggers to obtain the first interaction data, the server can obtain the first interaction data, and at least one interaction information display item can be generated based on the first interaction data. The interaction information display item can be fed back to the client by the server, so as to display the interaction interface in the client.

[0050] That is, in some embodiments, for any question information in the first interaction data, if the ratio between the number of selection objects of different options in the question information satisfies a preset condition, text information representing tacit understanding can be determined based on the ratio between the number of selection objects. For example, referring to FIG. 2, when all objects select the same option or answer similar answers, corresponding text information such as “one touch” and “soulmate” can be determined. When most objects select the same option or answer similar answers, and a small number of objects select different options or answer dissimilar answers, corresponding text information such as “some people are special” can be determined. When the selected proportion of each option or answer has no obvious difference, corresponding text information such as “each has his own opinion” can be determined. After the text information is determined, the corresponding interaction information display item can be generated. In the interaction information display item, the number or proportion of users corresponding to different options can also be displayed.

[0051] After the text information representing tacit understanding is determined, an interaction information display item including the text information can be generated. In the generated interaction information display item, the question information and the number of selection objects of different options in the question information are also included.

[0052] In some embodiments, for a first target object and a second target object in the target conversation, based on the respective answer information of the first target object and the second target object, the number of question information with consistent options or inconsistent options is counted; if the number of question information with consistent options or inconsistent options meets a specified condition, text information representing the degree of tacit understanding is determined based on the number of question information with consistent options or inconsistent options; an interactive information display item containing the text information is generated; wherein in the generated interactive information display item, the respective object identifiers of the first target object and the second target object, and the number of question information with consistent options or the number of question information with inconsistent options are also included.

[0053] For example, referring to FIG. 3, the first target object can be user A, and the second target object can be user B. User B can be directly conversing with user A, or can be conversing with user A in the same group chat. Through the first interactive data, it can be determined that user A and user B have answered some questions together, and their respective answers. Based on these answers, the number of question information with consistent options or inconsistent options can be counted. When the number or ratio of question information with consistent options meets a specified condition, text information representing the degree of tacit understanding, such as "best buddies", can be determined. When the number or ratio of question information with inconsistent options meets a specified condition, text information representing the degree of tacit understanding, such as "water and fire", can be determined. In addition, the user identifiers of user A and user B can be displayed in the interactive information display item. The number of question information with consistent options or the number of question information with inconsistent options can also be displayed in the interactive information display item.

[0054] In one embodiment, after the event information is triggered, in addition to generating an interactive information display item based on historical first interactive data, real-time interaction data (second interactive data) of the current user in the preset event can also be combined with the above-mentioned first interactive data to generate an interactive information display item. Specifically, in response to a triggering operation of the event information in the target conversation, second interactive data of the current object can be obtained, which can be real-time data obtained after the current user completes the interaction in the preset event. Subsequently, based on the first interactive data and the second interactive data, at least one interactive information display item can be generated, and an interactive interface containing the at least one interactive information display item can be displayed.

[0055] The technical scheme provided by one or more embodiments of the present disclosure can increase an interactive interface in interactive software, display rich and interesting information, and promote user communication. Specifically, event information of a preset event can be displayed in a conversation interface of a target conversation in response to an interactive information triggering instruction of the preset event. At this time, if a triggering operation for the event information is received, first interactive data of a plurality of target objects participating in the target conversation in the preset event can be acquired. Based on the first interactive data, at least one interactive information display item can be generated, and the generated interactive information display item can be displayed in an interactive interface.

[0056] The technical scheme provided by one or more embodiments of the present disclosure can determine an interactive information display item according to a target conversation in which a user is located, and can correspond to different interactive information display scenarios. In addition, the interactive information display item can be generated based on first interactive data, and the information generation efficiency can be improved.

[0057] Referring to FIG. 4, the method for displaying an interactive interface provided by one embodiment of the present disclosure can further include the following steps after displaying an interactive interface including at least one interactive information display item.

[0058] S4: A sliding instruction acting on the interactive interface is received, and a preliminary displacement corresponding to the sliding instruction is determined.

[0059] In the present embodiment, the interactive interface can include a plurality of interactive information display items, and the current display interface can be adjusted by a sliding instruction. By the sliding instruction, different interactive information display items in the interactive interface can be loaded and viewed. After receiving the sliding instruction, a preliminary displacement can be determined, which can be determined by a sliding direction, a sliding sensitivity, and the like. The sliding sensitivity can be pre-set in the system and can be flexibly modified. For the same sliding force, if the sliding sensitivity is different, the corresponding sliding displacement can also be different. For example, the same trajectory of the same sliding force is received, and when the sliding sensitivity is higher, a preliminary displacement of a larger distance can be determined. In this way, based on the sliding sensitivity, the preliminary displacement can be determined. At the same time, the displacement direction is determined by the sliding direction. Specifically, whether the sliding direction and the content display direction of the interactive interface are consistent can be determined, and the displacement direction can be determined based on the determination result. If the sliding direction and the content display direction are consistent, the displacement direction can represent a forward direction. Conversely, if the sliding direction and the content display direction are inconsistent, the displacement direction can represent a reverse direction. After the preliminary displacement and the displacement direction are determined, the preliminary displacement representing the displacement and the displacement direction can be obtained.

[0060] In some embodiments, after receiving a touch instruction acting on the interactive interface, it can be determined whether the displacement of the touch instruction in the preset sliding direction is greater than the displacement in the non-sliding direction. If yes, it is determined that a sliding instruction acting on the interactive interface is received.

[0061] In an actual application example, the sliding direction locking function can be set, and the up-down direction can be set as the preset sliding direction, and the left-right direction can be set as the non-sliding direction. If a touch instruction with a certain trajectory is received, it can be decomposed into the displacement in the up-down direction and the displacement in the left-right direction. When the displacement in the up-down direction is greater than the displacement in the left-right direction, it can be determined that a sliding instruction acting on the interactive interface is received. Otherwise, it can be considered as other instructions of the user (such as switching applications), or considered as invalid instructions of the user (such as false touch, jitter).

[0062] S5: obtaining a current sliding factor, and determining a final displacement based on the preliminary displacement and the sliding factor.

[0063] In the embodiment, the sliding factor can assist in determining the final displacement. The final displacement can be obtained by multiplying the preliminary displacement and the sliding factor. In actual application, the sliding factor can be affected by many factors. For example, if the current interface has been slid to the boundary, more interface content cannot be displayed in the subsequent sliding process, at this time, the sliding factor can be a smaller value, so that the determined final displacement is also relatively small, to ensure that the final displacement will not exceed the interface boundary.

[0064] That is, when the sliding factor is obtained, it can be determined whether the displayed content in the interactive interface exceeds the content display boundary. If the displayed content exceeds the content display boundary, a first sliding factor can be obtained, and if the displayed content does not exceed the content display boundary, a second sliding factor can be obtained. The value of the first sliding factor is smaller than the value of the second sliding factor, so that in the case that the displayed content exceeds the content display boundary, even if a sliding instruction is received, since there is no more content to be displayed, the amplitude of the interface sliding will be smaller. If the displayed content does not exceed the content display boundary, other content in the interface can be displayed according to the preset sliding amplitude.

[0065] In some embodiments, during the sliding process of the interactive interface, the sliding timestamp of the interactive interface can be updated at a specified time interval; for the updated sliding timestamp, the preliminary displacement and the final displacement corresponding to the updated sliding timestamp are determined, and the interface is slid based on the preliminary displacement and the final displacement corresponding to the updated sliding timestamp.

[0066] Specifically, the sliding process of the interactive interface can be divided into multiple strokes, each stroke corresponding to a fixed time. In each stroke, a sliding timestamp is set to record the start of the stroke, and a preliminary displacement and a final displacement are determined. The determination of the preliminary displacement and the final displacement is described above. Based on the sliding timestamp, it can be determined that the fixed time is reached and the stroke is ended. Subsequently, the sliding timestamp can be updated to start the next stroke.

[0067] In an actual application example, one stroke can be fixed at 300 ms. Every 300 ms, a preliminary displacement and a final displacement can be determined according to whether there is a sliding instruction, so as to continuously slide the interface until no new sliding instruction is received.

[0068] S6: sliding the interactive interface according to the determined final displacement.

[0069] In the embodiment, the interactive interface is moved according to the final displacement, and the entire interface is slid while the content of the interface remains unchanged.

[0070] In some embodiments, when the interactive interface slides to the end position represented by the sliding instruction, it can be determined whether the sliding instruction triggers inertial sliding. In the case of triggering inertial sliding, the interactive interface continues to slide in the preset direction from the position represented by the final displacement.

[0071] For example, if the interactive interface has a large displacement in a short time, it can be considered that the user expects to slide more content. For example, the user's finger slides quickly and leaves the screen. At this time, the user's demand can be considered, and the interface in the screen can trigger inertia to continue to slide a distance.

[0072] In an embodiment, after sliding the interactive interface according to the determined final displacement, a target position of the interactive interface after sliding according to the final displacement can be determined. Then the closest standard position to the target position in the interactive interface can be determined, and the interactive interface can be slid to the standard position; wherein the standard position is determined based on the standard line spacing of the content displayed in the interactive interface.

[0073] For example, it can be determined whether the final stop position of the interactive interface corresponds to an integer multiple of the standard line spacing. If not, the interactive interface is bounced back or continues to slide to a position corresponding to an integer multiple of the standard line spacing. For example, a step value can be set, which can match the distance of a line in the current interface. Finally, the interactive interface can be bounced back or continue to slide to a position corresponding to an integer multiple of the step value.

[0074] It is worth noting that in some embodiments, the interactive interface is a long interface, and the user needs to move and slide to view different interactive information display items. By designing the interface sliding process in S4-S6 above through the scrollView component, the current interface can be loaded faster and the sliding can be smoother. By designing the interface sliding process in S4-S6 above through the Adapter software, the sliding method can be applied to multiple engines such as cocos.

[0075] The technical solution provided by one or more embodiments of the present disclosure provides a smooth interface sliding method after adding an interactive interface in a preset event, meeting the needs of users to view different interactive information display items in a long interface.

[0076] Referring to FIG. 5, the present disclosure further provides an interactive interface display device, which comprises:

[0077] The instruction processing unit 100 is configured to display event information of a preset event in a conversation interface of a target conversation in response to an interactive information triggering instruction in the preset event;

[0078] The data acquisition unit 200 is configured to trigger acquisition of first interactive data of a plurality of target objects participating in the target conversation in the preset event in response to a triggering operation on the event information in the target conversation;

[0079] The display unit 300 is configured to acquire at least one interactive information display item generated based on the first interactive data, and display an interactive interface containing the at least one interactive information display item.

[0080] In one embodiment, the device further comprises:

[0081] The preliminary displacement determination unit is configured to receive a sliding instruction acting on the interactive interface, and determine a preliminary displacement corresponding to the sliding instruction;

[0082] The final displacement determination unit is configured to acquire a current sliding factor, and determine a final displacement based on the preliminary displacement and the sliding factor;

[0083] The interface sliding unit is configured to slide the interactive interface according to the determined final displacement.

[0084] In one embodiment, the preliminary displacement determination unit is specifically configured to parse a sliding direction and a sliding sensitivity from the sliding instruction; determine whether the sliding direction and a content display direction of the interactive interface are consistent, and determine a displacement direction and a displacement amount based on a determination result; and generate a preliminary displacement representing the displacement direction and the displacement amount.

[0085] In one embodiment, the final displacement determining unit is specifically configured to determine whether the display content in the interactive interface exceeds the content display boundary; if the display content exceeds the content display boundary, a first sliding factor is obtained, and if the display content does not exceed the content display boundary, a second sliding factor is obtained; wherein the numerical value of the first sliding factor is less than the numerical value of the second sliding factor.

[0086] In one embodiment, the device further comprises:

[0087] a target position determining unit configured to determine a target position of the interactive interface after the interactive interface is slid according to the final displacement;

[0088] a standard position sliding unit configured to determine a standard position closest to the target position in the interactive interface, and slide the interactive interface to the standard position; wherein the standard position is determined based on a standard line spacing of the display content in the interactive interface.

[0089] In one embodiment, the preliminary displacement determining unit is specifically configured to, after receiving a touch instruction acting on the interactive interface, determine whether the displacement of the touch instruction in a preset sliding direction is greater than the displacement in a non-sliding direction, and if so, determine that a sliding instruction acting on the interactive interface is received.

[0090] In one embodiment, the device further comprises:

[0091] a timestamp updating unit configured to update the sliding timestamp of the interactive interface according to a specified time interval during the sliding of the interactive interface;

[0092] an updated sliding unit configured to, for the updated sliding timestamp, determine the preliminary displacement and the final displacement corresponding to the updated sliding timestamp, and perform interface sliding based on the preliminary displacement and the final displacement corresponding to the updated sliding timestamp.

[0093] In one embodiment, the device further comprises:

[0094] an inertia sliding unit configured to, when the interactive interface is slid to the end position represented by the sliding instruction, determine whether the sliding instruction triggers inertia sliding, and in the case of triggering inertia sliding, the interactive interface continues to slide in a preset direction from the position represented by the final displacement.

[0095] In an embodiment, the interface of the preset event is displayed with a sharing control; the instruction processing unit is specifically configured to, in response to a triggering operation on the sharing control, display a conversation sharing interface, the conversation sharing interface including at least one conversation identifier; and in response to an interaction information triggering instruction on any target conversation identifier in the conversation sharing interface, generate event information of the preset event and share the event information to a target conversation represented by the target conversation identifier.

[0096] In an embodiment, the target conversation is a conversation between a first object acting on the interaction information triggering instruction and a second object receiving the event information; or the target conversation is a group conversation of a group in which the first object acting on the interaction information triggering instruction is located.

[0097] In an embodiment, the interaction information display item is generated based on answer information, wherein the answer information is generated in response to question information in the first interaction data.

[0098] In an embodiment, the interaction information display item includes text information representing matching information, the text information being generated based on a ratio between the number of selected objects of the question information; wherein the interaction information display item further includes the question information and the number of selected objects of different options in the question information.

[0099] In an embodiment, the interaction information display item includes text information representing matching information, the text information being generated based on the number of question information with consistent options or inconsistent options in the answer information of the first target object and the second target object; wherein the interaction information display item further includes the object identifier of the first target object and the second target object, and the number of question information with consistent options or the number of question information with inconsistent options.

[0100] In an embodiment, the device further includes:

[0101] The real-time interaction unit is configured to, in response to a triggering operation on the event information in the target conversation, acquire second interaction data of a current object, acquire at least one interaction information display item generated based on the first interaction data and the second interaction data, and display an interaction interface including the at least one interaction information display item.

[0102] The various units illustrated in the above embodiments can be implemented by a computer chip or by a product with certain functions. A typical implementation device is a computer. Specifically, the computer can be, for example, a personal computer, a laptop computer, a cellular phone, a camera phone, a smartphone, a personal digital assistant, a media player, a navigation device, an email device, a game console, a tablet computer, a wearable device, or a combination of any of these devices.

[0103] For the convenience of description, the above device is described in various units by function. Of course, the functions of the units can be implemented in one or more software and / or hardware when implementing the present application.

[0104] The embodiments of the present disclosure further provide a computer device having the display device of the interactive interface shown in FIG. 5.

[0105] Referring to FIG. 6, FIG. 6 is a structural schematic diagram of a computer device according to an optional embodiment of the present disclosure. As shown in FIG. 6, the computer device includes one or more processors 10, a memory 20, and interfaces for connecting various components, including high-speed interfaces and low-speed interfaces. The various components communicate with each other using different buses, and can be installed on a common mainboard or in other manners as needed. The processor can process instructions executed in the computer device, including instructions stored in the memory or graphical information of the memory to display a GUI on an external input / output device (such as a display device coupled to the interface). In some optional embodiments, multiple processors and / or multiple buses can be used with multiple memories and multiple storage devices, if necessary. Similarly, multiple computer devices can be connected, each providing part of the necessary operations (for example, as a server array, a group of blade servers, or a multi-processor system). In FIG. 6, one processor 10 is taken as an example.

[0106] The processor 10 can be a central processor, a network processor, or a combination thereof. The processor 10 can further include a hardware chip. The hardware chip can be an application specific integrated circuit, a programmable logic device, or a combination thereof. The programmable logic device can be a complex programmable logic device, a field programmable logic device, a general array logic, or any combination thereof.

[0107] The memory 20 stores instructions executable by the at least one processor 10, so that the at least one processor 10 executes the method illustrated in the above embodiments.

[0108] The memory 20 can include a program storage area and a data storage area. The program storage area can store an operating system, application programs required by at least one function, etc. The data storage area can store data created by the computer device according to the presentation of a small program landing page, etc. In addition, the memory 20 can include a high-speed random access memory, and can also include a non-transitory memory, such as at least one disk storage device, a flash memory device, or other non-transitory solid-state memory device. In some optional embodiments, the memory 20 can optionally include a memory disposed remotely relative to the processor 10, and these remote memories can be connected to the computer device through a network. Examples of the network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.

[0109] The memory 20 can include a volatile memory, such as a random access memory, and can also include a non-volatile memory, such as a flash memory, a hard disk, or a solid-state disk. The memory 20 can also include a combination of the above-mentioned types of memories.

[0110] The computer device also includes an input device 30 and an output device 40. The processor 10, the memory 20, the input device 30, and the output device 40 can be connected through a bus or other means, and in FIG. 6, an example of connection through a bus is shown.

[0111] The input device 30 can receive inputted digital or character information, and generate key signal inputs related to the user settings and function controls of the computer device, such as a touch screen, a keypad, a mouse, a trackpad, a touchpad, a pointing stick, one or more mouse buttons, a trackball, a joystick, etc. The output device 40 can include a display device, an auxiliary lighting device (e.g., an LED), a tactile feedback device (e.g., a vibration motor), etc. The display device includes, but is not limited to, a liquid crystal display, a light-emitting diode, a display, and a plasma display. In some optional embodiments, the display device can be a touch screen.

[0112] The computer device also includes a communication interface for communication of the computer device with other devices or communication networks.

[0113] ​The embodiments of the present disclosure further provide a computer readable storage medium, and the method according to the embodiments of the present disclosure can be implemented in hardware, firmware, or recorded in a storage medium, or be implemented as computer code to be originally stored in a remote storage medium or a non-transitory machine readable storage medium and downloaded to a local storage medium, so that the method described herein can be processed by such software on a storage medium using a general computer, a special processor or programmable or special hardware. The storage medium can be a magnetic disk, an optical disk, a read-only memory, a random access memory, a flash memory, a hard disk or a solid state disk, etc. Further, the storage medium can also include a combination of the above-mentioned memories. It can be understood that the computer, the processor, the microprocessor controller or the programmable hardware include a storage component that can store or receive software or computer code, which, when accessed and executed by the computer, the processor or the hardware, implements the method shown in the above embodiments.

[0114] Part of the present application can be applied as a computer program product, for example, computer program instructions, when executed by a computer, through the operation of the computer, the method and / or technical solutions according to the present application can be called or provided. Those skilled in the art should understand that the form of computer program instructions in computer readable medium includes but is not limited to source file, executable file, installation package file, etc. Correspondingly, the way of computer program instructions executed by computer includes but is not limited to: the computer directly executes the instructions, or the computer compiles the instructions and then executes the corresponding compiled program, or the computer reads and executes the instructions, or the computer reads and installs the instructions and then executes the corresponding installed program. Here, the computer readable medium can be any available computer readable storage medium or communication medium accessible to the computer.

[0115] Each embodiment in the specification is described in a progressive manner, and the same or similar parts between each embodiment can be referred to each other. Each embodiment focuses on the difference from other embodiments. Especially, the embodiments of the device, the equipment, the storage medium and the computer program product are basically similar to the method embodiments, so the description is relatively simple, and the related parts can be referred to the part of the method embodiment.

[0116] The above only describes the embodiments of the present application and is not intended to limit the present application. Those skilled in the art can make various modifications and changes to the present application. Any modification, equivalent replacement, improvement, etc. made within the spirit and principles of the present application shall be included in the scope of claims of the present application.

[0117] While embodiments of the present disclosure have been described in conjunction with the accompanying drawings, various modifications and changes can be suggested by those skilled in the art, and it is intended that the present disclosure encompass such modifications and changes as fall within the scope of the appended claims.

Claims

1. A method for displaying an interactive interface, characterized in that: include: In response to an interactive information trigger instruction in a preset event, displaying event information of the preset event in a dialogue interface of a target dialogue; In response to a triggering operation on the event information in the target conversation, triggering acquisition of first interaction data of a plurality of target objects participating in the target conversation in the preset event; At least one interactive information display item generated based on the first interactive data is obtained, and an interactive interface including the at least one interactive information display item is displayed.

2. The method according to claim 1, characterized in that The interactive interface is displayed on the upper layer of the dialogue interface, and the method further includes: receiving a sliding instruction acting on the interactive interface and determining a preliminary displacement corresponding to the sliding instruction; obtaining a current sliding factor, and determining a final displacement based on the preliminary displacement and the sliding factor; Slide the interactive interface according to the determined final displacement.

3. The method according to claim 2, characterized in that Determining the preliminary displacement corresponding to the sliding instruction includes: Parsing the sliding direction and sliding sensitivity from the sliding instruction; Determining whether the sliding direction is consistent with the content display direction of the interactive interface, determining a displacement direction based on the determination result, and determining a displacement amount based on the sliding sensitivity; A preliminary displacement characterizing the displacement direction and the displacement amount is generated.

4. The method according to claim 2, characterized in that Get the current sliding factor including: Determining whether the displayed content in the interactive interface exceeds the content display boundary; If the displayed content exceeds the content display boundary, a first sliding factor is obtained; if the displayed content does not exceed the content display boundary, a second sliding factor is obtained; The value of the first sliding factor is smaller than the value of the second sliding factor.

5. The method according to claim 2, characterized in that After sliding the interactive interface according to the determined final displacement, the method further includes: Determining a target position of the interactive interface after sliding according to the final displacement; Determining a standard position closest to the target position in the interactive interface, and sliding the interactive interface to the standard position; The standard position is determined based on a standard line spacing of content displayed in the interactive interface.

6. The method according to claim 2, characterized in that Receiving a sliding instruction acting on the interactive interface includes: In response to receiving a touch instruction acting on the interactive interface, it is determined whether the displacement of the touch instruction in a preset sliding direction is greater than the displacement in a non-sliding direction. If so, it is determined that a sliding instruction acting on the interactive interface is received.

7. The method according to any one of claims 2 to 6, characterized in that The method further comprises: During the sliding process of the interactive interface, updating the sliding timestamp of the interactive interface at a specified time interval; For the updated sliding timestamp, a preliminary displacement and a final displacement corresponding to the updated sliding timestamp are determined, and the interface sliding is performed based on the preliminary displacement and the final displacement corresponding to the updated sliding timestamp.

8. The method according to any one of claims 2 to 6, characterized in that The method further comprises: In response to the interactive interface sliding to the end position represented by the sliding instruction, it is determined whether the sliding instruction triggers inertial sliding. If inertial sliding is triggered, the interactive interface continues to slide in a preset direction from the position represented by the final displacement.

9. The method according to claim 1, characterized in that A sharing control is displayed in the interface of the preset event; In response to the interactive information triggering instruction in the preset event, displaying the event information of the preset event in the dialogue interface of the target dialogue includes: In response to a triggering operation on the sharing control, displaying a conversation sharing interface, wherein the conversation sharing interface includes at least one conversation identifier; In response to an interactive information triggering instruction for a target conversation identifier in the conversation sharing interface, event information of the preset event is generated, and the event information is shared to the target conversation represented by the target conversation identifier.

10. The method according to claim 1 or 9, characterized in that The target dialogue is a dialogue between a first object executing the interactive information triggering instruction and a second object receiving the event information; or The target conversation is a group conversation of the group in which the first object that executes the interactive information triggering instruction is located.

11. The method according to claim 1, wherein The interactive information display item is generated based on answer information, wherein the answer information is answer information generated in response to the question information in the first interactive data.

12. The method according to claim 1 or 11, characterized in that The interactive information display item includes text information representing matching information, and the text information is generated based on the ratio between the number of selection objects in the title information; wherein, the interactive information display item also includes the title information and the number of selection objects for different options in the title information.

13. The method according to claim 1 or 11, characterized in that The interactive information display item includes text information representing matching information, and the text information is generated based on the number of question information with consistent options or inconsistent options in the answer information of the first target object and the second target object respectively; wherein, the interactive information display item also includes the object identification of each of the first target object and the second target object, as well as the number of question information with consistent options or the number of question information with inconsistent options.

14. The method according to claim 1, wherein The method further comprises: In response to a triggering operation on the event information in the target conversation, second interaction data of the current object is obtained, and at least one interaction information display item generated based on the first interaction data and the second interaction data is obtained, and an interactive interface containing the at least one interaction information display item is displayed.

15. A display device for an interactive interface, characterized in that: The device comprises: An instruction processing unit, configured to trigger an instruction in response to interactive information in a preset event, and display event information of the preset event in a dialogue interface of a target dialogue; a data acquisition unit, configured to trigger acquisition of first interaction data of a plurality of target objects participating in the target conversation in the preset event in response to a trigger operation on the event information in the target conversation; A display unit is configured to obtain at least one interactive information display item generated based on the first interactive data, and display an interactive interface including the at least one interactive information display item.

16. A computer device, characterized in that: include: A memory and a processor, wherein the memory and the processor are communicatively connected to each other, the memory stores computer instructions, and the processor executes the interactive interface display method according to any one of claims 1 to 14 by executing the computer instructions.

17. A computer-readable storage medium, characterized in that The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a computer to execute the interactive interface display method according to any one of claims 1 to 14.

18. A computer program product, characterized in that The method comprises computer instructions for causing a computer to execute the method for displaying an interactive interface according to any one of claims 1 to 14.

Citation Information

Patent Citations

  • Live broadcast interaction method, device and system, electronic device and storage medium

    CN110856008A

  • Live broadcast interaction implementation method and computer readable storage medium

    CN112565798A

  • Information interaction method and device and storage medium

    CN112988013A

  • Lag detection method and device, electronic equipment and storage medium

    CN114896120A

  • Interaction method and device, electronic equipment and storage medium

    CN117354597A