Virtual space interaction tool implementation method and device, equipment and storage medium
Through the data interface between the virtual space server and the terminal, the interactive phase change processing of interactive tools is realized, which solves the problem of limited diversity of interactive tools on the live broadcast platform and improves the diversity of interactive tools and user experience in the virtual space.
Patent Information
- Application Number
- CN202410764248.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-13
- Publication Date
- 2024-10-08
- Estimated Expiration
- 2044-06-13
AI Technical Summary
The diversity of virtual space interactive tools provided by existing live broadcast platforms is limited, resulting in a single user interactive experience, lack of innovation, and insufficient development manpower.
By implementing the data interface of the interactive tool between the virtual space server and the terminal, the target server is allowed to call the interface of the virtual space server based on account operations, perform change processing in the interactive stage of the interactive tool, and send the content and results of the interactive tool to achieve diversity and innovation. .
It improves the diversity of interactive tools in the virtual space, solves the problem of single interactive tools and lack of innovation, and enhances user interactive experience.
Smart Images

Figure CN118748727A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of computer technology, and in particular to a method, device, equipment and storage medium for implementing a virtual space interactive tool. Background Art
[0002] The interactive tools in the virtual space provided by the live broadcast platform can promote interaction between users. In the related art, each interactive tool is provided by the live broadcast platform and developed by the live broadcast platform, which limits the diversity of the interactive tools. Summary of the invention
[0003] The present disclosure provides a method, device, equipment and storage medium for implementing a virtual space interactive tool, so as to at least solve the problem in the related art that the interactive tool is provided by the live broadcast platform, resulting in limited diversity. The technical solution of the present disclosure is as follows:
[0004] According to a first aspect of an embodiment of the present disclosure, a method for implementing a virtual space interactive tool is provided, which is applied to a virtual space server and includes:
[0005] receiving a processing request for an interactive identifier in a virtual space, wherein the interactive identifier is an identifier of an interactive tool in the virtual space, the interactive tool is used to provide an interactive function in the virtual space, the processing request is used to request execution of an interactive phase change process of the interactive tool, the processing request is sent by a target server calling a data interface of the virtual space server based on an operation request of a first account, and the target server is used to provide a service of the interactive tool;
[0006] Execute the interactive stage change processing operation requested by the processing request, send the interactive tool content corresponding to the processing request to the second account terminal associated with the virtual space, and return the processing result to the target server, the interactive tool content is used to be displayed on the second account terminal, the second account participates in the interaction of the interactive tool based on the interactive tool content, and the processing result represents the interactive stage of the interactive tool after executing the interactive stage change processing.
[0007] Optionally, the processing request includes an opening request, and the opening request is sent based on an opening operation of the interactive tool by the first account in the virtual space;
[0008] The performing of the interactive stage change processing operation requested by the processing request, sending the interactive tool content corresponding to the processing request to the second account terminal associated with the virtual space, and returning the processing result to the target server includes:
[0009] Binding the interactive identifier to the virtual space, and saving the interactive state corresponding to the interactive identifier as an open state in a database;
[0010] Sending a notification message to the second account terminal, the notification message being used to notify the second account terminal to display the virtual item associated with the interactive tool on top of the virtual item panel;
[0011] The opening result is returned to the target server.
[0012] Optionally, the processing request includes a game start request, and the game start request is sent based on a game start operation of the first account on the interactive tool in the virtual space;
[0013] The performing of the interactive stage change processing operation requested by the processing request, sending the interactive tool content corresponding to the processing request to the second account terminal associated with the virtual space, and returning the processing result to the target server includes:
[0014] Execute the game start operation corresponding to the interaction identifier, and update the interaction state corresponding to the interaction identifier in the database to the game start state;
[0015] Verifying the legitimacy of the game data in the game opening request, and sending the game data to the second account terminal;
[0016] The game opening result is returned to the target server.
[0017] Optionally, the processing request includes an interactive data update request;
[0018] Before receiving the processing request for the interactive identifier in the virtual space, the method further includes:
[0019] receiving an interactive message for the interactive identifier sent by the second account terminal, determining interactive data according to the interactive message, and sending the interactive data to the target server;
[0020] The performing of the interactive stage change processing operation requested by the processing request, sending the interactive tool content corresponding to the processing request to the second account terminal associated with the virtual space, and returning the processing result to the target server includes:
[0021] sending updated data in the interactive data update request to the second account terminal, the interactive data update request being generated by the target server based on the interactive data, the updated data being used to be displayed in an interactive panel displayed by the second account terminal;
[0022] The interactive data update result is returned to the target server.
[0023] Optionally, the processing request includes a game closing request, and the game closing request is sent based on game closing information of the first account terminal associated with the virtual space;
[0024] The performing of the interactive stage change processing operation requested by the processing request, sending the interactive tool content corresponding to the processing request to the second account terminal associated with the virtual space, and returning the processing result to the target server includes:
[0025] Execute a game closing operation corresponding to the interaction identifier, update the interaction state corresponding to the interaction identifier to a game closing state in the database, and send the game result in the game closing request to the second account terminal;
[0026] The game closing result is returned to the target server.
[0027] Optionally, also include:
[0028] In response to a closing request for the interactive identifier sent by the first account terminal associated with the virtual space, the interactive state corresponding to the interactive identifier is updated to a closed state in the database, and a closing instruction is sent to the second account terminal, wherein the closing instruction is used to instruct the second account terminal to close the interactive panel and close the top display of the virtual items associated with the interactive tool.
[0029] Optionally, also include:
[0030] Receiving a status query request sent by the target server through a status query interface;
[0031] According to the interaction identifier in the status query request, querying the interaction status corresponding to the interaction identifier from a database;
[0032] The interaction status is sent to the target server.
[0033] Optionally, before executing the processing operation requested by the processing request, the method further includes:
[0034] The processing request is authenticated through an open application programming interface specification, and a parameter signature check is performed on the processing request after the authentication is passed.
[0035] According to a second aspect of an embodiment of the present disclosure, a method for implementing a virtual space interactive tool is provided, which is applied to a first account terminal and includes:
[0036] In the playback interface of the virtual space, an interactive panel is displayed, and an operation button corresponding to an interactive identifier is displayed in the interactive panel, wherein the interactive identifier is an identifier of an interactive tool in the virtual space, and the interactive tool is used to provide an interactive function in the virtual space;
[0037] In response to the triggering operation of the operation button by the first account, a processing request corresponding to the operation button is sent to the target server, the processing request is used to request the target server to call the data interface of the virtual space server to perform the interaction stage change processing corresponding to the operation button on the interactive tool, and the target server is used to provide the service of the interactive tool;
[0038] The processing result is displayed in the interactive panel, and the processing result represents the interactive stage of the interactive tool after the interactive stage change process is executed.
[0039] Optionally, the operation button includes an open button, and the processing request includes an open request;
[0040] The method of displaying an interactive panel in the playback interface of the virtual space and displaying an operation button corresponding to the interactive identifier in the interactive panel includes:
[0041] In the playback interface of the virtual space, an interactive panel is displayed, and the interactive tool and a start button corresponding to the interactive tool are displayed in the interactive panel;
[0042] The step of sending a processing request corresponding to the operation button to a target server in response to the triggering operation of the operation button by the first account includes:
[0043] In response to the triggering operation of the first account on the opening button, sending an initial opening request to the virtual space server, and receiving the interaction identifier returned by the virtual space server;
[0044] Pull up the applet of the interactive tool, and send an opening request including the interactive identifier to the target server through the applet, wherein the opening request is used to request the target server to call the data interface of the virtual space server to open the interactive tool.
[0045] Optionally, the operation button includes a game start button, and the processing request includes a game start request;
[0046] Before sending the processing request corresponding to the operation button to the target server in response to the triggering operation of the operation button by the first account, the method further includes:
[0047] Displaying the game setting information corresponding to the interactive identifier in the interactive panel, and obtaining the game data set by the first account for the interactive identifier through the game setting information;
[0048] The step of sending a processing request corresponding to the operation button to a target server in response to the triggering operation of the operation button by the first account includes:
[0049] In response to the triggering operation of the first account on the game start button, the game start request is sent to the target server, and the game start request is used to request the target server to call the data interface of the virtual space server to execute the game start operation corresponding to the interactive identifier.
[0050] Optionally, after sending the game start request to the target server, the method further includes:
[0051] receiving update data sent by the virtual space server and displaying the update data, wherein the update data is determined by the target server based on the interaction data corresponding to the interaction identifier and sent to the virtual space server.
[0052] Optionally, the displaying of the updated data includes:
[0053] Displaying the updated data in an interactive widget in the virtual space; and / or,
[0054] The updated data is displayed in the interactive panel.
[0055] Optionally, the operation button includes a game closing button, and the processing request includes a game closing request;
[0056] The step of sending a processing request corresponding to the operation button to a target server in response to the triggering operation of the operation button by the first account includes:
[0057] In response to the triggering operation of the first account on the game closing button, the game closing request is sent to the target server, and the game closing request is used to request the target server to call the data interface of the virtual space server to execute the game closing operation corresponding to the interactive identifier.
[0058] Optionally, the method further includes:
[0059] In response to the first account triggering an operation of the close button displayed in the interactive panel, a close request is sent to the virtual space server, wherein the close request is used to request the virtual space server to execute an interactive tool close operation corresponding to the interactive identifier.
[0060] According to a third aspect of an embodiment of the present disclosure, there is provided a device for implementing a virtual space interactive tool, which is applied to a virtual space server and includes:
[0061] a processing request receiving module, configured to receive a processing request for an interactive identifier in a virtual space, wherein the interactive identifier is an identifier of an interactive tool in the virtual space, wherein the interactive tool is used to provide an interactive function in the virtual space, wherein the processing request is used to request execution of an interactive phase change process of the interactive tool, wherein the processing request is sent by a target server calling a data interface of the virtual space server based on an operation request of a first account, wherein the target server is used to provide a service of the interactive tool;
[0062] The processing operation execution module is configured to execute the interactive stage change processing operation requested by the processing request, send the interactive tool content corresponding to the processing request to the second account terminal associated with the virtual space, and return the processing result to the target server, the interactive tool content is used to be displayed on the second account terminal, the second account participates in the interaction of the interactive tool based on the interactive tool content, and the processing result represents the interactive stage of the interactive tool after executing the interactive stage change processing.
[0063] Optionally, the processing request includes an opening request, and the opening request is sent based on an opening operation of the interactive tool by the first account in the virtual space;
[0064] The processing operation execution module includes:
[0065] An opening operation execution unit is configured to execute binding between the interactive identifier and the virtual space, and save the interactive state corresponding to the interactive identifier as an opening state in a database;
[0066] a notification message sending unit, configured to execute sending a notification message to the second account terminal, wherein the notification message is used to notify the second account terminal to display the virtual item associated with the interactive tool on the top of the virtual item panel;
[0067] The activation result returning unit is configured to return the activation result to the target server.
[0068] Optionally, the processing request includes a game start request, and the game start request is sent based on a game start operation of the first account on the interactive tool in the virtual space;
[0069] The processing operation execution module includes:
[0070] A game start operation execution unit is configured to execute the game start operation corresponding to the interaction identifier, and update the interaction state corresponding to the interaction identifier in the database to the game start state;
[0071] a game data sending unit, configured to verify the legitimacy of the game data in the game opening request, and send the game data to the second account terminal;
[0072] The game initiation result returning unit is configured to return the game initiation result to the target server.
[0073] Optionally, the processing request includes an interactive data update request;
[0074] The device also includes:
[0075] an interactive data sending module, configured to receive an interactive message for the interactive identifier sent by the second account terminal, determine interactive data according to the interactive message, and send the interactive data to the target server;
[0076] The processing operation execution module includes:
[0077] an update data sending unit, configured to send update data in the interactive data update request to the second account terminal, the interactive data update request being generated by the target server based on the interactive data, the update data being used to be displayed in an interactive panel displayed by the second account terminal;
[0078] The update result returning unit is configured to return the interactive data update result to the target server.
[0079] Optionally, the processing request includes a game closing request, and the game closing request is sent based on game closing information of the first account terminal associated with the virtual space;
[0080] The processing operation execution module includes:
[0081] a game closing operation execution unit, configured to execute the game closing operation corresponding to the interaction identifier, update the interaction state corresponding to the interaction identifier to the game closing state in the database, and send the game result in the game closing request to the second account terminal;
[0082] The game closing result returning unit is configured to return the game closing result to the target server.
[0083] Optionally, the device further comprises:
[0084] The closing operation execution module is configured to execute a closing request for the interactive identifier sent by the first account terminal associated with the virtual space, update the interactive state corresponding to the interactive identifier to a closed state in the database, and send a closing instruction to the second account terminal, wherein the closing instruction is used to instruct the second account terminal to close the interactive panel and close the top display of the virtual items associated with the interactive tool.
[0085] Optionally, the device further comprises:
[0086] A query request receiving module is configured to receive a status query request sent by the target server through a status query interface;
[0087] An interaction status query module is configured to query the interaction status corresponding to the interaction identifier from a database according to the interaction identifier in the status query request;
[0088] The interactive state sending module is configured to send the interactive state to the target server.
[0089] Optionally, the device further comprises:
[0090] The processing request verification module is configured to authenticate the processing request through an open application programming interface specification, and perform parameter signature verification on the processing request after the authentication is passed.
[0091] According to a fourth aspect of an embodiment of the present disclosure, a device for implementing a virtual space interactive tool is provided, which is applied to a first account terminal and includes:
[0092] A display module is configured to be executed in a playback interface of a virtual space, display an interactive panel, and display an operation button corresponding to an interactive identifier in the interactive panel, wherein the interactive identifier is an identifier of an interactive tool in the virtual space, and the interactive tool is used to provide an interactive function in the virtual space;
[0093] a processing request sending module, configured to execute, in response to a triggering operation of the operation button by the first account, sending a processing request corresponding to the operation button to a target server, wherein the processing request is used to request the target server to call a data interface of a virtual space server to execute an interactive stage change process corresponding to the operation button on the interactive tool, and the target server is used to provide services of the interactive tool;
[0094] The processing result receiving module is configured to display the processing result in the interactive panel, wherein the processing result represents the interactive stage of the interactive tool after the interactive stage change process is executed.
[0095] Optionally, the operation button includes an open button, and the processing request includes an open request;
[0096] The display module comprises:
[0097] An activation button display unit is configured to be executed in a playback interface of a virtual space, display an interactive panel, and display the interactive tool and an activation button corresponding to the interactive tool in the interactive panel;
[0098] The processing request sending module includes:
[0099] an initial request sending unit, configured to execute, in response to the triggering operation of the first account on the start button, send an initial start request to the virtual space server, and receive the interaction identifier returned by the virtual space server;
[0100] The start request sending unit is configured to execute a small program for launching the interactive tool, and send a start request including the interactive identifier to the target server through the small program, wherein the start request is used to request the target server to call the data interface of the virtual space server to start the interactive tool.
[0101] Optionally, the operation button includes a game start button, and the processing request includes a game start request;
[0102] The device also includes:
[0103] A game data acquisition module is configured to display the game setting information corresponding to the interactive identifier in the interactive panel, and acquire the game data set by the first account for the interactive identifier through the game setting information;
[0104] The processing request sending module includes:
[0105] The game start request sending unit is configured to execute a triggering operation of the game start button by the first account, and send the game start request to the target server, wherein the game start request is used to request the target server to call the data interface of the virtual space server to execute the game start operation corresponding to the interactive identifier.
[0106] Optionally, the device further comprises:
[0107] The update data display module is configured to receive the update data sent by the virtual space server and display the update data, wherein the update data is determined by the target server based on the interaction data corresponding to the interaction identifier and sent to the virtual space server.
[0108] Optionally, the update data display module includes an update data display unit, and the update data display unit is configured to execute:
[0109] Displaying the updated data in an interactive widget in the virtual space; and / or,
[0110] The updated data is displayed in an interactive panel of the virtual space.
[0111] Optionally, the operation button includes a game closing button, and the processing request includes a game closing request;
[0112] The processing request sending module includes:
[0113] The game closing request sending unit is configured to execute the game closing request to the target server in response to the triggering operation of the game closing button by the first account, and the game closing request is used to request the target server to call the data interface of the virtual space server to execute the game closing operation corresponding to the interactive identifier.
[0114] Optionally, the device further comprises:
[0115] The closing request sending module is configured to execute a closing request to the virtual space server in response to the first account triggering an operation of the closing button displayed in the interactive panel, wherein the closing request is used to request the virtual space server to execute the interactive tool closing operation corresponding to the interactive identifier.
[0116] According to a fifth aspect of an embodiment of the present disclosure, there is provided an electronic device, including:
[0117] processor;
[0118] a memory for storing instructions executable by the processor;
[0119] The processor is configured to execute the instructions to implement the method for implementing the virtual space interactive tool as described in the first aspect or the method for implementing the virtual space interactive tool as described in the second aspect.
[0120] According to the sixth aspect of an embodiment of the present disclosure, a computer-readable storage medium is provided. When instructions in the computer-readable storage medium are executed by a processor of an electronic device, the electronic device is enabled to execute the implementation method of the virtual space interaction tool as described in the first aspect or to implement the implementation method of the virtual space interaction tool as described in the second aspect.
[0121] According to a seventh aspect of an embodiment of the present disclosure, a computer program product is provided, comprising a computer program or computer instructions, which, when executed by a processor, implements the method for implementing the virtual space interaction tool as described in the first aspect or the method for implementing the virtual space interaction tool as described in the second aspect.
[0122] The technical solution provided by the embodiments of the present disclosure brings at least the following beneficial effects:
[0123] The disclosed embodiment receives a processing request for an interactive identifier in a virtual space, where the processing request is sent by a target server based on a data interface that calls a virtual space server, executes an interactive phase change processing operation requested by the processing request, sends the interactive tool content corresponding to the processing request to a second account terminal associated with the virtual space, and returns the processing result to the target server. The second account can participate in the interaction of the interactive tool based on the interactive tool content displayed by the second account terminal, thereby realizing access to the interactive tool provided by the target server in the virtual space based on the data interface, thereby increasing the diversity of interactive tools in the virtual space, and solving the problems of single interactive tools, lack of innovation, and insufficient development manpower on the live broadcast platform side.
[0124] 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
[0125] 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.
[0126] Figure 1 is a flow chart of a method for implementing a virtual space interactive tool according to an exemplary embodiment;
[0127] Figure 2 is a schematic diagram of executing an operation of opening an interactive tool in a virtual space in an embodiment of the present disclosure;
[0128] Figure 3 is a schematic diagram of executing a game start operation of an interactive tool in a virtual space in an embodiment of the present disclosure;
[0129] Figure 4 is a schematic diagram of executing an interactive data update operation of an interactive tool in a virtual space in an embodiment of the present disclosure;
[0130] Figure 5 is a schematic diagram of executing a game closing operation of an interactive tool in a virtual space in an embodiment of the present disclosure;
[0131] Figure 6is a schematic diagram of executing a closing operation of an interactive tool in a virtual space in an embodiment of the present disclosure;
[0132] Figure 7 is a flow chart of a method for implementing a virtual space interactive tool provided according to an exemplary embodiment;
[0133] Figure 8 is a schematic diagram showing an interactive pendant in an embodiment of the present disclosure;
[0134] Fig. 9 is a schematic diagram showing an interactive panel in an embodiment of the present disclosure;
[0135] Fig.10 is a schematic diagram of a system for implementing a virtual space interactive tool according to an exemplary embodiment;
[0136] Fig.11 is a block diagram of a device for implementing a virtual space interactive tool according to an exemplary embodiment;
[0137] Fig.12 is a block diagram of a device for implementing a virtual space interactive tool according to an exemplary embodiment;
[0138] Fig.13 It is a block diagram of an electronic device according to an exemplary embodiment. DETAILED DESCRIPTION
[0139] 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.
[0140] 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.
[0141] Figure 1 is a flow chart showing a method for implementing a virtual space interactive tool according to an exemplary embodiment. Figure 1 As shown, the implementation method of the virtual space interactive tool is applied to a virtual space server, which is a server that provides virtual space services. The method includes the following steps.
[0142] In step S11, a processing request for an interactive identifier in a virtual space is received, wherein the interactive identifier is an identifier of an interactive tool in the virtual space, and the interactive tool is used to provide interactive functions in the virtual space. The processing request is used to request execution of an interactive phase change process of the interactive tool. The processing request is sent by a target server calling a data interface of the virtual space server based on an operation request of a first account, and the target server is used to provide services of the interactive tool.
[0143] Among them, the virtual space is a virtual space that can provide multiple users with communication and exchange, for example, it can be a live broadcast room. The data interface is a data interface associated with the interactive tool. The interactive tool can be provided by a third party or internally. It should be noted that there is a certain degree of independence between the interactive tool and the virtual space. The target server can be a server of a platform application (such as a virtual space server) or a server dedicated to interactive tools in the virtual space. Further, the target server can be a third-party server. The interactive stage is a stage in which the interactive tool provides users with different interactive operations. For example, the interactive stage can include an interactive tool opening stage, a game opening stage, a game closing stage, or an interactive tool closing stage. In the interactive tool opening stage, one or more games can be opened based on the operation of the first account to facilitate the second account to participate in the interaction; in the game opening stage, the second account can participate in the interaction and can obtain the interactive data of the second account; the game closing stage represents the end of a game, and the result of the game can be displayed in this stage; the interactive tool closing stage represents the closed state of the interactive tool.
[0144] The target server generates a processing request based on the operation of the first account on the interactive identifier in the virtual space (for example, it can be to open the interactive tool, open the game, close the game, close the interactive tool, etc.), and calls the data interface of the virtual space server to send the processing request to the virtual space server. The virtual space server receives the processing request for the interactive identifier in the virtual space sent by the target server through the data interface. Among them, the first account is an account that controls the operating state of the virtual space (such as opening or closing, etc.). Taking the virtual space as a live broadcast room as an example, the first account can be the anchor account.
[0145] In step S12, the interactive stage change processing operation requested by the processing request is executed, the interactive tool content corresponding to the processing request is sent to the second account terminal associated with the virtual space, and the processing result is returned to the target server, the interactive tool content is used for display on the second account terminal, the second account participates in the interaction of the interactive tool based on the interactive tool content, and the processing result represents the interactive stage of the interactive tool after executing the interactive stage change processing.
[0146] The virtual space server executes the interactive stage change processing operation requested by the processing request, changes the interactive stage of the interactive tool from the current interactive stage to the requested interactive stage or performs data update during the interactive process, obtains the interactive tool content corresponding to the processing request, sends the interactive tool content to the second account terminal associated with the virtual space through the virtual space unified signaling channel, and returns the processing result to the target server. After the second account terminal receives the interactive tool content sent by the virtual space server, it can display the interactive tool content in the interactive panel of the virtual space, and the second account can participate in the interaction of the interactive tool based on the displayed interactive tool content. Among them, the second account is an account participating in the virtual space interaction. Taking the virtual space as a live broadcast room as an example, the second account can be a viewer account. Exemplarily, the processing result can be entering the interactive tool start-up stage, or it can also be entering the interactive tool game stage, etc.
[0147] In an exemplary embodiment, before executing the interactive phase change processing operation requested by the processing request, it also includes: authenticating the processing request through an open application programming interface specification, and performing parameter signature verification on the processing request after the authentication is passed.
[0148] After receiving the processing request sent by the target server through the data interface, the processing request is authenticated through the open application programming interface (OpenAPI) specification. After the authentication is passed, the parameter signature of the processing request is verified. After the parameter signature of the processing request is verified and the verification is successful, the interactive stage change processing operation requested by the processing request can be executed to ensure the legitimacy of the processing request.
[0149] The implementation method of the virtual space interactive tool provided by this exemplary embodiment receives a processing request for an interactive identifier in the virtual space, the processing request is sent by the target server based on calling the data interface of the virtual space server, executes the interactive stage change processing operation requested by the processing request, sends the interactive tool content corresponding to the processing request to the second account terminal associated with the virtual space, and returns the processing result to the target server. The second account can participate in the interaction of the interactive tool based on the interactive tool content displayed by the second account terminal, thereby realizing access to the interactive tool provided by the target server in the virtual space based on the data interface, which can improve the diversity of interactive tools in the virtual space and solve the problems of single interactive tools, lack of innovation, and insufficient development manpower on the live broadcast platform side.
[0150] Based on the above technical solution, the processing request includes an opening request, and the opening request is sent based on the opening operation of the interactive tool by the first account in the virtual space;
[0151] The execution of the interactive stage change processing operation requested by the processing request, sending the interactive tool content corresponding to the processing request to the second account terminal associated with the virtual space, and returning the processing result to the target server includes: binding the interactive identifier and the virtual space, saving the interactive state corresponding to the interactive identifier as an open state in a database; sending a notification message to the second account terminal, the notification message is used to notify the second account terminal to display the virtual items associated with the interactive tool in the virtual item panel at the top; and returning the open result to the target server.
[0152] Exemplarily, the virtual space server may receive a request to start the interactive tool sent by the target server through an opening interface. The opening interface may be an interface in a data interface provided by the virtual space server to the target server, and is used to start the interactive tool.
[0153] Figure 2 is a schematic diagram of executing the operation of opening the interactive tool in the virtual space in the embodiment of the present disclosure, such as Figure 2As shown, the interactive tool is triggered to be turned on by the first account of the virtual space, the first account terminal displays the interactive tool panel, and displays various interactive tools in the interactive tool panel, the first account can select the interactive tool to be turned on, and trigger the turn-on button, the first account terminal receives the turn-on operation of the interactive tool by the first account, and sends an initial turn-on request to the virtual space server, the virtual space server returns the interactive identifier of the interactive tool in the virtual space, and creates an interactive record corresponding to the interactive identifier in the database, the first account terminal pulls up the applet of the interactive tool based on the interactive identifier, and transmits the interactive identifier to the applet, the applet sends an turn-on request to the target server for the interactive tool, the target server calls up the turn-on interface provided by the virtual space server based on the turn-on request, and sends the turn-on request to the virtual space server through the turn-on interface, the turn-on request including information such as the interactive identifier and the pinned virtual item; the virtual space server receives the turn-on request After the request, first use the unified OpenAPI to authenticate the opening request. If the authentication fails, the opening result of the opening failure is directly returned. After the OpenAPI authentication is successful, the parameter signature of the opening request is verified to verify the legitimacy of the opening request. If the verification fails, the opening result of the opening failure is directly returned. After the parameter signature verification is successful, for the interactive identifier in the opening request, the opening operation corresponding to the interactive identifier is executed, the interactive identifier and the virtual space are bound, and the interactive state corresponding to the interactive identifier is saved in the database as the opening state, and the interactive data push is enabled. A notification message corresponding to the interactive identifier is sent to the second account terminal through the unified signaling channel of the virtual space. After the second account terminal receives the notification message, the virtual item associated with the interactive tool corresponding to the interactive identifier in the virtual item panel is displayed at the top in the virtual space. After the binding is completed, the virtual space server returns the opening result of the successful opening to the target server. The opening result of the successful opening indicates that the interactive tool opening stage has begun.
[0154] By receiving the target server's request to open the interactive tool and executing the operation to open the interactive tool, the operation to open the interactive tool provided by the target server in the virtual space is realized, preparations are made for users to participate in the interaction of the interactive tool, and it is convenient for the first account to open the game of the interactive tool so that users in the virtual space can participate in the interaction of the interactive tool.
[0155] Based on the above technical solution, the processing request includes a game start request, and the game start request is sent based on the game start operation of the first account on the interactive tool in the virtual space;
[0156] The executing of the interactive phase change processing operation requested by the processing request, sending the interactive tool content corresponding to the processing request to the second account terminal associated with the virtual space, and returning the processing result to the target server includes: executing the game start operation corresponding to the interactive identifier, updating the interactive state corresponding to the interactive identifier in the database to the game start state; verifying the legitimacy of the game data in the game start request, sending the game data to the second account terminal; and returning the game start result to the target server.
[0157] Exemplarily, the virtual space server may receive a game start request for the interactive tool sent by the target server through a game start interface. The game start interface may be an interface in a data interface provided by the virtual space server to the target server, for starting a game in the interactive tool.
[0158] Figure 3 is a schematic diagram of executing a game start operation of an interactive tool in a virtual space in an embodiment of the present disclosure, such as Figure 3 As shown, the first account terminal displays a game data setting interface in the interactive panel based on the game setting operation of the first account, and receives the game data set by the first account (including but not limited to time, virtual item points rules, and both parties in the game, etc.). After the setting is completed, the game start operation can be triggered, and the first account terminal sends a game start request including the game data to the target server; the target server calls up the game start interface provided by the virtual space server, and transmits the game start request including the game data to the virtual space server through the game start interface; after the virtual space server receives the game start request sent by the target server, it first uses a unified OpenAPI to authenticate the game start request, and directly returns a game start result indicating that the game start failed if the authentication fails. After the OpenAPI authentication is successful, the parameter signature of the game start request is checked to verify the legitimacy of the request. If the parameter signature check fails, the game start result indicating that the game start failed is directly returned. After the parameter signature check is successful, the game start operation corresponding to the interactive identifier requested in the game start request is executed, and the interactive state corresponding to the interactive identifier is marked as the game start state in the database. The legitimacy of the game data in the game start request is checked, and the game data is sent to the second account terminal through the unified signaling channel of the virtual space. The second account terminal can display the game data in the interactive panel, and the first account terminal can also display the game data in the interactive panel. After completing the game start operation, the virtual space server returns the game start result of successful game start to the target server. The successful game start result indicates that the game start stage has begun, and the second account can participate in the interaction of the game.
[0159] By receiving a game start request from the target server for an interactive tool and executing the game start operation of the interactive tool, the game start operation of the interactive tool provided by the target server in the virtual space is realized, making it easier for users in the virtual space to participate in the game interaction of the interactive tool.
[0160] Based on the above technical solution, the processing request includes an interactive data update request;
[0161] Before receiving the processing request for the interactive identifier in the virtual space, the method further includes: receiving an interactive message for the interactive identifier sent by the second account terminal, determining interactive data according to the interactive message, and sending the interactive data to the target server;
[0162] The execution of the interactive stage change processing operation requested by the processing request, sending the interactive tool content corresponding to the processing request to the second account terminal associated with the virtual space, and returning the processing result to the target server, includes: sending the updated data in the interactive data update request to the second account terminal, the interactive data update request is generated by the target server based on the interactive data, and the updated data is used to be displayed in the interactive panel displayed by the second account terminal; returning the interactive data update result to the target server.
[0163] Exemplarily, the virtual space server may receive an interactive data update request for the interactive tool sent by the target server through an interactive data update interface. The interactive data update interface may be an interface in the data interface provided by the virtual space server to the target server, for executing the update of the interactive data in the interactive tool.
[0164] Figure 4 is a schematic diagram of executing an interactive data update operation of an interactive tool in a virtual space in an embodiment of the present disclosure, such as Figure 4As shown, after the game is started, the second account in the virtual space can participate in the interaction of the interactive tool. The second account terminal can generate interactive messages based on the comments, likes, gifts, etc. of the second account, or based on the interactive operations of the second account in the interactive panel. The second account terminal sends the interactive message to the virtual space server; the virtual space server receives the interactive message and sends the interactive message to the interactive message consumer (the user account targeted by the interactive message, such as the anchor account of the live broadcast room), the interactive message consumer consumes the interactive message, the virtual space server locally aggregates and caches the interactive message, obtains the interactive data, and pushes the interactive data to the target server through the open platform. For example, if a second account sends a virtual item "beer" once and sends it multiple times in succession, the second account terminal will generate multiple interactive messages. The virtual space server can aggregate these multiple interactive messages into one interactive data, and push the aggregated interactive data to the target server through the open platform; the target server receives the interactive message After the interactive data is updated, the interactive data calculation is performed. When the interactive panel data needs to be updated, the interactive data update request is sent to the virtual space server by calling the interactive data update interface provided by the virtual space server; the virtual space server receives the interactive data update request sent by the target server, first uses the unified OpenAPI to authenticate the interactive data update request, and directly returns the interactive data update result of the failed update if the authentication fails. After the OpenAPI authentication is successful, the parameter signature verification is performed on the interactive data update request to verify the legitimacy of the request, and directly returns the interactive data update result of the failed update if the verification fails; after the signature verification is successful, the interactive data update operation is performed, and the updated data in the interactive data update request is sent to the second account terminal through the unified signaling channel of the virtual space. The second account terminal updates the interactive data displayed in the interactive panel based on the updated data; after the second account terminal successfully updates the interactive data, the virtual space server returns the interactive data update result of the successful update to the target server. The interactive data update result indicates that the interactive data in the game is successfully updated, and the interactive data displayed by each account terminal is the latest interactive data.
[0165] The interactive messages are aggregated and sent to the target server. The target server determines the update data by calculating the interactive data, and calls the interactive data update interface provided by the virtual space server to update the interactive data. This implements the interactive data update operation of the interactive tool provided by the target server in the virtual space, making it easy for users in the virtual space to understand the game interactive data of the interactive tool, and enables the target server to obtain the interactive data associated with the interactive tool in the virtual space, and can update the interactive data associated with the interactive tool based on the interactive data of each account in the virtual space.
[0166] Based on the above technical solution, the processing request includes a game closing request, and the game closing request is sent based on the game closing information of the first account terminal associated with the virtual space;
[0167] The executing of the interactive phase change processing operation requested by the processing request, sending the interactive tool content corresponding to the processing request to the second account terminal associated with the virtual space, and returning the processing result to the target server includes: executing the game closing operation corresponding to the interactive identifier, updating the interactive state corresponding to the interactive identifier in the database to the game closing state, sending the game result in the game closing request to the second account terminal; and returning the game closing result to the target server.
[0168] Exemplarily, the virtual space server may receive a game closing request for the interactive tool sent by the target server through a game closing interface. The game closing interface may be an interface in a data interface provided by the virtual space server to the target server, and is used to close a game in the interactive tool.
[0169] Figure 5 is a schematic diagram of executing a game closing operation of an interactive tool in a virtual space in an embodiment of the present disclosure, such as Figure 5As shown, when the first account triggers the close game button in the first account terminal or the game countdown ends, the first account terminal sends a game close request to the target server; after receiving the game close request sent by the first account terminal, the target server calls up the game close interface provided by the virtual space server, and sends a game close request including a game identifier and a game result to the virtual space server; the virtual space server receives the game close request (game close information) sent by the target server through the game close interface, uses a unified OpenAPI to authenticate the game close request, and directly returns a game close result indicating that the game close failed if the authentication fails; after the OpenAPI authentication succeeds, the game close request is parameter signed. The name is checked to verify the legitimacy of the request. If the check fails, the game closing result of the failed game closing is directly returned; after the signature check succeeds, the virtual space server executes the game closing operation, marks the interactive state corresponding to the interactive identifier in the database as the game closing state, verifies the legitimacy of the game result in the game closing request, and sends the game result to the second account terminal through the virtual space unified signaling channel. The second account terminal can display the game result in the interactive panel (the game result is the final data result of the two parties in the game), and the first account terminal can also display the game result in the interactive panel. After the game result is successfully sent to the second account terminal, the virtual space server returns the game closing result of the successful game closing to the target server. The game closing result indicates that the current game is closed successfully and enters the game closing stage. In the game closing stage, you can also start a new game or close the interactive tool.
[0170] By receiving a game closing request from the target server for the interactive tool and executing the game closing operation of the interactive tool, the game closing operation of the interactive tool provided by the target server in the virtual space is realized, and the game result can be displayed in the second account terminal, so that users in the virtual space can understand the game result of the interactive tool.
[0171] Based on the above technical solution, the method also includes: in response to a closing request for the interactive identifier sent by the first account terminal associated with the virtual space, updating the interactive state corresponding to the interactive identifier to a closed state in the database, and sending a closing instruction to the second account terminal, wherein the closing instruction is used to instruct the second account terminal to close the interactive panel and close the top display of the virtual items associated with the interactive tool.
[0172] Figure 6 is a schematic diagram of executing a closing operation of an interactive tool in a virtual space in an embodiment of the present disclosure, such as Figure 6As shown, after the first account clicks the close button of the interactive tool in the first account terminal, the first account terminal sends a close request to the virtual space server. The virtual space server receives the close request sent by the first account terminal, and updates the interactive state corresponding to the interactive identifier in the database to a closed state according to the interactive identifier in the close request. At the same time, a close instruction is sent to the second account terminal through the unified signaling channel of the virtual space to notify the second account terminal to close the interactive panel in the virtual space and close the top display of the virtual items associated with the interactive tool.
[0173] By closing the interactive tool in the virtual space based on the closing request for the interactive tool sent by the first account terminal, the problem of being unable to close due to problems with the target server (such as network instability, etc.) when the target server controls the closing can be avoided.
[0174] Based on the above technical solution, the method also includes: receiving a status query request sent by the target server through a status query interface; querying the interaction status corresponding to the interaction identifier from a database according to the interaction identifier in the status query request; and sending the interaction status to the target server.
[0175] The target server periodically polls the interactive status of the interactive tool, calls up the status query interface provided by the virtual space server, and passes in a status query request including information such as the interactive identifier. The virtual space server receives the status query request sent by the target server and uses a unified OpenAPI to authenticate the status query request. If the authentication fails, the authentication failure information is directly returned. After the OpenAPI authentication is successful, the parameter signature of the status query request is verified to verify the legitimacy of the request. If the verification fails, the verification failure information is directly returned. After the signature verification is successful, the interactive status corresponding to the interactive identifier is queried from the database, and the interactive status is sent to the target server, such as Figure 6 As shown, if the interactive state is found to be closed from the database, the closed state is returned to the target server, and the target server closes the interactive tool. If the interactive state is found to be not closed from the database, the target server keeps polling the interactive state.
[0176] Through status polling, the consistency of the interactive status of the interactive tool between the target server and the virtual space server can be ensured, and the interactive status of the interactive tool in the target server can be updated to the closed state in time when the interactive status is the closed state.
[0177] Figure 7 is a flow chart of a method for implementing a virtual space interactive tool according to an exemplary embodiment. Figure 7 As shown, the implementation method of the virtual space interactive tool is applied to the first account terminal and includes the following steps.
[0178] In step S71, an interactive panel is displayed in the playback interface of the virtual space, and an operation button corresponding to an interactive identifier is displayed in the interactive panel. The interactive identifier is an identifier of an interactive tool in the virtual space, and the interactive tool is used to provide interactive functions in the virtual space.
[0179] In the playback interface of the virtual space of the first account terminal, an interactive panel can be displayed, and an operation button corresponding to the interactive identifier can be displayed in the interactive panel. Among them, the operation button can be, for example, an open button, a game open button, a game close button, a close button, etc. The open button is used to open the interactive tool, the game open button is used to open the game of the interactive tool, the game close button is used to close the game of the interactive tool, and the close button is used to close the interactive tool. The first account is an account that controls the operating state of the virtual space (such as opening or closing, etc.). Taking the virtual space as a live broadcast room as an example, the first account can be an anchor account.
[0180] In step S72, in response to the triggering operation of the operation button by the first account, a processing request corresponding to the operation button is sent to the target server, and the processing request is used to request the target server to call the data interface of the virtual space server to perform the interaction stage change processing corresponding to the operation button on the interactive tool, and the target server is used to provide the service of the interactive tool.
[0181] The first account can operate the operation button in the interactive panel. When the first account terminal detects the triggering operation of the operation button by the first account, a processing request corresponding to the operation button is generated and the processing request is sent to the target server. The target server can call the data interface of the virtual space server to execute the interactive stage change processing operation requested by the processing request.
[0182] Among them, the data interface is the data interface of the virtual space server associated with the interactive tool. The interactive tool can be provided by a third party or internally. It should be noted that there is a certain degree of independence between the interactive tool and the virtual space. The target server can be a server of a platform application (such as a virtual space server) or a server dedicated to the interactive tool in the virtual space. Further, the target server can be a third-party server. The interactive stage is a stage in which the interactive tool provides users with different interactive operations. For example, the interactive stage can include the interactive tool opening stage, the game opening stage, the game closing stage or the interactive tool closing stage. In the interactive tool opening stage, one or more games can be opened based on the operation of the first account to facilitate the second account to participate in the interaction; in the game opening stage, the second account can participate in the interaction and can obtain the interactive data of the second account; the game closing stage represents the end of a game, and the result of the game can be displayed in this stage; the interactive tool closing stage represents the closed state of the interactive tool.
[0183] In step S73, the processing result is displayed in the interactive panel, and the processing result represents the interactive stage of the interactive tool after the interactive stage change process is performed.
[0184] After the target server calls the data interface of the virtual space server to execute the interactive stage change processing operation requested by the processing request, the processing result returned by the virtual space server is sent to the first account terminal. The first account terminal receives the processing result returned by the target server and displays the processing result in the interactive panel, so that the first account can understand the processing result after the interactive stage change processing is executed on the interactive tool. Exemplarily, the processing result can be entering the interactive tool opening stage, or entering the interactive tool game stage, etc.
[0185] The implementation method of the virtual space interactive tool provided by this exemplary embodiment is to display an interactive panel in the playback interface of the virtual space, and display an operation button corresponding to the interactive identifier in the interactive panel. In response to the triggering operation of the operation button by the first account, the processing request corresponding to the operation button is sent to the target server. The target server can call the data interface of the virtual space server to execute the interactive stage change processing operation requested by the processing request and return the processing result, and display the processing result in the interactive panel. The interactive tool provided by the target server is accessed in the virtual space through the data interface, which can improve the diversity of the interactive tools in the virtual space and solve the problems of single interactive tools, lack of innovation, and insufficient development manpower on the live broadcast platform side.
[0186] On the basis of the above technical solution, the operation button includes an open button, and the processing request includes an open request;
[0187] The method of displaying an interactive panel in the playback interface of the virtual space and displaying an operation button corresponding to the interactive identifier in the interactive panel includes:
[0188] In the playback interface of the virtual space, an interactive panel is displayed, and the interactive tool and a start button corresponding to the interactive tool are displayed in the interactive panel;
[0189] The step of sending a processing request corresponding to the operation button to a target server in response to the triggering operation of the operation button by the first account includes:
[0190] In response to the triggering operation of the first account on the opening button, sending an initial opening request to the virtual space server, and receiving the interaction identifier returned by the virtual space server;
[0191] Pull up the applet of the interactive tool, and send an opening request including the interactive identifier to the target server through the applet, wherein the opening request is used to request the target server to call the data interface of the virtual space server to open the interactive tool.
[0192] The interactive tool is triggered and opened by the first account of the virtual space. The first account terminal displays the interactive panel in the playback interface of the virtual space. For example, the first account terminal can display the interactive panel in the form of half screen, and display each interactive tool in the interactive panel. The first account can select the interactive tool to be opened and trigger the corresponding opening button. The first account terminal receives the opening operation of the interactive tool by the first account and sends an initial opening request to the virtual space server. The virtual space server returns the interactive identification of the interactive tool in the virtual space and creates an interactive record corresponding to the interactive identification in the database. The initial opening request is used to request the filing of the opening of the interactive tool.
[0193] The first account terminal launches the mini program of the interactive tool based on the interactive identifier, and transmits the interactive identifier to the mini program. The mini program sends an opening request (including the interactive identifier) to the target server for the interactive tool. The target server calls up the data interface provided by the virtual space server based on the opening request (the data interface may be, for example, an opening interface), and sends the opening request to the virtual space server through the data interface. The opening request includes information such as the interactive identifier and the pinned virtual item. After receiving the opening request, the virtual space server first uses a unified OpenAPI to authenticate the opening request. If the authentication fails, an opening result indicating opening failure is directly returned. After the OpenAPI authentication succeeds, a parameter signature check is performed on the opening request to verify the validity of the opening request. Legality, if the verification fails, the opening result of the opening failure is directly returned; after the parameter signature verification succeeds, for the interactive identifier in the opening request, the opening operation corresponding to the interactive identifier is executed, the interactive identifier and the virtual space are bound, and the interactive state corresponding to the interactive identifier is saved in the database as the opening state, and the interactive data push is started, and the notification message corresponding to the interactive identifier is sent to the second account terminal through the unified signaling channel of the virtual space. After the second account terminal receives the notification message, the virtual item panel in the virtual space associated with the interactive tool corresponding to the interactive identifier is displayed at the top, so as to facilitate the second account to participate in the interaction of the interactive tool. After the binding is completed, the virtual space server returns the opening result of the successful opening to the target server. Among them, the second account is an account that watches the virtual space and / or participates in the interaction of the virtual space. Taking the virtual space as a live broadcast room as an example, the second account can be an audience account. The opening result of successful opening indicates that the interactive tool opening stage has begun.
[0194] Based on the opening operation of the first account, the first account terminal obtains an interactive identifier by interacting with the virtual space server, and then pulls up the applet corresponding to the interactive tool, interacts with the target server through the applet, and the target server calls the data interface of the virtual space server to execute the opening of the interactive tool, thereby realizing access to the interactive tool in the virtual space and controlling the opening of the interactive tool, preparing for users to participate in the interaction of the interactive tool, and facilitating the first account to open the game of the interactive tool so that users in the virtual space can participate in the interaction of the interactive tool.
[0195] Based on the above technical solution, the operation button includes a game start button, and the processing request includes a game start request;
[0196] Before the processing request corresponding to the operation button is sent to the target server in response to the triggering operation of the operation button by the first account, the method further includes: displaying the game setting information corresponding to the interactive identifier in the interactive panel, and obtaining the game data set by the first account for the interactive identifier through the game setting information;
[0197] In response to the triggering operation of the operation button by the first account, the processing request corresponding to the operation button is sent to the target server, including: in response to the triggering operation of the game start button by the first account, the game start request is sent to the target server, and the game start request is used to request the target server to call the data interface of the virtual space server to execute the game start operation corresponding to the interactive identifier.
[0198] Exemplarily, the data interface may include a game start interface, which is used to start a game in the interactive tool. The target server may call up the game start interface provided by the virtual space server to send a game start request for the interactive tool.
[0199] In the playback interface of the virtual space of the first account terminal, the mini program associated with the interactive tool displays the game data setting interface in the interactive panel based on the game setting operation of the first account for the interactive tool in the virtual space, and displays the game setting information corresponding to the interactive identifier in the game data setting interface. The game data set by the first account (including but not limited to time, virtual item points rules, and both parties in the game, etc.) is obtained through the game setting information. After the setting is completed, the first account terminal can trigger the game start button.
[0200] In response to the first account's triggering operation on the game start button, the mini-program associated with the interactive tool in the first account terminal generates a game start request including game data, and sends the game start request to the target server; the target server receives the game start request sent by the first account terminal, calls up the game start interface provided by the virtual space server, and transmits the game start request including game data to the virtual space server through the game start interface.
[0201] After receiving the game start request sent by the developer server, the virtual space server first uses the unified OpenAPI to authenticate the game start request. If the authentication fails, the game start result of the game start failure is directly returned. After the OpenAPI authentication is successful, the parameter signature verification is performed on the game start request to verify the legitimacy of the request. If the parameter signature verification fails, the game start result of the game start failure is directly returned; after the parameter signature verification is successful, the game start operation corresponding to the interactive identifier requested in the game start request is executed, and the interactive state corresponding to the interactive identifier is marked as the game start state in the database, and the legitimacy of the game data in the game start request is verified. The game data is sent to the second account terminal through the unified signaling channel of the virtual space. The second account terminal can display the game data in the interactive panel, and the first account terminal can also display the game data in the interactive panel. After completing the game start operation, the virtual space server returns the game start result of the successful game start to the target server. The target server can send the game start result to the first account terminal. The successful start result of the game start indicates that the game start stage has entered, and the second account can participate in the interaction of the game.
[0202] By displaying the game setting information in the interactive panel, the game data set by the first account for the interactive identifier can be obtained. In response to the triggering operation of the first account for the game start button, a game start request including the game data is generated, and the game start request is sent to the target server. The target server calls the data interface of the virtual space server to complete the game start operation, thereby realizing the game start operation of the interactive tool in the virtual space, making it convenient for users in the virtual space to participate in the game interaction of the interactive tool.
[0203] On the basis of the above technical solution, after sending the game start request to the target server, the method further includes:
[0204] receiving update data sent by the virtual space server and displaying the update data, wherein the update data is determined by the target server based on the interaction data corresponding to the interaction identifier and sent to the virtual space server.
[0205] Exemplarily, the data interface includes an interactive data update interface, which is used to update interactive data in the interactive tool. The target server can send an interactive data update request for the interactive tool to the virtual space server by calling the interactive data update interface provided by the virtual space server.
[0206] After the game is started, the second account in the virtual space can participate in the interaction of the interactive tool. The second account terminal can generate interactive messages associated with the interactive tool based on the second account's comments, likes, gifts, etc., or can generate interactive messages associated with the interactive tool based on the second account's interactive operations in the interactive panel. The second account terminal sends the interactive message to the virtual space server; the virtual space server receives the interactive message and sends the interactive message to the interactive message consumer (the account targeted by the interactive message, such as the anchor account of the live broadcast room). The interactive message consumer consumes the interactive message, and the virtual space server locally aggregates and caches the interactive message to obtain interactive data, and pushes the interactive data to the target server through the open platform. For example, if a second account sends a virtual item "beer" once and sends it multiple times in a row, the second account terminal will generate multiple interactive messages. The virtual space server can aggregate these multiple interactive messages into one interactive data and push the aggregated interactive data to the target server through the open platform; after the target server receives the interactive data , perform interactive data calculation, when it is necessary to update the interactive panel data, send an interactive data update request to the virtual space server by calling the interactive data update interface provided by the virtual space server; the virtual space server receives the interactive data update request sent by the target server, first uses the unified OpenAPI to authenticate the interactive data update request, and directly returns the interactive data update result of the failed update if the authentication fails. After the OpenAPI authentication is successful, perform parameter signature verification on the interactive data update request to verify the legitimacy of the request, and directly returns the interactive data update result of the failed update if the verification fails; after the signature verification is successful, perform the interactive data update operation, and send the updated data in the interactive data update request to the second account terminal through the unified signaling channel of the virtual space, and the second account terminal updates the interactive data displayed in the interactive panel based on the updated data. The virtual space server also sends the updated data in the interactive data update request to the first account terminal, and the first account terminal updates the interactive data displayed in the interactive panel based on the updated data.
[0207] By displaying the updated data after receiving it from the virtual space server, it is possible to update the interactive data of the interactive tool in the virtual space based on the interactive message associated with the interactive tool by the second account in the virtual space, so that the first account terminal can display the latest interactive data in a timely manner, making it easier for the first account to understand the interactive data of the interactive tool.
[0208] Based on the above technical solution, the display of the updated data includes:
[0209] Displaying the updated data in an interactive widget in the virtual space; or,
[0210] The updated data is displayed in an interactive panel of the virtual space.
[0211] Figure 8 is a schematic diagram showing the interactive widget in the embodiment of the present disclosure. Figure 8 As shown, in the playback interface of the virtual space, an interactive widget can be displayed in the lower left corner, and updated data of both parties of the interactive tool game can be displayed in the interactive widget.
[0212] Fig. 9 is a schematic diagram showing an interactive panel in an embodiment of the present disclosure, such as Fig. 9 As shown, in the playback interface of the virtual space, an interactive panel is displayed, and updated data of both parties of the interactive tool game are displayed in the interactive panel.
[0213] Taking the lighting tool as an example, the updated data displayed in the interactive widget or interactive panel is the current number of votes for both players.
[0214] When the game is over, the second account terminal displays the game result through the above-mentioned interactive widget or interactive panel.
[0215] By displaying updated data in an interactive widget or interactive panel, the first account can be informed of the current data of both parties in the interactive tool game.
[0216] The second account terminal can also display updated data and final game results through interactive widgets or interactive panels.
[0217] Based on the above technical solution, the operation button includes a game closing button, and the processing request includes a game closing request;
[0218] The step of sending a processing request corresponding to the operation button to a target server in response to the triggering operation of the operation button by the first account includes:
[0219] In response to the triggering operation of the first account on the game closing button, the game closing request is sent to the target server, and the game closing request is used to request the target server to call the data interface of the virtual space server to execute the game closing operation corresponding to the interactive identifier.
[0220] Exemplarily, the data interface includes a game closing interface, which is used to close a game in the interactive tool. The target server can call the game closing interface provided by the virtual space server to send a game closing request for the interactive tool to the virtual space server to execute the game closing operation of the interactive tool.
[0221] When the first account triggers the game closing button in the first account terminal or the game countdown ends, the first account terminal generates a game closing request and sends the game closing request to the target server; after the target server receives the game closing request sent by the first account terminal, it calls the game closing interface provided by the virtual space server and sends the game closing request including the game identifier and the game result to the virtual space server; the virtual space server receives the game closing request sent by the target server through the game closing interface, uses a unified OpenAPI to authenticate the game closing request, and directly returns the game closing result of the game closing failure if the authentication fails. After the OpenAPI authentication succeeds, the parameter signature verification is performed on the game closing request to verify the legitimacy of the request. If the verification fails, the game closing result of the failed game closing is directly returned; after the signature verification succeeds, the virtual space server executes the game closing operation, marks the interactive state corresponding to the interactive identifier in the database as the game closing state, verifies the legitimacy of the game result in the game closing request, and sends the game result to the second account terminal through the virtual space unified signaling channel. The second account terminal can display the game result in the interactive panel, and the first account terminal can also display the game result in the interactive panel (the game result is the final data result of the two parties in the game). After the game result is successfully sent to the second account terminal, the virtual space server returns the game closing result of the successful game closing to the target server, and the target server can send the game closing result to the first account terminal. The game closing result indicates that the current game is closed successfully and enters the game closing stage. In the game closing stage, you can also start a new game or close the interactive tool.
[0222] By triggering the game closing button based on the first account, a game closing request is sent to the target server, and the target server calls the data interface provided by the virtual space server to execute the game closing operation of the interactive tool, thereby realizing the game closing operation of the interactive tool in the virtual space and realizing the closing control of the interactive tool by the first account.
[0223] Based on the above technical solution, the method also includes: in response to the first account triggering an operation of the close button displayed in the interactive panel, sending a close request to the virtual space server, wherein the close request is used to request the virtual space server to execute the interactive tool close operation corresponding to the interactive identifier.
[0224] After the first account clicks the close button of the interactive tool in the interactive tool panel displayed on the first account terminal, the first account terminal sends a close request to the virtual space server in response to the triggering operation of the close button by the first account. The virtual space server receives the close request sent by the first account terminal, and updates the interactive state corresponding to the interactive identifier in the database to a closed state according to the interactive identifier in the close request. At the same time, a close instruction is sent to the second account terminal through the unified signaling channel of the virtual space to notify the second account terminal to close the interactive panel in the virtual space and close the top display of the virtual items associated with the interactive tool.
[0225] By sending a closing request for the interactive tool to the virtual space server based on the triggering operation of the close button by the first account terminal, and closing the interactive tool in the virtual space through the virtual space server, the problem of being unable to close due to problems with the target server (such as network instability, etc.) when the target server controls the closing can be avoided.
[0226] Fig.10 is a schematic diagram of a system for implementing a virtual space interactive tool according to an exemplary embodiment. Fig.10 Taking the live broadcast room as an example, the target server is the developer server. Fig.10 As shown, the anchor triggers the opening of the interactive tool and the game of the interactive tool. The target server corresponding to the interactive tool interacts with the live broadcast open platform server (virtual space server) to open the interactive tool and the game of the interactive tool. The interactive tool is updated to each audience end through a unified signaling channel. The audience can participate in the interaction of the interactive tool. The live broadcast open platform server pushes the interactive data of the audience end to the target server. When the target server determines that the data needs to be updated, it calls the data interface (unified open interface) of the live broadcast open platform server to pass in the update data. The live broadcast open platform server updates the update data to each audience end through a unified signaling channel. The anchor end triggers the end of the game based on the anchor's game closing operation or the end of the countdown. The target server calls the data interface provided by the live broadcast open platform server (virtual space server) to close the game of the interactive tool. The anchor triggers the close button of the interactive tool, and the live broadcast open platform server closes the interactive tool.
[0227] The disclosed embodiment realizes that the anchor side starts the interactive tool, sets the game-related parameters, and starts the game; the audience side of the live broadcast room can display the interactive panel, display the interactive data, and collect the audience interactive data, and transmit it back to the target server through the open platform; the target server calls the data interface, and the live broadcast open platform server calls the interface of the target server and updates the data of the audience-side interactive panel through the unified signaling channel of the live broadcast room, so that the audience-side interactive panel displays the interactive effect of the interactive tool.
[0228] The disclosed embodiments can process interactive tools of different types of live broadcast rooms through a unified data interface and processing system of the live broadcast room, which can effectively improve the efficiency of developers in accessing the interactive tools of the live broadcast room, and at the same time solve the problems of single interactive tools, lack of innovation, insufficient development manpower, etc. on the live broadcast platform side, thus greatly enriching the interactive tool ecology of the live broadcast room.
[0229] Fig.11 is a block diagram of a device for implementing a virtual space interactive tool according to an exemplary embodiment. The device is applied to a virtual space server, referring to Fig.11 The device includes a processing request receiving module 111 and a processing operation executing module 112.
[0230] The processing request receiving module 111 is configured to receive a processing request for an interactive identifier in the virtual space, wherein the interactive identifier is an identifier of an interactive tool in the virtual space, wherein the interactive tool is used to provide an interactive function in the virtual space, wherein the processing request is used to request execution of an interactive phase change process of the interactive tool, wherein the processing request is sent by the target server calling a data interface of the virtual space server based on an operation request of the first account, wherein the target server is used to provide the service of the interactive tool;
[0231] The processing operation execution module 112 is configured to execute the interactive stage change processing operation requested by the processing request, send the interactive tool content corresponding to the processing request to the second account terminal associated with the virtual space, and return the processing result to the target server, the interactive tool content is used to be displayed on the second account terminal, the second account participates in the interaction of the interactive tool based on the interactive tool content, and the processing result represents the interactive stage of the interactive tool after executing the interactive stage change processing.
[0232] Optionally, the processing request includes an opening request, and the opening request is sent based on an opening operation of the interactive tool by the first account in the virtual space;
[0233] The processing operation execution module includes:
[0234] An opening operation execution unit is configured to execute binding between the interactive identifier and the virtual space, and save the interactive state corresponding to the interactive identifier as an opening state in a database;
[0235] a notification message sending unit, configured to execute sending a notification message to the second account terminal, wherein the notification message is used to notify the second account terminal to display the virtual item associated with the interactive tool on the top of the virtual item panel;
[0236] The activation result returning unit is configured to return the activation result to the target server.
[0237] Optionally, the processing request includes a game start request, and the game start request is sent based on a game start operation of the first account on the interactive tool in the virtual space;
[0238] The processing operation execution module includes:
[0239] A game start operation execution unit is configured to execute the game start operation corresponding to the interaction identifier, and update the interaction state corresponding to the interaction identifier in the database to the game start state;
[0240] a game data sending unit, configured to verify the legitimacy of the game data in the game opening request, and send the game data to the second account terminal;
[0241] The game initiation result returning unit is configured to return the game initiation result to the target server.
[0242] Optionally, the processing request includes an interactive data update request;
[0243] The device also includes:
[0244] an interactive data sending module, configured to receive an interactive message for the interactive identifier sent by the second account terminal, determine interactive data according to the interactive message, and send the interactive data to the target server;
[0245] The processing operation execution module includes:
[0246] an update data sending unit, configured to send update data in the interactive data update request to the second account terminal, the interactive data update request being generated by the target server based on the interactive data, the update data being used to be displayed in an interactive panel displayed by the second account terminal;
[0247] The update result returning unit is configured to return the interactive data update result to the target server.
[0248] Optionally, the processing request includes a game closing request, and the game closing request is sent based on game closing information of the first account terminal associated with the virtual space;
[0249] The processing operation execution module includes:
[0250] a game closing operation execution unit, configured to execute the game closing operation corresponding to the interaction identifier, update the interaction state corresponding to the interaction identifier to the game closing state in the database, and send the game result in the game closing request to the second account terminal;
[0251] The game closing result returning unit is configured to return the game closing result to the target server.
[0252] Optionally, the device further comprises:
[0253] The closing operation execution module is configured to execute a closing request for the interactive identifier sent by the first account terminal associated with the virtual space, update the interactive state corresponding to the interactive identifier to a closed state in the database, and send a closing instruction to the second account terminal, wherein the closing instruction is used to instruct the second account terminal to close the interactive panel and close the top display of the virtual items associated with the interactive tool.
[0254] Optionally, the device further comprises:
[0255] A query request receiving module is configured to receive a status query request sent by the target server through a status query interface;
[0256] An interaction status query module is configured to query the interaction status corresponding to the interaction identifier from a database according to the interaction identifier in the status query request;
[0257] The interactive state sending module is configured to send the interactive state to the target server.
[0258] Optionally, the device further comprises:
[0259] The processing request verification module is configured to authenticate the processing request through an open application programming interface specification, and perform parameter signature verification on the processing request after the authentication is passed.
[0260] Fig.12 is a block diagram of a device for implementing a virtual space interactive tool according to an exemplary embodiment. The device is applied to a first account terminal, referring to Fig.12 The device includes a display module 121, a processing request sending module 122 and a processing result receiving module 123.
[0261] The display module 121 is configured to be executed in the playback interface of the virtual space, display an interactive panel, and display an operation button corresponding to an interactive identifier in the interactive panel, wherein the interactive identifier is an identifier of an interactive tool in the virtual space, and the interactive tool is used to provide an interactive function in the virtual space;
[0262] The processing request sending module 122 is configured to execute, in response to the triggering operation of the operation button by the first account, send a processing request corresponding to the operation button to the target server, wherein the processing request is used to request the target server to call the data interface of the virtual space server to perform the interaction stage change processing corresponding to the operation button on the interactive tool, and the target server is used to provide the service of the interactive tool;
[0263] The processing result receiving module 123 is configured to display the processing result in the interactive panel, wherein the processing result represents the interactive stage of the interactive tool after the interactive stage changing process is performed.
[0264] Optionally, the operation button includes an open button, and the processing request includes an open request;
[0265] The display module comprises:
[0266] An activation button display unit is configured to be executed in a playback interface of a virtual space, display an interactive panel, and display the interactive tool and an activation button corresponding to the interactive tool in the interactive panel;
[0267] The processing request sending module includes:
[0268] an initial request sending unit, configured to execute, in response to the triggering operation of the first account on the start button, send an initial start request to the virtual space server, and receive the interaction identifier returned by the virtual space server;
[0269] The start request sending unit is configured to execute a small program for launching the interactive tool, and send a start request including the interactive identifier to the target server through the small program, wherein the start request is used to request the target server to call the data interface of the virtual space server to start the interactive tool.
[0270] Optionally, the operation button includes a game start button, and the processing request includes a game start request;
[0271] The device also includes:
[0272] A game data acquisition module is configured to display the game setting information corresponding to the interactive identifier in the interactive panel, and acquire the game data set by the first account for the interactive identifier through the game setting information;
[0273] The processing request sending module includes:
[0274] The game start request sending unit is configured to execute a triggering operation of the game start button by the first account, and send the game start request to the target server, wherein the game start request is used to request the target server to call the data interface of the virtual space server to execute the game start operation corresponding to the interactive identifier.
[0275] Optionally, the device further comprises:
[0276] The update data display module is configured to receive the update data sent by the virtual space server and display the update data, wherein the update data is determined by the target server based on the interaction data corresponding to the interaction identifier and sent to the virtual space server.
[0277] Optionally, the update data display module includes an update data display unit, and the update data display unit is configured to execute:
[0278] Displaying the updated data in an interactive widget in the virtual space; and / or,
[0279] The updated data is displayed in an interactive panel of the virtual space.
[0280] Optionally, the operation button includes a game closing button, and the processing request includes a game closing request;
[0281] The processing request sending module includes:
[0282] The game closing request sending unit is configured to execute the game closing request to the target server in response to the triggering operation of the game closing button by the first account, and the game closing request is used to request the target server to call the data interface of the virtual space server to execute the game closing operation corresponding to the interactive identifier.
[0283] Optionally, the device further comprises:
[0284] The closing request sending module is configured to execute a closing request to the virtual space server in response to the first account triggering an operation of the closing button displayed in the interactive panel, wherein the closing request is used to request the virtual space server to execute the interactive tool closing operation corresponding to the interactive identifier.
[0285] 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.
[0286] Fig.131 is a block diagram of an electronic device according to an exemplary embodiment. For example, the electronic device 1300 may be provided as a computer, a mobile phone, a server, etc. Fig.13 , the electronic device 1300 includes a processing component 1322, which further includes one or more processors, and a memory resource represented by a memory 1332 for storing instructions executable by the processing component 1322, such as an application. The application stored in the memory 1332 may include one or more modules, each corresponding to a set of instructions. In addition, the processing component 1322 is configured to execute instructions to perform the above-mentioned implementation method of the virtual space interactive tool.
[0287] The electronic device 1300 may also include a power supply component 1326 configured to perform power management of the electronic device 1300, a wired or wireless network interface 1350 configured to connect the electronic device 1300 to a network, and an input / output (I / O) interface 1358. The electronic device 1300 may operate based on an operating system stored in the memory 1332, such as Windows Server™, Mac OS X™, Unix™, Linux™, FreeBSD™ or the like.
[0288] In an exemplary embodiment, a computer-readable storage medium including instructions is also provided, such as a memory 1332 including instructions, and the above instructions can be executed by the processing component 1322 of the electronic device 1300 to complete the implementation method of the above virtual space interactive tool. Optionally, 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.
[0289] In an exemplary embodiment, a computer program product is also provided, including a computer program or a computer instruction, wherein the computer program or the computer instruction implements the above-mentioned method for implementing the virtual space interactive tool when executed by a processor.
[0290] Those skilled in the art will readily appreciate other embodiments of the present disclosure after considering the specification and practicing the invention disclosed herein. This application 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 specification and examples are intended to be exemplary only, and the true scope and spirit of the present disclosure are indicated by the following claims.
[0291] It should be understood that the present invention is not limited to the exact construction that has 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 invention is limited only by the appended claims.
Claims
1. A method for implementing a virtual space interactive tool, characterized in that: Applicable to virtual space servers, including: receiving a processing request for an interactive identifier in a virtual space, wherein the interactive identifier is an identifier of an interactive tool in the virtual space, the interactive tool is used to provide an interactive function in the virtual space, the processing request is used to request execution of an interactive phase change process of the interactive tool, the processing request is sent by a target server calling a data interface of the virtual space server based on an operation request of a first account, and the target server is used to provide a service of the interactive tool; Execute the interactive stage change processing operation requested by the processing request, send the interactive tool content corresponding to the processing request to the second account terminal associated with the virtual space, and return the processing result to the target server, the interactive tool content is used to be displayed on the second account terminal, the second account participates in the interaction of the interactive tool based on the interactive tool content, and the processing result represents the interactive stage of the interactive tool after executing the interactive stage change processing.
2. The method according to claim 1, characterized in that The processing request includes an opening request, and the opening request is sent based on an opening operation of the interactive tool by the first account in the virtual space; The performing of the interactive stage change processing operation requested by the processing request, sending the interactive tool content corresponding to the processing request to the second account terminal associated with the virtual space, and returning the processing result to the target server includes: Binding the interactive identifier to the virtual space, and saving the interactive state corresponding to the interactive identifier as an open state in a database; Sending a notification message to the second account terminal, the notification message being used to notify the second account terminal to display the virtual item associated with the interactive tool on top of the virtual item panel; The opening result is returned to the target server.
3. The method according to claim 1 or 2, characterized in that: The processing request includes a game start request, and the game start request is sent based on a game start operation of the first account on the interactive tool in the virtual space; The performing of the interactive stage change processing operation requested by the processing request, sending the interactive tool content corresponding to the processing request to the second account terminal associated with the virtual space, and returning the processing result to the target server includes: Execute the game start operation corresponding to the interaction identifier, and update the interaction state corresponding to the interaction identifier in the database to the game start state; Verifying the legitimacy of the game data in the game opening request, and sending the game data to the second account terminal; The game opening result is returned to the target server.
4. The method according to claim 1 or 2, characterized in that: The processing request includes an interactive data update request; Before receiving the processing request for the interactive identifier in the virtual space, the method further includes: receiving an interactive message for the interactive identifier sent by the second account terminal, determining interactive data according to the interactive message, and sending the interactive data to the target server; The performing of the interactive stage change processing operation requested by the processing request, sending the interactive tool content corresponding to the processing request to the second account terminal associated with the virtual space, and returning the processing result to the target server includes: sending updated data in the interactive data update request to the second account terminal, the interactive data update request being generated by the target server based on the interactive data, the updated data being used to be displayed in an interactive panel displayed by the second account terminal; The interactive data update result is returned to the target server.
5. The method according to claim 1 or 2, characterized in that: The processing request includes a game closing request, and the game closing request is sent based on game closing information of the first account terminal associated with the virtual space; The performing of the interactive stage change processing operation requested by the processing request, sending the interactive tool content corresponding to the processing request to the second account terminal associated with the virtual space, and returning the processing result to the target server includes: Execute a game closing operation corresponding to the interaction identifier, update the interaction state corresponding to the interaction identifier to a game closing state in the database, and send the game result in the game closing request to the second account terminal; The game closing result is returned to the target server.
6. The method according to claim 1 or 2, characterized in that: Also includes: In response to a closing request for the interactive identifier sent by the first account terminal associated with the virtual space, the interactive state corresponding to the interactive identifier is updated to a closed state in the database, and a closing instruction is sent to the second account terminal, wherein the closing instruction is used to instruct the second account terminal to close the interactive panel and close the top display of the virtual items associated with the interactive tool.
7. The method according to claim 6, characterized in that Also includes: Receiving a status query request sent by the target server through a status query interface; According to the interaction identifier in the status query request, querying the interaction status corresponding to the interaction identifier from a database; The interaction status is sent to the target server.
8. The method according to claim 1 or 2, characterized in that: Before executing the processing operation requested by the processing request, the method further includes: The processing request is authenticated through an open application programming interface specification, and a parameter signature check is performed on the processing request after the authentication is passed.
9. A method for implementing a virtual space interactive tool, characterized in that: Applied to the first account terminal, including: In the playback interface of the virtual space, an interactive panel is displayed, and an operation button corresponding to an interactive identifier is displayed in the interactive panel, wherein the interactive identifier is an identifier of an interactive tool in the virtual space, and the interactive tool is used to provide an interactive function in the virtual space; In response to the triggering operation of the operation button by the first account, a processing request corresponding to the operation button is sent to the target server, the processing request is used to request the target server to call the data interface of the virtual space server to perform the interaction stage change processing corresponding to the operation button on the interactive tool, and the target server is used to provide the service of the interactive tool; The processing result is displayed in the interactive panel, and the processing result represents the interactive stage of the interactive tool after the interactive stage change process is executed.
10. The method according to claim 9, characterized in that The operation button includes an open button, and the processing request includes an open request; The method of displaying an interactive panel in the playback interface of the virtual space and displaying an operation button corresponding to the interactive identifier in the interactive panel includes: In the playback interface of the virtual space, an interactive panel is displayed, and the interactive tool and a start button corresponding to the interactive tool are displayed in the interactive panel; The step of sending a processing request corresponding to the operation button to a target server in response to the triggering operation of the operation button by the first account includes: In response to the triggering operation of the first account on the opening button, sending an initial opening request to the virtual space server, and receiving the interaction identifier returned by the virtual space server; Pull up the applet of the interactive tool, and send an opening request including the interactive identifier to the target server through the applet, wherein the opening request is used to request the target server to call the data interface of the virtual space server to open the interactive tool.
11. The method according to claim 9, characterized in that The operation button includes a game start button, and the processing request includes a game start request; Before sending the processing request corresponding to the operation button to the target server in response to the triggering operation of the operation button by the first account, the method further includes: Displaying the game setting information corresponding to the interactive identifier in the interactive panel, and obtaining the game data set by the first account for the interactive identifier through the game setting information; The step of sending a processing request corresponding to the operation button to a target server in response to the triggering operation of the operation button by the first account includes: In response to the triggering operation of the first account on the game start button, the game start request is sent to the target server, and the game start request is used to request the target server to call the data interface of the virtual space server to execute the game start operation corresponding to the interactive identifier.
12. The method according to claim 11, characterized in that After sending the game start request to the target server, the method further includes: receiving update data sent by the virtual space server and displaying the update data, wherein the update data is determined by the target server based on the interaction data corresponding to the interaction identifier and sent to the virtual space server.
13. The method according to claim 12, characterized in that The displaying of the updated data includes: Displaying the updated data in an interactive widget in the virtual space; and / or, The updated data is displayed in the interactive panel.
14. The method according to claim 9, characterized in that The operation button includes a game closing button, and the processing request includes a game closing request; The step of sending a processing request corresponding to the operation button to a target server in response to the triggering operation of the operation button by the first account includes: In response to the triggering operation of the first account on the game closing button, the game closing request is sent to the target server, and the game closing request is used to request the target server to call the data interface of the virtual space server to execute the game closing operation corresponding to the interactive identifier.
15. The method according to claim 9, characterized in that The method further comprises: In response to the first account triggering an operation of the close button displayed in the interactive panel, a close request is sent to the virtual space server, wherein the close request is used to request the virtual space server to execute an interactive tool close operation corresponding to the interactive identifier.
16. A device for implementing a virtual space interactive tool, characterized in that: Applicable to virtual space servers, including: a processing request receiving module, configured to receive a processing request for an interactive identifier in a virtual space, wherein the interactive identifier is an identifier of an interactive tool in the virtual space, wherein the interactive tool is used to provide an interactive function in the virtual space, wherein the processing request is used to request execution of an interactive phase change process of the interactive tool, wherein the processing request is sent by a target server calling a data interface of the virtual space server based on an operation request of a first account, wherein the target server is used to provide a service of the interactive tool; The processing operation execution module is configured to execute the interactive stage change processing operation requested by the processing request, send the interactive tool content corresponding to the processing request to the second account terminal associated with the virtual space, and return the processing result to the target server, the interactive tool content is used to be displayed on the second account terminal, the second account participates in the interaction of the interactive tool based on the interactive tool content, and the processing result represents the interactive stage of the interactive tool after executing the interactive stage change processing.
17. A device for implementing a virtual space interactive tool, characterized in that: Applied to the first account terminal, including: A display module is configured to be executed in a playback interface of a virtual space, display an interactive panel, and display an operation button corresponding to an interactive identifier in the interactive panel, wherein the interactive identifier is an identifier of an interactive tool in the virtual space, and the interactive tool is used to provide an interactive function in the virtual space; a processing request sending module, configured to execute, in response to a triggering operation of the operation button by the first account, sending a processing request corresponding to the operation button to a target server, wherein the processing request is used to request the target server to call a data interface of a virtual space server to execute an interactive stage change process corresponding to the operation button on the interactive tool, and the target server is used to provide services of the interactive tool; The processing result receiving module is configured to display the processing result in the interactive panel, wherein the processing result represents the interactive stage of the interactive tool after the interactive stage change process is executed.
18. 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 method for implementing the virtual space interaction tool as described in any one of claims 1 to 8 or the method for implementing the virtual space interaction tool as described in any one of claims 9 to 15.
19. A computer-readable storage medium, when the instructions in the computer-readable storage medium are executed by a processor of an electronic device, enables the electronic device to execute the implementation method of the virtual space interaction tool as described in any one of claims 1 to 8 or implement the implementation method of the virtual space interaction tool as described in any one of claims 9 to 15.
Citation Information
Patent Citations
Video cloud platform system, video request processing method, storage medium and processor
CN107547545A
Information interaction method and device, server, user terminal and readable storage medium
CN110113256A
Anchor interaction method and device, computer equipment and storage medium
CN111405304A
Live broadcast interaction method, electronic equipment and system
CN115811622A
Live broadcast interaction method, live broadcast interaction device, storage medium and electronic equipment
CN116761043A
