CN116800834B - Virtual gift merging method, device, electronic equipment and computer readable medium - Google Patents

Virtual gift merging method, device, electronic equipment and computer readable medium Download PDF

Info

Publication number
CN116800834B
CN116800834B CN202311083516.2A CN202311083516A CN116800834B CN 116800834 B CN116800834 B CN 116800834B CN 202311083516 A CN202311083516 A CN 202311083516A CN 116800834 B CN116800834 B CN 116800834B
Authority
CN
China
Prior art keywords
virtual gift
information
fragment
merging
target
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.)
Active
Application number
CN202311083516.2A
Other languages
Chinese (zh)
Other versions
CN116800834A (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.)
Shenzhen Kilakila Technology Co ltd
Original Assignee
Shenzhen Kilakila 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 Shenzhen Kilakila Technology Co ltd filed Critical Shenzhen Kilakila Technology Co ltd
Priority to CN202311083516.2A priority Critical patent/CN116800834B/en
Publication of CN116800834A publication Critical patent/CN116800834A/en
Application granted granted Critical
Publication of CN116800834B publication Critical patent/CN116800834B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/55Push-based network services
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/953Querying, e.g. by the use of web search engines
    • G06F16/9535Search customisation based on user profiles and personalisation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/131Protocols for games, networked simulations or virtual reality

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

Embodiments of the present disclosure disclose virtual gift merging methods, apparatuses, electronic devices, and computer-readable media. One embodiment of the method comprises the following steps: acquiring user basic information of a user terminal; acquiring an initial push information set; inputting the initial push information set into a pre-trained push information sequence generation model; updating the initial virtual gift fragment information set to generate a virtual gift fragment information set; for each virtual gift fragment information in the virtual gift fragment information set, transmitting preset merging information to the user terminal in response to determining that the total number of virtual gift fragments included in the virtual gift fragment information is greater than the preset fragment number; generating target virtual gift merging information in response to receiving a merging request sent by a user terminal; updating the user basic information to generate target user basic information; and sending the target virtual gift merging information to the user terminal. This embodiment can reduce waste of communication resources.

Description

Virtual gift merging method, device, electronic equipment and computer readable medium
Technical Field
Embodiments of the present disclosure relate to the field of computer technology, and in particular, to a virtual gift merging method, apparatus, electronic device, and computer readable medium.
Background
After the user terminal merges different virtual gifts through the virtual gift fragments, the virtual gift can be sent to other user terminals. Currently, the virtual gift is merged by the following general method: and sending preset push information to the user terminal to receive click information sent by the user terminal to increase the number of virtual gift fragments, then after receiving a combination request sent by the user terminal, sending fixed virtual gift combination information to the user terminal or generating virtual gift combination information corresponding to the virtual gift fragments corresponding to the combination request according to preset generation probability stored by the storage terminal, and then sending the virtual gift combination information to the user terminal.
However, the following technical problems generally exist in the above manner:
firstly, the fixed virtual gift combining information does not meet the requirement of a user, and the fixed virtual gift combining information is sent to a user terminal, so that communication resources are wasted;
secondly, preset push information is sent to the user terminal, the preset push information does not meet the user requirement, and communication resources are wasted;
Third, the accuracy of the preset generation probability stored in the storage terminal is low, the accuracy of the virtual gift merging information generated through the preset generation probability is low, and the virtual gift merging information sent to the user terminal does not meet the user requirement, so that the storage resources of the storage terminal are wasted.
The above information disclosed in this background section is only for enhancement of understanding of the background of the inventive concept and, therefore, may contain information that does not form the prior art that is already known to those of ordinary skill in the art in this country.
Disclosure of Invention
The disclosure is in part intended to introduce concepts in a simplified form that are further described below in the detailed description. The disclosure is not intended to identify key features or essential features of the claimed subject matter, nor is it intended to be used to limit the scope of the claimed subject matter.
Some embodiments of the present disclosure propose virtual gift combining methods, apparatus, electronic devices, and computer-readable media to address one or more of the technical problems mentioned in the background section above.
In a first aspect, some embodiments of the present disclosure provide a virtual gift combining method, the method including: obtaining user basic information of a user terminal, wherein the user basic information comprises: an initial virtual gift fragment information set; acquiring an initial push information set; inputting the initial push information set into a pre-trained push information sequence generation model to obtain a push information sequence, and sending the push information sequence to the user terminal to generate user request information; in response to receiving user request information sent by the user terminal, updating the initial virtual gift fragment information set to generate a virtual gift fragment information set, and storing the virtual gift fragment information set in a storage terminal, wherein the virtual gift fragment information in the virtual gift fragment information set includes: total number of virtual gift fragments; for each virtual gift fragment information in the virtual gift fragment information set, in response to determining that the total number of virtual gift fragments included in the virtual gift fragment information is greater than a preset fragment number, transmitting preset merging information to the user terminal to generate a merging request; generating target virtual gift merging information in response to receiving a merging request sent by the user terminal; updating the user basic information based on the target virtual gift combination information to generate target user basic information, and storing the target user basic information into the storage terminal; and sending the target virtual gift merging information to the user terminal.
In a second aspect, some embodiments of the present disclosure provide a virtual gift combining apparatus, the apparatus including: a first obtaining unit configured to obtain user basic information of a user terminal, where the user basic information includes: an initial virtual gift fragment information set; a second acquisition unit configured to acquire an initial push information set; the input unit is configured to input the initial push information set into a pre-trained push information sequence generation model to obtain a push information sequence, and send the push information sequence to the user terminal to generate user request information; a first updating unit configured to perform an updating process on the initial virtual gift fragment information set in response to receiving user request information transmitted from the user terminal, to generate a virtual gift fragment information set, and store the virtual gift fragment information set to a storage terminal, wherein the virtual gift fragment information in the virtual gift fragment information set includes: total number of virtual gift fragments; a first transmitting unit configured to transmit preset merging information to the user terminal to generate a merging request in response to determining that a total number of virtual gift fragment included in the virtual gift fragment information is greater than a preset fragment number, for each virtual gift fragment information in the virtual gift fragment information set; a generation unit configured to generate target virtual gift merging information in response to receiving a merging request transmitted from the user terminal; a second updating unit configured to update the user basic information based on the target virtual gift combining information to generate target user basic information, and store the target user basic information to the storage terminal; and a second transmitting unit configured to transmit the target virtual gift combining information to the user terminal.
In a third aspect, some embodiments of the present disclosure provide an electronic device comprising: one or more processors; a storage device having one or more programs stored thereon, which when executed by one or more processors causes the one or more processors to implement the method described in any of the implementations of the first aspect above.
In a fourth aspect, some embodiments of the present disclosure provide a computer readable medium having a computer program stored thereon, wherein the program, when executed by a processor, implements the method described in any of the implementations of the first aspect above.
The above embodiments of the present disclosure have the following advantageous effects: by the virtual gift combining method of some embodiments of the present disclosure, waste of communication resources can be reduced. Specifically, the reason why communication resources are wasted is that: the fixed virtual gift combining information does not meet the user requirement, and the fixed virtual gift combining information is sent to the user terminal. Based on this, the virtual gift combining method of some embodiments of the present disclosure first obtains user basic information of the user terminal. Wherein, the user basic information includes: an initial virtual gift fragment information set. Next, an initial push information set is acquired. And then, inputting the initial push information set into a pre-trained push information sequence generation model to obtain a push information sequence, and sending the push information sequence to the user terminal to generate user request information. Therefore, the push information sequence considering the user requirement can be obtained through the push information sequence generation model, and information which the user wants to click can be sent to the user terminal. And then, in response to receiving the user request information sent by the user terminal, updating the initial virtual gift fragment information set to generate a virtual gift fragment information set, and storing the virtual gift fragment information set in a storage terminal. Wherein, the virtual gift fragment information in the virtual gift fragment information set includes: total number of virtual gift fragments. Therefore, after the user terminal clicks the push information, the number of virtual gift fragment information can be increased. Then, for each virtual gift fragment information in the virtual gift fragment information set, in response to determining that the total number of virtual gift fragments included in the virtual gift fragment information is greater than a preset fragment number, preset merging information is transmitted to the user terminal to generate a merging request. Therefore, the preset merging information can be sent to the user terminal to remind the user terminal to synthesize the virtual gift. And then, generating target virtual gift merging information in response to receiving the merging request sent by the user terminal. Therefore, when the user terminal sends a merging request to merge virtual gifts, accurate target virtual gift merging information can be generated according to virtual gift fragment information corresponding to the merging request. And then, based on the target virtual gift combining information, updating the user basic information to generate target user basic information, and storing the target user basic information into the storage terminal. Therefore, the updated more accurate target user basic information can be stored in the storage terminal, so that the more accurate target user basic information can be acquired from the storage terminal next time. And finally, sending the target virtual gift merging information to the user terminal. Therefore, more accurate target virtual gift merging information can be sent to the user terminal. Thus, waste of communication resources can be reduced.
Drawings
The above and other features, advantages, and aspects of embodiments of the present disclosure will become more apparent by reference to the following detailed description when taken in conjunction with the accompanying drawings. The same or similar reference numbers will be used throughout the drawings to refer to the same or like elements. It should be understood that the figures are schematic and that elements and components are not necessarily drawn to scale.
FIG. 1 is a flow chart of some embodiments of a virtual gift combining method according to the present disclosure;
FIG. 2 is a schematic structural view of some embodiments of a virtual gift combining device according to the present disclosure;
fig. 3 is a schematic structural diagram of an electronic device suitable for use in implementing some embodiments of the present disclosure.
Detailed Description
Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While certain embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be construed as limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete. It should be understood that the drawings and embodiments of the present disclosure are for illustration purposes only and are not intended to limit the scope of the present disclosure.
It should be noted that, for convenience of description, only the portions related to the present invention are shown in the drawings. Embodiments of the present disclosure and features of embodiments may be combined with each other without conflict.
It should be noted that the terms "first," "second," and the like in this disclosure are merely used to distinguish between different devices, modules, or units and are not used to define an order or interdependence of functions performed by the devices, modules, or units.
It should be noted that references to "one", "a plurality" and "a plurality" in this disclosure are intended to be illustrative rather than limiting, and those of ordinary skill in the art will appreciate that "one or more" is intended to be understood as "one or more" unless the context clearly indicates otherwise.
The names of messages or information interacted between the various devices in the embodiments of the present disclosure are for illustrative purposes only and are not intended to limit the scope of such messages or information.
The present disclosure will be described in detail below with reference to the accompanying drawings in conjunction with embodiments.
Referring to fig. 1, a flow 100 of some embodiments of a virtual gift combining method according to the present disclosure is shown. The virtual gift merging method comprises the following steps:
Step 101, obtaining user basic information of a user terminal.
In some embodiments, the execution subject (e.g., computing device) of the virtual gift combining method may acquire user basic information of the user terminal from the storage terminal by means of a wired connection or a wireless connection. The user terminal may be a terminal that incorporates a virtual gift. The above-mentioned storage terminal may be a terminal for a user to store user basic information. The user basic information may include, but is not limited to, at least one of: an initial virtual gift fragment information set and an initial virtual gift information set. The initial virtual gift fragment information in the initial virtual gift fragment information set may include, but is not limited to, at least one of: virtual gift fragment identification, initial virtual gift fragment number, virtual gift fragment category. The initial virtual gift information in the initial virtual gift information set may include, but is not limited to, at least one of: virtual gift identification, number of virtual gift, virtual gift category. The virtual gift fragment identification may uniquely identify a virtual gift fragment. The initial virtual gift fragment number may be a number of virtual gift fragments. The virtual gift fragment categories may be, but are not limited to: a first virtual gift fragment category, a second virtual gift fragment category, a third virtual gift fragment category, and a fourth virtual gift fragment category. The virtual gift identification may uniquely identify a virtual gift. The number of virtual gifts may be the number of virtual gifts. The virtual gift categories may be, but are not limited to: a first virtual gift category, a second virtual gift category, a third virtual gift category, and a fourth virtual gift category.
Here, the virtual gift fragments may compose a virtual gift of the same category or the next category. For example, when the virtual gift fragment class is the first virtual gift fragment class, the virtual gift fragments may compose virtual gifts of the same class, i.e., the first virtual gift class, and the virtual gift fragments may also compose virtual gifts of the next class, i.e., the second virtual gift class. For example, when the virtual gift fragment class is the second virtual gift fragment class, the virtual gift fragments may compose virtual gifts of the same class, i.e., the second virtual gift class, and the virtual gift fragments may also compose virtual gifts of the next class, i.e., the third virtual gift class. For example, when the virtual gift fragment class is the third virtual gift fragment class, the virtual gift fragments may compose virtual gifts of the same class, i.e., the third virtual gift class, and the virtual gift fragments may also compose virtual gifts of the next class, i.e., the fourth virtual gift class. For example, when the virtual gift fragment class is the fourth virtual gift fragment class, the virtual gift fragments may synthesize virtual gifts of the same class, i.e., the first preset combined number of the fourth virtual gift classes, and the virtual gift fragments may also synthesize virtual gifts of the next class, i.e., the second preset combined number of the fourth virtual gift classes. For example, the first preset merge number may be 1. The second preset combined number may be 2.
For example, ten virtual gift fragments may compose one virtual gift. The first virtual gift class may represent a value attribute value (gift price) of the virtual gift that is less than or equal to a first preset attribute value. The second virtual gift category may represent that the value attribute value of the virtual gift is greater than the first preset attribute value and less than or equal to the second preset attribute value. The third virtual gift category may represent that the value attribute value of the virtual gift is greater than the second preset attribute value and less than or equal to the third preset attribute value. The fourth virtual gift category may represent that the value attribute value of the virtual gift is greater than the third preset attribute value. For example, the first preset attribute value may be 19.9. The second preset attribute value may be 99.9. The third preset attribute value may be 1499.9.
Step 102, obtaining an initial push information set.
In some embodiments, the executing entity may obtain the initial push information set from the storage terminal through a wired connection or a wireless connection. The initial push information in the initial push information set may represent information sent to the user terminal to enable the user terminal to acquire virtual gift fragments.
Step 103, inputting the initial push information set into a pre-trained push information sequence generation model to obtain a push information sequence, and sending the push information sequence to the user terminal to generate user request information.
In some embodiments, the executing entity may input the initial push information set into a pre-trained push information sequence generation model to obtain a push information sequence, and may send the push information sequence to the user terminal to generate user request information. The push information sequence generation model may be a neural network model that takes an initial push information set as input and a push information sequence as output. The push information sequence may include push information with a weight value from large to small. Here, the weight value of the push information may characterize the probability that the user terminal clicks on the push information.
Alternatively, the pre-trained push information sequence generation model may be trained by:
first, a training sample set is obtained.
In some embodiments, the executing entity may obtain the training sample set from the terminal device through a wired connection or a wireless connection. Wherein, the training samples in the training sample set include: a sample initial push information set and a sample push information sequence. Here, the sample push information sequence may be a tag corresponding to the sample initial push information set.
And secondly, determining an initial push information sequence generation model.
In some embodiments, the execution body may determine an initial push information sequence generation model. Wherein, the initial push information sequence generation model can include, but is not limited to, at least one of the following: the first initial weight generation model, the second initial weight generation model and the sorting model.
The first initial weight generation model may be a first custom model that takes sample initial push information as input and a first initial weight value as output. The first initial weight value may represent a probability of the user terminal clicking on the sample initial pushing information, which is output through the first initial weight generation model. Here, the first custom model may include three layers:
a first layer, an input layer, for: and receiving sample initial push information and inputting the sample initial push information to the second layer.
A second layer, a handle layer, comprising: a first sub-model and a second sub-model. The first sub-model may be a perceptron model with sample initial push information as input and a first weight value as output. The second sub-model may be a factorizer model with sample initial push information as input and a second weight value as output. Here, the first weight value may be a probability that the user terminal clicks on the sample initial push information, which is output through the first sub-model. The second weight value may be a probability that the user terminal clicks on the sample initial push information, which is represented by the output of the second sub-model. For example, the first sub-model may be an MLP (Multi-Layer Perceptron) model. The second sub-model may be a deep fm (Deep Factor Machine, depth factorizer) model.
A third layer, an output layer, for: and determining an average value of the first weight value output by the first sub-model and the second weight value output by the second sub-model as a first initial weight value to be used as the output of the whole first custom model.
The second initial weight generation model may be a second custom model that takes sample initial push information as input and a second initial weight value as output. The second initial weight value may represent a probability that the user terminal completes a pushing condition corresponding to the initial pushing information of the sample, which is output by the second initial weight generating model. Here, the second custom model may include three layers:
a first layer, an input layer, for: and receiving sample initial push information and inputting the sample initial push information into a second layer of values.
A second layer, a handle layer, comprising: a third sub-model and a fourth sub-model. The third sub-model may be an interest network model with sample initial push information as input and a third weight value as output. The fourth sub-model may be an interest evolution network model with sample initial push information as input and a fourth weight value as output. Here, the third weight value may be a probability that characterizes a pushing condition corresponding to the initial pushing information of the sample is completed by the user terminal, which is output through the third sub-model. The fourth weight value may be a probability that characterizes a pushing condition corresponding to the initial pushing information of the sample is completed by the user terminal, which is output through the fourth sub-model. For example, the third sub-model may be a DIN (Deep Interest Network ) model. The fourth sub-model may be a DIEN (Deep Interest Evolution Network, deep interest evolving network) model.
A third layer, an output layer, for: and determining an average value of the third weight value output by the third sub-model and the fourth weight value output by the fourth sub-model as a second initial weight value to be used as the output of the whole second custom model.
The sorting model may be a model in which a sample initial push information set and an average weight value set are taken as inputs and an initial push information sequence is taken as an output. The initial push information sequence may represent an initial push information sequence after the sample initial push information set is ordered. The ranking model described above may be used to: firstly, according to the arrangement sequence of the average weight values from large to small in the average weight value set, the average weight value set is subjected to sorting processing to obtain an average sorting weight value sequence. And then, according to sample initial push information in a sample initial push information set corresponding to the average sorting weight value in the average sorting weight value sequence, sorting the sample initial push information set to generate an initial push information sequence.
And thirdly, selecting training samples from the training sample set.
In some embodiments, the executing entity may select a training sample from the training sample set. In practice, the executing entity may randomly select training samples from the training sample set.
And step four, inputting initial pushing information of each sample in the initial pushing information set of the training samples into the first initial weight generation model to generate a first initial weight value, so as to obtain a first initial weight value set.
In some embodiments, the executing body may input each sample initial push information in the sample initial push information set included in the training sample into the first initial weight generating model to generate a first initial weight value, so as to obtain a first initial weight value set.
And fifthly, inputting initial pushing information of each sample in the initial pushing information set of the training samples into the second initial weight generation model to generate a second initial weight value, and obtaining a second initial weight value set.
In some embodiments, the executing body may input each sample initial push information in the sample initial push information set included in the training sample into the second initial weight generating model to generate a second initial weight value, so as to obtain a second initial weight value set.
Sixth, for each first initial weight value in the first initial weight value set, determining an average value of the first initial weight value and a second initial weight value corresponding to the first initial weight value as an average weight value.
In some embodiments, the execution body may determine, for each first initial weight value in the first initial weight value set, an average value of the first initial weight value and a second initial weight value corresponding to the first initial weight value as an average weight value.
And seventh, determining each determined average weight value as an average weight value set.
In some embodiments, the executing entity may determine each determined average weight value as an average weight value set.
And eighth step, inputting the sample initial push information set and the average weight value set into the sorting model to obtain an initial push information sequence.
In some embodiments, the execution body may input the sample initial push information set and the average weight value set into the ranking model to obtain an initial push information sequence.
And ninth, determining a difference value between the initial push information sequence and a sample push information sequence included in the training sample based on a preset loss function.
In some embodiments, the executing entity may determine a difference value between the initial push information sequence and a sample push information sequence included in the training sample based on a predetermined loss function. The preset loss function may be, but is not limited to: mean square error loss function (MSE), cross entropy loss function (cross entropy), 0-1 loss function, absolute loss function, log loss function, square loss function, exponential loss function, and the like.
And tenth, in response to determining that the difference value is greater than a preset difference value, adjusting network parameters of the initial push information sequence generation model.
In some embodiments, in response to determining that the difference value is greater than a preset difference value, the execution body may adjust network parameters of the initial push information sequence generation model. In practice, the executing body may adjust the network parameters of the initial push information sequence generating model in response to determining that the difference value is greater than a preset difference value. For example, the above-described difference value and the preset difference value may be differentiated. On this basis, the error value is transmitted forward from the last layer of the model by using back propagation, random gradient descent and the like to adjust the parameters of each layer. Of course, a network freezing (dropout) method may be used as needed, and network parameters of some layers therein may be kept unchanged and not adjusted, which is not limited in any way. The setting of the preset difference value is not limited, and for example, the preset difference value may be 0.1.
The optional technical content in step 103 is taken as an invention point of the embodiment of the present disclosure, and solves the second technical problem mentioned in the background art, namely "communication resources are wasted". Factors wasting communication resources are often as follows: and sending preset push information to the user terminal, wherein the preset push information does not meet the user requirement. If the above factors are solved, the effect of reducing the waste of waiting time of the user can be achieved. To achieve this effect, first, a training sample set is acquired. Wherein, the training samples in the training sample set include: a sample initial push information set and a sample push information sequence. Second, an initial push information sequence generation model is determined. The initial push information sequence generation model comprises the following steps: the first initial weight generation model, the second initial weight generation model and the sorting model. Thus, an initial push information sequence generation model can be determined, and the first initial weight generation model and the second initial weight generation model consider user click probability and completion probability and consider different indexes. Thirdly, selecting training samples from the training sample set. Fourth, inputting initial pushing information of each sample in the initial pushing information set of the training samples into the first initial weight generating model to generate a first initial weight value, so as to obtain a first initial weight value set. Thus, a more accurate first initial weight value machine can be obtained by taking into account the more accurate first initial weight generation model of the first sub-model and the second sub-model of the click probability. Fifthly, inputting initial pushing information of each sample in the initial pushing information set of the training samples into the second initial weight generating model to generate a second initial weight, and obtaining a second initial weight value set. Thus, a more accurate second initial weight value machine can be obtained by taking into account the more accurate second initial weight generation model of the third sub-model and the fourth sub-model of the completion probability. Sixth, for each first initial weight value in the first initial weight value set, an average value of the first initial weight value and a second initial weight value corresponding to the first initial weight value is determined as an average weight value. Seventh, each of the determined average weight values is determined as an average weight value set. Thus, a more accurate average weight value set considering the click probability and the completion probability can be obtained. Eighth, the initial pushing information set of the sample and the average weight value set are input into the sorting model, and an initial pushing information sequence is obtained. Therefore, a more accurate initial push information sequence can be obtained through a more accurate average weight value set. Ninth, based on a preset loss function, a difference value between the initial push information sequence and a sample push information sequence included in the training sample is determined. Therefore, the difference value can be obtained according to a preset loss function so as to subsequently adjust the network parameters of the initial push information sequence generation model. And tenth, in response to determining that the difference value is greater than a preset difference value, adjusting network parameters of the initial push information sequence generation model. Therefore, the network parameters of the initial push information sequence generation model can be continuously adjusted according to the difference value, the accurate initial push information sequence generation model is obtained, and the accurate initial push information sequence is obtained through the model. Therefore, the initial push information sequence which meets the user requirement can be sent to the user terminal more accurately. Further, waste of communication resources can be reduced.
Optionally, in response to determining that the difference value is less than or equal to the preset difference value, determining the initial push information sequence generation model as a trained push information sequence generation model.
In some embodiments, the executing body may determine the initial push information sequence generation model as a trained push information sequence generation model in response to determining that the difference value is equal to or less than the preset difference value.
And 104, in response to receiving user request information sent by the user terminal, updating the initial virtual gift fragment information set to generate a virtual gift fragment information set, and storing the virtual gift fragment information set to the storage terminal.
In some embodiments, the executing body may update the initial virtual gift fragment information set in response to receiving user request information transmitted from the user terminal to generate a virtual gift fragment information set, and may store the virtual gift fragment information set to a storage terminal. The user request information may indicate that the user terminal clicks the push information. The push information may include, but is not limited to, at least one of: push identification, push condition, push fragment number. The push condition may characterize a condition that the user wants to acquire the virtual gift fragment to complete. The number of pushing fragments may be the number of virtual gift fragments that the user terminal can obtain after completing the pushing condition. For example, the push condition may be, but is not limited to: browsing a predetermined page (clicking push information jumps to the predetermined page and stays at the designated page for 15 seconds), and increasing the value attribute value (recharging) of the user terminal. The predetermined page may be a page that is preset to be viewed by the user terminal.
In practice, in response to receiving the user request information sent by the user terminal, the executing body may update the initial virtual gift fragment information set to generate a virtual gift fragment information set by:
first, generating new fragment information of the virtual gift corresponding to the user request information in response to determining that the user request information meets a preset completion condition. Wherein, the virtual gift newly added fragment information may include, but is not limited to: virtual gift fragment identification, virtual gift fragment number. The preset completion condition may be a push condition that the user terminal completes the push of the information. The number of virtual gift fragments included in the virtual gift newly-added fragment information may be the number of push fragments included in the push information corresponding to the user request information.
Second, for each initial virtual gift fragment information in the initial virtual gift fragment information set, the following processing sub-steps are performed:
and a first sub-step of determining, as a total number of virtual gift pieces, a sum of an initial number of virtual gift pieces included in the initial virtual gift piece information, a number of virtual gift pieces included in the virtual gift newly-added piece information, and the total number of virtual gift pieces in response to determining that the virtual gift piece identification included in the initial virtual gift piece information is the same as the virtual gift piece identification included in the virtual gift newly-added piece information.
And a second sub-step of determining the number of initial virtual gift fragment included in the initial virtual gift fragment information as the total number of virtual gift fragments in response to determining that the virtual gift fragment identifier included in the initial virtual gift fragment information is different from the virtual gift fragment identifier included in the virtual gift newly-added fragment information.
And a third sub-step of determining the determined total number of virtual gift fragment, the virtual gift fragment identification included in the initial virtual gift fragment information, and the virtual gift fragment category as virtual gift fragment information.
And thirdly, determining each determined virtual gift fragment information as a virtual gift fragment information set.
And step 105, for each piece of virtual gift fragment information in the set of virtual gift fragment information, in response to determining that the total number of virtual gift fragments included in the piece of virtual gift fragment information is greater than the preset number of fragments, sending preset merging information to the user terminal to generate a merging request.
In some embodiments, the executing body may send preset merger information to the user terminal to generate the merger request in response to determining that the total number of virtual gift pieces included in the virtual gift piece information is greater than the preset number of pieces, for each virtual gift piece information in the virtual gift piece information set. For example, the preset number of fragments may be 10. The preset merging information may characterize "the total number of virtual gift fragments exceeds 10, and virtual gift may be merged".
And step 106, generating target virtual gift merging information in response to receiving the merging request sent by the user terminal.
In some embodiments, the executing body may generate the target virtual gift combining information in response to receiving the combining request transmitted from the user terminal. Wherein, the above-mentioned merging request may characterize that the user terminal wants to merge the virtual gift fragments.
In practice, in response to receiving the merging request sent by the user terminal, the executing body may generate the target virtual gift merging information by:
first, in response to receiving a merging request sent by the user terminal, obtaining target virtual gift fragment information, an initial virtual gift information set and initial virtual gift merging times corresponding to the merging request from the storage terminal. In practice, in response to receiving the merging request sent by the user terminal, the executing body may acquire, from the storage terminal, target virtual gift fragment information, an initial virtual gift information set, and an initial virtual gift merging number corresponding to the merging request through a wired connection or a wireless connection. Wherein, the target virtual gift fragment information may include, but is not limited to, at least one of the following: total number of virtual gift fragments, virtual gift fragment identification, virtual gift fragment category. The initial virtual gift information in the initial virtual gift information set may include, but is not limited to, at least one of: virtual gift identification, number of virtual gift, virtual gift category. The initial virtual gift merger number may be the number of virtual gift fragments that are merged during the current time period. For example, the current time period may be within one month prior to the current time. For example, the current time period may also be within half a month before the current time. For example, the current time period may also be within one week before the current time.
And a second step of determining a difference between a total number of virtual gift pieces included in the target virtual gift piece information and a preset piece merging number as a target virtual gift piece number in response to determining that the target virtual gift piece information satisfies a preset merging condition. The preset merging condition may be that the total number of virtual gift fragments included in the target virtual gift fragment information is greater than the preset fragment number. The preset fragment merging number may be a product of an integer part of a ratio of a total number of virtual gift fragments to the preset fragment number and the preset fragment number.
And thirdly, determining the sum of the initial virtual gift merging times and the preset merging times as the target virtual gift merging times. The preset combining number may be an integer part of a ratio of the total number of virtual gift fragments to the preset fragment number.
Fourth, generating virtual gift information based on the virtual gift fragment category included in the target virtual gift fragment information and the number of times of merging the target virtual gift. Wherein, the virtual gift information may include, but is not limited to, at least one of: virtual gift identification, virtual gift quantity.
And fifthly, determining the number of fragments of the target virtual gift, the number of times of merging the target virtual gift and the virtual gift information as target virtual gift merging information.
Optionally, the method further comprises:
and the first step, in response to determining that the target virtual gift fragment information does not meet the preset merging condition, carrying out alarm processing on the user terminal.
In some embodiments, the executing body may perform alarm processing on the user terminal in response to determining that the target virtual gift fragment information does not satisfy the preset combining condition. The alarm processing can be to display warning characters or control a loudspeaker to send out prompt sounds. For example, the warning text may be "the number of fragments is too small to merge".
And secondly, determining the preset information as target virtual gift merging information.
In some embodiments, the executing body may determine the preset information as the target virtual gift combining information. The preset information may be information indicating that the device is empty.
In practice, based on the virtual gift fragment category included in the target virtual gift fragment information and the number of times of merging the target virtual gift, the execution subject may generate virtual gift information by:
The first step, acquiring a merging time information group of each time granularity in a preset time period, and obtaining a merging time information group sequence. Wherein, the merging times information in the merging times information group sequence can include, but is not limited to, at least one of the following: virtual gift fragment identification, number of virtual gift mergers, virtual gift fragment type. In practice, the executing body may acquire the merging time information set of each time granularity in a preset time period from the terminal device through wired connection or wireless connection, so as to obtain a merging time information set sequence. Here, the preset period of time may be, but is not limited to: 2022.7.1-2023.7.1, 2023.1.1-2023.7.1, 2023.4.1-2023.7.1. The temporal granularity may be, but is not limited to: one month, half month, one week.
And secondly, classifying the merging times information group sequence to generate a target merging times information sequence set. The target merging time information in the target merging time information sequence set may correspond to the merging time information in the merging time information group sequence. Here, each of the pieces of the merging-time information in the merging-time information group sequence corresponds to the same time granularity. Each piece of target merging time information in the target merging time information sequence set corresponds to the same virtual gift fragment type.
Third, for each target merging time information sequence in the target merging time information sequence set, the following generation steps are executed:
a first generation step of, for each of the target combination count information in the target combination count information sequence, performing the following determination step:
a first determining step of determining a target number of merging information sequence from which the target number of merging information is removed as a target number of merging removal information set.
And a second determining step of determining, for each of the target combining number removing information in the target combining number removing information set, a difference between the virtual gift combining number included in the target combining number removing information and the virtual gift combining number included in the target combining number information as a target combining difference.
And a third determining step of determining the sum of the determined target merging differences as a target merging total difference.
And a second generation step, namely determining the target merging times information corresponding to the minimum target merging total difference value in the determined target merging total difference values as target center merging times information.
And a third generation step, wherein the product of the virtual gift merging times included in the target center merging times information and a preset value is determined as a virtual gift merging threshold. For example, the preset value may be 130%.
And fourth, determining each determined virtual gift combining threshold as a virtual gift combining threshold set.
And fifthly, determining the virtual gift merging threshold value corresponding to the virtual gift fragment category included in the target virtual gift fragment information as a target virtual gift merging threshold value in the virtual gift merging threshold value set.
And a sixth step of determining, as virtual gift information, first virtual gift information corresponding to the target virtual gift fragment information in response to determining that the number of times of merging the target virtual gift is greater than the target virtual gift merging threshold. Wherein, the first virtual gift information may include, but is not limited to, at least one of: virtual gift identification, virtual gift quantity. The virtual gift identification included in the first virtual gift information may be a virtual gift fragment corresponding to the target virtual gift fragment information, a virtual gift of a corresponding next category, and a corresponding virtual gift identification. The number of virtual gifts may be the preset number of mergers.
Seventh, in response to determining that the number of times of merging the target virtual gift is less than or equal to the target virtual gift merging threshold, determining second virtual gift information corresponding to the target virtual gift fragment information as virtual gift information. Wherein, the second virtual gift information may include, but is not limited to, at least one of: virtual gift identification, virtual gift quantity. The virtual gift identification included in the second virtual gift information may be a virtual gift fragment corresponding to the target virtual gift fragment information, a virtual gift corresponding to the same category, and a virtual gift identification corresponding to the same category. The number of virtual gifts may be the preset number of mergers.
The related art content in step 106 is taken as an invention point of the embodiment of the present disclosure, and solves the third technical problem mentioned in the background art, namely "the storage resource of the storage terminal is wasted". Factors that lead to wasting storage resources of the storage terminal are often as follows: the accuracy of the preset generation probability stored by the storage terminal is lower, the accuracy of the virtual gift merging information generated through the preset generation probability is lower, and the virtual gift merging information sent to the user terminal does not meet the user requirement. If the above factors are solved, the effect of reducing the waste of the power equipment resources can be achieved. To achieve this effect, first, a merging-time information set for each time granularity in a preset time period is acquired, and a merging-time information set sequence is obtained. Wherein the merging time information in the merging time information group sequence includes: virtual gift fragment identification, virtual gift merging times. Thus, the merging times information group sequence of each time granularity in the history time period can be obtained. And secondly, classifying the merging times information group sequence to generate a target merging times information sequence set. The target merging time information in the target merging time information sequence set corresponds to the merging time information in the merging time information group sequence. Thus, the target merging times information sequence of each category can be obtained. Next, for each of the target merging times information sequences in the target merging times information sequence set, the following generation steps are performed: first, for each target combining number information in the target combining number information sequence, the following determination step is performed: and determining the target merging time information sequence from which the target merging time information is removed as a target merging time removal information set. And for each target merging time removal information in the target merging time removal information set, determining a difference value of the virtual gift merging time included in the target merging time removal information and the virtual gift merging time included in the target merging time information as a target merging difference value. And determining the sum of the determined target merging differences as a target merging total difference. Thus, the distance value between each piece of target combination number information and other pieces of target combination number information in the same category can be obtained. Second, the target merging times information corresponding to the smallest target merging total difference value in the determined target merging total difference values is determined as target center merging times information. Thus, the target merging times information with the smallest distance value with other target merging times information under the same category can be obtained. Thirdly, determining the product of the virtual gift merging times included in the target center merging times information and a preset value as a virtual gift merging threshold. Then, each determined virtual gift combining threshold value is determined as a virtual gift combining threshold value set, and the virtual gift combining threshold value set is stored in the storage terminal. Thus, a set of virtual gift combining thresholds may be obtained for subsequent generation of virtual gift information from the set of virtual gift combining thresholds. And then, determining the virtual gift combining threshold corresponding to the virtual gift fragment category included in the target virtual gift fragment information as a target virtual gift combining threshold in the virtual gift combining threshold set. After that, in response to determining that the number of times of merging the target virtual gift is greater than the target virtual gift merging threshold, first virtual gift information corresponding to the target virtual gift fragment information is determined as virtual gift information. And finally, in response to determining that the number of times of merging the target virtual gift is less than or equal to the target virtual gift merging threshold, determining second virtual gift information corresponding to the target virtual gift fragment information as virtual gift information. Therefore, more accurate virtual gift information can be determined according to the obtained virtual gift merging threshold set. Therefore, the storage terminal can store a more accurate virtual gift combining threshold set instead of storing a preset generation probability. Therefore, the virtual gift combining information meeting the user requirement can be generated through the accurate virtual gift combining threshold value set. Furthermore, the waste of power equipment resources can be reduced.
And 107, updating the user basic information based on the target virtual gift combination information to generate target user basic information, and storing the target user basic information into the storage terminal.
In some embodiments, the executing body may update the user basic information based on the target virtual gift combining information to generate target user basic information, and store the target user basic information to the storage terminal.
In practice, based on the target virtual gift combining information, the executing body may update the user basic information to generate target user basic information by:
first, in response to determining that the target virtual gift combining information satisfies a preset deletion condition, determining the user basic information as target user basic information. The preset deletion condition may be that the target virtual gift combining information is null information.
And a second step of updating the user basic information based on the target virtual gift combining information to generate target user basic information in response to determining that the target virtual gift combining information does not satisfy the preset deletion condition. In practice, based on the target virtual gift combining information, the executing body may update the user basic information to generate target user basic information by: first, the number of initial virtual gift fragments included in the user basic information is updated to the number of target virtual gift fragments included in the target virtual gift combining information. Then, the virtual gift identification included in the virtual gift information included in the user basic information and the target virtual gift combining information, the corresponding initial virtual gift information, and the number of virtual gifts included are updated to be the sum of the number of virtual gifts and the number of virtual gifts included in the target virtual gift combining information.
And step 108, transmitting the target virtual gift combining information to the user terminal.
In some embodiments, the execution body may transmit the target virtual gift combining information to the user terminal.
The above embodiments of the present disclosure have the following advantageous effects: by the virtual gift combining method of some embodiments of the present disclosure, waste of communication resources can be reduced. Specifically, the reason why communication resources are wasted is that: the fixed virtual gift combining information does not meet the user requirement, and the fixed virtual gift combining information is sent to the user terminal. Based on this, the virtual gift combining method of some embodiments of the present disclosure first obtains user basic information of the user terminal. Wherein, the user basic information includes: an initial virtual gift fragment information set. Next, an initial push information set is acquired. And then, inputting the initial push information set into a pre-trained push information sequence generation model to obtain a push information sequence, and sending the push information sequence to the user terminal to generate user request information. Therefore, the push information sequence considering the user requirement can be obtained through the push information sequence generation model, and information which the user wants to click can be sent to the user terminal. And then, in response to receiving the user request information sent by the user terminal, updating the initial virtual gift fragment information set to generate a virtual gift fragment information set, and storing the virtual gift fragment information set in a storage terminal. Wherein, the virtual gift fragment information in the virtual gift fragment information set includes: total number of virtual gift fragments. Therefore, after the user terminal clicks the push information, the number of virtual gift fragment information can be increased. Then, for each virtual gift fragment information in the virtual gift fragment information set, in response to determining that the total number of virtual gift fragments included in the virtual gift fragment information is greater than a preset fragment number, preset merging information is transmitted to the user terminal to generate a merging request. Therefore, the preset merging information can be sent to the user terminal to remind the user terminal to synthesize the virtual gift. And then, generating target virtual gift merging information in response to receiving the merging request sent by the user terminal. Therefore, when the user terminal sends a merging request to merge virtual gifts, accurate target virtual gift merging information can be generated according to virtual gift fragment information corresponding to the merging request. And then, based on the target virtual gift combining information, updating the user basic information to generate target user basic information, and storing the target user basic information into the storage terminal. Therefore, the updated more accurate target user basic information can be stored in the storage terminal, so that the more accurate target user basic information can be acquired from the storage terminal next time. And finally, sending the target virtual gift merging information to the user terminal. Therefore, more accurate target virtual gift merging information can be sent to the user terminal. Thus, waste of communication resources can be reduced.
With further reference to fig. 2, as an implementation of the method illustrated in the above figures, the present disclosure provides embodiments of a virtual gift combining apparatus that correspond to those illustrated in fig. 1, which may be particularly applicable in a variety of electronic devices.
As shown in fig. 2, the virtual gift combining apparatus 200 of some embodiments includes: a first acquisition unit 201, a second acquisition unit 202, an input unit 203, a first update unit 204, a first transmission unit 205, a generation unit 206, a second update unit 207, and a second transmission unit 208. Wherein, the first obtaining unit 201 is configured to obtain user basic information of the user terminal, where the user basic information includes: an initial virtual gift fragment information set; a second acquisition unit 202 configured to acquire an initial push information set; an input unit 203 configured to input the initial push information set into a pre-trained push information sequence generation model, obtain a push information sequence, and send the push information sequence to the user terminal to generate user request information; a first updating unit 204 configured to perform an updating process on the initial virtual gift fragment information set in response to receiving user request information transmitted from the user terminal, to generate a virtual gift fragment information set, and store the virtual gift fragment information set in a storage terminal, wherein the virtual gift fragment information in the virtual gift fragment information set includes: total number of virtual gift fragments; a first transmitting unit 205 configured to transmit preset merging information to the user terminal to generate a merging request in response to determining that the total number of virtual gift pieces included in the virtual gift piece information is greater than a preset number of pieces, for each virtual gift piece information in the virtual gift piece information set; a generating unit 206 configured to generate target virtual gift merging information in response to receiving the merging request sent by the user terminal; a second updating unit 207 configured to update the user basic information based on the target virtual gift combining information to generate target user basic information, and store the target user basic information to the storage terminal; and a second transmitting unit 208 configured to transmit the target virtual gift combining information to the user terminal.
It will be appreciated that the elements described in the virtual gift combining apparatus 200 correspond to the various steps in the method described with reference to fig. 1. Thus, the operations, features and advantages described above with respect to the method are equally applicable to the virtual gift combining device 200 and the units contained therein, and are not described herein.
Referring now to FIG. 3, a schematic diagram of an electronic device (e.g., computing device) 300 suitable for use in implementing some embodiments of the present disclosure is shown. The electronic devices in some embodiments of the present disclosure may include, but are not limited to, mobile terminals such as mobile phones, notebook computers, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), car terminals (e.g., car navigation terminals), and the like, as well as stationary terminals such as digital TVs, desktop computers, and the like. The electronic device shown in fig. 3 is merely an example and should not impose any limitations on the functionality and scope of use of embodiments of the present disclosure.
As shown in fig. 3, the electronic device 300 may include a processing means (e.g., a central processing unit, a graphics processor, etc.) 301 that may perform various suitable actions and processes in accordance with a program stored in a Read Only Memory (ROM) 302 or a program loaded from a storage means 308 into a Random Access Memory (RAM) 303. In the RAM303, various programs and data required for the operation of the electronic apparatus 300 are also stored. The processing device 301, the ROM302, and the RAM303 are connected to each other via a bus 304. An input/output (I/O) interface 305 is also connected to bus 304.
In general, the following devices may be connected to the I/O interface 305: input devices 306 including, for example, a touch screen, touchpad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, etc.; an output device 307 including, for example, a Liquid Crystal Display (LCD), a speaker, a vibrator, and the like; storage 308 including, for example, magnetic tape, hard disk, etc.; and communication means 309. The communication means 309 may allow the electronic device 300 to communicate with other devices wirelessly or by wire to exchange data. While fig. 3 shows an electronic device 300 having various means, it is to be understood that not all of the illustrated means are required to be implemented or provided. More or fewer devices may be implemented or provided instead. Each block shown in fig. 3 may represent one device or a plurality of devices as needed.
In particular, according to some embodiments of the present disclosure, the processes described above with reference to flowcharts may be implemented as computer software programs. For example, some embodiments of the present disclosure include a computer program product comprising a computer program embodied on a computer readable medium, the computer program comprising program code for performing the method shown in the flow chart. In such embodiments, the computer program may be downloaded and installed from a network via communications device 309, or from storage device 308, or from ROM 302. The above-described functions defined in the methods of some embodiments of the present disclosure are performed when the computer program is executed by the processing means 301.
It should be noted that, the computer readable medium described in some embodiments of the present disclosure may be a computer readable signal medium or a computer readable storage medium, or any combination of the two. The computer readable storage medium can be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or a combination of any of the foregoing. More specific examples of the computer-readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In some embodiments of the present disclosure, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In some embodiments of the present disclosure, however, the computer-readable signal medium may comprise a data signal propagated in baseband or as part of a carrier wave, with the computer-readable program code embodied therein. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination of the foregoing. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: electrical wires, fiber optic cables, RF (radio frequency), and the like, or any suitable combination of the foregoing.
In some implementations, the clients, servers may communicate using any currently known or future developed network protocol, such as HTTP (HyperText Transfer Protocol ), and may be interconnected with any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include a local area network ("LAN"), a wide area network ("WAN"), the internet (e.g., the internet), and peer-to-peer networks (e.g., ad hoc peer-to-peer networks), as well as any currently known or future developed networks.
The computer readable medium may be contained in the electronic device; or may exist alone without being incorporated into the electronic device. The computer readable medium carries one or more programs which, when executed by the electronic device, cause the electronic device to: obtaining user basic information of a user terminal, wherein the user basic information comprises: an initial virtual gift fragment information set; acquiring an initial push information set; inputting the initial push information set into a pre-trained push information sequence generation model to obtain a push information sequence, and sending the push information sequence to the user terminal to generate user request information; in response to receiving user request information sent by the user terminal, updating the initial virtual gift fragment information set to generate a virtual gift fragment information set, and storing the virtual gift fragment information set in a storage terminal, wherein the virtual gift fragment information in the virtual gift fragment information set includes: total number of virtual gift fragments; for each virtual gift fragment information in the virtual gift fragment information set, in response to determining that the total number of virtual gift fragments included in the virtual gift fragment information is greater than a preset fragment number, transmitting preset merging information to the user terminal to generate a merging request; generating target virtual gift merging information in response to receiving a merging request sent by the user terminal; updating the user basic information based on the target virtual gift combination information to generate target user basic information, and storing the target user basic information into the storage terminal; and sending the target virtual gift merging information to the user terminal.
Computer program code for carrying out operations for some embodiments of the present disclosure may be written in one or more programming languages, including an object oriented programming language such as Java, smalltalk, C ++ and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computer (for example, through the Internet using an Internet service provider).
The flowcharts and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The units described in some embodiments of the present disclosure may be implemented by means of software, or may be implemented by means of hardware. The described units may also be provided in a processor, for example, described as: a processor includes a first acquisition unit, a second acquisition unit, an input unit, a first update unit, a first transmission unit, a generation unit, a second update unit, and a second transmission unit. The names of these units do not constitute a limitation of the unit itself in some cases, and the acquisition unit may also be described as "user basic information of the user terminal", for example.
The functions described above herein may be performed, at least in part, by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: a Field Programmable Gate Array (FPGA), an Application Specific Integrated Circuit (ASIC), an Application Specific Standard Product (ASSP), a system on a chip (SOC), a Complex Programmable Logic Device (CPLD), and the like.
The foregoing description is only of the preferred embodiments of the present disclosure and description of the principles of the technology being employed. It will be appreciated by those skilled in the art that the scope of the invention in the embodiments of the present disclosure is not limited to the specific combination of the above technical features, but encompasses other technical features formed by any combination of the above technical features or their equivalents without departing from the spirit of the invention. Such as the above-described features, are mutually substituted with (but not limited to) the features having similar functions disclosed in the embodiments of the present disclosure.

Claims (8)

1. A virtual gift combining method, comprising:
obtaining user basic information of a user terminal, wherein the user basic information comprises: an initial virtual gift fragment information set;
acquiring an initial push information set;
inputting the initial push information set into a pre-trained push information sequence generation model to obtain a push information sequence, and sending the push information sequence to the user terminal to generate user request information;
in response to receiving user request information sent by the user terminal, updating the initial virtual gift fragment information set to generate a virtual gift fragment information set, and storing the virtual gift fragment information set to a storage terminal, wherein the virtual gift fragment information in the virtual gift fragment information set comprises: total number of virtual gift fragments;
for each virtual gift fragment information in the virtual gift fragment information set, in response to determining that the total number of virtual gift fragments included in the virtual gift fragment information is greater than a preset fragment number, transmitting preset merging information to the user terminal to generate a merging request;
generating target virtual gift merging information in response to receiving a merging request sent by the user terminal;
Updating the user basic information based on the target virtual gift merging information to generate target user basic information, and storing the target user basic information to the storage terminal;
and sending the target virtual gift merging information to the user terminal.
2. The method of claim 1, wherein the initial virtual gift fragment information in the initial virtual gift fragment information set comprises: virtual gift fragment identification, initial virtual gift fragment number, virtual gift fragment category; and
the updating processing is performed on the initial virtual gift fragment information set in response to receiving the user request information sent by the user terminal, so as to generate a virtual gift fragment information set, including:
generating virtual gift newly-added fragment information corresponding to the user request information in response to determining that the user request information meets a preset completion condition, wherein the virtual gift newly-added fragment information comprises: virtual gift fragment identification, virtual gift fragment number;
for each initial virtual gift fragment information in the set of initial virtual gift fragment information, performing the following processing steps:
In response to determining that the virtual gift fragment identification included in the initial virtual gift fragment information is the same as the virtual gift fragment identification included in the virtual gift newly-added fragment information, determining the sum of the initial virtual gift fragment number included in the initial virtual gift fragment information, the virtual gift fragment number included in the virtual gift newly-added fragment information as the total number of virtual gift fragments;
in response to determining that the virtual gift fragment identifications included in the initial virtual gift fragment information are different from the virtual gift fragment identifications included in the virtual gift newly-added fragment information, determining the number of initial virtual gift fragments included in the initial virtual gift fragment information as the total number of virtual gift fragments;
determining the total number of the determined virtual gift fragment, the virtual gift fragment identification included in the initial virtual gift fragment information, and the virtual gift fragment category as virtual gift fragment information;
the determined respective virtual gift fragment information is determined as a virtual gift fragment information set.
3. The method of claim 1, wherein the generating the target virtual gift combining information in response to receiving the combining request transmitted by the user terminal comprises:
In response to receiving a merging request sent by the user terminal, acquiring target virtual gift fragment information and initial virtual gift merging times corresponding to the merging request from the storage terminal, wherein the target virtual gift fragment information comprises: total number of virtual gift fragments, virtual gift fragment class;
in response to determining that the target virtual gift fragment information meets a preset merging condition, determining a difference value between the total number of virtual gift fragments included in the target virtual gift fragment information and the preset fragment merging number as a target virtual gift fragment number;
determining the sum of the initial virtual gift merging times and preset merging times as target virtual gift merging times;
generating virtual gift information based on the virtual gift fragment category included in the target virtual gift fragment information and the number of times of merging the target virtual gift;
and determining the number of fragments of the target virtual gift, the number of merging times of the target virtual gift and the virtual gift information as target virtual gift merging information.
4. A method according to claim 3, wherein the method further comprises:
responding to the fact that the target virtual gift fragment information does not meet the preset merging condition, and carrying out alarm processing on the user terminal;
And determining the preset information as target virtual gift combining information.
5. The method of claim 1, wherein the updating the user basic information based on the target virtual gift combining information to generate target user basic information comprises:
determining the user basic information as target user basic information in response to determining that the target virtual gift combining information meets a preset deletion condition;
and in response to determining that the target virtual gift combining information does not meet the preset deletion condition, updating the user basic information based on the target virtual gift combining information to generate target user basic information.
6. A virtual gift combining apparatus comprising:
a first acquisition unit configured to acquire user basic information of a user terminal, wherein the user basic information includes: an initial virtual gift fragment information set;
a second acquisition unit configured to acquire an initial push information set;
the input unit is configured to input the initial push information set into a pre-trained push information sequence generation model to obtain a push information sequence, and send the push information sequence to the user terminal to generate user request information;
A first updating unit configured to perform an updating process on the initial virtual gift fragment information set in response to receiving user request information transmitted from the user terminal, to generate a virtual gift fragment information set, and store the virtual gift fragment information set to a storage terminal, wherein the virtual gift fragment information in the virtual gift fragment information set includes: total number of virtual gift fragments;
a first transmitting unit configured to transmit preset merging information to the user terminal to generate a merging request in response to determining that a total number of virtual gift fragment included in the virtual gift fragment information is greater than a preset fragment number, for each virtual gift fragment information in the virtual gift fragment information set;
a generation unit configured to generate target virtual gift combining information in response to receiving a combining request transmitted from the user terminal;
a second updating unit configured to update the user basic information based on the target virtual gift combining information to generate target user basic information, and store the target user basic information to the storage terminal;
And a second transmitting unit configured to transmit the target virtual gift combining information to the user terminal.
7. An electronic device, comprising:
one or more processors;
a storage device having one or more programs stored thereon;
when executed by the one or more processors, causes the one or more processors to implement the method of any of claims 1-5.
8. A computer readable medium having stored thereon a computer program, wherein the computer program, when executed by a processor, implements the method of any of claims 1-5.
CN202311083516.2A 2023-08-28 2023-08-28 Virtual gift merging method, device, electronic equipment and computer readable medium Active CN116800834B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311083516.2A CN116800834B (en) 2023-08-28 2023-08-28 Virtual gift merging method, device, electronic equipment and computer readable medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311083516.2A CN116800834B (en) 2023-08-28 2023-08-28 Virtual gift merging method, device, electronic equipment and computer readable medium

Publications (2)

Publication Number Publication Date
CN116800834A CN116800834A (en) 2023-09-22
CN116800834B true CN116800834B (en) 2023-10-27

Family

ID=88045102

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311083516.2A Active CN116800834B (en) 2023-08-28 2023-08-28 Virtual gift merging method, device, electronic equipment and computer readable medium

Country Status (1)

Country Link
CN (1) CN116800834B (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105978888A (en) * 2016-06-20 2016-09-28 郝运峰 Live broadcast studio virtual present recommendation method and system
WO2018113140A1 (en) * 2016-12-22 2018-06-28 武汉斗鱼网络科技有限公司 Method and system for displaying virtual gift during live video broadcast
CN109756787A (en) * 2018-12-29 2019-05-14 广州华多网络科技有限公司 The conferring system of the generation method of virtual present, device and virtual present
CN110213607A (en) * 2019-06-03 2019-09-06 广州虎牙信息科技有限公司 Direct broadcasting room interactive approach, device, terminal, server and readable storage medium storing program for executing
CN113031836A (en) * 2021-04-19 2021-06-25 腾讯科技(深圳)有限公司 Live data processing method and device and readable storage medium
CN113840155A (en) * 2021-09-22 2021-12-24 广州方硅信息技术有限公司 Method and system for replacing virtual gift and computer equipment
CN116489424A (en) * 2023-05-09 2023-07-25 广州博冠信息科技有限公司 Live background generation method and device, electronic equipment and computer readable medium

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110300335B (en) * 2019-05-08 2021-08-10 北京字节跳动网络技术有限公司 Message pushing method for virtual gift and electronic equipment
CN113824984A (en) * 2021-09-15 2021-12-21 广州方硅信息技术有限公司 Virtual gift pipelining display method, system, device and computer equipment

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105978888A (en) * 2016-06-20 2016-09-28 郝运峰 Live broadcast studio virtual present recommendation method and system
WO2018113140A1 (en) * 2016-12-22 2018-06-28 武汉斗鱼网络科技有限公司 Method and system for displaying virtual gift during live video broadcast
CN109756787A (en) * 2018-12-29 2019-05-14 广州华多网络科技有限公司 The conferring system of the generation method of virtual present, device and virtual present
CN110213607A (en) * 2019-06-03 2019-09-06 广州虎牙信息科技有限公司 Direct broadcasting room interactive approach, device, terminal, server and readable storage medium storing program for executing
CN113031836A (en) * 2021-04-19 2021-06-25 腾讯科技(深圳)有限公司 Live data processing method and device and readable storage medium
CN113840155A (en) * 2021-09-22 2021-12-24 广州方硅信息技术有限公司 Method and system for replacing virtual gift and computer equipment
CN116489424A (en) * 2023-05-09 2023-07-25 广州博冠信息科技有限公司 Live background generation method and device, electronic equipment and computer readable medium

Also Published As

Publication number Publication date
CN116800834A (en) 2023-09-22

Similar Documents

Publication Publication Date Title
CN110781373B (en) List updating method and device, readable medium and electronic equipment
CN112650841A (en) Information processing method and device and electronic equipment
CN112836128A (en) Information recommendation method, device, equipment and storage medium
CN116388112B (en) Abnormal supply end power-off method, device, electronic equipment and computer readable medium
CN116129440B (en) Abnormal user side alarm method, device, electronic equipment and medium
CN116109374A (en) Resource bit display method, device, electronic equipment and computer readable medium
CN116800834B (en) Virtual gift merging method, device, electronic equipment and computer readable medium
CN112860999B (en) Information recommendation method, device, equipment and storage medium
CN114926234A (en) Article information pushing method and device, electronic equipment and computer readable medium
CN116737917B (en) Text recommendation information generation method, electronic device and computer readable medium
CN116862319B (en) Power index information generation method, device, electronic equipment and medium
CN112200643A (en) Article information pushing method and device, electronic equipment and computer readable medium
CN116843800B (en) Animation information transmission method, device, electronic equipment and computer readable medium
CN117235535B (en) Abnormal supply end power-off method and device, electronic equipment and medium
CN117591048B (en) Task information processing method, device, electronic equipment and computer readable medium
CN116645211B (en) Recommended user information generation method, apparatus, device and computer readable medium
CN116703262B (en) Distribution resource adjustment method, distribution resource adjustment device, electronic equipment and computer readable medium
CN116881097B (en) User terminal alarm method, device, electronic equipment and computer readable medium
CN111582482B (en) Method, apparatus, device and medium for generating network model information
CN117692672B (en) Snapshot-based video information sending method and device, electronic equipment and medium
CN112734462B (en) Information recommendation method, device, equipment and medium
CN116662672B (en) Value object information transmitting method, device, equipment and computer readable medium
CN117132245B (en) Method, device, equipment and readable medium for reorganizing online article acquisition business process
CN115374320B (en) Text matching method and device, electronic equipment and computer medium
CN113283115B (en) Image model generation method and device and electronic equipment

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