CN115190328B - Method and device for issuing and checking electronic resources, electronic equipment and storage medium - Google Patents

Method and device for issuing and checking electronic resources, electronic equipment and storage medium Download PDF

Info

Publication number
CN115190328B
CN115190328B CN202211107903.0A CN202211107903A CN115190328B CN 115190328 B CN115190328 B CN 115190328B CN 202211107903 A CN202211107903 A CN 202211107903A CN 115190328 B CN115190328 B CN 115190328B
Authority
CN
China
Prior art keywords
live broadcast
broadcast room
electronic
dimension
electronic resource
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
CN202211107903.0A
Other languages
Chinese (zh)
Other versions
CN115190328A (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 CN202211107903.0A priority Critical patent/CN115190328B/en
Publication of CN115190328A publication Critical patent/CN115190328A/en
Application granted granted Critical
Publication of CN115190328B publication Critical patent/CN115190328B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/21Server components or server architectures
    • H04N21/218Source of audio or video content, e.g. local disk arrays
    • H04N21/2187Live feed
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/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/266Channel or content management, e.g. generation and management of keys and entitlement messages in a conditional access system, merging a VOD unicast channel into a multicast channel

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Testing, Inspecting, Measuring Of Stereoscopic Televisions And Televisions (AREA)

Abstract

The present disclosure relates to a method, an apparatus, a server and a storage medium for issuing and checking electronic resources, wherein the method comprises: acquiring collected data of multiple dimensions of a live broadcast room; the plurality of dimensions includes at least a viewer dimension and a anchor dimension of the live room; determining the abnormal degree of the electronic resource generated by the live broadcast room based on the outlier of the collected data of each dimensionality relative to the statistical data of the corresponding dimensionality; and according to the abnormal degree, determining a target issuing verification mode in at least two preset issuing verification modes, and verifying the electronic resource to be issued in the live broadcast room based on the target issuing verification mode. By adopting the method, the electronic resources to be sent in the live broadcast rooms with different abnormal degrees can be checked, and the safety and the reliability of using the electronic resources are improved.

Description

Method and device for issuing and checking electronic resources, electronic equipment and storage medium
Technical Field
The present disclosure relates to the field of internet technologies, and in particular, to a method, an apparatus, a server, and a storage medium for issuing and checking electronic resources.
Background
With the development of internet technology, an online live broadcast mode is gradually popular on a social networking platform, and when a anchor broadcast is carried out, the anchor broadcast can send various network electronic resources to a watching user so as to interact with the user in real time; the watching user can actively acquire the network electronic resources sent by the anchor in real time so as to improve the watching experience when watching the live broadcast.
At present, in a method for limiting network electronic resources, whether the number of users in a live broadcast room is abnormal or not is mainly checked according to the number of real-time online users in the live broadcast room, so that the anchor is correspondingly limited to send the network electronic resources according to the abnormal condition of the number of users in the live broadcast room.
However, the conventional method only has the problem that the abnormal condition of the number of users in the live broadcast room is not accurate enough according to the real-time online number of the users, so that the abnormal condition deviates from the real condition, and the use of network electronic resources is not safe and reliable enough.
Disclosure of Invention
The present disclosure provides a method, an apparatus, a server, a storage medium, and a program product for issuing and verifying an electronic resource, so as to solve at least the problem of low security and reliability in using an electronic resource 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 method for issuing and checking an electronic resource, including:
acquiring collected data of multiple dimensions of a live broadcast room; the plurality of dimensions includes at least a viewer dimension and a anchor dimension of the live room;
determining the abnormal degree of the electron resources generated by the live broadcast room based on the outlier of the acquired data of each dimension relative to the statistical data of the corresponding dimension;
and according to the abnormal degree, determining a target issuing verification mode in at least two preset issuing verification modes, and verifying the electronic resource to be issued in the live broadcast room based on the target issuing verification mode.
In an exemplary embodiment, the determining the degree of abnormality of the electronic resource issued by the live broadcast room based on the outlier of the collected data of each dimension relative to the statistical data of the corresponding dimension includes:
calculating, for the acquired data of each dimension, a standard deviation value or a probability density of the acquired data of each dimension relative to statistical data of a corresponding dimension to determine an outlier corresponding to each dimension;
and determining the abnormal degree of the electronic resource issued by the live broadcast room based on the outliers corresponding to at least two dimensions.
In an exemplary embodiment, the determining the degree of abnormality of the electronic resource issued by the live broadcast room based on the outliers corresponding to the at least two dimensions includes:
determining an outlier currently corresponding to the live broadcast room based on outliers corresponding to at least two dimensions respectively;
and determining the abnormal degree of the electronic resource generated by the live broadcast room based on the size relation between the current corresponding outlier of the live broadcast room and a preset abnormal limit value.
In an exemplary embodiment, the determining, based on a magnitude relationship between a currently corresponding outlier of the live broadcasting room and a preset abnormal limit, an abnormal degree of electronic resource release of the live broadcasting room includes:
if the current corresponding outlier of the live broadcast room is smaller than the preset abnormal limit value, determining that the abnormal degree of the electronic resource issued by the live broadcast room is a first abnormal degree;
if the current corresponding outlier of the live broadcast room is larger than or equal to the preset abnormal limit value, determining that the abnormal degree of the electronic resource sent by the live broadcast room is a second abnormal degree;
wherein the second degree of abnormality is higher than the first degree of abnormality.
In an exemplary embodiment, the acquiring acquisition data of multiple dimensions of a live broadcast room includes at least one of:
acquiring the current online audience total amount, target audience amount and/or target audience amount ratio of the live broadcast room as the acquisition data of the audience dimension;
and acquiring the audience total amount, the target audience total amount and/or the target audience amount ratio of the live broadcast room in the latest first sliding time window as the acquisition data of the audience dimension.
In an exemplary embodiment, before determining the degree of abnormality of the electronic resource generated by the live broadcast room based on the outlier of the collected data of each dimension relative to the statistical data of the corresponding dimension, at least one of the following is further included:
acquiring the average value and variance value of the audience total amount, the target audience total amount and/or the target audience number ratio in a plurality of first sliding time windows of the live broadcast room, and acquiring statistical data corresponding to the acquired data of each dimensionality in the acquired data of the audience dimensionality;
and acquiring the average value and the variance value of the audience total amount, the target audience total amount and/or the target audience number ratio in a plurality of historical live broadcast fields of the live broadcast room, and acquiring the statistical data of the acquired data of each dimension relative to the corresponding dimension in the acquired data of the audience dimension.
In an exemplary embodiment, the acquiring acquisition data of multiple dimensions of a live broadcast room includes:
acquiring the type and/or the live broadcast duration of the live broadcast room in the current live broadcast field as the acquisition data of the current anchor dimension; wherein the live room types include an open live room and a private live room.
In an exemplary embodiment, before determining the degree of abnormality of the live broadcast sub-resource based on the outlier of the collected data of each dimension relative to the statistical data of the corresponding dimension, the method further includes:
and acquiring the mean value and the variance value of the types and/or the live broadcast durations of the live broadcast rooms in a plurality of historical live broadcast fields to obtain statistical data of the collected data of each dimension relative to the corresponding dimension in the collected data of the anchor dimension.
In an exemplary embodiment, the determining, according to the degree of the abnormality, a target issuing verification mode from at least two preset issuing verification modes includes:
if the abnormal degree is the first abnormal degree, determining a first mode as a target issuing verification mode in the at least two issuing verification modes;
if the abnormal degree is a second abnormal degree, determining a second mode as a target issuing verification mode in the at least two issuing verification modes;
wherein the second degree of abnormality is higher than the first degree of abnormality, and the constraint condition for checking the electronic resource to be issued in the second mode is greater than the constraint condition for checking the electronic resource to be issued in the first mode.
In an exemplary embodiment, the constraints for verifying the electronic resource to be issued in the second mode include at least two of a first constraint, a second constraint, and a third constraint;
the verifying the electronic resource to be released in the live broadcast room based on the target release verification mode comprises the following steps:
if the target issuing verification mode is the second mode, verifying the electronic resource to be issued based on at least two of the first constraint condition, the second constraint condition and the third constraint condition;
responding to the verification result of any constraint condition, and limiting the anchor of the live broadcast room to release the electronic resource to be released;
wherein the content of the first and second substances,
the first constraint condition is used for verifying whether the total amount of the electronic resources issued by the live broadcast room in a second sliding time window is larger than a first preset value or not;
the second constraint condition is used for verifying whether the number of copies and/or the single resource amount of the electronic resource to be issued currently in the live broadcast room is larger than a second preset value;
and the third constraint condition is used for verifying whether the total times and/or frequency of electronic resource issuing of the current anchor of the live broadcast room are/is greater than a third preset value.
In an exemplary embodiment, the second mode further comprises a fourth constraint for verifying the electronic resource to be received;
after the step of verifying the electronic resource to be released in the live broadcast room based on the target release verification mode, the method further comprises the following steps:
if the target issuing verification mode is the second mode, after the anchor of the live broadcast room issues the electronic resource, receiving a target audience account of the electronic resource aiming at each request, and verifying the request of the target audience account for the electronic resource to be received based on the fourth constraint condition; the fourth constraint condition is used for verifying whether the total amount of the electronic resources received by the target audience account in the third sliding time window is larger than a fourth preset value;
and limiting the target audience account from receiving the electronic resource in response to the verification result of the fourth constraint condition being yes.
According to a second aspect of the embodiments of the present disclosure, there is provided a method for receiving and verifying an electronic resource, including:
acquiring collected data of multiple dimensions of a live broadcast room; the plurality of dimensions includes at least one audience dimension and at least one anchor dimension of the live room;
determining the abnormal degree of the electron resources generated by the live broadcast room based on the outlier of the acquired data of each dimension relative to the statistical data of the corresponding dimension;
under the condition that the outlier corresponding to the abnormal degree is determined to be larger than or equal to a preset abnormal limit value, for each target audience account requesting to receive the electronic resources in the live broadcast room, verifying the request of the target audience account to the electronic resources to be received based on a preset constraint condition; the preset constraint condition is used for verifying whether the total amount of the electronic resources received by the target audience account in the third sliding time window is larger than a preset value;
and in response to the verification result corresponding to the preset constraint condition being yes, limiting the target audience account to receive the electronic resource.
According to a third aspect of the embodiments of the present disclosure, there is provided an apparatus for verifying an electronic resource, including:
the data acquisition unit is configured to acquire acquisition data of multiple dimensions of a live broadcast room; the plurality of dimensions includes at least a viewer dimension and a anchor dimension of the live room;
the abnormal degree judging unit is configured to execute the step of determining the abnormal degree of the electronic resource generated by the live broadcast room based on the outlier of the collected data of each dimension relative to the statistical data of the corresponding dimension;
and the checking unit is configured to determine a target issuing checking mode in at least two preset issuing checking modes according to the abnormal degree so as to check the electronic resource to be issued in the live broadcast based on the target issuing checking mode.
According to a fourth aspect of embodiments of the present disclosure, there is provided an electronic apparatus including:
a processor;
a memory for storing executable instructions of the processor;
wherein the processor is configured to execute the executable instructions to implement the method for the issuance verification of an electronic resource and/or the method for the reception verification of an electronic resource as described in any one of the above.
According to a fifth aspect of embodiments of the present disclosure, there is provided a computer-readable storage medium including program data therein, which when executed by a processor of an electronic device, enables the electronic device to perform the method for issuing verification of an electronic resource and/or the method for receiving verification of an electronic resource as described in any one of the above.
According to a sixth aspect of embodiments of the present disclosure, there is provided a computer program product, which includes program instructions, when executed by a processor of an electronic device, enables the electronic device to execute the method for issuing verification of an electronic resource and/or the method for receiving verification of an electronic resource according to any one of the above.
The technical scheme provided by the embodiment of the disclosure at least brings the following beneficial effects:
acquiring data acquired by multiple dimensions of a live broadcast room, wherein the multiple dimensions at least comprise audience dimensions and anchor dimensions of the live broadcast room; determining the abnormal degree of the electron resources generated in the live broadcast room based on the outlier of the acquired data of each dimension relative to the statistical data of the corresponding dimension; and finally, according to the abnormal degree, determining a target distribution verification mode in at least two preset distribution verification modes so as to verify the electronic resource to be distributed in the live broadcast room based on the target distribution verification mode. Therefore, on one hand, the abnormal degree of the electronic resources sent out by the live broadcast room is obtained by utilizing the acquired data of multiple dimensions, and the real-time performance and the accuracy of judging the abnormal condition of the electronic resources sent out by the live broadcast room can be improved; on the other hand, the electronic resource to be distributed is verified in the corresponding mode according to the determined abnormal degree, so that the safety and reliability of using the electronic resource between live broadcasting stations can be improved.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the disclosure and are not to be construed as limiting the disclosure.
Fig. 1 is a diagram illustrating an application environment of a method for issuance verification of an electronic resource, according to an example embodiment.
Fig. 2 is a flowchart illustrating a method for issuance verification of an electronic resource according to an exemplary embodiment.
FIG. 3 is a flowchart illustrating a step of determining a degree of abnormality according to an exemplary embodiment.
FIG. 4 is a flowchart illustrating another step of determining a degree of abnormality in accordance with an exemplary embodiment.
FIG. 5 is a flowchart illustrating a step of verifying an electronic resource in accordance with an exemplary embodiment.
FIG. 6 is a flowchart illustrating another step of verifying an electronic resource in accordance with an exemplary embodiment.
Fig. 7 is a flowchart illustrating a method of receipt verification of an electronic resource in accordance with an exemplary embodiment.
Fig. 8 is a flowchart illustrating an issuance verification method for electronic resources according to another exemplary embodiment.
Fig. 9 is a flowchart illustrating a method for issuance verification of an electronic resource in accordance with yet another exemplary embodiment.
Fig. 10 is a flow chart illustrating a method of receipt verification of an electronic resource in accordance with another exemplary embodiment.
FIG. 11 is an interface diagram illustrating a preset sliding window according to an exemplary embodiment.
FIG. 12 is a block diagram illustrating a verification apparatus for an electronic resource in accordance with an exemplary embodiment.
FIG. 13 is a block diagram illustrating an electronic device for issuance verification of an electronic resource in accordance with an exemplary embodiment.
FIG. 14 is a block diagram illustrating a computer-readable storage medium for issue verification of an electronic resource, in accordance with an exemplary embodiment.
FIG. 15 is a block diagram illustrating a computer program product for issuance verification of an electronic resource in accordance with an exemplary 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 other sequences than those illustrated or described herein. The implementations described in the exemplary embodiments below do not 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.
It should also be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data for presentation, analyzed data, etc.) referred to in the present disclosure are both information and data that are authorized by the user or sufficiently authorized by various parties.
The method for issuing and checking the electronic resource provided by the present disclosure can be applied to an application environment as shown in fig. 1. Wherein the terminal 102 communicates with the server 104 via a network. The data storage system may store data that the server 104 needs to process. The data storage system may be integrated on the server 104, or may be located on the cloud or other network server.
In one embodiment, referring to fig. 1, the server 104 first obtains collected data of multiple dimensions of a live room in the terminal 102, where the multiple dimensions include at least a viewer dimension and a anchor dimension of the live room; then, the server 104 determines the abnormal degree of the electronic resource generated by the live broadcast room based on the outlier of the collected data of each dimension relative to the statistical data of the corresponding dimension; then, the server 104 determines a target issuing verification mode among at least two preset issuing verification modes according to the abnormal degree of the issued electronic resource, so as to verify the electronic resource to be issued in the live broadcast room of the terminal 102 based on the target issuing verification mode.
In some embodiments, the terminal 102 (e.g., mobile terminal, fixed terminal) may be implemented in various forms. Among them, the terminal 102 may be a direct broadcast platform including a mobile phone, a smart phone, a notebook computer, a Personal Digital Assistant (PDA), a tablet computer (PAD), and the like, and a mobile terminal having a function of enabling a main broadcast and a user to use and access a direct broadcast room in the direct broadcast platform, and the terminal 102 may also be a direct broadcast platform having a function of enabling a main broadcast and a user to use and access a direct broadcast room in the direct broadcast platform, and a fixed terminal having a function of enabling a main broadcast and a user to use and access a direct broadcast room in the direct broadcast platform. In the following, it is assumed that the terminal 102 is a fixed terminal. However, it will be understood by those skilled in the art that the configuration according to the embodiment disclosed in the present application can also be applied to the mobile type terminal 102 if there are operations or elements particularly for the purpose of movement.
In some embodiments, the server 104 may be implemented as a stand-alone server or a server cluster of multiple servers. The server 104 may be adapted to run one or more application services (e.g., a live room) or application software (e.g., a live platform) that provide the terminal 102 described in the foregoing disclosure.
In some embodiments, the live platform includes a portal port for providing one-to-one featured services to users in the foreground and a plurality of business systems in the background, and the application of the live room function is expanded to the client side, so that the users can use and access the live room function at any time and any place.
In some embodiments, the operating system run by the live broadcast platform may comprise various versions of Microsoft Windows, apple Macintosh and/or Linux operating system, various commercial or type UNIX operating system (comprising but not limited to various GNU/Linux operating system, google Chrome OS or the like) and/or mobile operating system, such as iOS ®, steel Phone, android OS, black Berry OS, palm OS operating system of the following, and other operating systems.
In some embodiments, a live room in a live platform for use and access by a host and a user may include two parts: a Graphical User Interface (GUI) and an engine (engine), both of which enable a digital client system to provide a variety of application services to a host and user in the form of a user interface.
By way of example, the application service running in the live room can load what is being executed can include any of a variety of additional server applications and/or mid-tier applications, including, for example, HTTP (HyperText transfer protocol), FTP (File transfer protocol), CGI (common gateway interface), RDBMS (relational database management System), and the like.
Fig. 2 is a flowchart illustrating an electronic resource issuance verification method according to an exemplary embodiment, where as shown in fig. 2, the electronic resource issuance verification method is used in the server 102, and includes the following steps.
In step S11, acquiring data of multiple dimensions of a live broadcast room; the plurality of dimensions includes at least a viewer dimension and a anchor dimension of the live room.
The collected data of multiple dimensions refers to various online collected data carried by a live broadcast room at least in the audience dimension and the anchor dimension.
The acquisition data of the audience dimension refers to online acquisition data acquired based on audience account information in a live broadcast room. For example, the number, type, etc. of the audience may be included, and are not particularly limited herein.
The acquisition data of the anchor dimension refers to online acquisition data acquired based on anchor account information in a live broadcast room. For example, the duration, type, etc. of the live room of the anchor application may be included, and are not specifically limited herein.
In one particular implementation, after the anchor application live room runs, the server obtains collected data of a plurality of audience dimensions derived from the audience account information and collected data of a plurality of anchor dimensions derived from the anchor account information from a live platform or a third party authority (e.g., a memory, a cloud storage center, etc.).
In step S12, the degree of abnormality of the electron resource generated in the live broadcast room is determined based on the outlier of the collected data of each dimension with respect to the statistical data of the corresponding dimension.
The statistical data is used for representing expected data corresponding to the collected data of each dimension, and the expected data refers to the collected data of each dimension in a non-abnormal state of the live broadcast room (namely, the abnormal degree of electronic resources distributed by the live broadcast room is zero).
The outlier is used for representing the distance of the collected data of each dimension deviating from the corresponding expected data of each dimension, and the abnormal degree of the electronic resource issued by the live broadcast room can be expressed through the distance.
As an example, if the distance of the deviation of the collected data is larger, the abnormal degree of the electronic resource generated by the live broadcast room is higher; if the deviation distance of the acquired data is smaller, the abnormal degree of the electronic resource issued by the live broadcast room is lower. The distance may be a natural number or an unnatural number, or may be a natural number interval or an unnatural number interval.
The electronic resources refer to network electronic resources sent by the anchor in the live broadcast room and network electronic resources received by the audience in the live broadcast room. The network electronic resource belongs to at least one of application services operated by a live broadcast room, and can be interactive services of barrage, voting, guessing, points, coupons, red packages and the like operated by the live broadcast room.
In a specific implementation, after acquiring the collected data of the live broadcast room, the server determines an outlier of the collected data of each dimension by using the collected data of each dimension and statistical data of the corresponding dimension, and determines the abnormal degree of the electron resource generated by the live broadcast room according to the outlier.
In step S13, according to the abnormal degree, a target distribution verification mode is determined in at least two preset distribution verification modes, so as to verify the electronic resource to be distributed in the live broadcast room based on the target distribution verification mode.
The at least two issuing verification modes refer to at least two different verification strategies which are preset by the server and stored in the storage medium and used for verifying the to-be-issued child resources in the live broadcast room.
The verification policy may verify the type, quantity, value, and the like of the electronic resource to be issued, or may verify the electronic resource to be issued based on the frequency, time, and the like of the issuance.
The target issuing verification mode refers to a verification strategy that the server is applicable to the current abnormal degree of the live broadcast room. And in the target issuing verification mode, the server verifies the electronic resource to be issued in the live broadcast room in real time. If the verification is passed, the server allows the electronic resource to be issued, and if the verification is not passed, the server prohibits the electronic resource to be issued from being issued.
In a specific implementation, after determining the abnormal degree of the electronic resource sent by the live broadcast room, the server selects a target sending verification mode suitable for the current abnormal degree of the live broadcast room so as to verify the electronic resource to be sent by the live broadcast room in real time, and determines whether to send the electronic resource to be sent according to a verification result.
In the method for issuing and checking the electronic resources, collected data of a plurality of dimensions of a live broadcast room are obtained, wherein the plurality of dimensions at least comprise audience dimensions and anchor dimensions of the live broadcast room; determining the abnormal degree of the electron resources generated in the live broadcast room based on the outlier of the acquired data of each dimension relative to the statistical data of the corresponding dimension; and finally, according to the abnormal degree, determining a target issuing verification mode in at least two preset issuing verification modes so as to verify the electronic resource to be issued in the live broadcast room based on the target issuing verification mode. Therefore, on one hand, the abnormal degree of the electronic resources sent out by the live broadcast room is obtained by utilizing the acquired data of multiple dimensions, and the real-time performance and the accuracy of judging the abnormal condition of the electronic resources sent out by the live broadcast room can be improved; on the other hand, the corresponding mode of the electronic resource to be issued is checked according to the determined abnormal degree, so that the safety and the reliability of the electronic resource used by the live broadcasting room can be improved.
It will be appreciated by those of skill in the art that in the foregoing method of the specific embodiment, the disclosed method may be implemented in a more specific manner. For example, the above-described embodiments of the method for issuance verification of an electronic resource are merely illustrative.
Exemplarily, the abnormal degree of the electronic resource generated by the live broadcast room is determined based on the outlier of the collected data of each dimension relative to the statistical data of the corresponding dimension; or the target issuing verification mode is determined from at least two preset issuing verification modes according to the degree of abnormality, and the like, which is only a collection mode, and in actual implementation, another division mode may be provided, for example, the acquired data of each dimension and the issuing verification mode may be combined or may be collected into another system, or some features may be omitted, or may not be executed.
In a specific embodiment, in the process of implementing the issuance verification on the electronic resource by the server, it may further include calculating an outlier of the collected data of each dimension relative to the statistical data by using various outlier models. And then, selecting a corresponding distribution verification mode based on the outlier to verify the electronic resource to be distributed in the live broadcasting.
In an exemplary embodiment, the collected data for the audience dimension includes collected data for a current audience dimension and collected data for a historical audience dimension of a live room. In step S11, the server obtains the collected data of multiple dimensions of the live broadcast room, which may be specifically implemented in the following manner:
in the method 1, the total audience amount, the target audience amount and/or the target audience amount ratio of the current online live broadcast room are/is obtained as the collected data of the audience dimension.
In mode 2, the total audience amount, the target total audience amount and/or the target audience amount proportion of the live broadcast room in the last first sliding time window are/is obtained as the collected data of the audience dimension.
In an embodiment, the mode 1 and the mode 2 are a pair of parallel steps, and the step S11 of "acquiring acquisition data of multiple dimensions of a live broadcast room" includes at least one of the mode 1 and the mode 2.
The acquisition data of the audience dimension in the method 1 is acquisition data of the audience account information in real time by the server in the live broadcast room at the current time. The collected data of the audience dimension in the mode 2 refers to the collected data of the audience account information in the local live broadcast room by the server in a time range from the current time to the previous time (namely, in the latest first sliding time window).
In other embodiments, the collected data for the audience dimension may also include collected data for corresponding sets of live rooms for which the server collected audience account information in a plurality of historical live sessions prior to the live room of the present session.
Wherein the historical live session includes a plurality of historical live sessions prior to the local live room. The collected data of the historical live sessions of each session are aggregated to obtain collected data of another implementation of audience dimension.
The total audience amount of the current online is the total audience amount of the server on line at the current moment, the target audience amount is the target audience amount of the server on line at the current moment, and the target audience amount ratio is the ratio of the target audience amount of the server on the total audience amount of the online at the current moment.
The target audience refers to abnormal audiences in the live broadcast room, and the number of the abnormal audiences can directly influence the abnormal degree of the electronic resources generated in the live broadcast room. That is, the higher the target audience amount ratio is, the higher the degree of abnormality of the electronic resource issued in the live broadcast room is, and the lower the target audience amount ratio is, the lower the degree of abnormality of the electronic resource issued in the live broadcast room is.
In some embodiments, the anomalous viewer is a viewer account that has been flagged by the live platform. For example, the live platform adds part of the black users to a blacklist to mark the audience accounts corresponding to the black users.
In the method, the accuracy of judging the abnormal condition of the electronic resource issued by the live broadcast room can be improved and the safety and reliability of using the electronic resource between the live broadcast rooms can be improved by acquiring the acquired data of multiple dimensions as the live broadcast data of the live broadcast room.
In an exemplary embodiment, in step S11, before determining the degree of abnormality of the child resource generated in the live broadcast room based on the outlier of the collected data of each dimension relative to the statistical data of the corresponding dimension, the server further needs to calculate the statistical data of the collected data of each dimension, which may specifically be implemented by:
in one mode, the average value and the variance value of the audience total amount, the target audience total amount and/or the target audience number ratio in a plurality of first sliding time windows of a live broadcast room are obtained, and statistical data corresponding to the collected data of each dimensionality in the collected data of the audience dimensionality are obtained.
In another mode, the average value and the variance value of the audience total amount, the target audience total amount and/or the target audience amount in a plurality of historical live broadcast sessions of the live broadcast room are obtained, and statistical data of collected data of all dimensionalities in the collected data of the audience dimensionality relative to corresponding dimensionalities are obtained.
The statistical data refers to a mean value and a variance value corresponding to collected data of each dimension in a plurality of first sliding time windows or a plurality of historical live broadcast fields, and the distribution condition of the collected data of the historical live broadcast can be represented through the mean value and the variance value; or the statistical data refers to the mean value and the variance value of the acquired data in the first sliding time window of each dimension, the distribution condition of the acquired data in the first sliding time window can be represented through the mean value and the variance value, and reference can be made for the deviation of the current acquired data from the expected state based on the distribution condition of the two acquired data.
According to the method, the average value and the variance value corresponding to the collected data of multiple dimensions are used as the reference data corresponding to the live broadcast data of the live broadcast room, so that the accuracy of judging the abnormal condition of the electronic resource sent by the live broadcast room can be improved, and the safety and the reliability of using the electronic resource between the live broadcast rooms can be improved.
In another exemplary embodiment, in step S11, the server obtains the collected data of multiple dimensions of the live room, which may be further specifically implemented by:
in the mode 3, the type and/or duration of the live broadcast room in the current live broadcast field of the live broadcast room are/is acquired as the acquisition data of the current anchor dimension.
In the mode 4, the live broadcast room type and/or the live broadcast duration of the historical live broadcast field of the live broadcast room are/is obtained and used as the acquisition data of the historical anchor dimension.
The live-air type includes, among other things, open live-air (i.e., a live-air that is open and any user accounts can be added to) and private live-air (i.e., a live-air that is hidden or encrypted and has no permission to prohibit any user accounts from being added to).
In one embodiment, modes 3 and 4 are a pair of parallel steps. The acquisition data of the current anchor dimension refers to the acquisition data of the anchor account information in real time in the live broadcast room at the current moment. The collected data of the historical anchor dimension refer to the collected data of a plurality of groups of live broadcast rooms corresponding to a plurality of historical live broadcast rooms of the anchor account information in front of the live broadcast room of the current scene.
According to the method, the current live broadcast session data and the historical live broadcast session data corresponding to the collected data of multiple dimensions are used as the reference data corresponding to the live broadcast data of the live broadcast room, so that the accuracy of judging the abnormal condition of the electronic resource issued by the live broadcast room can be improved, and the safety and reliability of using the electronic resource between the live broadcast rooms can be improved.
In an exemplary embodiment, in step S11, before determining the degree of abnormality of the child resource generated in the live broadcast room based on the outlier of the collected data of each dimension relative to the statistical data of the corresponding dimension, the server further needs to calculate the statistical data of the collected data of each dimension, which may specifically be implemented by:
in one mode, the mean value and the variance value of the types and/or the live broadcast durations of live broadcast rooms in a plurality of historical live broadcast fields are obtained, and statistical data of collected data of all dimensions relative to corresponding dimensions in collected data of anchor dimensions are obtained.
The statistical data of the live broadcast room type dimension of the historical live broadcast field can select the live broadcast room type of the most live broadcast fields in the historical live broadcast fields as the average value of the statistical data of the live broadcast room type dimension.
In an exemplary embodiment, FIG. 3 is a flowchart illustrating a step of determining a degree of abnormality according to an exemplary embodiment. As shown in fig. 3, in step S12, the server determines the abnormal degree of the child resource generated in the live broadcast room based on the outlier of the collected data of each dimension relative to the statistical data of the corresponding dimension, which may specifically be implemented by the following steps:
in step S121, for the collected data of each dimension, a standard deviation value or a probability density of the collected data of each dimension with respect to the statistical data of the corresponding dimension is calculated to determine an outlier corresponding to each dimension.
The outlier corresponding to each dimension can be calculated through an outlier distance model or an outlier probability model preset by the server to obtain a corresponding standard difference value or probability density, and the outlier corresponding to each dimension is represented through the standard difference value or the probability density.
In an embodiment, the server first uses the outlier distance model to calculate a difference square of the mean value in the collected data of each dimension and the statistical data of the corresponding dimension, then calculates a sum of the difference squares of the dimensions, and finally squares the sum of the difference squares to obtain a standard deviation value of the collected data of each dimension relative to the statistical data of the corresponding dimension. Wherein the server may use the standard deviation value as an outlier corresponding to each dimension thereof.
As an example, as shown in the following outlier distance model:
Figure DEST_PATH_IMAGE001
wherein, a represents the current online audience total amount dimension, t represents the playing duration dimension, k represents the current online target audience amount dimension, d represents the live broadcasting room type dimension, b represents the online audience total amount dimension in the first sliding time window, and c represents the online target audience amount proportion dimension in the first sliding time window.
In one embodiment, the outlier distance model calculates 6 dimensions of outliers of the acquired data. Wherein is based onThe outlier distance model may also add or subtract some statistical dimensions, such as the live room type dimension d and its statistics in the outlier distance model
Figure 728004DEST_PATH_IMAGE002
Prune to get another new outlier distance model for calculating outliers of the acquired data for 5 dimensions. Similarly, other statistical dimensions may be added or subtracted to obtain other new outlier distance models used to calculate outliers for the collected data for the corresponding number of dimensions.
In another embodiment, the server first uses the outlier probability model to substitute the mean and the difference of the collected data of each dimension and the statistical data of the corresponding dimension into a normal distribution function, so as to calculate the probability density distribution of the collected data of the dimension. The server may use the horizontal and vertical intervals of the preset probability density distribution area as outliers corresponding to each dimension of the preset probability density distribution area.
As an example, as shown by the following outlier probability model:
Figure DEST_PATH_IMAGE003
wherein c is the acquired data corresponding to one dimension, μ is the position parameter of the outlier probability model, i.e., the mean value of the acquired data corresponding to the dimension, and σ is the variance value of the acquired data corresponding to the dimension.
In one embodiment, the outlier probability model calculates outliers of the acquired data in 1 dimension. For example, dimension c in the outlier probability model is replaced by dimension a of the total amount of viewers currently online, so as to obtain another new outlier probability model for calculating the outlier of the collected data of the total amount of viewers currently online. Similarly, dimension c may be replaced with other statistical dimensions to obtain other new outlier probability models for calculating outliers of the collected data of the corresponding dimension.
In the method, the corresponding standard difference value or probability density is calculated through the preset outlier distance model or the preset outlier probability model and is used as the outlier corresponding to the live broadcast data of the live broadcast room, so that the accuracy of judging the abnormal condition of the electronic resource issued by the live broadcast room can be improved, and the safety and the reliability of the electronic resource used by the live broadcast room can be improved.
In step S122, the degree of abnormality of the child resource generated in the live broadcast room is determined based on the outliers corresponding to at least two dimensions.
In an exemplary embodiment, FIG. 4 is a flowchart illustrating another step of determining a degree of abnormality according to an exemplary embodiment. As shown in fig. 4, in step S122, the server determines the abnormal degree of the electronic resource generated in the live broadcast room based on the outliers corresponding to at least two dimensions, which may specifically be implemented by the following steps:
in step a1, determining an outlier currently corresponding to a live broadcast based on outliers corresponding to at least two dimensions respectively.
In one embodiment, the server adds the outliers of more than two dimensions to obtain the current corresponding outlier of the live broadcast room; or the server integrates the outliers obtained by the calculation of the collected data of more than two dimensions, and the outliers are used as the outliers currently corresponding to the live broadcast room.
As an example, if the outliers corresponding to each of the 5 dimensions are calculated by the outlier distance model, the outliers calculated by the corresponding outlier distance model of the 5 dimensions are used as the current outliers corresponding to the live broadcast.
As another example, if the outliers corresponding to each of the 3 dimensions are calculated by using an outlier probability model, the outliers corresponding to each of the 3 dimensions are directly added, so that the added outliers are used as the outliers currently corresponding to the live broadcast.
As another example, if the outliers corresponding to each of the 5 dimensions are calculated by using an outlier probability model, the corresponding weighted values are respectively set for the outliers corresponding to each of the 5 dimensions, and the values obtained by multiplying the outliers of each dimension by the weighted values are added to obtain a new added outlier as the current corresponding outlier of the live broadcast.
In step a2, determining the abnormal degree of the electronic resource generated by the live broadcast room based on the size relationship between the current corresponding outlier of the live broadcast room and the preset abnormal limit value.
Continuing as shown in fig. 4, in step a2, the server determines the abnormal degree of the child resource generated in the live broadcast room based on the size relationship between the currently corresponding outlier of the live broadcast room and the preset abnormal limit, which may specifically be implemented in the following manner:
in step a3, if the current corresponding outlier of the live broadcast room is smaller than the preset abnormal limit, determining that the abnormal degree of the electronic resource generated by the live broadcast room is the first abnormal degree.
In step a4, if the current corresponding outlier of the live broadcast room is greater than or equal to the preset abnormal limit, determining that the abnormal degree of the electronic resource generated by the live broadcast room is the second abnormal degree.
The second abnormal degree is higher than the first abnormal degree, namely the distance of the collected data of the outliers of the at least two dimensions corresponding to the second abnormal degree from the expected data of the live broadcast room under the abnormal-free condition is larger than the distance of the collected data of the outliers of the at least two dimensions corresponding to the first abnormal degree from the expected data of the live broadcast room under the abnormal-free condition.
The preset abnormal limit value may be a natural number or an unnatural number, or may be a natural number interval or an unnatural number interval.
As an example, if the outlier is calculated by the outlier distance model, the outlier is a specific value a, and the preset abnormal limit B preset by the server is also a specific value. If A is less than B, the abnormal degree of the electronic resource issued by the live broadcast room is the first abnormal degree, and if A is more than or equal to B, the abnormal degree of the electronic resource issued by the live broadcast room is the second abnormal degree.
As another example, if the outlier is calculated by the outlier probability model, the outlier is a numerical range (A1, A2), and the preset abnormal limit (B1, B2) preset by the server is also a numerical range. If (A1, A2) belongs to the E (B1, B2), the abnormal degree of the electronic resource issued in the live broadcasting room is a first abnormal degree, and if (A1, A2) \8713and (B1, B2) the abnormal degree of the electronic resource issued in the live broadcasting room is a second abnormal degree.
In the method, the abnormal degree of the electronic resource issued by the live broadcast room is judged according to the size relation between the current corresponding outlier of the live broadcast room and the preset abnormal limit value, so that the accuracy of judging the abnormal condition of the electronic resource issued by the live broadcast room can be improved, and the safety and the reliability of using the electronic resource between the live broadcast rooms can be improved.
In an exemplary embodiment, in step S13, the server determines the target issuance verification mode from at least two preset issuance verification modes according to the degree of the abnormality, which may specifically be implemented in the following manner:
in the method 1, if the abnormal degree is the first abnormal degree, the first mode is determined as the target issuing verification mode in at least two issuing verification modes.
In the mode 2, if the abnormal degree is the second abnormal degree, the second mode is determined as the target issuing verification mode in at least two issuing verification modes.
In some embodiments, an anomalous level for a live room that delivers electronic resources at a first anomalous level is considered an acceptable, less anomalous risk live state. The abnormal degree of the child resource generated by the live broadcast room under the second abnormal degree is regarded as an unacceptable live broadcast state with a large abnormal risk.
The corresponding target issuing verification modes under the first abnormal degree and the second abnormal degree have corresponding limits on the anchor and the audience in the live broadcast room, and the constraint condition for verifying the electronic resource to be issued under the second mode is more than the constraint condition for verifying the electronic resource to be issued under the first mode.
As an example, the constraint conditions for the target issuance verification mode to verify the electronic resource to be issued in the first mode include the total amount, the total number of times, and the frequency of the electronic resource issued by the anchor. Specifically, for example, the host is limited to issue red packages once every hour, the total amount of red packages issued each time is not more than 1000, the number of sub-red packages in each red package is not more than 10, and the amount of each sub-red package is not more than 100.
As an example, the constraint conditions for verifying the electronic resource to be issued in the target issuance verification mode in the second mode are more than and higher than the constraint conditions for verifying the electronic resource to be issued in the first mode, and the constraint conditions include the total amount, the total number, the frequency and the type of electronic resource issued by the anchor. Specifically, for example, the anchor is limited to issue red packages only once every two hours, the sum of the total red packages issued each time is not more than 500, the number of sub-red packages in each red package is not more than 5, the sum of each sub-red package is not more than 50, and each sub-red package type can only be charged to audiences joining the friend group.
In an exemplary embodiment, FIG. 5 is a flowchart illustrating a step of verifying an electronic resource in accordance with an exemplary embodiment. As shown in fig. 5, in step S13, the server checks the electronic resource to be released in the live broadcast room based on the target release check mode, which may specifically be implemented by the following steps:
in step S131, if the target issuance verification mode is the second mode, the electronic resource to be issued is verified based on at least two of the first constraint, the second constraint, and the third constraint.
The first constraint condition is used for verifying whether the total amount of the electronic resources issued in the second sliding time window in the live broadcast room is larger than a first preset value or not; the second constraint condition is used for verifying whether the number of the electronic resources to be issued currently in the live broadcast room and/or the amount of the single resource is larger than a second preset value or not; and the third constraint condition is used for verifying whether the total times and/or frequency of electronic resource issuing of the current anchor in the live broadcast room are/is greater than a third preset value.
The constraint conditions used for verifying the electronic resources to be issued in the second mode comprise at least two of the first constraint condition, the second constraint condition and the third constraint condition.
In one embodiment, the number of issued electronic resources refers to the sum of the number of issued electronic resources each time, that is, one or more electronic resources may be included in one issued electronic resource; the amount of the single resource of the issued electronic resource refers to the sum of the single number of the single resource of each issued electronic resource, namely, each electronic resource can comprise one single resource or more than one resource.
As an example, the anchor issues the electronic resource as an electronic red envelope. During the last 1 hour, the anchor has distributed a total of 2 electronic red packets, each at a rate of 30 minutes. The electronic red packet A comprises a red packet A and a red packet B, and the red packet A comprises two single sub-red packets of a red packet A1 and a red packet A2; one electronic red packet C is included in the electronic red packets issued in the second mode, and three single sub-red packets of the red packet C1, the red packet C2 and the red packet C3 are included in the red packet C.
In step S132, in response to the check result of any constraint condition being yes, the anchor in the live broadcast room is restricted from issuing the electronic resource to be issued.
In an embodiment, if the server determines that the anchor account of the live broadcast room satisfies at least one of the first constraint condition, the second constraint condition, and the third constraint condition, the server immediately limits the red envelope subsequently issued by the anchor account based on a verification manner in the second mode. For example, the anchor account is limited in the amount, quantity, frequency, number, type, etc. of electronic resources that are dispensed.
As an example, if the electronic resource is a red packet and the anchor account of the live broadcast room satisfies at least one of the first constraint condition, the second constraint condition and the third constraint condition, the server immediately limits the anchor account to only issue the red packet once every two hours, the total amount of issued red packets is not more than 500, the number of sub red packets in each red packet is not more than 5, the amount of each sub red packet is not more than 50, and the type of each sub red packet can only be a friend group red packet.
In an exemplary embodiment, FIG. 6 is a flowchart illustrating another step of verifying electronic resources according to an exemplary embodiment. As shown in fig. 6, in step S13, after the step of verifying the to-be-released electronic resource of the live broadcast based on the target release verification mode, the server may specifically implement the following steps:
in step S133, if the target issuing verification mode is the second mode, after the anchor in the live broadcast sends the electronic resource, the anchor verifies the target viewer account for the request to receive the electronic resource based on the fourth constraint condition for each target viewer account requesting to receive the electronic resource.
Wherein, in the second mode, a fourth constraint condition for verifying the electronic resource to be received is included; the fourth constraint is used for verifying whether the total amount of the electronic resources received by the target audience account in the third sliding time window is larger than a fourth preset value.
In an embodiment, if the server responds that the target issuing mode of the current live broadcast room is the second mode in the above embodiments, the server obtains a request message of a viewer account of the live broadcast room for receiving an electronic resource in real time after an anchor of the live broadcast room issues the electronic resource, and determines a corresponding target viewer account according to the request message. The server then verifies that the target viewer account satisfies the fourth constraint with respect to the request message for the electronic resource to be received.
As an example, if the electronic resource is a red packet, the time domain of the third sliding time window is 12 hours, and the target distribution mode of the server in response to the current live broadcast room is the second mode in the above embodiment. After the anchor of the live broadcast room sends a red packet, the server acquires the total sum of the accumulated red packet received in each live broadcast room of the audience account of the live broadcast room in the dynamic time range from the current time to the previous 12 hours.
In step S134, in response to the verification result of the fourth constraint being yes, the target viewer account is restricted from receiving the electronic resource.
In an embodiment, if the server determines that the request message of the target audience account of the live broadcast room for the electronic resource to be received satisfies the fourth constraint condition, the server immediately limits the electronic resource subsequently received by the target audience account of the live broadcast room based on the verification mode of the second mode. For example, the amount, quantity, frequency, number, type of electronic resource access to the viewer's account is limited.
As an example, if the electronic resource is a red envelope and the anchor account of the live broadcast room satisfies the fourth constraint condition, the server immediately limits the viewer account to obtain the red envelope only once every two hours, the total red envelope amount obtained is not more than 500, the number of sub-red envelopes in each red envelope is not more than 5, the amount of each sub-red envelope is not more than 50, and each sub-red envelope can only be a friend group red envelope.
In some embodiments, after the step of verifying the electronic resource to be released in the live broadcast based on the target release verification mode, the server further includes: if the abnormal degree is the first degree, the server adds the current acquired data corresponding to the multiple dimensions into the historical acquired data corresponding to the dimensions to update the statistical data; and the server checks the electronic resources to be released in the live broadcast room based on the updated statistical data.
In the method for verifying the electronic resource distribution, the server obtains the abnormal degree of the electronic resource distribution in the live broadcast room by using the acquired data of multiple dimensions, so that the real-time performance and the accuracy of judging the abnormal condition of the electronic resource distribution in the live broadcast room can be improved; and the server checks the corresponding mode of the electronic resource to be issued according to the determined abnormal degree, so that the safety and reliability of using the electronic resource between live broadcast stations can be improved.
Fig. 7 is a flowchart illustrating a method for receiving and verifying an electronic resource, according to an exemplary embodiment, where the method for receiving and verifying an electronic resource is used in the server 102, as shown in fig. 7, and includes the following steps.
In step S21, acquiring acquisition data of multiple dimensions of a live broadcast room; the plurality of dimensions includes at least one audience dimension and at least one anchor dimension of a live room.
In step S22, the degree of abnormality of the electron resource generated in the live broadcast room is determined based on the outlier of the collected data of each dimension with respect to the statistical data of the corresponding dimension.
Step S21 and step S22 are similar to step S11 and step S12 in the above embodiments, and are not described again here.
In step S23, when it is determined that the outlier corresponding to the degree of abnormality is greater than or equal to the preset abnormality limit, the request of the target viewer account for receiving the electronic resource is verified based on the preset constraint condition for each target viewer account requesting to receive the electronic resource in the live broadcast.
When the outlier corresponding to the abnormal degree is determined to be greater than or equal to the preset abnormal limit value, the target issuing verification mode of the direct broadcast room is the second mode in the embodiment; and the preset constraint condition is used for verifying whether the total amount of the electronic resources received by the target audience account in the live broadcast room in the third sliding time window is larger than a preset value.
In an embodiment, if the server responds that the target issuing mode of the current live broadcast room is the second mode in the above embodiments, the server obtains a request message of the audience account of the live broadcast room for receiving the electronic resource in real time after the electronic resource is issued by the anchor broadcast of the live broadcast room, and determines the corresponding target audience account according to the request message. Then, the server verifies that the target audience account meets the preset constraint condition for the request message of the electronic resource to be received.
As an example, if the electronic resource is a red packet and the time domain of the third sliding time window is 12 hours, the target release mode of the server in response to the current live broadcast room is the second mode in the above embodiment. After the anchor of the live broadcast room sends out a red packet, the server acquires the total sum of accumulated red packet receiving of the audience account of the live broadcast room in each live broadcast room within the dynamic time range from the current time to the previous 12 hours.
In step S24, in response to the verification result corresponding to the preset constraint condition being yes, the target audience account is limited from receiving the electronic resource.
In an embodiment, if the server determines that the request message of the target audience account of the live broadcast room for the electronic resource to be received meets the verification result corresponding to the preset constraint condition, the server immediately limits the electronic resource subsequently received by the target audience account of the live broadcast room. For example, the amount, quantity, frequency, number, type of electronic resources accessed by the viewer's account are limited.
As an example, if the electronic resource is a red envelope and the anchor account of the live broadcast room meets the preset constraint condition, the server immediately limits the audience account to obtain the red envelope only once every 30 minutes, the obtained total amount of the red envelope is not more than 100, the number of sub-red envelopes in each red envelope is not more than 10, the amount of each sub-red envelope is not more than 10, and the type of each sub-red envelope can only be a friend group red envelope.
In the method for receiving and checking the electronic resources, the server obtains the abnormal degree of the electronic resources sent by the live broadcast room by using the acquired data of multiple dimensions, so that the real-time performance and the accuracy of judging the abnormal condition of the electronic resources sent by the live broadcast room can be improved; and the server checks the corresponding mode of the electronic resource to be issued according to the determined abnormal degree, so that the safety and reliability of using the electronic resource between live broadcasting stations can be improved.
In order to clarify the method for issuing and verifying the electronic resource provided by the embodiment of the present disclosure more clearly, a specific embodiment of the method for issuing and verifying the electronic resource is described in detail below. In an exemplary embodiment, referring to fig. 8, fig. 8 is a flowchart illustrating an electronic resource issuing and checking method according to another exemplary embodiment, where the electronic resource issuing and checking method is used in a server, and specifically includes the following contents:
step S31: the server records live broadcast data of the current live broadcast room; the live broadcast data comprises a total online number a, a broadcast starting time t, an abnormal user k, a type d of a live broadcast room, a newly-increased number b of people entering the live broadcast room in a certain time window and an abnormal user occupation ratio c.
The preset time window is a program application which is preset by the server to complete and is executing the time marking task, and the time marking task is a dynamic time zone.
As an example, the preset time window is marked with a dynamic time zone of 5 minutes, and the server dynamically records live data of the current live broadcast room in a time zone of 5 minutes from the current time to 5 minutes ago.
The abnormal number of people refers to the number of abnormal users marked in advance in a live broadcast platform or a short video platform where a live broadcast room is located. These flagged exception users may be added to a blacklist based on violations of platform specifications to be flagged by the platform. The abnormal user occupation ratio refers to the ratio of the current online abnormal number to the total online number.
Step S32: the server formulates an outlier model according to the total online number a, the playing time t, the abnormal users k, the type d of the live broadcast room, the newly added number b and the abnormal user proportion c in the live broadcast data, and calculates the outlier of the live broadcast data through the outlier model.
In one embodiment, the specific outlier model is an outlier distance model, which may be formulated as follows:
Figure 914266DEST_PATH_IMAGE004
the distance is expressed as an outlier of live data, and is used for representing the distance of live data from expected live data, and the expected live data is live data of a live broadcast room in an ideal state.
Wherein, the first and the second end of the pipe are connected with each other,
Figure DEST_PATH_IMAGE005
respectively expressed as the average value of the total number a of online users, the average value of the newly added number b, the average value of the abnormal user occupation ratio c, the average value of the broadcasting time t, the average value of the abnormal user k and the average value of the type d of the live broadcast room.
In another embodiment, the specific outlier model is a normal distribution model, which can be formulated as follows:
Figure 260540DEST_PATH_IMAGE006
in one embodiment, the number of people entering the live broadcast room in a preset time window before the generator resource is x, wherein the number of abnormal people is y, and the abnormal people accounts for c = y/x. The abnormal population ratio c is known to be a normal distribution model which follows a position parameter mu and variance sigma and is expressed by the probability density function through the distribution of historical live broadcast data.
In another embodiment, besides determining the outlier of the live broadcast data through the abnormal population ratio c, the outlier of the live broadcast data can be determined by integrating three parameters of the abnormal population ratio c, the total online population a and the playing time t in a preset time window before the power generation sub-resource, so as to intercept the power generation sub-resource.
As an example, the outlier corresponding to the normal distribution model f (c) is determined by using the abnormal occupancy c and the position parameter μ 1 and the variance σ 1 of the abnormal occupancy c; determining an outlier corresponding to a normal distribution model f (a) by using the total online population a and the position parameters mu 2, variance sigma 2 of the total online population a; and determining the outlier of the normal distribution model f (t) by using the start-up time t and the position parameters mu 3 and the variance sigma 3 of the start-up time t. Finally, the outliers of f (c) are integrated,
Step S33: and the server compares the outlier of the live broadcast data with a preset outlier threshold value and judges whether the electronic red packet to be distributed by the anchor broadcast of the live broadcast room is abnormal or not.
In one embodiment, if the outlier is calculated by the outlier distance model, the outlier is a specific value a, and the preset outlier threshold B preset by the server is also a specific value. If A is less than B, the electronic red packet to be issued by the anchor is judged as a normal red packet by the server, and if A is more than or equal to B, the electronic red packet to be issued by the anchor is judged as an abnormal red packet by the server.
As another example, if the outlier is calculated by the normal distribution model, the outlier is a numerical range (A1, A2), and the preset outlier threshold (B1, B2) preset by the server is also a numerical range. And if the (A1, A2) belongs to the (B1, B2), the electronic red packet to be issued by the anchor is judged to be a normal red packet, and if the (A1, A2) \8713orthe (B1, B2) is judged to be an abnormal red packet.
In one embodiment, under a normal distribution model, the area within the interval of the horizontal axis of the probability density function is 0.9545. If more than 95% of the electronic resources are ensured to be normal electronic resources, the probability density calculated by target live broadcast data (such as abnormal people ratio, total on-line people number, live broadcast time length and the like) is required to be positioned in an interval
Figure 606071DEST_PATH_IMAGE007
Within, i.e. will be in the probability interval
Figure 162954DEST_PATH_IMAGE007
The probability density of outliers is considered to be an outlier of an anomalous electron resource.
In one embodiment, the method can only intercept the power generation electronic resource behaviors with the abnormal population ratio being too large, but not intercept the power generation electronic resource behaviors with the abnormal population ratio being too small, namely, the probability interval is larger than the probability interval
Figure DEST_PATH_IMAGE008
Limit the pending electron resources, and make the probability interval larger than
Figure 836512DEST_PATH_IMAGE009
The pending electron resources are not limited.
If the live broadcast data of one dimension deviates from the normally distributed outlier position, the misjudgment probability of the black product user or the black product anchor is high, so that if the black product user or the black product anchor is judged by integrating the outlier positions of multiple dimensions such as the total online number of people, the broadcasting start time and the like, the misjudgment probability is reduced.
In an exemplary embodiment, referring to fig. 9, fig. 9 is a flowchart illustrating an electronic resource issuance verification method according to yet another exemplary embodiment, where the issuance verification method for an electronic resource is used in a server, and specifically includes the following contents:
step S41: the server records the total amount of money the anchor has issued the electronic red envelope over the last 24 hours through a sliding window.
In one embodiment, the server obtains the total amount of the accumulated red packet issued by the anchor in the dynamic time range from the current time to the previous 24 hours in real time through a 24-hour sliding window.
Step S42: and in response to the fact that the total amount of the electronic red packet which is issued in an accumulated mode is larger than the preset amount, the server limits the action of issuing the electronic red packet by the anchor.
In an embodiment, if the server determines that the total amount of the electronic red packets issued by the anchor account of the live broadcast room within the 24-hour sliding time window is greater than a preset amount (if the preset amount is 10000), the server immediately limits the red packets issued by the anchor account subsequently based on a refinement limit policy. The refined limiting strategy comprises the steps of limiting the amount, the quantity, the frequency, the times and the type of the electronic red packet issued by the anchor account. Specifically, for example, the anchor account is restricted to issue only one red packet per hour, the total amount of issued red packets is not more than 1000, the amount of each red packet is not more than 50, and each sub-red packet can only be a friend group red packet.
In another embodiment, if the server determines that the total amount of the electronic red packets issued by the anchor account in the 24-hour sliding time window is less than or equal to a preset amount (for example, the preset amount is 10000), the server immediately limits the red packets subsequently issued by the anchor account based on the rough limiting policy. The coarse restriction policy includes restricting the amount, quantity, frequency, and number of times the anchor account issues electronic red packets. Specifically, for example, the anchor account is restricted to issuing only one red envelope every 10 minutes, the total red envelope amount dispensed is no greater than 5000, and the amount of each red envelope is no greater than 1000.
In an exemplary embodiment, fig. 10 is a flowchart illustrating a method for acquiring and verifying an electronic resource, where the method for acquiring and verifying an electronic resource is used in a server, and specifically includes the following steps:
step S51: the server records the total amount of money the viewer has received the electronic red envelope over the last 24 hours through a sliding window.
In one embodiment, the server obtains the total amount of the accumulated received red packets of the audience account in the dynamic time range from the current time to the previous 24 hours in real time through a 24-hour sliding window.
Fig. 11 is a schematic interface diagram illustrating a preset sliding window according to an exemplary embodiment, where the preset sliding window is a 24-hour sliding window, a sliding end point of the preset sliding window is a current time, and a sliding end point of the preset sliding window is a time point of a 24 th hour before a time point before the current time, and the sliding window follows the movement as time moves. The sliding window can prevent the black-birth anchor or the black-birth user from breaking the limit of sending or acquiring the red packet amount after the critical point in the morning, namely 0 point.
Step S52: and in response to the total amount of the accumulated received electronic red packets being larger than the preset amount, the server limits the behavior of the audience account for receiving the electronic red packets.
In an embodiment, if the server determines that the total amount of the electronic red packets received by the audience account in the live broadcast room within the 24-hour sliding time window is greater than a preset amount (for example, the preset amount is 10000), the server immediately limits the red packets subsequently received by the audience account based on the refinement limit policy. The refined limiting strategy comprises limiting the amount, quantity, frequency, times and types of electronic red packages received by the audience account. Specifically, for example, the audience account is limited to receive only one red envelope per hour, the total amount of the received red envelopes is not more than 1000, the amount of each red envelope is not more than 50, and each sub-red envelope can only be a friend group red envelope.
In another embodiment, if the server determines that the total amount of the electronic red packets received by the audience account in the live broadcast room within the 24-hour sliding time window is less than or equal to a preset amount (for example, the preset amount is 10000), the server immediately limits the red packets subsequently received by the audience account based on the rough limiting policy. The coarse restriction policy includes restricting the amount, quantity, frequency, number of times the viewer's account receives the electronic red envelope. Specifically, for example, the viewer account is restricted to receiving only one red envelope every 10 minutes, the total amount of red envelopes received is no greater than 5000, and the amount of each red envelope is no greater than 1000.
In some embodiments, after the step of verifying the electronic red packet to be issued of the live broadcast based on the target issuance verification mode, the server further includes: if the electronic red packet is a normal red packet, the server adds the current live broadcast data corresponding to the multiple dimensions into the historical live broadcast data corresponding to the dimensions so as to update the statistical data (including the mean and variance of the historical live broadcast data) of the historical live broadcast data; and then, the server verifies the electronic red packet to be issued in the live broadcast room based on the updated statistical data.
In the embodiments of the present application, each functional unit (e.g., an acquired data obtaining unit, a to-be-transmitted electronic resource verifying unit, etc.) may be integrated in one processing unit, or each unit may exist alone physically, or two or more units are integrated in one unit. The integrated unit may be implemented in the form of hardware, or may also be implemented in the form of a software functional unit.
It should be understood that although the various steps in the flowcharts of fig. 2-10 are shown in order as indicated by the arrows, the steps are not necessarily performed in order as indicated by the arrows. The steps are not limited to being performed in the exact order illustrated and, unless explicitly stated herein, may be performed in other orders. Moreover, at least some of the steps in fig. 2-10 may include multiple steps or multiple stages, which are not necessarily performed at the same time, but may be performed at different times, which are not necessarily performed in sequence, but may be performed in turn or alternately with other steps or at least some of the other steps or stages.
It is understood that the same/similar parts between the embodiments of the method described above in this specification can be referred to each other, and each embodiment focuses on the differences from the other embodiments, and it is sufficient that the relevant points are referred to the descriptions of the other method embodiments.
FIG. 12 is a block diagram illustrating a verification apparatus for an electronic resource in accordance with an exemplary embodiment. Referring to fig. 12, the verification apparatus 10 includes a data acquisition unit 11, an abnormality degree determination unit 12, and a verification unit 13.
The data acquisition unit 11 is configured to perform acquisition of acquisition data of multiple dimensions of a live room; the plurality of dimensions includes at least a viewer dimension and a anchor dimension of the live room.
The abnormal degree judging unit 12 is configured to determine the abnormal degree of the electronic resource issued by the live broadcast room based on the outlier of the collected data of each dimension relative to the statistical data of the corresponding dimension.
The checking unit 13 is configured to determine a target issuing checking mode among at least two preset issuing checking modes according to the abnormal degree, so as to check the electronic resource to be issued in the live broadcast room based on the target issuing checking mode.
In an exemplary embodiment, the abnormal degree determining unit 12 is further configured to perform, for the collected data of each dimension, calculating a standard deviation value or a probability density of the collected data of each dimension relative to statistical data of a corresponding dimension to determine an outlier corresponding to each dimension; and determining the abnormal degree of the electronic resource issued by the live broadcast room based on the outliers corresponding to at least two dimensions.
In an exemplary embodiment, the abnormality degree determination unit 12 is further configured to determine an outlier currently corresponding to the live broadcast room based on outliers corresponding to at least two dimensions, respectively; and determining the abnormal degree of the electronic resource generated by the live broadcast room based on the size relation between the current corresponding outlier of the live broadcast room and a preset abnormal limit value.
In an exemplary embodiment, the abnormal degree determining unit 12 is further configured to determine that the abnormal degree of the electronic resource issued by the live broadcast room is a first abnormal degree if the outlier currently corresponding to the live broadcast room is smaller than the preset abnormal limit; if the current corresponding outlier of the live broadcast room is larger than or equal to the preset abnormal limit value, determining that the abnormal degree of the electronic resource issued by the live broadcast room is a second abnormal degree; wherein the second degree of abnormality is higher than the first degree of abnormality.
In an exemplary embodiment, the abnormal degree determining unit 12 is further configured to perform acquiring, as the collected data of the audience dimension, a total amount of currently online audiences, a target audience amount, and/or a target audience amount ratio of the live broadcast; or acquiring the total audience amount, the target total audience amount and/or the target audience amount ratio of the live broadcast room in the latest first sliding time window as the collected data of the audience dimension.
In an exemplary embodiment, the abnormal degree determining unit 12 is further configured to obtain a mean value and a variance value of the total audience amount, the target total audience amount and/or the target audience amount ratio of the live broadcast room in a plurality of first sliding time windows, and obtain statistical data corresponding to the collected data of each dimension in the collected data of the audience dimensions; or obtaining the average value and the variance value of the audience total amount, the target audience total amount and/or the target audience number ratio in a plurality of historical live broadcast fields of the live broadcast room, and obtaining the statistical data of the collected data of each dimensionality relative to the corresponding dimensionality in the collected data of the audience dimensionality.
In an exemplary embodiment, the data obtaining unit 11 is further configured to perform obtaining, as the collected data of the current anchor dimension, a live room type and/or a live duration of the live room in the current live session; wherein the live room types include an open live room and a private live room.
In an exemplary embodiment, the data obtaining unit 11 is further configured to perform obtaining of a mean value and a variance value of live broadcast room types and/or live broadcast time lengths of a plurality of historical live broadcast sessions of the live broadcast room, so as to obtain statistical data of collected data of each dimension relative to a corresponding dimension in collected data of the anchor dimension.
In an exemplary embodiment, the verification unit 13 is further configured to determine, if the degree of abnormality is a first degree of abnormality, a first mode as a target issuing verification mode in the at least two issuing verification modes; if the abnormal degree is a second abnormal degree, determining a second mode as a target issuing verification mode in the at least two issuing verification modes; wherein the second degree of abnormality is higher than the first degree of abnormality, and the constraint condition for checking the electronic resource to be issued in the second mode is greater than the constraint condition for checking the electronic resource to be issued in the first mode.
In an exemplary embodiment, the checking unit 13 is further configured to perform, if the target issuing checking mode is the second mode, checking the electronic resource to be issued based on at least two of the first constraint, the second constraint, and the third constraint; responding to the verification result of any constraint condition, and limiting the anchor of the live broadcast room to release the electronic resource to be released; the first constraint condition is used for verifying whether the total amount of the electronic resources issued by the live broadcast room in a second sliding time window is larger than a first preset value or not; the second constraint condition is used for verifying whether the number of copies and/or the single resource amount of the electronic resource to be issued currently in the live broadcast room is larger than a second preset value; and the third constraint condition is used for verifying whether the total times and/or frequency of electronic resource issuing of the current anchor of the live broadcast room are/is greater than a third preset value.
In an exemplary embodiment, the verifying unit 13 is further configured to, if the target issuing verification mode is the second mode, after the anchor in the live broadcast room issues the electronic resource, for each target viewer account requesting to receive the electronic resource, verify, based on the fourth constraint, the request to the electronic resource to be received from the target viewer account; the fourth constraint condition is used for verifying whether the total amount of the electronic resources received by the target audience account in the third sliding time window is larger than a fourth preset value; and limiting the target audience account from receiving the electronic resource in response to the verification result of the fourth constraint condition being yes.
In other embodiments, the verification apparatus 10 further includes a verification value obtaining unit and a limiting unit.
The check numerical value acquisition unit is configured to check a request of a target audience account for receiving electronic resources to be received based on a preset constraint condition aiming at each target audience account requesting to receive the electronic resources in the live broadcast room under the condition that the outlier corresponding to the abnormal degree is determined to be larger than or equal to a preset abnormal limit value; the preset constraint condition is used for verifying whether the total amount of the electronic resources received by the target audience account in the third sliding time window is larger than a preset value.
The limiting unit is configured to limit the target audience account from receiving the electronic resource in response to a verification result corresponding to the preset constraint condition being yes.
With regard to the apparatus in the above-described embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.
Fig. 13 is a block diagram illustrating an electronic device 20 for issuance verification of an electronic resource in accordance with an exemplary embodiment. For example, the electronic device 20 may be a server. Referring to fig. 13, the electronic device 20 includes a processing component 21, which further includes one or more processors, and memory resources, represented by memory 22, for storing executable instructions, such as application programs, that are executable by the processing component 21. The application programs stored in memory 22 may include one or more modules that each correspond to a set of executable instructions. Furthermore, the processing component 21 is configured to execute executable instructions to perform the above described method.
In one embodiment, electronic device 20 is a server in which a computing system may run one or more operating systems, including any of the operating systems discussed above and any commercially available server operating systems. The server may also run any of a variety of additional server applications and/or mid-tier applications, including an HTTP (HyperText transfer protocol) server, an FTP (File transfer protocol) server, a CGI (common gateway interface) server, a database server, and so forth. Exemplary database servers include, but are not limited to, database servers commercially available from (international business machines) and the like.
In one embodiment, the processing component 21 generally controls overall operations of the electronic device 20, such as operations associated with display, data processing, data communication, and recording operations. The processing component 21 may include one or more processors to execute instructions to perform all or a portion of the steps of the methods described above. Further, the processing component 21 may include one or more modules that facilitate interaction between the processing component 21 and other components. For example, the processing component 21 may comprise a multimedia module to control the interaction between the user terminal and the processing component 21 using a multimedia component.
In one embodiment, the processor in the Processing component 21 may also be referred to as a Central Processing Unit (CPU). The processor may be an electronic chip having signal processing capabilities. The Processor may also be a general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic, discrete hardware components. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. In addition, the processor may be commonly implemented by integrated circuit chips.
In one embodiment, the memory 22 is configured to store various types of data to support operations at the electronic device 20. Examples of such data include instructions for any application or method operating on the electronic device 20, captured data, messages, pictures, videos, and so forth. The memory 22 may be implemented by any type or combination of volatile or non-volatile storage devices, such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk, optical disk, or graphene memory.
In one embodiment, the storage 22 may be a memory bank, a TF card, or the like, and may store all information in the electronic device 20, including the input raw data, the computer program, the intermediate operation results, and the final operation results, which are stored in the storage 22 in one embodiment. It stores and retrieves information based on the location specified by the processor. With the memory 22, in one embodiment, the electronic device 20 has a memory function to ensure proper operation. In one embodiment of the electronic device 20, the storage 22 is divided into primary (internal) and secondary (external) storage for each application, and there are also classifications of external and internal storage. The external memory is usually a magnetic medium, an optical disk, or the like, and can store information for a long period of time. The memory refers to a storage component on the main board, which is used for storing data and programs currently being executed, but is only used for temporarily storing the programs and the data, and the data is lost when the power is turned off or the power is cut off.
The electronic device 20 may further include: a power supply component 23 is configured to perform power management of the electronic device 20, a wired or wireless network interface 24 configured to connect the electronic device 20 to a network, and an input/output (I/O) interface 25. The electronic device 20 may operate based on an operating system stored in the memory 22, such as Windows Server, mac OS X, unix, linux, freeBSD, or the like.
In one embodiment, the power supply component 23 provides power to the various components of the electronic device 20. The power components 23 may include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power for the electronic device 20.
In one embodiment, the wired or wireless network interface 24 is configured to facilitate wired or wireless communication between the electronic device 20 and other devices. The electronic device 20 may access a wireless network based on a communication standard, such as WiFi, a carrier network (such as 2G, 3G, 4G, or 5G), or a combination thereof.
In an exemplary embodiment, the wired or wireless network interface 24 receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel. In one exemplary embodiment, the wired or wireless network interface 24 further includes a Near Field Communication (NFC) module to facilitate short-range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, ultra Wideband (UWB) technology, bluetooth (BT) technology, and other technologies.
In one embodiment, an input/output (I/O) interface 25 provides an interface between the processing component 21 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
FIG. 14 is a block diagram illustrating a computer-readable storage medium 30 for issuance verification of an electronic resource in accordance with an exemplary embodiment. The computer-readable storage medium 30 stores therein program data 31 that can implement the method for issuing verification of an electronic resource described above, or the method for issuing verification of an electronic resource described above.
The unit in which the functional units in the embodiments of the present application are integrated may be stored in the computer-readable storage medium 30 if it is implemented in the form of a software functional unit and sold or used as a separate product. Based on such understanding, the technical solution of the present application may be substantially implemented or contribute to the prior art, or all or part of the technical solution may be embodied in the form of a software product, and the computer-readable storage medium 30 includes several instructions for enabling a computer device (which may be a personal computer, a system server, or a network device, etc.), an electronic device (for example, MP3, MP4, etc., and may also be an intelligent terminal such as a mobile phone, a tablet computer, a wearable device, etc., or a desktop computer, etc.) or a processor (processor) to execute all or part of the steps of the method of the embodiments of the present application.
FIG. 15 is a block diagram illustrating a computer program product 40 for issue verification of an electronic resource, according to an example embodiment. The computer program product 40 comprises program instructions 41, which program data are executable by a processor of the electronic device 20 for performing the method.
It will be appreciated by those skilled in the art that embodiments of the present application may be provided as a method of verifying issuance of an electronic resource, a verification apparatus 10 of an electronic resource, an electronic device 20, a computer-readable storage medium 30 or a computer program product 40. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product 40 embodied on one or more computer program instructions 41 (including but not limited to disk storage, CD-ROM, optical storage, etc.) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of an electronic resource issuance verification method, an electronic resource verification apparatus 10, an electronic device 20, a computer-readable storage medium 30, or a computer program product 40 according to embodiments of the present application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by a computer program product 40. These computer program products 40 may be provided to a processor of a general purpose computer, special purpose computer, embedded processor or other programmable data processing apparatus to produce a machine, such that the program instructions 41, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program products 40 may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the program instructions 41 stored in the computer program product 40 produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These program instructions 41 may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the program instructions 41 that execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
It should be noted that the descriptions of the above-mentioned apparatus, the electronic device, the computer-readable storage medium, the computer program product, and the like according to the method embodiments may also include other embodiments, and specific implementations may refer to the descriptions of the related method embodiments, which are not described in detail herein.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This 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 (15)

1. An electronic resource issuing and checking method is characterized by comprising the following steps:
acquiring collected data of multiple dimensions of a live broadcast room; the plurality of dimensions includes at least one audience dimension and at least one anchor dimension of the live room;
determining the abnormal degree of the electronic resource generated by the live broadcast room based on the outlier of the collected data of each dimensionality relative to the statistical data of the corresponding dimensionality;
according to the abnormal degree, determining a target distribution verification mode in at least two preset distribution verification modes, and verifying the electronic resource to be distributed in the live broadcast room based on the target distribution verification mode;
the different abnormal degrees correspond to different issuing verification modes, and the different issuing verification modes are different in constraint conditions for verifying the electronic resources to be issued in the live broadcast room.
2. The method of claim 1, wherein determining the degree of anomaly in the electronic resource release of the live broadcast room based on the outliers of the collected data of each dimension relative to the statistical data of the corresponding dimension comprises:
calculating a standard deviation value or a probability density of the acquired data of each dimension relative to statistical data of the corresponding dimension aiming at the acquired data of each dimension so as to determine an outlier corresponding to each dimension;
and determining the abnormal degree of the electronic resource issued by the live broadcast room based on the outliers corresponding to at least two dimensions.
3. The method of claim 2, wherein determining the degree of abnormality in the release of electronic resources by the live room based on outliers corresponding to at least two dimensions comprises:
determining an outlier currently corresponding to the live broadcast room based on outliers corresponding to at least two dimensions respectively;
and determining the abnormal degree of the electronic resource generated by the live broadcast room based on the size relation between the current corresponding outlier of the live broadcast room and a preset abnormal limit value.
4. The method as claimed in claim 3, wherein the determining the abnormal degree of the electronic resource issued by the live broadcast room based on the magnitude relationship between the currently corresponding outlier of the live broadcast room and the preset abnormal limit value comprises:
if the current corresponding outlier of the live broadcast room is smaller than the preset abnormal limit value, determining the abnormal degree of the electronic resource issued by the live broadcast room as a first abnormal degree;
if the current corresponding outlier of the live broadcast room is larger than or equal to the preset abnormal limit value, determining that the abnormal degree of the electronic resource issued by the live broadcast room is a second abnormal degree;
wherein the second degree of abnormality is higher than the first degree of abnormality.
5. The method of claim 1, wherein the obtaining acquisition data for multiple dimensions of a live room comprises at least one of:
acquiring the current online audience total amount, target audience amount and/or target audience amount ratio of the live broadcast room as the acquisition data of the audience dimension;
and acquiring the audience total amount, the target audience total amount and/or the target audience amount ratio of the live broadcast room in the latest first sliding time window as the acquisition data of the audience dimension.
6. The method according to claim 5, wherein before determining the degree of abnormality of the child resource emitted by the live broadcast room based on the outlier of the collected data of each dimension relative to the statistical data of the corresponding dimension, at least one of the following is further included:
acquiring the average value and variance value of the audience total amount, the target audience total amount and/or the target audience number ratio in a plurality of first sliding time windows of the live broadcast room, and acquiring statistical data corresponding to the acquired data of each dimensionality in the acquired data of the audience dimensionality;
and acquiring the average value and the variance value of the audience total amount, the target audience total amount and/or the target audience quantity in a plurality of historical live broadcast sessions of the live broadcast room, and acquiring statistical data of the acquired data of each dimensionality relative to the corresponding dimensionality in the acquired data of the audience dimensionality.
7. The method of claim 1, wherein the obtaining acquisition data for multiple dimensions of a live room comprises:
acquiring the type and/or the live broadcasting duration of the live broadcasting room in the current live broadcasting field as the acquisition data of the current anchor dimension; wherein the live room types include an open live room and a private live room.
8. The method of claim 7, wherein before determining the degree of anomaly of the child resource generated by the live broadcast room based on the outlier of the collected data of each dimension relative to the statistical data of the corresponding dimension, the method further comprises:
and acquiring the mean value and the variance value of the types and/or the live broadcast durations of the live broadcast rooms in a plurality of historical live broadcast fields to obtain statistical data of the collected data of each dimension relative to the corresponding dimension in the collected data of the anchor dimension.
9. The method according to claim 1, wherein the determining a target release verification pattern among at least two preset release verification patterns according to the degree of abnormality includes:
if the abnormal degree is a first abnormal degree, determining a first mode as a target issuing verification mode in the at least two issuing verification modes;
if the abnormal degree is a second abnormal degree, determining a second mode as a target issuing verification mode in the at least two issuing verification modes;
wherein the second degree of anomaly is higher than the first degree of anomaly, and the constraint condition for verifying the electronic resource to be issued in the second mode is more than the constraint condition for verifying the electronic resource to be issued in the first mode.
10. The method according to claim 9, wherein the constraints for verifying the electronic resource to be issued in the second mode include at least two of a first constraint, a second constraint, and a third constraint;
the verifying the electronic resource to be released in the live broadcast room based on the target release verification mode comprises the following steps:
if the target issuing verification mode is the second mode, verifying the electronic resource to be issued based on at least two of the first constraint condition, the second constraint condition and the third constraint condition;
responding to the verification result of any constraint condition, and limiting the anchor of the live broadcast room to release the electronic resource to be released;
wherein, the first and the second end of the pipe are connected with each other,
the first constraint condition is used for verifying whether the total amount of the electronic resources issued by the live broadcast room in a second sliding time window is larger than a first preset value or not;
the second constraint condition is used for verifying whether the number of copies and/or the single resource amount of the electronic resource to be issued currently in the live broadcast room is larger than a second preset value;
and the third constraint condition is used for verifying whether the total times and/or frequency of electronic resource issuing of the current anchor of the live broadcast room are/is greater than a third preset value.
11. The method according to claim 9, wherein the second mode further comprises a fourth constraint for verifying the electronic resource to be received;
after the step of verifying the electronic resource to be released in the live broadcast room based on the target release verification mode, the method further comprises the following steps:
if the target issuing verification mode is the second mode, after the anchor in the live broadcast room issues the electronic resources, receiving a target audience account of the electronic resources aiming at each request, and verifying the request of the target audience account for the electronic resources to be received based on the fourth constraint condition; the fourth constraint condition is used for verifying whether the total amount of the electronic resources received by the target audience account in a third sliding time window is larger than a fourth preset value;
and limiting the target audience account from receiving the electronic resource in response to the verification result of the fourth constraint condition being yes.
12. A method for receiving and checking electronic resources is characterized by comprising the following steps:
acquiring collected data of multiple dimensions of a live broadcast room; the plurality of dimensions includes at least one audience dimension and at least one anchor dimension of the live room;
determining the abnormal degree of the electronic resource generated by the live broadcast room based on the outlier of the collected data of each dimensionality relative to the statistical data of the corresponding dimensionality;
under the condition that the outlier corresponding to the abnormal degree is determined to be larger than or equal to a preset abnormal limit value, for each target audience account requesting to receive the electronic resources in the live broadcast room, checking the request of the target audience account for the electronic resources to be received based on a preset constraint condition; the preset constraint condition is used for verifying whether the total amount of the electronic resources received by the target audience account in a third sliding time window is larger than a preset value or not;
and in response to the verification result corresponding to the preset constraint condition being yes, limiting the target audience account to receive the electronic resource.
13. An apparatus for verifying an electronic resource, comprising:
a data acquisition unit configured to perform acquisition of acquisition data of a plurality of dimensions of a live room; the plurality of dimensions includes at least a viewer dimension and a anchor dimension of the live room;
the abnormal degree judging unit is configured to determine the abnormal degree of the electronic resource generated by the live broadcast room based on the outlier of the collected data of each dimension relative to the statistical data of the corresponding dimension;
the verification unit is configured to determine a target issuing verification mode in at least two preset issuing verification modes according to the abnormal degree so as to verify the electronic resource to be issued in the live broadcast room based on the target issuing verification mode;
the different abnormal degrees correspond to different issuing verification modes, and the different issuing verification modes are different in constraint conditions for verifying the electronic resources to be issued in the live broadcast room.
14. An electronic device, comprising:
a processor;
a memory for storing executable instructions of the processor;
wherein the processor is configured to execute the executable instructions to implement the method of issuance verification of an electronic resource of any one of claims 1 to 11 and/or the method of reception verification of an electronic resource of claim 12.
15. A computer-readable storage medium including program data therein, which when executed by a processor of an electronic device, enables the electronic device to perform the method for checking issuance of electronic resource of any one of claims 1 to 11 and/or the method for checking receipt of electronic resource of claim 12.
CN202211107903.0A 2022-09-13 2022-09-13 Method and device for issuing and checking electronic resources, electronic equipment and storage medium Active CN115190328B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211107903.0A CN115190328B (en) 2022-09-13 2022-09-13 Method and device for issuing and checking electronic resources, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211107903.0A CN115190328B (en) 2022-09-13 2022-09-13 Method and device for issuing and checking electronic resources, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN115190328A CN115190328A (en) 2022-10-14
CN115190328B true CN115190328B (en) 2023-01-20

Family

ID=83524713

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211107903.0A Active CN115190328B (en) 2022-09-13 2022-09-13 Method and device for issuing and checking electronic resources, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN115190328B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108419126A (en) * 2018-01-23 2018-08-17 广州虎牙信息科技有限公司 Abnormal main broadcaster's recognition methods, storage medium and the terminal of platform is broadcast live
WO2019096063A1 (en) * 2017-11-17 2019-05-23 华为技术有限公司 Method and device for live broadcast communication
CN111314721A (en) * 2020-02-11 2020-06-19 北京达佳互联信息技术有限公司 Method, device, equipment and medium for determining abnormal live broadcast
CN113099247A (en) * 2021-03-17 2021-07-09 北京达佳互联信息技术有限公司 Virtual resource processing method, device, server, storage medium and program product
CN113992930A (en) * 2021-10-28 2022-01-28 广州方硅信息技术有限公司 Virtual resource conversion method and device, live broadcast system, equipment and storage medium
CN114819967A (en) * 2022-01-17 2022-07-29 中国工商银行股份有限公司 Data processing method and device, electronic equipment and computer readable storage medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2019096063A1 (en) * 2017-11-17 2019-05-23 华为技术有限公司 Method and device for live broadcast communication
CN108419126A (en) * 2018-01-23 2018-08-17 广州虎牙信息科技有限公司 Abnormal main broadcaster's recognition methods, storage medium and the terminal of platform is broadcast live
CN111314721A (en) * 2020-02-11 2020-06-19 北京达佳互联信息技术有限公司 Method, device, equipment and medium for determining abnormal live broadcast
CN113099247A (en) * 2021-03-17 2021-07-09 北京达佳互联信息技术有限公司 Virtual resource processing method, device, server, storage medium and program product
CN113992930A (en) * 2021-10-28 2022-01-28 广州方硅信息技术有限公司 Virtual resource conversion method and device, live broadcast system, equipment and storage medium
CN114819967A (en) * 2022-01-17 2022-07-29 中国工商银行股份有限公司 Data processing method and device, electronic equipment and computer readable storage medium

Also Published As

Publication number Publication date
CN115190328A (en) 2022-10-14

Similar Documents

Publication Publication Date Title
US11176571B2 (en) Methods and system for serving targeted advertisements to a consumer device
CN107454441B (en) A kind of method, live streaming Platform Server and the computer readable storage medium of detection direct broadcasting room brush popularity behavior
CN111260398B (en) Advertisement putting control method and device, electronic equipment and storage medium
US20190034962A1 (en) Methods and apparatus to correct misattributions of media impressions
CN111427957B (en) Block chain voting information verification method, device, equipment and storage medium
JP6179907B2 (en) Method and apparatus for monitoring media presentation
CN105306534B (en) A kind of information calibration method and open platform based on open platform
CA3043416A1 (en) Systems and methods for monitoring content consumption
CN105450724B (en) Method, apparatus, and tangible computer-readable storage medium for monitoring a media presentation device
US20140046749A1 (en) Techniques for monetizing anonymized context
CN111309745B (en) Virtual resource processing method and device, electronic equipment and storage medium
CN111222841B (en) Block chain-based data distribution method and equipment and storage medium thereof
CN111654395B (en) Voting information processing method, device, equipment and storage medium
CN111369242A (en) Method for recovering block chain assets through intelligent contracts, wallet and block chain link points
CN108768672B (en) Data processing method, device and storage medium
CN113326516A (en) Block chain consensus method, block chain system and computer equipment
CN111209338A (en) Advertisement frequency control method and device, electronic equipment and storage medium
WO2021073190A1 (en) Television information pushing method and system based on blockchain
CN110544134A (en) resource processing method and device and computer storage medium
CN108366176A (en) A kind of charging method of terminal applies, apparatus and system
CN112261137A (en) Model training method and system based on joint learning
CN110660466A (en) Personal health data chaining method and system of Internet of things by combining block chains
EP4049220B1 (en) Preventing data manipulation and protecting user privacy in determining accurate location event measurements
CN115190328B (en) Method and device for issuing and checking electronic resources, electronic equipment and storage medium
CN107318100B (en) Method, device and system for binding mobile phone number

Legal Events

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