Method, device and equipment for implementing virtual space interaction tool and storage medium
By receiving and processing the data interface request of the target server on the virtual space server and executing the phase change operation of the interactive tool, the problem of insufficient diversity of interactive tools on the live broadcast platform is solved, and a richer interactive experience is achieved.
Patent Information
- Application Number
- CN202410764248.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-13
- Publication Date
- 2025-10-10
- Estimated Expiration
- 2044-06-13
AI Technical Summary
In the existing technology, the virtual space interactive tools provided by live broadcast platforms are limited in diversity, lack innovation, and are insufficient in development manpower.
By receiving the processing request sent by the target server based on the data interface of the virtual space server, executing the interactive stage change processing operation, sending the interactive tool content to the terminal associated with the virtual space, and returning the processing result to the target server, the interactive tools provided by the target server are accessed in the virtual space, thereby improving diversity.
It has achieved the diversity of interactive tools in the virtual space and solved the problems of single interactive tools, lack of innovation and insufficient development manpower on the live broadcast platform side.
Smart Images

Figure CN118748727B_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of computer technology, and in particular to a method, apparatus, device, and storage medium for implementing a virtual space interactive tool. Background Art
[0002] The interactive tools in the virtual space provided by live streaming platforms can promote interaction between users. In related technologies, each interactive tool is provided by the live streaming platform and developed by the live streaming platform, resulting in limited diversity of interactive tools. Summary of the Invention
[0003] The present disclosure provides a method, apparatus, device, and storage medium for implementing a virtual space interactive tool to at least address the problem in related technologies where interactive tools are provided by live streaming platforms, resulting in limited diversity. The technical solutions of the present disclosure are 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 interaction identifier within the virtual space, the interaction identifier being an identifier of an interactive tool within the virtual space, the interactive tool being used to provide interactive functions within the virtual space, the processing request being used to request execution of an interaction phase change process for the interactive tool, the processing request being sent by a target server invoking a data interface of the virtual space server based on an operation request from a first account, the target server being used to provide services 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 executing 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, wherein the notification message is used to notify the second account terminal to display the virtual item associated with the interactive tool at the 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 executing 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] Executing a game start operation corresponding to the interaction identifier, and updating the interaction state corresponding to the interaction identifier in the database to a game start state;
[0015] verifying the legitimacy of the game data in the game initiation request, and sending the game data to the second account terminal;
[0016] Return the game start result 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 executing 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, where 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 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 executing 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] Executing a game closing operation corresponding to the interaction identifier, updating the interaction status corresponding to the interaction identifier to a game closing status in a database, and sending the game result in the game closing request to the second account terminal;
[0026] Return the game closing result 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 item 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, query the interaction status corresponding to the interaction identifier from the 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 parameter signature verification 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 a 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 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 the virtual space server to perform an interaction 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;
[0038] The processing result is displayed in the interactive panel, where 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 interactive panel is displayed in the playback interface of the virtual space, and the operation button corresponding to the interactive identifier is displayed in the interactive panel, including:
[0041] In the playback interface of the virtual space, an interactive panel is displayed, wherein the interactive tool and an activation 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 start button by the first account, sending an initial start 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 game setting information corresponding to the interactive identifier in the interactive panel, and obtaining 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 first account triggering 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 perform 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 first account triggering the game close button, the game close request is sent to the target server, and the game close request is used to request the target server to call the data interface of the virtual space server to perform the game close operation corresponding to the interactive identifier.
[0058] Optionally, the method further includes:
[0059] In response to the first account triggering an operation on 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 a close operation of the interactive tool corresponding to the interactive identifier.
[0060] According to a third aspect of the embodiments of the present disclosure, an implementation apparatus of a virtual space interaction tool is provided, applied to a virtual space server, and includes:
[0061] The processing request receiving module is configured to receive a processing request for an interaction identifier in a virtual space, the interaction identifier being an identifier of an interaction tool in the virtual space, the interaction tool being configured to provide an interaction function in the virtual space, the processing request being configured to request an interaction phase change processing of the interaction tool, the processing request being sent by a data interface of the virtual space server based on an operation request of a first account of a target server, the target server being configured to provide a service of the interaction tool;
[0062] The processing operation executing module is configured to execute an interaction phase change processing operation requested by the processing request, send an interaction tool content corresponding to the processing request to a second account terminal associated with the virtual space, and return a processing result to the target server, the interaction tool content being configured to be displayed on the second account terminal, the second account participating in an interaction of the interaction tool based on the interaction tool content, and the processing result representing an interaction phase of the interaction tool after the interaction phase change processing is executed.
[0063] Optionally, the processing request includes an opening request, the opening request being sent based on an opening operation of the first account on the interaction tool in the virtual space;
[0064] The processing operation executing module includes:
[0065] The opening operation executing unit is configured to execute binding of the interaction identifier and the virtual space, and save an interaction state corresponding to the interaction identifier as an opening state in a database;
[0066] The notification message sending unit is configured to execute sending of a notification message to the second account terminal, the notification message being configured to notify the second account terminal to display a virtual item associated with the interaction tool in a virtual item panel on top;
[0067] The opening result returning unit is configured to execute returning of an opening result to the target server.
[0068] Optionally, the processing request includes a session opening request, the session opening request being sent based on a session opening operation of the first account on the interaction tool in the virtual space;
[0069] The processing operation executing module includes:
[0070] a game start operation execution unit, configured to execute the game start operation corresponding to the interaction identifier, and update the interaction state corresponding to the interaction identifier to the game start state in the database;
[0071] a game data sending unit, configured to verify the legitimacy of the game data in the game initiation 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 further comprises:
[0075] an interaction data sending module, configured to receive an interaction message for the interaction identifier sent by the second account terminal, determine interaction data according to the interaction message, and send the interaction data to the target server;
[0076] The processing operation execution module includes:
[0077] an updated data sending unit configured to send 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;
[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 closed 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 includes:
[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 item associated with the interactive tool.
[0085] Optionally, the device further includes:
[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 includes:
[0090] The processing request verification module is configured to authenticate the processing request according to the 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, there is provided a device for implementing a virtual space interactive tool, which is applied to a first account terminal and includes:
[0092] a display module configured to execute in a playback interface of the virtual space, display an interactive panel, and display in the interactive panel an operation button corresponding to an interactive identifier, 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, in response to a triggering operation of the operation button by the first account, send 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 the virtual space server to perform an interaction 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 a 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 includes:
[0097] An activation button display unit is configured to display an interactive panel in a playback interface of the virtual space, wherein the interactive tool and an activation button corresponding to the interactive tool are displayed in the interactive panel;
[0098] The processing request sending module includes:
[0099] an initial request sending unit, configured to send an initial opening request to the virtual space server in response to the triggering operation of the opening button by the first account, and receive the interaction identifier returned by the virtual space server;
[0100] The opening request sending unit is configured to execute a small program to launch the interactive tool, and send the opening request including the interactive identifier to the target server through the small program, 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.
[0101] Optionally, the operation button includes a game start button, and the processing request includes a game start request;
[0102] The device further comprises:
[0103] A game data acquisition module is configured to display game setting information corresponding to the interactive identifier in the interactive panel, and acquire 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 game start request to the target server in response to the triggering operation of the game start button by the first account, 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.
[0106] Optionally, the device further includes:
[0107] The update data display module is configured to receive 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 updated data display module includes an updated data display unit, and the updated 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 a triggering operation of the game closing button by the first account and send the game closing request to the target server, wherein 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 includes:
[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 close 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 the embodiments 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 the 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 implement the implementation method of the virtual space interaction tool as described in the second aspect.
[0121] According to the seventh aspect of the embodiments 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 interactive tool as described in the first aspect or the method for implementing the virtual space interactive tool as described in the second aspect.
[0122] The technical solutions provided by the embodiments of the present disclosure bring at least the following beneficial effects:
[0123] The embodiment of the present disclosure 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 of a call to 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, improving the diversity of interactive tools in the virtual space, and solving problems such as the single interactive tool, 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 disclosure. BRIEF DESCRIPTION OF THE DRAWINGS
[0125] The accompanying 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 an improper limitation of the present disclosure.
[0126] Figure 1 is a flow chart showing 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 flowchart of a method for implementing a virtual space interactive tool according to an exemplary embodiment;
[0133] Figure 8 is a schematic diagram showing an interactive widget in an embodiment of the present disclosure;
[0134] Figure 9 is a schematic diagram showing an interactive panel in an embodiment of the present disclosure;
[0135] Figure 10 is a schematic diagram of an implementation system of a virtual space interactive tool provided according to an exemplary embodiment;
[0136] Figure 11 is a block diagram of an implementation device of a virtual space interactive tool according to an exemplary embodiment;
[0137] Figure 12 is a block diagram of an implementation device of a virtual space interactive tool according to an exemplary embodiment;
[0138] Figure 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 with reference to the accompanying drawings.
[0140] It should be noted that the terms "first," "second," and the like 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 precedence. It should be understood that the numbers used in this manner are interchangeable 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 apparatus and methods consistent with certain 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 providing 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, where 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 the service 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 the platform application (such as a virtual space server) or a server dedicated to the interactive tool in the virtual space. Furthermore, the target server can be a third-party server. The interactive stage is the 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 participation of the second account in the interaction; in the game opening stage, the second account can participate in the interaction and can obtain the second account's interactive data; the game closing stage represents the end of a game, in which the results of the game can be displayed; the interactive tool closing stage represents the closed state of the interactive tool.
[0144] Based on the first account's request for an operation on an interactive identifier within the virtual space (e.g., opening an interactive tool, starting a game, closing a game, closing an interactive tool, etc.), the target server generates a processing request and calls the virtual space server's data interface to send the processing request to the virtual space server. The virtual space server receives the processing request for the interactive identifier within the virtual space sent by the target server via the data interface. The first account is the account that controls the operating status of the virtual space (e.g., opening or closing the virtual space). For example, in the case of a live broadcast room, the first account can be the host's 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 to be displayed on the second account terminal, and the second account participates in the interaction of the interactive tool based on the interactive tool content. The processing result represents the interactive stage of the interactive tool after the interactive stage change processing is executed.
[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 updates 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 activation stage, or 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, the method further 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, and realizes the 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 first account's opening operation of the interactive tool in the virtual space;
[0151] The executing 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 status 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 at the top of the virtual item panel; and returning the opening result to the target server.
[0152] For example, the virtual space server may receive the activation request for the interactive tool sent by the target server through an activation interface. The activation interface may be an interface among data interfaces provided by the virtual space server to the target server, for activating 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 opened 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 opened and trigger the 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 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 passes the interactive identifier to the applet. The applet sends an opening request for the interactive tool to the target server. The target server calls up the opening interface provided by the virtual space server based on the opening request and sends the opening request to the virtual space server through the opening interface. The opening request includes information such as the interactive identifier and the top virtual item. The virtual space server receives the opening 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 will be 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 will be 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 started. 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 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 will return 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 interactive tool provided by the target server is opened in the virtual space, and preparations are made for users to participate in the interaction of the interactive tool, so that the first account can 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 first account's game start operation on the interactive tool in the virtual space;
[0156] 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: executing the game start operation corresponding to the interactive identifier, updating the interactive status corresponding to the interactive identifier in the database to the game start status; 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] For example, the virtual space server may receive a game start request for the interactive tool from the target server via 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 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 the 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 the game start request including the game data to the target server; the target server calls 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 the unified OpenAPI to authenticate the game start request. If the authentication fails, it directly returns the game start result of the game start failure. After the OpenAPI authentication is successful, the parameter signature of the game start request is verified to verify the legitimacy of the request. If the parameter signature verification fails, the game start result indicating that the game start failed is directly returned. After the parameter signature verification is successful, the game start operation corresponding to the interaction identifier requested in the game start request is executed, and the interaction state corresponding to the interaction identifier is marked as the game start state in the database. The legitimacy of the game data in the game start request is verified, 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 interaction panel, and the first account terminal can also display the game data in the interaction 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 the target server's game start request for the interactive tool and executing the interactive tool's game start operation, the interactive tool provided by the target server is started in the virtual space, 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] For example, the virtual space server may receive an interactive data update request for the interactive tool from the target server via an interactive data update interface. The interactive data update interface may be one of the data interfaces provided by the virtual space server to the target server, for updating interactive data in the interactive tool.
[0164] Figure 4 FIG. 1 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 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; the target server receives the interactive message After the data is updated, interactive data calculation is performed. When the interactive panel data needs to be updated, an interactive data update request is sent to the virtual space server by calling the interactive data update interface provided by the virtual space server. After the virtual space server receives the interactive data update request sent by the target server, it first uses the unified OpenAPI to authenticate the interactive data update request. If the authentication fails, it directly returns the interactive data update result indicating the failed update. After the OpenAPI authentication is successful, the parameter signature of the interactive data update request is verified to verify the legitimacy of the request. If the verification fails, it directly returns the interactive data update result indicating the failed update. 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 updated interactive data update result to the target server. The interactive data update result indicates that the interactive data in the game has been successfully updated, and the interactive data displayed by each account terminal is the latest interactive data.
[0165] By aggregating the interactive messages and sending them 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, thereby realizing the interactive data update operation of the interactive tool provided by the target server in the virtual space, making it easier for users in the virtual space to understand the game interactive data of the interactive tool, and allowing 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 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: executing the game closing operation corresponding to the interactive identifier, updating the interactive status corresponding to the interactive identifier to the game closing status in the database, 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] For example, the virtual space server may receive a game closing request for the interactive tool from the target server via 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 for closing 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 the target server receives the game close request sent by the first account terminal, it calls the game close interface provided by the virtual space server and sends a game close request including the game identifier and the 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, and uses a unified OpenAPI to authenticate the game close request. If the authentication fails, the game close result indicating the game close failure is directly returned. After the OpenAPI authentication succeeds, the parameter signing of the game close request is performed. The name is verified to verify the legitimacy of the request. If the verification fails, the game closing result indicating that the game failed to close is directly returned. After the signature verification is successful, 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). 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 FIG. 1 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, it sends a close instruction 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 the interactive tool due to problems with the target server (such as network instability) 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 the 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 the status query interface provided by the virtual space server, and passes in the 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. Figure 6 As shown, if the interactive status is closed when queried from the database, the closed status is returned to the target server, and the target server closes the interactive tool. If the interactive status is not closed when queried from the database, the target server keeps polling the interactive status.
[0176] By state 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 closed.
[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 the interactive identifier is displayed in the interactive panel. The interactive identifier is the identifier of the 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 start 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 the account that controls the operating status 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.
[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 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 interactive tools in a virtual space. Furthermore, the target server can be a third-party server. The interactive stage is the 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 participation of the second account 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 results 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 , a processing result is displayed in the interactive panel, where the processing result represents the interactive stage of the interactive tool after the interactive stage change process is performed.
[0184] After the target server invokes the virtual space server's data interface to execute the interactive stage change processing operation requested by the processing request, it transmits the processing result returned by the virtual space server 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 of executing the interactive stage change processing on the interactive tool. For example, 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 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 interactive panel is displayed in the playback interface of the virtual space, and the operation button corresponding to the interactive identifier is displayed in the interactive panel, including:
[0188] In the playback interface of the virtual space, an interactive panel is displayed, wherein the interactive tool and an activation 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 start button by the first account, sending an initial start 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 activated by the first account in the virtual space. The first account terminal displays an interactive panel within the virtual space's playback interface. For example, the first account terminal may display the interactive panel in half-screen format, displaying each interactive tool within the interactive panel. The first account can select an interactive tool to activate and trigger the corresponding activation button. Upon receiving the activation operation of the interactive tool by the first account, the first account terminal sends an initial activation request to the virtual space server. The virtual space server returns an interactive identifier for the interactive tool within the virtual space and creates an interaction record corresponding to the interactive identifier in the database. The initial activation request is used to request the filing of the activation of the interactive tool.
[0193] Based on the interactive identifier, the first account terminal launches the mini program of the interactive tool and passes 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. Based on the opening request, the target server calls up the data interface provided by the virtual space server (the data interface can 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 top 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, it directly returns an opening result indicating that the opening failed. After the OpenAPI authentication succeeds, the parameter signature of the opening request is verified to verify the validity of the opening request. Legality, if the verification fails, the opening result of 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, 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 associated with the interactive tool corresponding to the interactive identifier in the virtual item panel is displayed at the top in the virtual space, 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 will return the opening result of successful opening to the target server. Among them, the second account is the account that watches the virtual space and / or participates in the virtual space interaction. 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 through interaction 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 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;
[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] For example, the data interface may include a game start interface for starting a game in the interactive tool. The target server may call the game start interface provided by the virtual space server to send a game start request to 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 triggering operation of 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 authenticates the game start request using a unified OpenAPI. If the authentication fails, the game start result indicating game start failure is directly returned. If the OpenAPI authentication succeeds, the parameter signature of the game start request is checked to verify the legality of the request. If the parameter signature check fails, the game start result indicating game start failure is directly returned. If the parameter signature check succeeds, the game start operation corresponding to the interaction identifier requested in the game start request is performed. The interaction state corresponding to the interaction identifier is marked as a game start state in the database. The legality of the game data in the game start request is checked. The game data is sent to the second account terminal through a unified signaling channel of the virtual space. The second account terminal can display the game data in the interaction panel. The first account terminal can also display the game data in the interaction panel. After completing the game start operation, the virtual space server returns the game start result indicating game start success to the target server. The target server can send the game start result to the first account terminal. The game start result indicating game start success indicates that the game start phase is entered, and the second account can participate in the interaction of the game.
[0202] By displaying the game setting information in the interaction panel, the game data set by the first account for the interaction identifier can be obtained. In response to the trigger operation of the first account for the game start button, a game start request including the game data is generated and sent to the target server. The data interface of the virtual space server is called by the target server to complete the game start operation. The game start operation of the interaction tool in the virtual space is realized, and the user in the virtual space is facilitated to participate in the game interaction of the interaction tool.
[0203] On the basis of the above technical solution, after the game start request is sent to the target server, the method further includes:
[0204] The update data sent by the virtual space server is received and displayed. 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] Illustratively, the data interface includes an interaction data update interface for updating the interaction data in the interaction tool. The target server can send an interaction data update request for the interaction tool to the virtual space server by calling the interaction 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 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, and when the interactive panel data needs to be updated, an 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, and first uses the unified OpenAPI to authenticate the interactive data update request. If the authentication fails, the interactive data update result of the failed update is directly returned. 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. If the verification fails, the interactive data update result of the failed update is directly returned; 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. The virtual space server also sends the updated data in the interactive data update request to the first account terminal. 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, the interactive data of the interactive tool in the virtual space is updated 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 the updated data of both parties of the interactive tool game can be displayed in the interactive widget.
[0212] Figure 9 is a schematic diagram showing the interactive panel in the embodiment of the present disclosure, such as Figure 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 ends, the second account terminal displays the game result through the above-mentioned interactive widget or interactive panel.
[0215] By displaying updated data in the interactive widget or interactive panel, the first account can easily understand 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 close button, and the processing request includes a game close 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 first account triggering the game close button, the game close request is sent to the target server, and the game close request is used to request the target server to call the data interface of the virtual space server to perform the game close 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 for 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 a game closing result indicating that the game closing failed if the authentication fails. After the OpenAPI authentication succeeds, the parameter signature of the game closing request is verified to verify the legitimacy of the request. If the verification fails, the game closing result indicating the game failed to close is directly returned; after the signature verification succeeds, the virtual space server executes the game closing operation, marks the interactive status corresponding to the interactive identifier in the database as the game closing status, 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 indicating that the game was successfully closed 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 has been successfully closed 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 closing 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 first account's triggering operation on the close button. 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 based on the interactive identifier in the close request. At the same time, it sends a close instruction to the second account terminal through the virtual space unified signaling channel 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] Figure 10 is a schematic diagram of an implementation system of a virtual space interactive tool provided according to an exemplary embodiment. Figure 10 Taking the live broadcast room as an example, the target server is the developer server, such as Figure 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 data 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 audience end's interactive data to the target server. When the target server determines that the data needs to be updated, it calls the data interface of the live broadcast open platform server (unified open interface) to pass in the updated data. The live broadcast open platform server updates the updated 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 interaction 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 embodiment 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, and insufficient development manpower on the live broadcast platform side, thereby greatly enriching the interactive tool ecosystem of the live broadcast room.
[0229] Figure 11 This 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 Figure 11 The device includes a processing request receiving module 111 and a processing operation execution module 112.
[0230] The processing request receiving module 111 is configured to receive a processing request for an interaction identifier in the virtual space, wherein the interaction identifier is an identifier of an interactive tool in the virtual space, the interactive tool being used to provide interactive functions in the virtual space, the processing request being used to request execution of an interaction phase change process for the interactive tool, the processing request being sent by a target server calling a data interface of the virtual space server based on an operation request from a first account, the target server being 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, and the second account participates in the interaction of the interactive tool based on the interactive tool content. 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 activation operation execution unit configured to execute binding between the interaction identifier and the virtual space, and save the interaction state corresponding to the interaction identifier as an activation state in a database;
[0235] a notification message sending unit configured to send 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 at 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, configured to execute the game start operation corresponding to the interaction identifier, and update the interaction state corresponding to the interaction identifier to the game start state in the database;
[0240] a game data sending unit, configured to verify the legitimacy of the game data in the game initiation 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 further comprises:
[0244] an interaction data sending module, configured to receive an interaction message for the interaction identifier sent by the second account terminal, determine interaction data according to the interaction message, and send the interaction data to the target server;
[0245] The processing operation execution module includes:
[0246] an updated data sending unit configured to send 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;
[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 closed 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 includes:
[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 item associated with the interactive tool.
[0254] Optionally, the device further includes:
[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 includes:
[0259] The processing request verification module is configured to authenticate the processing request according to the open application programming interface specification, and perform parameter signature verification on the processing request after the authentication is passed.
[0260] Figure 12 This 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 Figure 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 execute 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, sending 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 a processing result in the interactive panel, where the processing result represents the interactive stage of the interactive tool after the interactive stage changing process is executed.
[0264] Optionally, the operation button includes an open button, and the processing request includes an open request;
[0265] The display module includes:
[0266] An activation button display unit is configured to display an interactive panel in a playback interface of the virtual space, wherein the interactive tool and an activation button corresponding to the interactive tool are displayed in the interactive panel;
[0267] The processing request sending module includes:
[0268] an initial request sending unit, configured to send an initial opening request to the virtual space server in response to the triggering operation of the opening button by the first account, and receive the interaction identifier returned by the virtual space server;
[0269] The opening request sending unit is configured to execute a small program to launch the interactive tool, and send the opening request including the interactive identifier to the target server through the small program, 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.
[0270] Optionally, the operation button includes a game start button, and the processing request includes a game start request;
[0271] The device further comprises:
[0272] A game data acquisition module is configured to display game setting information corresponding to the interactive identifier in the interactive panel, and acquire 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 send, in response to a triggering operation of the first account on the game start button, a game start request to the target server, the game start request being used to request the target server to invoke a data interface of a virtual space server to perform a game start operation corresponding to the interactive identifier.
[0275] Optionally, the apparatus further comprises:
[0276] The update data display module is configured to receive update data sent by the virtual space server and display the update data, the update data being determined by the target server based on interactive data corresponding to the interactive identifier and sent to the virtual space server.
[0277] Optionally, the update data display module comprises an update data display unit configured to:
[0278] display the update data in an interactive widget of the virtual space; and / or,
[0279] display the update data in an interactive panel of the virtual space.
[0280] Optionally, the operation button comprises a game close button, and the processing request comprises a game close request.
[0281] The processing request sending module comprises:
[0282] The game close request sending unit is configured to send, in response to a triggering operation of the first account on the game close button, a game close request to the target server, the game close request being used to request the target server to invoke a data interface of a virtual space server to perform a game close operation corresponding to the interactive identifier.
[0283] Optionally, the apparatus further comprises:
[0284] The close request sending module is configured to send, in response to a triggering operation of the first account on a close button displayed in the interactive panel, a close request to the virtual space server, the close request being used to request the virtual space server to perform an interactive tool close operation corresponding to the interactive identifier.
[0285] As to the apparatus in the above-described embodiments, the specific manners in which various modules perform operations have been described in detail in the embodiments of the method, and thus will not be described here in detail.
[0286] Figure 131 is a block diagram of an electronic device according to an exemplary embodiment. For example, the electronic device 1300 can be provided as a computer, a mobile phone, a server, etc. Figure 13 Electronic device 1300 includes a processing component 1322, which further includes one or more processors, and memory resources represented by memory 1332 for storing instructions, such as applications, that can be executed by processing component 1322. The applications stored in memory 1332 may include one or more modules, each corresponding to a set of instructions. Furthermore, processing component 1322 is configured to execute the instructions to perform the aforementioned method for implementing a virtual space interactive tool.
[0287] The electronic device 1300 may further 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 memory 1332 including instructions. The instructions can be executed by processing component 1322 of electronic device 1300 to implement the above-described method for implementing the virtual space interactive tool. Alternatively, the computer-readable storage medium can be ROM, random access memory (RAM), CD-ROM, magnetic tape, floppy disk, optical data storage device, etc.
[0289] In an exemplary embodiment, a computer program product is further provided, including a computer program or computer instructions, which implement the above-mentioned method for implementing the virtual space interactive tool when executed by a processor.
[0290] Other embodiments of the present disclosure will readily occur to those skilled in the art 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 not disclosed herein. The description and examples are to be considered as exemplary only, with the true scope and spirit of the present disclosure being indicated by the following claims.
[0291] It should be understood that the present invention is not limited to the exact construction 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 interaction identifier within the virtual space, the interaction identifier being an identifier of an interactive tool within the virtual space, the interactive tool being used to provide interactive functions within the virtual space, the processing request being used to request execution of an interaction phase change process for the interactive tool, the processing request being sent by a target server invoking a data interface of the virtual space server based on an operation request from a first account, the target server being used to provide services 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 executing 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, wherein the notification message is used to notify the second account terminal to display the virtual item associated with the interactive tool at the 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, wherein 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 executing 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: Executing a game start operation corresponding to the interaction identifier, and updating the interaction state corresponding to the interaction identifier in the database to a game start state; verifying the legitimacy of the game data in the game initiation request, and sending the game data to the second account terminal; Return the game start result 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 executing 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, where 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 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, wherein the game closing request is sent based on game closing information of the first account terminal associated with the virtual space; The executing 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: Executing a game closing operation corresponding to the interaction identifier, updating the interaction status corresponding to the interaction identifier to a game closing status in a database, and sending 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 item 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, query the interaction status corresponding to the interaction identifier from the 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 verification 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 a 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 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 the virtual space server to perform an interaction 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; A processing result is displayed in the interactive panel, where 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 interactive panel is displayed in the playback interface of the virtual space, and the operation button corresponding to the interactive identifier is displayed in the interactive panel, including: In the playback interface of the virtual space, an interactive panel is displayed, wherein the interactive tool and an activation 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 start button by the first account, sending an initial start 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 game setting information corresponding to the interactive identifier in the interactive panel, and obtaining 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 first account triggering 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 perform 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 close button, and the processing request includes a game close 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 first account triggering the game close button, the game close request is sent to the target server, and the game close request is used to request the target server to call the data interface of the virtual space server to perform the game close 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 on 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 a close operation of the interactive tool 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 interaction identifier within the virtual space, wherein the interaction identifier is an identifier of an interactive tool within the virtual space, the interactive tool being used to provide interactive functions within the virtual space, the processing request being used to request execution of an interaction phase change process for the interactive tool, the processing request being sent by a target server invoking a data interface of the virtual space server based on an operation request from a first account, the target server being used to provide services 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, and the second account participates in the interaction of the interactive tool based on the interactive tool content. 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 configured to execute in a playback interface of the virtual space, display an interactive panel, and display in the interactive panel an operation button corresponding to an interactive identifier, 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, in response to a triggering operation of the operation button by the first account, send 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 the virtual space server to perform an interaction 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 a 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 interactive tool according to any one of claims 1 to 8 or the method for implementing the virtual space interactive tool according to 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