CN114173146A - Flow configuration method, device, server and storage medium - Google Patents

Flow configuration method, device, server and storage medium Download PDF

Info

Publication number
CN114173146A
CN114173146A CN202111506812.XA CN202111506812A CN114173146A CN 114173146 A CN114173146 A CN 114173146A CN 202111506812 A CN202111506812 A CN 202111506812A CN 114173146 A CN114173146 A CN 114173146A
Authority
CN
China
Prior art keywords
information
payment
aggregation
payment flow
flow
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202111506812.XA
Other languages
Chinese (zh)
Other versions
CN114173146B (en
Inventor
吴霖
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Dajia Internet Information Technology Co Ltd
Original Assignee
Beijing Dajia Internet Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Dajia Internet Information Technology Co Ltd filed Critical Beijing Dajia Internet Information Technology Co Ltd
Priority to CN202111506812.XA priority Critical patent/CN114173146B/en
Publication of CN114173146A publication Critical patent/CN114173146A/en
Application granted granted Critical
Publication of CN114173146B publication Critical patent/CN114173146B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/21Server components or server architectures
    • H04N21/218Source of audio or video content, e.g. local disk arrays
    • H04N21/2187Live feed
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/236Assembling of a multiplex stream, e.g. transport stream, by combining a video stream with other content or additional data, e.g. inserting a URL [Uniform Resource Locator] into a video stream, multiplexing software data into a video stream; Remultiplexing of multiplex streams; Insertion of stuffing bits into the multiplex stream, e.g. to obtain a constant bit-rate; Assembling of a packetised elementary stream
    • H04N21/23608Remultiplexing multiplex streams, e.g. involving modifying time stamps or remapping the packet identifiers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/478Supplemental services, e.g. displaying phone caller identification, shopping application
    • H04N21/4788Supplemental services, e.g. displaying phone caller identification, shopping application communicating with other users, e.g. chatting
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/60Network structure or processes for video distribution between server and client or between remote clients; Control signalling between clients, server and network components; Transmission of management data between server and client, e.g. sending from server to client commands for recording incoming content stream; Communication details between server and client 
    • H04N21/63Control signaling related to video distribution between client, server and network components; Network processes for video distribution between server and clients or between remote clients, e.g. transmitting basic layer and enhancement layers over different transmission paths, setting up a peer-to-peer communication via Internet between remote STB's; Communication protocols; Addressing
    • H04N21/647Control signaling between network components and server or clients; Network processes for video distribution between server and clients, e.g. controlling the quality of the video stream, by dropping packets, protecting content from unauthorised alteration within the network, monitoring of network load, bridging between two different networks, e.g. between IP and wireless
    • H04N21/64723Monitoring of network processes or resources, e.g. monitoring of network load
    • H04N21/64738Monitoring network characteristics, e.g. bandwidth, congestion level
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/60Network structure or processes for video distribution between server and client or between remote clients; Control signalling between clients, server and network components; Transmission of management data between server and client, e.g. sending from server to client commands for recording incoming content stream; Communication details between server and client 
    • H04N21/65Transmission of management data between client and server
    • H04N21/658Transmission by the client directed to the server

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • General Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Computer Security & Cryptography (AREA)
  • Databases & Information Systems (AREA)
  • Information Transfer Between Computers (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The present disclosure relates to the field of internet technologies, and in particular, to a traffic configuration method, an apparatus, a server, and a storage medium. The flow configuration method comprises the following steps: aggregating at least one payment flow information corresponding to a virtual space identifier within a first duration to obtain payment flow aggregation information corresponding to the virtual space identifier, wherein the payment flow information corresponds to a gift corresponding to the virtual space identifier; if a payment flow aggregation information set is obtained within a second time length, overlapping at least one payment flow aggregation information in the payment flow aggregation information set to obtain payment flow overlapping information corresponding to the virtual space identifier; and configuring flow for the virtual space corresponding to the virtual space identifier based on the payment flow superposition information. By adopting the method and the device, the resource allocation pressure can be reduced while the live broadcast interactivity is improved.

Description

Flow configuration method, device, server and storage medium
Technical Field
The present disclosure relates to the field of internet technologies, and in particular, to a traffic configuration method, an apparatus, a server, and a storage medium.
Background
With the development of science and technology, the internet live broadcast scene enriches the information acquisition modes of users, and users can not go out to satisfy the shopping demands of the users. In the internet live broadcast interactive scene, a user can send a red packet by clicking a red packet control on a live broadcast terminal so as to attract audiences to rob the red packet. For example, a user may send a special red packet (e.g., a cross-live room function) on a live terminal, so that the traffic of the live room may be increased, but when the popularity increases, the number of such red packets is large, and the resource pressure is large.
Disclosure of Invention
The present disclosure provides a traffic configuration method, device, server and storage medium, so as to at least solve the problem of large resource pressure during traffic configuration in the related art. The technical scheme of the disclosure is as follows:
according to a first aspect of the embodiments of the present disclosure, there is provided a traffic configuration method, including:
aggregating at least one payment flow information corresponding to a virtual space identifier within a first duration to obtain payment flow aggregation information corresponding to the virtual space identifier, wherein the payment flow information corresponds to a gift corresponding to the virtual space identifier;
if a payment flow aggregation information set is obtained within a second time length, overlapping at least one payment flow aggregation information in the payment flow aggregation information set to obtain payment flow overlapping information corresponding to the virtual space identifier;
and configuring flow for the virtual space corresponding to the virtual space identifier based on the payment flow superposition information.
Optionally, the aggregating at least one payment flow information corresponding to the virtual space identifier within the first duration to obtain payment flow aggregation information includes:
acquiring a payment flow information set corresponding to the virtual space identifier set within a first time period;
acquiring aggregation state information of each payment flow information in the payment flow information set;
acquiring a payment flow information subset in the payment flow information set, wherein the aggregation state information of each payment flow information in the payment flow information subset is non-aggregation state information;
and in the payment flow information subset, acquiring at least one piece of payment flow information corresponding to any virtual space identifier in the virtual space identifier set, and aggregating the at least one piece of payment flow information to obtain payment flow aggregation information corresponding to the virtual space identifier.
Optionally, the aggregating the at least one payment flow information to obtain payment flow aggregation information includes:
adjusting the aggregated state information of the at least one payment pipelining information from the unaggregated state information to aggregated state information.
Optionally, the superimposing at least one payment flow aggregation information in the payment flow aggregation information set to obtain payment flow superimposition information corresponding to the virtual space identifier includes:
when first payment running aggregation information in the payment running aggregation information set is superposed, superposed state information corresponding to each second payment running aggregation information except the first payment running aggregation information in the payment running aggregation information set is obtained;
if the superposition state information indicates that all the second payment flow aggregation information are not in a superposition state, superposing the first payment flow aggregation information to the payment flow superposition information corresponding to the virtual space identifier;
and if the superposition state information indicates that second payment flow aggregation information in a superposition state exists in the second payment flow aggregation information, determining that the second payment flow aggregation information is completely superposed, and superposing the first payment flow aggregation information to the payment flow superposition information corresponding to the virtual space identifier.
Optionally, the obtaining of the superposition state information corresponding to each second payment flow aggregation information in the payment flow aggregation information set except for the first payment flow aggregation information includes:
acquiring a payment flow aggregation information subset except the first payment flow aggregation information in the payment flow aggregation information set, wherein each second payment flow aggregation information in the payment flow aggregation information subset is information which is not completed by superposition;
and acquiring superposition state information corresponding to each second payment flow aggregation information in the payment flow aggregation information subset.
Optionally, the superimposing the at least one payment flow aggregation information to obtain payment flow superimposition information corresponding to the virtual space identifier includes:
acquiring a superposition time point corresponding to first payment flow aggregation information in the at least one payment flow aggregation information;
acquiring a creation time point and a superposition duration of payment flow superposition information corresponding to third payment flow aggregation information, wherein the third payment flow aggregation information is payment flow aggregation information which is completed by superposition and corresponds to the first payment flow aggregation information;
if the superposition time point is within the superposition duration after the creation time point, superposing the first payment running water aggregation information to the payment running water superposition information;
and if the superposition time point does not belong to the superposition duration after the creation time point, re-creating payment pipelining superposition information, and superposing the first payment pipelining aggregation information to the re-created payment pipelining superposition information.
According to a second aspect of the embodiments of the present disclosure, there is provided a traffic configuration apparatus, including:
the information aggregation unit is configured to perform aggregation on at least one piece of payment flow information corresponding to a virtual space identifier within a first duration to obtain payment flow aggregation information corresponding to the virtual space identifier, wherein the payment flow information corresponds to a gift corresponding to the virtual space identifier;
the information superposition unit is configured to superpose at least one payment flow aggregation information in the payment flow aggregation information set if the payment flow aggregation information set is obtained within a second time length, so that payment flow superposition information corresponding to the virtual space identifier is obtained;
and the flow configuration unit is configured to configure the flow for the virtual space corresponding to the virtual space identifier based on the payment flow superposition information.
Optionally, the information aggregation unit includes a set obtaining subunit, an information obtaining subunit, a subset obtaining subunit, and an information aggregation subunit, where the information aggregation unit is configured to perform aggregation on at least one payment flow information corresponding to the virtual space identifier in the first duration, and when the payment flow aggregation information is obtained:
the set acquisition subunit is configured to execute acquisition of a payment flow information set corresponding to the virtual space identifier set within a first time period;
the information acquisition subunit is configured to perform acquisition of aggregation state information of each payment flow information in the payment flow information set;
the subset acquisition subunit is configured to perform acquisition of a payment flow information subset in the payment flow information set, where aggregated state information of each payment flow information in the payment flow information subset is non-aggregated state information;
the information aggregation subunit is configured to execute, in the payment flow information subset, obtaining at least one piece of payment flow information corresponding to any one virtual space identifier in the virtual space identifier set, and aggregating the at least one piece of payment flow information to obtain payment flow aggregation information corresponding to the virtual space identifier.
Optionally, the information aggregation subunit is configured to perform aggregation on the at least one payment flow information, and when obtaining the payment flow aggregation information, specifically perform the following steps:
adjusting the aggregated state information of the at least one payment pipelining information from the unaggregated state information to aggregated state information.
Optionally, the information superposition unit includes a state information obtaining subunit and an aggregation information superposition subunit, where the information superposition unit is configured to perform superposition on at least one payment flow aggregation information in the payment flow aggregation information set to obtain payment flow superposition information corresponding to the virtual space identifier:
the status information acquiring subunit is configured to, when performing superposition on first payment running aggregation information in the payment running aggregation information set, acquire superposition status information corresponding to each second payment running aggregation information in the payment running aggregation information set except the first payment running aggregation information;
the aggregation information superposition subunit is configured to perform superposition of the first payment flow aggregation information to the payment flow superposition information corresponding to the virtual space identifier if the superposition state information indicates that the second payment flow aggregation information is not in a superposition state;
the aggregation information superposition subunit is further configured to execute, if the superposition state information indicates that second payment flow aggregation information in a superposition state exists in the second payment flow aggregation information, determining that superposition of the second payment flow aggregation information is completed, and superposing the first payment flow aggregation information to the payment flow superposition information corresponding to the virtual space identifier.
Optionally, the state information obtaining subunit is configured to, when performing obtaining of the superimposed state information corresponding to each second payment pipeline aggregation information in the payment pipeline aggregation information set except the first payment pipeline aggregation information, specifically perform:
acquiring a payment flow aggregation information subset except the first payment flow aggregation information in the payment flow aggregation information set, wherein each second payment flow aggregation information in the payment flow aggregation information subset is information which is not completed by superposition;
and acquiring superposition state information corresponding to each second payment flow aggregation information in the payment flow aggregation information subset.
Optionally, the information superimposing unit includes a time point obtaining subunit, a superimposing duration obtaining subunit, and an information superimposing subunit, where the information superimposing unit is configured to perform superimposing on the at least one payment flow aggregation information to obtain the payment flow superimposition information corresponding to the virtual space identifier, and includes:
the time point obtaining subunit is configured to perform obtaining of a superposition time point corresponding to first payment pipeline aggregation information in the at least one payment pipeline aggregation information;
the superposition duration acquiring subunit is configured to execute acquisition of a creation time point and a superposition duration of payment flow superposition information corresponding to third payment flow aggregation information, where the third payment flow aggregation information is payment flow aggregation information that is completed by previous superposition and corresponds to the first payment flow aggregation information;
the information superposition subunit is configured to execute superposition of the first payment pipelining aggregation information to the payment pipelining superposition information if the superposition time point belongs to a superposition duration after the creation time point;
the information superposition subunit is further configured to reestablish the payment pipelining superposition information if the superposition time point does not belong to the superposition duration after the creation time point, and superimpose the first payment pipelining aggregation information on the reestablished payment pipelining superposition information.
According to a third aspect of the present application, there is provided a server comprising:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the method of any one of the preceding aspects.
According to a fourth aspect of the present application, there is provided a non-transitory computer readable storage medium having stored thereon computer instructions for causing the computer to perform the method of any one of the preceding aspects.
According to a fifth aspect of the present application, there is provided a computer program product comprising a computer program which, when executed by a processor, implements the method of any of the preceding aspects.
The technical scheme provided by the embodiment of the disclosure at least brings the following beneficial effects:
in some or related embodiments, the payment flow aggregation information corresponding to the virtual space identifier is obtained by aggregating at least one payment flow information corresponding to the virtual space identifier in the first duration, and if the payment flow aggregation information set is obtained in the second duration, at least one payment flow aggregation information in the payment flow aggregation information set is superimposed to obtain payment flow superimposition information corresponding to the virtual space identifier, and the flow of the virtual space corresponding to the virtual space identifier may be configured based on the payment flow superimposition information. Because the payment flow information corresponds to the gift corresponding to the virtual space identifier, the interactivity of the virtual space corresponding to the virtual space identifier can be improved, and the payment flow information is aggregated, so that the repeated receiving condition of payment flow orders can be reduced, the quantity of the payment flow information acquired when the payment flow orders are more can be reduced, the resource pressure of the server during flow configuration is reduced, and the resource configuration pressure can be reduced while the live broadcast interactivity is improved.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the disclosure and are not to be construed as limiting the disclosure.
FIG. 1 is a background diagram illustrating a traffic configuration method in accordance with an exemplary embodiment;
FIG. 2 is an architectural diagram illustrating a traffic configuration method in accordance with an exemplary embodiment;
FIG. 3 is a flow chart illustrating a method of traffic configuration in accordance with an exemplary embodiment;
FIG. 4 is a flow chart illustrating a method of traffic configuration in accordance with an exemplary embodiment;
FIG. 5 is a diagram illustrating a traffic configuration method in accordance with an exemplary embodiment;
FIG. 6 is an exemplary diagram illustrating a traffic configuration method in accordance with one illustrative embodiment;
FIG. 7 is an exemplary diagram illustrating a traffic configuration method in accordance with one illustrative embodiment;
FIG. 8 is an apparatus block diagram illustrating one flow configuration in accordance with an exemplary embodiment;
FIG. 9 is an apparatus block diagram illustrating one flow configuration in accordance with an exemplary embodiment;
FIG. 10 is an apparatus block diagram illustrating one flow configuration in accordance with an exemplary embodiment;
FIG. 11 is an apparatus block diagram illustrating one flow configuration in accordance with an exemplary embodiment;
FIG. 12 is a block diagram illustrating a server in accordance with an example embodiment.
Detailed Description
In order to make the technical solutions of the present disclosure better understood by those of ordinary skill in the art, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below with reference to the accompanying drawings.
It should be noted that the terms "first," "second," and the like in the description and claims of the present disclosure and in the above-described drawings are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the disclosure described herein are capable of operation in sequences other than those illustrated or otherwise described herein. The implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
With the development of scientific technology, the internet technology is mature day by day, and the convenience of production and life of users is improved. In the internet live broadcast scene, a user can, for example, erect an independent signal acquisition device indoors to enter a broadcast guiding end, and then upload the signal acquisition device to a server through a network, and release the signal acquisition device to a website for people to watch.
According to some embodiments, fig. 1 is a background schematic diagram illustrating a traffic configuration method according to an example embodiment. As shown in fig. 1, in an internet live broadcast interactive scene, a user can send a red packet by clicking a red packet control on a live broadcast terminal, so that the user can attract audiences to rush the red packet, and the flow of a live broadcast room can be increased. When the terminal of the live broadcast end sends the red packet, the terminal can detect that the anchor or the audience pays the drainage order, and the red packet amount corresponding to the drainage order is set as the red packet amount. In the process, the drainage order is required to be paid on the live broadcast terminal, the drainage cost and the red envelope cost are paid, and audiences in the live broadcast room do not perceive the drainage order, so that the interactivity of the audiences is not high, and the experience is not good. When the popularity is increased, the drainage order needs to be paid repeatedly, the operation steps are complex, the operation convenience is poor, and the server needs to receive the drainage order repeatedly, so that the resource pressure is higher.
Fig. 2 is an architectural diagram illustrating a traffic configuration method according to an example embodiment, according to some embodiments. As shown in fig. 2, when the live broadcast video stream is collected by the live broadcast terminal 11, the live broadcast video stream may be sent to the server 13 through the network 12, and the server 13 may obtain a live broadcast website. The server 13 may push the live video stream to the live push website so that the receiving terminal 14 can view the live video stream. The live terminal 11 may send the live video stream to the server 13, for example, through a live application.
It is readily understood that the live terminals 11 include, but are not limited to: wearable devices, handheld devices, personal computers, tablet computers, in-vehicle devices, smart phones, computing devices or other processing devices connected to a wireless modem, and the like. The terminal devices in different networks may be called different names, for example: user equipment, access terminal, subscriber unit, subscriber station, mobile station, remote terminal, mobile device, user terminal, wireless communication device, user agent or user equipment, cellular telephone, cordless telephone, Personal Digital Assistant (PDA), terminal equipment in a 5th generation mobile network or future evolution network, and the like. The live broadcast terminal can be provided with an operating system, the operating system refers to an operating system capable of running in the terminal, is a program for managing and controlling terminal hardware and terminal application, and is an indispensable system application in the terminal. The operating system includes, but is not limited to, Android, IOS, Windows Phone (WP), and Ubuntu mobile operating system.
According to some embodiments, the live terminal 11 or the receiving terminal 14 may be connected to the server 13 via the network 12. The network is used to provide a communication link between the live terminal 11 and the server 13 or the receiving terminal 14 and the server 13. Network 12 may include various types of connections, such as wire, wireless communication links, or fiber optic cables, to name a few. It should be understood that the number of live terminals 11, receiving terminals 14, networks 12 and servers 13 in fig. 2 is merely illustrative. There may be any number of terminals, networks and servers, as desired for the reality. For example, the server 13 may be a server cluster composed of a plurality of servers. A user may interact with a server 13 via a network 12 using a live terminal 11 to obtain a push live video stream or the like.
Fig. 3 is a flow chart illustrating a traffic configuration method according to an exemplary embodiment, where the traffic configuration method is used in a live traffic configuration scenario, as shown in fig. 3, and the method may be implemented by a computer program, and may be run on a server, and includes the following steps:
in step S11, aggregating at least one payment flow information corresponding to the virtual space identifier within the first time period to obtain payment flow aggregation information corresponding to the virtual space identifier;
in some embodiments, the first time length refers to a time length for the server to obtain the payment flow information to be aggregated, and the first time length does not refer to a certain fixed time length. The first duration may be modified, for example, based on the received duration modification instruction. The first duration may also vary, for example, based on a change in the point in time. The first duration may also vary, for example, based on a change in the number of virtual spaces.
According to some embodiments, virtual space identification refers to information for uniquely identifying a virtual space. The identifier corresponding to each virtual space is unique, that is, different virtual spaces correspond to different live broadcast room identifiers. The virtual space identification may be, for example, a live room identification.
It is easy to understand that the payment flow information refers to the flow information corresponding to the gift received by the virtual space corresponding to the virtual space identifier in the first time period. The payment flow information does not refer to a fixed information. If the first duration is changed, the payment pipelining information can be changed correspondingly. If the gift received by the virtual space corresponding to the virtual space identifier changes, the payment flow information can change correspondingly. The gift includes, but is not limited to, a red envelope or a virtual gift. The virtual gift may be, for example, a gift received for a list of virtual gifts presented by a live room.
It is easy to understand that the payment flow information corresponds to the gift corresponding to the virtual space identifier, that is, when the virtual space corresponding to the virtual space identifier receives the gift, a piece of payment flow information is generated, and the server can obtain the payment flow information.
Optionally, the at least one payment flow information is payment flow information corresponding to the virtual space identifier, which is acquired by the server within the first duration. The at least one payment pipeline information corresponds to the same virtual space. The at least one payment flow information does not refer specifically to a certain fixed information. For example, when the amount of information included in the at least one payment flow information changes, the at least one payment flow information may also change accordingly. For example, when the first duration changes, the at least one payment pipelining information may also change accordingly. The first time length change includes, but is not limited to, a time point corresponding to the first time length change, and a time length corresponding to the first time length change.
Optionally, the payment pipelining aggregation information is payment pipelining aggregation information obtained by aggregating at least one piece of payment pipelining information. The payment pipelining aggregation information does not refer to a certain fixed payment pipelining information. When the amount of information included in at least one payment pipeline information changes, the at least one payment pipeline information may also change correspondingly, and the payment pipeline aggregation information may also change correspondingly. For example, when the first duration changes, the at least one payment pipelining information may also change accordingly, and the payment pipelining aggregation information may also change accordingly.
In some embodiments, the payment pipelining aggregation information refers to a single piece of payment pipelining aggregation information, i.e., the server may aggregate at least one piece of payment pipelining information into one piece of payment pipelining aggregation information.
According to some embodiments, when the server executes the traffic configuration method, the server may aggregate at least one payment flow information corresponding to the virtual space identifier within the first duration to obtain payment flow aggregation information corresponding to the virtual space identifier.
In step S12, if the payment flow aggregation information set is obtained within the second duration, superimposing at least one payment flow aggregation information in the payment flow aggregation information set to obtain payment flow superimposed information corresponding to the virtual space identifier;
in some embodiments, the second duration refers to a duration for the server to obtain the payment pipelining aggregation information to be superimposed, and the second duration does not refer to a certain fixed duration in particular. The second duration may be modified, for example, based on the received duration modification instruction. The second duration may also vary, for example, based on a change in the point in time. The second duration may also vary, for example, based on a change in the number of virtual spaces. Wherein the second duration is greater than the first duration.
According to some embodiments, a collection refers to a collection of concrete or abstract objects with certain properties. The payment flow aggregation information set refers to a set formed by summarizing at least one payment flow aggregation information. The payment pipelining aggregation information set does not refer specifically to a fixed set. For example, when the amount of the payment pipelining aggregation information included in the set of payment pipelining aggregation information changes, the set of payment pipelining aggregation information also changes accordingly. For example, when the payment pipelining aggregation information included in the payment pipelining aggregation information set changes, the payment pipelining aggregation information set also changes accordingly.
Optionally, the payment pipelining superposition information refers to payment pipelining superposition information obtained by superposing at least one payment pipelining aggregation information. The payment pipelining superposition information does not refer to a fixed payment pipelining superposition information. When the amount of information included in the at least one payment pipelining aggregate information changes, the at least one payment pipelining aggregate information may also change correspondingly, and the payment pipelining overlay information may also change correspondingly. For example, when the second duration changes, the payment pipelining aggregation information set may also change correspondingly, and the payment pipelining overlay information may also change correspondingly.
It is easy to understand that, when the server executes the traffic configuration method, the server may aggregate at least one payment flow information corresponding to the virtual space identifier within the first duration to obtain the payment flow aggregation information corresponding to the virtual space identifier. The server may determine whether the payment pipelining aggregation information set is obtained within the second duration. If the payment flow aggregation information set is obtained within the second duration, the server may superimpose at least one payment flow aggregation information in the payment flow aggregation information set to obtain payment flow superimposition information corresponding to the virtual space identifier.
In step S13, based on the payment pipeline overlay information, a flow is configured for the virtual space corresponding to the virtual space identifier.
In some embodiments, when the server acquires the payment pipelining overlay information corresponding to the virtual space identifier, the server may configure traffic for the virtual space corresponding to the virtual space identifier. That is, the server may configure the flow corresponding to the payment flow superimposition information for the virtual space corresponding to the virtual space identifier.
In some or related embodiments, at least one payment flow information corresponding to the virtual space identifier within the first duration is aggregated to obtain the payment flow aggregation information corresponding to the virtual space identifier, so that the number of the obtained payment flow information when the payment drainage orders are more can be reduced, the situation that the operation number of the server is too large due to too much payment flow information can be reduced, and the resource pressure of the server during flow configuration can be reduced. Secondly, if the payment flow aggregation information set is obtained within the second duration, at least one piece of payment flow aggregation information in the payment flow aggregation information set is overlapped to obtain payment flow overlapping information corresponding to the virtual space identifier, based on the payment flow overlapping information, the flow of the virtual space corresponding to the virtual space identifier can be configured, and the phenomenon that the live broadcast is blocked due to excessive payment flow aggregation information can be reduced. Finally, because the payment flow information corresponds to the gift corresponding to the virtual space identifier, the interactivity of the virtual space corresponding to the virtual space identifier can be improved, repeated payment of the drainage order is not needed, the repeated operation condition of the payment drainage order can be reduced, the flow configuration steps can be reduced, the convenience of flow configuration is improved, and the flow configuration efficiency can be improved while the live broadcast interactivity is improved.
Fig. 4 is a flow chart illustrating a method of traffic configuration in accordance with an example embodiment. As shown in fig. 4, the traffic configuration method includes the following steps:
in step S21, a payment flow information set corresponding to the virtual space identifier set in the first time period is obtained;
the specific process is as described above, and is not described herein again.
According to some embodiments, a set of virtual space identifications refers to a collective of at least one virtual space identification. The virtual space identification set does not refer to a fixed set. For example, when the number of virtual space identifiers included in a virtual space identifier set changes, the virtual space identifier set may also change accordingly. For example, when a virtual space is changed from a virtual space identifier included in the set of identifiers, the set of virtual space identifiers may also be changed accordingly.
Optionally, the virtual space identifier set may be, for example, a live room identifier set, and the live room identifier set may include, for example, a Q live room identifier, a W live room identifier, an E live room identifier, and an R live room identifier.
In some embodiments, the payment flow information set refers to a set aggregated by at least one payment flow information. The payment flow information set comprises payment flow information corresponding to at least one virtual space identifier, namely the payment flow information set comprises payment flow information corresponding to a plurality of virtual space identifiers.
It is easily understood that, when the server executes the traffic configuration method, the server may obtain the payment flow information set corresponding to the virtual space identification set for the first time period.
Optionally, fig. 5 is a scene diagram illustrating a traffic configuration method according to an exemplary embodiment. As shown in fig. 5, when a user plays a live broadcast through a terminal, an application to which other users can respond watches the live broadcast. When a user carries out live broadcasting through a terminal, a virtual space can be created through a live broadcasting application program, so that the user can carry out live broadcasting. Other users may view the live broadcast through a live broadcast application in the terminal. Other users may click on the gift control in the virtual space, i.e., other users may swipe a gift into the virtual space. When the terminals of other users detect that the gift control in the live application program is clicked, the terminals can acquire payment information corresponding to the gift control. The payment information includes payment flow information, application programs, gift types, and the like. The terminal may send the payment information to the server. The number of the other users may be multiple, that is, the server may obtain at least one payment information sent by the multiple terminals. The server may obtain payment flow information in the at least one payment information.
Optionally, the first duration may be 15 seconds, for example, and the set of live broadcast identifiers may include Q live broadcast identifier, W live broadcast identifier, E live broadcast identifier, and R live broadcast identifier, for example. The set of payment pipelining information may include at least one payment pipelining information. The at least one payment pipeline information corresponds to a set of live room identifications.
In step S22, acquiring aggregation state information of each payment flow information in the payment flow information set;
according to some embodiments, the aggregation state information refers to an aggregation state used to represent payment pipelining information. The aggregation status is used to indicate whether the payment pipelining information has been aggregated. Wherein, the aggregation state information of the payment flow information is not a certain fixed and unchangeable state information. The aggregation state information is based on whether the server makes an aggregation determination of the payment pipelining information. The aggregation state information includes unaggregated state information and aggregated state information. For example, when the server does not aggregate the payment flow information, the aggregation state information of the payment flow information is the non-aggregation state information.
In some embodiments, the payment pipelining information included in the payment pipelining information set may be, for example, T1 payment pipelining information, T2 payment pipelining information, T3 payment pipelining information, T4 payment pipelining information, T5 payment pipelining information, T6 payment pipelining information, T7 payment pipelining information, T8 payment pipelining information, T9 payment pipelining information, and T10 payment pipelining information. Wherein, the aggregation state information of the T1 payment flow information, the T2 payment flow information, the T3 payment flow information, the T4 payment flow information, the T5 payment flow information, the T6 payment flow information, the T7 payment flow information, the T8 payment flow information, the T9 payment flow information, and the T10 payment flow information may all be unaggregated state information, for example.
In step S23, a payment flow information subset in the payment flow information set is obtained;
in some embodiments, the subset of payment pipelining information refers to a subset of the set of payment pipelining information. The payment stream information subset does not refer specifically to a fixed information subset. And the aggregation state information of each payment flow information in the payment flow information subset is non-aggregation state information. The server may obtain aggregated state information for each payment flow information in the payment flow information set. And if the server determines that the payment flow information in the payment flow information set is the payment flow information of the non-aggregation state information, adding the payment flow information to the payment flow information set.
According to some embodiments, the payment pipelining information included in the payment pipelining information set may be, for example, T1 payment pipelining information, T2 payment pipelining information, T3 payment pipelining information, T4 payment pipelining information, T5 payment pipelining information, T6 payment pipelining information, T7 payment pipelining information, T8 payment pipelining information, T9 payment pipelining information, and T10 payment pipelining information. If the server determines that the aggregated state information of the T1 payment flow information, the T2 payment flow information, the T3 payment flow information, the T4 payment flow information, the T5 payment flow information, the T6 payment flow information, the T7 payment flow information, the T8 payment flow information, the T9 payment flow information, and the T10 payment flow information is unaggregated state information, the server may add the T1 payment flow information, the T2 payment flow information, the T3 payment flow information, the T4 payment flow information, the T5 payment flow information, the T6 payment flow information, the T7 payment flow information, the T8 payment flow information, the T9 payment flow information, and the T10 payment flow information to the payment flow information set. The server may obtain a subset of the payment flow information in the set of payment flow information.
In step S24, in the payment flow information subset, at least one payment flow information corresponding to any virtual space identifier in the virtual space identifier set is obtained, and the at least one payment flow information is aggregated to obtain payment flow aggregation information corresponding to the virtual space identifier;
according to some embodiments, when the server obtains the payment flow information subset in the payment flow information set, the server may obtain, in the payment flow information subset, at least one payment flow information corresponding to any virtual space identifier in the virtual space identifier set. That is, the server may classify at least one payment flow information included in the payment flow information subset, and obtain at least one payment flow information corresponding to each virtual space identifier in the virtual space identifier set. When the server acquires at least one piece of payment flow information corresponding to the virtual space identifier, the server aggregates the at least one piece of payment flow information to acquire payment flow aggregation information corresponding to the virtual space identifier.
In some embodiments, the virtual space may be, for example, a live room, and the payment pipelining information included in the set of payment pipelining information may be, for example, T1 payment pipelining information, T2 payment pipelining information, T3 payment pipelining information, T4 payment pipelining information, T5 payment pipelining information, T6 payment pipelining information, T7 payment pipelining information, T8 payment pipelining information, T9 payment pipelining information, and T10 payment pipelining information. If the server determines that the aggregated state information of the T1 payment flow information, the T2 payment flow information, the T3 payment flow information, the T4 payment flow information, the T5 payment flow information, the T6 payment flow information, the T7 payment flow information, the T8 payment flow information, the T9 payment flow information, and the T10 payment flow information is unaggregated state information, the server may add the T1 payment flow information, the T2 payment flow information, the T3 payment flow information, the T4 payment flow information, the T5 payment flow information, the T6 payment flow information, the T7 payment flow information, the T8 payment flow information, the T9 payment flow information, and the T10 payment flow information to the payment flow information set. The server may obtain a subset of the payment flow information in the set of payment flow information. The server obtains at least one piece of payment flow information corresponding to the Q live broadcast room identifier, for example, T1 payment flow information and T2 payment flow information, and the server may aggregate the T1 payment flow information and the T2 payment flow information to obtain payment flow aggregation information T1 payment flow aggregation information corresponding to the Q live broadcast room identifier.
According to some embodiments, when the server aggregates at least one payment flow information in step S24 to obtain the payment flow aggregation information, the method further includes step S214. In step S214, the aggregated status information of the at least one payment pipelining information is adjusted from the unaggregated status information to the aggregated status information.
In some embodiments, the server aggregates the at least one payment flow information, and when the payment flow aggregation information is obtained, the at least one payment flow information is already aggregated, so that the server may adjust the aggregation state information of the at least one payment flow information from the non-aggregation state information to the aggregated state information. The server adjusts the aggregation state information, so that the situation of repeatedly aggregating the aggregated payment flow information can be reduced, the accuracy of acquiring the payment flow aggregation information can be improved, and the accuracy of flow configuration can be improved.
It is easy to understand that the server obtains at least one piece of payment pipelining information corresponding to the Q live broadcast identification, which may be, for example, T1 payment pipelining information and T2 payment pipelining information, and the server may aggregate the T1 payment pipelining information and the T2 payment pipelining information to obtain T1 payment pipelining aggregation information corresponding to the Q live broadcast identification. The server may adjust the aggregated state information of the T1 payment pipelining information from the unaggregated state information to the aggregated state information and adjust the aggregated state information of the T2 payment pipelining information from the unaggregated state information to the aggregated state information.
In some embodiments, fig. 6 is an exemplary diagram illustrating a traffic configuration method according to an example embodiment. As shown in fig. 6, when the server obtains at least one payment flow information in different first time periods, the server may obtain a plurality of payment flow aggregation information. For example, the at least one payment flow information acquired in the first time window is Y1 payment flow information, Y2 payment flow information, and Y3 payment flow information. The at least one payment pipelining information acquired at the second time window is Y4 payment pipelining information. The plurality of payment pipelining aggregation information acquired by the server may be, for example, Y1 payment pipelining aggregation information aggregated by Y1 payment pipelining information, Y2 payment pipelining information, and Y3 payment pipelining information, and Y2 payment pipelining aggregation information aggregated by Y4 payment pipelining information.
In step S25, if the payment flow aggregation information set is obtained within the second duration, superimposing at least one payment flow aggregation information in the payment flow aggregation information set to obtain payment flow superimposed information corresponding to the virtual space identifier;
the specific process is as described above, and is not described herein again.
According to some embodiments, the second duration is greater than the first duration, and the second duration may be, for example, a plurality of first durations. The server may obtain the payment pipelining aggregation information set within the second length of time, for example. The payment pipelining aggregation information set includes at least one payment pipelining aggregation information. When the server determines that the payment flow aggregation information set is obtained within the second duration, the server may superimpose at least one payment flow aggregation information in the payment flow aggregation information set to obtain payment flow superimposition information corresponding to the virtual space identifier.
According to some embodiments, when the server superimposes at least one payment flow aggregation information in the payment flow aggregation information set to obtain the payment flow superimposition information corresponding to the virtual space identifier, the server may superimpose only one payment flow aggregation information in the at least one payment flow aggregation information at the same time, and may not superimpose a plurality of payment flow aggregation information at the same time, so that the accuracy of obtaining the payment flow superimposition information may be improved.
In some embodiments, when the server may superimpose the first payment pipelining aggregation information in the payment pipelining aggregation information set, the server may obtain superimposition state information corresponding to each second payment pipelining aggregation information in the payment pipelining aggregation information set except the first payment pipelining aggregation information. If the superposition state information indicates that all the second payment flow aggregation information are not in the superposition state, the server may superpose the first payment flow aggregation information to the payment flow superposition information corresponding to the virtual space identifier. If the superposition state information indicates that the second payment flow aggregation information in the superposition state exists in the second payment flow aggregation information, the server can determine that the second payment flow aggregation information is completely superposed, and superpose the first payment flow aggregation information to the payment flow superposition information corresponding to the virtual space identifier.
It is easy to understand that the first payment pipelining aggregation information refers to the payment pipelining aggregation information to be superimposed in the payment pipelining aggregation information set. The first payment pipelining aggregation information does not refer to a fixed payment pipelining aggregation information. For example, when at least one payment pipelining information corresponding to the first payment pipelining information changes, the first payment pipelining information may also change accordingly.
Optionally, the second payment pipelining aggregate information is any payment pipelining aggregate information in the payment pipelining aggregate information set except the first payment pipelining aggregate information. The server acquires the superposition state information of the second running water aggregation information, so that the situation that a plurality of payment running water aggregation information are superposed at the same time can be reduced, the accuracy of acquiring the payment running water superposition information is improved, and the accuracy of flow configuration can be improved.
It is easy to understand that the server acquires the payment pipelining aggregation information set including the t1 payment pipelining aggregation information, the t2 payment pipelining aggregation information, the t3 payment pipelining aggregation information and the t4 payment pipelining aggregation information. When the server can superimpose the t2 payment pipelining aggregation information, the server can acquire the superimposed state information of the t1 payment pipelining aggregation information, the superimposed state information of the t3 payment pipelining aggregation information and the superimposed state information of the t4 payment pipelining aggregation information. If the superposition state information of the t1 payment flow aggregation information indicates that the t1 payment flow aggregation information is not in a superposition state, the superposition state information of the t3 payment flow aggregation information indicates that the t3 payment flow aggregation information is not in a superposition state, and the superposition state information of the t4 payment flow aggregation information indicates that the t4 payment flow aggregation information is not in a superposition state, the server may superpose the t2 payment flow aggregation information into the payment flow superposition information corresponding to the live broadcast room identifier.
Optionally, if the superposition state information of the t1 payment pipelining aggregation information indicates that the t1 payment pipelining aggregation information is in a superposition state, the server may determine that the t1 payment pipelining aggregation information is completely superposed, and superpose the t2 payment pipelining aggregation information to the payment pipelining superposition information corresponding to the live broadcast room identifier.
According to some embodiments, when the server obtains the superposition state information corresponding to each second payment pipeline aggregation information except the first payment pipeline aggregation information in the payment pipeline aggregation information set, the server may obtain a payment pipeline aggregation information subset except the first payment pipeline aggregation information in the payment pipeline aggregation information set, where each second payment pipeline aggregation information in the payment pipeline aggregation information subset is information that is not completely superposed. The server may obtain the superposition state information corresponding to each second payment stream aggregation information in the payment stream aggregation information subset. The server acquires the payment flow aggregation information subset, and because the second payment flow aggregation information in the payment flow information subset is information which is not completed by superposition, the aggregation state information of all the payment flow aggregation information except the first payment flow aggregation information in the payment flow aggregation information set does not need to be acquired, so that the time for acquiring the aggregation state information by the server can be reduced, the convenience for acquiring the payment flow aggregation information is improved, and the efficiency of flow configuration is improved.
It is easy to understand that the server acquires the payment pipelining aggregation information set including the t1 payment pipelining aggregation information, the t2 payment pipelining aggregation information, the t3 payment pipelining aggregation information and the t4 payment pipelining aggregation information. The t1 payment flow aggregation information is information which is completed by superposition, and the t2 payment flow aggregation information, the t3 payment flow aggregation information and the t4 payment flow aggregation information are all information which is not completed by superposition. When the server superimposes the t2 payment pipelining aggregation information, the subset of the payment pipelining information acquired by the server may be, for example, the t3 payment pipelining aggregation information and the t4 payment pipelining aggregation information.
According to some embodiments, when the server superimposes the at least one payment pipelining aggregation information to obtain the payment pipelining superimposed information corresponding to the virtual space identifier, the server may obtain a superimposed time point corresponding to the first payment pipelining aggregation information in the at least one payment pipelining aggregation information. The server may obtain a creation time point and a stacking duration of the payment pipelining stacking information corresponding to the third payment pipelining aggregation information. And the third payment pipelining aggregate information is the payment pipelining aggregate information which is completed by the last superposition and corresponds to the first payment pipelining aggregate information. The server may detect whether the overlap time point falls within the overlap duration after the creation time point. If the superposition time point is within the superposition duration after the creation time point, the server may superpose the first payment pipelining aggregation information to the payment pipelining superposition information corresponding to the third payment pipelining aggregation information. If the superposition time point does not belong to the superposition duration after the creation time point, the server can recreate the payment pipelining superposition information and superimpose the first payment pipelining aggregation information to the recreated payment pipelining superposition information. The server judges the creation time point, so that the accuracy of acquiring the payment flow superposition information can be improved, and the accuracy of flow configuration can be improved.
In some embodiments, fig. 7 is an exemplary diagram illustrating a traffic configuration method according to an example embodiment. As shown in fig. 7, the server obtains that the payment pipelining aggregation information set includes t1 payment pipelining aggregation information, t2 payment pipelining aggregation information, t3 payment pipelining aggregation information, and t4 payment pipelining aggregation information. Wherein the t1 payment pipelining aggregate information is the last payment pipelining aggregate information that has been completed by superposition of the t2 payment pipelining aggregate information. The superimposition time period may be 15 seconds, for example. When the server superimposes the t2 payment pipelining aggregation information, the time point of superimposition of the t2 payment pipelining aggregation information acquired by the server may be, for example, 15 minutes and 20 seconds at 3 pm. The creation time point at which the server acquires the payment pipelining overlay information corresponding to the t1 payment pipelining aggregation information may be, for example, 3 points, 15 minutes, 10 seconds. When the server determines that the 15 minutes and 20 seconds at 3 pm belong to the 15 seconds after the 3 o' clock and 15 minutes and 10 seconds, the server may superimpose the t2 payment flow aggregation information on the t00 payment flow superimposition information corresponding to the t1 payment flow aggregation information. The third time window may be, for example, 3 o 'clock 15 minutes 10 seconds to 3 o' clock 15 minutes 25 seconds. When the server determines that 15 minutes and 20 seconds at 3 pm belong to the third time window, the server may superimpose the t2 payment flow aggregation information on the t00 payment flow superimposition information corresponding to the t1 payment flow aggregation information.
It is easily understood that the superimposition time period may be, for example, 15 seconds. When the server superimposes the t3 payment pipelining aggregation information, the time point of superimposition of the t3 payment pipelining aggregation information acquired by the server may be, for example, 15 minutes and 35 seconds at 3 pm. The creation time point at which the server acquires the payment pipelining overlay information corresponding to the t2 payment pipelining aggregation information may be, for example, 3 points, 15 minutes, 10 seconds. When the server determines that the 15 minutes 35 seconds after 3 pm does not fall within 15 seconds after 3 pm 15 minutes 10 seconds, the server may recreate the payment pipelining overlay information and overlay the t3 payment pipelining aggregation information into the recreated payment pipelining overlay information. The re-created payment pipelining overlay information may be, for example, t01 re-created payment pipelining overlay information. The third time window may be, for example, 3 o 'clock 15 minutes 10 seconds to 3 o' clock 15 minutes 25 seconds. The fourth time window may be, for example, 3 points 15 minutes 25 seconds to 3 points 15 minutes 40 seconds. When the server determines that 15 minutes 35 seconds at 3 pm does not fall within the third time window, the server may overlay the t3 payment pipelining aggregation information into the recreated t01 payment pipelining overlay information.
In step S26, based on the payment pipeline overlay information, a flow is configured for the virtual space corresponding to the virtual space identifier.
The specific process is as described above, and is not described herein again.
According to some embodiments, if the server obtains the virtual space identifier set and the payment flow superposition information corresponding to each virtual space identifier in the virtual space identifier set, the server may configure corresponding traffic for the virtual space corresponding to each virtual space identifier based on the payment flow superposition information and the total traffic information corresponding to each virtual space identifier. For example, the server may configure corresponding traffic for the virtual space corresponding to each virtual space identifier based on the total traffic information and the proportional relationship between the payment flow superposition information corresponding to each virtual space identifier.
It is easy to understand that, for example, the proportional relationship between the payment pipelining superposition information corresponding to each live broadcast room identifier acquired by the server may be, for example, the payment pipelining superposition information corresponding to the Q live broadcast room identifier: and W, payment flow superposition information corresponding to the live broadcast room identifier: e, payment flow superposition information corresponding to the live broadcast room identification: the payment flow superposition information corresponding to the R live broadcast room identification is 2: 3: 2: and 3, the server can configure 20% of the total flow to the live broadcast room corresponding to the Q live broadcast room identifier, configure 30% of the total flow to the live broadcast room corresponding to the Q live broadcast room identifier, configure 20% of the total flow to the live broadcast room corresponding to the Q live broadcast room identifier and configure 30% of the total flow to the live broadcast room corresponding to the Q live broadcast room identifier.
In some or related embodiments, the payment flow information set corresponding to the virtual space identifier set in the first time period is obtained, and since the payment flow information corresponds to the gift corresponding to the virtual space identifier, the interactivity of the virtual space corresponding to the virtual space identifier may be improved. Then, at least one piece of payment flow information corresponding to the virtual space identifier within the first time period is aggregated to obtain the payment flow aggregation information corresponding to the virtual space identifier, so that the situation that the operation quantity of the server is excessive due to excessive payment flow information can be reduced, and the resource pressure of the server during flow configuration is reduced. Secondly, a payment flow information set corresponding to the virtual space identifier set in the first duration is obtained, aggregation state information of each piece of payment flow information in the payment flow information set can be obtained, a payment flow information subset in the payment flow information set is obtained, and the aggregation state information of each piece of payment flow information in the payment flow information subset is non-aggregation state information, so that the server obtains the payment flow information subset, the detection of the server on all pieces of payment flow information in the payment flow information set can be reduced, the resource consumption of the server can be reduced, the efficiency of obtaining the payment flow information subset by the server can be improved, the duration of obtaining payment flow superposition information by the server is reduced, and the flow configuration efficiency is improved. In addition, in the payment flow information subset, at least one payment flow information corresponding to any virtual space identifier in the virtual space identifier set is obtained, the at least one payment flow information is aggregated, payment flow aggregation information corresponding to the virtual space identifier is obtained, based on the payment flow superposition information, flow is configured for the virtual space corresponding to the virtual space identifier, repeated payment flow orders are not needed, repeated operation of the payment flow orders can be reduced, the number of the obtained payment flow information when the number of the payment flow orders is large can be reduced, resource configuration pressure of a server is reduced, and accordingly live broadcast interactivity is improved while resource configuration pressure is reduced.
Fig. 8 is an apparatus block diagram illustrating one flow configuration in accordance with an example embodiment. Referring to fig. 8, the traffic configuration apparatus includes an information aggregation unit 801, an information superposition unit 802, and a traffic configuration unit 803, in which:
an information aggregation unit 801 configured to perform aggregation on at least one payment flow information corresponding to the virtual space identifier within the first duration to obtain payment flow aggregation information corresponding to the virtual space identifier, where the payment flow information corresponds to a gift corresponding to the virtual space identifier;
an information superposition unit 802, configured to perform superposition on at least one payment flow aggregation information in the payment flow aggregation information set if the payment flow aggregation information set is obtained within a second duration, so as to obtain payment flow superposition information corresponding to the virtual space identifier;
a traffic configuration unit 803 configured to perform configuration of traffic for the virtual space corresponding to the virtual space identifier based on the payment pipelining overlay information.
According to some embodiments, fig. 9 is an apparatus block diagram illustrating one traffic configuration according to an example embodiment. Referring to fig. 9, the information aggregating unit 801 includes a set obtaining sub-unit 811, an information obtaining sub-unit 821, a subset obtaining sub-unit 831, and an information aggregating sub-unit 841, and the information aggregating unit 801 is configured to perform the aggregation of at least one payment pipeline information corresponding to a virtual space identifier in a first duration to obtain the payment pipeline aggregation information:
a set obtaining subunit 811 configured to perform obtaining a payment flow information set corresponding to the virtual space identifier set for a first time period;
an information obtaining subunit 821 configured to perform obtaining aggregation state information of each payment flow information in the payment flow information set;
a subset obtaining subunit 831 configured to perform obtaining a payment flow information subset of the payment flow information set, the aggregated state information of each payment flow information in the payment flow information subset being non-aggregated state information;
the information aggregation subunit 841 is configured to execute, in the payment flow information subset, acquiring at least one piece of payment flow information corresponding to any one of the virtual space identifiers in the virtual space identifier set, and aggregating the at least one piece of payment flow information to obtain payment flow aggregation information corresponding to the virtual space identifier.
According to some embodiments, the information aggregation sub-unit 841 is configured to perform aggregation on at least one payment pipelining information, and when the payment pipelining aggregation information is obtained, specifically perform the following steps:
and adjusting the aggregation state information of the at least one payment flow information from the non-aggregation state information to the aggregation state information.
According to some embodiments, fig. 10 is an apparatus block diagram illustrating one traffic configuration according to an example embodiment. Referring to fig. 10, the information superposition unit 802 includes a status information obtaining sub-unit 812 and an aggregation information superposition sub-unit 822, and when the information superposition unit 802 is configured to perform superposition on at least one payment flow aggregation information in the payment flow aggregation information set to obtain payment flow superposition information corresponding to the virtual space identifier:
the status information obtaining subunit 812 is configured to, when performing superposition on first payment running aggregation information in the payment running aggregation information set, obtain superposition status information corresponding to each second payment running aggregation information in the payment running aggregation information set except for the first payment running aggregation information;
the aggregation information superposition sub-unit 822 is configured to perform, if the superposition state information indicates that the second payment flow aggregation information is not in a superposition state, superposing the first payment flow aggregation information on the payment flow superposition information corresponding to the virtual space identifier;
the aggregation information superposition sub-unit 822 is further configured to execute, if the superposition state information indicates that second payment pipeline aggregation information in a superposition state exists in the second payment pipeline aggregation information, determining that superposition of the second payment pipeline aggregation information is completed, and superposing the first payment pipeline aggregation information to the payment pipeline superposition information corresponding to the virtual space identifier.
According to some embodiments, the state information obtaining sub-unit 812 is configured to, when performing obtaining the overlay state information corresponding to each second payment pipeline aggregation information in the payment pipeline aggregation information set except the first payment pipeline aggregation information, specifically perform:
acquiring a payment flow aggregation information subset except the first payment flow aggregation information in the payment flow aggregation information set, wherein each second payment flow aggregation information in the payment flow aggregation information subset is information which is not completed by superposition;
and acquiring superposition state information corresponding to each second payment flow aggregation information in the payment flow aggregation information subset.
According to some embodiments, fig. 11 is an apparatus block diagram illustrating one traffic configuration according to an example embodiment. Referring to fig. 11, the information superimposing unit 802 includes a time point obtaining subunit 832, a superimposing duration obtaining subunit 842, and an information superimposing subunit 852, and the information superimposing unit 802 is configured to perform superimposing on at least one payment pipelining aggregation information to obtain payment pipelining superimposition information corresponding to a virtual space identifier, including:
a time point obtaining subunit 832 configured to perform obtaining of a superposition time point corresponding to the first payment pipelining aggregation information in the at least one payment pipelining aggregation information;
a superposition duration obtaining subunit 842 configured to perform obtaining of a creation time point and a superposition duration of payment pipeline superposition information corresponding to third payment pipeline aggregation information, where the third payment pipeline aggregation information is payment pipeline aggregation information that is completed by previous superposition and corresponds to the first payment pipeline aggregation information;
an information superposition subunit 852 configured to perform, if the superposition time point belongs to the superposition duration after the creation time point, superposing the first payment pipelining aggregation information on the payment pipelining superposition information;
the information superposition sub-unit 852 is further configured to perform, if the superposition time point does not belong to the superposition duration after the creation time point, re-creating the payment pipelining superposition information, and superposing the first payment pipelining aggregation information to the re-created payment pipelining superposition information.
With regard to the apparatus in the above-described embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.
In some or related embodiments, the information aggregating unit is configured to perform aggregation on at least one payment flow information corresponding to the virtual space identifier within a first duration to obtain payment flow aggregation information corresponding to the virtual space identifier, where the payment flow information corresponds to a gift corresponding to the virtual space identifier, the information superimposing unit is configured to perform, if the payment flow aggregation information set is obtained within a second duration, superimposing at least one payment flow aggregation information in the payment flow aggregation information set to obtain payment flow superimposition information corresponding to the virtual space identifier, and the traffic configuring unit is configured to perform configuration of traffic on the virtual space corresponding to the virtual space identifier based on the payment flow superimposition information. Because the payment flow information corresponds to the gift corresponding to the virtual space identifier, the interactivity of the virtual space corresponding to the virtual space identifier can be improved, and the payment flow information is aggregated, so that the repeated receiving condition of payment flow orders can be reduced, the quantity of the payment flow information acquired when the payment flow orders are more is reduced, the resource pressure of a server during flow configuration is reduced, and the resource configuration pressure can be reduced while the live broadcast interactivity is improved.
FIG. 12 is a block diagram illustrating a server in accordance with an example embodiment. As shown in fig. 12, the server includes: a memory 1201 and a processor 1202. In addition, the server comprises necessary components such as a power component 1203, a communication component 1204, etc.
A memory 1201 for storing a computer program and may be configured to store other various data to support operations on the electronic device. Examples of such data include instructions for any application or method operating on the electronic device.
The memory 1201 may be implemented by any type or combination of volatile or non-volatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks.
A communication component 1204 for data transmission with other devices.
The processor 1202 may execute computer instructions stored in the memory 1201 for performing the above-described methods.
Correspondingly, the embodiment of the application also provides a computer readable storage medium storing the computer program. The computer-readable storage medium stores a computer program, and the computer program, when executed by one or more processors, causes the one or more processors to perform the steps in the method embodiments of fig. 3-7.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
In a typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
The memory may include forms of volatile memory in a computer readable medium, Random Access Memory (RAM) and/or non-volatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM). Memory is an example of a computer-readable medium.
Computer-readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), Read Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), Digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information that can be accessed by a computing device. As defined herein, a computer readable medium does not include a transitory computer readable medium such as a modulated data signal and a carrier wave.
It is noted that, in this document, relational terms such as "first" and "second," and the like, may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
The foregoing are merely exemplary embodiments of the present application and are presented to enable those skilled in the art to understand and practice the present application. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the application. Thus, the present application is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements 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 (10)

1. A method for traffic configuration, comprising:
aggregating at least one payment flow information corresponding to a virtual space identifier within a first duration to obtain payment flow aggregation information corresponding to the virtual space identifier, wherein the payment flow information corresponds to a gift corresponding to the virtual space identifier;
if a payment flow aggregation information set is obtained within a second time length, overlapping at least one payment flow aggregation information in the payment flow aggregation information set to obtain payment flow overlapping information corresponding to the virtual space identifier;
and configuring flow for the virtual space corresponding to the virtual space identifier based on the payment flow superposition information.
2. The method of claim 1, wherein aggregating at least one payment pipeline information corresponding to the virtual space identifier within the first duration to obtain payment pipeline aggregated information comprises:
acquiring a payment flow information set corresponding to the virtual space identifier set within a first time period;
acquiring aggregation state information of each payment flow information in the payment flow information set;
acquiring a payment flow information subset in the payment flow information set, wherein the aggregation state information of each payment flow information in the payment flow information subset is non-aggregation state information;
and in the payment flow information subset, acquiring at least one piece of payment flow information corresponding to any virtual space identifier in the virtual space identifier set, and aggregating the at least one piece of payment flow information to obtain payment flow aggregation information corresponding to the virtual space identifier.
3. The method of claim 2, wherein the aggregating the at least one payment pipeline information to obtain payment pipeline aggregation information comprises:
adjusting the aggregated state information of the at least one payment pipelining information from the unaggregated state information to aggregated state information.
4. The method of claim 1, wherein the superimposing at least one payment pipeline aggregation information in the payment pipeline aggregation information set to obtain payment pipeline superimposed information corresponding to the virtual space identifier comprises:
when first payment running aggregation information in the payment running aggregation information set is superposed, superposed state information corresponding to each second payment running aggregation information except the first payment running aggregation information in the payment running aggregation information set is obtained;
if the superposition state information indicates that all the second payment flow aggregation information are not in a superposition state, superposing the first payment flow aggregation information to the payment flow superposition information corresponding to the virtual space identifier;
and if the superposition state information indicates that second payment flow aggregation information in a superposition state exists in the second payment flow aggregation information, determining that the second payment flow aggregation information is completely superposed, and superposing the first payment flow aggregation information to the payment flow superposition information corresponding to the virtual space identifier.
5. The method according to claim 4, wherein the obtaining of the superposition state information corresponding to each second payment pipeline aggregation information in the payment pipeline aggregation information set except the first payment pipeline aggregation information includes:
acquiring a payment flow aggregation information subset except the first payment flow aggregation information in the payment flow aggregation information set, wherein each second payment flow aggregation information in the payment flow aggregation information subset is information which is not completed by superposition;
and acquiring superposition state information corresponding to each second payment flow aggregation information in the payment flow aggregation information subset.
6. The method of claim 1, wherein the superimposing the at least one payment pipeline aggregation information to obtain payment pipeline superimposed information corresponding to the virtual space identifier comprises:
acquiring a superposition time point corresponding to first payment flow aggregation information in the at least one payment flow aggregation information;
acquiring a creation time point and a superposition duration of payment flow superposition information corresponding to third payment flow aggregation information, wherein the third payment flow aggregation information is payment flow aggregation information which is completed by superposition and corresponds to the first payment flow aggregation information;
if the superposition time point is within the superposition duration after the creation time point, superposing the first payment running water aggregation information to the payment running water superposition information;
and if the superposition time point does not belong to the superposition duration after the creation time point, re-creating payment pipelining superposition information, and superposing the first payment pipelining aggregation information to the re-created payment pipelining superposition information.
7. A flow configuration device, comprising:
the information aggregation unit is configured to perform aggregation on at least one piece of payment flow information corresponding to a virtual space identifier within a first duration to obtain payment flow aggregation information corresponding to the virtual space identifier, wherein the payment flow information corresponds to a gift corresponding to the virtual space identifier;
the information superposition unit is configured to superpose at least one payment flow aggregation information in the payment flow aggregation information set if the payment flow aggregation information set is obtained within a second time length, so that payment flow superposition information corresponding to the virtual space identifier is obtained;
and the flow configuration unit is configured to configure the flow for the virtual space corresponding to the virtual space identifier based on the payment flow superposition information.
8. The apparatus according to claim 7, wherein the information aggregating unit includes a set obtaining subunit, an information obtaining subunit, a subset obtaining subunit, and an information aggregating subunit, and the information aggregating unit is configured to perform the aggregating of the at least one payment pipeline information corresponding to the virtual space identifier in the first duration, and when obtaining the payment pipeline aggregation information:
the set acquisition subunit is configured to execute acquisition of a payment flow information set corresponding to the virtual space identifier set within a first time period;
the information acquisition subunit is configured to perform acquisition of aggregation state information of each payment flow information in the payment flow information set;
the subset acquisition subunit is configured to execute acquisition of a payment flow information subset of the payment flow information set, where aggregated state information of each payment flow information in the payment flow information subset is non-aggregated state information;
the information aggregation subunit is configured to execute, in the payment flow information subset, obtaining at least one piece of payment flow information corresponding to any one virtual space identifier in the virtual space identifier set, and aggregating the at least one piece of payment flow information to obtain payment flow aggregation information corresponding to the virtual space identifier.
9. A server, comprising:
a processor;
a memory for storing the processor-executable instructions;
wherein the processor is configured to execute the instructions to implement the traffic configuration method of any of claims 1 to 6.
10. A storage medium in which instructions, when executed by a processor of a server, enable the server to perform a traffic configuration method as claimed in any one of claims 1 to 6.
CN202111506812.XA 2021-12-10 2021-12-10 Traffic configuration method, device, server and storage medium Active CN114173146B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111506812.XA CN114173146B (en) 2021-12-10 2021-12-10 Traffic configuration method, device, server and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111506812.XA CN114173146B (en) 2021-12-10 2021-12-10 Traffic configuration method, device, server and storage medium

Publications (2)

Publication Number Publication Date
CN114173146A true CN114173146A (en) 2022-03-11
CN114173146B CN114173146B (en) 2024-01-19

Family

ID=80485387

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111506812.XA Active CN114173146B (en) 2021-12-10 2021-12-10 Traffic configuration method, device, server and storage medium

Country Status (1)

Country Link
CN (1) CN114173146B (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106502579A (en) * 2016-09-22 2017-03-15 广州华多网络科技有限公司 Method for reconstructing and device when a kind of data storage fails
CN109327705A (en) * 2017-08-01 2019-02-12 武汉斗鱼网络科技有限公司 A kind of transmission method of live video, device, server and medium
WO2019223553A1 (en) * 2018-05-22 2019-11-28 华为技术有限公司 Network traffic identification method and related device
CN111147882A (en) * 2019-12-31 2020-05-12 北京达佳互联信息技术有限公司 Video processing method and device, terminal equipment and storage medium
CN111541909A (en) * 2020-04-30 2020-08-14 广州华多网络科技有限公司 Panoramic live broadcast gift delivery method, device, equipment and storage medium
CN112261433A (en) * 2020-10-22 2021-01-22 广州繁星互娱信息科技有限公司 Virtual gift sending method, virtual gift display device, terminal and storage medium
CN113225581A (en) * 2021-05-17 2021-08-06 腾讯科技(深圳)有限公司 Live broadcast interaction method and device and electronic equipment
CN113592543A (en) * 2021-07-27 2021-11-02 北京达佳互联信息技术有限公司 Method and device for evaluating live broadcast guide effect
WO2022205784A1 (en) * 2021-03-31 2022-10-06 北京达佳互联信息技术有限公司 Interface information control method and apparatus

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106502579A (en) * 2016-09-22 2017-03-15 广州华多网络科技有限公司 Method for reconstructing and device when a kind of data storage fails
CN109327705A (en) * 2017-08-01 2019-02-12 武汉斗鱼网络科技有限公司 A kind of transmission method of live video, device, server and medium
WO2019223553A1 (en) * 2018-05-22 2019-11-28 华为技术有限公司 Network traffic identification method and related device
CN111147882A (en) * 2019-12-31 2020-05-12 北京达佳互联信息技术有限公司 Video processing method and device, terminal equipment and storage medium
CN111541909A (en) * 2020-04-30 2020-08-14 广州华多网络科技有限公司 Panoramic live broadcast gift delivery method, device, equipment and storage medium
CN112261433A (en) * 2020-10-22 2021-01-22 广州繁星互娱信息科技有限公司 Virtual gift sending method, virtual gift display device, terminal and storage medium
WO2022205784A1 (en) * 2021-03-31 2022-10-06 北京达佳互联信息技术有限公司 Interface information control method and apparatus
CN113225581A (en) * 2021-05-17 2021-08-06 腾讯科技(深圳)有限公司 Live broadcast interaction method and device and electronic equipment
CN113592543A (en) * 2021-07-27 2021-11-02 北京达佳互联信息技术有限公司 Method and device for evaluating live broadcast guide effect

Also Published As

Publication number Publication date
CN114173146B (en) 2024-01-19

Similar Documents

Publication Publication Date Title
CN106803974B (en) The real-time retransmission method of live video stream
JP4098250B2 (en) Multimedia advertisement service provision in a mobile communication network, multimedia content control apparatus and multimedia content control method
CN111031058A (en) Websocket-based distributed server cluster interaction method and device
CN109428911A (en) Apparatus control method, device, terminal device and operating system
CN108200070B (en) Method and device for generating list
WO2016003943A1 (en) Automatic wireless grid access sharing and monetization from a mobile device app
CN101646076A (en) Video transmission method in wireless network
CN106445705A (en) Platform cascading method and system based on Rabbit MQ and Socket.io
CN110990228A (en) Data interface monitoring method and device
US20210368225A1 (en) Method and system for setting video cover
CN105389160A (en) Information issuing method and device
CN103052121B (en) A kind of local communication network business switch method, device and system
CN105786839A (en) Application data acquisition method and apparatus
CN103024491B (en) The video broadcasting method of mobile terminal and system
CN104349177A (en) Method for turning to play multimedia file under desktop cloud, virtual machine and system
CN104834649B (en) It can realize the smart machine and multiple-equipment team working method of more equipment collaborations
CN105141653A (en) Method, equipment and system for data interaction of service platform
CN110113298B (en) Data transmission method, device, signaling server and computer readable medium
CN111415203A (en) Online self-service payment advertisement publishing system and method
CN113485952A (en) Data batch transmission method and device
CN114173146A (en) Flow configuration method, device, server and storage medium
WO2016040804A1 (en) Scalable charging system based on service-oriented architecture (soa)
CN102904935B (en) Downloading method, downloading device and downloading system based on home gateway
CN104602047B (en) Sharing method, server, terminal and the system of EPG data
CN105141644A (en) Download method of streaming media file and terminal

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant