CN110502714B - Information detection method and device, electronic equipment and storage medium - Google Patents

Information detection method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN110502714B
CN110502714B CN201910797285.9A CN201910797285A CN110502714B CN 110502714 B CN110502714 B CN 110502714B CN 201910797285 A CN201910797285 A CN 201910797285A CN 110502714 B CN110502714 B CN 110502714B
Authority
CN
China
Prior art keywords
data
information
detected
type
derivative
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
CN201910797285.9A
Other languages
Chinese (zh)
Other versions
CN110502714A (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 CN201910797285.9A priority Critical patent/CN110502714B/en
Publication of CN110502714A publication Critical patent/CN110502714A/en
Application granted granted Critical
Publication of CN110502714B publication Critical patent/CN110502714B/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/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/958Organisation or management of web site content, e.g. publishing, maintaining pages or automatic linking

Landscapes

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

Abstract

The disclosure relates to a method, a device, an electronic device and a storage medium for information detection, wherein the method comprises the following steps: receiving information to be detected; generating derivative data of each type of data in the information to be detected, wherein the derivative data are detection resources for detecting the corresponding type of data; detecting whether the generation of the derivative data of each type of data in the information to be detected is completed; and if detecting that the generation of the derivative data of each type of data in the information to be detected is completed, starting the detection of the information to be detected. Therefore, by applying the embodiment of the disclosure, the derivative data of each type of data in the information to be detected can be generated, whether the generation of the derivative data of each type of data in the information to be detected is completed or not can be detected, and after the generation of the derivative data of each type of data in the information to be detected is completed, the detection of each derivative data is started, so that the detection of the derivative data is ensured to be completed, and the detection result is more accurate.

Description

Information detection method and device, electronic equipment and storage medium
Technical Field
The present disclosure relates to the field of information detection technologies, and in particular, to a method and an apparatus for information detection, an electronic device, and a storage medium.
Background
The social platform needs to manually detect the content uploaded by the user, determine whether the content uploaded by the user violates the regulations, and delete the content violating the regulations.
Currently, in order to detect information uploaded by a user, a background server of a social platform needs to obtain derivative data based on the information uploaded by the user, and determine whether there is illegal user uploaded content according to the derivative data.
In the related art, a waiting time is set, for example, 10 seconds, and after the waiting time elapses, it is determined that the derivative data is ready, and it is determined whether there is a violation of the regulation of the user upload content based on the derivative data.
However, the content of the information uploaded by the user is various, the generation time of the derivative data of different contents is different, and only a fixed time is used for judging whether the derivative data is ready, so that the situation that the derivative data is not prepared completely but the detection is started easily occurs, and the detection result is not accurate enough due to the fact that the derivative data is not prepared completely.
Disclosure of Invention
The present disclosure provides a method, an apparatus, an electronic device and a storage medium for information detection, so as to at least solve the problem of inaccurate detection result 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 an information detection method, applied to a background server, including:
receiving information to be detected, wherein the information to be detected comprises at least one type of data;
generating derivative data of each type of data in the information to be detected, wherein the derivative data are detection resources for detecting the corresponding type of data;
detecting whether the generation of the derivative data of each type of data in the information to be detected is completed;
and if detecting that the generation of the derivative data of each type of data in the information to be detected is completed, starting the detection of the information to be detected.
Optionally, the step of generating derivative data of each type of data in the information to be detected includes: generating derivative data of each type of data in the information to be detected, and storing the initial processing time of each type of data for generating the derivative data, wherein the initial processing time is the time for starting generating the derivative data;
after saving the initial processing time at which each type of data generates derivative data, the method further comprises:
judging whether type data which exceeds the preset processing time and does not generate the derivative data exist at each initial processing moment of each type data of the information to be detected;
and if the type data which exceeds the preset processing time and does not generate the completely derived data exists, re-executing the operation of generating the derived data of each type of data in the information to be detected.
Optionally, if it is detected that the generation of the derivative data of each type of data in the to-be-detected information is completed, the step of starting the detection of the to-be-detected information includes:
if the generation of the derivative data of each type of data in the information to be detected is detected to be completed, generating a derivative data generation completion instruction;
and sending the completion instruction to a detection terminal connected with the background server, wherein the completion instruction is used for indicating the detection terminal, acquiring the generated derived data and starting detection on the information to be detected.
Optionally, if it is detected that the generation of the derivative data of each type of data in the to-be-detected information is completed, the step of starting the detection of the to-be-detected information includes:
and if the generation of the derivative data of each type of data in the information to be detected is detected to be completed, setting the state of the information to be detected as a derivative data completed state, so that a detection terminal connected with the background server acquires the derivative data after inquiring the derivative data completed state, and starts the detection of the information to be detected.
Optionally, before the step of generating the derivative data of each type of data in the information to be detected, the method further includes:
generating a circulation state table corresponding to the information to be detected, and setting the state of the information to be detected in the circulation state table as a derived data incomplete state;
setting the state of the information to be detected as a derivative data completed state comprises: and setting the state of the information to be detected in the circulation state table as a derivative data completed state.
Optionally, generating derivative data of each type of data in the to-be-detected information includes:
obtaining configuration information preset for a service type to which the information to be detected belongs, wherein the configuration information comprises: the information to be detected of the service type comprises a data type, a data type of each derived data generated for each different type of data of the information to be detected and the service type identifier;
and starting a resource controller program, triggering each type of data in the information to be detected to generate derivative data respectively through the resource controller according to the configuration information, and generating generation completion identification information of the derivative data after the generation of the derivative data of each type of data in the information to be detected is completed.
Optionally, after the generation of the derivative data of each type of data in the information to be detected is completed, generating the generation completion identification information of the derivative data includes:
under the condition that the generation of the derivative data of any type of data is successful, setting a completion identifier of the corresponding type of data;
setting a degradation identifier of corresponding type data under the condition that the derived data of any type of data fails to be acquired and the derived data is allowed to be lost;
and if the type completion identifiers or the degradation identifiers corresponding to all types of data are detected to be completely set, generating the generation completion identifier information of the derived data.
According to a second aspect of the embodiments of the present disclosure, there is provided an information detection apparatus, applied to a backend server, including:
the device comprises an information receiving unit to be detected, a data processing unit and a data processing unit, wherein the information receiving unit is configured to receive information to be detected, and the information to be detected comprises at least one type of data;
the derived data generating unit is configured to generate derived data of each type of data in the information to be detected, wherein the derived data are detection resources for detecting the corresponding type of data;
the generation completion detection unit is configured to detect whether generation of derivative data of each type of data in the information to be detected is completed;
the detection starting unit is configured to start detection of the information to be detected if the fact that the generation of the derivative data of each type of data in the information to be detected is completed is detected.
Optionally, the derived data generating unit is specifically configured to: generating derivative data of each type of data in the information to be detected, and storing the initial processing time of each type of data for generating the derivative data, wherein the initial processing time is the time for starting generating the derivative data;
the device further comprises: a type data generation completion judgment unit;
the type data generation completion judging unit is configured to judge whether type data which exceeds a preset processing time and does not generate the completely-generated derived data exist or not based on each initial processing time of each type of data of the information to be detected after the derived data generating unit stores the initial processing time of each type of data to generate the derived data; and if the type data which exceeds the preset processing time and does not generate the completely derived data exists, re-executing the operation of generating the derived data of each type of data in the information to be detected.
Optionally, the detection starting unit is specifically configured to:
if the generation of the derivative data of each type of data in the information to be detected is detected to be completed, generating a derivative data generation completion instruction;
and sending the completion instruction to a detection terminal connected with the background server, wherein the completion instruction is used for indicating the detection terminal, acquiring the generated derived data and starting detection on the information to be detected.
Optionally, the detection starting unit is specifically configured to:
and if the generation of the derivative data of each type of data in the information to be detected is detected to be completed, setting the state of the information to be detected as a derivative data completed state, so that a detection terminal connected with the background server acquires the derivative data after inquiring the derivative data completed state, and starts the detection of the information to be detected.
Optionally, the apparatus further comprises:
an incomplete state setting unit configured to generate a circulation state table corresponding to the information to be detected before the detection starting unit generates the derivative data of each type of data in the information to be detected, and set the state of the information to be detected in the circulation state table as a derivative data incomplete state;
the detection starting unit is specifically configured to: and setting the state of the information to be detected in the circulation state table as a derivative data completed state.
Optionally, the derived data generating unit includes:
a configuration information obtaining module configured to obtain configuration information preset for a service type to which the information to be detected belongs, where the configuration information includes: the information to be detected of the service type comprises a data type, a data type of each derived data generated for each different type of data of the information to be detected and the service type identifier;
and the resource controller starting module is configured to start a resource controller program, trigger each type of data in the information to be detected to generate derivative data respectively according to the configuration information through the resource controller, and generate generation completion identification information of the derivative data after the generation of the derivative data of each type of data in the information to be detected is completed.
Optionally, the resource controller starting module is specifically configured to:
under the condition that the generation of the derivative data of any type of data is successful, setting a completion identifier of the corresponding type of data;
setting a degradation identifier of corresponding type data under the condition that the derived data of any type of data fails to be acquired and the derived data is allowed to be lost;
and if the type completion identifiers or the degradation identifiers corresponding to all types of data are detected to be completely set, generating the generation completion identifier information of the derived data.
According to a third aspect of the embodiments of the present disclosure, there is provided an information detection system including: a background server and a detection terminal;
the background server is used for receiving information to be detected, wherein the information to be detected comprises at least one type of data; generating derivative data of each type of data in the information to be detected, wherein the derivative data are detection resources for detecting the corresponding type of data; detecting whether the generation of the derivative data of each type of data in the information to be detected is completed; if the generation of the derivative data of each type of data in the information to be detected is detected to be completed, enabling a detection terminal to start the detection of the information to be detected;
and the detection terminal is used for detecting the information to be detected.
According to a fourth aspect of the embodiments of the present disclosure, there is provided a backend server, including a processor, a communication interface, a memory, and a communication bus, where the processor, the communication interface, and the memory complete communication with each other through the communication bus;
a memory for storing a computer program;
and the processor is used for realizing any one of the method steps of the information detection when executing the program stored in the memory.
According to a fifth aspect of the embodiments of the present disclosure, there is provided a computer-readable storage medium having a computer program stored therein, the computer program, when executed by a processor, implementing the steps of any of the above-mentioned methods of information detection.
According to a sixth aspect of embodiments of the present disclosure, there is provided a computer program product containing instructions which, when run on a computer, cause the computer to perform any of the above-described methods of information detection.
The technical scheme provided by the embodiment of the disclosure at least brings the following beneficial effects: according to the technical scheme, the method and the device for detecting the derivative data of the information to be detected can generate the derivative data of each type of data in the information to be detected, detect whether the derivative data of each type of data in the information to be detected is generated or not, and start the detection of each derivative data after the derivative data of each type of data in the information to be detected is generated, so that the generated derivative data are ensured, and the detection result is accurate.
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 invention and together with the description, serve to explain the principles of the invention.
FIG. 1 is a flow chart illustrating a method of information detection in accordance with an exemplary embodiment;
FIG. 2 is a flow chart illustrating another method of information detection in accordance with an exemplary embodiment;
FIG. 3 is a flow chart illustrating yet another method of information detection in accordance with an exemplary embodiment;
FIG. 4 is a flow diagram illustrating a method of compensating program execution in accordance with an exemplary embodiment;
FIG. 5 is a block diagram illustrating an apparatus for information detection in accordance with an exemplary embodiment;
FIG. 6 is a system diagram illustrating information detection according to an exemplary embodiment;
FIG. 7 is a block diagram illustrating a backend server according to an example embodiment;
FIG. 8 is a block diagram illustrating an apparatus for information detection in accordance with an exemplary embodiment;
fig. 9 is a block diagram illustrating another apparatus for information detection according to an example embodiment.
Detailed Description
In order to make the technical solutions of the present disclosure better understood by those of ordinary skill in the art, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below with reference to the accompanying drawings.
It should be noted that the terms "first," "second," and the like in the description and claims of the present disclosure and in the above-described drawings are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the disclosure described herein are capable of operation in sequences other than those illustrated or otherwise described herein. The implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
In order to solve the problem of inaccurate detection results in the related art, the embodiments of the present disclosure provide an information detection method and apparatus, an electronic device, and a storage medium.
Fig. 1 is a flowchart illustrating a method for information detection, which is applied to a background server according to an exemplary embodiment, and as shown in fig. 1, the method may include the following steps:
step S101, receiving information to be detected, wherein the information to be detected comprises at least one type of data.
In practice, the background server may receive the information to be detected. The information to be detected can comprise one or more types of data of video data, text data, voice data and picture data.
Step S102, generating derived data of each type of data in the information to be detected, wherein the derived data are detection resources for detecting the data of the corresponding type.
It is practicable that corresponding derived data can be asynchronously and respectively generated for each type of data in the information to be detected. That is, if the information to be detected includes video data and text data, corresponding video derivative data is generated according to the video data, and corresponding text derivative data is generated according to the text data asynchronously without mutual influence.
It is practicable to save in advance a resource controller program for triggering generation of derivative data for each type of data in the information to be detected. In this step, each time a piece of information to be detected is received, a corresponding resource controller program process is started, so that the resource controller program triggers each type of data in the piece of information to be detected to generate derivative data, and after the generation of the derivative data of each type of data in the piece of information to be detected is completed, the generated derivative data all generate identification information.
In a specific implementation manner, when generating derivative data of each type of data in the information to be detected, an initial processing time for generating the derivative data of each type of data may be saved, where the initial processing time is a time for starting generation of the derivative data; judging whether type data which exceeds the preset processing time and does not generate the derivative data exist at each initial processing moment of each type data of the information to be detected; and if the type data which exceeds the preset processing time and does not generate the completely derived data exists, re-executing the operation of generating the derived data of each type of data in the information to be detected.
Step S103, detecting whether the generation of the derivative data of each type of data in the information to be detected is completed.
And in an implementation manner, the identification information can be generated according to whether the derived data generated by the resource controller program is received, and whether the generation of the derived data of each type of data in the information to be detected is completed is detected.
And step S104, if the generation of the derivative data of each type of data in the information to be detected is detected to be completed, starting the detection of the information to be detected.
The starting of the detection of the information to be detected may be specifically starting the detection of the derived data in the information to be detected.
It can be implemented that the detection of the information to be detected can be started in the following two ways:
in the first mode, if the generation of the derivative data of each type of data in the information to be detected is detected to be completed, a derivative data generation completion instruction is generated; and sending the completion instruction to a detection terminal connected with the background server, wherein the completion instruction is used for indicating the detection terminal, acquiring the generated derived data and starting detection on the information to be detected.
In a second manner, if it is detected that the generation of the derivative data of each type of data in the information to be detected is completed, the state of the information to be detected is set to be a derivative data completed state, so that the detection terminal connected to the background server acquires the derivative data after querying the derivative data completed state, and starts the detection of the information to be detected.
In the related art, only a fixed time is used to determine whether the derived data is ready, for example, 10s is considered to be ready. However, the data size of the type data of some information to be detected is large, and the data size of the type data of some information to be detected is small. For the type data with small data amount, time is wasted, and for the type data with large data amount, complete derivative data may not be generated and is considered to be ready, because the derivative data is incomplete, and the detection result is inaccurate.
Therefore, by applying the embodiment of the disclosure, the derivative data of each type of data in the information to be detected can be generated, whether the generation of the derivative data of each type of data in the information to be detected is completed or not can be detected, and after the generation of the derivative data of each type of data in the information to be detected is completed, the detection of each derivative data is started, so that the detection of the derivative data is ensured to be completed, and the detection result is more accurate.
Fig. 2 is a flow chart illustrating another method for information detection, applied to a background server, according to an exemplary embodiment, and as shown in fig. 2, the method may include the following steps:
step S201, receiving information to be detected, where the information to be detected includes at least one type of data.
In practical applications, step S201 may be the same as step S101, and will not be described in detail here.
Step S202, storing the information to be detected in a database.
An example of a database that may be implemented is shown in table one.
Watch 1
Figure BDA0002181323600000081
As shown in table one: assuming that the identifier ID of the received information to be detected is ID4 and includes picture data 4 and video data 4, the information to be detected is stored in the database, and for picture data 4 and video data 4, generation of derivative data has not yet started, so that all of the derivative data, the state of the derivative data, and the initial processing time may be empty, and certainly, the state of the derivative data may also be in generation, which is not specifically limited herein. Before that, the information to be detected, identified as ID1, ID2 and ID3, has been saved.
The information to be detected, which is identified as ID1, includes video data 1 and text data 1, and corresponding video derivative data 1 and text derivative data 1 have been generated, the states of the video derivative data 1 and the text derivative data 1 are both generated, and the initial processing time for starting to generate the derivative data is time 1 and time 2, respectively. Time 1 and time 2 may be the same or different.
The information to be detected, which is identified as ID2, comprises character data 2 and voice data 2, character derivative data 2 are generated, and the initial processing time is time 3; however, since the generation of the derivative data corresponding to the speech data 2 is not completed, the state of the derivative data is in the middle of generation, and the initial processing time is time 4.
The information to be detected, which is identified as ID3, includes video data 3, the corresponding derivative data has not yet been generated, and the state of the derivative data is in generation, and the initial processing time is time 5.
For the convenience of subsequent detection, the state of the derived data is included in one example table of the database, and in other examples of the database, the state of the derived data may not be included, and the derived data may be not generated when the derived data is detected to be empty. Specifically, the form of the database is not particularly limited.
Step S203, generating a circulation state table corresponding to the information to be detected, and setting the state of the information to be detected in the circulation state table as a derived data incomplete state.
The information to be detected is recorded in the circulation state table, and the circulation state table is used for recording the circulation state of the information to be detected. For example, the status of the information to be detected may be recorded as an incomplete status or a completed status, and if the status is an incomplete status, the detection terminal is not allowed to acquire the derived data; and if the state is the finished state, allowing the detection terminal to acquire the derived data. The circulation state table may also record the unique ID, time, processing result, and other information of the information to be detected.
An example of a flow state table may be implemented as shown in table two.
Watch two
ID Information state to be detected Time of treatment Processing the results
ID4 Derived data outstanding status
As shown in table two: the method can comprise the identification ID of the information to be detected, the state of the information to be detected, the processing time of the derived data and the processing result. In this example, the status of the ID4 of the information to be detected is the incomplete status of the derived data, so that the derived data cannot be detected yet, and the processing time and the processing result of the derived data are empty.
And S204, generating derivative data of each type of data in the information to be detected, and storing the initial processing time of each type of data for generating the derivative data into a database, wherein the initial processing time is the time for starting generating the derivative data.
The method includes that a resource controller program is started for the information to be detected, then the resource controller program triggers each type of data in the information to be detected to generate derivative data respectively, and the resource controller program records triggering time of each type of data as initial processing time.
If the information to be detected comprises picture data, judging whether the picture data contains character data;
if the picture data contains character data, extracting the character data as character derived data corresponding to the picture data, and acquiring picture data not containing characters as picture derived data corresponding to the picture data; and if the picture data does not comprise character data, acquiring the picture data as picture derived data corresponding to the picture data.
If the information to be detected comprises voice data, translating the voice data into text data; and acquiring the text data as voice derivative data corresponding to the voice data.
And if the information to be detected comprises character data, acquiring the character data as character derivative data corresponding to the character data.
If the information to be detected comprises video data, acquiring a frame of image at preset time intervals; and taking each acquired frame image as video derivative data corresponding to the video data.
And when the derivative data of one type of data is generated, correspondingly storing the derivative data of the type of data and the information to be detected into a database.
It is practicable that each time derivative data of one type of data is generated, the derivative data of the type of data can be saved in the database by means of the distributed message queue kafka. After the derivative data of one type of data is generated, one type of data is stored.
Corresponding to the first table, after the initial processing time of generating the derivative data by each type of data and the information to be detected are correspondingly stored in the database, for example: an example of a database for the information to be detected identified as ID4 may be as shown in Table three.
Watch III
Figure BDA0002181323600000101
In table three, the initial processing time of the picture data 4 is time 6, the initial processing time of the video data 4 is time 7, time 6 and time 7 are recorded in the database, respectively, and the corresponding derived data state is set as being generated.
Step S205, based on each initial processing time of each type of data of the information to be detected, it is determined whether there is type data that exceeds a preset processing time and does not generate completely derived data.
In an implementation manner, according to the database, the state of the derivative data of the information to be detected is the type data in generation, and whether the time difference between the initial processing time and the current time of the type data exceeds the preset processing duration or not is judged. For example: and judging whether the time difference between the initial processing time and the current time of the type of data exceeds 30 minutes or not.
If the judgment result is yes, namely the type data which exceeds the preset processing time and does not generate the derivative data is existed, returning to execute the step S204, wherein the initial processing time at this moment is the time of restarting to generate the derivative data, namely the updated time; if the result of the judgment is no, that is, there is no type data which exceeds the preset processing time length and does not generate the completely derived data, the step S206 is executed in a return manner.
Step S206, detecting whether the generation of the derivative data of each type of data in the information to be detected is completed.
In an implementation manner, after the resource controller program judges that the derived data of each type of data in the information to be detected is generated, the resource controller program generates the derived data to generate the identification information, and detects whether the derived data of each type of data in the information to be detected is generated or not according to whether the derived data generated by the resource controller program is received or not.
Step S207, if it is detected that the generation of the derivative data of each type of data in the to-be-detected information is completed, setting the state of the to-be-detected information in the circulation state table to be a derivative data completed state, so that the detection terminal connected to the background server obtains the derivative data after querying the derivative data completed state, and starts detection on the to-be-detected information.
And updating the state of the information to be detected in the circulation state table from the incomplete state of the derivative data to the complete state of the derivative data.
Corresponding to the third table, after the derivative data of each type of data in the information to be detected is generated, for example: an example of a database for the information to be detected, identified as ID4, is shown in Table four.
Watch four
Figure BDA0002181323600000111
In table four: for the information to be detected identified as ID4, the picture derived data 4 and the video derived data 4 are respectively recorded in the database, and the states of the corresponding derived data are respectively changed to have been generated.
An example of the flow state table at this time may be as shown in table five, corresponding to table two.
Watch five
ID Information state to be detected Time of treatment Processing the results
ID4 Derived data completed status
In table five, the state of the information to be detected is set as the state that the derivative data is completed, and at this time, the detection terminal connected to the background server acquires the derivative data and starts detection of the information to be detected after the state that the derivative data is completed is inquired.
Therefore, by applying the embodiment of the disclosure, the derivative data of each type of data in the information to be detected can be generated, whether the generation of the derivative data of each type of data in the information to be detected is completed or not can be detected, and after the generation of the derivative data of each type of data in the information to be detected is completed, the detection of each derivative data is started, so that the detection of the derivative data is ensured to be completed, and the detection result is more accurate.
Moreover, in this embodiment, when the generation of the corresponding derivative data by a certain type of data in the information to be detected exceeds the preset processing duration, the corresponding derivative data may be regenerated, so that the failure of generating the corresponding derivative data due to an error may be avoided as much as possible.
Fig. 3 is a flow chart illustrating another method for information detection, applied to a background server, according to an exemplary embodiment, and as shown in fig. 3, the method may include the following steps:
step S301, receiving information to be detected, wherein the information to be detected comprises at least one type of data.
Step S302, generating a circulation state table corresponding to the information to be detected, and setting the state of the information to be detected in the circulation state table as a derived data incomplete state.
Step S303, obtaining configuration information preset for a service type to which the to-be-detected information belongs, where the configuration information includes: the information to be detected of the service type comprises a data type, a data type of each derived data generated for each different type of data of the information to be detected and the service type identifier.
In practice, the configuration information may include: the information to be detected of the service type comprises a data type, a data type of each derived data generated aiming at each different type of data of the information to be detected and the service type identifier.
In another embodiment, the configuration information may include: the information to be detected of the service type comprises a data type, data types of various derived data generated for various different types of data of the information to be detected, the service type identification and degradation identification information set for each type of data; when the degradation identification information is degradation, the degradation identification information can be used for indicating that the identification information is generated by generating the derivative data after the generation of other types of data in the information to be detected is completed. In this way, if degradation identification information of a certain type of data is set as degradation, after the derivative data of other types of data in the information to be detected is generated, the degradation identification information is set as the special type of data to be degraded, and the type of data can be ignored if the corresponding derivative data is not generated yet when a preset condition is reached; if certain type of data degradation identification information is set not to degrade, the type of data may not be ignored.
Assuming that a service, a data to be processed may include video data, and the video needs to be framed, the configuration information may be: { { "key": video "," type ": video", "remove": false "," resource ": frame" }; the key (identification) can acquire corresponding information to be detected according to the key, and corresponds to the video in the configuration; type is media type, and corresponds to video in the present configuration; demote, which is false in this configuration, i.e., representing that the type of data cannot be ignored; resource represents the derived data, in this configuration, frame (frame), and the method for generating the corresponding derived data can be determined according to resource.
Similarly, assuming B service, a data to be processed may include text data: the configuration information may be { { "key": text "," type ": text", "remove": false "," resource ": positive _ word" };
assuming C service, a piece of data to be processed may include picture data: the configuration information may be: { { "key": image "," type ": image", "remove": false "," resource ": ocr };
assuming D-service, one data to be processed may contain voice data: the configuration information may be: { { "key": audio "," type ": audio", "delete": false "," resource ": translation" };
step S304, starting a resource controller program, triggering each type of data in the information to be detected to generate derivative data respectively through the resource controller according to the configuration information, and generating generation completion identification information of the derivative data after the generation of the derivative data of each type of data in the information to be detected is completed.
In an implementation manner, after the generation of the derivative data of each type of data in the information to be detected is completed, the generating of the identifier information of the derivative data may include: under the condition that the generation of the derivative data of any type of data is successful, setting a completion identifier of the corresponding type of data; setting a degradation identifier of corresponding type data under the condition that the derived data of any type of data fails to be acquired and the derived data is allowed to be lost; and if the type completion identifiers or the degradation identifiers corresponding to all types of data are detected to be completely set, generating the generation completion identifier information of the derived data.
In an implementation manner, the resource controller program may be initialized based on the configuration information, and used as the resource controller program corresponding to the information to be detected, so that the resource controller program obtains a generation method of the derived data of the type of data in the information to be detected, and the resource controller program knows which types of derived data should be generated.
In practice, each time a message to be detected is received, the resource controller program corresponding to the message to be detected can be started, that is, each message to be detected corresponds to each resource controller program, and each message to be detected is processed in parallel.
And in an implementation manner, starting the resource controller program to enable the resource controller program to trigger generation of derivative data for each type of data in the information to be detected according to the configuration information, and generating the derivative data to generate the identification information after the derivative data of each type of data is generated except that the degradation identification information in the information to be detected is the degraded type data.
Step S305, generating identification information according to whether the derived data generated by the resource controller program is received, and detecting whether the derived data of each type of data in the information to be detected is generated completely.
The method includes that after a resource controller program is started, the resource controller program triggers each type of data in information to be detected to generate derived data respectively, when each derived data of one type of data is generated, a signal that derived resources of the type of data are ready is sent to the resource controller program, when the resource controller program judges that each derived data of each type of data of the information to be detected is ready, the resource controller program generates the derived data to generate identification information, the identification information is generated according to whether the derived data generated by the resource controller program is received, and whether the generation of the derived data of each type of data in the information to be detected is completed is detected.
Step S306, if it is detected that the generation of the derivative data of each type of data in the to-be-detected information is completed, setting the state of the to-be-detected information in the circulation state table to be a derivative data completed state, so that the detection terminal connected to the background server obtains the derivative data after querying the derivative data completed state, and starts detection of the to-be-detected information.
And if the generation of the derivative data of each type of data in the information to be detected is detected to be completed, updating the state of the information to be detected in the circulation state table from the derivative data incomplete state to the derivative data completed state.
Therefore, by applying the embodiment of the disclosure, the derivative data of each type of data in the information to be detected can be generated, whether the generation of the derivative data of each type of data in the information to be detected is completed or not can be detected, and after the generation of the derivative data of each type of data in the information to be detected is completed, the detection of each derivative data is started, so that the detection of the derivative data is ensured to be completed, and the detection result is more accurate.
In order to ensure that each piece of information to be detected can generate complete derivative data, a compensation program can be set, whether type data which exceeds the preset processing time and does not generate the derivative data exists or not can be periodically judged, and the derivative data can be generated again for the type data.
As shown in fig. 4, an example of a method for compensating program execution may include:
step S401, judging whether a preset time period is reached.
As may be implemented, the preset duration period may be set to 1 minute.
If the result of the determination is yes, that is, the preset time period is reached, the step S402 is executed; if the result of the determination is no, that is, the preset time period is not reached, the process returns to step S401.
Step S402, based on each initial processing time of each type data of each to-be-detected information in the database, judging whether type data which exceeds a preset processing time and does not generate the derivative data exist.
In practice, it may be determined whether the time difference between the initial processing time and the current time of each type of data to be detected exceeds 30 minutes for the type of data that is not completely generated.
If the judgment result is yes, that is, the type data which exceeds the preset processing time and does not generate the derivative data is existed, executing step S403; if the judgment result is no, that is, there is no type data which exceeds the preset processing time length and does not generate the completely-derived data, the step S401 is executed in a returning manner.
Step S403, for each type data which exceeds the preset processing time and does not generate the derivative data, respectively generating the derivative data of each type data in the information to be detected.
In the example of table one above, assuming that the time difference between time 4 and the current time has exceeded the preset processing time, and the time difference between time 5 and the current time has not exceeded the preset processing time, a message may be sent to the resource controller corresponding to the voice data 2, so that the resource controller triggers the voice data 2, regenerates the derivative data, and uses the time for starting to regenerate the derivative data as the initial processing time and updates the initial processing time of the voice data 2.
If each type of data of the information to be detected, which does not generate the completed derivative data, exceeds the preset processing time, a message needs to be sent to the corresponding resource controller at the same time, so that the resource controller is triggered, the derivative data are regenerated aiming at each type of data which does not generate the derivative data, and the initial processing time of each type of data which does not generate the derivative data is updated.
Therefore, in this embodiment, when the preset processing time is reached, if the generation of the derivative data corresponding to the certain type of data in each piece of information to be detected is not completed, the generation of the corresponding derivative data may be re-triggered, so that the failure of the generation of the corresponding derivative data due to an error may be avoided as much as possible.
Fig. 5 is a block diagram illustrating an apparatus for information detection according to an exemplary embodiment, and referring to fig. 5, the apparatus may include:
the information receiving unit 501 to be detected is configured to receive information to be detected, where the information to be detected includes at least one type of data;
a derived data generating unit 502 configured to generate derived data of each type of data in the to-be-detected information, where the derived data is a detection resource for detecting data of a corresponding type;
a generation completion detection unit 503 configured to detect whether generation of derivative data of each type of data in the to-be-detected information is completed;
a detection starting unit 504 configured to start detection of the information to be detected if it is detected that generation of derivative data of each type of data in the information to be detected is completed.
Optionally, the derived data generating unit is specifically configured to: generating derivative data of each type of data in the information to be detected, and storing the initial processing time of each type of data for generating the derivative data, wherein the initial processing time is the time for starting generating the derivative data;
the device further comprises: a type data generation completion judgment unit;
the type data generation completion judging unit is configured to judge whether type data which exceeds a preset processing time and does not generate the completely-generated derived data exist or not based on each initial processing time of each type of data of the information to be detected after the derived data generating unit stores the initial processing time of each type of data to generate the derived data; and if the type data which exceeds the preset processing time and does not generate the completely derived data exists, re-executing the operation of generating the derived data of each type of data in the information to be detected.
Optionally, the detection starting unit is specifically configured to:
if the generation of the derivative data of each type of data in the information to be detected is detected to be completed, generating a derivative data generation completion instruction;
and sending the completion instruction to a detection terminal connected with the background server, wherein the completion instruction is used for indicating the detection terminal, acquiring the generated derived data and starting detection on the information to be detected.
Optionally, the detection starting unit is specifically configured to:
and if the generation of the derivative data of each type of data in the information to be detected is detected to be completed, setting the state of the information to be detected as a derivative data completed state, so that a detection terminal connected with the background server acquires the derivative data after inquiring the derivative data completed state, and starts the detection of the information to be detected.
Optionally, the apparatus further comprises:
an incomplete state setting unit configured to generate a circulation state table corresponding to the information to be detected before the detection starting unit generates the derivative data of each type of data in the information to be detected, and set the state of the information to be detected in the circulation state table as a derivative data incomplete state;
the detection starting unit is specifically configured to: and setting the state of the information to be detected in the circulation state table as a derivative data completed state.
Optionally, the derived data generating unit includes:
a configuration information obtaining module configured to obtain configuration information preset for a service type to which the information to be detected belongs, where the configuration information includes: the information to be detected of the service type comprises a data type, a data type of each derived data generated for each different type of data of the information to be detected and the service type identifier;
and the resource controller starting module is configured to start a resource controller program, trigger each type of data in the information to be detected to generate derivative data respectively according to the configuration information through the resource controller, and generate generation completion identification information of the derivative data after the generation of the derivative data of each type of data in the information to be detected is completed.
Optionally, the resource controller starting module is specifically configured to:
under the condition that the generation of the derivative data of any type of data is successful, setting a completion identifier of the corresponding type of data;
setting a degradation identifier of corresponding type data under the condition that the derived data of any type of data fails to be acquired and the derived data is allowed to be lost;
and if the type completion identifiers or the degradation identifiers corresponding to all types of data are detected to be completely set, generating the generation completion identifier information of the derived data.
Therefore, by applying the embodiment of the disclosure, the derivative data of each type of data in the information to be detected can be generated, whether the generation of the derivative data of each type of data in the information to be detected is completed or not can be detected, and after the generation of the derivative data of each type of data in the information to be detected is completed, the detection of each derivative data is started, so that the detection of the derivative data is ensured to be completed, and the detection result is more accurate.
According to an exemplary embodiment, a system diagram for information detection is shown, as shown in fig. 6, the system includes a backend server 601 and a detection terminal 602;
the background server 601 is configured to receive information to be detected, where the information to be detected includes at least one type of data; generating derivative data of each type of data in the information to be detected, wherein the derivative data are detection resources for detecting the corresponding type of data; detecting whether the generation of the derivative data of each type of data in the information to be detected is completed; if the generation of the derivative data of each type of data in the information to be detected is detected to be completed, enabling a detection terminal to start the detection of the information to be detected;
the detection terminal 602 is configured to detect the information to be detected.
Therefore, by applying the embodiment of the disclosure, the derivative data of each type of data in the information to be detected can be generated, whether the generation of the derivative data of each type of data in the information to be detected is completed or not can be detected, and after the generation of the derivative data of each type of data in the information to be detected is completed, the detection of each derivative data is started, so that the detection of the derivative data is ensured to be completed, and the detection result is more accurate.
The embodiment of the present invention further provides a background server, as shown in fig. 7, including a processor 701, a communication interface 702, a memory 703 and a communication bus 704, where the processor 701, the communication interface 702, and the memory 703 complete mutual communication through the communication bus 704,
a memory 703 for storing a computer program;
the processor 701 is configured to implement the following steps when executing the program stored in the memory 703:
receiving information to be detected, wherein the information to be detected comprises at least one type of data;
generating derivative data of each type of data in the information to be detected, wherein the derivative data are detection resources for detecting the corresponding type of data;
detecting whether the generation of the derivative data of each type of data in the information to be detected is completed;
and if detecting that the generation of the derivative data of each type of data in the information to be detected is completed, starting the detection of the information to be detected.
Therefore, by applying the embodiment of the disclosure, the derivative data of each type of data in the information to be detected can be generated, whether the generation of the derivative data of each type of data in the information to be detected is completed or not can be detected, and after the generation of the derivative data of each type of data in the information to be detected is completed, the detection of each derivative data is started, so that the detection of the derivative data is ensured to be completed, and the detection result is more accurate.
Fig. 8 is a block diagram illustrating an apparatus 800 for information detection in accordance with an example embodiment. For example, the apparatus 800 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, an exercise device, a personal digital assistant, and the like.
Referring to fig. 8, the apparatus 800 may include one or more of the following components: a processing component 802, a memory 804, a power component 806, a multimedia component 808, an audio component 810, an input/output (I/O) interface 812, a sensor component 814, and a communication component 816.
The processing component 802 generally controls overall operation of the device 800, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing components 802 may include one or more processors 820 to execute instructions to perform all or a portion of the steps of the methods described above. Further, the processing component 802 can include one or more modules that facilitate interaction between the processing component 802 and other components. For example, the processing component 802 can include a multimedia module to facilitate interaction between the multimedia component 808 and the processing component 802.
The memory 804 is configured to store various types of data to support operations at the apparatus 800. Examples of such data include instructions for any application or method operating on device 800, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 804 may be implemented by any type or combination of volatile or non-volatile memory 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 or optical disks.
Power components 806 provide power to the various components of device 800. The power components 806 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the apparatus 800.
The multimedia component 808 includes a screen that provides an output interface between the device 800 and a user. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 808 includes a front facing camera and/or a rear facing camera. The front-facing camera and/or the rear-facing camera may receive external multimedia data when the device 800 is in an operating mode, such as a shooting mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
The audio component 810 is configured to output and/or input audio signals. For example, the audio component 810 includes a Microphone (MIC) configured to receive external audio signals when the apparatus 800 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals may further be stored in the memory 804 or transmitted via the communication component 816. In some embodiments, audio component 810 also includes a speaker for outputting audio signals.
The I/O interface 812 provides an interface between the processing component 802 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.
The sensor assembly 814 includes one or more sensors for providing various aspects of state assessment for the device 800. For example, the sensor assembly 814 may detect the open/closed state of the device 800, the relative positioning of the components, such as a display and keypad of the apparatus 800, the sensor assembly 814 may also detect a change in position of the apparatus 800 or a component of the apparatus 800, the presence or absence of user contact with the apparatus 800, orientation or acceleration/deceleration of the apparatus 800, and a change in temperature of the apparatus 800. Sensor assembly 814 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 814 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 814 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 816 is configured to facilitate communications between the apparatus 800 and other devices in a wired or wireless manner. The apparatus 800 may access a wireless network based on a communication standard, such as WiFi, an operator network (such as 2G, 3G, 4G, or 5G), or a combination thereof. In an exemplary embodiment, the communication component 816 receives a broadcast signal or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 816 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 an exemplary embodiment, the apparatus 800 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, micro-controllers, microprocessors or other electronic components for performing the above-described methods.
In an exemplary embodiment, a storage medium comprising instructions, such as the memory 804 comprising instructions, executable by the processor 820 of the apparatus 800 to perform the method described above is also provided. Alternatively, the storage medium may be a non-transitory computer readable storage medium, which may be, for example, a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
Fig. 9 is a block diagram illustrating an apparatus 900 for information detection in accordance with an example embodiment. For example, the apparatus 900 may be provided as a server. Referring to fig. 9, the apparatus 900 includes a processing component 922, which further includes one or more processors, and memory resources, represented by memory 932, for storing instructions, such as applications, that are executable by the processing component 922. The application programs stored in memory 932 may include one or more modules that each correspond to a set of instructions. Further, the processing component 922 is configured to execute instructions to perform the above-described method of information detection.
The device 900 may also include a power component 926 configured to perform power management of the device 900, a wired or wireless network interface 950 configured to connect the device 900 to a network, and an input output (I/O) interface 958. The apparatus 900 may operate based on an operating system such as Windows Server, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM or the like … … stored in the memory 932.
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 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 information detection method is applied to a background server, and the method comprises the following steps:
receiving information to be detected, wherein the information to be detected comprises at least one type of data;
generating derivative data of each type of data in the information to be detected, wherein the derivative data are detection resources for detecting the corresponding type of data;
detecting whether the generation of the derivative data of each type of data in the information to be detected is completed;
if detecting that the generation of the derivative data of each type of data in the information to be detected is completed, starting the detection of the information to be detected;
the step of generating the derivative data of each type of data in the information to be detected includes: generating derivative data of each type of data in the information to be detected, and storing the initial processing time of each type of data for generating the derivative data, wherein the initial processing time is the time for starting generating the derivative data;
after saving the initial processing time at which each type of data generates derivative data, the method further comprises:
judging whether type data which exceeds the preset processing time and does not generate the derivative data exist at each initial processing moment of each type data of the information to be detected;
and if the type data which exceeds the preset processing time and does not generate the completely derived data exists, re-executing the operation of generating the derived data of each type of data in the information to be detected.
2. The method according to claim 1, wherein the step of initiating the detection of the information to be detected if it is detected that the generation of the derivative data of each type of data in the information to be detected is completed comprises:
if the generation of the derivative data of each type of data in the information to be detected is detected to be completed, generating a derivative data generation completion instruction;
and sending the completion instruction to a detection terminal connected with the background server, wherein the completion instruction is used for indicating the detection terminal, acquiring the generated derived data and starting detection on the information to be detected.
3. The method according to claim 1, wherein the step of initiating the detection of the information to be detected if it is detected that the generation of the derivative data of each type of data in the information to be detected is completed comprises:
and if the generation of the derivative data of each type of data in the information to be detected is detected to be completed, setting the state of the information to be detected as a derivative data completed state, so that a detection terminal connected with the background server acquires the derivative data after inquiring the derivative data completed state, and starts the detection of the information to be detected.
4. The method of claim 3,
before the step of generating the derivative data of each type of data in the information to be detected, the method further includes:
generating a circulation state table corresponding to the information to be detected, and setting the state of the information to be detected in the circulation state table as a derived data incomplete state;
setting the state of the information to be detected as a derivative data completed state comprises: and setting the state of the information to be detected in the circulation state table as a derivative data completed state.
5. The method of claim 1, wherein generating derivative data for each type of data in the information to be detected comprises:
obtaining configuration information preset for a service type to which the information to be detected belongs, wherein the configuration information comprises: the information to be detected of the service type comprises a data type, a data type of each derived data generated for each different type of data of the information to be detected and the service type identifier;
and starting a resource controller program, triggering each type of data in the information to be detected to generate derivative data respectively through the resource controller according to the configuration information, and generating generation completion identification information of the derivative data after the generation of the derivative data of each type of data in the information to be detected is completed.
6. The method according to claim 5, wherein after the generation of the derivative data of each type of data in the information to be detected is completed, generating the generation completion identification information of the derivative data comprises:
under the condition that the generation of the derivative data of any type of data is successful, setting a completion identifier of the corresponding type of data;
setting a degradation identifier of corresponding type data under the condition that the derived data of any type of data fails to be acquired and the derived data is allowed to be lost;
and if the type completion identifiers or the degradation identifiers corresponding to all types of data are detected to be completely set, generating the generation completion identifier information of the derived data.
7. An information detection device, applied to a background server, the device comprising:
the device comprises an information receiving unit to be detected, a data processing unit and a data processing unit, wherein the information receiving unit is configured to receive information to be detected, and the information to be detected comprises at least one type of data;
the derived data generating unit is configured to generate derived data of each type of data in the information to be detected, wherein the derived data are detection resources for detecting the corresponding type of data;
the generation completion detection unit is configured to detect whether generation of derivative data of each type of data in the information to be detected is completed;
the detection starting unit is configured to start detection on the information to be detected if the fact that the generation of the derivative data of each type of data in the information to be detected is completed is detected;
the derived data generating unit is specifically configured to: generating derivative data of each type of data in the information to be detected, and storing the initial processing time of each type of data for generating the derivative data, wherein the initial processing time is the time for starting generating the derivative data;
the device further comprises: a type data generation completion judgment unit;
the type data generation completion judging unit is configured to judge whether type data which exceeds a preset processing time and does not generate the completely-generated derived data exist or not based on each initial processing time of each type of data of the information to be detected after the derived data generating unit stores the initial processing time of each type of data to generate the derived data; and if the type data which exceeds the preset processing time and does not generate the completely derived data exists, re-executing the operation of generating the derived data of each type of data in the information to be detected.
8. The apparatus according to claim 7, wherein the detection initiating unit is specifically configured to:
if the generation of the derivative data of each type of data in the information to be detected is detected to be completed, generating a derivative data generation completion instruction;
and sending the completion instruction to a detection terminal connected with the background server, wherein the completion instruction is used for indicating the detection terminal, acquiring the generated derived data and starting detection on the information to be detected.
9. The apparatus according to claim 7, wherein the detection initiating unit is specifically configured to:
and if the generation of the derivative data of each type of data in the information to be detected is detected to be completed, setting the state of the information to be detected as a derivative data completed state, so that a detection terminal connected with the background server acquires the derivative data after inquiring the derivative data completed state, and starts the detection of the information to be detected.
10. The apparatus of claim 9, further comprising:
an incomplete state setting unit configured to generate a circulation state table corresponding to the information to be detected before the detection starting unit generates the derivative data of each type of data in the information to be detected, and set the state of the information to be detected in the circulation state table as a derivative data incomplete state;
the detection starting unit is specifically configured to: and setting the state of the information to be detected in the circulation state table as a derivative data completed state.
11. The apparatus of claim 7, wherein the derived data generating unit comprises:
a configuration information obtaining module configured to obtain configuration information preset for a service type to which the information to be detected belongs, where the configuration information includes: the information to be detected of the service type comprises a data type, a data type of each derived data generated for each different type of data of the information to be detected and the service type identifier;
and the resource controller starting module is configured to start a resource controller program, trigger each type of data in the information to be detected to generate derivative data respectively according to the configuration information through the resource controller, and generate generation completion identification information of the derivative data after the generation of the derivative data of each type of data in the information to be detected is completed.
12. The apparatus of claim 11, wherein the resource controller initiation module is specifically configured to:
under the condition that the generation of the derivative data of any type of data is successful, setting a completion identifier of the corresponding type of data;
setting a degradation identifier of corresponding type data under the condition that the derived data of any type of data fails to be acquired and the derived data is allowed to be lost;
and if the type completion identifiers or the degradation identifiers corresponding to all types of data are detected to be completely set, generating the generation completion identifier information of the derived data.
13. An information detection system is characterized by comprising a background server and a detection terminal;
the background server is used for receiving information to be detected, wherein the information to be detected comprises at least one type of data; generating derivative data of each type of data in the information to be detected, wherein the derivative data are detection resources for detecting the corresponding type of data; detecting whether the generation of the derivative data of each type of data in the information to be detected is completed; if the generation of the derivative data of each type of data in the information to be detected is detected to be completed, enabling a detection terminal to start the detection of the information to be detected; the step of generating the derivative data of each type of data in the information to be detected includes: generating derivative data of each type of data in the information to be detected, and storing the initial processing time of each type of data for generating the derivative data, wherein the initial processing time is the time for starting generating the derivative data; after the initial processing time of generating the derivative data by each type of data is saved, judging whether the type data which exceeds the preset processing time and does not generate the derivative data exists or not based on each initial processing time of each type of data of the information to be detected; if the type data which exceeds the preset processing time and does not generate the derivative data is existed, re-executing the operation of generating the derivative data of each type of data in the information to be detected;
and the detection terminal is used for detecting the information to be detected.
14. A background server is characterized by comprising a processor, a communication interface, a memory and a communication bus, wherein the processor and the communication interface are used for completing mutual communication by the memory through the communication bus;
a memory for storing a computer program;
a processor for implementing the method steps of any of claims 1-6 when executing a program stored in the memory.
15. A computer-readable storage medium, characterized in that a computer program is stored in the computer-readable storage medium, which computer program, when being executed by a processor, carries out the method steps of any one of claims 1 to 6.
CN201910797285.9A 2019-08-27 2019-08-27 Information detection method and device, electronic equipment and storage medium Active CN110502714B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910797285.9A CN110502714B (en) 2019-08-27 2019-08-27 Information detection method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910797285.9A CN110502714B (en) 2019-08-27 2019-08-27 Information detection method and device, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN110502714A CN110502714A (en) 2019-11-26
CN110502714B true CN110502714B (en) 2022-04-29

Family

ID=68590049

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910797285.9A Active CN110502714B (en) 2019-08-27 2019-08-27 Information detection method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN110502714B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114866309B (en) * 2022-04-28 2024-03-08 四川万网鑫成信息科技有限公司 Data transmission method, system, equipment and medium

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100551065C (en) * 2006-12-26 2009-10-14 腾讯科技(深圳)有限公司 A kind of verifying video content system and method
CN103544678A (en) * 2012-07-13 2014-01-29 浙江大华技术股份有限公司 Video image processing device and video image processing method
CN107423149A (en) * 2017-07-31 2017-12-01 武汉斗鱼网络科技有限公司 Task processing method and device
CN108124191B (en) * 2017-12-22 2019-07-12 北京百度网讯科技有限公司 A kind of video reviewing method, device and server
CN108647997A (en) * 2018-04-13 2018-10-12 北京三快在线科技有限公司 A kind of method and device of detection abnormal data
CN109669776B (en) * 2018-12-12 2023-08-04 北京文章无忧信息科技有限公司 Detection task processing method, device and system
CN110109752A (en) * 2019-04-12 2019-08-09 平安普惠企业管理有限公司 A kind of method for allocating tasks, device, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN110502714A (en) 2019-11-26

Similar Documents

Publication Publication Date Title
US10491394B2 (en) Method and device for processing verification code
US9800666B2 (en) Method and client terminal for remote assistance
CN107193678B (en) Method and device for determining cause of stuck and storage medium
EP2990949B1 (en) Methods and devices for backing up file
CN107204883B (en) Network fault processing method and device
EP3128417A1 (en) Method, device and system for starting target function
EP2981116A1 (en) Method and apparatus for accessing wi-fi network and computer program product
EP3026876B1 (en) Method for acquiring recommending information, terminal and server
CN109302341B (en) Instant messaging method, instant messaging device, electronic equipment and storage medium
CN108781377B (en) Timer control method and device, electronic equipment and computer readable storage medium
CN110213062B (en) Method and device for processing message
CN107463419B (en) Application restarting method and device and computer readable storage medium
CN110502714B (en) Information detection method and device, electronic equipment and storage medium
CN111723353A (en) Identity authentication method, device, terminal and storage medium based on face recognition
CN105607958B (en) Information input method and device
CN113467854B (en) Application program starting method and device, electronic equipment and storage medium
CN108762944B (en) Processing method, device, equipment and medium of business system
CN110928595B (en) Authority operation method and device
CN107241432B (en) Message receiving method and device, electronic equipment and computer storage medium
CN106484261B (en) Information acquisition method and device, information transmission method and device, and terminal
CN112651012A (en) Information processing method and device
CN106776204B (en) Method and device for determining power consumption application
CN106846050B (en) Method, device and system for sending display notification
CN110784721A (en) Picture data compression method and device, electronic equipment and storage medium
CN114470788B (en) Abnormal user account identification method and device, electronic equipment and storage medium

Legal Events

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