Interactive panel information transmission method and client
By receiving and feeding back the operating instructions and change information of the interactive panel in the live broadcast room, and transmitting it according to the preset frequency, the problem of poor user experience is solved, and real-time updates of the interactive panel and smooth operation of strong interactive behaviors are realized.
Patent Information
- Application Number
- CN202411020115.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2022-11-01
- Publication Date
- 2024-09-24
AI Technical Summary
Users in the live broadcast room cannot provide real-time feedback on strong interactive behaviors in the interactive panel, such as multiple position changes in the hide-and-seek interactive game, resulting in poor user experience.
By receiving the user's operation command information on the interactive panel, it transmits and feeds back the interactive change information according to the preset frequency, ensuring that the information transmission time interval between the client and the server is consistent, and realizing real-time interactive panel updates.
It improves the user experience, realizes the real-time interaction effect of the interactive panel, and supports the smooth operation of strong interactive behaviors.
Smart Images

Figure CN118694993A
Abstract
Description
[0001] This application is a divisional application of the invention patent application with the application date of November 1, 2022, application number 202211354663.4, and name “Interactive panel information transmission method, first server, client and system”. Technical Field
[0002] The present application relates to the field of live broadcast technology, and in particular to an interactive panel information transmission method and a client. Background Art
[0003] Live broadcast room users participate in the interaction through the interactive panel, which contains various commands, such as bullet screen commands and gift giving commands. Users operate the interactive panel to trigger the corresponding commands to achieve interactive operations. Taking interactive games as an example, users send bullet screen commands in the interactive panel, and the corresponding bullet screen information is displayed as bubbles in the interactive game interface. However, this type of interaction is mostly weak interaction and does not support real-time strong interaction of users. For example, in interactive games of hide-and-seek, users change their positions multiple times in real time. The live broadcast room interface and interactive panel cannot provide real-time feedback based on the multiple changes in user behavior, resulting in a poor user experience. Summary of the invention
[0004] In view of the above problems, embodiments of the present application are proposed to provide an interactive panel information transmission method and a client that overcome the above problems or at least partially solve the above problems.
[0005] According to a first aspect of an embodiment of the present application, a method for transmitting information on an interactive panel is provided, the method comprising:
[0006] Receive operation instruction information, and perform corresponding interactive operations according to the operation instruction information; wherein the operation instruction information is generated based on the user's triggering operation on the interactive panel;
[0007] Feedback the interactive change information generated by the interactive operation to draw and update the interactive panel according to the interactive change information so that the interactive panel presents real-time interactive interaction; wherein the operation instruction information is transmitted at a preset frequency when it is received and the interactive change information is fed back.
[0008] Optionally, feeding back the interactive change information generated by the interactive operation so as to draw and update the interactive panel according to the interactive change information so that the interactive panel presents the real-time interactive interaction further includes:
[0009] The interactive change information generated by the interactive operation is fed back to the second server at a preset frequency, so that the second server can transmit it to the first server at the same preset frequency, so that the first server can draw and update the content of the interactive panel in real time according to the interactive change information, so that the interactive panel can present real-time interactive interaction.
[0010] Optionally, the interactive change information generated by the interactive operation is fed back to the second server at a preset frequency, so that the second server can transparently transmit it to the first server at the same preset frequency, so that the first server can draw and update the content of the interactive panel in real time according to the interactive change information, so that the interactive panel presents real-time interactive interaction. The specific interaction is:
[0011] The interactive change information generated by the interactive operation is fed back to the second server at a preset time interval, so that the second server can transmit it to the first server at the same preset time interval, so that the first server can draw and update the content of the interactive panel in real time according to the interactive change information, so that the interactive panel can present real-time interactive interaction.
[0012] Optionally, the interactive change information generated by the interactive operation is fed back to the second server at a preset frequency, so that the second server transmits it to the first server at the same preset frequency, so that the first server draws and updates the content of the interactive panel in real time according to the interactive change information, so that the interactive panel presents real-time interactive interaction. The interaction further includes:
[0013] The interactive change information generated by the interactive operation is fed back to the second server at a preset frequency, so that the second server can transmit it to the first server at the same preset frequency, so that the first server can draw and update the content of the interactive panel in real time according to the interactive change information, and analyze the continuity of the interactive change information received at the same preset frequency, and supplement or insert frames for the updated content of the interactive panel based on the continuity.
[0014] Optionally, the interactive change information generated by the interactive operation is fed back to the second server at a preset frequency based on an MTQQ long link with the second server.
[0015] Optionally, the operation instruction information is transmitted by the first server via the second server of the interactive scene at a preset frequency; an MTQQ long link is used between the first server and the second server, and the information is transmitted at the same preset frequency.
[0016] Optionally, the operation instruction information includes a moving direction and / or a displacement vector; the moving direction and / or the displacement vector are transmitted by the first server end via the second server end of the interactive scene according to a preset number of frames within a preset time, and the first server end and the second server end are transmitted according to a preset number of frames within the same preset time.
[0017] Optionally, the operation instruction information includes scene instructions and / or location information; the scene instructions and / or location information are transmitted by the first server via the second server of the interactive scene at a preset time interval, and are transmitted between the first server and the second server at the same preset time interval.
[0018] According to a second aspect of an embodiment of the present application, there is provided a client for transmitting interactive panel information, comprising:
[0019] A third receiving module is adapted to receive operation instruction information and perform corresponding interactive operations according to the operation instruction information; wherein the operation instruction information is generated based on a trigger operation of the user on the interactive panel;
[0020] The second transmission module is suitable for feeding back the interactive change information generated by the interactive operation, so as to draw and update the interactive panel according to the interactive change information, so that the interactive panel presents real-time interactive interaction; wherein the operation instruction information is transmitted at a preset frequency when it is received and the interactive change information is fed back.
[0021] According to a third aspect of an embodiment of the present application, there is provided a computing device, comprising: a processor, a memory, a communication interface and a communication bus, wherein the processor, the memory and the communication interface communicate with each other via the communication bus;
[0022] The memory is used to store at least one executable instruction, and the executable instruction enables the processor to execute operations corresponding to the above-mentioned interactive panel information transmission method.
[0023] According to a fourth aspect of an embodiment of the present application, a computer storage medium is provided, wherein at least one executable instruction is stored in the storage medium, and the executable instruction enables a processor to perform operations corresponding to the above-mentioned interactive panel information transmission method.
[0024] According to the interactive panel information transmission method and client provided in the present application, according to the user's triggering operation on the interactive panel, the transmission is based on the long link of MQTT and is performed at the same preset frequency to ensure that the time interval for receiving information is the same or similar to the time interval for sending. The client can perform interactive operations based on the received operation instruction information to make the operation smoother; the interactive panel can update the drawing based on the received interactive change information, presenting real-time interactive effects and improving the user experience.
[0025] The above description is only an overview of the technical solution of the present application. In order to more clearly understand the technical means of the present application, it can be implemented in accordance with the contents of the specification. In order to make the above and other purposes, features and advantages of the present application more obvious and easy to understand, the specific implementation methods of the present application are listed below. BRIEF DESCRIPTION OF THE DRAWINGS
[0026] Various other advantages and benefits will become apparent to those of ordinary skill in the art by reading the detailed description of the preferred embodiments below. The accompanying drawings are only for the purpose of illustrating the preferred embodiments and are not to be considered as limiting the present application. Also, the same reference symbols are used throughout the accompanying drawings to represent the same components. In the accompanying drawings:
[0027] Figure 1A flow chart showing an interactive panel information transmission method according to an embodiment of the present application is shown;
[0028] Figure 2 A flow chart showing an interactive panel information transmission method according to another embodiment of the present application is shown;
[0029] Figure 3 A flow chart showing an interactive panel information transmission method according to another embodiment of the present application is shown;
[0030] Figure 4 A flow chart showing an interactive panel information transmission method according to another embodiment of the present application is shown;
[0031] Figure 5 A schematic diagram of the structure of an interactive panel information transmission device according to an embodiment of the present application is shown;
[0032] Figure 6 A schematic diagram of the structure of a computing device according to an embodiment of the present application is shown;
[0033] Figure 7 A flow chart of the interaction between the first server, the second server and the client is shown. DETAILED DESCRIPTION
[0034] The exemplary embodiments of the present application will be described in more detail below with reference to the accompanying drawings. Although the exemplary embodiments of the present application are shown in the accompanying drawings, it should be understood that the present application can be implemented in various forms and should not be limited by the embodiments set forth herein. On the contrary, these embodiments are provided in order to enable a more thorough understanding of the present application and to fully convey the scope of the present application to those skilled in the art.
[0035] First, the terms involved in one or more embodiments of the present application are explained.
[0036] Interactive panel: Improve the user experience in interactive games in the live broadcast field; add a panel page in the live broadcast room to facilitate user-based panel operations;
[0037] MQTT: Message Queuing Telemetry Transport, a message protocol based on the publish / subscribe paradigm according to the ISO standard (ISO / IEC PRF 20922); it works on the TCP / IP protocol suite and is a publish / subscribe messaging protocol designed for remote devices with low hardware performance and poor network conditions.
[0038] Figure 1 A flow chart of an interactive panel information transmission method according to an embodiment of the present application is shown. Figure 1As shown, the method comprises the following steps:
[0039] Step S101: The first server receives a trigger operation of the user on the interactive panel and obtains corresponding operation instruction information.
[0040] Users of the live broadcast room can watch the interactive scenes of the live broadcast room through the user end. Users can interactively participate in various scenarios of the interactive scenes. An interactive panel is displayed on the user end to facilitate user operation. The first server end of the interactive panel provides a variety of interactive operation options in the interactive panel for users to directly operate. Users can directly issue corresponding operation instruction information by operating the interactive panel, without the need for users to manually enter barrage information, or search for gifts suitable for interactive scenes, etc., which is faster and easier. The operation instruction information can be directly connected to the second server end of the interactive scene, so that the operation instruction information can be directly applied to the second server end of the interactive scene. The corresponding second server end of the interactive scene can directly send the operation instruction information to the interactive scene for interaction. Interactive scenes can include various live broadcast scenes in which users participate in interaction, such as interactive games.
[0041] When the user operates the interactive panel, the first server receives the user's trigger operation on the interactive panel, and can directly obtain the corresponding operation instruction information according to the trigger operation. Here, the first server can pre-set the corresponding operation instruction information of various trigger operations of the interactive panel, which is convenient for direct acquisition. For example, the corresponding event processing logic is pre-set for each interactive option on the interactive panel, and the first server can obtain the operation instruction information corresponding to the trigger operation according to the event processing logic.
[0042] Step S102, the first server transmits the operation instruction information to the second server of the interactive scene at a preset frequency, and the second server transparently transmits it to the client at the same preset frequency, and the client performs the corresponding interactive operation according to the operation instruction information.
[0043] The information transmission of the interactive panel in this embodiment involves the information transmission between the first server of the interactive panel and the second server of the interactive scene, and between the second server of the interactive scene and the client that displays the interactive scene. Among them, a long link can be used between the first server of the interactive panel and the second server of the interactive scene, and between the second server of the interactive scene and the client that displays the interactive scene. Preferably, an MTQQ long link is used between the first server of the interactive panel and the second server of the interactive scene, and an MTQQ long link is used between the second server of the interactive scene and the client that displays the interactive scene, to ensure the stability of multiple real-time information interactions and information transmission between each other, without the need to re-create a link for each information transmission, and to support multiple real-time information interactions between users and the interactive scene through the interactive panel. The second server is the server of the interactive scene, such as the interactive scene is an interactive game, and the second server is a game server. When the first server and the second server use the MTQQ long link to transmit messages, considering that MQTT is prone to sticky packets for high-frequency information transmission, the time interval between the actual reception of information and the time interval between the sending of information are quite different, resulting in high delay, inability to present real-time interaction, and poor user experience. Based on the above problems, in this embodiment, during transmission, the first server transmits the operation instruction information to the second server of the interactive scene according to the preset frequency, and the second server transmits it to the client according to the same preset frequency, so that the time interval of the operation instruction information received by the client is the same or similar to the time interval when the first server sends it, so that the client can present the interactive operation corresponding to the operation instruction information in real time based on the operation instruction information. When the user performs multiple consecutive trigger operations on the interactive panel, multiple operation instruction information of the consecutive multiple trigger operations are sent to the corresponding second server according to the preset frequency, and are transparently transmitted to the client through the second server to perform interactive operations, thereby realizing strong interactive behavior through the interactive panel, and the client can accurately distinguish each operation instruction information according to the preset frequency, perform interactive operations in a timely manner, present real-time interactive effects to the user, and improve user experience.
[0044] The preset frequency can be set according to the client display effect, such as setting the preset frequency used in transmission according to the fluency of the client to ensure that the client does not freeze when performing interactive operations after receiving the operation instruction information according to the preset frequency. Here, the client is the client that displays the interactive scene. For example, when an interactive game is live broadcast, the client is the anchor end, the anchor end starts the interactive game, and the user operates the interactive panel on the user end. According to the operation instruction information that triggers the interactive panel, the interactive game on the anchor end presents the corresponding interactive operation.
[0045] In step S103, the client feeds back the interactive change information generated by the interactive operation to the second server at the same preset frequency, and the second server transmits it to the first server at the same preset frequency. The first server draws and updates the interactive panel according to the interactive change information so that the interactive panel presents real-time interactive interaction.
[0046] After the client performs an interactive operation according to the operation instruction information triggered by the user, the corresponding interactive change information will be generated, such as an object in the interactive scene of the client moves according to the operation instruction information, and the object movement change information will be generated. The client will correspondingly feed back the interactive change information to the second server at the same preset frequency, and the second server will transparently transmit it to the first server at the same preset frequency. At this time, the time interval of the interactive change information received by the first server is the same as or close to the time interval of sending. The first server updates the interactive panel according to the corresponding drawing of the interactive change information, and the updated interactive panel can present real-time interactive interaction.
[0047] Specifically, the interaction process between the first server, the second server and the client can refer to Figure 7 As shown, long links are used between the first server, the second server and the client. The first server transmits the acquired operation instruction information to the second server, and the second server directly transmits the operation instruction information to the client. The client performs interactive operations based on the operation instruction information. For example, objects in the client move and perform corresponding operations according to the operation instruction information, and transmits the interactive change information generated by the interactive operation to the second server. The second server directly transmits the interactive change information to the first server. The first server draws the interactive panel according to the update corresponding to the interactive change information, and the interactive panel presents the corresponding changes.
[0048] According to the interactive panel information transmission method provided in the present application, based on the user's triggering operation on the interactive panel, the transmission is based on the long link of MQTT and is performed at the same preset frequency to ensure that the time interval for receiving information is the same or similar to the time interval for sending information. The client can perform interactive operations based on the received operation instruction information to make the operation smoother; the interactive panel can update the drawing based on the received interactive change information, presenting real-time interactive effects and improving the user experience.
[0049] Figure 2 A flow chart of an interactive panel information transmission method according to an embodiment of the present application is shown. Figure 2 As shown, the method comprises the following steps:
[0050] Step S201: The first server receives a trigger operation of the user on the interactive panel and obtains corresponding operation instruction information.
[0051] The user's triggering operation on the interactive panel includes triggering the interactive panel with a keyboard, joystick, etc. in the web version of the live broadcast room, or triggering the interactive panel by sliding the touch screen, clicking, etc. in the mobile terminal version of the live broadcast room. According to the triggering operation, the moving direction, displacement vector (moving distance), etc. of the triggering operation are obtained in real time, and the corresponding operation instruction information is determined according to the moving direction, displacement vector, etc.; or, according to the triggering operation, based on the specific position of the triggering operation, the options of the triggering operation, etc., the triggered scene instruction, position information, etc. are determined, and the corresponding operation instruction information is determined according to the scene instruction, position information, etc. Taking the interactive game as an example, the user operates the interactive panel to move to the left twice, and the corresponding conversion is the moving direction is to the left, the displacement vector is 2 moving positions, etc., or the user operates
[0052] The interactive panel triggers the red envelope click instruction, the position is specified as the upper left corner, etc., and the corresponding conversion is the red envelope acquisition instruction, and the accurate position information of the upper left corner is calculated. The above is an example, which is determined according to the interactive scene and the implementation of the interactive panel, and is not limited here. For the triggering operation of the interactive panel, the event processing corresponding to the interactive panel triggering operation can be pre-configured based on the interactive scene and the interactive panel. When the user operates the interactive panel, the corresponding operation instruction information can be directly obtained. The operation instruction information obtained by the first server can be used in the interactive scene to facilitate the direct transparent transmission of the second server.
[0053] Step S202, the first server transmits the operation instruction information to the second server at a preset time interval; the second server transparently transmits the information to the client at the same preset time interval, and the client performs the corresponding interactive operation according to the operation instruction information.
[0054] The first server can transmit the operation instruction information at a preset time interval, such as transmitting the operation instruction information once every 66 milliseconds. The preset time interval can be set according to the implementation situation to ensure timely feedback of the operation instruction information and that the user's naked eye does not freeze when watching. Specifically, if the operation instruction information includes scene instructions and location information, the user's strong interactive operation generates multiple operation instruction information in real time within a period of time. The first server transmits the scene instructions and location information to the second server of the interactive scene at a preset time interval, and the second server transmits it to the client at the same preset time interval. The client can perform the interactive operation of the scene instruction at the corresponding position according to the scene instruction and location information. For example, if the scene instruction is a click instruction, the location information corresponds to the red envelope location, and the client presents the operation of the red envelope being clicked to open, etc. Alternatively, the operation instruction information includes a moving direction, a displacement vector, etc. The first server transmits the moving direction and the displacement vector to the second server of the interactive scene according to a preset number of frames within a preset time, such as transmitting 15 displacement vectors per second, that is, transmitting one displacement vector every 66 milliseconds. The second server transparently transmits the information to the client according to the preset number of frames within the same preset time. The client moves accordingly according to the moving direction and the displacement vector, or triggers corresponding interactive operations during movement, such as if the interactive scene is a hide-and-seek interactive game, an object in the client moves according to the moving direction and the displacement vector, and searches for hidden objects during movement, etc. The above interactive operations are exemplified, and are specifically set according to the interactive scene and the interactive panel, and are not limited here.
[0055] In step S203, the client transmits the interactive change information generated by the interactive operation to the second server at the same preset time interval; the second server transmits it to the first server at the same preset time interval, and the first server draws and updates the interactive panel according to the interactive change information so that the interactive panel presents real-time interactive interaction.
[0056] After the client performs interactive operations according to the operation instruction information, the interactive change information generated is fed back to the second server at the same preset time interval, and the second server transmits it to the first server at the same preset time interval. After receiving the interactive change information returned at the preset time interval, the first server draws and updates the content of the interactive panel in real time according to the interactive change information, such as updating the remaining number of red envelopes in the interactive panel, the number of red envelopes obtained, etc., and updating the number of hidden objects, the number of found objects, etc., so that the interactive panel presents real-time interactive interaction.
[0057] Step S204: the first server analyzes the continuity of the interactive change information received at a preset frequency, and performs frame addition or interpolation on the updated content of the interactive panel based on the continuity.
[0058] In order to further make the content displayed by the interactive panel more connected and the operation display more smooth, the first server can analyze the interactive change information received at the preset frequency, according to the continuity of the interactive change information, such as analyzing that the received multiple interactive change information is a certain object moving in a straight line to the left, and correspondingly update the movement direction of a certain object in the interactive panel, and according to the continuity of the received multiple interactive change information, add frames or insert frames in the updated content of the interactive panel, such as adding one or more frames of pictures at a certain position in the left moving route to avoid the moving distance between the previous and next pictures being too large, and the addition makes the display effect of the interactive panel smoother, avoiding the problem of the object's teleportation being disconnected, or the object state change process, from the initial state to the final state, according to the continuity of the change determined by the analysis, can add intermediate change states by adding frames or inserting frames to avoid excessive changes before and after, so as to make the change effect smoother. The specific frame addition or frame insertion processing can be set according to the interactive scene to improve the smoothness of the updated content of the interactive panel and further optimize the connection between the updated content.
[0059] According to the interactive panel information transmission method provided by the present application, the first server, the second server and the client use an MQTT long link to transmit messages at preset time intervals. After receiving the moving direction and / or displacement vector in the operation instruction information, the client can perform corresponding movements and / or trigger corresponding interactive operations, or the client performs interactive operations of scene instructions at corresponding positions after receiving scene instructions and / or position information in the operation instruction information, completing multiple interactive operations corresponding to multiple operation instruction information, and realizing strong interactive behavior between the interactive panel and the interactive scene. Furthermore, when the interactive panel is updated and drawn, the intermediate change state of the updated content can be increased by adding frames or inserting frames, thereby improving the smoothness of the updated content of the interactive panel and optimizing the connection between the updated content.
[0060] Figure 3 A flow chart of an interactive panel information transmission method according to an embodiment of the present application is shown. Figure 3 As shown, the method comprises the following steps:
[0061] Step S301, receiving a trigger operation of the user on the interactive panel, and obtaining corresponding operation instruction information.
[0062] Optionally, a real-time trigger operation of the user on the interactive panel is received, and a corresponding moving direction and / or displacement vector is determined according to the trigger operation.
[0063] Optionally, a real-time trigger operation of the user on the interactive panel is received, and a corresponding scene instruction and / or position information is determined according to the trigger operation.
[0064] Step S302, transmitting the operation instruction information to the second server of the interactive scene at a preset frequency, so that the second server can transparently transmit it to the client displaying the interactive scene at the same preset frequency, so that the client performs the corresponding interactive operation according to the operation instruction information.
[0065] Optionally, the operation instruction information is transmitted to the second server at a preset time interval.
[0066] Optionally, the movement direction and / or displacement vector is transmitted to the second server of the interactive scene according to a preset number of frames within a preset time; the second server transmits it to the client according to a preset number of frames within the same preset time, so that the client performs corresponding movements and / or triggers corresponding interactive operations according to the movement direction and / or displacement vector.
[0067] Optionally, scene instructions and / or location information are transmitted to a second server of the interactive scene at a preset time interval; the second server transmits it to the client at the same preset time interval, so that the client performs interactive operations of the scene instructions at a corresponding position according to the scene instructions and / or location information.
[0068] Step S303, receiving the interactive change information generated by the interactive operation returned at the same preset frequency, and drawing and updating the interactive panel according to the interactive change information so that the interactive panel presents real-time interactive interaction; wherein the interactive change information is fed back by the client via the second server at the same preset frequency, and is transmitted between the client and the second server at the same preset frequency.
[0069] Optionally, interactive change information generated by interactive operations returned at preset time intervals is received and an interactive panel is drawn and updated based on the interactive change information so that the interactive panel presents real-time interactive interaction; wherein the interactive change information is fed back by the client via the second server at the same preset time interval, and is transmitted between the client and the second server at the same preset frequency.
[0070] Optionally, this embodiment may further include the following steps:
[0071] Step S304: analyzing the continuity of the interactive change information received at a preset frequency, and performing frame addition or interpolation on the updated content of the interactive panel based on the continuity.
[0072] The above steps are executed on the first server. For details, refer to Figure 1 and Figure 2 The description in the embodiments will not be repeated here.
[0073] Figure 4 A flow chart of an interactive panel information transmission method according to an embodiment of the present application is shown. Figure 4 As shown, the method comprises the following steps:
[0074] Step S401, receiving operation instruction information, and performing corresponding interactive operations according to the operation instruction information; wherein the operation instruction information is generated based on the user's triggering operation on the interactive panel, and the operation instruction information is transmitted by the first server end displaying the interactive panel via the second server end of the interactive scene at a preset frequency; the first server end and the second server end are transmitted at the same preset frequency;
[0075] Optionally, the operation instruction information includes a moving direction and / or a displacement vector; the moving direction and / or the displacement vector are transmitted by the first server end displaying the interactive panel via the second server end of the interactive scene according to a preset number of frames within a preset time, and are transmitted between the first server end and the second server end according to a preset number of frames within the same preset time.
[0076] Optionally, the operation instruction information includes scene instructions and / or location information; the scene instructions and / or location information are transmitted by the first server displaying the interactive panel via the second server of the interactive scene at a preset time interval, and are transmitted between the first server and the second server at the same preset time interval.
[0077] Step S402, the interactive change information generated by the interactive operation is fed back to the second server at the same preset frequency, so that the second server can transparently transmit it to the first server at the same preset frequency, so that the first server can draw and update the interactive panel according to the interactive change information, so that the interactive panel can present real-time interactive interaction.
[0078] Optionally, the interaction change information generated by the interactive operation is transmitted and fed back to the second server at the same preset time interval.
[0079] Optionally, the interactive change information generated by the interactive operation is fed back to the second server at a preset time interval, so that the second server can transmit it to the first server at the same preset time interval, so that the first server can draw and update the content of the interactive panel in real time according to the interactive change information, so that the interactive panel presents real-time interactive interaction.
[0080] The above steps are executed on the client side. For details, refer to Figure 1 and Figure 2 The description in the embodiments will not be repeated here.
[0081] Figure 5 FIG. 1 shows a schematic diagram of the structure of an interactive panel information transmission system provided by an embodiment of the present application. Figure 5 As shown, the interactive panel information transmission system 500 includes a first server 510, a client 520 and a second server 530 of an interactive scene.
[0082] The first server 510 includes:
[0083] The first receiving module 511 is adapted to receive a user's triggering operation on the interactive panel and obtain corresponding operation instruction information;
[0084] The first transmission module 512 is adapted to transmit the operation instruction information to the second server of the interactive scene at a preset frequency, so that the second server can transparently transmit it to the client that displays the interactive scene at the same preset frequency, so that the client can perform the corresponding interactive operation according to the operation instruction information;
[0085] The second receiving module 513 is suitable for receiving interactive change information generated by interactive operations returned at the same preset frequency, and drawing and updating the interactive panel according to the interactive change information so that the interactive panel presents real-time interactive interaction; wherein the interactive change information is fed back by the client via the second server at the same preset frequency, and is transmitted between the client and the second server at the same preset frequency.
[0086] Optionally, the first receiving module 511 is further adapted to: receive a real-time trigger operation of the user on the interactive panel, and determine a corresponding moving direction and / or displacement vector according to the trigger operation.
[0087] Optionally, the first receiving module 511 is further adapted to: receive a user's real-time triggering operation on the interactive panel, and determine a corresponding scene instruction and / or position information according to the triggering operation.
[0088] Optionally, the first transmission module 512 is further adapted to: transmit the operation instruction information to the second server at a preset time interval.
[0089] Optionally, the first transmission module 512 is further adapted to: transmit the moving direction and / or displacement vector to the second server end of the interactive scene according to a preset number of frames within a preset time; the second server end transparently transmits it to the client end according to a preset number of frames within the same preset time, so that the client end performs corresponding movements and / or triggers corresponding interactive operations according to the moving direction and / or displacement vector.
[0090] Optionally, the first transmission module 512 is further adapted to: transmit scene instructions and / or location information to a second server of the interactive scene at a preset time interval; the second server transmits it to the client at the same preset time interval, so that the client performs interactive operations of the scene instructions at a corresponding position according to the scene instructions and / or location information.
[0091] Optionally, the second receiving module 513 is further adapted to: receive interactive change information generated by interactive operations returned at preset time intervals, and draw and update the interactive panel based on the interactive change information, so that the interactive panel presents real-time interactive interaction; wherein the interactive change information is fed back by the client via the second server at the same preset time interval, and is transmitted between the client and the second server at the same preset frequency.
[0092] Optionally, the first server 510 further includes:
[0093] The frame supplementation module 514 is adapted to analyze the continuity of the interactive change information received at a preset frequency, and supplement or insert frames to the updated content of the interactive panel based on the continuity.
[0094] Optionally, an MTQQ long link is used between the first server end of the interactive panel and the second server end of the interactive scene, and an MTQQ long link is used between the second server end of the interactive scene and the client end that displays the interactive scene.
[0095] The client 520 includes:
[0096] The third receiving module 521 is adapted to receive operation instruction information and perform corresponding interactive operations according to the operation instruction information; wherein the operation instruction information is generated based on the user's triggering operation on the interactive panel, and the operation instruction information is transmitted by the first server end displaying the interactive panel via the second server end of the interactive scene at a preset frequency; the first server end and the second server end are transmitted at the same preset frequency;
[0097] The second transmission module 522 is suitable for feeding back the interactive change information generated by the interactive operation to the second server at the same preset frequency, so that the second server can transparently transmit it to the first server at the same preset frequency, so that the first server can draw and update the interactive panel according to the interactive change information, so that the interactive panel can present real-time interactive interaction.
[0098] Optionally, the operation instruction information includes a moving direction and / or a displacement vector; the moving direction and / or the displacement vector are transmitted by the first server end displaying the interactive panel via the second server end of the interactive scene according to a preset number of frames within a preset time, and are transmitted between the first server end and the second server end according to a preset number of frames within the same preset time.
[0099] Optionally, the operation instruction information includes scene instructions and / or location information; the scene instructions and / or location information are transmitted by the first server displaying the interactive panel via the second server of the interactive scene at a preset time interval, and are transmitted between the first server and the second server at the same preset time interval.
[0100] Optionally, the second transmission module 522 is further adapted to: transmit the interaction change information generated by the interaction operation to the second server at the same preset time interval.
[0101] Optionally, the second transmission module 522 is further adapted to: feed back the interactive change information generated by the interactive operation to the second server at a preset time interval, so that the second server can transmit it to the first server at the same preset time interval, so that the first server can draw and update the content of the interactive panel in real time according to the interactive change information, so that the interactive panel presents real-time interactive interaction.
[0102] The description of each module above refers to the corresponding description in the method embodiment and will not be repeated here.
[0103] According to the interactive panel information transmission device provided by the present application, according to the user's triggering operation on the interactive panel, the transmission is based on the long link of MQTT and is transmitted according to the same preset frequency to ensure that the time interval for receiving information is the same or similar to the time interval for sending. The client can perform interactive operations according to the received operation instruction information, making the operation smoother; the interactive panel can update the drawing according to the received interactive change information, presenting real-time interactive effects and improving the user experience.
[0104] The present application also provides a non-volatile computer storage medium, which stores at least one executable instruction, and the executable instruction can execute the interactive panel information transmission method in any of the above method embodiments.
[0105] Figure 6 A schematic diagram of the structure of a computing device according to an embodiment of the present application is shown. The specific embodiment of the present application does not limit the specific implementation of the computing device.
[0106] like Figure 6 As shown, the computing device may include: a processor (processor) 602 , a communications interface (Communications Interface) 604 , a memory (memory) 606 , and a communication bus 608 .
[0107] in:
[0108] The processor 602 , the communication interface 604 , and the memory 606 communicate with each other via a communication bus 608 .
[0109] The communication interface 604 is used to communicate with other devices such as clients or other servers.
[0110] The processor 602 is used to execute the program 610, and specifically can execute the relevant steps in the above-mentioned interactive panel information transmission method embodiment.
[0111] Specifically, the program 610 may include program codes, which include computer operation instructions.
[0112] The processor 602 may be a central processing unit (CPU), or an application-specific integrated circuit (ASIC), or one or more integrated circuits configured to implement the present application. The one or more processors included in the computing device may be processors of the same type, such as one or more CPUs; or processors of different types, such as one or more CPUs and one or more ASICs.
[0113] The memory 606 is used to store the program 610. The memory 606 may include a high-speed RAM memory, and may also include a non-volatile memory (non-volatile memory), such as at least one disk memory.
[0114] The program 610 can be specifically used to enable the processor 602 to execute the interactive panel information transmission method in any of the above-mentioned method embodiments. The specific implementation of each step in the program 610 can refer to the corresponding descriptions in the corresponding steps and units in the above-mentioned interactive panel information transmission embodiment, which will not be repeated here. Those skilled in the art can clearly understand that for the convenience and simplicity of description, the specific working process of the above-mentioned devices and modules can refer to the corresponding process description in the above-mentioned method embodiment, which will not be repeated here.
[0115] The algorithm or display provided here is not inherently related to any specific computer, virtual system or other device. Various general systems can also be used together with the teaching based on this. According to the above description, it is obvious to construct the structure required for this type of system. In addition, the application is not directed to any specific programming language either. It should be understood that various programming languages can be utilized to realize the content of the application described here, and the above description of specific languages is to disclose the preferred embodiment of the application.
[0116] In the description provided herein, a large number of specific details are described. However, it is understood that the embodiments of the present application can be practiced without these specific details. In some instances, well-known methods, structures and techniques are not shown in detail so as not to obscure the understanding of this description.
[0117] Similarly, it should be understood that in order to streamline the present application and help understand one or more of the various inventive aspects, in the above description of the exemplary embodiments of the present application, the various features of the present application are sometimes grouped together into a single embodiment, figure, or description thereof. However, the disclosed method should not be interpreted as reflecting the following intention: the claimed application requires more features than the features clearly stated in each claim. More specifically, as reflected in the claims below, the inventive aspects are less than all the features of the single embodiment disclosed above. Therefore, the claims following the specific embodiment are hereby expressly incorporated into the specific embodiment, wherein each claim itself serves as a separate embodiment of the present application.
[0118] Those skilled in the art will appreciate that the modules in the devices in the embodiments may be adaptively changed and arranged in one or more devices different from the embodiments. The modules or units or components in the embodiments may be combined into one module or unit or component, and in addition they may be divided into a plurality of submodules or subunits or subcomponents. Except that at least some of such features and / or processes or units are mutually exclusive, all features disclosed in this specification (including the accompanying claims, abstracts and drawings) and all processes or units of any method or device disclosed in this manner may be combined in any combination. Unless otherwise expressly stated, each feature disclosed in this specification (including the accompanying claims, abstracts and drawings) may be replaced by an alternative feature providing the same, equivalent or similar purpose.
[0119] In addition, those skilled in the art will appreciate that, although some embodiments herein include certain features included in other embodiments but not other features, the combination of features of different embodiments is meant to be within the scope of the present application and form different embodiments. For example, in the claims below, any one of the claimed embodiments may be used in any combination.
[0120] The various component embodiments of the present application can be implemented in hardware, or in software modules running on one or more processors, or in a combination thereof. It should be understood by those skilled in the art that a microprocessor or digital signal processor (DSP) can be used in practice to implement some or all functions of some or all components of the present application. The present application can also be implemented as a device or apparatus program (e.g., computer program and computer program product) for executing a part or all of the methods described herein. Such a program implementing the present application can be stored on a computer-readable medium, or can have the form of one or more signals. Such a signal can be downloaded from an Internet website, or provided on a carrier signal, or provided in any other form.
[0121] It should be noted that the above embodiments illustrate the present application rather than limit the present application, and that those skilled in the art may design alternative embodiments without departing from the scope of the appended claims. In the claims, any reference symbol between brackets shall not be constructed as a limitation on the claims. The word "comprising" does not exclude the presence of elements or steps not listed in the claims. The word "one" or "an" preceding an element does not exclude the presence of multiple such elements. The present application may be implemented by means of hardware including several different elements and by means of a suitably programmed computer. In a unit claim that lists several devices, several of these devices may be embodied by the same hardware item. The use of the words first, second, and third, etc. does not indicate any order. These words may be interpreted as names. The steps in the above embodiments, unless otherwise specified, should not be understood as limitations on the order of execution.
Claims
1. A method for transmitting information on an interactive panel, wherein: The method comprises: Receive operation instruction information, and perform corresponding interactive operations according to the operation instruction information; wherein the operation instruction information is generated based on a trigger operation of the user on the interactive panel; Feedback the interactive change information generated by the interactive operation to draw and update the interactive panel according to the interactive change information so that the interactive panel presents real-time interactive interaction; wherein the operation instruction information is transmitted at a preset frequency when it is received and the interactive change information is fed back.
2. The method according to claim 1, wherein: The step of feeding back the interactive change information generated by the interactive operation for drawing and updating the interactive panel according to the interactive change information so that the interactive panel presents real-time interactive interaction further includes: The interactive change information generated by the interactive operation is fed back to the second server at a preset frequency, so that the second server can transmit it to the first server at the same preset frequency, so that the first server can draw and update the content of the interactive panel in real time according to the interactive change information, so that the interactive panel can present real-time interactive interaction.
3. The method according to claim 2, wherein: Feedback of the interactive change information generated by the interactive operation to the second server at a preset frequency, so that the second server transmits it to the first server at the same preset frequency, so that the first server draws and updates the content of the interactive panel in real time according to the interactive change information, so that the interactive panel presents real-time interactive interaction, is specifically as follows: The interactive change information generated by the interactive operation is fed back to the second server at a preset time interval, so that the second server can transmit it to the first server at the same preset time interval, so that the first server can draw and update the content of the interactive panel in real time according to the interactive change information, so that the interactive panel can present real-time interactive interaction.
4. The method according to claim 2 or 3, wherein: Feeding back the interactive change information generated by the interactive operation to the second server at a preset frequency, so that the second server transmits it to the first server at the same preset frequency, so that the first server draws and updates the content of the interactive panel in real time according to the interactive change information, so that the interactive panel presents real-time interactive interaction, further includes: The interactive change information generated by the interactive operation is fed back to the second server at a preset frequency, so that the second server can transmit it to the first server at the same preset frequency, so that the first server can draw and update the content of the interactive panel in real time according to the interactive change information, and analyze the continuity of the interactive change information received at the same preset frequency, and supplement or insert frames for the updated content of the interactive panel based on the continuity.
5. The method according to claim 2 or 3, wherein: Feedback of the interactive change information generated by the interactive operation to the second server at a preset frequency is achieved based on the MTQQ long link with the second server.
6. The method according to any one of claims 1 to 5, wherein: The operation instruction information is transmitted by the first server via the second server of the interactive scene at a preset frequency; the first server and the second server use an MTQQ long link and transmit at the same preset frequency.
7. The method according to claim 6, wherein: The operation instruction information includes a moving direction and / or a displacement vector; the moving direction and / or the displacement vector are transparently transmitted by the first server via the second server of the interactive scene according to a preset number of frames within a preset time, and the first server and the second server are transmitted according to a preset number of frames within the same preset time.
8. The method according to claim 6, wherein: The operation instruction information includes scene instructions and / or location information; the scene instructions and / or location information are transparently transmitted by the first server via the second server of the interactive scene at a preset time interval, and the first server and the second server are transmitted at the same preset time interval.
9. A client for interactive panel information transmission, comprising: A third receiving module, adapted to receive operation instruction information and perform a corresponding interactive operation according to the operation instruction information; wherein the operation instruction information is generated based on a trigger operation of the user on the interactive panel; The second transmission module is suitable for feeding back the interactive change information generated by the interactive operation, so as to draw and update the interactive panel according to the interactive change information, so that the interactive panel presents real-time interactive interaction; wherein, the operation instruction information is transmitted according to a preset frequency when it is received and the interactive change information is fed back.
10. A computing device comprising: A processor, a memory, a communication interface and a communication bus, wherein the processor, the memory and the communication interface communicate with each other via the communication bus; The memory is used to store at least one executable instruction, and the executable instruction enables the processor to perform operations corresponding to the interactive panel information transmission method according to any one of claims 1-8.
11. A computer storage medium, wherein at least one executable instruction is stored in the storage medium, and wherein the executable instruction enables a processor to execute an operation corresponding to the interactive panel information transmission method according to any one of claims 1 to 8.
