Interactive method, device, electronic device and storage medium
By receiving and displaying virtual space data, the problem of poor user interaction flexibility in virtual space is solved, real-time updating and efficient display of activity information is achieved, and user interaction experience is improved.
Patent Information
- Application Number
- CN202211663614.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-12-23
- Publication Date
- 2024-10-25
- Estimated Expiration
- 2042-12-23
AI Technical Summary
Existing interactive applications have poor user interaction flexibility in virtual space, resulting in low information display efficiency and difficulty for users to obtain complete and intuitive activity information.
By receiving the virtual space data sent by the server, the terminal's display device is used to display the activity information of the target activity, including activity progress, participation information and results, and the video stream data of the user account is updated in real time to enrich interaction methods and improve information display efficiency.
It achieves accurate expression and real-time presentation of activity information in the virtual space, improves the user's interactive atmosphere and information acquisition efficiency, and enhances the flexibility of interaction.
Smart Images

Figure CN115883906B_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of computer technology, and in particular to an interactive method, device, electronic device and storage medium. Background Art
[0002] Currently, interactive applications can enable interaction between users through virtual space.
[0003] However, currently, the interaction between users only relies on information transmission through user terminals, which is limited. For example, when an event is held in a virtual space, users can participate in the event through interactive operations while watching the virtual space, but the relevant information about the event that they can obtain from the virtual space is limited.
[0004] It can be seen that the current interactive solutions have poor flexibility, resulting in low efficiency in displaying activity information. Summary of the invention
[0005] The present disclosure provides an interactive method, device, electronic device and storage medium to at least solve the problem that the interactive scheme in the related art is less flexible and leads to lower efficiency of information display. The technical solution of the present disclosure is as follows:
[0006] According to a first aspect of an embodiment of the present disclosure, an interactive method is provided, the method comprising:
[0007] receiving virtual space data sent by a server, the virtual space data including video stream data collected by a first terminal for a first user account, the first terminal having an associated display device, the display device being used to display activity information of a target activity, the activity information of the target activity being related to an activity progress of the target activity, and for any video frame in the video stream data, the video frame including image information of the display device;
[0008] The virtual space data is displayed in a display interface.
[0009] In one embodiment, after displaying the virtual space data in the display interface, the method further includes:
[0010] In response to an operation for triggering display of an activity page, the activity page of the target activity is displayed in a target display area of the display interface, and the activity page includes activity participation information corresponding to the second user account.
[0011] In one embodiment, the activity information of the target activity includes at least one of first activity progress information of the target activity, activity participation prompt information, and activity results;
[0012] The activity page also includes second activity progress information of the target activity. When the target activity is terminated, the activity page also includes an activity participation result corresponding to the second user account.
[0013] In one embodiment, the activity page also includes activity interaction information of the second user account, and the method further includes:
[0014] In response to an operation for triggering the activity interaction information, displaying a user account to be interacted with in the activity page;
[0015] In response to an operation for selecting a target user account to be interacted with, determining the target user account to be interacted with from the user accounts to be interacted with, and sending interaction information to the target user account to be interacted with, the interaction information being used to instruct the target user account to be interacted with to perform an interaction operation with the second user account, wherein the interaction operation is used to trigger an update operation for activity resource data of the second user account;
[0016] In response to an operation for participating in the target activity, activity participation information is acquired according to the activity resource data.
[0017] According to a second aspect of an embodiment of the present disclosure, there is provided an interactive method, the method comprising:
[0018] During the target activity, generating activity information corresponding to the target activity according to the activity progress of the target activity;
[0019] Sending activity information corresponding to the target activity to a first user account, so that a first terminal corresponding to the first user account displays the activity information corresponding to the target activity through an associated display device, and collecting video stream data corresponding to the first user account, wherein for any video frame in the video stream data, the video frame includes image information of the display device;
[0020] Receiving the video stream data sent by the first user account;
[0021] Generate corresponding virtual space data according to the video stream data, and send virtual space information including the virtual space data to the second user account, wherein the virtual space information is used to instruct a second terminal corresponding to the second user account to display the virtual space data in a display interface.
[0022] In one embodiment, during the target activity, generating activity information corresponding to the target activity according to the activity progress of the target activity includes:
[0023] Monitor the time interval between the current time and the start time of the target activity;
[0024] When the interval duration is equal to or less than a preset duration, first activity information of the target activity is generated, wherein the first activity information includes the interval duration.
[0025] In one of the embodiments, during the target activity, generating activity information corresponding to the target activity according to the activity progress of the target activity further includes:
[0026] When the current moment reaches the start time of the target activity, generating activity animation data according to the plurality of second user accounts participating in the target activity, wherein each of the second user accounts is scrolled and displayed in the activity animation data;
[0027] Second activity information of the target activity is generated according to the activity animation data.
[0028] In one of the embodiments, during the target activity, generating activity information corresponding to the target activity according to the activity progress of the target activity further includes:
[0029] When the current time reaches the end time of the target activity, obtaining the activity result;
[0030] The third activity information of the target activity is generated according to the activity result.
[0031] In one embodiment, the method further comprises:
[0032] Obtaining a time delay for sending the virtual space data;
[0033] When the current moment reaches the end moment of the target activity, for any second user account, the activity participation result corresponding to the second user account is sent to the second user account after the delay in sending, so that the second terminal corresponding to the second user account displays the activity page of the target activity in the target display area of the display interface, and the activity page includes the activity participation result corresponding to the second user account.
[0034] In one embodiment, before generating the third activity information of the target activity according to the activity result, the method further includes:
[0035] During the pre-starting process of the target activity, determining a preset number of target user accounts from a plurality of the second user accounts participating in the target activity;
[0036] Determining that the activity participation result of the target user account is a successful participation, and determining that the activity participation result of the second user account other than the target user account is a failed participation;
[0037] The activity result is generated according to the preset number of target user accounts.
[0038] In one embodiment, the target user account includes a first target user account and a second target user account, and determining a preset number of target user accounts from a plurality of the second user accounts participating in the target activity includes:
[0039] determining a first preset number of the first target user accounts from the second user accounts according to the activity resource data of each of the second user accounts;
[0040] A second preset number of the second target user accounts is determined from third user accounts, where the third user accounts are accounts in the second user accounts other than the first target user account.
[0041] According to a third aspect of an embodiment of the present disclosure, there is provided an interactive method, the method comprising:
[0042] Obtain activity information corresponding to the target activity from the server in real time;
[0043] Displaying, by means of a display device associated with the first terminal, activity information of the target activity, wherein the activity information of the target activity is associated with an activity progress of the target activity;
[0044] Collecting video stream data corresponding to the first user account, for any video frame in the video stream data, the video frame including image information of the display device;
[0045] Video stream information including the video stream data is sent to the server, where the video stream information is used to instruct the server to send corresponding virtual space data to the second user account according to the video stream data.
[0046] According to a fourth aspect of an embodiment of the present disclosure, there is provided an interactive device, including:
[0047] a receiving unit configured to receive virtual space data sent by a server, the virtual space data including video stream data collected by a first terminal for a first user account, the first terminal having an associated display device, the display device being used to display activity information of a target activity, the activity information of the target activity being related to an activity progress of the target activity, and for any video frame in the video stream data, the video frame including image information of the display device;
[0048] The first display unit is configured to display the virtual space data in a display interface.
[0049] In one embodiment, the device further comprises:
[0050] The second display unit is configured to execute, in response to an operation for triggering display of an activity page, display an activity page of the target activity in a target display area of the display interface, wherein the activity page includes activity participation information corresponding to the second user account.
[0051] In one embodiment, the activity information of the target activity includes at least one of first activity progress information of the target activity, activity participation prompt information, and activity results;
[0052] The activity page also includes second activity progress information of the target activity. When the target activity is terminated, the activity page also includes an activity participation result corresponding to the second user account.
[0053] In one embodiment, the activity page also includes activity interaction information of the second user account, and the device further includes:
[0054] A third display unit is configured to execute, in response to an operation for triggering the activity interaction information, displaying a user account to be interacted with in the activity page;
[0055] a sending unit, configured to execute, in response to an operation for selecting a target user account to be interacted with, determine the target user account to be interacted with from the user accounts to be interacted with, and send interaction information to the target user account to be interacted with, wherein the interaction information is used to instruct the target user account to be interacted with to perform an interaction operation with the second user account, wherein the interaction operation is used to trigger an update operation for the activity resource data of the second user account;
[0056] The acquiring unit is configured to execute, in response to an operation for participating in the target activity, acquiring activity participation information according to the activity resource data.
[0057] According to a fifth aspect of an embodiment of the present disclosure, there is provided an interactive device, including:
[0058] A first generating unit is configured to generate activity information corresponding to the target activity according to the activity progress of the target activity during the target activity.
[0059] A first sending unit is configured to send the activity information corresponding to the target activity to the first user account, so that the first terminal corresponding to the first user account displays the activity information corresponding to the target activity through an associated display device, and collects the video stream data corresponding to the first user account, and for any video frame in the video stream data, the video frame includes the image information of the display device;
[0060] a receiving unit, configured to receive the video stream data sent by the first user account;
[0061] The second sending unit is configured to generate corresponding virtual space data according to the video stream data, and send virtual space information including the virtual space data to the second user account, wherein the virtual space information is used to instruct the second terminal corresponding to the second user account to display the virtual space data in a display interface.
[0062] In one embodiment, the first generating unit includes:
[0063] A monitoring subunit is configured to monitor the interval between the current time and the start time of the target activity;
[0064] The first generating subunit is configured to generate first activity information of the target activity when the interval duration is equal to or less than a preset duration, wherein the first activity information includes the interval duration.
[0065] In one embodiment, the first generating unit further includes:
[0066] A second generating subunit is configured to generate activity animation data according to a plurality of second user accounts participating in the target activity when the current moment reaches the start time of the target activity, wherein each of the second user accounts is scrolled and displayed in the activity animation data;
[0067] The third generating subunit is configured to generate second activity information of the target activity according to the activity animation data.
[0068] In one embodiment, the first generating unit further includes:
[0069] An acquisition subunit is configured to acquire an activity result when the current time reaches the end time of the target activity;
[0070] The fourth generating subunit is configured to generate third activity information of the target activity according to the activity result.
[0071] In one embodiment, the device further comprises:
[0072] An acquisition unit is configured to execute a delay in acquiring the virtual space data;
[0073] The third sending unit is configured to execute, when the current moment reaches the end moment of the target activity, sending the activity participation result corresponding to the second user account to any second user account after the delay in sending, so that the second terminal corresponding to the second user account displays the activity page of the target activity in the target display area of the display interface, and the activity page includes the activity participation result corresponding to the second user account.
[0074] In one embodiment, the device further comprises:
[0075] A first determining unit is configured to determine a preset number of target user accounts from a plurality of second user accounts participating in the target activity during a pre-startup process of the target activity;
[0076] A second determining unit is configured to determine that the activity participation result of the target user account is a successful participation, and determine that the activity participation result of the second user account other than the target user account is a failed participation;
[0077] The second generating unit is configured to generate the activity result according to the preset number of target user accounts.
[0078] In one embodiment, the target user account includes a first target user account and a second target user account, and the first determining unit includes:
[0079] A first determining subunit is configured to determine a first preset number of the first target user accounts from the second user accounts according to the activity resource data of each of the second user accounts;
[0080] The second determining subunit is configured to determine a second preset number of the second target user accounts from a third user account, where the third user account is an account in the second user account other than the first target user account.
[0081] According to a sixth aspect of an embodiment of the present disclosure, there is provided an interactive device, including:
[0082] An acquisition unit is configured to acquire activity information corresponding to a target activity from a server in real time;
[0083] a display unit configured to execute, through a display device associated with the first terminal, displaying activity information of the target activity, wherein the activity information of the target activity is associated with an activity progress of the target activity;
[0084] A collection unit is configured to collect video stream data corresponding to the first user account, and for any video frame in the video stream data, the video frame includes image information of the display device;
[0085] The sending unit is configured to send video stream information including the video stream data to the server, wherein the video stream information is used to instruct the server to send corresponding virtual space data to the second user account according to the video stream data.
[0086] According to a seventh aspect of an embodiment of the present disclosure, an interactive system is provided, the system comprising a first terminal, a display device associated with the first terminal, a second terminal and a server, wherein:
[0087] The server is configured to generate activity information corresponding to the target activity according to the activity progress of the target activity during the target activity; and send the activity information corresponding to the target activity to the first terminal corresponding to the first user account;
[0088] The first terminal is used to obtain activity information corresponding to the target activity from the server in real time; display the activity information of the target activity through the display device, wherein the activity information of the target activity is associated with the activity progress of the target activity; collect video stream data corresponding to the first user account, for any video frame in the video stream data, the video frame includes image information of the display device, and send the video stream data to the server;
[0089] The server is further configured to receive the video stream data sent by the first terminal corresponding to the first user account; generate corresponding virtual space data according to the video stream data, and send the virtual space data to the second terminal corresponding to the second user account;
[0090] The second terminal is used to receive the virtual space data sent by the server and display the virtual space data in a display interface.
[0091] According to an eighth aspect of an embodiment of the present disclosure, an electronic device is provided, comprising: a processor; and a memory for storing instructions executable by the processor; wherein the processor is configured to execute the instructions to implement any one of the interactive methods provided in the first aspect, the second aspect, or the third aspect of the embodiment of the present disclosure.
[0092] According to the ninth aspect of the embodiments of the present disclosure, a computer-readable storage medium is provided. When the instructions in the computer-readable storage medium are executed by a processor of an electronic device, the electronic device is enabled to execute any one of the interactive methods provided in the first aspect, the second aspect or the third aspect of the embodiments of the present disclosure.
[0093] According to the tenth aspect of an embodiment of the present disclosure, a computer program product is provided, wherein the computer program product includes instructions, and when the instructions are executed by a processor of an electronic device, the electronic device is able to perform any one of the interactive methods provided in the first aspect, the second aspect, or the third aspect.
[0094] The technical solution provided by the embodiments of the present disclosure brings at least the following beneficial effects:
[0095] The interactive method, device, electronic device and storage medium provided by the embodiments of the present disclosure can receive virtual space data sent by a server. The virtual space data includes video stream data collected by a first terminal for a first user account. The first terminal has an associated display device. The display device is used to display activity information of a target activity. The activity information of the target activity is related to the activity progress of the target activity. For any video frame in the video stream data, the video frame includes image information of the display device, and the virtual space data is displayed in the display interface. In this way, the activity information of the target activity is obtained and displayed in real time on the first user account side through the associated display device, and the second user account side can obtain the activity information in real time from the image information of the display device in the virtual space data, enriching the interaction mode, improving the flexibility of interaction and the efficiency of information display.
[0096] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS
[0097] The drawings herein are incorporated into and constitute a part of the specification, illustrate embodiments consistent with the present disclosure, and together with the description are used to explain the principles of the present disclosure, and do not constitute improper limitations on the present disclosure.
[0098] Figure 1 The invention is a flow chart of an interactive method according to an exemplary embodiment.
[0099] Figure 2 The invention is a flow chart of an interactive method according to an exemplary embodiment.
[0100] Figures 3a to 3d It is a schematic diagram showing an interactive method according to an exemplary embodiment.
[0101] Figures 4a to 4cIt is a schematic diagram showing an interactive method according to an exemplary embodiment.
[0102] Figure 5 The invention is a flow chart of an interactive method according to an exemplary embodiment.
[0103] Figure 6 The invention is a flow chart of an interactive method according to an exemplary embodiment.
[0104] Figure 7a to Figure 7b It is a schematic diagram showing an interactive method according to an exemplary embodiment.
[0105] Figure 8 It is a schematic diagram showing an interactive method according to an exemplary embodiment.
[0106] Fig. 9 It is a block diagram of an interactive device according to an exemplary embodiment.
[0107] Fig.10 It is a block diagram of an interactive device according to an exemplary embodiment.
[0108] Fig.11 It is a block diagram of an interactive device according to an exemplary embodiment.
[0109] Fig.12 It is a block diagram of an electronic device according to an exemplary embodiment. DETAILED DESCRIPTION
[0110] In order to enable ordinary persons in the art to better understand the technical solutions of the present disclosure, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below in conjunction with the accompanying drawings.
[0111] It should be noted that the terms "first", "second", etc. in the specification and claims of the present disclosure and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present disclosure described herein can be implemented in an order other than those illustrated or described herein. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present disclosure. Instead, they are merely examples of devices and methods consistent with some aspects of the present disclosure as detailed in the appended claims.
[0112] It should also be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for display, data for analysis, etc.) involved in this disclosure are all information and data authorized by the user or fully authorized by all parties.
[0113] Activities emphasize the creation of an interactive atmosphere, especially those held on special holidays, such as New Year's Eve. During the activity, the intuitive communication and perception of interactive activity information is very important. At present, the activity information of activities held in virtual space can only be conveyed to users through the front and back terminals as the two ends of information, and the activity information cannot be fully and intuitively expressed and presented, which will affect the user's on-site perception during the activity, thereby reducing the user's enthusiasm for participation.
[0114] It can be seen that the current interaction schemes between users have poor flexibility and the efficiency of users obtaining activity information is low.
[0115] The disclosed embodiments provide an interactive method that can accurately express and present activity information at each stage in real time, create a good interactive atmosphere, and build a high-quality interactive scene. This can improve the flexibility of interaction and the efficiency of users in obtaining information.
[0116] Figure 1 This is a flow chart of an interactive method according to an exemplary embodiment. This embodiment uses the method applied to a terminal as an example. It can be understood that the method can also be applied to a server, or to a system including a terminal and a server, and is implemented through the interaction between the terminal and the server. In this embodiment, the method includes the following steps:
[0117] In step 102, activity information corresponding to the target activity is obtained from the server in real time.
[0118] In the disclosed embodiment, the target activity may include an activity in which users can participate and interact, and the activity information corresponding to the target activity may include activity-related information and user-related interactive information, etc. The activity information of the target activity may include activity information corresponding to the target activity at various stages of the activity, for example: activity information corresponding to before the target activity is started, activity information corresponding to when the target activity is started, activity information corresponding to the target activity during the start-up process, and activity information corresponding to when the target activity is terminated. In the disclosed embodiment, no specific limitation is made to the target activity, for example: the target activity may be any interactive activity, including but not limited to: guessing activities, lottery activities, question-and-answer interactive activities, game competition activities, and other activities.
[0119] Since the activity information changes with the progress of the activity, the activity information corresponding to the target activity can be obtained from the server in real time. For example, the activity information corresponding to the target activity can be obtained from the server by sending a request to the server, or the server can also push the activity information of the target activity to the first terminal in real time, that is, the first terminal can obtain the activity information of the target activity by receiving the information pushed by the server. The method of obtaining the activity information corresponding to the target activity from the server is not specifically limited in the embodiments of the present disclosure.
[0120] In step 104, activity information of the target activity is displayed through a display device associated with the first terminal, where the activity information of the target activity is associated with the activity progress of the target activity.
[0121] In the embodiment of the present disclosure, the first terminal is a terminal for logging into the first user account, which has an associated display device. The first user account may be a user account associated with the virtual space, and the first user account has operation permissions for opening and closing the virtual space. The display device is not specifically limited in the embodiment of the present disclosure, and any device with a display interface capable of displaying data is applicable to the embodiment of the present disclosure.
[0122] After obtaining the activity information of the target activity from the server, the activity information of the target activity can be displayed through the display device associated with the first terminal. For example, the first terminal can transmit the activity information of the target activity to the display device through a wired or wireless method for corresponding display; or the server can directly send the activity information to the display device associated with the first terminal, so that the activity information can be displayed on the display device accordingly.
[0123] In step 106, the video stream data corresponding to the first user account is collected, and for any video frame in the video stream data, the video frame includes image information of the display device;
[0124] In step 108, video stream information including video stream data is sent to the server, where the video stream information is used to instruct the server to send corresponding virtual space data to the second user account according to the video stream data.
[0125] In an embodiment of the present disclosure, the first user account side collects video stream data through the first terminal, and the display device associated with the first terminal can be set facing the first terminal, so that the video stream data collected by the first terminal includes image information of the display device, and the display device displays the activity information of the target activity in real time, that is, the image information of the display device in the video stream data includes the activity information of the target activity.
[0126] After collecting the video stream data, the first terminal can send the video stream data to the server. For example, the video stream information can be sent to the second user account, and the video stream information includes the video stream data. The server can generate virtual space data based on the video stream data and send the virtual space data to the second user account, and the second user account is the user account that views the virtual space of the first user account. After the second terminal logged into the second user account receives the virtual space data, the virtual space data can be rendered and displayed in the display interface, and the user can intuitively see the activity information of the target activity from the display interface, and then learn about the activity progress and user interaction.
[0127] Based on the interactive information provided by the embodiment of the present disclosure, the activity information corresponding to the target activity can be obtained from the server in real time, and the activity information of the target activity can be displayed through the display device associated with the first terminal, and the activity information of the target activity is associated with the activity progress of the target activity. The video stream data corresponding to the first user account is collected, and for any video frame in the video stream data, the video frame includes the image information of the display device, and the video stream data is sent to the server, so that the server sends the corresponding virtual space data to the second user account according to the video stream data. In this way, the activity information of the target activity can be obtained and displayed in real time through the associated display device on the first user account side, and the second user account side can obtain the activity information in real time from the image information of the display device in the virtual space data, which enriches the interaction mode and improves the flexibility of interaction and the efficiency of information display.
[0128] Figure 2 This is a flow chart of an interactive method according to an exemplary embodiment. This embodiment uses the method applied to a terminal as an example. It can be understood that the method can also be applied to a server, or to a system including a terminal and a server, and is implemented through the interaction between the terminal and the server. In this embodiment, the method includes the following steps:
[0129] In step 202, virtual space data sent by the server is received, the virtual space data including video stream data collected by the first terminal for the first user account, the first terminal has an associated display device, the display device is used to display activity information of the target activity, the activity information of the target activity is related to the activity progress of the target activity, and for any video frame in the video stream data, the video frame includes image information of the display device;
[0130] In step 204, the virtual space data is displayed in a display interface.
[0131] In the embodiment of the present disclosure, the process of the first terminal collecting video stream data and the server constructing virtual space data based on the video stream data can refer to the relevant description of the above embodiment, and the embodiment of the present disclosure will not be repeated here. For example, the virtual space data can be obtained from the server by sending a request to the server, or the server can also push the virtual space data in real time. The embodiment of the present disclosure does not specifically limit the method of obtaining virtual space data from the server.
[0132] After acquiring the virtual space data, the virtual space data can be rendered and displayed in the display interface. Since the video stream data includes image information of the display device, and the display device displays the activity information of the target activity in real time, the user can intuitively see the activity information of the target activity from the display interface, and then learn about the activity progress and user interaction.
[0133] Based on the interactive method provided by the embodiment of the present disclosure, virtual space data sent by the server can be received. The virtual space data includes video stream data collected by the first terminal for the first user account. The first terminal has an associated display device, and the display device is used to display the activity information of the target activity. The activity information of the target activity is related to the activity progress of the target activity. For any video frame in the video stream data, the video frame includes the image information of the display device, and the virtual space data is displayed in the display interface. In this way, the activity information of the target activity is obtained and displayed in real time on the first user account side through the associated display device, and the second user account side can obtain the activity information in real time from the image information of the display device in the virtual space data, enriching the interaction mode, improving the flexibility of interaction and the efficiency of information display.
[0134] In an exemplary embodiment, in step 204, after displaying the virtual space data in the display interface, the interaction method may further include:
[0135] In response to an operation for triggering display of an activity page, an activity page of a target activity is displayed in a target display area of a display interface, and the activity page includes activity participation information corresponding to a second user account.
[0136] In the disclosed embodiments, users may generate corresponding activity participation information during their participation in the target activity. The activity participation information may be information generated based on interactive operations or participation operations for the target activity. For example, taking the target activity as a lottery activity, users may obtain corresponding lottery codes during their participation. That is, the activity participation information may include the user's lottery code.
[0137] The user can trigger the terminal to display the activity page, so as to display the activity page of the target activity in the target display area of the terminal display interface, and the activity page may include the activity participation information corresponding to the second user account. Among them, the target display area may be a pre-set display area, and the present embodiment of the disclosure does not specifically limit the position of the target display area in the display interface. The present embodiment of the disclosure also does not specifically limit the operation for triggering the display of the activity page, for example: it may include a trigger operation for the entry control of the activity page, a long press / double-click operation for a specified area or position, and the like.
[0138] Based on the interactive method provided by the embodiment of the present disclosure, the second user account can obtain its own activity participation information through the activity page displayed in the display interface, which can enrich the interaction mode and improve the flexibility of interaction and the efficiency of information display.
[0139] In an exemplary embodiment, the activity information of the target activity includes at least one of the first activity progress information of the target activity, activity participation reminder information, and activity results; the activity page also includes the second activity progress information of the target activity. When the target activity is terminated, the activity page also includes the activity participation results corresponding to the second user account.
[0140] In the embodiment of the present disclosure, the activity information of the target activity may include at least one of the first activity progress information of the target activity, the activity participation prompt information, and the activity result, wherein the first activity progress information is used to indicate the current activity progress or the activity stage of the target activity. Figure 3a , Figure 3b as well as Figure 3c As shown, the first activity progress information may include: information used to represent the countdown to the start of the activity, or information used to represent the start of the activity, or information used to represent the announcement of the activity results, etc. The activity participation prompt information may include information used to prompt the user how to participate in the activity, for example: Figure 3a , Figure 3b as well as Figure 3c As shown, the activity participation method is to invite users to help in order to obtain the corresponding activity resource data, and then redeem the lottery code through the activity resource data. The participation interaction prompt information may include a prompt picture, which shows the entry location for inviting users to help, so as to prompt users to invite users at the corresponding entry location on the activity page to participate in the activity. The activity result includes the activity result of the target activity, for example: Figure 3c As shown, the activity results include the winning user information.
[0141] The activity page may also include second activity progress information of the target activity. The second activity progress information is used to indicate the current activity progress or the stage of the activity of the target activity. Figure 4a , Figure 4b as well as Figure 4c As shown, the second activity progress information may include: information used to represent the countdown to the start of the activity, or information used to represent the start of the activity, or information used to represent the announcement of the activity results, etc.
[0142] When the target activity is terminated, the activity page may also include the activity participation result corresponding to the second user account. The activity participation result corresponding to the second user account is used to represent the user's participation result for the target activity, for example: Figure 4c As shown, the activity participation results may include winning and not winning.
[0143] Based on the interactive method provided by the embodiment of the present disclosure, the second user account can obtain its own activity participation information and activity information of the current target activity through the display interface, which can enrich the interaction mode and improve the flexibility of interaction and the efficiency of information display.
[0144] In an exemplary embodiment, the activity page may further include activity interaction information of the second user account, and the above method may further include:
[0145] In step 502, in response to the operation for triggering the activity interaction information, the user account to be interacted is displayed in the activity page;
[0146] In step 504, in response to an operation for selecting a target user account to be interacted with, a target user account to be interacted with is determined from the user accounts to be interacted with, and interaction information is sent to the target user account to be interacted with, where the interaction information is used to instruct the target user account to be interacted with to perform an interaction operation with the second user account, wherein the interaction operation is used to trigger an update operation for the activity resource data of the second user account;
[0147] In step 506 , in response to an operation for participating in a target activity, activity participation information is acquired according to the activity resource data.
[0148] In the embodiment of the present disclosure, the method for users to participate in the target activity may be to invite users to interact. The activity page corresponding to the second user account may include activity interaction information. By triggering the activity interaction information, the user account to be interacted with may be displayed in the activity page. The user account to be interacted with may be a user account to be invited to interact with the second user account. For example, the user account to be interacted with may be obtained from the contact list of the second user account. Figure 4a As shown, the activity page corresponding to the second user account may include an invitation user portal (ie, activity interaction information), and by triggering the operation of the invitation user portal, the user accounts to be interacted with may be displayed in the activity page.
[0149] The user can determine the target user account to be interacted with by selecting the user account to be interacted with, and after selecting the target user account to be interacted with, send interaction information to the target user account to be interacted with, and invite it to interact through the interaction information. The method of sending the interaction information is not specifically limited in the embodiment of the present disclosure. The target user account to be interacted with can interact with the second user account based on the interaction information. After the target user account to be interacted with completes the interaction operation with the second user account, the activity resource data of the second user account will be updated according to the preset update method, for example: each time an interaction operation is completed, the preset amount of activity resource data will be increased.
[0150] The second user account can continue to participate in the target activity through the activity resource data, that is, the activity resource data can be used to exchange the activity participation information. For example, by triggering the corresponding exchange entry, and then triggering the operation of exchanging the lottery code, the lottery code is obtained.
[0151] Based on the interactive method provided in the embodiment of the present disclosure, the second user account can obtain activity resource data by interacting with the Yo Love user account, and obtain activity participation information based on the activity resource data, which can enrich the interaction method and improve the flexibility of interaction and the efficiency of information display.
[0152] Figure 6 This is a flow chart of an interactive method according to an exemplary embodiment. This embodiment uses the method applied to a terminal as an example. It can be understood that the method can also be applied to a server, or to a system including a terminal and a server, and is implemented through the interaction between the terminal and the server. In this embodiment, the method includes the following steps:
[0153] In step 602, during the target activity, activity information corresponding to the target activity is generated according to the activity progress of the target activity.
[0154] In the disclosed embodiment, during the process of the target activity, the activity progress of the target activity can be monitored in real time, and based on the activity progress of the target activity, the activity information of the target activity can be generated. Exemplarily, the activity progress of the target activity can be determined based on the time interval between the activity time of each stage of the target activity and the current time, and the activity information of the target activity can be generated based on the activity progress of the target activity and the user's interactive data.
[0155] In step 604, activity information corresponding to the target activity is sent to the first user account, so that the first terminal corresponding to the first user account displays the activity information corresponding to the target activity through an associated display device, and collects video stream data corresponding to the first user account. For any video frame in the video stream data, the video frame includes image information of the display device.
[0156] In the disclosed embodiment, after the activity information of the target activity is generated, the activity information corresponding to the target activity can be sent to the first user account, so that after the first terminal logged in to the first user account receives the activity information of the target activity, the activity information of the target activity can be displayed through an associated display device, and at the same time, the video stream data corresponding to the first user account is collected and sent to the server. In this way, any video frame in the video stream data includes the image information of the display device, and the image information of the display device includes the activity information of the target activity.
[0157] In step 606, receiving video stream data sent by the first user account;
[0158] In step 608, corresponding virtual space data is generated according to the video stream data, and virtual space information including the virtual space data is sent to the second user account, where the virtual space information is used to instruct the second terminal corresponding to the second user account to display the virtual space data in the display interface.
[0159] In the embodiment of the present disclosure, after receiving the video stream data sent by the first user account, virtual space data can be generated according to the video stream data and the account information of the first user account, and the virtual space data can be sent to the second user account (exemplarily, virtual space information including the virtual space data can be sent to the second user account), so that after the second terminal logged into the second user account obtains the virtual space data, it can render and display the virtual space data in the display interface. Since the video stream data includes image information of the display device, and the display device displays the activity information of the target activity in real time, the user can intuitively see the activity information of the target activity from the display interface, and then learn about the activity progress and user interaction.
[0160] Based on the interactive method provided by the embodiment of the present disclosure, the server can generate activity information corresponding to the target activity according to the activity progress of the target activity during the target activity, and send the activity information corresponding to the target activity to the first user account, so that the first terminal corresponding to the first user account displays the activity information corresponding to the target activity through the associated display device, and collects the video stream data corresponding to the first user account, and for any video frame in the video stream data, the video frame includes the image information of the display device. After receiving the video stream data sent by the first user account, the corresponding virtual space data can be generated according to the video stream data, and the virtual space data can be sent to the second user account, so that the second terminal corresponding to the second user account displays the virtual space data in the display interface. In this way, the activity information of the target activity is displayed in real time on the first user account side through the associated display device, and the second user account side can obtain the activity information in real time from the image information of the display device in the virtual space data, enriching the interaction mode, and improving the flexibility of interaction and the efficiency of information display.
[0161] In an exemplary embodiment, in step 602, during the process of the target activity, activity information corresponding to the target activity is generated according to the activity progress of the target activity, which can be specifically implemented by the following steps:
[0162] Monitor the time interval between the current time and the start time of the target activity;
[0163] When the interval duration is equal to or less than the preset duration, first activity information of the target activity is generated, and the first activity information includes the interval duration.
[0164] In the disclosed embodiment, each stage of the target activity corresponds to the start time of each stage. The current activity stage can be determined by monitoring the interval time from each stage of the target activity in real time. Before the target activity is started, the interval time from the current moment to the start moment of the target activity can be monitored. When the interval time is less than or equal to the preset time, the first activity information of the target activity can be generated based on the interval time, and the first activity information includes the interval time. In this way, when the display device associated with the first terminal displays the first activity information, the displayed information includes the interval time, so that the countdown to the start of the target activity can be displayed on the display device.
[0165] Based on the interactive method provided by the embodiment of the present disclosure, the countdown of the target activity is displayed in real time on the first user account side through the associated display device, and the second user account side can observe the countdown of the target activity in real time from the image information of the display device in the virtual space data, thereby enriching the interaction mode and improving the flexibility of interaction and the efficiency of information display.
[0166] In an exemplary embodiment, during the target activity, generating activity information corresponding to the target activity according to the activity progress of the target activity may further include the following steps:
[0167] When the current time reaches the start time of the target activity, generating activity animation data according to the multiple second user accounts participating in the target activity, and scrollingly displaying each second user account in the activity animation data;
[0168] Second activity information of the target activity is generated according to the activity animation data.
[0169] In the embodiment of the present disclosure, when the current moment is the start moment of the target activity, multiple second user accounts participating in the activity can be obtained, and activity animation data can be generated based on the multiple second user accounts participating in the target activity, and each second user account in the activity animation data is displayed in sequence or randomly. After the activity animation data is generated, the second activity information of the target activity can be generated based on the activity animation data, and the second activity information can be sent to the first user account so that the second activity information can be displayed on the display device associated with the first terminal logged in to the first user account, that is, the activity animation data is displayed.
[0170] Based on the interactive method provided by the embodiment of the present disclosure, after the target activity is started and before the activity results are displayed, the activity animation data can be displayed in real time on the first user account side through the associated display device, and the second user account side can watch the activity animation data in real time from the image information of the display device in the virtual space data, thereby enriching the interaction mode and improving the flexibility of interaction and the efficiency of information display.
[0171] In an exemplary embodiment, during the target activity, generating activity information corresponding to the target activity according to the activity progress of the target activity also includes:
[0172] When the current time reaches the end time of the target activity, obtain the activity result;
[0173] The third activity information of the target activity is generated according to the activity result.
[0174] In an embodiment of the present disclosure, when the current moment is the termination moment of the target activity, the activity result of the target activity can be obtained, and third activity information of the target activity can be generated based on the activity result, and the third activity information can be sent to the first user account so that the third activity information can be displayed on a display device associated with the first terminal that logs in to the first user account, that is, the activity result of the target activity is displayed.
[0175] Based on the interactive method provided by the embodiment of the present disclosure, after the target activity is terminated, the activity results can be displayed in real time on the first user account side through the associated display device, and the second user account side can obtain the activity results of the target activity in real time from the image information of the display device in the virtual space data, thereby enriching the interaction mode and improving the flexibility of interaction and the efficiency of information display.
[0176] In an exemplary embodiment, the above interaction method may further include:
[0177] Obtain the delay in sending virtual space data;
[0178] When the current moment reaches the end time of the target activity, for any second user account, the activity participation result corresponding to the second user account is sent to the second user account after a delay, so that the second terminal corresponding to the second user account displays the activity page of the target activity in the target display area of the display interface, and the activity page includes the activity participation result corresponding to the second user account.
[0179] In the disclosed embodiment, since there is a delay between the first terminal and the second terminal, that is, the video stream data collected by the first terminal will not be sent to the second terminal until after the delay. Therefore, at the termination moment of the target activity, although the activity result of the target activity is displayed in the display device associated with the first terminal, the video stream data displaying the activity result of the target activity will not be sent to the second terminal until after the delay. Therefore, in order to ensure the synchronization of information, the activity participation result of the second user account is also sent to the second terminal for display after the delay, wherein the activity participation result of the second user account is used to characterize whether the second user account successfully participates in the target activity.
[0180] Exemplarily, the delivery delay of the virtual space data can be obtained. In the embodiment of the present disclosure, no specific limitation is made on the method of obtaining the delivery delay of the virtual space data. For example, it can be obtained based on historical information inference or detection. When the current moment is the end moment of the target activity, the timing can be started, and after the timing reaches the delivery delay, the activity participation result corresponding to the second user account is sent to the second user account. Then, when the second user account receives the virtual space data for publishing the activity results, it receives the activity participation result corresponding to the second user account, and the activity participation result corresponding to the second user account can be displayed on the activity page.
[0181] Based on the interactive method provided by the embodiment of the present disclosure, after the target activity is terminated, the activity participation results can be sent to the second user account after a delay, so as to ensure the synchronization of the activity participation results and the announcement of the activity results, enrich the interaction mode, and improve the flexibility of interaction and the efficiency of information display.
[0182] Prior to an exemplary embodiment, before generating the third activity information of the target activity according to the activity result, the method may further include:
[0183] During the pre-startup process of the target activity, determining a preset number of target user accounts from a plurality of second user accounts participating in the target activity;
[0184] Determining the activity participation result of the target user account as a successful participation, and determining the activity participation result of a second user account other than the target user account as a failed participation;
[0185] Generate activity results based on a preset number of target user accounts.
[0186] In the disclosed embodiment, the server can perform a pre-start process before each activity starts by means of task polling, and generate activity results during the pre-start process. For example, a preset number of target user accounts can be randomly determined from multiple second user accounts participating in the target activity, and the activity participation results of the preset number of target user accounts are determined to be successful participation, and the activity participation results of the remaining second user accounts are determined to be failed participation. Based on the preset number of target user accounts, the corresponding activity results are generated. The preset number can be a preset number of user accounts, and the specific value can be determined by those skilled in the art as needed.
[0187] In this way, before the target activity is started, the activity results are determined based on multiple second user accounts participating in the target activity. The first user account side can review the activity results before the activity is started, and if the review fails, trigger the operation of regenerating the activity results, and the server can regenerate the service results. Exemplarily, when the target user account contains sensitive information (for example, the avatar or nickname contains sensitive content), it can be determined that the activity result review fails, and the target user account that fails the review can be added with a sensitive tag, and a preset number of target user accounts are re-determined from the user accounts without sensitive tags in the second user accounts, and the activity results are generated based on the target user accounts.
[0188] Based on the interactive method provided by the embodiment of the present disclosure, the activity results can be generated before the target activity is started, so as to reserve sufficient review time for the first user account, thereby ensuring the information security of the activity results, enriching the interaction methods, and improving the flexibility of interaction and the efficiency of information display.
[0189] In an exemplary embodiment, the target user account includes a first target user account and a second target user account, and determining a preset number of target user accounts from a plurality of second user accounts participating in the target activity includes:
[0190] Determining a first preset number of first target user accounts from the second user accounts according to the activity resource data of each second user account;
[0191] A second preset number of second target user accounts is determined from the third user accounts, where the third user accounts are accounts in the second user accounts excluding the first target user account.
[0192] In the embodiment of the present disclosure, the user can obtain activity resource data by inviting users to interact, and the server can determine a first preset number of first target user accounts from the second user accounts based on the activity resource data of each second user account. Figure 7a and Figure 7bAs shown, taking the first preset number as A as an example, the second user accounts whose activity resource data are ranked in the top A positions among the second user accounts can be determined as the first target user accounts, or A second user accounts whose activity resource data are ranked in the top N positions can be randomly determined as the first target user accounts, and for each first target user account, one activity participation information can be randomly selected from the activity participation information corresponding to each first target user account (in the embodiment of the present disclosure, the activity participation information can be a lottery code) as the activity participation information of successful activity participation.
[0193] The user accounts other than the first target user account in the second user account can be used as the third user account, and a second preset number of second target user accounts can be determined from the third user account, and the second preset number can be the difference between the preset number and the first preset number. For example, the activity participation information of each second user account can be stored in the storage shard according to the last digit. For example: if the last digit is from 0 to 9, 10 storage shards can be included, which are used to store the activity participation information with the last digits from 0 to 9 respectively. A specified number of activity participation information can be randomly selected from each storage shard as candidate information, and the second user account corresponding to the candidate information can be used as a candidate user account. After deduplication of the candidate user account, removal of the first target user account, and risk control filtering, a second preset number of second target user accounts are randomly selected from the remaining candidate user accounts. Among them, risk control filtering is to filter each user account based on pre-set risk control filtering rules to filter out user accounts that are not easy to participate in the target activity, wherein the risk control filtering rules are pre-set rules, and the embodiments of the present disclosure do not make specific limitations on this. For example: risk control filtering rules may include filtering banned users, filtering users whose number of complaints exceeds a threshold within a specified time period, filtering users who have performed illegal operations within a specified time period, etc.
[0194] The first target user account and the second target user account may constitute a target user account. In one example, the target user account may also have an associated target user account. When determining the target user account, the user account that invites the target user account to participate in the target activity may be determined as its associated target user account, and then the activity result information may be assembled based on the target user account and the associated target user account, and the activity result information may be written into the activity information library for retrieval and review. After the review is passed, when the target activity is terminated, the activity result is generated based on the activity result information, sent to the display device on the first user account side for display, and the activity participation result is sent to the second user account based on the activity result information after a delay in sending.
[0195] In an exemplary embodiment, after the activity results and activity participation results are issued, the resource issuance process can be triggered. Exemplarily, risk control filtering can be performed based on the account information of the target user account and the associated target user account, and the resource data issuance platform can be called to issue resource data to the remaining target user accounts and the associated target user accounts, and the resource data issuance information can be recorded in the resource data issuance database.
[0196] After the target activity is completed or during the activity, the embodiment of the present disclosure may further generate fourth activity information based on the user interaction data in the target activity, and send the fourth activity information to the first terminal of the first user account, so as to display the fourth activity information on the display device associated with the first terminal, that is, to display the user interaction data. For example, reference may be made to Figure 3d shown.
[0197] Reference Figure 8 As shown, the interactive method provided by the embodiment of the present disclosure combs the nodes of the interactive behavior and presents the information, combines the activity process with the user operation to communicate and adapt the real-time interactive information to strengthen the interactive atmosphere and optimize the information presentation. By expanding the interactive information planning and presentation carrier, adding display devices in the virtual space interaction process, increasing the interactive information presentation scene, and completing the interactive information expression link. From the first user account to initiate the interaction-the second user account to participate-the end of the activity-the activity results, the presented link information is fully expressed. Through the visualization of the interactive process, taking the target activity as a lottery as an example, the lottery process, number plate screening and other processes are visualized through the display device, so that the user can truly feel the process of revealing the results. The activity results are expressed through the display device, still taking the target activity as a lottery as an example, the activity results are announced in combination with the interactive nodes and the corresponding scene elements, and the multi-terminal information is communicated in real time to complete the point communication of the results. The multi-dimensional interactive information is presented through the display device, and the user interactive information of the entire event is multi-dimensionally integrated, and the high cognitive dimension is extracted to clearly express the horizontal interactive information, and the interactive information is updated and presented in real time.
[0198] The disclosed embodiment takes the target activity as a lottery activity as an example. The server automatically triggers the lottery process after each activity starts through task polling. Each activity maintains a support list, and A winning users are randomly selected from the TopN list for each activity. The remaining winning users are randomly selected from the database. Since it is necessary to filter the winning users and the users who fail the risk control, a redundant method is adopted. First, x (much larger than the preset number) users are selected from the database. After the filtering logic is executed, (preset number-A) users are selected from the remaining qualified list as the final winning users, and the winning list is written into the database, and the lottery is completed.
[0199] The winner list will send a message to notify relevant personnel to review the winner list to prevent sensitive information from being leaked. If the review fails, the retry process can be manually triggered in the background, and the unqualified users can be added to the blacklist and the lottery process can be re-executed. On the first user account side, the user can simulate the action of clicking the lottery on the display device in the virtual space. The server aligns the virtual space data stream at the moment the lottery starts, and sends the winning notification signal to the client after a delay.
[0200] The interactive method provided by the embodiment of the present disclosure expands the interactive information transmission node of the virtual space, adds a display device as a carrier in the virtual space, carries the interactive information of each stage of the target activity, and realizes the multi-terminal linkage of the interactive information of the virtual space.
[0201] It should be understood that although Figure 1-Figure 8 The steps in the flowchart are shown in sequence as indicated by the arrows, but these steps are not necessarily executed in the order indicated by the arrows. Unless otherwise specified in this document, there is no strict order restriction for the execution of these steps, and these steps can be executed in other orders. Moreover, Figure 1-Figure 8 At least part of the steps may include multiple steps or multiple stages. These steps or stages are not necessarily performed at the same time, but can be performed at different times. The execution order of these steps or stages is not necessarily sequential, but can be performed in turn or alternately with other steps or at least part of the steps or stages in other steps.
[0202] It can be understood that the same / similar parts between the various embodiments of the above method in this specification can refer to each other, and each embodiment focuses on the differences from other embodiments. For related points, please refer to the description of other method embodiments.
[0203] Fig. 9 is a block diagram of an interactive device according to an exemplary embodiment, referring to Fig. 9 , the device includes a receiving unit 910 and a first display unit 920.
[0204] The receiving unit 910 is configured to receive virtual space data sent by the server, the virtual space data including video stream data collected by the first terminal for the first user account, the first terminal having an associated display device, the display device being used to display activity information of a target activity, the activity information of the target activity being related to the activity progress of the target activity, and for any video frame in the video stream data, the video frame including image information of the display device;
[0205] The first display unit 920 is configured to display the virtual space data in a display interface.
[0206] In one embodiment, the device further comprises:
[0207] The second display unit is configured to execute, in response to an operation for triggering display of an activity page, display an activity page of the target activity in a target display area of the display interface, wherein the activity page includes activity participation information corresponding to the second user account.
[0208] In one embodiment, the activity information of the target activity includes at least one of first activity progress information of the target activity, activity participation prompt information, and activity results;
[0209] The activity page also includes second activity progress information of the target activity. When the target activity is terminated, the activity page also includes an activity participation result corresponding to the second user account.
[0210] In one embodiment, the activity page also includes activity interaction information of the second user account, and the device further includes:
[0211] A third display unit is configured to execute, in response to an operation for triggering the activity interaction information, displaying a user account to be interacted with in the activity page;
[0212] a sending unit, configured to execute, in response to an operation for selecting a target user account to be interacted with, determine the target user account to be interacted with from the user accounts to be interacted with, and send interaction information to the target user account to be interacted with, wherein the interaction information is used to instruct the target user account to be interacted with to perform an interaction operation with the second user account, wherein the interaction operation is used to trigger an update operation for the activity resource data of the second user account;
[0213] The acquiring unit is configured to execute, in response to an operation for participating in the target activity, acquiring activity participation information according to the activity resource data.
[0214] Fig.10 is a block diagram of an interactive device according to an exemplary embodiment, referring to Fig.10 The device includes a first generating unit 1010, a first sending unit 1020, a receiving unit 1030 and a second sending unit 1040.
[0215] The first generating unit 1010 is configured to generate activity information corresponding to the target activity according to the activity progress of the target activity during the target activity.
[0216] The first sending unit 1020 is configured to send the activity information corresponding to the target activity to the first user account, so that the first terminal corresponding to the first user account displays the activity information corresponding to the target activity through an associated display device, and collects the video stream data corresponding to the first user account, and for any video frame in the video stream data, the video frame includes the image information of the display device;
[0217] The receiving unit 1030 is configured to receive the video stream data sent by the first user account;
[0218] The second sending unit 1040 is configured to generate corresponding virtual space data according to the video stream data, and send virtual space information including the virtual space data to the second user account, wherein the virtual space information is used to instruct the second terminal corresponding to the second user account to display the virtual space data in a display interface.
[0219] In one embodiment, the first generating unit 1010 includes:
[0220] A monitoring subunit is configured to monitor the interval between the current time and the start time of the target activity;
[0221] The first generating subunit is configured to generate first activity information of the target activity when the interval duration is equal to or less than a preset duration, wherein the first activity information includes the interval duration.
[0222] In one embodiment, the first generating unit 1010 further includes:
[0223] A second generating subunit is configured to generate activity animation data according to a plurality of second user accounts participating in the target activity when the current moment reaches the start time of the target activity, wherein each of the second user accounts is scrolled and displayed in the activity animation data;
[0224] The third generating subunit is configured to generate second activity information of the target activity according to the activity animation data.
[0225] In one embodiment, the first generating unit 1010 further includes:
[0226] An acquisition subunit is configured to acquire an activity result when the current time reaches the end time of the target activity;
[0227] The fourth generating subunit is configured to generate third activity information of the target activity according to the activity result.
[0228] In one embodiment, the device further comprises:
[0229] An acquisition unit is configured to execute a delay in acquiring the virtual space data;
[0230] The third sending unit is configured to execute, when the current moment reaches the end moment of the target activity, sending the activity participation result corresponding to the second user account to any second user account after the delay in sending, so that the second terminal corresponding to the second user account displays the activity page of the target activity in the target display area of the display interface, and the activity page includes the activity participation result corresponding to the second user account.
[0231] In one embodiment, the device further comprises:
[0232] A first determining unit is configured to determine a preset number of target user accounts from a plurality of second user accounts participating in the target activity during a pre-startup process of the target activity;
[0233] A second determining unit is configured to determine that the activity participation result of the target user account is a successful participation, and determine that the activity participation result of the second user account other than the target user account is a failed participation;
[0234] The second generating unit is configured to generate the activity result according to the preset number of target user accounts.
[0235] In one embodiment, the target user account includes a first target user account and a second target user account, and the first determining unit includes:
[0236] A first determining subunit is configured to determine a first preset number of the first target user accounts from the second user accounts according to the activity resource data of each of the second user accounts;
[0237] The second determining subunit is configured to determine a second preset number of the second target user accounts from a third user account, where the third user account is an account in the second user account other than the first target user account.
[0238] Fig.11 is a block diagram of an interactive device according to an exemplary embodiment, referring to Fig.11 The device includes an acquisition unit 1110, a display unit 1120, a collection unit 1130 and a sending unit 1140.
[0239] The acquisition unit 1110 is configured to acquire activity information corresponding to the target activity from the server in real time;
[0240] A display unit 1120 is configured to execute, through a display device associated with the first terminal, displaying activity information of the target activity, where the activity information of the target activity is associated with an activity progress of the target activity;
[0241] The collecting unit 1130 is configured to collect video stream data corresponding to the first user account, and for any video frame in the video stream data, the video frame includes image information of the display device;
[0242] The sending unit 1140 is configured to execute sending video stream information including the video stream data to the server, where the video stream information is used to instruct the server to send corresponding virtual space data to the second user account according to the video stream data.
[0243] Regarding the device in the above embodiment, the specific manner in which each module performs operations has been described in detail in the embodiment of the method, and will not be elaborated here.
[0244] The present disclosure also provides an interactive system, the system comprising a first terminal, a display device associated with the first terminal, a second terminal and a server, wherein:
[0245] The server is configured to generate activity information corresponding to the target activity according to the activity progress of the target activity during the target activity; and send the activity information corresponding to the target activity to the first terminal corresponding to the first user account;
[0246] The first terminal is used to obtain activity information corresponding to the target activity from the server in real time; display the activity information of the target activity through the display device, wherein the activity information of the target activity is associated with the activity progress of the target activity; collect video stream data corresponding to the first user account, for any video frame in the video stream data, the video frame includes image information of the display device, and send the video stream data to the server;
[0247] The server is further configured to receive the video stream data sent by the first terminal corresponding to the first user account; generate corresponding virtual space data according to the video stream data, and send the virtual space data to the second terminal corresponding to the second user account;
[0248] The second terminal is used to receive the virtual space data sent by the server and display the virtual space data in a display interface.
[0249] Fig.121 is a block diagram of an electronic device 1200 for an interactive method according to an exemplary embodiment. For example, the electronic device 1200 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, etc.
[0250] Reference Fig.12 , the electronic device 1200 may include one or more of the following components: a processing component 1202 , a memory 1204 , a power component 1206 , a multimedia component 1208 , an audio component 1210 , an input / output (I / O) interface 1212 , a sensor component 1214 , and a communication component 1212 .
[0251] The processing component 1202 generally controls the overall operation of the electronic device 1200, such as operations associated with display, phone calls, data communications, camera operations, and recording operations. The processing component 1202 may include one or more processors 1220 to execute instructions to complete all or part of the steps of the above-mentioned method. In addition, the processing component 1202 may include one or more modules to facilitate the interaction between the processing component 1202 and other components. For example, the processing component 1202 may include a multimedia module to facilitate the interaction between the multimedia component 1208 and the processing component 1202.
[0252] The memory 1204 is configured to store various types of data to support operations on the electronic device 1200. Examples of such data include instructions for any application or method operating on the electronic device 1200, contact data, phone book data, messages, pictures, videos, etc. The memory 1204 may be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as a static random access memory (SRAM), an electrically erasable programmable read-only memory (EEPROM), an erasable programmable read-only memory (EPROM), a programmable read-only memory (PROM), a read-only memory (ROM), a magnetic memory, a flash memory, a magnetic disk, an optical disk, or a graphene memory.
[0253] The power supply component 1206 provides power to the various components of the electronic device 1200. The power supply component 1206 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to the electronic device 1200.
[0254] The multimedia component 1208 includes a screen that provides an output interface between the electronic device 1200 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundaries of the touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 1208 includes a front camera and / or a rear camera. When the electronic device 1200 is in an operating mode, such as a shooting mode or a video mode, the front camera and / or the rear camera may receive external multimedia data. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
[0255] The audio component 1212 is configured to output and / or input audio signals. For example, the audio component 1212 includes a microphone (MIC), and when the electronic device 1200 is in an operating mode, such as a call mode, a recording mode, and a voice recognition mode, the microphone is configured to receive an external audio signal. The received audio signal can be further stored in the memory 1204 or sent via the communication component 1212. In some embodiments, the audio component 1212 also includes a speaker for outputting audio signals.
[0256] I / O interface 1212 provides an interface between processing component 1202 and peripheral interface modules, such as keyboards, click wheels, buttons, etc. These buttons may include but are not limited to: a home button, a volume button, a start button, and a lock button.
[0257] The sensor assembly 1214 includes one or more sensors for providing various aspects of status assessment for the electronic device 1200. For example, the sensor assembly 1214 can detect the open / closed state of the electronic device 1200, the relative positioning of components, such as the display and keypad of the electronic device 1200, and the sensor assembly 1214 can also detect changes in the position of the electronic device 1200 or components of the electronic device 1200, the presence or absence of user contact with the electronic device 1200, the orientation or acceleration / deceleration of the device 1200, and the temperature change of the electronic device 1200. The sensor assembly 1214 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact. The sensor assembly 1214 may also include an optical sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 1214 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
[0258] The communication component 1212 is configured to facilitate wired or wireless communication between the electronic device 1200 and other devices. The electronic device 1200 can access a wireless network based on a communication standard, such as WiFi, a carrier network (such as 2G, 3G, 4G or 5G), or a combination thereof. In an exemplary embodiment, the communication component 1212 receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 1212 also includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology and other technologies.
[0259] In an exemplary embodiment, the electronic device 1200 may be implemented by one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic components to perform the above methods.
[0260] In an exemplary embodiment, a computer-readable storage medium including instructions is also provided, such as a memory 1204 including instructions, and the above instructions can be executed by the processor 1220 of the electronic device 1200 to perform the above method. For example, the computer-readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, etc.
[0261] In an exemplary embodiment, a computer program product is further provided. The computer program product includes instructions. The instructions can be executed by the processor 1220 of the electronic device 1200 to complete the above method.
[0262] It should be noted that the above-mentioned devices, electronic devices, computer-readable storage media, computer program products, etc. may also include other implementation methods according to the description of the method embodiments. The specific implementation methods can refer to the description of the relevant method embodiments, which will not be described one by one here.
[0263] Those skilled in the art will readily appreciate other embodiments of the present disclosure after considering the specification and practicing the invention disclosed herein. The present disclosure is intended to cover any variations, uses or adaptations of the present disclosure that follow the general principles of the present disclosure and include common knowledge or customary techniques in the art that are not disclosed in the present disclosure. The description and examples are to be considered exemplary only, and the true scope and spirit of the present disclosure are indicated by the claims.
[0264] It should be understood that the present disclosure is not limited to the exact structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.
Claims
1. An interactive method, characterized in that: The method comprises: receiving virtual space data sent by a server, the virtual space data including video stream data collected by a first terminal for a first user account, the first terminal having an associated display device, the display device being arranged facing the first terminal, the display device being used to display activity information of a target activity, the activity information of the target activity being related to the activity progress of the target activity, and for any video frame in the video stream data, the video frame including image information of the display device; The virtual space data is displayed in a display interface.
2. The method according to claim 1, characterized in that After displaying the virtual space data in the display interface, the method further includes: In response to an operation for triggering display of an activity page, the activity page of the target activity is displayed in a target display area of the display interface, and the activity page includes activity participation information corresponding to the second user account.
3. The method according to claim 2, characterized in that The activity information of the target activity includes at least one of first activity progress information of the target activity, activity participation prompt information, and activity results; The activity page also includes second activity progress information of the target activity. When the target activity is terminated, the activity page also includes an activity participation result corresponding to the second user account.
4. The method according to claim 2 or 3, characterized in that: The activity page also includes activity interaction information of the second user account, and the method further includes: In response to an operation for triggering the activity interaction information, displaying a user account to be interacted with in the activity page; In response to an operation for selecting a target user account to be interacted with, determining the target user account to be interacted with from the user accounts to be interacted with, and sending interaction information to the target user account to be interacted with, the interaction information being used to instruct the target user account to be interacted with to perform an interaction operation with the second user account, wherein the interaction operation is used to trigger an update operation for activity resource data of the second user account; In response to an operation for participating in the target activity, activity participation information is acquired according to the activity resource data.
5. An interactive method, characterized in that, The method comprises: During the target activity, generating activity information corresponding to the target activity according to the activity progress of the target activity; Sending activity information corresponding to the target activity to a first user account, so that a first terminal corresponding to the first user account displays the activity information corresponding to the target activity through an associated display device, and collecting video stream data corresponding to the first user account, for any video frame in the video stream data, the video frame includes image information of the display device, and the display device is set facing the first terminal; Receiving the video stream data sent by the first user account; Generate corresponding virtual space data according to the video stream data, and send virtual space information including the virtual space data to the second user account, wherein the virtual space information is used to instruct a second terminal corresponding to the second user account to display the virtual space data in a display interface.
6. The method according to claim 5, characterized in that During the target activity, generating activity information corresponding to the target activity according to the activity progress of the target activity includes: Monitor the time interval between the current time and the start time of the target activity; When the interval duration is equal to or less than a preset duration, first activity information of the target activity is generated, wherein the first activity information includes the interval duration.
7. The method according to claim 6, characterized in that During the target activity, generating activity information corresponding to the target activity according to the activity progress of the target activity, further comprising: When the current moment reaches the start time of the target activity, generating activity animation data according to the plurality of second user accounts participating in the target activity, wherein each of the second user accounts is scrolled and displayed in the activity animation data; Second activity information of the target activity is generated according to the activity animation data.
8. The method according to claim 6, characterized in that During the target activity, generating activity information corresponding to the target activity according to the activity progress of the target activity, further comprising: When the current time reaches the end time of the target activity, obtaining the activity result; The third activity information of the target activity is generated according to the activity result.
9. The method according to claim 8, characterized in that The method further comprises: Obtaining a time delay for sending the virtual space data; When the current moment reaches the end moment of the target activity, for any second user account, the activity participation result corresponding to the second user account is sent to the second user account after the delay in sending, so that the second terminal corresponding to the second user account displays the activity page of the target activity in the target display area of the display interface, and the activity page includes the activity participation result corresponding to the second user account.
10. The method according to claim 9, characterized in that Before generating the third activity information of the target activity according to the activity result, the method further includes: During the pre-starting process of the target activity, determining a preset number of target user accounts from a plurality of the second user accounts participating in the target activity; Determining that the activity participation result of the target user account is a successful participation, and determining that the activity participation result of the second user account other than the target user account is a failed participation; The activity result is generated according to the preset number of target user accounts.
11. The method according to claim 10, characterized in that The target user account includes a first target user account and a second target user account, and determining a preset number of target user accounts from a plurality of the second user accounts participating in the target activity includes: determining a first preset number of the first target user accounts from the second user accounts according to the activity resource data of each of the second user accounts; A second preset number of the second target user accounts is determined from third user accounts, where the third user accounts are accounts in the second user accounts other than the first target user account.
12. An interactive method, characterized in that, The method comprises: Obtain activity information corresponding to the target activity from the server in real time; Displaying activity information of the target activity through a display device associated with the first terminal, where the activity information of the target activity is associated with the activity progress of the target activity, and the display device is set facing the first terminal; Collecting video stream data corresponding to the first user account, for any video frame in the video stream data, the video frame including image information of the display device; Video stream information including the video stream data is sent to the server, where the video stream information is used to instruct the server to send corresponding virtual space data to the second user account according to the video stream data.
13. An interactive device, characterized in that: The device comprises: a receiving unit configured to receive virtual space data sent by a server, the virtual space data including video stream data collected by a first terminal for a first user account, the first terminal having an associated display device, the display device being arranged facing the first terminal, the display device being used to display activity information of a target activity, the activity information of the target activity being related to an activity progress of the target activity, and for any video frame in the video stream data, the video frame including image information of the display device; The first display unit is configured to display the virtual space data in a display interface.
14. An interactive device, characterized in that: The device comprises: A first generating unit is configured to generate activity information corresponding to the target activity according to the activity progress of the target activity during the target activity. A first sending unit is configured to send the activity information corresponding to the target activity to the first user account, so that the first terminal corresponding to the first user account displays the activity information corresponding to the target activity through an associated display device, and collects video stream data corresponding to the first user account, for any video frame in the video stream data, the video frame includes image information of the display device, and the display device is set facing the first terminal; a receiving unit, configured to receive the video stream data sent by the first user account; The second sending unit is configured to generate corresponding virtual space data according to the video stream data, and send virtual space information including the virtual space data to the second user account, wherein the virtual space information is used to instruct the second terminal corresponding to the second user account to display the virtual space data in a display interface.
15. An interactive device, characterized in that: The device comprises: An acquisition unit is configured to acquire activity information corresponding to a target activity from a server in real time; a display unit, configured to execute a display device associated with the first terminal to display activity information of the target activity, wherein the activity information of the target activity is associated with an activity progress of the target activity, and the display device is arranged facing the first terminal; A collection unit is configured to collect video stream data corresponding to the first user account, and for any video frame in the video stream data, the video frame includes image information of the display device; The sending unit is configured to send video stream information including the video stream data to the server, wherein the video stream information is used to instruct the server to send corresponding virtual space data to the second user account according to the video stream data.
16. An interactive system, characterized in that: The system includes a first terminal, a display device associated with the first terminal, a second terminal and a server, wherein the display device is arranged facing the first terminal, wherein: The server is configured to generate activity information corresponding to the target activity according to the activity progress of the target activity during the target activity; and send the activity information corresponding to the target activity to the first terminal corresponding to the first user account; The first terminal is used to obtain activity information corresponding to the target activity from the server in real time; display the activity information of the target activity through the display device, wherein the activity information of the target activity is associated with the activity progress of the target activity; collect video stream data corresponding to the first user account, for any video frame in the video stream data, the video frame includes image information of the display device, and send the video stream data to the server; The server is further configured to receive the video stream data sent by the first terminal corresponding to the first user account; generate corresponding virtual space data according to the video stream data, and send the virtual space data to the second terminal corresponding to the second user account; The second terminal is used to receive the virtual space data sent by the server and display the virtual space data in a display interface.
17. An electronic device, characterized in that: include: processor; a memory for storing instructions executable by the processor; The processor is configured to execute the instructions to implement the interactive method as described in any one of claims 1 to 4, or claims 5 to 11, or claim 12.
18. A computer-readable storage medium, characterized in that: When the instructions in the computer-readable storage medium are executed by a processor of an electronic device, the electronic device is enabled to perform the interactive method as described in any one of claims 1 to 4, or claims 5 to 11, or claim 12.
Citation Information
Patent Citations
Article acquisition method and device, electronic equipment and storage medium
CN112316439A
Live streaming data interaction method and device, electronic equipment, server and storage medium
CN113365086A
Live broadcast data processing method and device, electronic equipment and storage medium
CN113573092A
Computer readable recording medium recording image processing program and image processing apparatus
US20100060575A1
Livestreaming interaction method and apparatus
WO2022088764A1
