CN111160976A - Resource allocation method, device, electronic equipment and storage medium - Google Patents

Resource allocation method, device, electronic equipment and storage medium Download PDF

Info

Publication number
CN111160976A
CN111160976A CN201911399192.7A CN201911399192A CN111160976A CN 111160976 A CN111160976 A CN 111160976A CN 201911399192 A CN201911399192 A CN 201911399192A CN 111160976 A CN111160976 A CN 111160976A
Authority
CN
China
Prior art keywords
video
user
account
preset
video file
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.)
Pending
Application number
CN201911399192.7A
Other languages
Chinese (zh)
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.)
Reach Best Technology Co Ltd
Beijing Dajia Internet Information Technology Co Ltd
Original Assignee
Reach Best 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 Reach Best Technology Co Ltd filed Critical Reach Best Technology Co Ltd
Priority to CN201911399192.7A priority Critical patent/CN111160976A/en
Publication of CN111160976A publication Critical patent/CN111160976A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/02Marketing; Price estimation or determination; Fundraising
    • G06Q30/0207Discounts or incentives, e.g. coupons or rebates
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/70Information retrieval; Database structures therefor; File system structures therefor of video data
    • G06F16/78Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually

Abstract

The disclosure relates to a resource allocation method, a resource allocation device, an electronic device and a storage medium, relates to the technical field of internet, and is used for solving the problem of single resource allocation mode in the related technology, and the resource allocation method comprises the following steps: acquiring a video file corresponding to a target account; and if the video file meets the content containing condition and/or the shooting mode of the video file is a preset shooting mode, distributing resources for the target account. The embodiment of the disclosure provides a method for resource allocation through a shooting task, which does not need to perform judgment according to user behaviors, and only needs to perform resource allocation according to video contents or shooting modes, so that the resource allocation modes are enriched.

Description

Resource allocation method, device, electronic equipment and storage medium
Technical Field
The present disclosure relates to the field of internet technologies, and in particular, to a resource allocation method and apparatus, an electronic device, and a storage medium.
Background
With the development of communication technology, people increasingly use terminal devices for entertainment and interaction. Among them, the production of short videos is rapidly developing, and a large amount of short videos are uploaded and released every day. People release the shot short videos through corresponding application programs in the terminal equipment and interact with people with the same hobbies and interests.
In the current short video field, resource allocation can be performed through judgment of user behaviors, for example, resource or reward allocation is performed according to whether a user has a sign-in or not, pays attention to the user, invites a new user, and the like.
In summary, the current resource allocation method is single.
Disclosure of Invention
The present disclosure provides a resource allocation method, device, electronic device and storage medium, so as to at least solve the problem of single resource allocation manner in the related art. The technical scheme of the disclosure is as follows:
according to a first aspect of the embodiments of the present disclosure, there is provided a resource allocation method, including:
acquiring a video file corresponding to a target account;
and if the video file meets the content containing condition and/or the shooting mode of the video file is a preset shooting mode, distributing resources for the target account.
In one possible embodiment, the content inclusion condition includes some or all of the following:
a video frame image in the video file contains a plurality of objects;
the video frame image in the video file comprises the image content of a preset video;
and the audio frame in the video file is a preset audio.
In a possible embodiment, the preset shooting mode includes part or all of the following:
shooting by adopting a preset template;
shooting by adopting preset materials.
In a possible implementation manner, the allocating resources to the target account includes:
determining a first quantity according to a preset resource allocation rule, and allocating a first quantity of resources to the target account; and/or
And allocating a second amount of resources to the target account according to the operation triggered on the sharing page of the video file by other accounts.
In a possible embodiment, the determining the first number according to a preset resource allocation rule includes:
determining the first number according to video frame images in the video file; or
Taking a first preset value as the first number; or
And taking the value randomly selected in a first preset range as the first quantity.
In a possible embodiment, the determining the first number from the video frames of the video file includes:
determining the first number according to the number of objects in the video frame image contained in the video file; or
Determining the first number according to the behavior of objects in video frame images contained in the video file; or
And determining shooting scenes corresponding to the video files according to the video frame images contained in the video files, and determining the first quantity according to the shooting scenes.
In a possible implementation manner, the allocating, according to an operation triggered on a sharing page of the video file by another account, a second amount of resources to the target account includes:
if a resource allocation operation triggered on a sharing page of the video file by other accounts is detected, allocating a second amount of resources to the target account according to reference information, wherein the reference information comprises registration time of the other accounts; or
The reference information comprises the registration time of the other account and the equipment identification of the equipment for logging in the other account; or
The reference information includes registration time of the other account, a device identifier of a device logging in the other account, and the number of times of triggering resource allocation operation by the other account.
In one possible embodiment, the method further comprises:
and allocating a third amount of resources to the other account numbers according to the reference information.
According to a second aspect of the embodiments of the present disclosure, there is provided a resource allocation apparatus, including:
the video acquisition unit is configured to execute acquisition of a video file corresponding to the target account;
and the resource allocation unit is configured to allocate resources to the target account if the video file is determined to meet the content inclusion condition and/or the shooting mode of the video file is a preset shooting mode.
In an alternative embodiment, the content inclusion condition includes some or all of the following:
a video frame image in the video file contains a plurality of objects;
the video frame image in the video file comprises the image content of a preset video;
and the audio frame in the video file is a preset audio.
In an optional embodiment, the preset shooting mode includes part or all of the following:
shooting by adopting a preset template;
shooting by adopting preset materials.
In an alternative embodiment, the resource allocation unit is specifically configured to perform:
determining a first quantity according to a preset resource allocation rule, and allocating a first quantity of resources to the target account; and/or
And allocating a second amount of resources to the target account according to the operation triggered on the sharing page of the video file by other accounts.
In an alternative embodiment, the resource allocation unit is specifically configured to perform:
determining the first number according to video frame images in the video file; or
Taking a first preset value as the first number; or
And taking the value randomly selected in a first preset range as the first quantity.
In an alternative embodiment, the resource allocation unit is specifically configured to perform:
determining the first number according to the number of objects in the video frame image contained in the video file; or
Determining the first number according to the behavior of objects in video frame images contained in the video file; or
And determining shooting scenes corresponding to the video files according to the video frame images contained in the video files, and determining the first quantity according to the shooting scenes.
In an alternative embodiment, the resource allocation unit is specifically configured to perform:
if a resource allocation operation triggered on a sharing page of the video file by other accounts is detected, allocating a second amount of resources to the target account according to the reference information;
wherein the reference information comprises the registration time of the other account; or
The reference information comprises the registration time of the other account and the equipment identification of the equipment for logging in the other account; or
The reference information includes registration time of the other account, a device identifier of a device logging in the other account, and the number of times of triggering resource allocation operation by the other account.
In an optional embodiment, the resource allocation unit is further configured to perform:
and allocating a third amount of resources to the other account numbers according to the reference information.
According to a third aspect of the embodiments of the present disclosure, there is provided an electronic apparatus including:
a processor;
a memory for storing the processor-executable instructions;
wherein the processor is configured to execute the instructions to implement the resource allocation method of any one of the first aspect of the embodiments of the present disclosure.
According to a fourth aspect of the embodiments of the present disclosure, there is provided a non-transitory readable storage medium, wherein instructions of the storage medium, when executed by a processor of an electronic device, enable the electronic device to perform the resource allocation method of any one of the first aspect of the embodiments of the present disclosure.
According to a fifth aspect of embodiments of the present disclosure, there is provided a computer program product, which, when run on an electronic device, causes the electronic device to perform a method that implements any of the above first aspect and the first aspect of embodiments of the present disclosure may relate to.
The technical scheme provided by the embodiment of the disclosure at least brings the following beneficial effects:
according to the embodiment of the disclosure, after the video file is determined to meet a certain rule according to the shooting mode of the video file or the content contained in the video file, resource allocation can be performed on the target account corresponding to the video file. The embodiment of the disclosure provides a method for resource allocation by shooting a video, which does not need to perform judgment according to user behavior, and only needs to perform resource allocation according to the content of the video or a shooting mode, so that the resource allocation mode is enriched.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the disclosure and are not to be construed as limiting the disclosure.
FIG. 1 is a schematic diagram illustrating an application scenario in accordance with an exemplary embodiment;
FIG. 2 is a flow diagram illustrating a method of resource allocation in accordance with an exemplary embodiment;
FIG. 3 is a schematic diagram illustrating a same frame video in accordance with an exemplary embodiment;
FIG. 4 is a schematic diagram illustrating a capture portal in accordance with one illustrative embodiment;
fig. 5A is a schematic diagram illustrating a first preset photographing mode according to an exemplary embodiment;
fig. 5B is a schematic diagram illustrating a second preset photographing mode according to an exemplary embodiment;
FIG. 6 is a schematic diagram illustrating a share page in accordance with an illustrative embodiment;
FIG. 7 is a schematic diagram illustrating a power page in accordance with an exemplary embodiment;
FIG. 8 is a flow diagram illustrating a complete method of resource allocation in accordance with an exemplary embodiment;
FIG. 9 is a block diagram illustrating a resource allocation apparatus in accordance with an example embodiment;
FIG. 10 is a block diagram illustrating an electronic device in accordance with an exemplary embodiment;
fig. 11 is a block diagram illustrating a terminal device according to an example embodiment.
Detailed Description
In order to make the technical solutions of the present disclosure better understood by those of ordinary skill in the art, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below with reference to the accompanying drawings.
It should be noted that the terms "first," "second," and the like in the description and claims of the present disclosure and in the above-described drawings are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the disclosure described herein are capable of operation in sequences other than those illustrated or otherwise described herein. The implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
Some of the words that appear in the text are explained below:
1. the term "and/or" in the embodiments of the present disclosure describes an association relationship of associated objects, and means that there may be three relationships, for example, a and/or B, which may mean: a exists alone, A and B exist simultaneously, and B exists alone. The character "/" generally indicates that the former and latter associated objects are in an "or" relationship.
2. The term "electronic device" in the embodiments of the present disclosure may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, or the like.
3. The term "H5 (HTML 5)" in the disclosed embodiment refers to the core Language of the world wide web, the fifth major modification of the HyperText Markup Language (HTML) application under the standard universal Markup Language.
4. The props or auxiliary tools for shooting the materials comprise special effects, magic expressions, stickers and the like.
5. The term "template" in the embodiments of the present disclosure also refers to a prop or an auxiliary tool for shooting, which is mainly used to assist in making short videos. For example, when a short video is produced by using a certain template, the short video can be produced by clicking, adding pictures, editing texts, music and the like according to the template.
6. The term "client" in the embodiments of the present disclosure may refer to a terminal device, and may also refer to an application installed on the terminal device.
The application scenario described in the embodiment of the present disclosure is for more clearly illustrating the technical solution of the embodiment of the present disclosure, and does not form a limitation on the technical solution provided in the embodiment of the present disclosure, and as a person having ordinary skill in the art knows, with the occurrence of a new application scenario, the technical solution provided in the embodiment of the present disclosure is also applicable to similar technical problems. Wherein, in the description of the present disclosure, unless otherwise indicated, "plurality" means.
Fig. 1 is a schematic view of an application scenario proposed by an embodiment of the present disclosure, where the application scenario includes two terminal devices 110 and a server 130, and the terminal devices 110 can log in a live interface 120 to watch live broadcast or perform live broadcast. The terminal device 110 and the server 130 can communicate with each other through a communication network.
In an alternative embodiment, the communication network is a wired network or a wireless network.
In the embodiment of the present disclosure, the terminal device 110 is an electronic device used by a user, and the electronic device may be a computer device having a certain computing capability and running instant messaging software and a website or social software and a website, such as a personal computer, a mobile phone, a tablet computer, a notebook, an e-book reader, and the like. Each terminal device 110 is connected to a server 130 through a wireless network, and the server 130 is a server or a server cluster or a cloud computing center formed by a plurality of servers, or is a virtualization platform.
Fig. 2 is a flowchart illustrating a resource allocation method according to an exemplary embodiment, which may be applied to the server 130 or the terminal device 110 shown in fig. 1. As shown in fig. 2, the method specifically includes the following steps.
In S21, a video file corresponding to the target account is obtained;
the video file corresponding to the target account is a file of a video published by the first user through the target account, for example, after the first user shoots the video, the shot video can be published to the internet through the target account, and the corresponding video file is uploaded to the server.
Or, the video file corresponding to the target account may also refer to a video file that is uploaded to a database corresponding to the target account in the local area of the terminal by the first user, but is not published to the internet and is not uploaded to the server.
In S22, if it is determined that the video file satisfies the content inclusion condition and/or the shooting mode of the video file is a preset shooting mode, allocating resources to the target account.
The shooting mode of the video file refers to the shooting mode of the video corresponding to the video file.
As can be seen from S22, the precondition for allocating resources to the target account can be mainly classified into the following three types:
firstly, the video file meets the content containing condition, but the shooting mode of the video file is not a preset shooting mode.
And secondly, the video file does not meet the content containing condition, but the shooting mode of the video file is a preset shooting mode.
And thirdly, the video file meets the content containing condition, and the shooting mode of the video file is a preset shooting mode.
The embodiment provides a method for resource allocation by shooting videos, which does not need to judge according to user behaviors, only needs to allocate resources according to the content of the videos or shooting modes, and enriches the resource allocation modes.
In addition, the user can be promoted to produce videos through activities, the user can be guided to shoot the videos with better quality, and the user experience is improved.
In an alternative embodiment, the content inclusion condition includes some or all of the following:
a video frame image in the video file contains a plurality of objects;
the video frame image in the video file comprises the image content of a preset video;
the audio frame in the video file is a preset audio.
The object refers to a person, an animal, or an object, such as a table or a chair, or keywords, such as a good fortune word. In the embodiments of the present disclosure, the detailed description is mainly given by taking an object as an example.
In the embodiment of the present disclosure, the video file needs to be parsed, and the video frame and/or the audio frame in the video file are obtained.
When judging whether the video frame images in the video file contain a plurality of objects, identifying one or more frames of video frame images, detecting the number of people in the video, and if the number of people in the video is detected to be a plurality of people, confirming that the video file meets the content containing condition.
For example, when a video of a family is shot by using a short video APP (Application), it is detected that a video frame image in a video file of the shot video contains a plurality of persons, and a content containing condition is satisfied.
The multi-frame video frame image may be a continuous multi-frame or a discontinuous multi-frame.
Similarly, when determining whether the video frame image in the video file contains the image content of the preset video, the method may also identify one or more frames of the video frame image, and if the one or more frames of the video frame image contain the image content of the preset video, determine that the video file satisfies the content containing condition.
For example, when a video is captured in the same frame as the preset video, it may be determined that the video file of the captured video satisfies the content inclusion condition.
The same-frame shooting video refers to shooting a video displayed in the same frame with a preset video, that is, shooting the video in the same frame with the preset video, and when a finally generated video file is played, the shot video and the preset video can be simultaneously seen on a display interface, for example, as shown in fig. 3, a short video shot by a user is played on the left side of the short video display interface, a video shot by the user is played on the right side, and the preset video is played on the right side.
In the disclosed embodiment, the preset video may be an example video of a shooting activity.
The example video is a video with showing, listing and reference meanings in shooting activities, and is used for guiding a user to shoot the video by referring to the example video and participate in the shooting activities.
For example, when the short video APP is used to shoot a same-frame video of the preset video, it can be detected that the video frame image in the adaptation file of the shot video contains the image content of the preset video, so that the content containing condition is satisfied.
Optionally, if a part of the video file is a preset video and another part of the video file is a video shot by the user, it may be determined that the video frame image in the video file includes image content of the preset video.
For example, the video file contains a 1-minute video, the first 30 seconds of which are the content of the preset original video, and the last 30 seconds of which are the content newly shot by the user.
In the embodiment of the present disclosure, when determining whether the audio frame in the video file is the preset audio, the audio frame in the video file is mainly compared with the audio frame of the preset audio, and it is determined whether the audio frame in the video file is the preset audio according to the comparison result.
For example, when the same short video of the preset video is shot by using the same shooting function of the short video APP, the same music as the preset video can be used for shooting.
In an optional embodiment, the preset shooting mode includes part or all of the following:
shooting by adopting a preset template, shooting by adopting preset materials and shooting by adopting preset equipment.
The preset device may be a preset type of device, such as a camera or a mobile phone, or a preset type of device.
The embodiment of the disclosure is mainly applied to video shooting scenes, wherein the materials refer to properties or auxiliary tools for shooting and the like, and comprise special effects, magic expressions, stickers and the like.
The template is another prop or auxiliary tool for shooting, and is mainly used for assisting the production of short videos. For example, when a short video is created using a certain template, the short video can be created by clicking, adding pictures, editing texts, music, and the like according to the template.
In the embodiment of the present disclosure, when detecting a shooting mode of a video corresponding to a video file, the video file may be analyzed by the following two specific modes:
and detecting whether the video file contains a target field, and if so, determining to adopt a preset template for shooting or preset material shooting.
For example, a target field is pre-configured: the Activity Identity (Activity Identity) can be used for analyzing a resource package of the material or the template when the material or the template is used for shooting the video, and the Activity Identity (Activity Identity) is determined according to whether the resource package comprises the Activity Identity, and whether the shooting mode of the video is shooting by adopting a preset template or shooting by adopting the preset material. And if the activityID is included, confirming that the preset template or preset material shooting is adopted.
The preset template refers to one or more templates which are specified in the shooting activity and accord with the shooting theme, for example, the shooting theme is as follows: if China is praised, the preset template can comprise related elements such as fortune, firecrackers, red and the like; for example, the activity topic is: at the night of Christmas fantasy, the movable preset template can comprise elements such as Santa Claus and Christmas tree.
In the embodiment of the present disclosure, the resource may be a virtual resource, an electronic resource, an actual substance, or the like.
The following describes a video shooting mode in detail mainly by taking the red heart activity of video shooting as an example, where the red heart is a virtual resource, that is, a resource that needs to be allocated in the embodiment of the present disclosure. When it is determined that the video shot by the user can participate in the activity of taking the video in the hearts, the hearts can be allocated to the target account according to the hearts allocation rule.
When the user shoots the video meeting the conditions and capable of distributing resources, shooting can be carried out through the movable page entrance or directly through the shooting entrance. These two inlet means are described in detail below.
An inlet mode I and a movable page inlet mode.
As shown in fig. 4, supported video forms such as forms using a preset magic watch, a preset template, a family tree, a photo frame, a photo money and the like are displayed on the activity page H5 which has a hearted video, and example videos are displayed, wherein the supported video forms of the activity include preset video form tags (e.g., S41: magic watch video, S43: X video), video covers (e.g., S42, S44), the number of people being photographed, magic watch names or template names and the like, and a shooting control entry. The magic watch in fig. 4 indicates magic expression, which is one of the materials.
The user can enter the shooting page by clicking the corresponding shooting control, and bring the preset magic table into the shooting interface shown in fig. 5A or bring the preset template into the shooting interface shown in fig. 5B.
Fig. 5A is a schematic diagram illustrating a shooting process using preset materials according to an embodiment of the disclosure; the cloud animation in the figure is a preset magic expression material. Referring to fig. 5B, a schematic diagram of shooting with a preset template according to an embodiment of the disclosure is shown, where the theme of the preset template is: you get good in november.
Optionally, when the active page is displayed, the material and/or the template are pre-downloaded, and the pre-set material and/or the pre-set template are added into the pre-download list of the client, so that the user can shoot directly, and the shooting efficiency is improved.
In addition, when the user clicks the example video, the example video is played on the current page, or the user enters a video detail page to play the example video; the user can also replace the material or template by taking the magic watch panel or X-video entry of the page.
In the above embodiment, when the user enters the shooting page shown in fig. 5A or 5B from the active page shown in fig. 4 and replaces the material or the template with the magic board or the X-video entry of the shooting page, the condition of assigning the red heart is not satisfied, and thus the red heart is not assigned.
The second entrance mode and the shooting entrance mode.
A user opens a shooting page from a shooting inlet on the APP and selects a preset magic watch to carry out video shooting; or selecting a preset template to carry out video synthesis;
or the user opens a shooting page from a shooting entrance on the APP to shoot a multi-person video;
or, the user opens a shooting page from the same type/same frame entry on the detail page of the watched preset video, and shoots the same frame video (shown on the same screen as the watched video) or the same type video (using background music of the watched video) with the watched video.
In an alternative embodiment, the resources are allocated to the target account by:
determining a first quantity according to a preset resource allocation rule, and allocating a first quantity of resources to the target account; and/or allocating a second amount of resources to the target account according to an operation triggered on the sharing page of the video file by other accounts.
In the above embodiment, the first amount of resources may be allocated only to the target account; a second amount of resources may also be allocated only to the target account; the target account number can also be allocated with the first quantity and the second quantity of resources in sequence.
The following describes in detail the process of allocating a first amount of resources to a target account:
in an alternative embodiment, when the first number is determined according to a preset resource allocation rule, the following manners may be adopted:
determining a first quantity according to video frame images in a video file.
When the first number is determined according to the video frame images in the video file, the following modes can be specifically adopted:
mode 1, a first number is determined according to the number of objects in a video frame image contained in a video file.
For example, the larger the number of objects captured in the video, the larger the numerical value of the first number, i.e., the first number is proportional to the number of objects.
For example, if the video shot by the first user is happy home, the target account can be allocated with resources by the number of people in the video.
Mode 2, the first number is determined according to the behavior of the object in the video frame image contained in the video file.
Specifically, the first number is determined according to the behaviors of part or all of the objects in the video. When the first quantity is determined according to the behaviors of the plurality of objects, the first quantity can be determined in a manner of performing weighted summation, weighted averaging and the like on the quantities of the resources after the quantities of the resources corresponding to the behaviors are determined according to the behaviors of each object.
Optionally, when there are multiple objects in the video, one or more objects may be randomly selected from the multiple objects, and the first number may be determined according to the behavior of the selected objects.
In the embodiment of the present disclosure, the corresponding relationship between different behaviors and the number of resources may be preset, for example, behavior 1: in the year of the year, the corresponding resource quantity is 1000; behavior 2: praise, the corresponding resource quantity is 500, and the like.
Assuming that the video file contains 2 objects in the video frame image, where the behavior of object 1 and object 2 are both like, the first number is 1000 by direct summation.
And 3, determining shooting scenes corresponding to the video files according to the video frame images contained in the video files, and determining the first quantity according to the shooting scenes.
Optionally, the corresponding relationship between different scenes and the resource quantity may also be preset, for example, the resource quantity corresponding to scene 1 (home) is 1000, the resource quantity corresponding to scene 2 (company) is 500, the resource quantity corresponding to scene 3 (street) is 300, …, the resource quantity corresponding to scene N (market) is 50, the resource quantities corresponding to other scenes except scene 1 to scene N are 10, and N is a positive integer.
When the shooting scene corresponding to the video file is determined according to the video frame images contained in the video file, the shooting scene corresponding to the video file can be determined through analysis of one or more frames of images in the video file in an image recognition mode.
And determining a second mode, wherein the first preset value is used as the first quantity.
In this manner, a fixed amount of resources is allocated to the target account.
For example, a video shot by the first user adopts a preset material, or a preset template, or the same frame and the same type as the preset video, and the like, and a fixed amount of resources can be directly allocated to the target account.
And determining a third mode, and taking the value randomly selected in the first preset range as the first quantity.
For example, the first predetermined range is 500-1000, a value can be randomly selected from 500-1000 as the first amount, for example, 666 resources are randomly allocated to the target account.
In addition, the first number may be determined according to the first determination method, the second determination method, and the third determination method, and then the final first number is obtained by performing weighted average, and the like, which is not specifically limited herein.
In the embodiment of the present disclosure, after the first user issues the video, a pop-up window of a prompt message for obtaining additional resources may be sent to the first user, as shown in fig. 6, to prompt the first user to share the video with the second user through the "go share" control, and invite the second user to assist. The second user may be a friend of the first user, a member of the same group, or other unrelated users, and is specifically distinguished according to the user account, and the account of the second user is different from the account of the first user, that is, the other accounts are different from the target account.
The information shared by the sharing control to the second user is information in the form of sharing link or sharing password and the like.
The following describes in detail the process of allocating a second amount of resources to the target account:
in an optional implementation manner, according to an operation triggered by a second user through another account on a shared page of a video file, a second amount of resources are allocated to a target account, which includes the following specific processes:
and if the resource allocation operation triggered on the sharing page of the video file by other accounts is detected, allocating a second amount of resources to the target account according to the reference information. Wherein, the resource allocation operation is a power-assisted operation. Referring to fig. 7, after the second user opens the sharing link or the sharing password, the second user may enter an H5 activity page shown in fig. 7, and the second user assists the first user by clicking "help assist" to obtain the resource.
Specifically, when a second amount of resources are allocated to the target account according to the reference information, it may be determined, through the reference information, whether the second user using another account is a new user or an old user, and then different amounts of resources are allocated to the target account according to the difference between the new user and the old user.
That is, the second number of resources allocated to the target account is different for two different situations, namely, the new user assistance and the old user assistance. The second amount of resources allocated to the target account by the new user when assisting power is larger than the second amount of resources allocated to the target account by the old user when assisting power.
In the embodiment of the present disclosure, when determining that the second user using another account is a new user or an old user by referring to the information, the following determination methods may be specifically adopted, and detailed descriptions are respectively given below:
and in the first judgment mode, the reference information comprises the registration time of other accounts, and the judgment is only carried out according to the registration time of other accounts.
Optionally, when the duration between the registration time and the current assistance time is within a preset range, confirming that a second user logging in the other account is a new user; otherwise, the second user logging in the other account is determined to be the old user.
Assuming that the preset range is 30 minutes, the first user is a user A, and a target account logged in when the user A publishes a video is an account A; the second user is a user B, and the account number logged in by the user B when the user B is used for assisting the video shared by the user A is an account number B.
If the user B receives the sharing link of the user a, the user B copies the link to open the page shown in fig. 7, and clicks the "help for him" at 12.12.12.12.12.2019, and the registration time of the account B currently logged in by the user B is 10.1.2019, obviously, the duration is longer than 30 minutes, and the user B can be determined to be an old user, and at this time, the second number is determined to be 300.
If the user B receives the sharing link of the user a, the user B copies the link to open the page shown in fig. 7, and clicks the "help for him" at 12.12.12.12.2019, and the registration time of the account B currently logged in by the user B is 59 minutes at 11.12.25.12.11.2019, obviously, the duration is less than 30 minutes, and the user B can be determined as a new user, and at this time, the second number is determined to be 500.
And judging the reference information according to the registration time of the other account and the equipment identifier of the equipment logging in the other account.
The specific process when the judgment is performed is to further judge by combining the device identifiers of the devices logging in other accounts on the basis of the first judgment mode.
The device identification set comprises the binding relationship between the account identification and the device identification. The device identifier is a device identifier of a device used when performing account registration, or a device identifier of a logged-in device when performing power-assisted operation.
Taking the form of taking the device identifier set as a list as an example, according to the two situations, the following two forms of binding relationships can be specifically classified:
and the binding relationship I, the device identifier of the device used when the account is registered and the binding relationship of the registered account are at least recorded in the device identifier list.
In this way, when registering an account, the binding relationship between the account and the device identifier that meets the condition is recorded in the device identifier list, and it is assumed that the account is registered for the first time by a certain device, so that the device identifier and the account that is registered for the first time when registering the account can be bound and the binding relationship can be recorded.
Specifically, if the duration between the registration time of the other account and the power assisting time is within the preset range, and the binding relationship between the device identifier of the device logged in the other account and the other account exists in the device identifier set, it is determined that the second user is a new user. Otherwise, the second user is confirmed to be the old user.
The following are exemplified separately:
first, assuming that the user B ' registers the account B ' through the device 1 at 59 th 11 th year in 2019, at this time, the device identification ID1 (Identity) of the device 1 does not exist in the device identification list, the binding relationship between the ID1 and the account B ' is recorded in the device identification list.
If the user B ' logs in the account B ' for the first time in 2019, 11, 25, 12, and clicks the "help" through the page shown in fig. 7 to help the user a, the duration between the registration time of the account B ' and the time of the help is within the preset range, and it can be known through table lookup that the binding relationship between the account B ' and the ID1 exists in the device identifier list, so that the user B ' can be determined to be a new user, and 500 resources are allocated to the user a.
Secondly, suppose that user B registers account B through device 1 in 59 minutes at 11 th 25 th 12 th 2019, and at this time, device ID1 exists in the device ID list, so that it is not necessary to record the binding relationship between ID1 and account B in the device ID list.
If the user B logs in the account B for the first time in 12, 25 and 12 in 2019, the page shown in fig. 7 is used for clicking 'help assisting power' to assist the user a, at this time, even if the user logs in the APP through the account B for the first time, the duration between the registration time of the account B and the power assisting time is within the preset range, but the binding relationship between the ID1 and the account B is known not to exist in the device identification list through table lookup, so that the user B can be determined to be an old user, and 300 resources are allocated to the user a.
And in the binding relationship II, at least the equipment identifier of the equipment logged in when each account is assisted and the account logged in when the account is assisted are recorded in the equipment identifier list.
Specifically, if the duration between the registration time of the other account and the power assisting time is within the preset range, and the device identifier of the device logging in the other account does not exist in the device identifier list, it is determined that the second user is a new user. Otherwise, the second user is confirmed to be the old user.
The following are exemplified separately:
first, if the user B 'registers the account B' through the device 1 in 59 minutes at 11/25/2019, and clicks the "help" to help the user a through the page shown in fig. 7 at 12/11/25/2019. At this time, the duration between the registration time of the account B ' and the current power assisting time is within the preset range, and if the device identifier ID1 of the device 1 does not exist in the device identifier list after the power assisting is successful, it is determined that the user B ' is a new user, and the binding relationship between the account B ' and the ID1 is recorded in the device identifier list. At this time, 500 resources may be allocated for user a.
Secondly, if the user B also registers the account B through the device 1 in 59 minutes at 12/25/11/2019, and clicks the "help" for the user a through the page shown in fig. 7 in 12/25/12/2019. At this time, although the duration between the registration time of the account B and the current power assisting time is within the preset range, after the power assisting is successful, the device identifier list is queried to store the device identifier ID1 of the device 1, and it is determined that the user B is an old user, and it is no longer necessary to record the binding relationship between the account B and the ID1 in the device identifier list. At this time, 300 resources may be allocated for user a.
The judgment order of the judgment modes listed in the above embodiments is: first, the judgment is made according to the registration time. When the duration between the registration time and the current assistance time is not within the preset range, directly confirming that the second user is an old user without further judgment according to the equipment identification; and when the duration between the registration time and the current assistance time is within a preset range, further judgment is needed according to the equipment identification.
It should be noted that the above embodiment is only a feasible implementation manner, and the determination may also be performed according to the device identifier, and when the second user is determined to be an old user according to the device identifier of the device that logs in another account, the determination does not need to be performed according to the registration time.
By the aid of the method and the device, the situation that the same user uses the same device to register multiple accounts or logs in multiple accounts to cheat resources can be effectively reduced, for example, the same user can assist the user after registering different accounts on the same device, and accordingly fairness of activities is improved. In addition, the number of users can be effectively increased under the condition that the same user uses the same device to register a plurality of accounts, so that the number of people using APP is increased.
And in the third judgment mode, the reference information includes registration time of other accounts, device identifiers of devices logging in other accounts, and the number of times of triggering resource allocation operations by other accounts, and the judgment needs to be performed according to the registration time of other accounts, the device identifiers of the devices logging in other accounts, and the number of times of triggering resource allocation operations by other accounts.
When the resource allocation operation is the assisted operation, the number of times of triggering the resource allocation operation is the number of times of assisting.
The specific process when the judgment is performed is based on the second judgment mode, and is further judged by combining the times of triggering the resource allocation operation through other accounts.
Specifically, if the duration between the registration time of the other account and the power-assisted time is within the preset range, the device identifier of the device logging in the other account is different from the device identifier of the device logging in the target account, and the number of times that the second user triggers the resource allocation operation through the other account is within the preset threshold range, at this time, the second user is determined to be a new user. Otherwise, the second user is confirmed to be the old user.
The number of times that the second user triggers the resource allocation operation through other account numbers is the total number of times of assistance, and includes the resource allocation operation triggered on the shared pages of different video files through other account numbers.
Still taking the user B' listed in the above embodiments as an example, assume that the preset number threshold is 1.
If the user B 'registers the account B' through the device 1 in 59 minutes in 11, 25 and 11 in 2019 and logs in the APP for the first time in 12 in 11, 25 and 11 in 2019, clicking the "help" on the page shown in fig. 7 to help the user a, and inquiring that the device identifier ID1 of the device 1 does not exist in the device identifier set after the help is successful. At this time, the duration between the registration time of the account B ' and the current power assisting time is within the preset range, and after the power assisting is successful, it is queried that the device identifier ID1 of the device 1 does not exist in the device identifier list, and if the power assisting times of the user B ' is 1 and does not exceed the preset time threshold, it is determined that the user B ' is a new user, and 500 resources are allocated to the user a.
Assuming that the user B 'logs in the APP for 10 minutes within 30 minutes from 59 minutes at 11 months, 25 days and 11 days to 29 minutes at 11 months, 25 days and 12 hours, except that the user a is assisted once at 11 months, 25 days and 12 hours, and the APP is logged in for the second time at 10 minutes at 11 months, 25 days and 12 hours, two video files shared by the user a' are assisted successively, at this time, the time length between the registration time of the account B 'and the current assistance time is within a preset range, and the device identifier ID1 of the device 1 does not exist in the device identifier list after the assistance is successful, in addition, the assistance frequency of the user B' is greater than 1, and exceeds a preset frequency threshold value, it is determined that the user B 'is an old user, and thus the number of resources allocated to the user a' should be less than 500 of the number of resources allocated to the user a before. For example, the amount of resources allocated to the user a' after two consecutive boosters is 320 and 300 respectively.
In the third judgment method listed in the above embodiment, the judgment order is: the registration time is judged firstly, then the equipment identification of equipment for logging in other accounts is judged, and finally the number of times of assistance is judged. Alternatively, other sequences may be used for the determination, and are not specifically limited herein.
In the above embodiment, the number of resources allocated for assisting the new user is larger than the number of resources allocated for assisting the old user, which contributes to the increase in the number of users.
The device identifier of the device that logs in another account is a unique identifier of the device, the device that logs in another account is generally a terminal device, and the device identifier of the terminal device includes an IMEI (International Mobile equipment Identification Number), an IMSI (International Mobile subscriber Identification Number), an ESN (Electronic serial Number), an MEID (Mobile equipment Identification Number), and the like.
Optionally, after detecting an operation bit resource allocation operation triggered on a shared page of the video file by another account, a third amount of resources may be allocated to the other account according to the registration time of the other account.
Specifically, when allocating a third amount of resources to other accounts according to the reference information, an actual process is similar to the process of allocating a second amount of resources to the target account according to the reference information, and it is also necessary to determine whether the second user is a new user or an old user according to the reference information, and the determination manner may refer to any one of the first to third determination manners listed in the above embodiments. And then distributing resources with different quantities to other accounts according to the difference of the new and old users.
Similarly, the third number is different when allocating resources to other accounts for the assistance of the new user and the assistance of the old user. For example, the third amount of resources allocated to other account numbers when the new user assists power is greater than the third amount of resources allocated to other account numbers when the old user assists power; or the exact opposite: the third amount of resources allocated to the other account by the old user when assisted by the new user is greater than the third amount of resources allocated to the other account by the new user when assisted by the new user.
Wherein the second number is a second preset value or a randomly selected numerical value within a second preset range; the third quantity is a third preset value or a value randomly selected within a third preset range. The third number is less than the second number, which is less than the first number.
For example, after the user B successfully assists the user a, the resource of 300 is allocated to the account a of the user a, and the resource of 200 is allocated to the account B of the user B, where the number of the resource obtained by the user a by shooting a video is 1000.
In an alternative embodiment, the number of boosts by the second user is limited, for example, after N boosts by the second user, the second user cannot perform boosting any more, where N is a positive integer greater than 1.
If N is 50, it indicates that, in the process of the activity, the accumulated number of times of power assistance of the second user reaches 50 times, the second user cannot perform power assistance for other people.
In another optional implementation manner, whether the second user has the power-assisted permission or not can be determined according to the number of times of power assistance within the preset time period, that is, the number of times of power assistance of the second user has an upper limit in a period of time, and if the number of times of power assistance of the second user within the preset time period does not reach the upper limit, the power-assisted operation can be performed. For example, the upper limit of the number of boostable times per day for each user is 5.
It should be noted that, in the above two embodiments, whether the second user is a new user or an old user is feasible, and it is not necessary to distinguish whether the second user is a new user or an old user.
In the above embodiment, the number of resource allocation can be effectively controlled, and the occurrence of bipolar differentiation, which causes excessive resource allocation for some users and too little resource allocation for some users, is reduced, thereby ensuring that the resource allocation is relatively balanced as much as possible.
Taking resources as an example, the following description is given for the case of assisting the new user and the old user:
for the user C, the user is an old user that has been registered, and the user ID is a different user ID that is logged in on the same device with the target account, or a different user ID that is logged in on a different device with the target account (where the different user ID indicates that the account is different):
before the user C assists each time, firstly, whether the user C has the authority of the assisting operation needs to be judged, if the times that the user C opens the sharing page for assisting through the application program in a preset time period do not exceed the time threshold, the user C can be determined to have the authority of the assisting operation, and the assisting can be carried out. After the user C successfully assists the power, the target account number obtains a second number of hearts; the account of user C also gets a third number of hearts at the same time.
It is assumed that the second number is a first number of hearts, the third number is a second number of hearts, the second number of hearts is smaller than the first number of hearts, and the first number of hearts is smaller than a number of hearts obtained by a user who shares the video by shooting the video, that is, the first number.
Aiming at a user D, the user is an unregistered user, when the user D wants to assist, account registration is carried out, the user becomes a new user, different devices are used for logging in, and when a sharing page is opened through an application program for assisting operation for the first time, the user has an operation permission. And then, judging whether the user D has the authority of the power-assisted operation or not at each time of power assistance. If the number of times that the user D opens the sharing page through the application program to assist in the preset time period exceeds the number threshold, it can be determined that the user D does not have the authority of assisting operation.
And after the user D successfully assists the power, the target account number obtains a second number of hearts, and simultaneously the account number of the user D also obtains a third number of hearts.
It is assumed that the second number is a third number of red hearts, the third number is a fourth number of red hearts, the fourth number of red hearts is smaller than the third number of red hearts, the fourth number of red hearts is larger than the second number of red hearts, and the third number of red hearts is larger than the first number of red hearts and smaller than the number of red hearts obtained by the sharing user through video shooting, that is, the first number.
For example: the number of the red hearts obtained by shooting the video is 1000, the first number of the red hearts is 500, the second number of the red hearts is 200, the third number of the red hearts is 600, and the fourth number of the red hearts is 300.
Optionally, the second user may perform other operations at the client:
for example, when a sharing link is opened or a sharing password is entered into an H5 activity page shown in fig. 7, and a video cover page S70 is clicked, a video detail page is entered to play a video; if the second user does not pay attention to the first user sharing the video, the first user paying attention to the video can be clicked;
after the second user assistance is successful, the second user may also take a video to obtain a red heart by taking a video to obtain a red heart through taking a video to obtain a red heart as exemplified in the embodiments of the present disclosure on the activity page H5 shown in fig. 4; meanwhile, the red heart can be obtained by completing other tasks.
Fig. 8 is a flowchart illustrating a complete method for resource allocation according to an exemplary embodiment, which specifically includes the following steps:
s81: acquiring a video file of a video issued by a user;
s82: detecting whether the video file meets the content containing condition and/or whether the shooting mode of the video file is a preset shooting mode, if so, executing S823, otherwise, returning to S81;
s83: determining that the shot video can participate in video shooting to be obtained in the red heart, and allocating a first number of red hearts to the user account according to a red heart allocation rule;
s84: sending prompt information for obtaining the hearts to the user;
s85: after confirming that the user triggers the sharing operation, sharing the video of the user through the sharing control;
s86: if the assisted operation triggered by other users on the sharing page of the video is detected, distributing a second number of hearts to the user according to the registration time of the accounts of the other users;
s87: and allocating a third number of hearts to the accounts of the other users according to the registration time of the accounts of the other users.
The user account is a target account, and the user account is a resource allocation rule.
Fig. 9 is a block diagram illustrating a resource allocation apparatus according to an example embodiment. Referring to fig. 9, the resource allocation apparatus 900 includes a video acquisition unit 901 and a resource allocation unit 902.
A video obtaining unit 901 configured to perform obtaining of a video file corresponding to a target account;
a resource allocation unit 902, configured to allocate resources to the target account if it is determined that the video file meets the content inclusion condition and/or the shooting mode of the video file is a preset shooting mode.
In an alternative embodiment, the content inclusion condition includes some or all of the following:
a video frame image in the video file contains a plurality of objects;
the video frame image in the video file comprises the image content of a preset video;
and the audio frame in the video file is a preset audio.
In an optional embodiment, the preset shooting mode includes part or all of the following:
shooting by adopting a preset template;
shooting by adopting preset materials.
In an optional implementation manner, the resource allocation unit 902 is specifically configured to perform:
determining a first quantity according to a preset resource allocation rule, and allocating a first quantity of resources to the target account; and/or
And allocating a second amount of resources to the target account according to the operation triggered on the sharing page of the video file by other accounts.
In an optional implementation manner, the resource allocation unit 902 is specifically configured to perform:
determining the first number according to video frame images in the video file; or
Taking a first preset value as the first number; or
And taking the value randomly selected in a first preset range as the first quantity.
In an optional implementation manner, the resource allocation unit 902 is specifically configured to perform:
determining the first number according to the number of objects in the video frame image contained in the video file; or
Determining the first number according to the behavior of objects in video frame images contained in the video file; or
And determining shooting scenes corresponding to the video files according to the video frame images contained in the video files, and determining the first quantity according to the shooting scenes.
In an optional implementation manner, the resource allocation unit 902 is specifically configured to perform:
if a resource allocation operation triggered on a sharing page of the video file by other accounts is detected, allocating a second amount of resources to the target account according to the reference information;
wherein the reference information comprises the registration time of the other account; or
The reference information comprises the registration time of the other account and the equipment identification of the equipment for logging in the other account; or
The reference information includes registration time of the other account, a device identifier of a device logging in the other account, and the number of times of triggering resource allocation operation by the other account.
In an optional embodiment, the resource allocation unit 902 is further configured to perform:
and allocating a third amount of resources to the other account numbers according to the reference information.
With regard to the apparatus in the above-described embodiment, the specific manner in which each unit executes the request has been described in detail in the embodiment related to the method, and will not be elaborated here.
Fig. 10 is a block diagram illustrating an electronic device 1000 according to an example embodiment, the apparatus comprising:
a processor 1010;
a memory 1020 for storing instructions executable by the processor 1010;
wherein the processor 1010 is configured to execute the instructions to implement the resource allocation method in the embodiments of the present disclosure.
In an exemplary embodiment, a storage medium comprising instructions, such as the memory 1020 comprising instructions, executable by the processor 1010 of the electronic device 1000 to perform the above-described resource allocation method is also provided. Alternatively, the storage medium may be a non-transitory computer readable storage medium, which may be, for example, a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
In an embodiment of the present disclosure, a terminal device is further provided, and its structure is shown in fig. 11, where an embodiment of the present disclosure provides a terminal 1100 for resource allocation, including: radio Frequency (RF) circuitry 1110, a power supply 1120, a processor 1130, a memory 1140, an input unit 1150, a display unit 1160, a camera 1170, a communication interface 1180, and a Wireless Fidelity (Wi-Fi) module 1190. Those skilled in the art will appreciate that the configuration of the terminal shown in fig. 11 is not intended to be limiting, and that embodiments of the present disclosure provide terminals that include more or less components than those shown, or that combine certain components, or that are arranged in different components.
The following describes each component of the terminal 1100 in detail with reference to fig. 11:
the RF circuit 1110 may be used for receiving and transmitting data during a communication or conversation. Specifically, the RF circuit 1110, after receiving downlink data of a base station, sends the downlink data to the processor 1130 for processing; and in addition, sending the uplink data to be sent to the base station. Generally, the RF circuit 1110 includes, but is not limited to, an antenna, at least one Amplifier, a transceiver, a coupler, a Low Noise Amplifier (LNA), a duplexer, and the like.
In addition, the RF circuit 1110 can also communicate with a network and other terminals through wireless communication. The wireless communication may use any communication standard or protocol, including but not limited to Global System for mobile communications (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Long Term Evolution (LTE), email, Short Messaging Service (SMS), and the like.
The Wi-Fi technology belongs to a short-distance wireless transmission technology, and the terminal 1100 can be connected with an Access Point (AP) through a Wi-Fi module 1190, thereby realizing Access to a data network. The Wi-Fi module 1190 may be used for receiving and transmitting data during communication.
The terminal 1100 may be physically connected to other terminals through the communication interface 1180. Optionally, the communication interface 1180 is connected to the communication interfaces of the other terminals through a cable, so as to implement data transmission between the terminal 1100 and the other terminals.
In the embodiment of the present disclosure, the terminal 1100 is capable of implementing a communication service and sending information to other contacts, so that the terminal 1100 needs to have a data transmission function, that is, the terminal 1100 needs to include a communication module inside. Although fig. 11 illustrates communication modules such as the RF circuit 1110, the Wi-Fi module 1190, and the communication interface 1180, it is to be understood that at least one of the above-described components or other communication modules (e.g., bluetooth module) for implementing communication may be present in the terminal 1100 for data transmission.
For example, when the terminal 1100 is a mobile phone, the terminal 1100 may include the RF circuit 1110 and may further include the Wi-Fi module 1190; when the terminal 1100 is a computer, the terminal 1100 may include the communication interface 1180 and may further include the Wi-Fi module 1190; when the terminal 1100 is a tablet computer, the terminal 1100 may include the Wi-Fi module.
The memory 1140 may be used to store software programs and modules. The processor 1130 executes software programs and modules stored in the memory 1140 so as to perform various functional applications and data processing of the terminal 1100, and when the processor 1130 executes the program codes in the memory 1140, part or all of the processes in fig. 2 of the embodiments of the present disclosure can be implemented.
Alternatively, the memory 1140 may mainly include a program storage area and a data storage area. The storage program area can store an operating system, various application programs (such as communication application), a face recognition module and the like; the storage data area may store data (such as various multimedia files like pictures, video files, etc., and face information templates) created according to the use of the terminal, etc.
Further, the memory 1140 may include high speed random access memory and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The input unit 1150 may be used to receive numeric or character information input by a user and generate key signal inputs related to user settings and function control of the terminal 1100.
Optionally, the input unit 1150 may include a touch panel 1151 and other input terminals 1152.
The touch panel 1151, also called a touch screen, can collect touch operations of a user on or near the touch panel 1151 (for example, operations of a user on or near the touch panel 1151 by using any suitable object or accessory such as a finger or a stylus pen), and drive a corresponding connection device according to a preset program. Alternatively, the touch panel 1151 may include two portions, i.e., a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 1130, and can receive and execute commands sent by the processor 1130. In addition, the touch panel 1151 may be implemented by various types, such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave.
Optionally, the other input terminals 1152 may include, but are not limited to, one or more of a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like.
The display unit 1160 may be used to display information input by or provided to the user and various menus of the terminal 1100. The display unit 1160 is a display system of the terminal 1100, and is used for presenting an interface and implementing human-computer interaction.
The display unit 1160 may include a display panel 1161. Alternatively, the Display panel 1161 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-emitting diode (OLED), or the like.
Further, the touch panel 1151 can cover the display panel 1161, and when the touch panel 1151 detects a touch operation on or near the touch panel 1151, the touch panel is transmitted to the processor 1130 to determine the type of the touch event, and then the processor 1130 provides a corresponding visual output on the display panel 1161 according to the type of the touch event.
Although in fig. 11, the touch panel 1151 and the display panel 1161 are two separate components to implement the input and output functions of the terminal 1100, in some embodiments, the touch panel 1151 and the display panel 1161 may be integrated to implement the input and output functions of the terminal 1100.
The processor 1130 is a control center of the terminal 1100, connects various components using various interfaces and lines, performs various functions of the terminal 1100 and processes data by operating or executing software programs and/or modules stored in the memory 1140 and calling data stored in the memory 1140, thereby implementing various services based on the terminal.
Optionally, the processor 1130 may include one or more processing units. Optionally, the processor 1130 may integrate an application processor and a modem processor, wherein the application processor mainly handles operating systems, user interfaces, application programs, and the like, and the modem processor mainly handles wireless communications. It is to be appreciated that the modem processor described above may not be integrated into the processor 1130.
The camera 1170 is configured to implement a shooting function of the terminal 1100, and shoot a picture or a video. The camera 1170 may also be used to implement a scanning function of the terminal 1100, and scan a scanned object (two-dimensional code/barcode).
The terminal 1100 also includes a power supply 1120 (e.g., a battery) for powering the various components. Optionally, the power supply 1120 may be logically connected to the processor 1130 through a power management system, so as to implement functions of managing charging, discharging, power consumption, and the like through the power management system.
It is noted that the processor 1130 according to the embodiments of the present disclosure may perform the functions of the processor 1010 in fig. 10, and the memory 1140 stores the contents of the memory 1020.
The embodiments of the present disclosure further provide a computer program product, which, when running on an electronic device, causes the electronic device to execute a method for implementing any one of the resource allocation methods or any one of the resource allocation methods described in the embodiments of the present disclosure.
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 variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (10)

1. A method for resource allocation, comprising:
acquiring a video file corresponding to a target account;
and if the video file meets the content containing condition and/or the shooting mode of the video file is a preset shooting mode, distributing resources for the target account.
2. The method of claim 1, wherein the content inclusion condition includes some or all of:
a video frame image in the video file contains a plurality of objects;
the video frame image in the video file comprises the image content of a preset video;
and the audio frame in the video file is a preset audio.
3. The method of claim 1, wherein the preset shot mode comprises some or all of:
shooting by adopting a preset template;
shooting by adopting preset materials.
4. The method of claim 1, wherein the allocating resources for the target account number comprises:
determining a first quantity according to a preset resource allocation rule, and allocating a first quantity of resources to the target account; and/or
And allocating a second amount of resources to the target account according to the operation triggered on the sharing page of the video file by other accounts.
5. The method of claim 4, wherein the determining the first number according to a preset resource allocation rule comprises:
determining the first number according to video frame images in the video file; or
Taking a first preset value as the first number; or
And taking the value randomly selected in a first preset range as the first quantity.
6. The method of claim 5, wherein said determining the first number from video frames of the video file comprises:
determining the first number according to the number of objects in the video frame image contained in the video file; or
Determining the first number according to the behavior of objects in video frame images contained in the video file; or
And determining shooting scenes corresponding to the video files according to the video frame images contained in the video files, and determining the first quantity according to the shooting scenes.
7. The method of claim 4, wherein the allocating a second amount of resources to the target account according to the operation triggered on the shared page of the video file by the other account comprises:
if a resource allocation operation triggered on a sharing page of the video file by other accounts is detected, allocating a second amount of resources to the target account according to the reference information;
wherein the reference information comprises the registration time of the other account; or
The reference information comprises the registration time of the other account and the equipment identification of the equipment for logging in the other account; or
The reference information includes registration time of the other account, a device identifier of a device logging in the other account, and the number of times of triggering resource allocation operation by the other account.
8. A resource allocation apparatus, comprising:
the video acquisition unit is configured to execute acquisition of a video file corresponding to the target account;
and the resource allocation unit is configured to allocate resources to the target account if the video file is determined to meet the content inclusion condition and/or the shooting mode of the video file is a preset shooting mode.
9. An electronic device, comprising:
a processor;
a memory for storing the processor-executable instructions;
wherein the processor is configured to execute the instructions to implement the resource allocation method of any one of claim 1 to claim 7.
10. A storage medium, wherein instructions in the storage medium, when executed by a processor of an electronic device, enable the electronic device to perform the resource allocation method of any one of claims 1 to 7.
CN201911399192.7A 2019-12-30 2019-12-30 Resource allocation method, device, electronic equipment and storage medium Pending CN111160976A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911399192.7A CN111160976A (en) 2019-12-30 2019-12-30 Resource allocation method, device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911399192.7A CN111160976A (en) 2019-12-30 2019-12-30 Resource allocation method, device, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN111160976A true CN111160976A (en) 2020-05-15

Family

ID=70559585

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911399192.7A Pending CN111160976A (en) 2019-12-30 2019-12-30 Resource allocation method, device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN111160976A (en)

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112016955A (en) * 2020-07-24 2020-12-01 上海淇玥信息技术有限公司 Resource allocation method and device and electronic equipment
CN112118460A (en) * 2020-09-21 2020-12-22 北京达佳互联信息技术有限公司 Resource processing method and device, terminal and server
CN112258240A (en) * 2020-10-30 2021-01-22 北京达佳互联信息技术有限公司 Content display method, device, terminal, server and storage medium
CN112380442A (en) * 2020-11-20 2021-02-19 游艺星际(北京)科技有限公司 Electronic resource allocation method, device, electronic equipment and storage medium
CN112767241A (en) * 2021-01-29 2021-05-07 北京达佳互联信息技术有限公司 Image processing method and device
CN112817494A (en) * 2021-01-26 2021-05-18 北京达佳互联信息技术有限公司 Data processing method and device, electronic equipment and storage medium
CN112907276A (en) * 2021-01-22 2021-06-04 北京达佳互联信息技术有限公司 Task processing method and device and storage medium
CN113329232A (en) * 2021-04-28 2021-08-31 北京达佳互联信息技术有限公司 Resource distribution method and device, electronic equipment and storage medium
WO2023125249A1 (en) * 2021-12-31 2023-07-06 北京有竹居网络技术有限公司 Interaction method and apparatus, and electronic device and readable storage medium
WO2023138425A1 (en) * 2022-01-20 2023-07-27 北京字跳网络技术有限公司 Virtual resource acquisition method and apparatus, device, and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106547831A (en) * 2016-10-10 2017-03-29 天脉聚源(北京)科技有限公司 Improve the method and device of the treatment effeciency of image information
CN108062691A (en) * 2017-12-26 2018-05-22 广州酷狗计算机科技有限公司 Resource allocation methods, device, server and storage medium
US20190122249A1 (en) * 2017-10-24 2019-04-25 Alibaba Group Holding Limited Resource allocation method and related device and display method and related device
CN109788327A (en) * 2017-11-10 2019-05-21 阿里巴巴集团控股有限公司 Multi-screen interaction method, device and electronic equipment
CN110275961A (en) * 2019-06-13 2019-09-24 北京字节跳动网络技术有限公司 Document interactive approach, device, electronic equipment and computer readable storage medium
CN110275788A (en) * 2019-06-24 2019-09-24 北京金山安全软件有限公司 Control method and system of mobile application program, mobile terminal and storage medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106547831A (en) * 2016-10-10 2017-03-29 天脉聚源(北京)科技有限公司 Improve the method and device of the treatment effeciency of image information
US20190122249A1 (en) * 2017-10-24 2019-04-25 Alibaba Group Holding Limited Resource allocation method and related device and display method and related device
CN109788327A (en) * 2017-11-10 2019-05-21 阿里巴巴集团控股有限公司 Multi-screen interaction method, device and electronic equipment
CN108062691A (en) * 2017-12-26 2018-05-22 广州酷狗计算机科技有限公司 Resource allocation methods, device, server and storage medium
CN110275961A (en) * 2019-06-13 2019-09-24 北京字节跳动网络技术有限公司 Document interactive approach, device, electronic equipment and computer readable storage medium
CN110275788A (en) * 2019-06-24 2019-09-24 北京金山安全软件有限公司 Control method and system of mobile application program, mobile terminal and storage medium

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112016955A (en) * 2020-07-24 2020-12-01 上海淇玥信息技术有限公司 Resource allocation method and device and electronic equipment
CN112118460B (en) * 2020-09-21 2022-09-02 北京达佳互联信息技术有限公司 Resource processing method and device, terminal and server
CN112118460A (en) * 2020-09-21 2020-12-22 北京达佳互联信息技术有限公司 Resource processing method and device, terminal and server
CN112258240A (en) * 2020-10-30 2021-01-22 北京达佳互联信息技术有限公司 Content display method, device, terminal, server and storage medium
CN112380442A (en) * 2020-11-20 2021-02-19 游艺星际(北京)科技有限公司 Electronic resource allocation method, device, electronic equipment and storage medium
CN112907276A (en) * 2021-01-22 2021-06-04 北京达佳互联信息技术有限公司 Task processing method and device and storage medium
CN112817494A (en) * 2021-01-26 2021-05-18 北京达佳互联信息技术有限公司 Data processing method and device, electronic equipment and storage medium
CN112817494B (en) * 2021-01-26 2022-08-12 北京达佳互联信息技术有限公司 Data processing method and device, electronic equipment and storage medium
CN112767241A (en) * 2021-01-29 2021-05-07 北京达佳互联信息技术有限公司 Image processing method and device
CN113329232A (en) * 2021-04-28 2021-08-31 北京达佳互联信息技术有限公司 Resource distribution method and device, electronic equipment and storage medium
CN113329232B (en) * 2021-04-28 2023-01-20 北京达佳互联信息技术有限公司 Resource distribution method and device, electronic equipment and storage medium
WO2023125249A1 (en) * 2021-12-31 2023-07-06 北京有竹居网络技术有限公司 Interaction method and apparatus, and electronic device and readable storage medium
WO2023138425A1 (en) * 2022-01-20 2023-07-27 北京字跳网络技术有限公司 Virtual resource acquisition method and apparatus, device, and storage medium

Similar Documents

Publication Publication Date Title
CN111160976A (en) Resource allocation method, device, electronic equipment and storage medium
CN105530175B (en) Message processing method, device and system
US10065119B2 (en) Game accessing method and processing method, server, terminal, and system
CN104394126B (en) Information recommendation method, server, client and system
KR101626474B1 (en) Apparatus for providing document sharing service based messenger and method using the same
EP4203478A1 (en) Multi-user live streaming method and apparatus, terminal, server, and storage medium
CN111367562B (en) Data acquisition method, device, storage medium and processor
CN113810732B (en) Live content display method, device, terminal, storage medium and program product
CN103024688A (en) Method and system for adding good friends in instant messaging platform
CN111400596B (en) Information sharing method and device
CN111159587A (en) User access information processing method and device and terminal equipment
CN109754329B (en) Electronic resource processing method, terminal, server and storage medium
CN104317804A (en) Voting information publishing method and device
CN111130986B (en) Message sending method, device, equipment and storage medium
CN106134134A (en) Transit time flow meter
CN110647827A (en) Comment information processing method and device, electronic equipment and storage medium
CN110177041B (en) Voice information sending method and device, storage medium and electronic device
US11163827B2 (en) Video processing method, device, terminal and storage medium
CN106796523B (en) Intelligent control method, device, electronic equipment and system
CN109525488A (en) Instant message dissemination method, device, terminal, server and storage medium
EP2741468B1 (en) Method for labelling user data, terminal device and server
CN112785312A (en) Information sharing method and device, electronic equipment and readable storage medium
US11816173B2 (en) Method and apparatus for managing user profile
CN114124415B (en) Information interaction method and device in target interaction application
CN113098756B (en) Information processing method, information processing device, electronic 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