Data processing method, device, system, storage medium and program product
By delivering target function information to the user end for virtual space initialization in the AB experiment, the problem of low virtual space initialization efficiency was solved, the cost and intrusiveness of iterative development of live broadcast services was reduced, and network resource utilization was improved.
Patent Information
- Application Number
- CN202111276060.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-10-29
- Publication Date
- 2024-09-20
- Estimated Expiration
- 2041-10-29
AI Technical Summary
In the AB experiment, the initialization efficiency of the virtual space was low, resulting in the intrusion of the live broadcast basic technology framework and high code maintenance costs during the iterative process of live broadcast business function development.
When receiving a pull data stream request from the target virtual space, the first live broadcast data stream and connection address corresponding to the target virtual space are delivered to the user end. The user end establishes a connection and obtains virtual space attributes based on the connection address. Determine the target function information corresponding to the virtual space attributes in the functional information, generate initialization signaling, and perform virtual space initialization to avoid transmitting all functional information of irrelevant logic.
It improves the efficiency of virtual space initialization in AB experiments, reduces the intrusion of the basic technology framework and code maintenance costs during the iterative development of live broadcast services, maintains the high performance of live broadcast related interfaces, reduces unnecessary read and write operations, and improves improve the utilization of network resources.
Smart Images

Figure CN114003496B
Abstract
Description
Technical Field
[0001] The present disclosure relates to the technical field of data stream processing, and in particular to a data processing method, device, system, storage medium and program product. Background Art
[0002] AB experiment refers to the use of the idea of controlled variable method to ensure that each product solution is experimented on the same population with the same characteristic distribution at the same time, ensuring that all variables except the solution variables are consistent, so as to determine whether the difference in indicators is caused by different solutions, and then select the winning version to launch full traffic to achieve data growth.
[0003] For the iterative process of live broadcast business function development, it is usually necessary to use AB experiments to distinguish between experimental group users and control group users, so that the experimental group users and the control group users face different virtual space initialization results, so as to determine the better initialization result based on the live broadcast effect.
[0004] Generally speaking, the server can send all the functional information required by the virtual space to the user, so that when the user triggers any function of the virtual space, the virtual space can be initialized based on the specific functional information required in all the functional information. However, in this way, there will be some irrelevant logic in all the functional information obtained, which is easy to affect the initialization efficiency of the virtual space. Summary of the invention
[0005] The present disclosure provides a data processing method, device, system, storage medium and program product to at least solve the problem of low efficiency of virtual space initialization in AB experiments. The technical solution of the present disclosure is as follows:
[0006] According to a first aspect of an embodiment of the present disclosure, there is provided a data processing method, including:
[0007] When receiving a request for pulling a data stream corresponding to the target virtual space, sending a first live data stream corresponding to the target virtual space and a connection address to the user end, the connection address being used for the user end to establish a connection with the connection address;
[0008] Acquire virtual space attributes of the target virtual space based on the connection address;
[0009] Determining target functional information corresponding to the virtual space attribute from the plurality of functional information;
[0010] An initialization signaling is generated according to the target function information and sent to the user terminal. The initialization signaling is used by the user terminal to initialize the target virtual space based on the initialization signaling.
[0011] In a possible implementation, the step of determining target function information corresponding to the virtual space attribute from the multiple types of function information includes:
[0012] Get the user ID in the request to pull the data stream;
[0013] Perform group determination on user identifiers according to experimental determination rules;
[0014] If it is determined that the user identifier belongs to the experimental group, target function information corresponding to the virtual space attribute is determined from the plurality of function information.
[0015] In a possible implementation, an initialization signaling is generated according to the target function information, and the initialization signaling is sent to the user terminal. The initialization signaling is used by the user terminal to initialize the target virtual space based on the initialization signaling. The data processing method further includes:
[0016] A second live data stream corresponding to the target virtual space is sent to the user terminal; wherein the push time of the second live data stream is later than the push time of the first live data stream, and the first live data stream and the second live data stream are data streams belonging to the same target virtual space.
[0017] According to a second aspect of an embodiment of the present disclosure, there is provided a data processing method, including:
[0018] When a virtual space access operation acting on a target virtual space is detected, a data stream pull request is generated according to the target virtual space, and the data stream pull request is sent to a server;
[0019] Obtaining a first live data stream and a connection address corresponding to the target virtual space sent by the server;
[0020] Reporting virtual space attributes of the target virtual space to the server based on the connection address;
[0021] Receive the initialization signaling containing the target function information sent by the server, and initialize the target virtual space according to the initialization signaling; wherein the target function information corresponds to the virtual space attribute.
[0022] In a possible implementation, the step of initializing the target virtual space according to the initialization signaling includes:
[0023] Render the components of the virtual space, the components of the live resource playback window, and the live resources, and display the resource playback interface of the rendered virtual space.
[0024] According to a third aspect of an embodiment of the present disclosure, a data processing system is provided, the data processing system comprising a first user client, a second user client, and a server, wherein:
[0025] The first user client is configured to push a first live data stream corresponding to the target virtual space to the server;
[0026] The second user client is configured to generate a data stream pull request according to the target virtual space when a virtual space access operation acting on the target virtual space is detected, and send the data stream pull request to the server;
[0027] The server is configured to send the first live data stream and the connection address to the second user client;
[0028] The second user client is configured to establish a connection with the connection address;
[0029] The server is configured to obtain virtual space attributes of the target virtual space based on the connection address; determine target function information corresponding to the virtual space attributes from the multiple function information; generate initialization signaling according to the target function information, and send the initialization signaling to the second user client;
[0030] The second user client is configured to execute the initialization signaling sent by the receiving server, and initialize the target virtual space according to the initialization signaling; wherein the target function information corresponds to the virtual space attribute.
[0031] According to a fourth aspect of an embodiment of the present disclosure, there is provided a data processing device, including:
[0032] The data stream sending module is configured to send the first live data stream corresponding to the target virtual space and the connection address to the user end when receiving a request to pull the data stream corresponding to the target virtual space, and the connection address is used for the user end to establish a connection with the connection address;
[0033] A virtual space attribute acquisition module is configured to acquire virtual space attributes of a target virtual space based on a connection address;
[0034] A function information determination module is configured to determine target function information corresponding to the virtual space attribute from a plurality of function information;
[0035] The signaling sending module is configured to generate initialization signaling according to the target function information and send the initialization signaling to the user end. The initialization signaling is used by the user end to initialize the target virtual space based on the initialization signaling.
[0036] In a possible implementation, the function information determination module includes:
[0037] A user identification acquisition unit is configured to execute acquisition of a user identification in a request for pulling a data stream;
[0038] A group determination unit is configured to perform group determination on the user identification according to the experimental determination rule;
[0039] The function information determination unit is configured to determine target function information corresponding to the virtual space attribute from the plurality of function information when determining that the user identifier belongs to the experimental group.
[0040] In a possible implementation, the signaling sending module is also configured to generate an initialization signaling according to the target function information and send the initialization signaling to the user end, and the initialization signaling is used for executing the sending of a second live data stream corresponding to the target virtual space to the user end after the user end initializes the target virtual space based on the initialization signaling; wherein the push time of the second live data stream is later than the push time of the first live data stream, and the first live data stream and the second live data stream are data streams belonging to the same target virtual space.
[0041] According to a fifth aspect of an embodiment of the present disclosure, there is provided a data processing device, including:
[0042] A request sending module is configured to generate a data stream pull request according to the target virtual space when a virtual space access operation acting on the target virtual space is detected, and send the data stream pull request to the server;
[0043] A receiving module is configured to execute acquisition of a first live data stream and a connection address corresponding to a target virtual space sent by a server;
[0044] A reporting module, configured to report the virtual space attributes of the target virtual space to the server based on the connection address;
[0045] The initialization module is configured to execute the initialization signaling containing the target function information sent by the receiving server, and initialize the target virtual space according to the initialization signaling; wherein the target function information corresponds to the virtual space attribute.
[0046] In a possible implementation, the initialization module includes:
[0047] The rendering unit is configured to execute rendering of the components of the virtual space, the components of the live resource playback window, and the live resources, and display the resource playback interface of the virtual space obtained by rendering.
[0048] According to the sixth aspect of an embodiment of the present disclosure, an electronic device is provided, comprising: a processor; a memory for storing instructions executable by the processor; wherein the processor is configured to execute the instructions to implement a method as described in any one of the first aspect or any one of the second aspect.
[0049] According to the seventh aspect of an embodiment of the present disclosure, a computer-readable storage medium is provided. When instructions in the computer-readable storage medium are executed by a processor of an electronic device, the electronic device is enabled to execute any method described in the first aspect or any method described in the second aspect of the embodiment of the present disclosure.
[0050] According to an eighth aspect of an embodiment of the present disclosure, a computer program product is provided, comprising computer instructions, which, when executed by a processor, enable a computer to execute any method described in the first aspect or any method described in the second aspect of an embodiment of the present disclosure.
[0051] The technical solution provided by the embodiments of the present disclosure brings at least the following beneficial effects:
[0052] In the present disclosure, when receiving a pull data stream request corresponding to the target virtual space, the server can send the first live data stream and the connection address corresponding to the target virtual space to the user end. The user end can establish a connection with the connection address and report the virtual space attributes of the target virtual space to the server end through the connection address. Furthermore, the server end can determine the target function information corresponding to the virtual space attributes, and generate an initialization signaling according to the target function information and send it to the user end. The initialization signaling is used by the user end to initialize the target virtual space based on the initialization signaling. In this way, it is possible to avoid obtaining all the function information containing irrelevant logic, strengthen the relationship between the target function information and the virtual space attributes, that is, only transmit the target function information related to its virtual space attributes to the user end. Compared with the prior art of transmitting all the function information to the user end, the efficiency of virtual space initialization in the AB experiment can be improved, the AB experiment can be reduced in the process of iterative development of the live broadcast business. The intrusiveness of the basic technical framework of the live broadcast can be reduced, and the maintenance cost of the code can be reduced. In addition, the high performance of the live broadcast related interface can be maintained based on the target function information, unnecessary read and write operations can be reduced, and the utilization rate of network resources can be improved.
[0053] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS
[0054] The drawings herein are incorporated into and constitute a part of the specification, illustrate embodiments consistent with the present disclosure, and together with the description are used to explain the principles of the present disclosure, and do not constitute improper limitations on the present disclosure.
[0055] Figure 1 It is a schematic diagram of an application environment according to an exemplary embodiment.
[0056] Figure 2 The invention is a flowchart of a data processing method according to an exemplary embodiment.
[0057] Figure 3 The invention is a flowchart of a data processing method according to an exemplary embodiment.
[0058] Figure 4 The invention is an architecture diagram of a data processing system according to an exemplary embodiment.
[0059] Figure 5 It is a sequence diagram of a data processing system according to an exemplary embodiment.
[0060] Figure 6 It is a block diagram of a data processing device according to an exemplary embodiment.
[0061] Figure 7 It is a block diagram of a data processing device according to an exemplary embodiment.
[0062] Figure 8 The invention is a block diagram of an electronic device for sending information according to an exemplary embodiment.
[0063] Fig. 9 It is a block diagram of an electronic device for initializing a virtual space according to an exemplary embodiment. DETAILED DESCRIPTION
[0064] In order to enable ordinary persons in the art to better understand the technical solutions of the present disclosure, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below in conjunction with the accompanying drawings.
[0065] It should be noted that the terms "first", "second", etc. in the specification and claims of the present disclosure and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present disclosure described herein can be implemented in an order other than those illustrated or described herein. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present disclosure. Instead, they are merely examples of devices and methods consistent with some aspects of the present disclosure as detailed in the appended claims.
[0066] See also Figure 1 , Figure 1 is a schematic diagram of an application environment according to an exemplary embodiment. Figure 1 As shown, the application environment may include a server end 01 and a user end 02 .
[0067] In an optional embodiment, when receiving a pull data stream request corresponding to the target virtual space, the server 01 can send the first live data stream corresponding to the target virtual space and the connection address to the user terminal 02, so that the user terminal 02 establishes a connection with the connection address; obtains the virtual space attributes of the target virtual space based on the connection address; determines the target function information corresponding to the virtual space attributes from a variety of function information; generates an initialization signaling according to the target function information, and sends the initialization signaling to the user terminal 02, so that the user terminal 02 initializes the target virtual space based on the initialization signaling and sends the recommendation information initialized according to the feature virtual space to the user terminal 02. Specifically, the server 01 can be an independent physical server, or a server cluster or distributed system composed of multiple physical servers, or a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, CDN (Content Delivery Network), and big data and artificial intelligence platforms.
[0068] In an optional embodiment, when the user terminal 02 detects a virtual space access operation acting on the target virtual space, it can generate a pull data stream request according to the target virtual space, and send the pull data stream request to the server 01; obtain the first live data stream and the connection address corresponding to the target virtual space issued by the server 01; report the virtual space attributes of the target virtual space to the server 01 based on the connection address, so that the server 01 determines the target function information corresponding to the virtual space attribute from a variety of function information; receive the initialization signaling containing the target function information issued by the server 01, and initialize the target virtual space according to the initialization signaling; wherein the target function information corresponds to the virtual space attribute. Specifically, the user terminal 02 can include but is not limited to electronic devices of the type of smart phones, desktop computers, tablet computers, laptops, smart speakers, digital assistants, augmented reality (AR) / virtual reality (VR) devices, smart wearable devices, etc. Optionally, the operating system running on the electronic device can be but is not limited to Android system, IOS system, Linux, Windows, etc.
[0069] In addition, it should be noted that Figure 1 What is shown is merely an application environment of the data processing method provided by the present disclosure in combination with the data processing method.
[0070] In the embodiments of this specification, the server 01 and the user end 02 can be directly or indirectly connected via wired or wireless communication, which is not limited in this disclosure. In order to enable ordinary people in the field to better understand the technical solution of the present disclosure, the technical solution in the embodiments of the present disclosure will be clearly and completely described below in conjunction with the accompanying drawings.
[0071] See also Figure 2 , Figure 2 FIG. 1 is a flow chart of a data processing method according to an exemplary embodiment. Figure 2 As shown, the data processing method may include the following steps.
[0072] In step S200, when a request to pull a data stream corresponding to a target virtual space is received, a first live data stream corresponding to the target virtual space and a connection address are sent to the user end, and the connection address is used for the user end to establish a connection with the connection address.
[0073] In step S202, the virtual space attribute of the target virtual space is obtained based on the connection address.
[0074] In step S204, target function information corresponding to the virtual space attribute is determined from the plurality of types of function information.
[0075] In step S206, an initialization signaling is generated according to the target function information, and the initialization signaling is sent to the user terminal. The initialization signaling is used by the user terminal to initialize the target virtual space based on the initialization signaling.
[0076] In the disclosed embodiment, the target virtual space may be any live room in the live room interface, and the target virtual space corresponds to the request to pull the data stream. When receiving the request to pull the data stream corresponding to the target virtual space, the server may respond to the user end that sent the request to pull the data stream, and pull the first live data stream and the connection address corresponding to the request to pull the data stream. The connection address may be a long chain address generated by one or more servers in the server, and may be represented as a string.
[0077] The first live data stream may be a plurality of continuous data packets uploaded in a time sequence. For example, the first live data stream may be feed stream data, which may be understood as information stream data, and solves the problem of information transmission between information producers and information consumers. The server of the server 01 may store feed stream data of multiple virtual spaces. When a user watches a live video through a live application client (e.g., bilibili APP) installed in a terminal device, the terminal device may obtain the feed stream data from the server, so that after obtaining the feed stream data, the live screen corresponding to the feed stream data may be played in the terminal device.
[0078] It should be noted that feed stream data refers to a type of live streaming data that can directly present the live streaming room that needs to be promoted to the target users in the live streaming application. Promoting the live streaming room through feed stream data can effectively improve the promotion efficiency and promotion effect of the live streaming room. Compared with general live streaming data, feed stream data has the following three characteristics: it shortens the path to watch the live broadcast. By displaying the live streaming room through feed stream data, the real-time screen of the live streaming room can be directly displayed on the live streaming page, which can maximize the flow of traffic to the live streaming room; when promoting the live streaming room, you can flexibly buy traffic according to the targeted group, and you can still suspend the delivery plan after the broadcast, which greatly improves the conversion efficiency of the live streaming; you can directly display the brand account or component on the live streaming page to help the brand account increase fans and convert private domain traffic.
[0079] Furthermore, the server can obtain the virtual space attributes of the target virtual space based on the connection address. The live broadcast room can be regarded as a type of virtual space. The virtual space attributes can be used to describe the attributes of the target live broadcast room. The target live broadcast room can be any live broadcast room in the live broadcast room interface. The target live broadcast room corresponds to the request to pull the data stream. The virtual space attributes may include the host name, virtual space type, category of live broadcast content, etc., which are not limited in the embodiments of the present disclosure; among them, the virtual space type can be used to characterize the virtual space function requested by the user (such as a chat room, etc.).
[0080] Furthermore, the server can compare the virtual space attributes with the virtual space attributes corresponding to the various functional information (for example, the functional information for rendering the chat room of the live broadcast room, the functional information for rendering the comment area of the live broadcast room). If there is functional information in the various functional information that hits the virtual space attributes of the target virtual space, then the functional information can be determined as the target functional information. In addition, it should be noted that the various functional information can correspond to different virtual space attributes, and any functional information in the various functional information can be represented by text or character string; wherein the target functional information is any functional information in the various functional information, and the target functional information corresponds to the virtual space attributes of the target virtual space.
[0081] Furthermore, the server may generate an initialization signaling including target function information, and send the initialization signaling to the user end. The user end may initialize the target virtual space based on the initialization signaling, wherein the initialization signaling may be used to indicate the initialization method of the target virtual space.
[0082] In a possible implementation, the step of determining target function information corresponding to the virtual space attribute from multiple types of function information includes: obtaining a user identifier in a request to pull a data stream; performing group determination on the user identifier according to an experimental determination rule; if the user identifier is determined to belong to the experimental group, determining the target function information corresponding to the virtual space attribute from multiple types of function information. This can facilitate the distinction between users in the experimental group and users in the non-experimental group, and improve the matching between the determined target function information and the user identifier.
[0083] Among them, the server can obtain the user identifier in the request to pull the data stream, and the user identifier can be a user identity mark ((Identity document) ID), and the user identifier is used as a unique identity representation of the user. Based on this, an optional implementation method for grouping the user identifier according to the experimental judgment rule can be: select a target screening expression from the experimental judgment rule according to a predetermined condition, substitute the user ID into the target screening expression, and obtain a calculation result; then, determine the target digital range to which the calculation result belongs (such as, [271897~78957289430]), if the target digital range corresponds to the experimental group, then determine that the user identifier belongs to the experimental group, if the target digital range corresponds to the control group, then determine that the user identifier belongs to the control group; wherein the predetermined conditions may include the judgment trigger time, user basic information (such as gender, age, etc.), virtual space attributes, etc., which are not limited by the present disclosure; the experimental judgment rule may include one or more target screening expressions, and the experimental judgment rule may be used to indicate the screening method of the experimental group users, and the experimental judgment rule may be represented by a string. In addition, it should be noted that the result of group determination may include an experimental group and a control group. Optionally, the result of group determination may also include other groups, which is not limited in the embodiments of the present disclosure.
[0084] For example, if the target screening expression is x / 2=y and the user ID is 24, the server can substitute 24 into x / 2=y to calculate 24 / 2=12=y. Since 12 is in the integer range, it can be determined that the user ID belongs to the experimental group. If the target screening expression is x / 2=y and the user ID is 25, the server can substitute 25 into x / 2=y to calculate 24 / 2=12.5=y. Since 12.5 is not in the integer range, it can be determined that the user ID belongs to the control group.
[0085] In a possible implementation, an initialization signaling is generated according to the target function information, and the initialization signaling is sent to the user end. After the initialization signaling is used by the user end to initialize the target virtual space based on the initialization signaling, the data processing method further includes: sending a second live data stream corresponding to the target virtual space to the user end; wherein the push time of the second live data stream is later than the push time of the first live data stream, and the first live data stream and the second live data stream are data streams belonging to the same target virtual space. In this way, continuous streaming of the target virtual space data can be achieved.
[0086] The push time of each data packet in the second live data stream is later than the push time of each data packet in the first live data stream. The target virtual space is initialized based on the initialization signaling at the user end, and the data stream corresponding to the target virtual space can continue to be received.
[0087] It can be seen that implementation Figure 2 The data processing method shown can avoid obtaining all functional information containing irrelevant logic, strengthen the relationship between the target functional information and the virtual space attributes, that is, only transmit the target functional information related to its virtual space attributes to the user end. Compared with the prior art of transmitting all functional information to the user end, it can improve the efficiency of virtual space initialization in AB experiments, reduce the intrusiveness of AB experiments on the basic technical framework of live broadcast during the iterative development of live broadcast business, and reduce the maintenance cost of code. In addition, it is also possible to maintain the high performance of live broadcast related interfaces based on the target functional information, reduce unnecessary read and write operations, and improve the utilization of network resources.
[0088] See also Figure 3 , Figure 3 FIG. 1 is a flow chart of a data processing method according to an exemplary embodiment. Figure 3 As shown, the data processing method may include the following steps.
[0089] In step S300, when a virtual space access operation acting on a target virtual space is detected, a data stream pull request is generated according to the target virtual space, and the data stream pull request is sent to a server.
[0090] In step S302, a first live data stream and a connection address corresponding to the target virtual space sent by the server are obtained.
[0091] In step S304, the virtual space attributes of the target virtual space are reported to the server based on the connection address.
[0092] In step S306, an initialization signaling including target function information sent by the server is received, and the target virtual space is initialized according to the initialization signaling; wherein the target function information corresponds to the virtual space attribute.
[0093] In the embodiment of the present disclosure, when a virtual space access operation is detected (such as a click operation, a click operation, a touch screen operation, a voice control operation, a gesture control operation, etc., which are not limited in the embodiment of the present disclosure), the terminal device running the user end can pull the first live data stream corresponding to the target virtual space and the connection address (such as the long link address generated by the server) from the server based on the short link address generated by the server. The terminal device running the user end can also report the virtual space attributes of the target virtual space to the server based on the connection address, and the target function information can be used to indicate the initialization method. For example, the target function information can instruct the terminal device to initialize the live broadcast interface to the new version interface / old version interface (that is, the resource playback interface). Furthermore, it is also possible to receive the initialization signaling containing the target function information issued by the server, and initialize the target virtual space according to the initialization signaling; wherein, the target function information corresponds to the virtual space attributes.
[0094] In a possible implementation, the target virtual space is initialized according to the initialization signaling, including: rendering the components of the virtual space, the components of the live resource playback window, and the live resource, and displaying the resource playback interface of the rendered virtual space. This can achieve specific virtual space optimization, avoid mutual interference between multiple functional information, and thus improve the efficiency of target virtual space initialization for experimental group users.
[0095] Among them, the components of the virtual space may include: a virtual space name acquisition component, a live broadcast status acquisition component, an acquisition component virtual space page views acquisition component, a virtual space video address acquisition component, a virtual space video address list acquisition component, a video playback configuration, a virtual space custom menu acquisition component, a virtual space custom advertising column acquisition component, etc., which are not limited by the embodiments of the present disclosure. The live broadcast resource playback window can be used to play live broadcast resources, and the components of the live broadcast resource playback window may include component lines or resolution switching components, etc., which are not limited by the embodiments of the present disclosure. In addition, the live broadcast resource can be a live broadcast screen. It should be noted that the components of the virtual space and the components of the live broadcast resource playback window can be one or more, which are not limited by the embodiments of the present disclosure.
[0096] It can be seen that the implementation Figure 3The data processing method shown can avoid obtaining all functional information containing irrelevant logic, strengthen the relationship between the target functional information and the virtual space attributes, that is, only transmit the target functional information related to its virtual space attributes to the user end. Compared with the prior art of transmitting all functional information to the user end, it can improve the efficiency of virtual space initialization in AB experiments, reduce the intrusiveness of AB experiments on the basic technical framework of live broadcast during the iterative development of live broadcast business, and reduce the maintenance cost of code. In addition, it is also possible to maintain the high performance of live broadcast related interfaces based on the target functional information, reduce unnecessary read and write operations, and improve the utilization of network resources.
[0097] See also Figure 4 , Figure 4 FIG. 1 is an architecture diagram of a data processing system according to an exemplary embodiment. Figure 4 As shown, the data processing system 400 may include: a first user client 410, a second user client 420 and a server 430; wherein the first user client 410 may be a host client, and the second user client 420 may be a viewer client.
[0098] The first user client 410 is configured to push a first live data stream corresponding to the target virtual space to the server 430;
[0099] The second user client 420 is configured to generate a data stream pull request according to the target virtual space when a virtual space access operation acting on the target virtual space is detected, and send the data stream pull request to the server 430;
[0100] The server 430 is configured to send the first live data stream and the connection address to the second user client 420;
[0101] The second user client 420 is configured to establish a connection with the connection address;
[0102] The server 430 is configured to obtain the virtual space attribute of the target virtual space based on the connection address; determine the target function information corresponding to the virtual space attribute from the multiple function information; generate the initialization signaling according to the target function information, and send the initialization signaling to the second user client 420;
[0103] The second user client 420 is configured to execute the initialization signaling sent by the receiving server 430, and initialize the target virtual space according to the initialization signaling; wherein the target function information corresponds to the virtual space attribute.
[0104] Specifically, the first user client 410 can push the first live data stream corresponding to the target virtual space to the content delivery network 431 (Content Delivery Network, CDN) in the server 430, and can also open the live broadcast of the target virtual space / close the live broadcast of the target virtual space through the uplink connection 432 (i.e., the short link address). In the target virtual space, the user can comment / like / send gifts to the live content through the second user client 420, and the second user client 420 can feedback the comment operation / like operation / gift operation to the server 430 through the uplink connection 432. The server 430 can store the data corresponding to the comment operation / like operation / gift operation through the database 434 when receiving the request corresponding to the comment operation / like operation / gift operation. Among them, CDN is an intelligent virtual network built on the basis of the existing network. It relies on edge servers deployed in various places, and through the load balancing, content distribution, scheduling and other functional modules of the central platform, it enables users to obtain the required content nearby, reduce network congestion, and improve user access response speed and hit rate. When the second user client 420 detects a virtual space access operation acting on the target virtual space, it can generate a request to pull a data stream according to the target virtual space, and send the request to pull a data stream to the server 430. The server 430 can control the content distribution network 431 to pull the first live data stream for the second user client 420 and determine the connection address (i.e., long link address) of the matching downlink connection 433 and send it to the second user client 420. Then, the second user client 420 can establish a connection with the connection address. Then, the server 430 can obtain the virtual space attribute of the target virtual space based on the downlink connection 433, determine the target function information corresponding to the virtual space attribute from the multiple function information based on the database 434; generate an initialization signaling according to the target function information, and broadcast the initialization signaling to the second user client 420 based on the downlink connection 433. Then, after receiving the initialization signaling sent by the server 430, the second user client 420 can initialize the target virtual space according to the initialization signaling; wherein the target function information corresponds to the virtual space attribute.
[0105] It can be seen that the implementation Figure 4The data processing system shown can avoid obtaining all functional information containing irrelevant logic, strengthen the relationship between the target functional information and the virtual space attributes, that is, only transmit the target functional information related to its virtual space attributes to the user end. Compared with the prior art of transmitting all functional information to the user end, it can improve the efficiency of virtual space initialization in AB experiments, reduce the intrusiveness of AB experiments to the basic technical framework of live broadcast during the iterative development of live broadcast business, and reduce the maintenance cost of code. In addition, it is also possible to maintain the high performance of live broadcast related interfaces based on the target functional information, reduce unnecessary read and write operations, and improve the utilization of network resources.
[0106] See also Figure 5 , Figure 5 FIG. 1 is a sequence diagram of a data processing system according to an exemplary embodiment. Figure 5 As shown, the sequence diagram may include: step S500 to step S540.
[0107] Step S500: The user terminal accesses the target virtual space.
[0108] Step S510: The server sends the first live data stream and the connection address.
[0109] Step S520: The user terminal establishes a connection with the connection address.
[0110] Step S530: The user terminal obtains the virtual space attributes of the target virtual space based on the connection address, determines the target function information corresponding to the virtual space attributes from the multiple function information, generates initialization signaling according to the target function information, and sends the initialization signaling to the user terminal.
[0111] Step S540: The server sends a second live data stream corresponding to the target virtual space.
[0112] It can be seen that the implementation Figure 5 The sequence diagram shown can avoid obtaining all functional information containing irrelevant logic, strengthen the relationship between target functional information and virtual space attributes, that is, only transmit target functional information related to its virtual space attributes to the user end. Compared with the prior art of transmitting all functional information to the user end, it can improve the efficiency of virtual space initialization in AB experiments, reduce the intrusiveness of AB experiments to the basic technical framework of live broadcast during the iterative development of live broadcast business, and reduce the maintenance cost of code. In addition, it is also possible to maintain the high performance of live broadcast related interfaces based on target functional information, reduce unnecessary read and write operations, and improve the utilization of network resources.
[0113] See also Figure 6 , Figure 6The data processing device 600 may include: a data stream sending module 601 , a virtual space attribute acquisition module 602 , a function information determination module 603 and a signaling sending module 604 .
[0114] The data stream sending module 601 is configured to send the first live data stream corresponding to the target virtual space and the connection address to the user end when receiving a request to pull the data stream corresponding to the target virtual space, and the connection address is used for the user end to establish a connection with the connection address;
[0115] A virtual space attribute acquisition module 602 is configured to acquire virtual space attributes of a target virtual space based on a connection address;
[0116] The function information determination module 603 is configured to determine target function information corresponding to the virtual space attribute from a plurality of function information;
[0117] The signaling sending module 604 is configured to generate an initialization signaling according to the target function information and send the initialization signaling to the user terminal. The initialization signaling is used by the user terminal to initialize the target virtual space based on the initialization signaling.
[0118] In a possible implementation, the function information determination module 603 includes:
[0119] A user identification acquisition unit is configured to execute acquisition of a user identification in a request for pulling a data stream;
[0120] A group determination unit is configured to perform group determination on the user identification according to the experimental determination rule;
[0121] The function information determination unit is configured to determine target function information corresponding to the virtual space attribute from the plurality of function information when determining that the user identifier belongs to the experimental group.
[0122] In one possible implementation, the signaling sending module 604 is also configured to generate an initialization signaling according to the target function information and send the initialization signaling to the user end, and the initialization signaling is used for executing the sending of a second live data stream corresponding to the target virtual space to the user end after the user end initializes the target virtual space based on the initialization signaling; wherein the push time of the second live data stream is later than the push time of the first live data stream, and the first live data stream and the second live data stream are data streams belonging to the same target virtual space.
[0123] It can be seen that the implementation Figure 6The device shown can avoid obtaining all functional information containing irrelevant logic, strengthen the relationship between the target functional information and the virtual space attributes, that is, only transmit the target functional information related to its virtual space attributes to the user end. Compared with the prior art of transmitting all functional information to the user end, it can improve the efficiency of virtual space initialization in AB experiments, reduce the intrusiveness of AB experiments on the basic technical framework of live broadcast during the iterative development of live broadcast business, and reduce the maintenance cost of code. In addition, it is also possible to maintain the high performance of live broadcast related interfaces based on the target functional information, reduce unnecessary read and write operations, and improve the utilization of network resources.
[0124] See also Figure 7 , Figure 7 700 is a block diagram of a data processing device according to an exemplary embodiment. The data processing device 700 may include: a request sending module 701 , a receiving module 702 , a reporting module 703 and an initialization module 704 .
[0125] The request sending module 701 is configured to generate a data stream pull request according to the target virtual space when a virtual space access operation acting on the target virtual space is detected, and send the data stream pull request to the server;
[0126] The receiving module 702 is configured to execute acquiring the first live data stream and the connection address corresponding to the target virtual space sent by the server;
[0127] The reporting module 703 is configured to report the virtual space attributes of the target virtual space to the server based on the connection address;
[0128] The initialization module 704 is configured to execute and receive the initialization signaling containing the target function information sent by the server, and initialize the target virtual space according to the initialization signaling; wherein the target function information corresponds to the virtual space attribute.
[0129] In a possible implementation, the initialization module 704 includes:
[0130] The rendering unit is configured to execute rendering of the components of the virtual space, the components of the live resource playback window, and the live resources, and display the resource playback interface of the virtual space obtained by rendering.
[0131] It can be seen that implementation Figure 7The device shown can avoid obtaining all functional information containing irrelevant logic, strengthen the relationship between the target functional information and the virtual space attributes, that is, only transmit the target functional information related to its virtual space attributes to the user end. Compared with the prior art of transmitting all functional information to the user end, it can improve the efficiency of virtual space initialization in AB experiments, reduce the intrusiveness of AB experiments on the basic technical framework of live broadcast during the iterative development of live broadcast business, and reduce the maintenance cost of code. In addition, it is also possible to maintain the high performance of live broadcast related interfaces based on the target functional information, reduce unnecessary read and write operations, and improve the utilization of network resources.
[0132] Regarding the device in the above embodiment, the specific manner in which each module performs operations has been described in detail in the embodiment of the method, and will not be elaborated here.
[0133] Figure 8 is a block diagram of an electronic device for executing a data processing method according to an exemplary embodiment. The electronic device may be a user terminal, and its internal structure diagram may be as shown in FIG. Figure 8 As shown. The electronic device includes a processor 800, a memory, a network interface 804, a display screen 805 and an input device 806 connected via a system bus. Among them, the processor 800 of the electronic device is used to provide computing and control capabilities. The memory of the electronic device includes a non-volatile storage medium and an internal memory 803. The non-volatile storage medium stores an operating system 801 and a computer program 802. The internal memory 803 provides an environment for the operation of the operating system 801 and the computer program 802 in the non-volatile storage medium. The network interface 804 of the electronic device is used to communicate with an external terminal through a network connection. When the computer program 802 is executed by the processor 800, a data processing method is implemented. The display screen 805 of the electronic device can be a liquid crystal display screen or an electronic ink display screen, and the input device 806 of the electronic device can be a touch layer covered on the display screen 805, or a key, trackball or touchpad set on the housing of the electronic device, or an external keyboard, touchpad or mouse, etc.
[0134] Those skilled in the art will understand that Figure 8 The structure shown in the figure is merely a block diagram of a partial structure related to the scheme of the present disclosure, and does not constitute a limitation on the electronic device to which the scheme of the present disclosure is applied. The specific electronic device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.
[0135] Fig. 9 is a block diagram of an electronic device for executing a data processing method according to an exemplary embodiment. The electronic device may be a server, and its internal structure diagram may be as shown in FIG. Fig. 9 As shown. The electronic device includes a processor 900, a memory and a network interface 804 connected via a system bus. Among them, the processor 900 of the electronic device is used to provide computing and control capabilities. The memory of the electronic device includes a non-volatile storage medium and an internal memory 903. The non-volatile storage medium stores an operating system 901 and a computer program 902. The internal memory 903 provides an environment for the operation of the operating system 901 and the computer program 902 in the non-volatile storage medium. The network interface 804 of the electronic device is used to communicate with an external terminal through a network connection. When the computer program 902 is executed by the processor 900, a data processing method or a data processing method is implemented.
[0136] Those skilled in the art will understand that Fig. 9 The structure shown in the figure is merely a block diagram of a partial structure related to the scheme of the present disclosure, and does not constitute a limitation on the electronic device to which the scheme of the present disclosure is applied. The specific electronic device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.
[0137] In an exemplary embodiment, an electronic device is also provided, including: a processor; a memory for storing instructions executable by the processor; wherein the processor is configured to execute the instructions to implement a data processing method or a data processing method as in the embodiment of the present disclosure.
[0138] In an exemplary embodiment, a computer-readable storage medium is also provided, and when the instructions in the computer-readable storage medium are executed by a processor of an electronic device, the electronic device is enabled to perform the data processing method or data processing method in the embodiment of the present disclosure. The computer-readable storage medium may be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, etc.
[0139] In an exemplary embodiment, a computer program product containing instructions is also provided. When the computer program product is run on a computer, the computer is caused to execute the data processing method or the data processing method in the embodiment of the present disclosure.
[0140] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided by the present disclosure can include non-volatile and / or volatile memory. Non-volatile memory can include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory can include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
[0141] Those skilled in the art will readily appreciate other embodiments of the present disclosure after considering the specification and practicing the invention disclosed herein. The present disclosure is intended to cover any variations, uses or adaptations of the present disclosure that follow the general principles of the present disclosure and include common knowledge or customary techniques in the art that are not disclosed in the present disclosure. The description and examples are to be considered exemplary only, and the true scope and spirit of the present disclosure are indicated by the claims.
[0142] It should be understood that the present disclosure is not limited to the exact structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.
Claims
1. A data processing method, characterized in that: include: When receiving a request for pulling a data stream corresponding to a target virtual space, sending a first live data stream corresponding to the target virtual space and a connection address to a user terminal, wherein the connection address is used for the user terminal to establish a connection with the connection address; Acquire virtual space attributes of the target virtual space based on the connection address; Comparing the virtual space attribute with virtual space attributes corresponding to the plurality of functional information, and determining target functional information corresponding to the virtual space attribute from the plurality of functional information; wherein the target functional information hits functional information of the virtual space attribute of the target virtual space, the plurality of functional information includes functional information for rendering a live broadcast chat room and functional information for rendering a live broadcast comment area, and the virtual space attribute includes a host name, a virtual space type, and a category of live broadcast content; An initialization signaling is generated according to the target function information, and the initialization signaling is sent to the user terminal, where the initialization signaling is used by the user terminal to initialize the target virtual space based on the initialization signaling.
2. The data processing method according to claim 1, characterized in that: The step of determining target function information corresponding to the virtual space attribute from the plurality of function information comprises: Obtaining a user identifier in the request to pull the data stream; Performing group determination on the user identifiers according to experimental determination rules; If it is determined that the user identifier belongs to the experimental group, target function information corresponding to the virtual space attribute is determined from the multiple types of function information.
3. The data processing method according to claim 1 or 2, characterized in that: After the step of generating an initialization signaling according to the target function information and sending the initialization signaling to the user terminal so that the user terminal initializes the target virtual space based on the initialization signaling, the data processing method further includes: A second live data stream corresponding to the target virtual space is sent to the user terminal; wherein the push time of the second live data stream is later than the push time of the first live data stream, and the first live data stream and the second live data stream are data streams belonging to the target virtual space.
4. A data processing method, characterized in that: include: When a virtual space access operation acting on a target virtual space is detected, a data stream pull request is generated according to the target virtual space, and the data stream pull request is sent to a server; Obtaining a first live data stream and a connection address corresponding to the target virtual space issued by the server; The virtual space attribute of the target virtual space is reported to the server based on the connection address; wherein the server is used to compare the virtual space attribute with the virtual space attributes corresponding to the multiple functional information, and determine the target functional information corresponding to the virtual space attribute from the multiple functional information; wherein the target functional information hits the functional information of the virtual space attribute of the target virtual space, the multiple functional information includes functional information for rendering a live broadcast chat room, and functional information for rendering a live broadcast comment area, and the virtual space attribute includes the host name, virtual space type, and category of live broadcast content; Receive an initialization signaling including target function information sent by the server, and initialize the target virtual space according to the initialization signaling; wherein the target function information corresponds to the attribute of the virtual space.
5. The data processing method according to claim 4, characterized in that: The step of initializing the target virtual space according to the initialization signaling includes: Render the components of the virtual space, the components of the live resource playback window, and the live resource, and display the resource playback interface of the virtual space obtained by rendering.
6. A data processing system, characterized in that: The data processing system includes a first user client, a second user client, and a server, wherein: The first user client is configured to push a first live data stream corresponding to the target virtual space to the server; The second user client is configured to generate a data stream pull request according to the target virtual space when a virtual space access operation acting on the target virtual space is detected, and send the data stream pull request to the server; The server is configured to send the first live data stream and the connection address to the second user client; The second user client is configured to establish a connection with the connection address; The server is configured to execute the acquisition of the virtual space attribute of the target virtual space based on the connection address; compare the virtual space attribute with the virtual space attributes corresponding to the multiple functional information, and determine the target functional information corresponding to the virtual space attribute from the multiple functional information; generate an initialization signaling according to the target functional information, and send the initialization signaling to the second user client; wherein the target functional information hits the functional information of the virtual space attribute of the target virtual space, the multiple functional information includes functional information for rendering a live broadcast chat room, and functional information for rendering a live broadcast comment area, and the virtual space attribute includes the host name, virtual space type, and category of live broadcast content; The second user client is configured to receive the initialization signaling sent by the server, and initialize the target virtual space according to the initialization signaling; wherein the target function information corresponds to the virtual space attribute.
7. An information sending device, characterized in that: include: The data stream sending module is configured to send a first live data stream and a connection address corresponding to the target virtual space to the user terminal when receiving a request to pull a data stream corresponding to the target virtual space, wherein the connection address is used for the user terminal to establish a connection with the connection address; A virtual space attribute acquisition module, configured to acquire the virtual space attribute of the target virtual space based on the connection address; a function information determination module, configured to compare the virtual space attribute with virtual space attributes corresponding to a plurality of function information, and determine target function information corresponding to the virtual space attribute from the plurality of function information; wherein the target function information hits the function information of the virtual space attribute of the target virtual space, the plurality of function information includes function information for rendering a live broadcast chat room, function information for rendering a live broadcast comment area, and the virtual space attribute includes a host name, a virtual space type, and a category of live broadcast content; The signaling sending module is configured to generate an initialization signaling according to the target function information and send the initialization signaling to the user terminal, wherein the initialization signaling is used by the user terminal to initialize the target virtual space based on the initialization signaling.
8. The information sending device according to claim 7, characterized in that: The function information determination module includes: A user identification acquisition unit is configured to execute acquisition of the user identification in the request for pulling the data stream; A group determination unit, configured to perform group determination on the user identification according to an experimental determination rule; The function information determination unit is configured to determine target function information corresponding to the attribute of the virtual space from a plurality of types of function information when determining that the user identifier belongs to an experimental group.
9. The information sending device according to claim 7 or 8, characterized in that: The signaling sending module is also configured to generate an initialization signaling according to the target function information and send the initialization signaling to the user end, so that after the user end performs the initialization step of the target virtual space based on the initialization signaling, it executes the sending of a second live data stream corresponding to the target virtual space to the user end; wherein the push time of the second live data stream is later than the push time of the first live data stream, and the first live data stream and the second live data stream are data streams belonging to the same target virtual space.
10. A data processing device, characterized in that: include: A request sending module is configured to generate a data stream pull request according to the target virtual space when a virtual space access operation acting on the target virtual space is detected, and send the data stream pull request to the server; A receiving module is configured to obtain a first live data stream and a connection address corresponding to the target virtual space sent by the server; A reporting module is configured to report the virtual space attributes of the target virtual space to the server based on the connection address; wherein the server is used to compare the virtual space attributes with the virtual space attributes corresponding to the multiple functional information, and determine the target functional information corresponding to the virtual space attributes from the multiple functional information; wherein the target functional information hits the functional information of the virtual space attributes of the target virtual space, the multiple functional information includes functional information for rendering a live broadcast chat room, and functional information for rendering a live broadcast comment area, and the virtual space attributes include a host name, a virtual space type, and a category of live broadcast content; The initialization module is configured to receive an initialization signaling including target function information sent by the server, and initialize the target virtual space according to the initialization signaling; wherein the target function information corresponds to the virtual space attribute.
11. The data processing device according to claim 10, characterized in that: The initialization module comprises: The rendering unit is configured to execute rendering of the components of the virtual space, the components of the live resource playback window, and the live resource, and display the resource playback interface of the virtual space obtained by rendering.
12. 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 data processing method according to any one of claims 1 to 3 and / or the data processing method according to any one of claims 4 to 5.
13. A computer-readable storage medium, 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 data processing method as described in any one of claims 1 to 3 and / or the data processing method as described in any one of claims 4 to 5.
14. A computer program product comprising a computer program / instructions, characterized in that When the computer program / instructions are executed by a processor, the data processing method according to any one of claims 1 to 3 and / or the data processing method according to any one of claims 4 to 5 is implemented.
