Method, device, electronic device and readable storage medium

By displaying objects and conversation interfaces in two areas of the electronic device, the card-based interaction method simplifies user operations, solves the problem of cumbersome switching between shopping and social software, and enables quick payment, order merging, and product replacement functions.

CN115774504BActive Publication Date: 2026-05-12VIVO MOBILE COMM CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
VIVO MOBILE COMM CO LTD
Filing Date
2022-11-29
Publication Date
2026-05-12

AI Technical Summary

Technical Problem

Users switching back and forth between shopping apps and social media apps leads to cumbersome operation.

Method used

The interface of the first object and the target session is displayed in two areas of the electronic device. The card corresponding to the first object is displayed in the target session interface through the input of the first user. The second user makes a second input to the card to trigger the target operation and realize the update of the card content.

Benefits of technology

It simplifies user operations, avoids switching between interfaces, provides a quick card interaction method, and supports multi-functional operations such as payment, order merging, and product replacement.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115774504B_ABST
    Figure CN115774504B_ABST
Patent Text Reader

Abstract

The application discloses an operation method, device, electronic equipment and readable storage medium, and belongs to the technical field of communication. The method comprises the following steps: in the case that a first object is displayed in a first area of an electronic equipment, and an interface of a target conversation is displayed in a second area of the electronic equipment, a first input of a first user to the first object is received; in response to the first input, a card corresponding to the first object is displayed in the interface of the target conversation; in the case that a second input of a second user to the card is acquired, a target operation associated with the first object is performed, and the content displayed in the card is updated based on the target operation; wherein the participants of the target conversation comprise the first user and the second user.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application belongs to the field of communication technology, and specifically relates to an operating method, apparatus, electronic device and readable storage medium. Background Technology

[0002] Currently, shopping on electronic devices has become a trend, as online shopping can save time and bring convenience to users.

[0003] In related technologies, if a user sees a desired product on a shopping app and wants a friend to help purchase it, they first copy the link from the product details page, then exit the shopping app, click the social media icon, enter the social media app, open a chat, and send the link to the chat by pasting it. Furthermore, other members participating in the chat can copy the link, enter the shopping app, open the product details page corresponding to the link, and complete the purchase.

[0004] It is evident that in related technologies, users frequently switch between shopping apps and social media apps, leading to cumbersome user operations. Summary of the Invention

[0005] The purpose of this application is to provide an operating method that can solve the problem in related technologies where users have to switch back and forth between shopping software and social software, resulting in cumbersome user operations.

[0006] In a first aspect, embodiments of this application provide an operation method, the method comprising: receiving a first input from a first user onto the first object when a first object is displayed in a first area of ​​an electronic device and an interface of a target session is displayed in a second area of ​​the electronic device; in response to the first input, displaying a card corresponding to the first object on the interface of the target session; and, upon receiving a second input from a second user onto the card, performing a target operation associated with the first object and updating the content displayed on the card based on the target operation; wherein the participants in the target session include the first user and the second user.

[0007] Secondly, embodiments of this application provide an operating device, comprising: a receiving module, configured to receive a first input from a first user onto the first object when a first object is displayed in a first area of ​​an electronic device and an interface of a target session is displayed in a second area of ​​the electronic device; a display module, configured to display a card corresponding to the first object in response to the first input on the interface of the target session; and an execution module, configured to execute a target operation associated with the first object and update the content displayed on the card based on the target operation when a second input from a second user onto the card is received; wherein the participants in the target session include the first user and the second user.

[0008] Thirdly, embodiments of this application provide an electronic device including a processor and a memory, wherein the memory stores programs or instructions executable on the processor, and the programs or instructions, when executed by the processor, implement the steps of the method described in the first aspect.

[0009] Fourthly, embodiments of this application provide a readable storage medium on which a program or instructions are stored, which, when executed by a processor, implement the steps of the method described in the first aspect.

[0010] Fifthly, embodiments of this application provide a chip, the chip including a processor and a communication interface, the communication interface being coupled to the processor, the processor being used to run programs or instructions to implement the method as described in the first aspect.

[0011] In a sixth aspect, embodiments of this application provide a computer program product stored in a storage medium, which is executed by at least one processor to implement the method described in the first aspect.

[0012] Thus, in the embodiments of this application, the interfaces of the first object and the target session are displayed in two areas of the electronic device, respectively. The first user can trigger the display of a card corresponding to the first object in the target session interface by making a first input on the first object. Further, a second user participating in the target session makes a second input on the card, triggering a target operation on the first object, such as a payment operation, thereby updating the displayed content on the card based on the target operation. It is evident that, based on the embodiments of this application, when the first object is mentioned in the target session interface, the user participating in the target session only needs to perform a quick operation on the card in the session, without needing to switch to the interface corresponding to the first object, avoiding back-and-forth switching between interfaces and simplifying user operation. Attached Figure Description

[0013] Figure 1 This is a flowchart of the operation method according to an embodiment of this application;

[0014] Figures 2 to 13 This is a schematic diagram of the display interface of an electronic device according to an embodiment of this application;

[0015] Figure 14 This is a block diagram of the operating device according to an embodiment of this application;

[0016] Figure 15 This is one of the hardware structure diagrams of the electronic device according to an embodiment of this application;

[0017] Figure 16 This is the second schematic diagram of the hardware structure of the electronic device according to an embodiment of this application. Detailed Implementation

[0018] The technical solutions of the embodiments of this application will be clearly described below with reference to the accompanying drawings. Obviously, the described embodiments are only some, not all, of the embodiments of this application. All other embodiments obtained by those skilled in the art based on the embodiments of this application are within the scope of protection of this application.

[0019] The terms "first," "second," etc., used in the specification and claims of this application are used to distinguish similar objects and not to describe a specific order or sequence. It should be understood that such use of data can be interchanged where appropriate so that embodiments of this application can be implemented in orders other than those illustrated or described herein, and the objects distinguished by "first," "second," etc., are generally of the same class and are not limited in number; for example, a first object can be one or more. Furthermore, in the specification and claims, "and / or" indicates at least one of the connected objects, and the character " / " generally indicates that the preceding and following objects are in an "or" relationship.

[0020] The operation method provided in this application embodiment can be executed by an operation device provided in this application embodiment, or an electronic device integrating the operation device, wherein the operation device can be implemented in hardware or software.

[0021] The operation methods provided in this application will be described in detail below with reference to the accompanying drawings, through specific embodiments and application scenarios.

[0022] Figure 1 A flowchart illustrating an operation method according to an embodiment of this application is shown, with an example of the method being applied to an electronic device, including:

[0023] Step 110: When the first object is displayed in the first area of ​​the electronic device and the interface of the target session is displayed in the second area of ​​the electronic device, receive the first input from the first user to the first object.

[0024] Optionally, the electronic device includes two screens, namely a first screen and a second screen; correspondingly, the display area of ​​the first screen is a first region, and the display area of ​​the second screen is a second region. Of course, the electronic device may also include a single screen, which includes two regions, namely a first region and a second region.

[0025] For example, see Figure 2 The electronic device includes a foldable screen, which, when unfolded, can be divided into a first screen 201 and a second screen 202.

[0026] Optionally, this embodiment is applied to a shopping scenario.

[0027] For example, the first area displays the interface of the shopping app, which could be the homepage of the shopping app, showing multiple recommended products; it could also be the search page of the shopping app based on a certain keyword, showing multiple products found in the search; or it could be the product details page of the shopping app.

[0028] Optionally, the first object is any one of all the items displayed in the first area.

[0029] Optionally, the second area displays the interface of the target conversation of the social software. The target conversation can be a group conversation or a conversation with a friend.

[0030] Optionally, the target session's interface is a chat window.

[0031] Optionally, the electronic device used in this embodiment is a user terminal, specifically the user terminal of the first user. Correspondingly, the first user logs into social networking and shopping software using their user information.

[0032] Optionally, user information includes at least one of the following: user avatar, user name, and user account.

[0033] The first input includes touch input performed by the user on the screen, including but not limited to tapping, swiping, and dragging; the first input can also be air input by the user, such as gestures or facial expressions; the first input also includes input performed by the user on physical buttons on the device, including but not limited to pressing. Moreover, the first input includes one or more inputs, which can be continuous or timed.

[0034] In this step, the first input is used to trigger the display of the card corresponding to the first object on the target session's interface.

[0035] For example, see Figure 2 The user presses and holds "Product 1" to move to the target session's interface and then releases the button.

[0036] Optionally, in Figure 2In this context, "Product 1" is a control used to represent the corresponding product. For example, in... Figure 2 In the interface shown, when the user clicks on "Product 1", the product details page is displayed in the first area.

[0037] Step 120: In response to the first input, display the card corresponding to the first object on the target session's interface.

[0038] Optionally, the card can be displayed as a chat message.

[0039] For example, on the target session's interface, the chat message sent by the first user is displayed; this chat message is a card.

[0040] Optionally, the relevant information of the first object can be sent to the contact corresponding to the target session's interface, thereby displaying the card corresponding to the first object in the target session's interface. The target session's interface can be a private chat interface or a group chat interface.

[0041] Optionally, the card can be displayed as a pop-up window.

[0042] Each member participating in the target session can perform relevant operations on the card.

[0043] Step 130: Upon receiving the second input from the second user to the card, execute the target operation associated with the first object, and update the content displayed in the card based on the target operation.

[0044] The second input includes touch input performed by the user on the screen, including but not limited to tapping, swiping, and dragging; the second input can also be air input by the user, such as gestures and facial expressions; the second input also includes input by the user on physical buttons on the device, including but not limited to pressing. Moreover, the second input includes one or more inputs, which can be continuous or timed.

[0045] The participants in the target session include the first user and the second user.

[0046] In this step, the second user makes the second input on the corresponding user terminal, i.e., the second user's own terminal. Specifically, the second user logs into social media and shopping apps using their user information on their own terminal.

[0047] In this process, the second user makes a second input on the options provided on the card that are related to the first object, so as to realize the function corresponding to the option.

[0048] For example, the card displays the "Pay" option for the first user. When the second user clicks the "Pay" option and enters the amount, the card in the target session's interface displays the relevant payment information.

[0049] Thus, in the embodiments of this application, the interfaces of the first object and the target session are displayed in two areas of the electronic device, respectively. The first user can trigger the display of a card corresponding to the first object on the interface of the target session by making a first input on the first object. Further, the second user participating in the target session makes a second input on the card, triggering a target operation on the first object, such as a payment operation, thereby updating the displayed content on the card based on the target operation. It can be seen that, based on the embodiments of this application, when mentioning the first object in social interactions, both parties only need to perform a quick operation on the card in the session, without having to switch to the interface corresponding to the first object, avoiding back-and-forth switching between interfaces and simplifying user operations.

[0050] In the operation method flow of another embodiment of this application, step 120 includes:

[0051] Sub-step A1: Display the amount to be paid for the first object in the card.

[0052] For example, if a user browses a product they like on a shopping app but is unable to complete the full payment, the user can trigger the display of a "Payment" card on the target session's interface through their first input. The "Payment" card displays the amount due to the user.

[0053] Optionally, the amount due for the first object can be displayed directly in the card.

[0054] For example, the "Group Chat" interface displays a "Payment" card, which shows "Current Payment Progress: 155 yuan / 199 yuan". It can be seen that the amount currently paid is "155 yuan", while the total amount of the goods is "199 yuan". Therefore, the amount to be paid for the goods is "44 yuan", so it is displayed as "Amount to be paid: 44 yuan".

[0055] Optionally, the amount due to the first object can be indirectly displayed in the card.

[0056] For example, see Figure 3 The "Group Chat" interface displays a "Payment" card 301, which shows "Current Payment Progress: 155 yuan / 199 yuan". It can be seen that the amount currently paid is "155 yuan", while the total amount of the goods is "199 yuan". Therefore, the amount to be paid for the goods is "44 yuan", which is indirectly displayed based on the "Current Payment Progress: 155 yuan / 199 yuan".

[0057] Step 130 includes:

[0058] Sub-step A2: Upon receiving the second user's second input regarding the payment amount in the card based on the first object's pending payment amount, update the first object's pending payment amount in the card according to the already paid amount corresponding to the second input and the first object's pending payment amount.

[0059] Optionally, the card provides a "Pay" option. The second user clicks the "Pay" option and enters the specific amount, which is the amount paid.

[0060] For example, see Figure 3 The "Payment" card 301 offers a "Help Him Crowdfund" option 302. A second user can click the "Help Him Crowdfund" option 302, which will display a pop-up window. See the pop-up window for details. Figure 4 The system displays an amount input box 401, where the second user enters the specific amount and then enters the payment password in the password input box 402 to complete the payment.

[0061] Optionally, the card offers a "one-click payment" option. When a second user clicks the "one-click payment" option, the amount paid is equal to the amount to be paid displayed on the card.

[0062] Optionally, the card offers a "full payment" option. When the second user clicks the "full payment" option, the amount paid equals the total purchase amount of the first user.

[0063] For example, see Figure 3 The "Payment" card 301 provides a "Full Payment" option 303. A second user can click the "Full Payment" option 303 to display a pop-up window. See the pop-up window for details. Figure 5 The system displays the payment amount "199 yuan" and a password input box 501. The second user enters their payment password in the password input box 501 to complete the payment. Any amount already paid can be refunded to the corresponding payment account.

[0064] Correspondingly, upon receiving the second input from the second user, the displayed content of the card is updated.

[0065] Optionally, the amount to be paid for the first object after the update is equal to the amount to be paid before the update minus the amount already paid for the second input.

[0066] Optionally, the amount to be paid for the first object after the update is equal to "0".

[0067] For example, see Figure 6 In the "Payment" card 601, update the "Current Payment Progress" to update the amount to be paid for the first object.

[0068] Sub-step A3: Display the information of the second user corresponding to the second input and the amount paid corresponding to the second input in the card.

[0069] Optionally, the second user's information includes at least one of the following: user avatar, user name, and user account.

[0070] For example, see Figure 6 The "Payment" card 601 displays "XXX paid xx yuan for you", where "XXX" is the information of the second user and "xx yuan" is the amount already paid corresponding to the second input.

[0071] In this embodiment, a quick payment method within a chat session is provided for scenarios involving requesting a friend's payment assistance. On one hand, the requesting user can trigger the display of a "Payment" card on the target chat interface with simple input; on the other hand, the requested user can quickly complete the payment for their friend by simply inputting the "Payment" card within the target chat interface. Thus, in this embodiment, both parties can switch between social and shopping apps without needing to interact, simplifying user operations.

[0072] In another embodiment of the operation method of this application, the number of second users is at least two, and step A2 includes:

[0073] Sub-step B1: Obtain the total payment amount based on at least two paid amounts that correspond one-to-one with at least two second inputs.

[0074] In this embodiment, the number of members participating in the target session is at least three, and correspondingly, the number of second users is at least two.

[0075] Furthermore, at least two second users participating in the target session can each make a second input on the "payment" card, in which different second users can enter different amounts. Thus, by adding up the amounts paid corresponding to all second inputs, the total payment amount can be obtained.

[0076] Sub-step B2: Update the amount to be paid for the first object in the card based on the total payment amount and the amount to be paid for the first object.

[0077] Optionally, the amount due to be paid for the first object after the update is equal to the amount due to be paid for the first object before the update minus the total payment amount.

[0078] For example, see Figure 3 and Figure 4 In the "Help Him Crowdfund" payment scenario shown, multiple members participating in the target session can act as second users and pay a portion of the amount.

[0079] This embodiment provides a multi-user payment method. Compared with the prior art where only one person can make the payment, this embodiment simplifies the operation for multiple users, enriches the product payment scenarios, and improves the purchase success rate.

[0080] In the operation method flow of another embodiment of this application, step 120 includes:

[0081] Sub-step C1: Display the purchase amount of the first object in the card.

[0082] For example, a user browses a product they like on a shopping app. This product is eligible for discounts or other promotions. However, if the user's purchase amount is insufficient to qualify for the discounts, the user can trigger a "Merge Orders" card to be displayed on the target session's interface through their first input. The "Merge Orders" card displays the purchase amount of the first user.

[0083] Optionally, the purchase amount of the first object is the total amount required to purchase the first object.

[0084] For example, see Figure 7 In the "Merged Orders" card 701, "XXX" and "Product 1" are displayed. "XXX" is used to represent the information of the first user, and "Product 1" is used to represent the relevant product content, including the purchase amount.

[0085] Step 130 includes:

[0086] Sub-step C2: If the second user moves the second object to the second input of the card, display the purchase amount of the second object corresponding to the second input in the card.

[0087] Optionally, on the device corresponding to the second user, the interfaces of the second object and the target session are displayed simultaneously, and the second user moves the second object to the "Merge Orders" card in the interface of the target session.

[0088] Correspondingly, upon receiving the second user's second input, the purchase amount of the second object corresponding to the second input is displayed on the card.

[0089] For example, see Figure 8 In the "Merged Orders" card 801, "XXX" and "Product 2" are displayed. "XXX" is used to represent the information of the second user, and "Product 2" is used to represent the relevant product content, including the purchase amount.

[0090] Sub-step C3: Combine the purchase amounts of the first object and the second object to obtain the first combined amount.

[0091] In this step, the first combined amount is equal to the sum of the purchase amount of the first object and the purchase amount of the second object.

[0092] Sub-step C4: If the first merged amount meets the first condition, obtain the second merged amount based on the content of the first merged amount and the first condition.

[0093] Optionally, the first condition is a purchase discount condition that is supported by both the first and second objects.

[0094] For example, the first condition may include "20 off for orders over 300" or "free shipping for orders over xx yuan", etc.

[0095] Optionally, the content of the first condition can be displayed in the "Merge Orders" card.

[0096] In this step, the second consolidated amount equals the first consolidated amount minus the amount exempted.

[0097] Optionally, the "Combined Orders" card provides a "Pay Together" option. The first user or the second user clicks the "Pay Together" option to obtain the second combined amount based on the first combined amount and the content of the first condition.

[0098] Sub-step C5: Based on the second merged amount, update the purchase amount of the first object and the purchase amount of the second object in the card respectively.

[0099] Optionally, based on the second combined amount and in conjunction with the content of the first condition, the purchase amount of the first object and the purchase amount of the second object after the combined order are automatically calculated and displayed in the "Combined Orders" card.

[0100] For example, see Figure 9 The display control 901 shows "XX yuan needs to be paid, XX yuan discount has been given," where "XX yuan needs to be paid" indicates the updated purchase amount for either the first or second item. Additionally, the discount amount for each item is displayed to inform all users involved in the order consolidation.

[0101] Optionally, the first user can enter the purchase amount for the updated first object to pay the amount and complete the purchase; the second user can enter the purchase amount for the updated second object to pay the amount and complete the purchase.

[0102] Optionally, pop-up windows are displayed on the first user's device and the second user's device, respectively, with the purchase amount and password input fields displayed in the pop-up windows to facilitate the corresponding user to complete the payment.

[0103] In this embodiment, a quick way to group buy with friends is provided within a chat session. On one hand, the initiating user can trigger the display of a "Merge Orders" card on the target chat interface with simple input. On the other hand, the group-buying users can quickly complete the group buy by simply moving the items to the "Merge Orders" card. Thus, in this embodiment, both parties, without needing to interact with each other, can switch between social media and shopping apps, simplifying user operations.

[0104] In the operation method flow of another embodiment of this application, step 120 includes:

[0105] Sub-step D1: Display the first object in the card.

[0106] For example, if a user browses a product they like on a shopping app and wants to share it with a friend for their opinion, the user can trigger the display of a "Replace Product" card on the target session's interface through their input. The "Replace Product" card will then display the first product.

[0107] For example, see Figure 10 The "Replace Product" card 10001 is displayed, and "Product 1" is displayed in "Replace Product" card 10001. For reference, "Product 1" in the second area is the same as "Product 1" displayed in the first area, and both can be a display bar that displays part of the product information.

[0108] Step 130 includes:

[0109] Sub-step D2: If the second user moves the third object to the card as the second input, replace the first object displayed on the card with the third object.

[0110] Among them, the similarity between the first object and the third object is greater than the target threshold.

[0111] In this step, the similarity between the first object and the third object is greater than the target threshold, which is used to define the first object and the third object as similar objects.

[0112] Optionally, the first object and the third object belong to the same type of goods, such as both being "refrigerators".

[0113] Optionally, on the second user's device, the interfaces of the third object and the target session are displayed simultaneously, and the second user moves the third object to the "Item Replacement" card on the target session's interface.

[0114] Application scenarios include, based on the first object viewed by the first user, and the second user viewed a third object with a higher cost-performance ratio, the first object can be directly replaced with the third object for the first user to view and compare.

[0115] Sub-step D3: Based on the third object displayed in the card, switch the first object displayed in the first area to the third object.

[0116] In this step, when an object in the card is replaced, the object displayed in the first area of ​​the first user's device is simultaneously replaced so that the first user can view it in the first area.

[0117] In this embodiment, a method for quickly exchanging sharing objects within a conversation is provided in a friend-sharing scenario. On one hand, the initiating user can trigger the display of a "Product Replacement" card on the target conversation's interface through simple input. On the other hand, other users can directly move their desired item to the "Product Replacement" card to quickly complete the product replacement. Through the second user's operation on the card, the card can be easily updated, and the display content of the first display area on the first user's device can also be updated. Therefore, in this embodiment, the two parties, who do not need to socialize, can switch back and forth between social and shopping apps, simplifying user operations.

[0118] In another embodiment of the operation method of this application, the second input includes a first sub-input to move the first object displayed in the card to the target interface;

[0119] In response to the first sub-input, at least one fourth object is displayed in the target interface;

[0120] Among them, the similarity between the first object and the fourth object is greater than the target threshold, and at least one fourth object includes the third object.

[0121] Optionally, before the second user moves the third object to the "Item Replacement" card in the target session's interface, the second user long-presses the first object in the "Item Replacement" card and drags it to the target interface, thereby displaying at least one automatically retrieved fourth object on the target interface.

[0122] Optionally, based on the first object, objects with a similarity greater than a target threshold are retrieved and used as the fourth object.

[0123] For example, the target interface is the shopping cart interface of a shopping app, and similar products are added to the cart based on automatic search. See also... Figure 11 The first user can move "Item 1" (i.e., the first object) from their shopping cart to the target session's interface, displaying the "Replace Item" card 1101. When the second user moves "Item 2" (i.e., the third object) from their shopping cart to the "Replace Item" card, see [link to relevant documentation]. Figure 12 The "Replace Product" card 1201 displays "Product 2", and simultaneously, "Product 1" in the first user's shopping cart is replaced with "Product 2".

[0124] Alternatively, when the first object in the card is replaced by the third object, both the first and third objects can be displayed in the first area.

[0125] For example, see Figure 13 In the first user's shopping cart, "Product 1" and "Product 2" are displayed, along with "Replace Product" option 1301 and "Compare Products" option 1302. If the first user clicks "Replace Product" option 1301, only "Product 2" remains in the shopping cart, and "Product 1" is replaced. If the first user clicks "Compare Products" option 1302, both "Product 1" and "Product 2" remain in the shopping cart, and the first user can open the details pages of the two products respectively.

[0126] In this embodiment, an automatic retrieval method is added to the scenario of sharing with friends. That is, the other user can quickly retrieve similar objects by simply inputting information, avoiding manual retrieval by the other user and simplifying the user operation.

[0127] In another embodiment of the operation method of this application, the first area displays the interface of the first application, and the interface content of the first application includes a first object; the second area displays the interface of the target session of the second application.

[0128] The first application and the second application are different applications.

[0129] In this embodiment, the first area and the second area are used to display different applications, so as to simplify the operation of both users in the application switching scenario.

[0130] For example, a first user opens a first application in a first area and a second application in a second area. Through a simple input method, the interface of the second application displays a card corresponding to the first object in the first application. Furthermore, users of the second application can input the card without switching to the first application on their respective devices.

[0131] Optionally, if the first object of the first application is displayed on the card, and a second input from the second user to the card is obtained, a synchronous update is performed in the first application.

[0132] For example, if the second user's second input on the card is obtained and the full amount of the first object is paid, then the payment for the order related to the first object in the first application is completed.

[0133] For example, if the second user's second input on the card is obtained, group buying is implemented. If the first user and the second user complete their respective payments based on the group buying, then their respective related orders will be paid in their respective first applications.

[0134] In this embodiment, the operation only needs to be completed in one application, and the other application will automatically update the content, without the user having to switch back and forth between the two applications, thus simplifying the user operation.

[0135] In an embodiment of this application, a first user can manually merge the first region and the second region so that the merged region displays the interface of an application.

[0136] In other embodiments of this application, icons are displayed on the desktop interface to represent cards, allowing users to quickly view the relevant status of cards from the desktop icons.

[0137] This application is applied to a user terminal of a first user to perform related operations in response to the input of the first user; however, this application also involves a user terminal of a second user, which performs related operations in response to the input of the second user. It should be noted that, based on the complete technical solution provided by this application, the input made by the second user on the second user's device is also applicable to the input made by the first user on the first user's device. Therefore, the user terminal of the second user in this application is also within the protection scope of this application.

[0138] For example, based on a card displayed in a conversational interface triggered by another user, the first user can make a series of second inputs on the card as described in this application.

[0139] In summary, the purpose of this application is to provide a card interaction method based on a conversational interface, which can be applied in shopping scenarios. The card supports multiple functions such as "payment by others", "merging orders", and "changing items in the shopping cart", realizing quick interaction.

[0140] This application provides at least three application scenarios:

[0141] The first type is based on split-screen, which allows for quick drag-and-drop interaction between shopping apps and chat windows to generate payment channels. This allows others to pay without needing to worry about other information; it can distinguish between various payment modes such as crowdfunding and full payment, enhancing the social fun and practicality of payment for others.

[0142] The second method, based on split-screen, allows for quick drag-and-drop interaction between shopping apps and chat windows, creating group-buying channels where multiple users can drag in their own products, merge them to generate orders, and participate in discount activities such as spending over a certain amount, which is very convenient.

[0143] The third method is based on split-screen, which allows for quick drag-and-drop interaction between the shopping app and the chat window, generating product replacement cards. Users on either side can directly replace products, quickly recommending high-value items.

[0144] The operation method provided in this application can be executed by an operating device. This application uses an operating device executing the operation method as an example to illustrate the operating device provided in this application.

[0145] Figure 14 A block diagram of an operating apparatus according to another embodiment of this application is shown, the apparatus comprising:

[0146] The receiving module 10 is configured to receive a first input from a first user to the first object when the first object is displayed in a first area of ​​the electronic device and the interface of the target session is displayed in a second area of ​​the electronic device.

[0147] Display module 20 is used to display the card corresponding to the first object on the interface of the target session in response to the first input;

[0148] The execution module 30 is used to execute a target operation associated with the first object when a second user inputs a second input to the card, and to update the content displayed in the card based on the target operation;

[0149] The participants in the target session include the first user and the second user.

[0150] Thus, in the embodiments of this application, the interfaces of the first object and the target session are displayed in two areas of the electronic device, respectively. The first user can trigger the display of a card corresponding to the first object on the interface of the target session by making a first input on the first object. Further, the second user participating in the target session makes a second input on the card, triggering a target operation on the first object, such as a payment operation, thereby updating the displayed content on the card based on the target operation. It can be seen that, based on the embodiments of this application, when mentioning the first object in social interactions, both parties only need to perform a quick operation on the card in the session, without having to switch to the interface corresponding to the first object, avoiding back-and-forth switching between interfaces and simplifying user operations.

[0151] Optionally, the display module 20 includes:

[0152] The first display unit is used to display the amount to be paid for the first object in the card;

[0153] Execution module 30 includes:

[0154] The first update unit is used to update the amount to be paid by the first object in the card according to the amount already paid corresponding to the second user and the amount to be paid by the first object when the second user pays the amount to be paid by the second user in the card.

[0155] The second display unit is used to display the information of the second user corresponding to the second input and the amount paid corresponding to the second input on the card.

[0156] Optionally, the number of second users is at least two, and the first update unit includes:

[0157] The sub-unit is used to obtain the total payment amount based on at least two paid amounts that correspond one-to-one with at least two second inputs.

[0158] The update sub-unit is used to update the amount to be paid for the first object in the card based on the total payment amount and the amount to be paid for the first object.

[0159] Optionally, the display module 20 includes:

[0160] The third display unit is used to display the purchase amount of the first object in the card;

[0161] Execution module 30 includes:

[0162] The fourth display unit is used to display the purchase amount of the second object corresponding to the second input on the card when the second user moves the second object to the second input of the card.

[0163] The first acquisition unit is used to merge the purchase amount of the first object and the purchase amount of the second object to obtain the first merged amount.

[0164] The second acquisition unit is used to acquire the second merger amount based on the first merger amount and the content of the first condition, provided that the first merger amount meets the first condition.

[0165] The second update unit is used to update the purchase amount of the first object and the purchase amount of the second object in the card according to the second merged amount.

[0166] Optionally, the display module 20 includes:

[0167] The fifth display unit is used to display the first object in the card;

[0168] Execution module 30 includes:

[0169] The replacement unit is used to replace the first object displayed on the card with the third object when the second user moves the third object to the card as a second input.

[0170] The switching unit is used to switch the first object displayed in the first area to the third object based on the third object displayed in the card;

[0171] Among them, the similarity between the first object and the third object is greater than the target threshold.

[0172] Optionally, the second input includes a first sub-input to move the first object displayed in the card to the target interface;

[0173] In response to the first sub-input, at least one fourth object is displayed in the target interface;

[0174] Among them, the similarity between the first object and the fourth object is greater than the target threshold, and at least one fourth object includes the third object.

[0175] Optionally, the first area displays the interface of the first application, the interface content of the first application including the first object; the second area displays the interface of the target session of the second application.

[0176] The first application and the second application are different applications.

[0177] The operating device in this application embodiment can be an electronic device or a component within an electronic device, such as an integrated circuit or a chip. The electronic device can be a terminal or other devices besides a terminal. For example, the electronic device can be a mobile phone, tablet computer, laptop computer, PDA, in-vehicle electronic device, mobile internet device (MID), augmented reality (AR) / virtual reality (VR) device, robot, wearable device, ultra-mobile personal computer (UMPC), netbook, or personal digital assistant (PDA), etc. It can also be a server, network attached storage (NAS), personal computer (PC), television set (TV), ATM, or self-service machine, etc. This application embodiment does not specifically limit the specific device.

[0178] The operating device in this application embodiment can be a device with an action system. The action system can be an Android action system, an iOS action system, or other possible action systems; this application embodiment does not specifically limit it.

[0179] The operating device provided in this application embodiment can implement the various processes implemented in the above method embodiment, and will not be described again here to avoid repetition.

[0180] Optionally, such as Figure 15As shown, this application embodiment also provides an electronic device 100, including a processor 101, a memory 102, and a program or instructions stored in the memory 102 and executable on the processor 101. When the program or instructions are executed by the processor 101, they implement the various steps of any of the above-described operation method embodiments and achieve the same technical effect. To avoid repetition, they will not be described again here.

[0181] It should be noted that the electronic devices in the embodiments of this application include the mobile electronic devices and non-mobile electronic devices described above.

[0182] Figure 16 A schematic diagram of the hardware structure of an electronic device to implement an embodiment of this application.

[0183] The electronic device 1000 includes, but is not limited to, components such as: radio frequency unit 1001, network module 1002, audio output unit 1003, input unit 1004, sensor 1005, display unit 1006, user input unit 1007, interface unit 1008, memory 1009, and processor 1010.

[0184] Those skilled in the art will understand that the electronic device 1000 may also include a power supply (such as a battery) for supplying power to various components. The power supply may be logically connected to the processor 1010 through a power management system, thereby enabling functions such as managing charging, discharging, and power consumption through the power management system. Figure 16 The electronic device structure shown does not constitute a limitation on the electronic device. The electronic device may include more or fewer components than shown, or combine certain components, or have different component arrangements, which will not be elaborated here.

[0185] The user input unit 1007 is configured to receive a first input from a first user onto the first object when the first object is displayed in a first area of ​​the electronic device and the interface of the target session is displayed in a second area of ​​the electronic device; the display unit 1006 is configured to display a card corresponding to the first object in response to the first input on the interface of the target session; the processor 1010 is configured to execute a target operation associated with the first object when a second user's second input onto the card is received, and to update the content displayed on the card based on the target operation; wherein the participants in the target session include the first user and the second user.

[0186] Thus, in the embodiments of this application, the interfaces of the first object and the target session are displayed in two areas of the electronic device, respectively. The first user can trigger the display of a card corresponding to the first object on the interface of the target session by making a first input on the first object. Further, the second user participating in the target session makes a second input on the card, triggering a target operation on the first object, such as a payment operation, thereby updating the displayed content on the card based on the target operation. It can be seen that, based on the embodiments of this application, when mentioning the first object in social interactions, both parties only need to perform a quick operation on the card in the session, without having to switch to the interface corresponding to the first object, avoiding back-and-forth switching between interfaces and simplifying user operations.

[0187] Optionally, the display unit 1006 is further configured to display the amount to be paid for the first object in the card; the processor 1010 is further configured to, upon receiving a second input from a second user to pay an amount in the card based on the amount to be paid for the first object, update the amount to be paid for the first object in the card based on the amount already paid corresponding to the second input and the amount to be paid for the first object; the display unit 1006 is further configured to display information of the second user corresponding to the second input and the amount already paid corresponding to the second input in the card.

[0188] Optionally, the number of the second users is at least two, and the processor 1010 is further configured to obtain the total payment amount based on at least two paid amounts corresponding to at least two of the second inputs; and update the amount to be paid for the first object in the card based on the total payment amount and the amount to be paid for the first object.

[0189] Optionally, the display unit 1006 is further configured to display the purchase amount of the first object in the card; and, upon receiving a second input from a second user moving the second object to the card, display the purchase amount of the second object corresponding to the second input in the card; the processor 1010 is further configured to merge the purchase amount of the first object and the purchase amount of the second object to obtain a first merged amount; and, if the first merged amount satisfies a first condition, obtain a second merged amount based on the content of the first merged amount and the first condition; and, based on the second merged amount, update the purchase amount of the first object and the purchase amount of the second object in the card respectively.

[0190] Optionally, the display unit 1006 is further configured to display the first object in the card; the processor 1010 is further configured to, upon receiving a second input from a second user to move a third object to the card, replace the first object displayed in the card with the third object; and, based on the third object displayed in the card, switch the first object displayed in the first area to the third object; wherein the similarity between the first object and the third object is greater than a target threshold.

[0191] Optionally, the second input includes a first sub-input to move the first object displayed in the card to a target interface; in response to the first sub-input, at least one fourth object is displayed in the target interface; wherein the similarity between the first object and the fourth object is greater than the target threshold, and the at least one fourth object includes the third object.

[0192] Optionally, the first area displays the interface of the first application, the interface content of the first application including the first object; the second area displays the interface of the target session of the second application; wherein the first application and the second application are different applications.

[0193] In summary, the electronic device 1000 provides a card interaction method based on a conversational interface, which can be applied to shopping scenarios. The card supports multiple functions such as "payment by others", "merging orders", and "changing items in the shopping cart", realizing quick interaction.

[0194] It should be understood that, in this embodiment, the input unit 1004 may include a graphics processing unit (GPU) 10041 and a microphone 10042. The GPU 10041 processes image data of still images or video images obtained by an image capture device (such as a camera) in video image capture mode or image capture mode. The display unit 1006 may include a display panel 10061, which may be configured in the form of a liquid crystal display, an organic light-emitting diode, etc. The user input unit 1007 includes at least one of a touch panel 10071 and other input devices 10072. The touch panel 10071 is also called a touch screen. The touch panel 10071 may include a touch detection device and a touch controller. Other input devices 10072 may include, but are not limited to, physical keyboards, function keys (such as volume control buttons, power buttons, etc.), trackballs, mice, and joysticks, which will not be described in detail here. The memory 1009 can be used to store software programs and various data, including but not limited to applications and motion systems. Processor 1010 may integrate an application processor and a modem processor. The application processor mainly handles the action system, user page, and applications, while the modem processor mainly handles wireless communication. It is understood that the modem processor may also not be integrated into processor 1010.

[0195] The memory 1009 can be used to store software programs and various data. The memory 1009 may primarily include a first storage area for storing programs or instructions and a second storage area for storing data. The first storage area may store the operating system, application programs or instructions required for at least one function (such as sound playback, image playback, etc.). Furthermore, the memory 1009 may include volatile memory or non-volatile memory, or both. The non-volatile memory may be read-only memory (ROM), programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), or flash memory. Volatile memory can be random access memory (RAM), static random access memory (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDRSDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link dynamic random access memory (SLDRAM), and direct memory bus RAM (DRRAM). The memory 1009 in this embodiment includes, but is not limited to, these and any other suitable types of memory.

[0196] The processor 1010 may include one or more processing units; optionally, the processor 1010 integrates an application processor and a modem processor, wherein the application processor mainly handles operations involving the operating system, user interface, and applications, and the modem processor mainly handles wireless communication signals, such as a baseband processor. It is understood that the aforementioned modem processor may also not be integrated into the processor 1010.

[0197] This application also provides a readable storage medium storing a program or instructions. When the program or instructions are executed by a processor, they implement the various processes of the above-described operation method embodiments and achieve the same technical effect. To avoid repetition, they will not be described again here.

[0198] The processor is the processor in the electronic device described in the above embodiments. The readable storage medium includes computer-readable storage media, such as computer read-only memory (ROM), random access memory (RAM), magnetic disk, or optical disk.

[0199] This application embodiment also provides a chip, which includes a processor and a communication interface. The communication interface is coupled to the processor. The processor is used to run programs or instructions to implement the various processes of the above operation method embodiments and can achieve the same technical effect. To avoid repetition, it will not be described again here.

[0200] It should be understood that the chip mentioned in the embodiments of this application may also be referred to as a system-on-a-chip, system chip, chip system, or system-on-a-chip, etc.

[0201] This application provides a computer program product, which is stored in a storage medium and executed by at least one processor to implement the various processes of the above-described operation method embodiments, and can achieve the same technical effect. To avoid repetition, it will not be described again here.

[0202] It should be noted that, in this document, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes that element. Furthermore, it should be noted that the scope of the methods and apparatuses in the embodiments of this application is not limited to performing functions in the order shown or discussed, but may also include performing functions substantially simultaneously or in the reverse order, depending on the functions involved. For example, the described methods may be performed in a different order than described, and various steps may be added, omitted, or combined. Additionally, features described with reference to certain examples may be combined in other examples.

[0203] Through the above description of the embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus necessary general-purpose hardware platforms. Of course, they can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, can be embodied in the form of a computer software product. This computer software product is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) and includes several instructions to cause a terminal (which may be a mobile phone, computer, server, or network device, etc.) to execute the methods described in the various embodiments of this application.

[0204] The embodiments of this application have been described above with reference to the accompanying drawings. However, this application is not limited to the specific embodiments described above. The specific embodiments described above are merely illustrative and not restrictive. Those skilled in the art can make many other forms under the guidance of this application without departing from the spirit and scope of the claims, and all of these forms are within the protection scope of this application.

Claims

1. An operating method, characterized in that, The method includes: When a first object is displayed in a first area of ​​an electronic device and an interface for a target session is displayed in a second area of ​​the electronic device, a first input from a first user to the first object is received. In response to the first input, a card corresponding to the first object is displayed on the interface of the target session; Upon receiving a second input from a second user onto the card, a target operation associated with the first object is executed, and the content displayed on the card is updated based on the target operation; The participants in the target session include the first user and the second user; Displaying the card corresponding to the first object on the interface of the target session includes: The purchase amount of the first object is displayed in the card; Upon receiving a second input from a second user onto the card, the step of executing a target operation associated with the first object and updating the content displayed on the card based on the target operation includes: Upon receiving a second input from a second user moving a second object to the card, the purchase amount of the second object corresponding to the second input is displayed in the card; the purchase amounts of the first object and the second object are merged to obtain a first merged amount; if the first merged amount satisfies a first condition, a second merged amount is obtained based on the first merged amount and the content of the first condition; and the purchase amounts of the first object and the second object are updated in the card according to the second merged amount.

2. The method according to claim 1, characterized in that, Displaying the card corresponding to the first object on the interface of the target session includes: The amount due for payment of the first object is displayed in the card; Upon receiving a second input from a second user onto the card, the step of executing a target operation associated with the first object and updating the content displayed on the card based on the target operation includes: Upon receiving a second user's second input regarding the amount to be paid in the card based on the amount to be paid for the first object, the amount to be paid for the first object is updated in the card based on the amount already paid corresponding to the second input and the amount to be paid for the first object. The card displays the information of the second user corresponding to the second input and the amount paid corresponding to the second input.

3. The method according to claim 2, characterized in that, The number of the second users is at least two. The step of updating the pending payment amount of the first object in the card based on the paid amount corresponding to the second input and the pending payment amount of the first object includes: The total payment amount is obtained based on at least two paid amounts that correspond one-to-one with at least two of the second inputs. Based on the total payment amount and the outstanding payment amount of the first object, update the outstanding payment amount of the first object in the card.

4. The method according to claim 1, characterized in that, The first area displays the interface of the first application, and the interface content of the first application includes the first object; the second area displays the interface of the target session of the second application. The first application and the second application are different applications.

5. An operating device, characterized in that, The device includes: A receiving module is configured to receive a first input from a first user to the first object when the first object is displayed in a first area of ​​the electronic device and the interface of the target session is displayed in a second area of ​​the electronic device. The display module is configured to, in response to the first input, display a card corresponding to the first object on the interface of the target session; wherein, displaying the card corresponding to the first object on the interface of the target session includes: displaying the purchase amount of the first object in the card; An execution module is configured to, upon receiving a second input from a second user onto the card, execute a target operation associated with the first object and update the content displayed on the card based on the target operation; wherein, executing the target operation associated with the first object and updating the content displayed on the card based on the target operation upon receiving a second input from a second user onto the card includes: upon receiving a second input from a second user moving a second object to the card, displaying the purchase amount of the second object corresponding to the second input on the card; merging the purchase amount of the first object and the purchase amount of the second object to obtain a first merged amount; if the first merged amount satisfies a first condition, obtaining a second merged amount based on the first merged amount and the content of the first condition; and updating the purchase amount of the first object and the purchase amount of the second object on the card respectively based on the second merged amount; The participants in the target session include the first user and the second user.

6. An electronic device, characterized in that, It includes a processor and a memory, the memory storing a program or instructions that can run on the processor, the program or instructions being executed by the processor to implement the steps of the operating method as described in any one of claims 1 to 4.

7. A readable storage medium, characterized in that, The readable storage medium stores a program or instructions that, when executed by a processor, implement the steps of the operation method as described in any one of claims 1 to 4.