[go: up one dir, main page]

CN110659386B - Digital resource processing method and device, electronic equipment and storage medium - Google Patents

Digital resource processing method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN110659386B
CN110659386B CN201910864013.6A CN201910864013A CN110659386B CN 110659386 B CN110659386 B CN 110659386B CN 201910864013 A CN201910864013 A CN 201910864013A CN 110659386 B CN110659386 B CN 110659386B
Authority
CN
China
Prior art keywords
digital resource
locking
detected
target
target digital
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
CN201910864013.6A
Other languages
Chinese (zh)
Other versions
CN110659386A (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 CN201910864013.6A priority Critical patent/CN110659386B/en
Publication of CN110659386A publication Critical patent/CN110659386A/en
Application granted granted Critical
Publication of CN110659386B publication Critical patent/CN110659386B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/70Information retrieval; Database structures therefor; File system structures therefor of video data
    • G06F16/73Querying
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/50Allocation of resources, e.g. of the central processing unit [CPU]
    • G06F9/5005Allocation of resources, e.g. of the central processing unit [CPU] to service a request
    • G06F9/5027Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resource being a machine, e.g. CPUs, Servers, Terminals
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2209/00Indexing scheme relating to G06F9/00
    • G06F2209/50Indexing scheme relating to G06F9/50
    • G06F2209/503Resource availability

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computational Linguistics (AREA)
  • Multimedia (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

The invention relates to a digital resource processing method, in the scheme, under the condition of receiving a digital resource detection request sent by a detection terminal, a target digital resource allocated to the detection terminal is determined in each digital resource to be detected which is not in a locking state, attribute information of the target digital resource is sent to the detection terminal, so that the detection terminal detects the target digital resource according to the attribute information and locks the target digital resource, the state of the target digital resource is changed into the locking state, because the target digital resource allocated to the detection terminal is the digital resource to be detected which is not in the locking state, and when the detection terminal detects the target digital resource, the target digital resource is locked, so that the target digital resource cannot be allocated to other detection terminals, repeated detection of the digital resource is avoided, and compared with the prior art, the detection resource is saved.

Description

Digital resource processing method and device, electronic equipment and storage medium
Technical Field
The present disclosure relates to the field of digital resource processing, and in particular, to a digital resource processing method and apparatus, an electronic device, and a storage medium.
Background
With the development of internet technology, in recent years, self-media platforms sharing digital resources such as characters, pictures and videos are developed rapidly, and the reading amount or the watching amount of a single digital resource can reach hundreds of millions of times on a mainstream self-media platform, so that detection of digital resources uploaded by users is especially important in order to avoid adverse effects of illegal digital resources on the society.
In the prior art, a detection server sends undetected digital resources to a detection terminal according to a digital resource detection request sent by the detection terminal, and determines the undetected digital resources as digital resources that have been detected after the detection terminal feeds back a detection result.
However, when the detection server receives a request for getting the detection task from another detection terminal before receiving the detection result fed back by the detection terminal, the detection server may repeatedly send the digital resource being detected to another detection terminal for detection, which causes repeated detection of the digital resource and wastes the detection resource.
Disclosure of Invention
The present disclosure provides a digital resource processing method, an apparatus, an electronic device and a storage medium, so as to at least solve the problem of detection resource waste caused by repeated detection of digital resources 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 digital resource processing method, including:
under the condition of receiving a digital resource detection request sent by a detection terminal, determining a target digital resource allocated to the detection terminal in each digital resource to be detected which is not in a locking state, wherein the locking state is used for marking that the digital resource to be detected is allocated to the corresponding detection terminal;
sending the attribute information of the target digital resource to the detection terminal so that the detection terminal detects the target digital resource according to the attribute information;
and locking the target digital resource to change the state of the target digital resource into a locked state.
Further, the digital resources to be detected are video resources to be detected, the video resources to be detected are divided into different content types according to video content, wherein, in each digital resource to be detected which is not in a locked state, determining a target digital resource allocated to the detection terminal includes:
determining a content type corresponding to a detection terminal as a first content type based on a corresponding relation between the detection terminal and the content type acquired in advance;
screening out the video resources to be detected with the content type matched with the first content type from the video resources to be detected in the locked state;
and determining the target digital resources distributed to the detection terminal from the screened video resources to be detected.
Further, determining the target digital resource allocated to the detection terminal includes:
determining the detection sequence of each digital resource to be detected according to the time for receiving each digital resource to be detected which is not in a locked state by a system;
and taking the first N digital resources to be detected in the detection sequence in each digital resource to be detected as target digital resources distributed to the detection terminal, wherein N is a positive integer greater than or equal to 1.
Further, the step of locking the target digital resource includes:
and locking the target digital resource according to a preset locking duration.
Further, the step of locking the target digital resource according to a preset locking duration includes:
updating a locking state identifier of the target digital resource to a locked identifier within a preset locking duration, wherein the locking state identifier is used for identifying the locking state of the target digital resource; or,
adding a locking identifier lasting the locking duration for the target digital resource, wherein the locking identifier is used for identifying that the target digital resource is in a locking state; or,
acquiring an identifier of the target digital resource as a target identifier; and recording the target identification in a preset digital resource locking table within the locking duration, wherein the digital resource locking table is used for recording the identification of the digital resource in a locking state.
Further, after the locking process is performed on the target digital resource, the digital resource processing method further includes:
after receiving a detection result of the target digital resource fed back by the detection terminal, deleting the target digital resource from each digital resource to be detected; and/or, according to the detection result, transferring the target digital resource to a rechecking stage corresponding to the detection result; or,
and when the detection result of the target digital resource fed back by the detection terminal is not received within the locking duration after locking, unlocking the target digital resource in the locking state.
According to a second aspect of the embodiments of the present disclosure, there is provided a digital resource processing apparatus, including:
the system comprises a target digital resource determining module, a detecting terminal and a locking module, wherein the target digital resource determining module is configured to determine a target digital resource allocated to the detecting terminal in each to-be-detected digital resource which is not in a locked state under the condition that a digital resource detecting request sent by the detecting terminal is received, and the locked state is used for marking that the to-be-detected digital resource is allocated to the corresponding detecting terminal;
the target digital resource sending module is configured to send the attribute information of the target digital resource to the detection terminal, so that the detection terminal detects the target digital resource according to the attribute information;
a target digital resource locking module configured to perform a locking process on the target digital resource to change a state of the target digital resource to a locked state.
Further, the digital resource to be detected is a video resource to be detected, and the video resource to be detected is divided into different content types according to video content;
the target digital resource determining module is specifically configured to execute determining a content type corresponding to a detection terminal based on a pre-acquired corresponding relationship between the detection terminal and the content type, as a first content type, screening out to-be-detected video resources with content types matched with the first content type from each to-be-detected video resource in a locked state, and determining a target digital resource allocated to the detection terminal from the screened to-be-detected video resources.
Further, the target digital resource determining module is specifically configured to execute determining a detection sequence of each to-be-detected digital resource according to a time when the system receives each to-be-detected digital resource that is not in a locked state, and taking the first N to-be-detected digital resources in the detection sequence of each to-be-detected digital resource as the target digital resources allocated to the detection terminal, where N is a positive integer greater than or equal to 1.
Further, the target digital resource locking module is specifically configured to perform locking processing on the target digital resource according to a preset locking duration.
Further, the target digital resource locking module is specifically configured to update a locking status identifier of the target digital resource to a locked identifier within a preset locking duration, where the locking status identifier is used to identify a locking status of the target digital resource; or adding a locking identifier lasting for the locking duration to the target digital resource, wherein the locking identifier is used for identifying that the target digital resource is in a locking state; or acquiring the identifier of the target digital resource as a target identifier; and recording the target identification in a preset digital resource locking table within the locking duration, wherein the digital resource locking table is used for recording the identification of the digital resource in a locking state.
Further, the digital resource processing apparatus further includes:
the detection result receiving module is configured to delete the target digital resource from each digital resource to be detected after the target digital resource locking module finishes locking the target digital resource and receives a detection result of the target digital resource fed back by the detection terminal; and/or, according to the detection result, transferring the target digital resource to a rechecking stage corresponding to the detection result;
and the unlocking module is configured to unlock the target digital resource in the locked state when the detection result of the target digital resource fed back by the detection terminal is not received within the locked time length after the target digital resource locking module completes the locking processing of the target digital resource.
According to a third aspect of the embodiments of the present disclosure, there is provided an electronic apparatus including:
a processor;
a memory for storing the processor-executable instructions;
wherein the processor is configured to execute the instructions to implement the digital resource processing method of any one of the above.
According to a fourth aspect of the embodiments of the present disclosure, there is provided a storage medium, wherein instructions of the storage medium, when executed by a processor of an electronic device, enable the electronic device to perform any one of the above-mentioned digital resource processing methods.
According to a fifth aspect of embodiments of the present disclosure, there is provided a computer program product, wherein instructions of the computer program product, when executed by a processor of an electronic device, enable the electronic device to perform the digital resource processing method according to any one of the above.
The technical scheme provided by the embodiment of the disclosure at least brings the following beneficial effects: under the condition of receiving a digital resource detection request sent by a detection terminal, determining a target digital resource allocated to the detection terminal in each digital resource to be detected which is not in a locked state, and sending attribute information of the target digital resource to the detection terminal so that the detection terminal detects the target digital resource according to the attribute information and locks the target digital resource to change the state of the target digital resource into the locked state.
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 flow diagram illustrating a method of digital resource processing in accordance with an exemplary embodiment.
FIG. 2 is a flow diagram illustrating another method of digital resource processing in accordance with an exemplary embodiment.
Fig. 3 is a block diagram illustrating a digital resource processing apparatus according to an example embodiment.
FIG. 4 is a block diagram illustrating an electronic device in accordance with an example embodiment.
Detailed Description
In order to make the technical solutions of the present disclosure better understood by those of ordinary skill in the art, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below with reference to the accompanying drawings.
It should be noted that the terms "first," "second," and the like in the description and claims of the present disclosure and in the foregoing drawings are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the disclosure described herein are capable of operation in sequences other than those illustrated or otherwise described herein. The implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the disclosure, as detailed in the appended claims.
In an embodiment of the present invention, the provided digital resource processing method may be applied to a detection server, where the detection server may be connected to multiple detection terminals through a network, and the detection server may include a storage database for storing digital resources to be detected, and a processing server for locking the digital resources to be detected.
When the detection server receives the digital resource uploaded by the user, the digital resource uploaded by the user is stored in the database, and meanwhile, the time for uploading the digital resource by the user is recorded.
Fig. 1 is a flow chart illustrating a method of digital resource processing, as shown in fig. 1, including the following steps, in accordance with an exemplary embodiment.
S101: and under the condition of receiving a digital resource detection request sent by the detection terminal, determining a target digital resource allocated to the detection terminal in each digital resource to be detected which is not in a locked state.
In this step, the locked state is used to mark that the digital resource to be detected has been allocated to the corresponding detection terminal, in an embodiment, the digital resource that is not allocated may be used as the digital resource to be detected, and at this time, the digital resource that is not allocated is all the digital resource that is not in the locked state, and further, the target digital resource that is allocated to the detection terminal may be determined therefrom.
In one embodiment, the digital assets may be text, pictures, or videos, etc., such as gourmet videos uploaded by the user.
In an embodiment, the detection terminal is a device terminal that detects the digital resource, where the detection terminal may detect the allocated data resource through an artificial intelligence detection system, and in order to ensure the accuracy of the detection result, the detection terminal may also detect the allocated digital resource through a manual detection method.
In an embodiment, the digital resource to be detected allocated to the detection terminal may also be determined in each digital resource to be detected that is not in the locked state based on a preset allocation rule, where the preset allocation rule may be set according to an actual requirement or an application scenario, and may be randomly allocated, or may be allocated according to different attributes of the digital resource to be detected, for example, the preset allocation rule may be allocated according to the data size of the digital resource to be detected, the resource type of the digital resource to be detected, such as a text, a picture, or a video, or the preset allocation rule may be allocated according to a difference between an upload time of the digital resource to be detected and a current time, for example, the preset allocation rule allocates the digital resource to be detected in different difference ranges to different detection terminals.
In an embodiment, when a digital resource detection request sent by a detection terminal is received, a target digital resource can be randomly determined from all digital resources to be detected which are not in a locked state, and the target digital resource can be determined according to the time for receiving all digital resources to be detected which are not in the locked state.
In an embodiment, the digital resources to be detected may be stored in a database to be detected, where the digital resources to be detected are not in a locked state and include digital resources to be detected that are already in a locked state, where the digital resources to be detected that are not in a locked state may be unallocated digital resources to be detected or may be allocated digital resources that are not detected, and the digital resources that are already in a locked state are digital resources to be detected that are allocated to a detection terminal for processing and have a duration less than a locking duration.
In an embodiment, the number of the to-be-detected digital resources allocated to the detection terminal may be 1, or may be multiple, for example, 10 to-be-detected digital resources are taken as 1 group, and when a digital resource detection request sent by the detection terminal is received, it is determined that the 1 group of the to-be-detected digital resources is a target digital resource allocated to the detection terminal.
Illustratively, there are 4 detection terminals, which are respectively a detection terminal a, a detection terminal B, a detection terminal C and a detection terminal D, where the detection terminal a is operated by a detection person a, the detection terminal B is operated by a detection person B, the detection terminal C is operated by a detection person C, the detection terminal D is operated by a detection person D, when the detection person a needs to pick up a detection task, a digital resource detection request can be sent to the detection server through the detection terminal a to request that a digital resource to be detected be allocated to the detection terminal, and when the digital resource detection request sent by the detection terminal a is received, the digital resource to be detected, which is stored in the detection database and has a difference value of 1h-2h between an uploading time and a current time, is determined as the digital resource to be detected allocated by the detection terminal.
S102: and sending the attribute information of the target digital resource to a detection terminal so that the detection terminal can detect the target digital resource according to the attribute information.
In this step, the attribute information of the target digital resource may be an identifier of the target digital resource, where the identifier that is uniquely corresponding to the digital resource to be detected may be a storage address of the digital resource to be detected, or a hash code obtained by performing hash operation on the target digital resource.
For example, for the target digital resource a, the unique identifier may be a storage address: \ \192.168.1.Xxx \ target resource a.
After receiving the attribute information of the target digital resource, the detection terminal may determine the digital resource to be detected according to the attribute information, for example, if the storage address \ \192.168.1.xxx \ target resource a of the target digital resource a is received, the target resource a may be determined by the storage address.
S103: and locking the target digital resource to change the state of the target digital resource into a locked state.
In this step, the process may be executed after step S102 is completed, or may be executed after step S101 is completed.
As will be appreciated by those skilled in the art, a lock is a very important concept in data processing, and by locking data, the data can be prevented from being modified by unauthorized operations, thereby ensuring the integrity and security of the data. In this step, the target digital resource is locked, so that the target digital resource is isolated, and the target digital resource cannot be continuously allocated to other configuration terminals, thereby ensuring that the target digital resource cannot be repeatedly called.
In an embodiment, the locking process on the target digital resource may be to lock the target digital resource based on a SqlServer (database) locking mechanism, or may be to lock the target digital resource based on a cache memcached locking mechanism, so that the target digital resource is in a locked state within a locking duration.
In the digital resource processing method provided by the embodiment of the invention, under the condition of receiving a digital resource detection request sent by a detection terminal, a target digital resource allocated to the detection terminal is determined in each to-be-detected digital resource which is not in a locked state, and attribute information of the target digital resource is sent to the detection terminal, so that the detection terminal detects the target digital resource according to the attribute information and locks the target digital resource, so that the state of the target digital resource is changed into the locked state.
In one embodiment, the digital resource to be detected is a video resource to be detected, wherein the video resource to be detected is divided into different content types according to video content, and the inventor further finds that, if the video resource to be detected is randomly allocated to each detection terminal, the content type of the video resource to be detected allocated to each detection terminal is also random, because the detection difficulty of the video resource is high, and the detection side points of the video resources of different content types are different, when the video resource is detected manually next time, the content type of the video resource which is detected by each detector with great strength is also different, and for the video resource, if the video resource to be detected is randomly allocated to each detection terminal, the problem of low detection efficiency exists.
Therefore, in another embodiment of the present invention, there is further provided a digital resource processing method, as shown in fig. 2, the method including the steps of:
s201: and determining the content type corresponding to the detection terminal as a first content type based on the corresponding relation between the detection terminal and the content type acquired in advance.
In this step, the video resource to be detected can be divided into different content types according to the video content, wherein the content types are divided according to the playing content of the video resource, such as types of animation, horror, science fiction, police gangster and the like.
The correspondence between the detection terminals and the content types may be obtained in advance, and the obtaining manner may be various, for example, a correspondence table stored in a preset position may be pre-learned, where the correspondence table may be updated when detection personnel of each detection terminal changes, content types respectively corresponding to the terminals connected to the detection server are recorded in the correspondence table, and illustratively, there are detection terminals a, B, and C, the correspondence table is pre-set with the detection terminal a corresponding to the type of the animation, the detection terminal B corresponding to the type of terrorism, and the detection terminal C corresponding to the type of the police robber, and when a digital resource detection request sent by the detection terminal a is received, it may be determined that the first content type is the type of the animation.
S202: and screening out the video resources to be detected with the content type matched with the first content type from the video resources to be detected in the locked state.
In this step, each video resource to be detected is divided into different content types according to the video content.
Illustratively, there are a video resource to be detected 1, a video resource to be detected 2, a video resource to be detected 3, a video resource to be detected 4 and a video resource to be detected 5 which are in a locked state, wherein the video resources to be detected 1 and 5 are classified into different according to video content, the video resource to be detected 1 and 5 are classified into cartoons, the video resource to be detected 2 is classified into horrors, the video resource to be detected 3 is classified into science fiction, the video resource to be detected 4 is classified into police gangues, and when the first content type is cartoons, the video resource to be detected 1 and the video resource to be detected 5 are determined as the first video resource to be detected.
S203: and determining the detection sequence of each digital resource to be detected according to the time for receiving each digital resource to be detected which is not in the locked state by the system.
In this step, the system may be a detection system where the detection server is located, or may be a storage system for storing digital resources uploaded by the user. The system receiving time of the digital resource may be the time when the user uploads the digital resource, the timestamp associated with the digital resource may be uploaded correspondingly when the user terminal uploads the digital resource, and the system receiving time of the digital resource may also be the time when the detection system where the detection server is located receives the digital resource.
In an embodiment, the above-mentioned manner of determining the detection order of each digital resource to be detected according to the time for receiving each digital resource to be detected which is not in the locked state may be various, for example, sorting is performed according to the size of the receiving time of each digital resource system which is not in the locked state, and then the detection order is sequentially determined according to the sorted result, that is, the detection order of each digital resource to be detected is determined according to the principle of receiving first detection, or time intervals may be divided according to a preset time length, and the detection orders of the system receiving time of the digital resources in the same time interval are the same.
Illustratively, a digital resource 1 to be detected and a digital resource 2 to be detected exist, the receiving time of the digital resource 1 to be detected is 2019, 2 and 6 days, and the receiving time of the digital resource 2 to be detected is 2019, 2 and 7 days, and since the digital resource 1 to be detected is earlier than the receiving time of the digital resource 2 to be detected, the order of sending to check the digital resource 1 to be detected first and then sending to check the digital resource 2 to be detected can be determined.
S204: and taking the first N digital resources to be detected in the detection sequence in each digital resource to be detected as target digital resources distributed for the detection terminal.
In this step, N is a positive integer greater than or equal to 1, and may be determined according to experience or requirements, for example, N may be 10, and the digital resource to be detected with the detection order at the top 10 may be determined as the target digital resource.
Illustratively, N is 1, and there are 3 digital resources to be detected, which are, respectively, a digital resource q to be detected, a digital resource w to be detected, and a digital resource e to be detected, and the submission sequence is to submit the digital resource q to be detected first, submit the digital resource e to be detected first, and submit the digital resource w to be detected first. The target digital resource may be determined to be the digital resource q to be detected.
S205: and sending the attribute information of the target digital resource to a detection terminal so that the detection terminal can detect the target digital resource according to the attribute information.
The method shown in step S102 may be specifically adopted in this step, and details are not described herein.
S206: and locking the target digital resource according to the preset locking duration.
In this step, in order to avoid a situation that the digital resource to be detected is not detected all the time due to missing detection, the target digital resource may be locked according to a preset locking duration, where the preset locking duration may be set according to experience, requirements, or actual application scenarios, for example, the locking duration may be set to be average processing time of each digital resource counted in advance, and for example, the preset locking duration is 2h, the target digital resource may be locked for 2h.
In one embodiment, step S206 can be implemented in any one of the following manners, which includes:
the first mode is as follows: and updating the locking state identifier of the target digital resource to a locked identifier within a preset locking duration, wherein the locking state identifier is used for identifying the locking state of the target digital resource.
In this way, each digital resource corresponds to one locking status identifier, the locking status identifier corresponding to each digital resource may be a locked identifier and an unlocked identifier, when the digital resource is not allocated, the locking status identifier is an unlocked identifier, and when the digital resource is allocated, the locking status identifier is a locked identifier.
When the locking state identifier of the digital resource is updated to the locked identifier, a timer can be correspondingly generated, and if the timer is not cancelled within the preset locking duration, the locking state identifier of the corresponding digital resource is updated to the unlocked identifier after the preset locking duration is operated regularly.
The second mode is as follows: and adding a locking identifier with continuous locking duration for the target digital resource, wherein the locking identifier is used for identifying that the target digital resource is in a locking state.
In this way, a locking identifier may be added to the target digital resource, and the existence duration of the locking identifier is not greater than the preset locking duration, and similarly, the locking identifier may also be executed by a timer, which is not described herein again.
The third mode is as follows: acquiring an identifier of a target digital resource as a target identifier; and recording the target identification in a preset digital resource locking table within the locking duration, wherein the digital resource locking table is used for recording the identification of the digital resource in a locking state.
In this way, when the target digital resource is determined each time, the digital resource locking table needs to be queried, if the identifier of the corresponding digital resource is queried in the digital resource locking table, the target digital resource is determined again, and if the identifier of the corresponding digital resource is not queried, the digital resource to be determined is determined as the target digital resource.
And when a detection result returned by the detection terminal is received, deleting the identifier of the target sleeping resource corresponding to the detection result from the digital resource locking table.
If each written identifier is not deleted in the preset locking duration, the digital resource locking table actively deletes the identifier after the preset locking duration is reached.
S207: and judging whether the detection result of the target digital resource fed back by the detection terminal is received within the locked locking duration.
In this step, if the detection result of the target digital resource fed back by the detection terminal is received within the locked locking duration, step S208 is executed, and if the detection result of the target digital resource fed back by the detection terminal is not received within the locked locking duration, step S209 is executed.
S208: deleting the target digital resources from each digital resource to be detected, and transferring the target digital resources to a rechecking stage of corresponding detection results according to the detection results
In this step, the detection result of the target digital resource fed back by the detection terminal is received, which indicates that the target digital resource has been detected, so that the target digital resource can be deleted from each digital resource to be detected.
In one embodiment, the detection result of the target digital resource may be fed back to the uploading user of the target digital resource, including pass/fail, or violation/non-violation, etc.
In one embodiment, if the review phase exists, the target digital resource may be transferred to the review phase.
S209: and unlocking the target digital resource in the locked state.
In this step, in order to avoid missing detection of the target digital resource to be detected due to forgetting of the detection personnel, when the detection result of the target digital resource fed back by the detection terminal is not received within the locked locking duration, the target digital resource in the locked state may be unlocked, so that the target digital resource is used as the digital resource to be detected again, which is not in the locked state, and the target digital resource may be continuously allocated to the next detection terminal.
In the digital resource processing method provided by the embodiment of the invention, the corresponding target digital resources are allocated to each detection terminal according to the corresponding relation between the detection terminal and the content type, so that each detector can detect the video resources which are good at the content type, the detection efficiency of the target digital resources is improved, and the first N digital resources to be detected in the detection sequence are used as the target digital resources allocated to the detection terminal, so that the condition that the digital resources which are uploaded earlier are not detected later can be avoided, the detection efficiency of the digital resources is improved, and further, the target digital resources are locked according to the preset locking duration, so that the condition that the digital resources to be detected are not detected all the time due to missing detection can be avoided.
Fig. 3 is a block diagram illustrating a digital resource processing apparatus according to an example embodiment. Referring to fig. 3, the apparatus includes a target digital asset determination module 301, a target digital asset transmission module 302, and a target digital asset locking module 303.
The target digital resource determining module 301 is configured to determine, in a case that a digital resource detection request sent by a detection terminal is received, a target digital resource allocated to the detection terminal from among digital resources to be detected that are not in a locked state, where the locked state is used to mark that the digital resources to be detected have been allocated to the corresponding detection terminal;
a target digital resource sending module 302 configured to execute sending the attribute information of the target digital resource to the detection terminal, so that the detection terminal detects the target digital resource according to the attribute information;
a target digital resource locking module 303 configured to perform a locking process on the target digital resource to change the state of the target digital resource to a locked state.
Further, the digital resource to be detected is a video resource to be detected, and the video resource to be detected is divided into different content types according to video content;
the target digital resource determining module 301 is specifically configured to execute determining, based on a pre-obtained correspondence between the detection terminal and the content type, a content type corresponding to the detection terminal as a first content type, screening, from among the video resources to be detected in a locked state, video resources to be detected whose content types match the first content type, and determining, from among the screened video resources to be detected, a target digital resource allocated to the detection terminal.
Further, the target digital resource determining module 301 is specifically configured to execute determining a detection sequence of each to-be-detected digital resource according to a time when the system receives each to-be-detected digital resource that is not in the locked state, and use, as a target digital resource allocated to the detection terminal, the first N to-be-detected digital resources in the to-be-detected digital resources, where N is a positive integer greater than or equal to 1.
Further, the target digital resource locking module 303 is specifically configured to perform a locking process on the target digital resource according to a preset locking duration.
Further, the target digital resource locking module 303 is specifically configured to update the locking state identifier of the target digital resource to a locked identifier within a preset locking duration, where the locking state identifier is used to identify the locking state of the target digital resource; or, adding a locking identifier with continuous locking duration for the target digital resource, wherein the locking identifier is used for identifying that the target digital resource is in a locking state; or acquiring the identifier of the target digital resource as the target identifier; and recording the target identification in a preset digital resource locking table within the locking duration, wherein the digital resource locking table is used for recording the identification of the digital resource in a locked state.
Further, the digital resource processing device further comprises:
the detection result receiving module 304 is configured to delete the target digital resource from each digital resource to be detected after the target digital resource locking module finishes locking the target digital resource and receives a detection result of the target digital resource fed back by the detection terminal; and/or, according to the detection result, transferring the target digital resource to a rechecking stage corresponding to the detection result;
and the unlocking module 305 is configured to execute unlocking of the target digital resource in the locked state when the detection result of the target digital resource fed back by the detection terminal is not received within the locked time length after the target digital resource locking module completes the locking process of the target digital resource.
With regard to the apparatus in the above 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 described in detail here.
Fig. 4 is a block diagram illustrating an electronic device 400 for digital resource processing in accordance with an exemplary embodiment. For example, the electronic device 400 may be provided as a server. Referring to fig. 4, apparatus 400 includes a processing component 422, which further includes one or more processors, and memory resources, represented by memory 432, for storing instructions, such as applications, that are executable by processing component 422. The application programs stored in memory 432 may include one or more modules that each correspond to a set of instructions. Further, the processing component 422 is configured to execute instructions to perform one of the digital resource processing methods described above.
The apparatus 400 may also include a power component 426 configured to perform power management of the apparatus 400, a wired or wireless network interface 450 configured to connect the apparatus 400 to a network, and an input output (I/O) interface 458. The apparatus 400 may operate based on an operating system stored in the memory 432, such as a Windows Server, mac OSXTM, unixTM, linuxTM, freeBSDTM, or similar operating system.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements that have been 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 (12)

1. A method for processing digital resources, comprising:
under the condition of receiving a digital resource detection request sent by a detection terminal, determining a target digital resource allocated to the detection terminal in each digital resource to be detected which is not in a locking state, wherein the locking state is used for marking that the digital resource to be detected is allocated to the corresponding detection terminal; the detection terminal is a device terminal for detecting the digital resources;
sending the attribute information of the target digital resource to the detection terminal so that the detection terminal can detect the target digital resource according to the attribute information;
locking the target digital resource to change the state of the target digital resource into a locked state;
the digital resources to be detected are video resources to be detected, the video resources to be detected are divided into different content types according to video contents, wherein in the digital resources to be detected which are not in a locked state, determining that the target digital resources allocated to the detection terminal comprise:
determining a content type corresponding to a detection terminal as a first content type based on a corresponding relation between the detection terminal and the content type acquired in advance;
screening out the video resources to be detected with the content type matched with the first content type from the video resources to be detected in the locked state;
and determining the target digital resources distributed to the detection terminal from the screened video resources to be detected.
2. The method according to claim 1, wherein determining the target digital resource allocated to the detecting terminal comprises:
determining the detection sequence of each digital resource to be detected according to the time for receiving each digital resource to be detected which is not in a locked state by a system;
and taking the first N digital resources to be detected in the detection sequence in the digital resources to be detected as target digital resources allocated to the detection terminal, wherein N is a positive integer greater than or equal to 1.
3. The method of claim 1, wherein the step of locking the target digital resource comprises:
and locking the target digital resource according to a preset locking duration.
4. The method for processing digital resources according to claim 3, wherein the step of locking the target digital resource according to a preset locking duration includes:
updating a locking state identifier of the target digital resource to a locked identifier within a preset locking duration, wherein the locking state identifier is used for identifying the locking state of the target digital resource; or,
adding a locking identifier lasting for the locking duration to the target digital resource, wherein the locking identifier is used for identifying that the target digital resource is in a locking state; or,
acquiring the identifier of the target digital resource as a target identifier; and recording the target identification in a preset digital resource locking table within the locking duration, wherein the digital resource locking table is used for recording the identification of the digital resource in a locked state.
5. The digital resource processing method according to claim 3, wherein after said locking said target digital resource, said digital resource processing method further comprises:
after receiving a detection result of the target digital resource fed back by the detection terminal, deleting the target digital resource from each digital resource to be detected; and/or, according to the detection result, transferring the target digital resource to a rechecking stage corresponding to the detection result; or,
and when the detection result of the target digital resource fed back by the detection terminal is not received within the locking duration after the locking, unlocking the target digital resource in the locking state.
6. A digital resource processing apparatus, comprising:
the system comprises a target digital resource determining module, a detecting terminal and a locking module, wherein the target digital resource determining module is configured to determine a target digital resource allocated to the detecting terminal in each to-be-detected digital resource which is not in a locked state under the condition that a digital resource detecting request sent by the detecting terminal is received, and the locked state is used for marking that the to-be-detected digital resource is allocated to the corresponding detecting terminal; the detection terminal is a device terminal for detecting the digital resources;
the target digital resource sending module is configured to send the attribute information of the target digital resource to the detection terminal, so that the detection terminal detects the target digital resource according to the attribute information;
a target digital resource locking module configured to perform locking processing on the target digital resource to change a state of the target digital resource to a locked state;
the digital resource to be detected is a video resource to be detected, and the video resource to be detected is divided into different content types according to video content;
the target digital resource determining module is specifically configured to execute determining a content type corresponding to a detection terminal based on a pre-acquired corresponding relationship between the detection terminal and the content type, as a first content type, screening out to-be-detected video resources with content types matched with the first content type from each to-be-detected video resource in a locked state, and determining a target digital resource allocated to the detection terminal from the screened to-be-detected video resources.
7. The device according to claim 6, wherein the target digital resource determining module is specifically configured to determine a detection order of each to-be-detected digital resource according to a time when the system receives each to-be-detected digital resource that is not in the locked state, and use, as the target digital resource allocated to the detection terminal, a first N to-be-detected digital resources in the to-be-detected digital resources, where N is a positive integer greater than or equal to 1.
8. The apparatus as claimed in claim 6, wherein the target digital resource locking module is specifically configured to perform locking processing on the target digital resource according to a preset locking duration.
9. The apparatus according to claim 8, wherein the target digital resource locking module is specifically configured to update a locking status identifier of the target digital resource to a locked identifier within a preset locking duration, where the locking status identifier is used to identify a locking status of the target digital resource; or adding a locking identifier lasting for the locking duration to the target digital resource, wherein the locking identifier is used for identifying that the target digital resource is in a locking state; or acquiring the identifier of the target digital resource as a target identifier; and recording the target identification in a preset digital resource locking table within the locking duration, wherein the digital resource locking table is used for recording the identification of the digital resource in a locking state.
10. The digital resource processing device of claim 8, further comprising:
the detection result receiving module is configured to delete the target digital resource from each digital resource to be detected after the target digital resource locking module completes locking processing of the target digital resource and receives a detection result of the target digital resource fed back by the detection terminal; and/or, according to the detection result, transferring the target digital resource to a rechecking stage corresponding to the detection result;
and the unlocking module is configured to unlock the target digital resource in the locked state when the detection result of the target digital resource fed back by the detection terminal is not received within the locked time length after the target digital resource locking module completes the locking processing of the target digital resource.
11. An electronic device, comprising:
a processor;
a memory for storing the processor-executable instructions;
wherein the processor is configured to execute the instructions to implement the digital resource processing method of any of claims 1 to 5.
12. A storage medium, wherein instructions in the storage medium, when executed by a processor of an electronic device, enable the electronic device to perform the digital resource processing method of any one of claims 1 to 5.
CN201910864013.6A 2019-09-12 2019-09-12 Digital resource processing method and device, electronic equipment and storage medium Active CN110659386B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910864013.6A CN110659386B (en) 2019-09-12 2019-09-12 Digital resource processing method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910864013.6A CN110659386B (en) 2019-09-12 2019-09-12 Digital resource processing method and device, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN110659386A CN110659386A (en) 2020-01-07
CN110659386B true CN110659386B (en) 2022-11-22

Family

ID=69036974

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910864013.6A Active CN110659386B (en) 2019-09-12 2019-09-12 Digital resource processing method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN110659386B (en)

Family Cites Families (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6182186B1 (en) * 1998-06-30 2001-01-30 Sun Microsystems, Inc. Method and apparatus that utilizes lock states to lock resources
JP2008172355A (en) * 2007-01-09 2008-07-24 Sharp Corp Base station equipment, terminal device, control information transmission method, control information receiving method, program and radio communication system
US9027123B2 (en) * 2008-12-08 2015-05-05 Nec Corporation Data dependence analyzer, information processor, data dependence analysis method and program
CN101446970B (en) * 2008-12-15 2012-07-04 腾讯科技(深圳)有限公司 Method for censoring and process text contents issued by user and device thereof
CN106156777B (en) * 2015-04-23 2020-06-02 华中科技大学 Text image detection method and device
CN107301091A (en) * 2016-04-14 2017-10-27 北京京东尚科信息技术有限公司 Resource allocation methods and device
CN106331172A (en) * 2016-10-20 2017-01-11 杭州迪普科技有限公司 Method and device for detecting resources for content distribution network
CN108111325B (en) * 2016-11-24 2021-06-22 北京金山云网络技术有限公司 Resource allocation method and device
CN106874125B (en) * 2017-01-13 2021-04-06 北京元心科技有限公司 Method and device for sharing system resources among multi-container systems
CN108629611A (en) * 2017-03-24 2018-10-09 北京京东尚科信息技术有限公司 Method and apparatus for distributing resource
CN109669776B (en) * 2018-12-12 2023-08-04 北京文章无忧信息科技有限公司 Detection task processing method, device and system

Also Published As

Publication number Publication date
CN110659386A (en) 2020-01-07

Similar Documents

Publication Publication Date Title
CN110197346B (en) Logistics tracking and tracing method, application server, blockchain node and medium
CN108073355B (en) Data storage and deletion method and device
CN107092686B (en) File management method and device based on cloud storage platform
US20100106784A1 (en) Electronic device with automatic software update function and method thereof
CN108629310B (en) Engineering management supervision method and device
CN109672608B (en) Method for transmitting messages according to time
CN110059981B (en) Trust degree evaluation method and device and terminal equipment
Dobre et al. Blockchain-based image copyright protection system using JPEG resistant digital signature
CN111371889B (en) Message processing method and device, internet of things system and storage medium
US8700542B2 (en) Rule set management
CN110659386B (en) Digital resource processing method and device, electronic equipment and storage medium
CN111368128A (en) Target picture identification method and device and computer readable storage medium
CN109597823B (en) Data source configuration method, device, computer equipment and storage medium
CN108886631B (en) Electronic data inspection system, electronic data inspection method, and storage medium
CN110502333B (en) Access request processing method and cloud storage system
CN106469166A (en) A kind of information processing method and device
CN109032655B (en) Configuration method of monitoring instance, server and computer readable storage medium
CN107038090A (en) Selection includes the method and electronic equipment, system, computer program product and computer-readable recording medium of the content of audio-visual data
EP4575818A1 (en) Method and devices for comparing data in a federated storage system
CN110879835A (en) Data processing method, device and equipment based on block chain and readable storage medium
CN115604000B (en) Override detection method, device, equipment and storage medium
CN115907612B (en) A management method and system for non-digital assets of film and television based on dynamic control
CN116684282B (en) Method and device for initializing newly-added cloud server and computer equipment
CN114265744B (en) Enterprise digital asset monitoring method and device, storage medium, terminal
CN111723146B (en) Method for monitoring database, management system and storage medium

Legal Events

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