CN114205651B - Resource processing method, device, equipment and storage medium - Google Patents

Resource processing method, device, equipment and storage medium Download PDF

Info

Publication number
CN114205651B
CN114205651B CN202210101341.2A CN202210101341A CN114205651B CN 114205651 B CN114205651 B CN 114205651B CN 202210101341 A CN202210101341 A CN 202210101341A CN 114205651 B CN114205651 B CN 114205651B
Authority
CN
China
Prior art keywords
resource
special effect
resources
target
time period
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
CN202210101341.2A
Other languages
Chinese (zh)
Other versions
CN114205651A (en
Inventor
周航
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Dajia Internet Information Technology Co Ltd
Original Assignee
Beijing Dajia Internet Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Dajia Internet Information Technology Co Ltd filed Critical Beijing Dajia Internet Information Technology Co Ltd
Priority to CN202210101341.2A priority Critical patent/CN114205651B/en
Publication of CN114205651A publication Critical patent/CN114205651A/en
Application granted granted Critical
Publication of CN114205651B publication Critical patent/CN114205651B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/238Interfacing the downstream path of the transmission network, e.g. adapting the transmission rate of a video stream to network bandwidth; Processing of multiplex streams
    • H04N21/2387Stream processing in response to a playback request from an end-user, e.g. for trick-play
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/21Server components or server architectures
    • H04N21/218Source of audio or video content, e.g. local disk arrays
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/24Monitoring of processes or resources, e.g. monitoring of server load, available bandwidth, upstream requests
    • H04N21/2407Monitoring of transmitted content, e.g. distribution time, number of downloads
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/25Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
    • H04N21/258Client or end-user data management, e.g. managing client capabilities, user preferences or demographics, processing of multiple end-users preferences to derive collaborative data
    • H04N21/25866Management of end-user data
    • H04N21/25891Management of end-user data being end-user preferences
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/25Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
    • H04N21/262Content or additional data distribution scheduling, e.g. sending additional data at off-peak times, updating software modules, calculating the carousel transmission frequency, delaying a video stream transmission, generating play-lists
    • H04N21/26208Content or additional data distribution scheduling, e.g. sending additional data at off-peak times, updating software modules, calculating the carousel transmission frequency, delaying a video stream transmission, generating play-lists the scheduling operation being performed under constraints
    • H04N21/26241Content or additional data distribution scheduling, e.g. sending additional data at off-peak times, updating software modules, calculating the carousel transmission frequency, delaying a video stream transmission, generating play-lists the scheduling operation being performed under constraints involving the time of distribution, e.g. the best time of the day for inserting an advertisement or airing a children program

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Business, Economics & Management (AREA)
  • Marketing (AREA)
  • Computer Graphics (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The disclosure relates to a resource processing method, a device, equipment and a storage medium, which relate to the technical field of Internet and can improve the efficiency of resource processing. The resource processing method comprises the following steps: receiving a resource request for requesting to acquire special effect resources, which is sent by a terminal in a target time period; the resource request comprises an account identifier of an account of the login terminal; responding to the resource request, and acquiring user portrait information of the account according to the account identifier; acquiring target special effect resources corresponding to user portrait information and target time periods from a resource database storing various types of special effect resources; and sending the target special effect resource to the terminal.

Description

Resource processing method, device, equipment and storage medium
Technical Field
The disclosure relates to the technical field of internet, and in particular relates to a resource processing method, a device, equipment and a storage medium.
Background
Currently, content community type application software (APP) has a perfect special effect display function. When the terminal displays various special effect resources, the terminal needs to request to acquire the special effect resources from the server.
In the prior art, different types of special effect resources are stored in different configuration platforms. When receiving a special effect resource request sent by a terminal, a server generally acquires a total amount of special effect resources from a plurality of databases corresponding to a plurality of types of special effect resources one by one, and sends the total amount of special effect resources to the terminal, so that the processing efficiency of the special effect resources is reduced. And secondly, because a part of users may not use the full quantity of special effect resources, if the full quantity of special effect resources are issued to the terminal in the network peak period, the processing efficiency of the special effect resources is reduced, and unnecessary pressure is caused to the network.
Disclosure of Invention
The disclosure provides a resource processing method, a device, equipment and a storage medium, which can improve the efficiency of resource processing.
The technical scheme of the embodiment of the disclosure is as follows:
According to a first aspect of embodiments of the present disclosure, there is provided a resource processing method, which may be applied to a server. The resource processing method may include:
Receiving a resource request for requesting to acquire special effect resources, which is sent by a terminal in a target time period; the resource request comprises an account identifier of an account of the login terminal;
responding to the resource request, and acquiring user portrait information of the account according to the account identifier;
Acquiring target special effect resources corresponding to user portrait information and target time periods from a resource database storing various types of special effect resources;
and sending the target special effect resource to the terminal.
Optionally, the user portrait information includes: the account issues at least one of duration of the multimedia resource or consumption data of the account in a first time period;
Obtaining target special effect resources corresponding to user portrait information and target time periods from a resource database storing various types of special effect resources, wherein the method comprises the following steps:
When the target time period belongs to the second time period and the user portrait information meets the first preset condition, acquiring priorities of multiple types of special effect resources; the second time period is a time period when the network resource is smaller than the preset resource; the first preset condition includes: the time length is longer than or equal to the preset time length, or the consumption value corresponding to the consumption data is longer than or equal to the preset consumption value;
and determining the special effect resource with the priority higher than the preset priority as a target special effect resource.
Optionally, acquiring priorities of multiple types of special effect resources includes:
determining the special effect resources with the distance of the online time being smaller than the preset duration as a high-priority special effect resource set, and determining the priority of each special effect resource in the high-priority special effect resource set according to the online time of the special effect resources in the high-priority special effect resource set;
and determining the special effect resources with the distance of the online time being greater than or equal to the preset duration as a special effect resource set with low priority, and determining the priority of each special effect resource in the special effect resource set with low priority according to the online time of the special effect resources in the special effect resource set with low priority.
Optionally, the obtaining the target special effect resource corresponding to the user portrait information and the target time period from the resource database storing the special effect resources of multiple types includes:
When the target time period belongs to the second time period and the user portrait information meets a second preset condition, determining that the target special effect resource is an empty special effect resource; the second preset condition includes: the duration is smaller than the preset duration, or the consumption value corresponding to the consumption data is smaller than the preset consumption value.
Optionally, the obtaining the target special effect resource corresponding to the user portrait information and the target time period from the resource database storing the special effect resources of multiple types includes:
When the target time period belongs to the third time period, determining that the target special effect resource is all special effect resources in the resource database; the third time period is a time period when the network resource is greater than or equal to the preset resource.
Optionally, when the target special effect resource is all special effect resources in the resource database, sending the target special effect resource to the terminal includes:
determining the importance degree of each type of special effect resource according to the play times of each type of special effect resource;
And sequentially sending the target special effect resources to the terminal according to the importance degree of each type of special effect resources.
Optionally, sending the target special effect resource to the terminal includes:
Receiving a special effect resource issuing configuration instruction; the special effect resource issuing configuration instruction is used for configuring the quantity of the issued special effect resources;
And responding to the special effect resource issuing configuration instruction, and sending the special effect resources with the quantity corresponding to the special effect resource issuing configuration instruction to the terminal.
Optionally, the user portrait information further includes: account rights for an account; the multiple types of special effects resources include: testing special effect resources of the type;
Obtaining target special effect resources corresponding to user portrait information and target time periods from a resource database storing various types of special effect resources, wherein the method comprises the following steps:
and when the target time period belongs to the second time period and the account authority is the management authority, determining that the target special effect resource is the special effect resource of the test type.
Optionally, the resource processing method further includes:
Receiving a special effect resource creation instruction sent through a target port;
in response to the special effects resource creation instruction, special effects resources corresponding to the special effects resource creation instruction are stored in a resource database.
Optionally, the special effect resource creation instruction includes a type and an identifier of the special effect resource;
responding to the special effect resource creation instruction, storing the special effect resource corresponding to the special effect resource creation instruction in a resource database, comprising:
And responding to the special effect resource creation instruction, and storing the special effect resource corresponding to the special effect resource creation instruction in a resource database by taking the type and the identification of the special effect resource as an index.
Optionally, in response to the special effect resource creation instruction, after the special effect resource corresponding to the special effect resource creation instruction is stored in the resource database with the type and the identifier of the special effect resource as an index, the method further includes:
Receiving a query instruction for querying the special effect resource; the query instruction includes the type or state of the target special effect resource;
and responding to the query instruction, and outputting the special effect resource corresponding to the query instruction.
Optionally, the resource processing method further includes:
Receiving a special effect resource updating instruction;
and updating the special effect resource corresponding to the special effect resource creation instruction in response to the special effect resource update instruction.
Optionally, receiving the special effects resource update instruction includes:
Responding to the creation operation of the timing task, and triggering a special effect resource updating instruction at the moment corresponding to the timing task;
or triggering the special effect resource updating instruction in response to the creation operation of the special effect resource.
According to a second aspect of the embodiments of the present disclosure, there is provided a resource processing device, which may be applied to a server, including: a receiving unit, an acquiring unit and a transmitting unit;
The receiving unit is used for receiving a resource request which is sent by the terminal in a target time period and used for requesting to acquire special effect resources; the resource request comprises an account identifier of an account of the login terminal;
The acquisition unit is used for responding to the resource request and acquiring user portrait information of the account according to the account identifier;
The acquisition unit is also used for acquiring target special effect resources corresponding to the user portrait information and the target time period from a resource database storing the special effect resources of a plurality of types;
And the sending unit is used for sending the target special effect resource to the terminal.
Optionally, the user portrait information includes: the account issues at least one of duration of the multimedia resource or consumption data of the account in a first time period;
the acquisition unit is specifically configured to:
When the target time period belongs to the second time period and the user portrait information meets the first preset condition, acquiring priorities of multiple types of special effect resources; the second time period is a time period when the network resource is smaller than the preset resource; the first preset condition includes: the time length is longer than or equal to the preset time length, or the consumption value corresponding to the consumption data is longer than or equal to the preset consumption value;
and determining the special effect resource with the priority higher than the preset priority as a target special effect resource.
Optionally, the acquiring unit is specifically configured to:
determining the special effect resources with the distance of the online time being smaller than the preset duration as a high-priority special effect resource set, and determining the priority of each special effect resource in the high-priority special effect resource set according to the online time of the special effect resources in the high-priority special effect resource set;
and determining the special effect resources with the distance of the online time being greater than or equal to the preset duration as a special effect resource set with low priority, and determining the priority of each special effect resource in the special effect resource set with low priority according to the online time of the special effect resources in the special effect resource set with low priority.
Optionally, the acquiring unit is specifically configured to:
When the target time period belongs to the second time period and the user portrait information meets a second preset condition, determining that the target special effect resource is an empty special effect resource; the second preset condition includes: the duration is smaller than the preset duration, or the consumption value corresponding to the consumption data is smaller than the preset consumption value.
Optionally, the acquiring unit is specifically configured to:
When the target time period belongs to the third time period, determining that the target special effect resource is all special effect resources in the resource database; the third time period is a time period when the network resource is greater than or equal to the preset resource.
Optionally, when the target special effect resource is all special effect resources in the resource database, the sending unit is specifically configured to:
determining the importance degree of each type of special effect resource according to the play times of each type of special effect resource;
And sequentially sending the target special effect resources to the terminal according to the importance degree of each type of special effect resources.
Optionally, the sending unit is specifically configured to:
Receiving a special effect resource issuing configuration instruction; the special effect resource issuing configuration instruction is used for configuring the quantity of the issued special effect resources;
And responding to the special effect resource issuing configuration instruction, and sending the special effect resources with the quantity corresponding to the special effect resource issuing configuration instruction to the terminal.
Optionally, the user portrait information further includes: account rights for an account; the multiple types of special effects resources include: testing special effect resources of the type;
the acquisition unit is specifically configured to:
and when the target time period belongs to the second time period and the account authority is the management authority, determining that the target special effect resource is the special effect resource of the test type.
Optionally, the receiving unit is further configured to receive an special effect resource creation instruction sent through the target port;
the resource processing device further comprises a storage unit;
and the storage unit is used for responding to the special effect resource creation instruction and storing the special effect resource corresponding to the special effect resource creation instruction in the resource database.
Optionally, the special effect resource creation instruction includes a type and an identifier of the special effect resource;
the storage unit is specifically used for:
And responding to the special effect resource creation instruction, and storing the special effect resource corresponding to the special effect resource creation instruction in a resource database by taking the type and the identification of the special effect resource as an index.
Optionally, the receiving unit is further configured to receive a query instruction for querying the special effect resource; the query instruction includes the type or state of the target special effect resource;
the resource processing device further comprises an output unit;
And the output unit is used for responding to the query instruction and outputting special effect resources corresponding to the query instruction.
Optionally, the receiving unit is further configured to receive an effect resource update instruction;
the resource processing device further comprises an updating unit;
And the updating unit is used for responding to the special effect resource updating instruction and updating the special effect resource corresponding to the special effect resource creating instruction.
Optionally, the receiving unit is specifically configured to:
Responding to the creation operation of the timing task, and triggering a special effect resource updating instruction at the moment corresponding to the timing task;
or triggering the special effect resource updating instruction in response to the creation operation of the special effect resource.
According to a third aspect of embodiments of the present disclosure, there is provided a server, which may include: a processor and a memory for storing processor-executable instructions; wherein the processor is configured to execute the instructions to implement any of the above-described optional resource processing methods of the first aspect.
According to a fourth aspect of embodiments of the present disclosure, there is provided a computer-readable storage medium having instructions stored thereon, which when executed by a processor of a server, enable the server to perform any one of the above-mentioned alternative resource processing methods of the first aspect.
According to a fifth aspect of embodiments of the present disclosure, there is provided a computer program product comprising computer instructions which, when run on a server, cause the server to perform a resource processing method as described in any of the alternative implementations of the first aspect.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
The technical scheme provided by the embodiment of the disclosure at least brings the following beneficial effects:
based on any one of the above aspects, in the present disclosure, after receiving a resource request for requesting to acquire special effect resources sent by a terminal in a target time period, a server may acquire user portrait information of an account logged in the terminal in response to the resource request, and acquire target special effect resources corresponding to the user portrait information and the target time period from a resource database storing multiple types of special effect resources. Subsequently, the server sends the target special effect resource to the terminal. In this way, the server can acquire and issue the corresponding target special effect resources from one database storing the full amount of special effect resources through the target time period and the user portrait information. Compared with the prior art, the server does not need to acquire and issue the full quantity of special effect resources from a plurality of databases, and the efficiency of resource processing is improved.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the disclosure and together with the description, serve to explain the principles of the disclosure and do not constitute an undue limitation on the disclosure.
FIG. 1 is a schematic diagram of a resource processing system according to an embodiment of the present disclosure;
FIG. 2 is a schematic flow chart of a resource processing method according to an embodiment of the disclosure;
FIG. 3 is a flow chart illustrating yet another method for processing resources according to an embodiment of the present disclosure;
FIG. 4 is a flow chart illustrating yet another method for processing resources according to an embodiment of the present disclosure;
FIG. 5 is a flow chart illustrating yet another method for processing resources according to an embodiment of the present disclosure;
FIG. 6 is a flow chart illustrating yet another method for processing resources according to an embodiment of the present disclosure;
FIG. 7 is a flow chart illustrating yet another method for processing resources according to an embodiment of the present disclosure;
FIG. 8 is a flow chart illustrating yet another method for processing resources according to an embodiment of the present disclosure;
fig. 9 is a schematic structural diagram of a resource processing device according to an embodiment of the present disclosure;
fig. 10 shows a schematic structural diagram of a server according to an embodiment of the present disclosure.
Detailed Description
In order to enable those skilled in the art to better understand the technical solutions of the present disclosure, the technical solutions of the embodiments of the present disclosure will be clearly and completely described below with reference to the accompanying drawings.
It should be noted that the terms "first," "second," and the like in the description and claims of the present disclosure and in the foregoing figures are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged where appropriate such that the embodiments of the disclosure described herein may be capable of operation in sequences other than those illustrated or described herein. The implementations described in the following exemplary examples are not representative of all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with some aspects of the present disclosure as detailed in the accompanying claims.
It will be further understood that the terms "comprises" and/or "comprising," when used in this specification, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, and/or components.
The data referred to in this disclosure may be data authorized by the user or sufficiently authorized by the parties.
As described in the background, different types of effect resources are stored on different configuration platforms. When receiving a special effect resource request sent by a terminal, a server generally acquires a total amount of special effect resources from a plurality of databases corresponding to a plurality of types of special effect resources one by one, and sends the total amount of special effect resources to the terminal, so that the processing efficiency of the special effect resources is reduced. And secondly, because a part of users may not use the full quantity of special effect resources, if the full quantity of special effect resources are issued to the terminal in the network peak period, the processing efficiency of the special effect resources is reduced, and unnecessary pressure is caused to the network.
Based on this, the embodiment of the disclosure provides a resource processing method, after receiving a resource request for requesting to acquire special effect resources sent by a terminal in a target time period, a server may acquire user portrait information of an account logged in the terminal in response to the resource request, and acquire target special effect resources corresponding to the user portrait information and the target time period from a resource database storing multiple types of special effect resources. Subsequently, the server sends the target special effect resource to the terminal. In this way, the server can acquire and issue the corresponding target special effect resources from one database storing the full amount of special effect resources through the target time period and the user portrait information. Compared with the prior art, the server does not need to acquire and issue the full quantity of special effect resources from a plurality of databases, and the efficiency of resource processing is improved.
The resource processing method provided by the embodiment of the present disclosure is exemplarily described below with reference to the accompanying drawings:
Fig. 1 is a schematic diagram of a communication system according to an embodiment of the disclosure, as shown in fig. 1, where the communication system may include: server 110 and terminal 120. Server 110 may establish a connection with terminal 120 over a wired network or a wireless network.
The server 110 may be a data server of some special effects resource service platform, and may be used to store and process special effects resources.
Alternatively, the server 110 may be a data server of some multimedia resource service platform, and may be used to store and process multimedia resources. For example, the multimedia asset service platform may be a short video application service platform, a news service platform, a live broadcast service platform, a shopping service platform, a take-away service platform, a sharing service platform, a functional website, and the like. The multimedia resources provided by the short video application service platform can be some short video works, the multimedia resources provided by the news service platform can be some news information, the multimedia resources provided by the live broadcast service platform can be live broadcast works and the like, and the rest is not described in detail. The present disclosure is not limited to a particular type of multimedia asset service platform.
In this disclosure, the server 110 may include a plurality of short video application service platforms, each of which uniquely corresponds to an application program. The application program is installed on the terminal and displays the multimedia resources on the resource processing interface of the terminal. The server 110 is mainly configured to store related data of a content community application installed on the terminal 120, and may send corresponding data to the terminal when receiving a data acquisition request sent by the terminal 120.
In some embodiments, the server 110 may be a single server, or may be a server cluster formed by a plurality of servers. In some implementations, the server cluster may also be a distributed cluster. The present disclosure is also not limited to a particular implementation of server 110.
In still other embodiments, the server 110 may further include or be connected to a database, and the multimedia resources of the multimedia resource service platform may be stored in the database. The terminal 120 may implement an access operation to the multimedia resources in the database through the server 110.
The terminal 120 may be a mobile phone, a tablet computer, a desktop, a laptop, a handheld computer, a notebook, an ultra-mobile personal computer (UMPC), a netbook, a cellular phone, a Personal Digital Assistant (PDA), an augmented reality (augmented reality, AR) \virtual reality (VR) device, etc. that may install and use a content community application (e.g., a express hand), and the specific form of the terminal is not particularly limited in this disclosure. The system can perform man-machine interaction with a user through one or more modes of a keyboard, a touch pad, a touch screen, a remote controller, voice interaction or handwriting equipment and the like.
Alternatively, in the communication system shown in fig. 1 described above, the server 110 may be connected to at least one terminal 120. The present disclosure is not limited in the number and type of terminals 120.
The resource processing method provided by the embodiment of the present disclosure may be applied to the server in the application scenario shown in fig. 1.
As shown in fig. 2, when the resource processing method is applied to a server, the resource processing method may include:
s201, a server receives a resource request for requesting to acquire special effect resources, wherein the resource request is sent by a terminal in a target time period.
Wherein the resource request includes an account identification of an account of the login terminal.
Alternatively, the account identifier may be a unique identifier such as a login name of the account, a mobile phone number, and the like.
Alternatively, the resource request may be for requesting to acquire a full amount of special effects resources, or may be for requesting to acquire a partial type of special effects resources.
S202, the server responds to the resource request and obtains user portrait information of the account according to the account identifier.
Alternatively, the server may send the account identification to the server storing the user profile information for all accounts, thereby obtaining the user profile information for the account.
Optionally, the user profile information of the account may include: the account issues the duration of the multimedia resource, the consumption data of the account, the account authority of the account and the like in the first time period.
S203, the server acquires target special effect resources corresponding to the user portrait information and the target time period from a resource database storing the special effect resources of a plurality of types.
Alternatively, the resource database may be deployed on a server or on other devices. For ease of description, the application is illustrated with the resource database deployed on a server.
The resource database is used to store various types of special effects resources.
Optionally, the special effects resources include magic expression, cosmetic special effects, and the like.
Optionally, the server may obtain the target special effect resource corresponding to the user portrait information and the target time period according to various information (such as user habit, consumption intention, etc.) in the user portrait information and more dimensions such as importance degree of the special effect resource. .
Optionally, the server may also acquire target special effect resources corresponding to the user portrait information and the target time period by combining means such as deep learning.
S204, the server sends the target special effect resource to the terminal.
In one implementation manner, the method for sending the target special effect resource to the terminal by the server specifically includes:
and the server receives the special effect resource issuing configuration instruction.
The special effect resource issuing configuration instruction is used for configuring the quantity of the issued special effect resources.
Specifically, when the server sends the target special effect resource to the terminal, the server can also control the quantity of the issued special effect resource by configuring the quantity of the issued special effect resource.
And responding to the special effect resource issuing configuration instruction, and sending the special effect resources with the quantity corresponding to the special effect resource issuing configuration instruction to the terminal.
For example, when the number of target multimedia resources is 50, the server may receive an issue configuration instruction: the number of special effect resources issued is 10. In this case, when the server issues 50 special effect resources, only the 10 special effect resources with the highest priority may be issued.
In this way, the server can send the special effect resources with the quantity corresponding to the special effect resource issuing configuration instruction to the terminal according to the received effective resource issuing configuration instruction, so that the issuing strategy of the special effect resources can be controlled more flexibly, and the user experience is enriched.
Alternatively, the server may periodically obtain a full amount of special effects resources from the resource database and store the full amount of special effects resources in the local cache. After determining the target special effect resource, the server can directly obtain the target special effect resource from the cache and send the target special effect resource to the terminal.
Optionally, after determining the target special effect resource, the server may send a resource identifier of the target special effect resource to the terminal. Subsequently, after receiving the resource identifier of the target special effect resource, the terminal can query the position information of the resource database from the content delivery network (Content Delivery Network, CDN), and acquire the target special effect resource from the resource database according to the resource identifier of the target special effect resource.
The technical scheme provided by the embodiment at least brings the following beneficial effects: as can be seen from S201 to S204, after receiving a resource request for requesting to acquire special effect resources sent by a terminal in a target time period, the server may acquire user portrait information of an account of the login terminal in response to the resource request, and acquire target special effect resources corresponding to the user portrait information and the target time period from a resource database storing multiple types of special effect resources. Subsequently, the server sends the target special effect resource to the terminal. In this way, the server can acquire and issue the corresponding target special effect resources from one database storing the full amount of special effect resources through the target time period and the user portrait information. Compared with the prior art, the server does not need to acquire and issue the full quantity of special effect resources from a plurality of databases, and the efficiency of resource processing is improved.
In one implementation, the user portrayal information includes: the account issues at least one of duration of the multimedia resource or consumption data of the account in a first time period; referring to fig. 2, as shown in fig. 3, in S203, the method for obtaining, by the server, a target special effect resource corresponding to the user portrait information and the target time period from the resource database storing the special effect resources of a plurality of types specifically includes:
s301, when the target time period belongs to the second time period and the user portrait information meets the first preset condition, the server acquires the priority of the special effect resources of multiple types.
The second time period is a time period when the network resource is smaller than the preset resource.
Specifically, the server may acquire a plurality of network resource information in the historical time periods, thereby determining the network resource of each time period. When the target time period belongs to the second time period, the network resources of the target time period are stressed. In this case, the server may not issue the full amount of special effects resources.
Optionally, the server may monitor network resources according to the peak of the past CDN bandwidth, define peak and off-peak periods, and the peak periods may be configured by a configuration tool.
Then, the server judges whether the user portrait information meets a first preset condition.
The first preset condition comprises: the time length is greater than or equal to the preset time length, or the consumption value corresponding to the consumption data is greater than or equal to the preset consumption value.
When the server determines that the time length (such as the live time length) of the account for publishing the multimedia resource in the first time period (such as 30 days) is greater than or equal to the preset time length, the account is indicated to be the account for frequently publishing the multimedia resource. Correspondingly, the consumption value corresponding to the consumption data of the account is larger than or equal to the preset consumption value, which indicates that the account is a frequently consumed account.
In this case, the server acquires priorities of the plurality of types of special effects resources.
Optionally, the plurality of types of special effects resources include: scene type effect resources and state type effect resources.
Optionally, the special effects resources of the state type include: the special effect resource which is offline, the special effect resource in the test, the special effect resource which is tested, the special effect resource in the put quantity, the complete special effect resource and the like.
In one implementation manner, the method for obtaining the priority of the special effect resources of multiple types by the server specifically includes:
The server determines the special effect resources with the distance to the online time smaller than the preset duration as a high-priority special effect resource set, and determines the priority of each special effect resource in the high-priority special effect resource set according to the online time of the special effect resources in the high-priority special effect resource set.
Illustratively, the server determines the special effect resource that is less than 3 days from the online time as a high priority special effect resource set.
Then, the server is used for loading the special effect resources in the special effect resource set with high priority according to the time of loading the special effect resources: the online time of the special effect resource A is 2021, 12 months 1, and the online time of the special effect resource B is 2021, 12 months 2, and the priority of each special effect resource in the high-priority special effect resource set is determined: the priority of special effect resource a is higher than the priority of special effect resource B.
The server determines the special effect resources with the distance of the online time being greater than or equal to the preset duration as a special effect resource set with low priority, and determines the priority of each special effect resource in the special effect resource set with low priority according to the online time of the special effect resources in the special effect resource set with low priority.
Therefore, the server can determine the priority of the special effect resources of various types according to the rules, and sequentially send the special effect resources to the terminal according to the determined priority.
Illustratively, the server determines the special effect resource that is greater than or equal to 3 days from the online time as a low priority special effect resource set.
Then, the server is used for loading time of special effect resources in the special effect resource set with low priority according to the following steps: the online time of the special effect resource C is 2021, 11 months and 1 day, the online time of the special effect resource D is 2021, 11 months and 2 days, and the priority of each special effect resource in the special effect resource set with the priority is determined: the priority of special effect resource C is higher than the priority of special effect resource D.
Optionally, the server may further obtain the number of play times of the special effect resource under each scene type, and determine the special effect resource with the number of play times of 20 as a high priority.
Optionally, the server may further obtain a push-through time and an online time of the special effect resource of each state type, and perform priority ranking according to the push-through time and the online time:
And ordering the special effect resources which are separated from the push total time and are still 2 days according to the online time to obtain a first special effect resource set.
And sequencing the special effect resources in the residual discharge according to the online time to obtain a second special effect resource set.
Combining the priority of the special effect resource of the scene type and the priority of the special effect resource of the state type, the server can sequentially send out the full quantity of the list from high to low according to the priority: the method comprises the steps of a first type of special effect resource before the playing times, a second type of special effect resource before the playing times, a third type of special effect resource before the playing times, a first special effect resource set, a fourth type of special effect resource before the playing times, a second special effect resource set and other residual special effect resources after the testing, special effect resources in the playing amount and complete special effect resources.
S302, the server determines the special effect resource with the priority higher than the preset priority as the target special effect resource.
Optionally, the server may further configure the number of special effect issuing resources, so that the number of special effect issuing resources can be controlled at any time. Correspondingly, the server can cut off the quantity of the issued special effect resources when necessary according to the requirements, and only issue part of special effect resources with higher priority.
The technical scheme provided by the embodiment at least brings the following beneficial effects: as can be seen from S301-S302, a specific implementation manner for obtaining the target special effect resource by the server is provided, when the bandwidth resource in the target time period is smaller and the account meets the first preset condition, the server can issue the special effect resource according to the priority.
In one implementation, referring to fig. 3, as shown in fig. 4, a server obtains target special effects resources corresponding to user portrait information and a target time period from a resource database storing multiple types of special effects resources, including:
s401, when the target time period belongs to a second time period and the user portrait information meets a second preset condition, the server determines that the target special effect resource is an empty special effect resource.
Specifically, when the target time period belongs to the second time period, the network resources illustrating the target time period are relatively tense. In this case, the server may not issue the full amount of special effects resources.
Then, the server judges whether the user image information meets a second preset condition.
Wherein the second preset condition includes: the duration is smaller than the preset duration, or the consumption value corresponding to the consumption data is smaller than the preset consumption value.
When the server determines that the time length (such as the live time length) of the account for publishing the multimedia resource in the first time period (such as 30 days) is smaller than the preset time length, the account is indicated to be the account for not frequently publishing the multimedia resource. Correspondingly, the consumption value corresponding to the consumption data of the account is smaller than a preset consumption value, which indicates that the account is not consumed frequently. In this case, in order to improve the utilization rate of the network resource, the server may determine that the target special effect resource is an empty special effect resource, that is, issue an empty special effect resource to the client.
The technical scheme provided by the embodiment at least brings the following beneficial effects: as shown in S401, when the target time period belongs to the second time period and the user portrait information satisfies the second preset condition, the server may determine that the target special resource is an empty special resource. The empty special effect resources do not occupy network resources, and the client does not need to acquire corresponding special effect resources any more, so that the utilization rate of the network resources is improved, and the processing efficiency of the special effect resources is also improved.
In one implementation, a server obtains target special effects resources corresponding to user portrayal information and a target time period from a resource database storing multiple types of special effects resources, including:
when the target time period belongs to the third time period, the server determines that the target special effect resource is all special effect resources in the resource database.
The third time period is a time period when the network resource is greater than or equal to the preset resource.
Specifically, when the target period of time belongs to the third period of time, the available bandwidth of the network resource that indicates the target period of time is large. In this case, the server may issue all special effects resources in the resource database. Therefore, the server can issue all special effect resources in the resource database under the condition that the available bandwidth of the network resources is large, and user experience is enriched.
In one implementation manner, when the target special effect resource is all special effect resources in the resource database, the method for transmitting the target special effect resource to the terminal by the server specifically includes:
And the server determines the importance degree of the special effect resources of each type according to the playing times of the special effect resources of each type.
Specifically, the resource database stores a plurality of types of special effect resources, and the server can acquire the playing times of each type of special effect resources.
When a special effect resource of a type includes a plurality of special effect resources, the server may acquire the number of plays of each special effect resource, and then acquire the first N special effect resources with the largest number of plays from the special effect resources of the type, thereby determining the importance degree of the special effect resource of the type.
And the server sequentially sends the target special effect resources to the terminal according to the importance degree of the special effect resources of each type.
In this way, the server sequentially sends the target special effect resources to the terminal according to the importance degree of each type of special effect resources, so that the terminal can preferentially acquire the special effect resources with higher importance degree, and the user experience is enriched.
In one implementation, the user portrait information further includes: account rights for an account; the multiple types of special effects resources include: and testing special effect resources of the type. Referring to fig. 2, as shown in fig. 5, in S203, the method for obtaining, by the server, a target special effect resource corresponding to the user portrait information and the target time period from the resource database storing the special effect resources of a plurality of types specifically includes:
S501, when the target time period belongs to the second time period and the account authority is the management authority, the server determines that the target special effect resource is the special effect resource of the test type.
Specifically, when the target time period belongs to the second time period, the network resources illustrating the target time period are relatively tense. In this case, the server may not issue the full amount of special effects resources.
Then, the server judges whether the account authority is the management authority.
When the server determines that the account authority is the management authority, the account is described as a management account for managing the special effect resource. The management account is generally used for testing or updating the special effect resource of the test type (i.e. the special effect resource which is not on line), so that the server can determine that the target special effect resource is the special effect resource of the test type.
The technical scheme provided by the embodiment at least brings the following beneficial effects: as shown in S501, when the target time period is attributed to the second time period and the account authority is the management authority, the server determines that the target special effect resource is the special effect resource of the test type, so that the server only issues the special effect resource of the test type.
In one implementation, as shown in fig. 6, the resource processing method further includes:
S601, the server receives an effect resource creation instruction sent through the target port.
Specifically, the server may be connected to a configuration platform for configuring special effect resources through a unified target port. The configuration platform includes a configuration page on which the management account can configure various types of special effects resources.
When the management account creates a new special effect resource on the configuration page, the configuration platform can call the target port and send a special effect resource creation instruction to the server. Correspondingly, the server receives an effect resource creation instruction sent through the target port.
Optionally, when various types of special effect resources are created by the management account, fields such as an operator, operation time, creation time, online time and the like can be added for recording the operation on the special effect resources.
S602, the server responds to the special effect resource creation instruction, and the special effect resource corresponding to the special effect resource creation instruction is stored in the resource database.
The technical scheme provided by the embodiment at least brings the following beneficial effects: as is known from S601-S602, the server may store various types of special effects resources in one database through a unified port. Compared with the prior art, the server does not need to call different interfaces to acquire different types of special effect resources from different databases, and the efficiency of resource processing is improved.
In one implementation, the special effects resource creation instruction includes a type and an identification of the special effects resource; referring to fig. 6, as shown in fig. 7, in response to the special effects resource creation instruction, the method for storing the special effects resource corresponding to the special effects resource creation instruction in the resource database by the server specifically includes:
S701, the server responds to the special effect resource creation instruction, and stores the special effect resource corresponding to the special effect resource creation instruction in a resource database by taking the type and the identification of the special effect resource as an index.
For example, for special effect resource a, special effect resource a needs to be acquired in both a non-live scene and a live scene. If only the identity of special effects resource a is used as an index, it cannot be determined which scene special effects resource a is applied to. Therefore, the server can store the special effect resource A in the resource database by taking the type (namely the application scene) and the identification of the special effect resource A as indexes so as to distinguish the special effect resource A in the non-live broadcast scene from the live broadcast scene.
The technical scheme provided by the embodiment at least brings the following beneficial effects: as can be seen from S701, since different types of special effect resources may be the same, the types and the identifiers of the special effect resources are stored as indexes, so that one index is prevented from corresponding to a plurality of special effect resources.
In one implementation manner, after the server responds to the special effect resource creation instruction and uses the type and the identifier of the special effect resource as an index to store the special effect resource corresponding to the special effect resource creation instruction in the resource database, the server further includes:
The server receives a query instruction for querying the special effects resource.
Wherein the query instruction includes a type or state of the target special effect resource.
The server responds to the query instruction and outputs special effect resources corresponding to the query instruction.
Specifically, the server may also provide special effects resource query functions. The inquiring party can send the type or state of the special effect resource to be inquired to the server, so that the server outputs the special effect resource corresponding to the inquiring instruction according to the received inquiring instruction, and the function of resource processing is enriched.
In one implementation, as shown in fig. 8, the resource processing method further includes:
S801, a server receives a special effect resource updating instruction.
In one implementation, the server receiving the special effects resource update instruction includes:
The server responds to the creation operation of the timing task, and triggers a special effect resource update instruction at the moment corresponding to the timing task; or the server responds to the creation operation of the special effect resource and triggers the special effect resource updating instruction. Therefore, the server can update the stored special effect resources in time through timing tasks or when creating new special effect resources, and the instantaneity of the stored special effect resources is guaranteed.
Optionally, when the management account updates a special effect resource on the configuration page (e.g., changes the color of the special effect resource, etc.), the configuration platform may call the target port and send a special effect resource update instruction to the server. Correspondingly, the server receives an effect resource updating instruction sent through the target port.
Alternatively, specific data of some types of special effects resources may be stored in a dedicated database, and only the corresponding special effects resource identification is stored in the resource database. When the specific data of the special effect resource in the special database changes, the special effect resource identification of the resource database also needs to change correspondingly.
In this case, the server may set a timed task. The timing task is used for periodically acquiring the resource information of special effect resources in the special database. When the resource information of the special effect resource in the special database changes, generating a special effect resource updating instruction for updating the special effect resource identification of the resource database.
S802, the server responds to the special effect resource updating instruction to update the special effect resource corresponding to the special effect resource creating instruction.
The technical scheme provided by the embodiment at least brings the following beneficial effects: as can be seen from S801-S802, the server can periodically update various types of special effect resources in the resource database, so as to avoid that the special effect resources in the resource database are not synchronous with the actual special effect resources.
It will be appreciated that, in actual implementation, the server according to the embodiments of the present disclosure may include one or more hardware structures and/or software modules for implementing the corresponding resource processing method, where the executing hardware structures and/or software modules may form a server. Those of skill in the art will readily appreciate that the algorithm steps of the examples described in connection with the embodiments disclosed herein may be implemented as hardware or a combination of hardware and computer software. Whether a function is implemented as hardware or computer software driven hardware depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present disclosure.
Based on such understanding, the embodiments of the present disclosure also correspondingly provide a resource processing device, which may be applied to a server. Fig. 9 shows a schematic structural diagram of a resource processing device provided by an embodiment of the present disclosure. As shown in fig. 9, the resource processing device may include:
A receiving unit 901, an acquiring unit 902, and a transmitting unit 903;
A receiving unit 901, configured to receive a resource request sent by a terminal in a target time period, where the resource request is used for requesting to acquire a special effect resource; the resource request comprises an account identifier of an account of the login terminal;
an obtaining unit 902, configured to obtain user portrait information of an account according to an account identifier in response to a resource request;
An obtaining unit 902, configured to obtain, from a resource database storing multiple types of special effect resources, a target special effect resource corresponding to the user portrait information and the target time period;
a sending unit 903, configured to send the target special effect resource to the terminal.
Optionally, the user portrait information includes: the account issues at least one of duration of the multimedia resource or consumption data of the account in a first time period;
the acquiring unit 902 is specifically configured to:
When the target time period belongs to the second time period and the user portrait information meets the first preset condition, acquiring priorities of multiple types of special effect resources; the second time period is a time period when the network resource is smaller than the preset resource; the first preset condition includes: the time length is longer than or equal to the preset time length, or the consumption value corresponding to the consumption data is longer than or equal to the preset consumption value;
and determining the special effect resource with the priority higher than the preset priority as a target special effect resource.
Optionally, the acquiring unit 902 is specifically configured to:
determining the special effect resources with the distance of the online time being smaller than the preset duration as a high-priority special effect resource set, and determining the priority of each special effect resource in the high-priority special effect resource set according to the online time of the special effect resources in the high-priority special effect resource set;
and determining the special effect resources with the distance of the online time being greater than or equal to the preset duration as a special effect resource set with low priority, and determining the priority of each special effect resource in the special effect resource set with low priority according to the online time of the special effect resources in the special effect resource set with low priority.
Optionally, the acquiring unit 902 is specifically configured to:
When the target time period belongs to the second time period and the user portrait information meets a second preset condition, determining that the target special effect resource is an empty special effect resource; the second preset condition includes: the duration is smaller than the preset duration, or the consumption value corresponding to the consumption data is smaller than the preset consumption value.
Optionally, the acquiring unit 902 is specifically configured to:
When the target time period belongs to the third time period, determining that the target special effect resource is all special effect resources in the resource database; the third time period is a time period when the network resource is greater than or equal to the preset resource.
Optionally, when the target special effect resource is all special effect resources in the resource database, the sending unit 903 is specifically configured to:
determining the importance degree of each type of special effect resource according to the play times of each type of special effect resource;
And sequentially sending the target special effect resources to the terminal according to the importance degree of each type of special effect resources.
Optionally, the sending unit 903 is specifically configured to:
Receiving a special effect resource issuing configuration instruction; the special effect resource issuing configuration instruction is used for configuring the quantity of the issued special effect resources;
And responding to the special effect resource issuing configuration instruction, and sending the special effect resources with the quantity corresponding to the special effect resource issuing configuration instruction to the terminal.
Optionally, the user portrait information further includes: account rights for an account; the multiple types of special effects resources include: testing special effect resources of the type;
the acquiring unit 902 is specifically configured to:
and when the target time period belongs to the second time period and the account authority is the management authority, determining that the target special effect resource is the special effect resource of the test type.
Optionally, the receiving unit 901 is further configured to receive an special effect resource creation instruction sent through the target port;
the resource processing device further includes a storage unit 904;
And a storage unit 904 for storing the special effects resource corresponding to the special effects resource creation instruction in the resource database in response to the special effects resource creation instruction.
Optionally, the special effect resource creation instruction includes a type and an identifier of the special effect resource;
the storage unit 904 is specifically configured to:
And responding to the special effect resource creation instruction, and storing the special effect resource corresponding to the special effect resource creation instruction in a resource database by taking the type and the identification of the special effect resource as an index.
Optionally, the receiving unit 901 is further configured to receive a query instruction for querying the special effect resource; the query instruction includes the type or state of the target special effect resource;
the resource processing device further includes an output unit 905;
And an output unit 905 for outputting special effect resources corresponding to the query instruction in response to the query instruction.
Optionally, the receiving unit 901 is further configured to receive an effect resource update instruction;
the resource processing device further includes an updating unit 906;
An updating unit 906 for updating the special effects resource corresponding to the special effects resource creation instruction in response to the special effects resource update instruction.
Optionally, the receiving unit 901 is specifically configured to:
Responding to the creation operation of the timing task, and triggering a special effect resource updating instruction at the moment corresponding to the timing task;
or triggering the special effect resource updating instruction in response to the creation operation of the special effect resource.
As described above, the embodiments of the present disclosure may divide functional modules of a server according to the above-described method examples. The integrated modules may be implemented in hardware or in software functional modules. In addition, it should be further noted that the division of the modules in the embodiments of the present disclosure is merely a logic function division, and other division manners may be implemented in practice. For example, each functional module may be divided corresponding to each function, or two or more functions may be integrated in one processing module.
The detailed description of the specific manner in which each module performs the operation and the beneficial effects of the resource processing device in the foregoing embodiment is already described in the foregoing method embodiment, and will not be repeated here.
The embodiment of the disclosure also provides a server. Fig. 10 shows a schematic structural diagram of a server provided by an embodiment of the present disclosure. The server may be a resource processing device. The server may vary considerably in configuration or performance and may include one or more processors 71 and one or more memories 72. Wherein the memory 72 stores at least one instruction that is loaded and executed by the processor 71 to implement the resource processing method provided by each of the method embodiments described above. Of course, the server may also have a wired or wireless network interface, a keyboard, an input/output interface, and other components for implementing the functions of the device, which are not described herein.
The present disclosure also provides a computer-readable storage medium including instructions stored thereon, which when executed by a processor of a computer device, enable the computer to perform the resource processing method provided by the above-described illustrated embodiments. For example, the computer-readable storage medium may be a memory including instructions executable by a processor of the terminal to perform the above-described method. For another example, the computer readable storage medium may be a memory 72 comprising instructions executable by the processor 71 of the server to perform the above-described method. Alternatively, the computer readable storage medium may be a non-transitory computer readable storage medium, for example, ROM, RAM, CD-ROM, magnetic tape, floppy disk, optical data storage device, and the like.
The present disclosure also provides a computer program product comprising computer instructions which, when run on a server, cause the server to perform the resource processing method shown in any of the above figures 2-8.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This disclosure is intended to cover any adaptations, uses, or adaptations of the disclosure following the general principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It is to be understood that the present disclosure is not limited to the precise arrangements and instrumentalities shown in the drawings, and that various modifications and changes may be effected without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (27)

1. A method of resource processing, comprising:
Receiving a resource request for requesting to acquire special effect resources, which is sent by a terminal in a target time period; the resource request comprises an account identifier of an account logged in the terminal;
Responding to the resource request, and acquiring user portrait information of the account according to the account identifier; the user portrait information includes: the account issues at least one of duration of a multimedia resource or consumption data of the account in a first time period;
Obtaining target special effect resources corresponding to the user portrait information and the target time period from a resource database storing a plurality of types of special effect resources, wherein the method comprises the following steps: when the target time period belongs to a second time period and the user portrait information meets a first preset condition, acquiring the priority of the special effect resources of the multiple types; the second time period is a time period when the network resource is smaller than the preset resource; the first preset condition includes: the time length is greater than or equal to a preset time length, or a consumption value corresponding to the consumption data is greater than or equal to a preset consumption value; determining the special effect resource with the priority higher than a preset priority as the target special effect resource;
And sending the target special effect resource to the terminal.
2. The resource processing method according to claim 1, wherein the acquiring the priorities of the plurality of types of special effects resources includes:
Determining special effect resources with the distance of the online time being smaller than the preset duration as a high-priority special effect resource set, and determining the priority of each special effect resource in the high-priority special effect resource set according to the online time of the special effect resources in the high-priority special effect resource set;
And determining the special effect resources with the distance of the online time being greater than or equal to the preset duration as a low-priority special effect resource set, and determining the priority of each special effect resource in the low-priority special effect resource set according to the online time of the special effect resources in the low-priority special effect resource set.
3. The resource processing method according to claim 1, wherein the acquiring the target special effects resource corresponding to the user portrayal information and the target time period from the resource database storing the special effects resources of a plurality of types includes:
when the target time period belongs to the second time period and the user portrait information meets a second preset condition, determining that the target special effect resource is an empty special effect resource; the second preset condition includes: the duration is smaller than the preset duration, or the consumption value corresponding to the consumption data is smaller than the preset consumption value.
4. The resource processing method according to claim 1, wherein the acquiring the target special effects resource corresponding to the user portrayal information and the target time period from the resource database storing the special effects resources of a plurality of types includes:
When the target time period belongs to a third time period, determining that the target special effect resource is all special effect resources in the resource database; the third time period is a time period when the network resource is greater than or equal to the preset resource.
5. The resource processing method according to claim 4, wherein when the target special effect resource is all special effect resources in the resource database, the sending the target special effect resource to the terminal includes:
Determining the importance degree of each type of special effect resource according to the play times of each type of special effect resource;
And sequentially sending the target special effect resources to the terminal according to the importance degree of the special effect resources of each type.
6. The resource processing method according to claim 5, wherein said transmitting the target special effect resource to the terminal includes:
receiving a special effect resource issuing configuration instruction; the special effect resource issuing configuration instruction is used for configuring the quantity of the issued special effect resources;
And responding to the special effect resource issuing configuration instruction, and sending special effect resources with the quantity corresponding to the special effect resource issuing configuration instruction to the terminal.
7. The resource processing method according to claim 1, wherein the user portrait information further includes: account rights for the account; the plurality of types of special effects resources include: testing special effect resources of the type;
the obtaining, from a resource database storing a plurality of types of special effect resources, a target special effect resource corresponding to the user portrait information and the target time period includes:
And when the target time period belongs to the second time period and the account authority is the management authority, determining that the target special effect resource is the special effect resource of the test type.
8. The resource processing method according to claim 1, characterized by further comprising:
Receiving a special effect resource creation instruction sent through a target port;
and responding to the special effect resource creation instruction, and storing the special effect resource corresponding to the special effect resource creation instruction in the resource database.
9. The resource processing method according to claim 8, wherein the special effects resource creation instruction includes a type and an identification of special effects resource;
The responding to the special effect resource creation instruction, storing the special effect resource corresponding to the special effect resource creation instruction in the resource database, comprises the following steps:
and responding to the special effect resource creation instruction, and storing the special effect resource corresponding to the special effect resource creation instruction in the resource database by taking the type and the identification of the special effect resource as an index.
10. The method according to claim 9, wherein after storing the special effects resource corresponding to the special effects resource creation instruction in the resource database with the type and the identification of the special effects resource as an index in response to the special effects resource creation instruction, further comprising:
Receiving a query instruction for querying the special effect resource; the query instruction comprises the type or state of the target special effect resource;
and responding to the query instruction, and outputting special effect resources corresponding to the query instruction.
11. The resource processing method according to claim 1, characterized by further comprising:
Receiving a special effect resource updating instruction;
And updating the special effect resource corresponding to the special effect resource creation instruction in response to the special effect resource update instruction.
12. The resource processing method according to claim 11, wherein the receiving the special effects resource update instruction includes:
Responding to the creation operation of the timing task, and triggering the special effect resource updating instruction at the moment corresponding to the timing task;
Or responding to the creation operation of the special effect resource, and triggering the special effect resource updating instruction.
13. A resource processing apparatus, comprising: a receiving unit, an acquiring unit and a transmitting unit;
the receiving unit is used for receiving a resource request which is sent by the terminal in a target time period and used for requesting to acquire special effect resources; the resource request comprises an account identifier of an account logged in the terminal;
The acquisition unit is used for responding to the resource request and acquiring user portrait information of the account according to the account identifier; the user portrait information includes: the account issues at least one of duration of a multimedia resource or consumption data of the account in a first time period;
The obtaining unit is further configured to obtain, from a resource database storing multiple types of special effect resources, a target special effect resource corresponding to the user portrait information and the target time period, where the obtaining unit includes: when the target time period belongs to a second time period and the user portrait information meets a first preset condition, acquiring the priority of the special effect resources of the multiple types; the second time period is a time period when the network resource is smaller than the preset resource; the first preset condition includes: the time length is greater than or equal to a preset time length, or a consumption value corresponding to the consumption data is greater than or equal to a preset consumption value; determining the special effect resource with the priority higher than a preset priority as the target special effect resource;
And the sending unit is used for sending the target special effect resource to the terminal.
14. The resource processing device according to claim 13, wherein the obtaining unit is specifically configured to:
Determining special effect resources with the distance of the online time being smaller than the preset duration as a high-priority special effect resource set, and determining the priority of each special effect resource in the high-priority special effect resource set according to the online time of the special effect resources in the high-priority special effect resource set;
And determining the special effect resources with the distance of the online time being greater than or equal to the preset duration as a low-priority special effect resource set, and determining the priority of each special effect resource in the low-priority special effect resource set according to the online time of the special effect resources in the low-priority special effect resource set.
15. The resource processing device according to claim 13, wherein the obtaining unit is specifically configured to:
when the target time period belongs to the second time period and the user portrait information meets a second preset condition, determining that the target special effect resource is an empty special effect resource; the second preset condition includes: the duration is smaller than the preset duration, or the consumption value corresponding to the consumption data is smaller than the preset consumption value.
16. The resource processing device according to claim 13, wherein the obtaining unit is specifically configured to:
When the target time period belongs to a third time period, determining that the target special effect resource is all special effect resources in the resource database; the third time period is a time period when the network resource is greater than or equal to the preset resource.
17. The resource processing device according to claim 16, wherein when the target special effects resource is all special effects resources in the resource database, the sending unit is specifically configured to:
Determining the importance degree of each type of special effect resource according to the play times of each type of special effect resource;
And sequentially sending the target special effect resources to the terminal according to the importance degree of the special effect resources of each type.
18. The resource processing device according to claim 17, wherein the transmitting unit is specifically configured to:
receiving a special effect resource issuing configuration instruction; the special effect resource issuing configuration instruction is used for configuring the quantity of the issued special effect resources;
And responding to the special effect resource issuing configuration instruction, and sending special effect resources with the quantity corresponding to the special effect resource issuing configuration instruction to the terminal.
19. The resource processing device of claim 13, wherein the user profile information further comprises: account rights for the account; the plurality of types of special effects resources include: testing special effect resources of the type;
The acquisition unit is specifically configured to:
And when the target time period belongs to the second time period and the account authority is the management authority, determining that the target special effect resource is the special effect resource of the test type.
20. The resource processing apparatus according to claim 13, wherein,
The receiving unit is further used for receiving an effect resource creation instruction sent by the target port;
the resource processing device further comprises a storage unit;
The storage unit is used for responding to the special effect resource creation instruction and storing special effect resources corresponding to the special effect resource creation instruction in the resource database.
21. The resource processing apparatus of claim 20, wherein the special effects resource creation instruction includes a type and an identification of special effects resources;
the storage unit is specifically configured to:
and responding to the special effect resource creation instruction, and storing the special effect resource corresponding to the special effect resource creation instruction in the resource database by taking the type and the identification of the special effect resource as an index.
22. The resource processing apparatus according to claim 21, wherein,
The receiving unit is also used for receiving a query instruction for querying the special effect resource; the query instruction comprises the type or state of the target special effect resource;
The resource processing device further comprises an output unit;
the output unit is used for responding to the query instruction and outputting special effect resources corresponding to the query instruction.
23. The resource processing apparatus according to claim 13, wherein,
The receiving unit is also used for receiving special effect resource updating instructions;
the resource processing device further comprises an updating unit;
the updating unit is used for responding to the special effect resource updating instruction and updating the special effect resource corresponding to the special effect resource creating instruction.
24. The resource processing device according to claim 23, wherein the receiving unit is specifically configured to:
Responding to the creation operation of the timing task, and triggering the special effect resource updating instruction at the moment corresponding to the timing task;
Or responding to the creation operation of the special effect resource, and triggering the special effect resource updating instruction.
25. A server, the server comprising:
A processor;
A memory for storing the processor-executable instructions;
Wherein the processor is configured to execute the instructions to implement the resource processing method of any of claims 1-12.
26. A computer readable storage medium having instructions stored thereon, which when executed by a processor of a server, enable the server to perform the resource processing method of any of claims 1-12.
27. A computer program product comprising instructions which, when run on a server, cause the server to perform the resource processing method of any of claims 1-12.
CN202210101341.2A 2022-01-27 2022-01-27 Resource processing method, device, equipment and storage medium Active CN114205651B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210101341.2A CN114205651B (en) 2022-01-27 2022-01-27 Resource processing method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210101341.2A CN114205651B (en) 2022-01-27 2022-01-27 Resource processing method, device, equipment and storage medium

Publications (2)

Publication Number Publication Date
CN114205651A CN114205651A (en) 2022-03-18
CN114205651B true CN114205651B (en) 2024-07-12

Family

ID=80658883

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210101341.2A Active CN114205651B (en) 2022-01-27 2022-01-27 Resource processing method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN114205651B (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113727132A (en) * 2021-08-31 2021-11-30 广州方硅信息技术有限公司 Virtual gift display method, server, storage medium and computer device

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110427738B (en) * 2019-08-05 2024-03-29 腾讯科技(深圳)有限公司 Resource distribution method, device, equipment and storage medium
CN110599396B (en) * 2019-09-19 2024-02-02 网易(杭州)网络有限公司 Information processing method and device
CN111722766A (en) * 2020-06-04 2020-09-29 北京达佳互联信息技术有限公司 Multimedia resource display method and device
CN112925595A (en) * 2021-01-25 2021-06-08 北京达佳互联信息技术有限公司 Resource distribution method and device, electronic equipment and storage medium

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113727132A (en) * 2021-08-31 2021-11-30 广州方硅信息技术有限公司 Virtual gift display method, server, storage medium and computer device

Also Published As

Publication number Publication date
CN114205651A (en) 2022-03-18

Similar Documents

Publication Publication Date Title
CN110310034B (en) Service arrangement and business flow processing method and device applied to SaaS
US11146502B2 (en) Method and apparatus for allocating resource
CN106843828B (en) Interface display and loading method and device
CN108432200B (en) Method for protecting and controlling access to private personal information
CN109831532B (en) Data sharing method, device, equipment and medium
US8959177B1 (en) Automated selection of a content provider
WO2017016113A1 (en) Method and device for monitoring network traffic
CN113568699B (en) Content display method, device, equipment and storage medium
CN112839067A (en) Data synchronization method and device
CN106850242A (en) A kind of information processing method and device
CN111090533A (en) Notice information sending method and device, electronic equipment and storage medium
CN113569089A (en) Information processing method, device, server, equipment, system and storage medium
CN112169312A (en) Queuing scheduling method, device, equipment and storage medium for cloud game service
CN114205651B (en) Resource processing method, device, equipment and storage medium
CN113992989A (en) Content display method, device, system, equipment and storage medium
CN113326397A (en) Service data processing method and device
CN110740477B (en) Management method, manager, equipment and medium for network slice information
CN113468346A (en) Resource processing method and device, electronic equipment and storage medium
CN114302250B (en) Resource processing method, device, system, equipment and storage medium
CN111078736A (en) Data aggregation processing method and device, terminal and storage medium
CN112637254A (en) Data processing method and device, electronic equipment and computer readable storage medium
CN111786801A (en) Method and device for charging based on data flow
CN113836405B (en) Information query method, device and computer readable storage medium
EP3306898A2 (en) Information processing method and device
CN113238828B (en) Content display method, device, equipment and storage medium

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