Interaction method, electronic equipment, storage medium and product
By using resource items in the interaction relationship interface to adjust users' interaction status information, the problem of inflexible updates to user interaction status is solved, improving user interactivity and willingness to interact, and enhancing communication efficiency.
Patent Information
- Application Number
- CN202511657040.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-11-12
- Publication Date
- 2026-01-20
AI Technical Summary
In existing technologies, the updating of user interaction status information is not flexible enough, resulting in insufficient willingness and frequency of interaction, and failing to effectively improve the enthusiasm of users to interact.
By displaying available resource items in the interaction relationship interface, responding to user trigger operations, and utilizing the functions of resource items to determine and adjust the user's interaction status information, the display status of interaction identifiers is affected, including the use of resource items such as frozen cards and reactivated cards, thereby achieving flexible control of the interaction status.
It enhances user interactivity and willingness to interact, increases the usage rate of interactive functions, enables users to understand and adjust the interactive status more intuitively, and improves communication efficiency between users.
Smart Images

Figure CN121364801A_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present disclosure relates to the technical field of computer, and in particular, to an interaction method, an electronic device, a storage medium and a product. BACKGROUND
[0002] With the development of Internet technology, more and more users can interact through various applications. For example, some applications are provided with instant messaging function, and users can chat through instant messaging or interact in other types, such as sending text messages, sending expressions, transmitting files, voice or video calls, etc. Through these applications, the relationship between users is closer. SUMMARY
[0003] According to some embodiments of the present disclosure, an interaction method is provided, including: displaying, in an interaction relationship interface of a first user and a second user, a resource item corresponding to the first user and the second user and available; in response to a triggering operation on the resource item, determining interaction state information of the first user and the second user according to a function of the resource item; and displaying an interaction identifier corresponding to the first user and the second user based on the interaction state information.
[0004] According to some embodiments of the present disclosure, an electronic device is provided, including: a memory; and a processor coupled to the memory, the processor being configured to execute an interaction method of any of the embodiments described in the present disclosure based on instructions stored in the memory.
[0005] According to some embodiments of the present disclosure, a computer readable storage medium is provided, having stored thereon a computer program, which, when executed by a processor, performs an interaction method of any of the embodiments described in the present disclosure.
[0006] According to some embodiments of the present disclosure, a computer program product is provided, which, when running on a computer, causes the computer to implement an interaction method of any of the embodiments described in the present disclosure.
[0007] Other features, aspects, and advantages of the present disclosure will become apparent from the following detailed description of the exemplary embodiments with reference to the following accompanying drawings. BRIEF DESCRIPTION OF DRAWINGS
[0008] Embodiments of the present disclosure will be described below with reference to the accompanying drawings. It should be understood that the accompanying drawings described below only relate to some embodiments of the present disclosure, and do not limit the present disclosure. In the drawings:
[0009] Figure 1 A flowchart of an interaction method according to some embodiments of the present disclosure is shown.
[0010] Figure 2A schematic diagram of an interactive relationship interface is shown in accordance with some embodiments of the present disclosure.
[0011] Figure 3 A schematic diagram of an interactive relationship interface is shown in accordance with some other embodiments of the present disclosure.
[0012] Figure 4 A schematic diagram of an interactive relationship interface is shown in accordance with yet some other embodiments of the present disclosure.
[0013] Figure 5 A schematic diagram of an interactive relationship interface is shown in accordance with still some other embodiments of the present disclosure.
[0014] Figure 6 A schematic diagram of a conversation interface of a first user and a second user is shown.
[0015] Figure 7 A schematic diagram of an interactive device is shown in accordance with some embodiments of the present disclosure.
[0016] Figure 8 A block diagram of an electronic device is shown in accordance with some embodiments of the present disclosure.
[0017] Figure 9 A block diagram of an electronic device is shown in accordance with some other embodiments of the present disclosure. DETAILED DESCRIPTION
[0018] The technical solutions in the embodiments of the present disclosure will be described clearly and completely below with reference to the accompanying drawings in the embodiments of the present disclosure. It should be understood that the present disclosure can be implemented in various forms, and should not be interpreted as being limited to the embodiments set forth herein.
[0019] It should be understood that each of the steps recited in the method embodiments of the present disclosure can be executed in different orders and / or in parallel. In addition, the method embodiments can include additional steps and / or omit the execution of the steps shown. The scope of the present disclosure is not limited in this respect. Unless otherwise specified, the relative arrangement of the components and steps set forth in these embodiments should be interpreted as merely exemplary, and not limiting the scope of the present disclosure.
[0020] The term “comprising” and variations thereof as used in the present disclosure means an open term that includes at least the recited elements / features, but does not exclude other elements / features, i.e., “including but not limited to”. The term “based on” means “based at least in part on”.
[0021] It should be noted that the terms "first", "second", and the like in the present disclosure are used only to distinguish different devices, modules, or units, and are not intended to limit the order or interdependence of the functions performed by these devices, modules, or units. Unless otherwise specified, the terms "first", "second", and the like are not intended to imply a given order or any other manner of given order in time, space, ranking, or any other manner.
[0022] It should be noted that the terms "one", "multiple" in the present disclosure are illustrative and not limiting, and those skilled in the art should understand that unless otherwise explicitly specified in the context, it should be understood as "one or more".
[0023] The names of the messages or information exchanged between the devices in the embodiments of the present disclosure are only for illustrative purposes, and are not intended to limit the scope of the messages or information.
[0024] The user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data for analysis, stored data, displayed data, etc.) involved in the present disclosure are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of related data need to comply with relevant laws, regulations and standards of relevant countries and regions, and provide corresponding operation portal for user to choose authorization or refusal.
[0025] The embodiments of the present disclosure will be described in detail below in conjunction with the accompanying drawings, but the present disclosure is not limited to these specific embodiments. The following specific embodiments can be combined with each other, and the same or similar concepts or processes can not be described in some embodiments. In addition, in one or more embodiments, specific features, structures or characteristics can be combined by any suitable manner from the present disclosure which is clear to those skilled in the art.
[0026] At present, the interaction between users through the Internet and electronic devices can effectively improve the communication efficiency between users. In order to further improve the interaction enthusiasm between users and clearly indicate the interaction relationship between the user and other users to the user, interaction state information can be set between two or more users.
[0027] The interaction state information between the first user and the second user is used to reflect whether the interaction between the first user and the second user is frequent. For example, in the conversation interface or interaction relationship interface of the first user and the second user, an interaction identifier can be displayed. The style of the interaction identifier can reflect the interaction state information between the two users.
[0028] An example of the regular update of the interaction status information is determined according to the continuous interaction duration of the first user and the second user. For example, the first user and the second user continuously interact with each other for M (M is a positive integer) days through an application, and then an interaction identifier representing the relationship between the first user and the second user can be obtained and presented in a certain style, such as a colored identifier. When the first user and the second user do not interact with each other for N (N is a positive integer) days, the interaction identifier can be presented in another style, such as changing from a colored "on" state to a gray "off" state. If the first user and the second user do not interact with each other for L (L is a positive integer and greater than N) days, the interaction identifier disappears.
[0029] On the premise of updating the interaction status information based on the interaction between the users, the present disclosure can also provide some resource items for updating or maintaining the interaction status information. The first user or the second user can use the resource items to determine the interaction status information according to the functions of the resource items.
[0030] Figure 1 A flowchart of an interaction method according to some embodiments of the present disclosure is shown. As shown in the figure, the interaction method of this embodiment includes steps S11 to S13. Figure 1
[0031] In step S11, in an interaction relationship interface of the first user and the second user, a resource item corresponding to the first user and the second user and available for use is displayed.
[0032] The interaction relationship interface is used to display the interaction information between the first user and the second user, such as the interaction status information, the interaction identifier, the resource item, and the like. The interaction information can be used to reflect the frequency of the interaction. The interaction is carried out by the first user and the second user using a network, such as through a network chat function.
[0033] The interaction relationship interface can be triggered by the first user or the second user. For example, it is triggered by the first user in response to the execution of this embodiment on the electronic device of the first user, and it is triggered by the second user in response to the execution of this embodiment on the electronic device of the second user. The embodiments of the present disclosure are described in terms of the interaction relationship between two users, but the interaction relationship can also involve three or more users.
[0034] The interaction relationship interface can include an area for displaying the resource item, or a trigger control for displaying the resource item in response to a trigger operation on the control.
[0035] The resource item is determined as available in a case that the user possesses the resource item and the use condition of the resource item is met at present. The interactive relationship interface can display only the available resource item, or display all the resource items, but display the available resource item and the unavailable resource item in different areas or in different styles.
[0036] In step S12, the interactive state information of the first user and the second user is determined according to the function of the resource item in response to the triggering operation on the resource item.
[0037] The triggering operation on the resource item indicates that the user confirms to use the resource item. For example, the user can click or select the control of the resource item to trigger the resource item.
[0038] The determination of the interactive state information of the first user and the second user according to the function of the resource item can change or maintain the interactive state information. It should be noted that the determination manner and the determination result of at least one information item in the interactive state information are different in the cases of using and not using the resource item. For example, the value of a certain item of the interactive state information should be A in the case of not using the resource item, and the value of the item of the interactive state information is B in the case of using the resource item, and B is different from A. That is, the use of the resource item changes the original determination logic of the interactive state information, and the current logic is determined according to the function of the resource item.
[0039] In step S13, the interactive identifier corresponding to the first user and the second user is displayed based on the interactive state information.
[0040] The change of some interactive state information affects the display of the interactive identifier. Thus, the user can trigger the resource item to make the interactive identifier and the interactive state information achieve the desired effect.
[0041] The above embodiment controls the interactive state information of the first user and the second user through the resource item, so that the user can more flexibly adjust the interactive state information to affect the interactive identifier. The use of the resource item is also an indirect interactive manner, so that the interactivity and the interactive willingness between the users can be further improved. Therefore, the use rate of the interactive function is improved.
[0042] In some embodiments, the interactive state information includes the state of the interactive identifier, and the determination of the interactive state information of the first user and the second user according to the function of the resource item in response to the triggering operation on the resource item includes: determining the state of the interactive identifier as the first state in response to the triggering operation on the resource item.
[0043] That is, the function of the resource item can be to determine the state of the interaction identifier to be the first state. It can be to switch the interaction identifier from a state different from the first state (e.g., the second state) to the first state, or to keep the interaction identifier in the first state without being affected by changes of other conditions. The first state can also be referred to as an "activated state", a "lit state", or the like, to indicate that the first user and the second user are in a state of frequent interaction. The second state can be referred to as a "deactivated state", an "unlit state", or the like, to indicate that the first user and the second user are in a state of infrequent interaction.
[0044] The different states can affect the display style of the interaction identifier. For example, the interaction identifier in the first state can be colored, while the interaction identifier in the second state can be in grayscale. Of course, other styles can also be used to distinguish the interaction identifier in the first state from the interaction identifier in the second state. Since the interaction state information also includes other types, the interaction identifier in the first state can also have multiple display styles, such as different colors, and the like. However, the interaction identifier in the second state is different from the style of any interaction identifier in the first state. Thus, the effect of the resource item on the interaction state information can be more intuitively embodied.
[0045] Next, several resource items are exemplarily described, which have the function of determining the state of the interaction identifier to be the first state.
[0046] First, the function of the first resource item is described. In some embodiments, the resource item is the first resource item, the interaction state information includes the type of the interaction identifier, and in response to the triggering operation on the resource item, the function of the resource item determines the interaction state information of the first user and the second user to include: during the period in which the interaction identifier is in the second state, in response to the triggering operation on the first resource item, the type of the interaction identifier is determined to be the first type within the effective duration of the resource item.
[0047] The first resource item has an effective duration, which is determined according to the configuration information of the first resource item. That is, the first resource item acts on the interaction state information within the effective duration, and during this period, the type of the interaction identifier is always kept in the first type. Thus, the user can keep the interaction state information stable through the first resource item. For example, the first resource item can be a kind of prop with a freezing function, such as a "freeze card". When the interaction identifiers of the first user and the second user are in the second state, the interaction identifiers can be switched and kept in the first state and the first type by using the first resource item. The first type is used to represent the type of using the first resource item, which can be, for example, a "frozen type". The interaction identifier in the first type can have a different display style from other types of interaction identifiers. For example, it has a frozen style or special effect.
[0048] In some embodiments, the interaction status information further comprises an interaction value, and the interaction value remains unchanged in response to the type of the interaction identifier being the first type. That is, the interaction value neither increases nor decreases during the period of the first type. Thus, in response to triggering the first resource item, the type of the interaction between the first user and the second user remains the first type, the interaction identifier remains in the first state, and the interaction value remains unchanged. In this way, during the validity period of the first resource item, regardless of the actual interaction between the first user and the second user, the above-mentioned interaction status information will not be affected.
[0049] The interaction value can be displayed in the interaction relationship interface, or can be displayed together with the interaction identifier. For example, the interaction identifier can comprise a graphical part and a numerical part, and the numerical part represents the interaction value. In the case of not using the resource item, the interaction value can change with the continuous interaction time length of the first user and the second user, or only in the first state, the interaction value changes with the continuous interaction time length of the first user and the second user, and has a positive correlation with the continuous interaction time length of the first user and the second user. For example, the longer the continuous interaction time length of the first user and the second user, the greater the interaction value. If the first user and the second user interrupt the interaction for a certain time length, the interaction value can be cleared or reduced. By using the first resource item, even if the first user and the second user do not interact for a short time, the interaction value will not be affected, avoiding affecting the interaction willingness and subsequent interaction frequency between users due to the reduction or clearing of the interaction value.
[0050] The interaction identifier can indicate that the first resource item is in effect through the display result thereof. In some embodiments, based on the interaction status information, displaying the interaction identifier corresponding to the first user and the second user comprises: displaying the interaction identifier corresponding to the first user and the second user belonging to the first type, and the interaction identifier carries the description information of the first type or carries the interaction value.
[0051] That is, different types of interaction identifiers can have different styles, and the interaction identifier of the first type can have a special style, so that the user can intuitively understand that the current state is in the first type, such as the state in the freeze.
[0052] In addition, the current type can be further indicated by the description information, for example, the description information can be “in freeze”. Alternatively, the interaction identifier can carry the interaction value. Since the interaction value remains unchanged when the interaction identifier is in the first type, the user can also understand the current state through the interaction value.
[0053] The activation of the first resource item can be automatically stopped when the activation duration expires, or it can be stopped manually by the user. In some embodiments, after the first resource item is triggered, in response to the expiration of the activation duration or in response to receiving an instruction to stop the activation of the first resource item within the activation duration, the type of the interaction identifier is switched to a type different from the first type; and the activation duration of the usable first resource item is updated according to the duration consumed during the activation period of the first resource item.
[0054] The first type is the type corresponding to the first resource item. Therefore, as the first resource item ceases to be effective, the type of the interaction identifier will be switched to another type other than the first type.
[0055] The first resource item can be configured with an effective duration. If the user actively stops the first resource item from being active, the remaining duration is the effective duration of the first resource item before it was triggered minus the actual effective duration this time. The user can trigger the first resource item again later, and when the first resource item is triggered again, the effective duration will be the remaining duration.
[0056] Figure 2 A schematic diagram of an interactive interface according to some embodiments of the present disclosure is shown. For example... Figure 2 As shown, interface 2 is the interaction interface between the first user and the second user, which displays the identifier 21 of the first user (e.g., the first user's avatar) and the identifier 22 of the second user (e.g., the second user's avatar).
[0057] Interface 2 includes a resource item trigger entry 23, which is used to trigger the display of available resource items, such as "Item Cards". The icon of entry 23 can display the amount of available item cards, such as the quantity or the available duration.
[0058] Interface 2 includes an interaction identifier 24, an interaction value 25, and descriptive information 26 for the interaction identifier. In this embodiment, the interaction identifier 24 appears in the form of a spark and is in a first state, such as an illuminated state. Figure 2 This is represented by 24-a. Description information 26 is used to interpret interaction relationships and interaction values. Figure 2 In Chinese, 26-a is used to represent, for example, an interaction value of 25 indicates the number of consecutive days of chatting, and the relationship between the two users is that of family members.
[0059] Interface 2 may also include a task area 27, which may include one or more tasks. For completed tasks, feedback corresponding to that task can be displayed. For example, task area 27 includes description information 271 for task 3. Task 3 has been completed, and feedback can be received by triggering control 272. In this example, the effective duration of the frozen card can be retrieved, increasing the effective duration of the frozen card available to the user by one day.
[0060] In response to the triggering of the control 23, an interface as shown in Figure 3 may be displayed. Figure 3 A schematic diagram of an interactive relationship interface according to some embodiments of the present disclosure is shown. For example, after triggering the control 23 in the interface 2, an interface 2 as shown in Figure 3 may be displayed, which has a floating layer 28 for presenting resource items. Of course, the display area of the prop card can be in the floating layer or in a separate page, which will not be described here.
[0061] In the floating layer 28, available prop cards are displayed, such as a freeze card 281 and a rekindling card 282. Taking the freeze card 281 as an example, the description information 2811 of the freeze card, the remaining effective duration 2812, and the triggering control 2813 are also displayed. In response to the triggering operation on the control 2813, the freeze card, i.e., the first resource item, is used.
[0062] In the example of Figure 3 , only available resource items are displayed. Embodiments of the present disclosure are not limited to this implementation. For example, in the interactive relationship interface of the first user and the second user, the available resource items corresponding to the first user and the second user can be displayed, and the available resource items and the unavailable resource items are displayed differently. One example is that all types of resource items are displayed in the interactive relationship interface, and the available resource items are arranged before the unavailable resource items, or the available resource items are displayed in color and the unavailable resource items are displayed in grayscale, or the available resource items have special identification. Thus, the user can learn more about the types of resource items, and the user's interactive willingness is improved.
[0063] Figure 4 A schematic diagram of an interactive relationship interface according to some other embodiments of the present disclosure is shown. Figure 4 The interface 2 as shown is the effect after the first resource item (e.g., the freeze card) is triggered. As shown in Figure 4 , the interactive identifier 24 switches from the style as shown in Figure 2 to the freeze style as shown in Figure 4 , as shown by the interactive identifier 24-b. And the content of the description information 26 is also changed accordingly, as shown by 26-b, indicating that the interactive identifier is currently in the freeze type. The description information 26-b includes, for example, the remaining effective duration, i.e., 5 days, and the triggering can stop the effectiveness of the freeze card.
[0064] In response to the arrival of the remaining duration of the first resource item, for example, after 5 days, or in response to the user triggering the description information 26-b, the effectiveness of the first resource item ends. At this time, the interactive relationship interface can return to Figure 2The state shown.
[0065] Next, the function of the second resource item is described. In some embodiments, the resource item is the second resource item, and in response to the triggering operation on the resource item, determining the state of the interaction mark as the first state comprises: during the period when the interaction mark is in the second state, in response to the triggering operation on the second resource item, determining the state of the interaction mark as the first state. The second resource item differs from the first resource item in that the second resource item is a one-time effective resource item, which is used to switch the state of the interaction mark, but is not used to maintain the state, nor is it used to maintain the interaction value. That is, after switching the state of the interaction mark, the second resource item is used up. Subsequent interaction state information is still determined according to the conventional logic.
[0066] One embodiment is that, in the case where the resource item is not used, when the interaction mark is in the second state, the user needs to interact for a certain period of time to be able to switch the interaction mark to the first state. While the use of the second resource item can immediately achieve the state switching, the user does not need to wait for a long time. Therefore, the flexibility of changing the interaction state information can be improved.
[0067] For example, when the interaction mark is in the "extinguished" state (second state), the first user and the second user need to continuously interact for a specified period of time, such as continuously chatting for a specified number of days, to be able to "light up" the interaction mark (switch to the first state). While in the case where the second resource item is used, the interaction mark can be directly "light up".
[0068] The following is described based on the above Figure 5 exemplarily. Figure 5 The schematic diagram of the interaction relationship interface according to some other embodiments of the present disclosure is shown. In Figure 5 The interface 2 shown, the interaction mark 24 is in the extinguished state, as Figure 5 the style of the interaction mark 24-c. And the interaction value is attached with the description 25-c, indicating that the current spark mark is after being extinguished, the user has interacted, but the interaction time does not reach the threshold of lighting up the mark, that is, "spark reignites". In addition, the description information of the interaction mark is shown as 26-c, indicating that the user has chatted for 1 day, and continues to chat for 2 days to light up the mark, that is, switch the mark from the second state to the first state.
[0069] In Figure 5 The interface 2 shown, the floating layer 28 displays the available reignition card 282, and indicates the description information 2821, the available number 2822 and the triggering control 2823 of the reignition card. In response to the user triggering the reignition card 282 (second resource item), such as the triggering control 2823, the reignition card 282 is used. At this time, the interaction mark 24 is switched to the lighted state, such as back to Figure 2The interactive identifier 24-a is shown in the style shown. Thus, the interactive identifier can be immediately switched to the first state.
[0070] The first user and the second user are not always configured with the interactive identifier. For example, the first user and the second user do not have the interactive identifier in the initial state, or it can be considered that the interactive identifier does not exist in the interactive relationship interface. In the case where the resource item is not used, the first user needs to continuously interact for a certain time length, and the interactive identifier supports being enabled, and after being enabled, the interactive identifier is displayed in the interactive relationship interface, and different states of the interactive identifier are displayed. When the continuous non-interactive time length of the first user and the second user reaches a threshold X, the interactive identifier is switched from the first state to the second state, for example, is extinguished. During the second state of the interactive identifier, if the first user and the second user interact again, and the continuous interaction time length reaches a threshold Y, the state of the interactive identifier can be switched back to the first state. During the second state of the interactive identifier, if the first user and the second user still do not interact, and the non-interactive time length reaches a threshold Z, the interactive identifier is disabled, for example, the interactive identifier in the interactive relationship interface will be cancelled, and the interaction value will be cleared. The resource item provided by some embodiments of the present disclosure can realize the quick enablement of the interactive identifier.
[0071] In some embodiments, the interaction state information includes whether the interactive identifier is enabled, and in response to the triggering operation on the resource item, determining the state of the interactive identifier as the first state includes: during the interactive identifier is not enabled, in response to the triggering operation on the resource item, enabling the interactive identifier and determining the state of the interactive identifier as the first state. Thus, during the interactive identifier is not enabled, in response to the triggering operation on the resource item, the interactive identifier can also be quickly enabled, and its state is directly determined as the first state.
[0072] One example is that the resource item is a third resource item, the interaction state information further includes an interaction value, and the interaction method further includes: during the interactive identifier is enabled, in response to the continuous time length of the first user and the second user not interacting reaching a first threshold, stopping enabling the interactive identifier and determining a current first interaction value; and in response to the triggering operation on the resource item, determining the interaction state information of the first user and the second user according to the function of the resource item further includes: during the interactive identifier is not enabled, in response to the triggering operation on the third resource item, determining the interaction value as the first interaction value. That is, in the case where the interactive identifier has been enabled and then stopped, the last interaction value during the enablement can be recorded. In response to using the third resource item, in addition to being able to quickly enable the interactive identifier, the recorded interaction value can also be restored. Thus, the interaction value of the first user and the second user can continue to grow on this basis as the interaction proceeds, improving the interaction between the users.
[0073] Another example is a resource item that is the fourth resource item. Enabling an interaction flag and setting the interaction flag to a first state in response to a triggering operation on the resource item includes: if the interaction flag has not been enabled historically, enabling the interaction flag and setting its state to the first state in response to a triggering operation on the fourth resource item. That is, if the interaction flag between the first user and the second user has never been enabled, the fourth resource item can be used to quickly enable the interaction flag.
[0074] The above provides an exemplary description of a resource item used to determine the state of an interaction identifier as a first state. Furthermore, the resource item may also have other functions. In some embodiments, the interaction state information includes an interaction value, the resource item is a fifth resource item, and determining the interaction state information of the first user and the second user based on the function of the resource item in response to a triggering operation on the resource item includes: in response to a triggering operation on the fifth resource item, increasing the interaction value during the effective period of the fifth resource item. The fifth resource item is a resource item configured with an effective duration, and its effective duration variation strategy during the effective period can refer to that of the first resource item, and will not be repeated here. By triggering the fifth resource item, the interaction value continues to increase regardless of whether the first user and the second user interact. Therefore, the interaction state between users can be maintained for a certain period of time.
[0075] The above embodiments exemplarily describe the functionality of several resource items. One or more of these resource items can be automatically issued to users, or the number of resource items or their availability duration can be issued in response to the fulfillment of a specified task.
[0076] For example, for resource items configured with an effective duration, such as the first resource item and the fifth resource item, the effective duration of the available resource item can be increased in response to the fulfillment of a specified task. In some embodiments, in response to the fulfillment of a specified task, an additional effective duration for the resource item corresponding to the task is determined. The specified task includes at least one of the following: the continuous interaction time between the first user and the second user reaches a second threshold, or the first user publishes a first number of works within a specified time period. The effective duration of the resource item is updated according to the additional effective duration. For example, a task corresponds to a resource item, and the additional effective duration is 3 days. Thus, after the user completes the specified task, the effective duration of the resource item is increased by 3 days from the original value. This approach can improve the user's controllability over interaction status information through user interaction behavior or interaction behavior between users.
[0077] For example, for resource items that have a one-time effect after use, such as the second, third, or fourth resource item, each use consumes one unit of that type of resource item. For instance, in response to a triggered operation on a resource item, the number of available resource items is reduced by one. Figure 3For example, the heavy burning card in the above embodiment, if the user has one heavy burning card, after triggering the heavy burning card, the number of heavy burning cards is 0. For such a resource item, the number of the resource item can be increased by completing a task. In some embodiments, in response to a specified task being met, the number of available resource items is increased, wherein the specified task includes at least one of the first user and the second user reaching a second threshold for the length of continuous interaction, the first user publishing a first number of works within a specified period of time. For example, the user completes a task, and the number of resource items corresponding to the task is increased by 1. Thus, the controllability of the user to the interaction state information can also be improved through the interaction behavior of the user or the interaction behavior between users.
[0078] The resource item acts on the interaction state information between the first user and the second user, and on this basis, the resource item can also be shared by the first user and the second user. In some embodiments, the first user and the second user both have the use right of the resource item. For example, when the first user views the interaction relationship interface, the available resource items displayed on the interface are consistent with the available resource items displayed on the interface when the second user views the interaction relationship interface. Further, in response to the change of the available resource items, such as the increase or decrease of the number or the increase or decrease of the effective time length, the change is also synchronized in the interaction relationship interfaces of the first user and the second user.
[0079] In the foregoing, the display of the interaction identifier in the interaction interface is described as an example. However, the interaction identifier can also be displayed in other interfaces. In some embodiments, based on the interaction state information, displaying the interaction identifier corresponding to the first user and the second user includes: based on the interaction state information, displaying the interaction identifier in the interaction relationship interface; or, based on the interaction state information, displaying the interaction identifier in the conversation interface of the first user and the second user.
[0080] Figure 6 A conversation interface schematic diagram of the first user and the second user is shown. Figure 6 The interface 6 shown is the conversation interface of the user 1 and the user 2, and 61 represents the identifier of the user 2, such as the name and the avatar. In this embodiment, the user 1 uses the first resource item (the freeze card), and in the conversation interface 6, the interaction identifier 62 has a style in the first type, such as the style of freezing, and has the description information of the type “freezing”. In this way, the state of the current interaction identifier can be quickly obtained in the conversation interface. Of course, the interaction identifier can also not carry the description information but carry the current interaction value.
[0081] In addition, in the conversation interface 6, the use information 63 of the resource item can also be included, such as “you use the freeze card, and the spark will be preserved during the chat break”, indicating that the user uses the first resource item. Thus, the use of the resource item by the user can be intuitively reflected in the conversation interface, so as to facilitate the user to understand the use information.
[0082] The above describes the method of an embodiment of the present disclosure. The following describes an apparatus for performing the above method embodiments.
[0083] Figure 7 A structural diagram of an interaction apparatus according to some embodiments of the present disclosure is shown. As shown, the interaction apparatus 7 of this embodiment includes: a first display module 71 configured to display, in an interactive relationship interface of a first user and a second user, a resource item corresponding to the first user and the second user and available for use; a determination module 72 configured to, in response to a triggering operation on the resource item, determine interactive state information of the first user and the second user according to a function of the resource item; and a second display module 73 configured to display, based on the interactive state information, an interactive identifier corresponding to the first user and the second user. Figure 7
[0084] In some embodiments, the interactive state information includes a state of the interactive identifier, and the determination module 72 is further configured to: in response to the triggering operation on the resource item, determine the state of the interactive identifier as a first state.
[0085] In some embodiments, the resource item is a first resource item, the interactive state information includes a type of the interactive identifier, and the determination module 72 is further configured to: during a period when the interactive identifier is in a second state, in response to the triggering operation on the first resource item, determine the type of the interactive identifier as a first type within a validity duration of the resource item.
[0086] In some embodiments, the interactive state information further includes an interaction value, and in response to the type of the interactive identifier being the first type, the interaction value remains unchanged.
[0087] In some embodiments, the second display module 73 is further configured to: display the interactive identifier corresponding to the first user and the second user and belonging to the first type, and the interactive identifier carries description information of the first type or carries the interaction value.
[0088] In some embodiments, the interaction apparatus 7 further includes a first update module configured to: in response to reaching the validity duration or in response to obtaining an instruction to stop the validity of the first resource item within the validity duration, switch the type of the interactive identifier to a type different from the first type; and update the validity duration of the available first resource item according to a duration consumed during the validity of the first resource item.
[0089] In some embodiments, the resource item is a second resource item, and the determination module 72 is further configured to: during a period when the interactive identifier is in a second state, in response to a triggering operation on the second resource item, determine the state of the interactive identifier as a first state.
[0090] In some embodiments, the interaction status information comprises whether the interaction identifier is enabled, and the determining module 72 is further configured to: in response to the triggering operation on the resource item, enable the interaction identifier and determine the state of the interaction identifier as the first state, during a period when the interaction identifier is not enabled.
[0091] In some embodiments, the resource item is a third resource item, the interaction status information further comprises an interaction value, and the determining module 72 is further configured to: in response to the continuous duration of the interaction between the first user and the second user reaching a first threshold, stop enabling the interaction identifier and determine a current first interaction value, during a period when the interaction identifier is enabled; and in response to the triggering operation on the resource item, determine the interaction status information of the first user and the second user according to the function of the resource item, further comprising: in response to the triggering operation on the third resource item, determine the interaction value as the first interaction value, during a period when the interaction identifier is not enabled.
[0092] In some embodiments, the resource item is a fourth resource item, and the determining module 72 is further configured to: in response to the triggering operation on the fourth resource item, enable the interaction identifier and determine the state of the interaction identifier as the first state, during a period when the interaction identifier history is not enabled.
[0093] In some embodiments, the interaction status information comprises an interaction value, the resource item is a fifth resource item, and the determining module 72 is further configured to: in response to the triggering operation on the fifth resource item, increase the interaction value during a valid period of the fifth resource item.
[0094] In some embodiments, the interaction device 7 further comprises a second updating module configured to: in response to a specified task being met, determine an additional valid duration of the resource item corresponding to the task, the specified task comprising at least one of the continuous interaction duration of the first user and the second user reaching a second threshold, and the first user publishing a first number of works within a specified period of time; and update the valid duration of the resource item according to the additional valid duration.
[0095] In some embodiments, the interaction device 7 further comprises a third updating module configured to: in response to the triggering operation on the resource item, decrease the number of available resource items by 1.
[0096] In some embodiments, the interaction device 7 further comprises a fourth updating module configured to: in response to a specified task being met, increase the number of available resource items, wherein the specified task comprises at least one of the continuous interaction duration of the first user and the second user reaching a second threshold, and the first user publishing a first number of works within a specified period of time.
[0097] In some embodiments, the first display module 71 is further configured to display, in the interactive relationship interface of the first user and the second user, a plurality of resource items corresponding to the first user and the second user, wherein the usable resource items are distinguished from the unusable resource items.
[0098] In some embodiments, the first user and the second user both have the use permission for the resource item.
[0099] In some embodiments, the second display module 73 is further configured to display, based on the interaction state information, the interaction identifier in the interactive relationship interface; or display, based on the interaction state information, the interaction identifier in the conversation interface of the first user and the second user.
[0100] The above embodiments control the interaction state information of the first user and the second user through the resource item, so that the user can more flexibly adjust the interaction state information to affect the interaction identifier. The use of the resource item is also an indirect interaction method, which can further improve the interaction and the interaction willingness between users. Therefore, the use rate of the interaction function is improved.
[0101] According to some embodiments of the present disclosure, an electronic device is provided, comprising: a memory; and a processor coupled to the memory, the processor being configured to execute the interaction method of any one of the embodiments of the present disclosure based on instructions stored in the memory.
[0102] Figure 8 A block diagram of an electronic device according to some embodiments of the present disclosure is shown.
[0103] The memory 81 is used to store one or more computer-readable instructions. The memory 81 can include any combination of various forms of computer-readable storage media, such as volatile memory and / or non-volatile memory, including but not limited to random access memory (RAM), dynamic random access memory (DRAM), static random access memory (SRAM), read-only memory (ROM), flash memory. The memory 81 may, for example, store an operating system, an application program, a boot loader (BootLoader), a database, and other programs, and can also store various application programs and various data.
[0104] The processor 82 is used to run the computer-readable instructions to implement the method of any one of the above embodiments. The specific implementation of each step of the method can refer to the above embodiments, and the repeated parts will not be described here.
[0105] The processor 82 can be configured to perform the steps of the aforementioned embodiments. The processor 82 can be embodied as various processing devices such as a central processing unit (CPU), a network processor (NP), etc. and can also be a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field programmable gate array (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components. The central processing unit (CPU) can be an X86 or ARM architecture, etc.
[0106] The processor 82 and the memory 81 can communicate with each other directly or indirectly. For example, the processor 82 and the memory 81 can communicate through a network. The network can include a wireless network, a wired network, and / or any combination of a wireless network and a wired network. The processor 82 and the memory 81 can also communicate with each other through a system bus, and the present disclosure does not limit this.
[0107] It should be noted that Figure 8 The components of the electronic device 8 shown are only exemplary and not limiting, and the electronic device 8 can also have other components according to actual application needs. The processor 82 can control other components in the electronic device 8 to perform the desired functions.
[0108] The electronic device 8 can be implemented in software, firmware, and / or hardware, and can be integrated into a device with an installed related application.
[0109] Figure 9 A block diagram of an electronic device according to some other embodiments of the present disclosure is shown.
[0110] Figure 9 The electronic device 9 shown can be a computer system with a special hardware structure, which can perform corresponding functions when a related application is installed.
[0111] The electronic device includes but is not limited to mobile terminals such as smartphones, notebook computers, personal digital assistants (PDAs), tablet computers (Tablet PCs), PMPs (portable multimedia players), vehicle terminals (such as vehicle navigation terminals), wearable devices, etc., and fixed terminals such as digital TVs, desktop computers, etc.
[0112] As Figure 9As shown, a central processing unit (CPU) 91 performs various processes in accordance with a program stored in a read only memory (ROM) 92 or a program loaded from a storage section 98 to a random access memory (RAM) 93. In the RAM 93, data required when the CPU 91 performs various processes and the like is stored as necessary. The central processing unit is merely exemplary, and can be other types of processors, such as the various processors described above. The ROM 92, the RAM 93, and the storage section 98 can be various forms of computer readable storage media. Note that, although Figure 9 The ROM 92, the RAM 93, and the storage section 98 are shown separately in FIG. 9, but one or more of them can be combined, or located in the same or different memory or storage modules.
[0113] The CPU 91, the ROM 92, and the RAM 93 are connected to each other via a bus 94. An input / output interface 95 is also connected to the bus 94.
[0114] The following components are connected to the input / output interface 95: an input section 96 including a touch panel, a touch pad, a keyboard, a mouse, an image sensor, a microphone, an accelerometer, a gyroscope, and the like; an output section 97 including a display such as a cathode ray tube (CRT), a liquid crystal display (LCD), a speaker, a vibrator, and the like; a storage section 98 including a hard disk, a magnetic tape, and the like; and a communication section 99 including a network interface card such as a LAN card, a modem, and the like. The communication section 99 allows communication processing to be performed via a network such as the Internet. It is easily understood that, although Figure 9 The components in the electronic device 9 shown in FIG. 9 communicate via the bus 94, but they can also communicate through a network or other means, where the network can include a wireless network, a wired network, and / or any combination of a wireless network and a wired network.
[0115] A drive 910 is also connected to the input / output interface 95 as necessary. A removable medium 911 such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, and the like is mounted on the drive 910 as necessary, so that a computer program read therefrom is installed in the storage section 98 as necessary.
[0116] In the case where the above series of processes are implemented by software, the program constituting the software can be installed from a network such as the Internet or a storage medium 911 or the like.
[0117] According to embodiments of the present disclosure, the processes described above with reference to the flowcharts can be implemented as a computer software program. For example, some embodiments of the present disclosure include a computer program product which, when run on a computer, causes the computer to implement the method of any of the preceding embodiments. The computer program product includes computer instructions carried on a computer-readable medium, including program code for executing the method shown in the flowcharts. In such embodiments, the computer instructions can be downloaded and installed from a network via the communication section 99, or installed from the storage section 98, or installed from the ROM 92. When the computer program is executed by the CPU 91, the method of the embodiments of the present disclosure is executed.
[0118] According to some embodiments of the present disclosure, there is provided a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, performs the interactive method of any of the embodiments described in the present disclosure.
[0119] According to some embodiments of the present disclosure, there is provided a computer program product which, when run on a computer, causes the computer to implement the interactive method of any of the embodiments described in the present disclosure.
[0120] Note that, in the context of the present disclosure, a computer-readable medium can be a tangible medium which can contain or store a program for use by or in connection with an instruction execution system, apparatus, or device.
[0121] The computer-readable medium can be a computer-readable storage medium, or a computer-readable signal medium, or any combination of the two.
[0122] The computer-readable storage medium includes, but is not limited to, electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the above. More specific examples of the computer-readable storage medium can include, but are not limited to, an electrical connection having one or more wires, a portable computer diskette, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present disclosure, the computer-readable storage medium can be any tangible medium that contains or stores a program that can be used by or in connection with an instruction execution system, apparatus, or device. The computer-readable storage medium stores computer instructions which, when executed by a processor, implement the method of any of the preceding embodiments.
[0123] The computer readable medium can include a computer-readable signal medium and / or computer-readable storage medium. A computer readable signal medium can include a propagated data signal with computer executable instructions. A computer readable storage medium can include any non-transitory medium that can store computer executable instructions such as volatile memory or non-volatile memory, removable or non-removable memory, erasable or non-erasable memory, or a combination of the two. The computer readable storage medium can include, but is not limited to, volatile memory (including, for example, dynamic random access memory (DRAM) or static random access memory (SRAM)), non-volatile memory (including, for example, read only memory (ROM), electrically programmable read only memory (EPROM), electrically erasable programmable read only memory (EEPROM), programmable read only memory (PROM), or flash memory), magnetic data storage (including, for example, a tape or hard disk), optical data storage (including, for example, a compact disc or a digital versatile disc), recording means, or any other non-transitory medium that can store computer executable instructions.
[0124] The computer readable medium can be included within the electronic device; or can exist separately from the electronic device.
[0125] In some embodiments, a computer program including instructions which, when executed by a processor, causes the processor to carry out any of the methods described in the preceding embodiments is also provided. For example, the instructions can be embodied in a computer program code.
[0126] In an embodiment of the disclosure, the computer program code for carrying out operations of the disclosure can be written in one or more programming languages or combinations of languages including object oriented programming languages such as Java, Smalltalk, C++ or conventional procedural programming languages such as the "C" programming language or similar programming languages. The program code can execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the latter scenario, the remote computer can be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or the connection can be made to an external computer (for example, through the Internet using an Internet Service Provider).
[0127] The computer program product of the first aspect can include one or more non-transitory computer-readable media storing instructions that, when executed by one or more processors of a computing device, cause the one or more processors to perform the operations of the method of the first aspect. The one or more non-transitory computer-readable media can include one or more of the following: a magnetic storage device, an optical storage device, a solid-state storage device, a hard disk drive, a flash drive, a RAM, a ROM, a database, and a cache. The one or more processors can include one or more of the following: a central processing unit (CPU), a microprocessor, a microcontroller, a microcomputer, a microprocessor-based or microcontroller-based system, a programmable logic unit (PLU), an application-specific integrated circuit (ASIC), a field programmable gate array (FPGA), a programmable logic array (PLA), a programmable logic device (PLD), a state machine, a gate, a combination of them, and the like.
[0128] The functions described above can be performed, at least in part, by one or more hardware logic components. For example, and without limitation, non-limiting examples of hardware logic components that can be used include field-programmable gate arrays (FPGAs), application-specific integrated circuits (ASICs), application-specific standard products (ASSPs), system-on-a-chip (SOCs), complex programmable logic devices (CPLDs), etc.
[0129] While certain aspects of the present disclosure have been described with example embodiments, those skilled in the art will understand that the example embodiments described above are not meant to limit the present disclosure in scope and spirit. The aspects of the present disclosure can be modified without departing from the scope and spirit of the present disclosure. The scope of the present disclosure is defined by the appended claims.
Claims
1. An interaction method, comprising: displaying, in an interaction interface of a first user and a second user, a usable resource item corresponding to the first user and the second user; in response to a triggering operation on the resource item, determining interaction state information of the first user and the second user according to a function of the resource item; based on the interaction state information, displaying an interaction identifier corresponding to the first user and the second user.
2. The interaction method of claim 1, wherein, The interaction state information includes a state of the interaction identifier, and in response to the triggering operation on the resource item, the determination of the interaction state information of the first user and the second user according to the function of the resource item comprises: in response to the triggering operation on the resource item, determining the state of the interaction identifier as a first state.
3. The interaction method of claim 2, wherein, The resource item is a first resource item, the interaction state information includes a type of the interaction identifier, and in response to the triggering operation on the resource item, the determination of the interaction state information of the first user and the second user according to the function of the resource item comprises: During a period in which the interaction identifier is in a second state, in response to the triggering operation on the first resource item, the type of the interaction identifier is determined as a first type within a validity duration of the resource item.
4. The interaction method of claim 3, wherein, The interaction state information further includes an interaction value, and in response to the type of the interaction identifier being the first type, the interaction value remains unchanged.
5. The interaction method of claim 4, wherein, The displaying of the interaction identifier corresponding to the first user and the second user based on the interaction state information comprises: displaying an interaction identifier belonging to the first type corresponding to the first user and the second user, and the interaction identifier carries description information of the first type or carries the interaction value.
6. The interaction method of claim 3, further comprising: in response to reaching the validity duration or in response to obtaining an instruction to stop the validity of the first resource item within the validity duration, switching the type of the interaction identifier to a type different from the first type; updating the validity duration of the usable first resource item according to a duration consumed during the validity of the first resource item.
7. The interaction method of claim 2, wherein, The resource item is a second resource item, and the determination of the state of the interaction identifier as a first state in response to the triggering operation on the resource item comprises: During a period in which the interaction identifier is in a second state, in response to the triggering operation on the second resource item, the state of the interaction identifier is determined as the first state.
8. The interaction method of claim 2, wherein, The interaction state information includes whether the interaction identifier is enabled, and the determination of the state of the interaction identifier as a first state in response to the triggering operation on the resource item comprises: during a period in which the interaction identifier is not enabled, in response to the triggering operation on the resource item, enabling the interaction identifier and determining the state of the interaction identifier as a first state.
9. The interaction method of claim 8, wherein, The resource item is a third resource item, and the interaction state information further includes an interaction value, The interaction method further comprises: during the period in which the interaction identifier is enabled, in response to a continuous duration in which the first user and the second user do not interact reaching a first threshold value, stopping the enabling of the interaction identifier and determining a current first interaction value; In response to the triggering operation on the resource item, the interaction state information of the first user and the second user is determined according to a function of the resource item, and the interaction value is determined as the first interaction value in response to the triggering operation on the third resource item during the period when the interaction identifier is not enabled.
10. The interaction method of claim 8, wherein, The resource item is a fourth resource item, and the response to the triggering operation on the resource item includes enabling the interaction identifier and determining the state of the interaction identifier as the first state. In the case where the interaction identifier history is not enabled, the response to the triggering operation on the fourth resource item includes enabling the interaction identifier and determining the state of the interaction identifier as the first state.
11. The interaction method of claim 1, wherein, The interaction state information includes an interaction value, the resource item is a fifth resource item, and the response to the triggering operation on the resource item includes: In response to the triggering operation on the fifth resource item, the interaction value is increased during the effective period of the fifth resource item.
12. The interaction method of claim 3 or 11, further comprising: in response to a specified task being met, determining an additional effective duration of the resource item corresponding to the task, the specified task including at least one of a continuous interaction duration of the first user and the second user reaching a second threshold, and the first user publishing a first number of works within a specified period of time; updating the effective duration of the resource item according to the additional effective duration.
13. The interaction method of any one of claims 7 to 10, further comprising: in response to the triggering operation on the resource item, decreasing the number of available resource items by 1.
14. The interaction method of any one of claims 7 to 10, further comprising: in response to a specified task being met, increasing the number of available resource items, wherein the specified task includes at least one of a continuous interaction duration of the first user and the second user reaching a second threshold, and the first user publishing a first number of works within a specified period of time.
15. The interaction method of claim 1, wherein, The displaying of the available resource items corresponding to the first user and the second user in the interaction relationship interface between the first user and the second user includes: The displaying of the plurality of resource items corresponding to the first user and the second user in the interaction relationship interface between the first user and the second user includes a distinction between the available resource items and the unavailable resource items.
16. The interaction method of claim 1, wherein, The first user and the second user both have a use right to the resource item.
17. The interactive method of claim 1, wherein, The displaying of the interaction identifier corresponding to the first user and the second user based on the interaction state information includes: the interaction identifier is displayed in the interaction relationship interface based on the interaction state information; or the interaction identifier is displayed in a conversation interface between the first user and the second user based on the interaction state information.
18. An electronic device, comprising: a memory; and a processor coupled to the memory, the processor configured to perform the interaction method of any one of claims 1 to 17 based on instructions stored in the memory.
19. A computer readable storage medium having stored thereon a computer program which, when executed by a processor, implements the interaction method of any one of claims 1 to 17.
20. A computer program product which, when running on a computer, causes the computer to implement the interaction method of any one of claims 1 to 17.
Citation Information
Patent Citations
Task processing method and device, electronic equipment and storage medium
CN118672785A
Interface interaction method and device, equipment and storage medium
CN119966935A