Method, electronic device, and system for data interaction during live streaming
A live streaming interaction method comprises obtaining, by an initiator end from a platform, a static resource corresponding to an interaction tool; loading a corresponding interface by the initiator end; and sending, by the initiator end, an interaction message to a receiver end based on an interaction parameter set by an initiator-end user.
1 . A method for data interaction during live streaming, comprising:
obtaining, by an initiator end apparatus from a third device that manages an interaction service, a static resource set, wherein the static resource set is customized according to an interaction requirement;
displaying, by an initiator end apparatus, a second interface based on a first static resource that is in the static resource set and that corresponds to a first tool in response to receiving a selection operation of a first user on the first tool on a first interface, wherein the first interface is a live streaming interface including options of one or more tools, wherein the second interface is for setting, by the first user, an interaction parameter within the first tool, wherein the interaction parameter represents at least one of information edited by the first user or an option selected by the first user, wherein the first static resource indicates a first interaction service process, and wherein the second interface comprises one or more first edit boxes or one or more first options;
displaying, by the initiator end apparatus, a third interface based on the setting on the interaction parameter on the second interface, wherein the third interface comprises a first button that is to confirm the setting on the interaction parameter;
receiving, by the initiator end apparatus from the first user, a setting on the interaction parameter on the second interface, wherein the setting comprises an editing operation or a selection operation; and
sending, by the initiator end apparatus and in response to receiving an operation on the first button, an interaction message to a receiver end apparatus based on the setting on the interaction parameter,
wherein the interaction message comprises the interaction parameter.
2 . The method of claim 1 , further comprising storing, by the initiator end apparatus, the static resource set.
3 . The method of claim 1 , further comprising:
obtaining, by the receiver end apparatus, the static resource set from the third device based on the interaction message; and
displaying, by the receiver end apparatus, a fourth interface based on a second static resource in the static resource set and the interaction parameter, wherein the fourth interface comprises information corresponding to the interaction parameter.
4 . The method of claim 3 , wherein the interaction message further comprises an identifier of the static resource set, wherein obtaining the static resource set from the third device is based on the identifier, and wherein the static resource set includes one or more static resources indicating one or more interaction service processes.
5 . The method of claim 3 , further comprising:
receiving, by the receiver end apparatus from a second user, a second setting on a feedback parameter on the fourth interface;
displaying, by the receiver end apparatus, a fifth interface based on the second setting, wherein the fifth interface comprises a second button for confirming the second setting on the feedback parameter;
sending, by the receiver end apparatus, a feedback message to the initiator end apparatus in response to receiving a first operation performed on the second button, wherein the feedback message comprises the feedback parameter; and
displaying, by the initiator end apparatus, a sixth interface based on the feedback message.
6 . The method of claim 5 , wherein the fourth interface comprises at least one of one or more second edit boxes or one or more second options, and wherein receiving the second setting on the feedback parameter on the fourth interface comprises receiving, by the receiver end apparatus from the second user, at least one of one or more editing operations of the second user on the one or more second edit boxes on the fourth interface or one or more selection operations on the one or more second options on the fourth interface.
7 . The method of claim 1 , wherein displaying the second interface comprises:
parsing, by the initiator end apparatus, the first static resource corresponding to the first tool to obtain the first interaction service process indicated by the first static resource; and
running, by the initiator end apparatus, the first tool based on the first interaction service process indicated by the first static resource to display the second interface.
8 . The method of claim 1 , wherein receiving the setting on the interaction parameter on the second interface comprises receiving, by the initiator end apparatus from the first user, at least one of one or more editing operations on the one or more first edit boxes on the second interface or one or more selection operations on the one or more first options on the second interface.
9 . The method of claim 1 , wherein the first static resource is a predefined invoked static resource in the static resource set.
10 . The method of claim 1 , wherein sending the interaction message to the receiver end apparatus comprises sending, by the initiator end apparatus using a fourth device, the interaction message to the receiver end apparatus based on the setting on the interaction parameter on the second interface, and wherein the fourth device is for managing a live streaming service.
11 . The method of claim 1 , wherein the editing operation comprises at least one of editing: a question, a bullet comment, a comment, a message, a shopping link, or a download link.
12 . The method of claim 1 , wherein the selection operation comprises at least one of selecting: an emoji option, a card option, an animation option, a gift option, or an action option.
13 . A method for data interaction during live streaming, comprising:
displaying, by an initiator end apparatus of a first user, a second interface based on a first static resource that is in a static resource set and that corresponds to a first tool in response to receiving a selection operation of the first user on the first tool on a first interface, wherein the first interface is a live streaming interface including options of one or more tools, wherein the second interface is for setting, by the first user, an interaction parameter within the first tool, wherein the static resource set is customized according to an interaction requirement, and wherein the first static resource indicates a first interaction service process;
receiving, by the initiator end apparatus from the first user, a setting on the interaction parameter on the second interface, wherein the interaction parameter represents at least one of information edited by the first user or an option selected by the first user;
sending, by the initiator end apparatus, an interaction message to a receiver end apparatus of a second user during the live streaming based on the setting on the interaction parameter, wherein the interaction message comprises the interaction parameter;
receiving, by the initiator end apparatus in response to the interaction message, a feedback message from the receiver end apparatus, wherein the feedback message comprises a feedback parameter set by the second user at the receiver end apparatus in response to the interaction parameter; and
displaying, by the initiator end apparatus, a sixth interface based on the feedback message.
14 . The method of claim 13 , wherein sending, by the initiator end apparatus, the interaction message to the receiver end apparatus based on the setting on the interaction parameter comprises:
displaying, by the initiator end apparatus, a third interface based on the setting, wherein the third interface comprises a first button for confirming the setting on the interaction parameter; and
sending, by the initiator end apparatus, the interaction message to the receiver end apparatus in response to receiving an operation on the first button.
15 . The method of claim 13 , further comprising obtaining, by the initiator end apparatus, the static resource set from a third device that manages an interaction service, wherein the static resource set is customized according to the interaction requirement.
16 . The method of claim 13 , wherein displaying, by the initiator end apparatus, the second interface based on the first static resource that is in the static resource set and that corresponds to the first tool comprises:
parsing, by the initiator end apparatus, the first static resource corresponding to the first tool to obtain the first interaction service process indicated by the first static resource; and
running, by the initiator end apparatus, the first tool based on the first interaction service process indicated by the first static resource to display the second interface.
17 . The method of claim 13 , wherein the second interface comprises at least one of one or more first edit boxes or one or more first options, and wherein receiving, by the initiator end apparatus, the setting on the interaction parameter on the second interface further comprises receiving, by the initiator end apparatus, at least one of an editing operation of the first user on the one or more first edit boxes on the second interface or at least one selection operation on the one or more first options on the second interface.
18 . A method for data interaction during live streaming, comprising:
receiving, by a receiver end apparatus of a second user, an interaction message from an initiator end apparatus of a first user during a live streaming interaction between the initiator end apparatus and the receiver end apparatus, wherein the interaction message comprises an interaction parameter representing at least one of information edited by the first user or an option selected by the first user on a second interface of the initiator end apparatus;
obtaining, by the receiver end apparatus, a static resource set based on the interaction message from a third device that manages an interaction service, wherein the static resource set is customized according to an interaction requirement, and wherein the static resource set indicates one or more interaction service processes; and
displaying, by the receiver end apparatus, a fourth interface based on a second static resource in the static resource set and based on the interaction parameter,
wherein the fourth interface comprises information corresponding to the interaction parameter and one or more edit boxes or one or more options used by the second user to set a feedback parameter for sending a feedback message to the initiator end apparatus.
19 . A system for data interaction during live streaming, comprising:
an initiator end apparatus of a first user configured to:
obtain a static resource set from a third device that manages an interaction service, wherein the static resource set is customized according to an interaction requirement;
display a first interface comprising options of one or more tools during a live streaming session;
display a second interface based on a first static resource that is in the static resource set and that corresponds to a first tool in response to receiving a selection operation of a first user on the first tool on the first interface, wherein the second interface is for setting, by the first user, an interaction parameter within the first tool, wherein the interaction parameter represents at least one of information edited by the first user or an option selected by the first user, wherein the first static resource indicates a first interaction service process, and wherein the second interface comprises one or more first edit boxes or one or more first options;
display a third interface based on the setting on the interaction parameter on the second interface, wherein the third interface comprises a first button that is to confirm the setting on the interaction parameter;
receive a setting on the interaction parameter on the second interface, wherein the setting comprises an editing operation or a selection operation; and
send, in response to receiving an operation on the first button, an interaction message to a receiver end apparatus based on the setting on the interaction parameter, wherein the interaction message comprises the interaction parameter and an identifier of the static resource set; and
the receiver end apparatus of a second user, wherein the receiver end apparatus is configured to:
receive the interaction message from the initiator end apparatus;
obtain the static resource set based on the interaction message from the third device based on the identifier; and
display a fourth interface based on a second static resource in the static resource set and based on the interaction parameter, wherein the fourth interface comprises information corresponding to the interaction parameter and one or more second edit boxes or one or more second options used by the second user to set a feedback parameter for sending a feedback message to the initiator end apparatus.
20 . The system of claim 19 , wherein the system further comprises the third device configured to manage the interaction service, wherein the initiator end apparatus is further configured to obtain the static resource set from the third device, and wherein the receiver end apparatus is further configured to obtain the static resource set from the third device.