CN111460103A - Information detection method and device, electronic equipment and storage medium - Google Patents
Information detection method and device, electronic equipment and storage medium Download PDFInfo
- Publication number
- CN111460103A CN111460103A CN202010246623.2A CN202010246623A CN111460103A CN 111460103 A CN111460103 A CN 111460103A CN 202010246623 A CN202010246623 A CN 202010246623A CN 111460103 A CN111460103 A CN 111460103A
- Authority
- CN
- China
- Prior art keywords
- information
- detection
- detected
- client
- determining
- 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.)
- Granted
Links
- 238000001514 detection method Methods 0.000 title claims abstract description 230
- 238000000034 method Methods 0.000 claims abstract description 31
- 238000004590 computer program Methods 0.000 claims description 18
- 238000012216 screening Methods 0.000 claims description 14
- 238000010586 diagram Methods 0.000 description 13
- 230000008569 process Effects 0.000 description 8
- 230000006870 function Effects 0.000 description 6
- 230000000903 blocking effect Effects 0.000 description 4
- 238000012545 processing Methods 0.000 description 4
- 230000009471 action Effects 0.000 description 3
- 238000012550 audit Methods 0.000 description 3
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 208000003028 Stuttering Diseases 0.000 description 1
- 230000004075 alteration Effects 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 239000003999 initiator Substances 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000000750 progressive effect Effects 0.000 description 1
- 230000003997 social interaction Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/30—Information retrieval; Database structures therefor; File system structures therefor of unstructured textual data
- G06F16/33—Querying
- G06F16/3331—Query processing
-
- A—HUMAN NECESSITIES
- A63—SPORTS; GAMES; AMUSEMENTS
- A63F—CARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
- A63F13/00—Video games, i.e. games using an electronically generated display having two or more dimensions
- A63F13/85—Providing additional services to players
- A63F13/87—Communicating with other players during game play, e.g. by e-mail or chat
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Multimedia (AREA)
- Computational Linguistics (AREA)
- Data Mining & Analysis (AREA)
- Databases & Information Systems (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Information Transfer Between Computers (AREA)
- Computer And Data Communications (AREA)
Abstract
The embodiment of the invention provides an information detection method, an information detection device, electronic equipment and a storage medium, which are applied to a server, wherein the method comprises the following steps: determining to-be-detected information sent by a first client; determining one or more second clients; sending the information to be detected to the second client; the second client is used for carrying out feature detection on the information to be detected and generating detection data; the characteristic detection is to judge whether the information to be detected contains preset shielding information; receiving the detection data; determining a detection result based on the detection data. The embodiment of the invention can reduce the operating pressure of the server and effectively prevent the server from being down or overloaded when the server detects the characteristics of a large amount of information to be detected.
Description
Technical Field
The present invention relates to the field of information technologies, and in particular, to an information detection method, an information detection apparatus, an electronic device, and a storage medium.
Background
In a massively multiplayer online game, social interaction is an important part, and a social system can enhance the game experience and the user viscosity. To prevent small portions of malicious players from abusing others and disrupting the gaming environment, masked word detection of the players' utterances is required.
The screening word detection system can be deployed on the player client, so as to avoid that the screening word detection cannot be performed due to the fact that the player client is cracked, when a player speaks, the screening word detection is performed on the server again to ensure safety generally after the player client performs the screening word detection. If the mask word detection is to be performed on the server, the computational cost is also proportional to the number of utterances of the online player per unit time, and the performance of the server is affected by the performance bottleneck of the mask word detection system.
Fig. 1 shows a block word detection process in the prior art. At present, different systems (such as a social system and the same screening word detection) are generally deployed on different processes in a server, so that the screening word detection system is prevented from occupying other system resources. And sending the text spoken by the player to the screening word detection system by the social system, and returning a detection result of the social system by the screening word system. However, when a large number of players speak, messages sent by some players will be processed by the timeout logic rather than being sent directly to the block word detection system, which may degrade their gaming experience. Meanwhile, the social system may accumulate a large amount of texts to be detected, indirectly stress the server, and may cause stuttering, which seriously affects the game experience of all online players.
Disclosure of Invention
In view of the above problems, embodiments of the present invention are proposed to provide an information detection method and a corresponding information detection apparatus, electronic device, storage medium that overcome or at least partially solve the above problems.
In order to solve the above problem, an embodiment of the present invention discloses an information detection method, which is applied to a server, and the method includes:
determining to-be-detected information sent by a first client;
determining one or more second clients;
sending the information to be detected to the second client; the second client is used for carrying out feature detection on the information to be detected and generating detection data; the characteristic detection is to judge whether the information to be detected contains preset shielding information;
receiving the detection data;
determining a detection result based on the detection data.
Optionally, the detection data comprises one of positive information and negative information; the determining a detection result based on the detection data comprises:
determining a first amount of positive information and a second amount of negative information;
and determining the detection result according to the magnitude relation between the first quantity and the second quantity.
Optionally, the determining the detection result according to the magnitude relationship between the first number and the second number includes:
when the first number is larger than the second number, determining that the detection result is legal information;
and when the first number is less than or equal to the second number, determining that the detection result is illegal information.
Optionally, before the determining the detection result according to the magnitude relationship between the first number and the second number, the method further includes:
judging whether at least one of the first quantity and the second quantity is larger than a preset first quantity threshold value;
and if the first number and the second number are not larger than a preset first number threshold, returning the first number of the positive information and the second number of the negative information.
Optionally, the receiving the detection data includes:
determining a receiving time length; the receiving duration is the difference between the current time and the time for sending the information to be detected;
determining a third amount of the received detection data when the receiving duration reaches a preset duration;
and if the third quantity is smaller than a preset second quantity threshold value, generating a detection result according to a preset rule.
Optionally, the detection data is generated by:
when the information to be detected contains the shielding information, generating negative information;
and generating positive information when the information to be detected does not contain the shielding information.
Optionally, the server is deployed with a social system and a mask word system detection system; the step of determining the to-be-detected information sent by the first client comprises the following steps:
the social system acquires social data sent by the first client;
the social system generating a detection request containing the social data;
and the screening word system receives the detection request and determines the social data in the detection request as the information to be detected.
The embodiment of the invention also discloses another information detection method which is applied to a second client, wherein the second client is determined by the server; the server is used for determining to-be-detected information sent by the first client; the server is further used for sending the information to be detected to the second client; the method comprises the following steps:
carrying out feature detection on the information to be detected;
generating detection data;
sending the detection data to the server; the server is further configured to determine a detection result based on the detection data.
The embodiment of the invention also discloses an information detection device, which is applied to the server, and the device comprises:
the information receiving module is used for determining to-be-detected information sent by the first client;
a determining module for determining one or more second clients;
the information sending module is used for sending the information to be detected to the second client; the second client is used for carrying out feature detection on the information to be detected and generating detection data;
the data receiving module is used for receiving the detection data;
and the result module is used for determining a detection result based on the detection data.
Optionally, the detection data comprises one of positive information and negative information; the result module comprises:
a number determination submodule for determining a first number of positive information and a second number of negative information;
and the relation submodule is used for determining the detection result according to the magnitude relation between the first quantity and the second quantity.
Optionally, the relationship submodule includes:
a legality unit, configured to determine that a detection result is legal information when the first number is greater than the second number;
and the illegal unit is used for determining that the detection result is illegal information when the first number is less than or equal to the second number.
Optionally, the result module further comprises:
the judging submodule is used for judging whether at least one of the first quantity and the second quantity is larger than a preset first quantity threshold value;
and the returning submodule is used for returning the first quantity of the positive determining information and the second quantity of the negative determining information if the first quantity and the second quantity are not larger than a preset first quantity threshold.
Optionally, the data receiving module includes:
the receiving time length submodule is used for determining the receiving time length; the receiving duration is the difference between the current time and the time for sending the information to be detected;
the time length submodule is used for determining the third quantity of the received detection data when the receiving time length reaches the preset time length;
and the local generation module is used for generating a detection result according to a preset rule if the third quantity is smaller than a preset second quantity threshold.
Optionally, the second client includes the following modules:
the negative module is used for generating negative information when the information to be detected contains the shielding information;
and the affirmation module is used for generating affirmation information when the information to be detected does not contain the shielding information.
Optionally, the server is deployed with a social system and a mask word system detection system; the information receiving module is used for calling the social system to acquire social data sent by the first client;
the information receiving module is further used for calling the social system to generate a detection request containing the social data;
the information receiving module is further configured to invoke the mask word system to receive the detection request, and determine that social data in the detection request is to-be-detected information.
The embodiment of the invention also discloses another information detection device which is applied to a second client, wherein the second client is determined by the server; the server is used for determining to-be-detected information sent by the first client; the server is further used for sending the information to be detected to the second client; the device comprises:
the detection module is used for carrying out characteristic detection on the information to be detected;
the generating module is used for generating detection data;
the data sending module is used for sending the detection data to the server; the server is further configured to determine a detection result based on the detection data.
The embodiment of the invention also discloses an electronic device, which comprises a processor, a memory and a computer program which is stored on the memory and can run on the processor, wherein when the computer program is executed by the processor, the steps of the information detection method are realized.
The embodiment of the invention also discloses a computer readable storage medium, wherein a computer program is stored on the computer readable storage medium, and the steps of the information detection method are realized when the computer program is executed by a processor.
The embodiment of the invention has the following advantages: the server can send the information to be detected to the second client after receiving the information to be detected sent by the first client. The second client can perform feature detection on the information to be detected, judge whether the information to be detected contains shielding information or not, generate corresponding detection data, and send the detection data to the server. The server can generate a detection result based on the received detection data, so that the condition that the server is down or overloaded when the server detects the characteristics of a large amount of information to be detected is effectively prevented from being detected by adopting the server to detect the characteristics of the information to be detected, the operating pressure of the server is reduced, and the server is effectively prevented from detecting the characteristics of the large amount of information to be detected. Meanwhile, the situation that the first client side sends the social data containing the shielding information to the server under the cracked condition is avoided.
Drawings
FIG. 1 is a block diagram of a block word detection process of the prior art;
FIG. 2 is a flow chart of steps of a first embodiment of an information detection method of the present invention;
FIG. 3 is a flow chart of an information detection method according to the present invention;
FIG. 4 is a flowchart illustrating steps of a second embodiment of an information detection method according to the present invention;
FIG. 5 is a block diagram of a first embodiment of an information detecting apparatus according to the present invention;
fig. 6 is a block diagram of a second embodiment of an information detection apparatus according to the present invention.
Detailed Description
In order to make the aforementioned objects, features and advantages of the present invention comprehensible, embodiments accompanied with figures are described in further detail below.
Referring to fig. 2, a flowchart of a first step of an information detection method embodiment of the present invention is shown, where the embodiment of the present invention may be applied to a server, and specifically may include the following steps:
the server can be connected and communicated with a plurality of clients, the clients can provide social function, and the users communicate with other users through the social function of the clients. The client may send social data to the server, such as: character information, image information, and the like. The server defines the client side sending the social data as a first client side, and determines that the received social data is the information to be detected.
the server may determine that one or more clients other than the first client (i.e., sending social data) are second clients.
It should be noted that the second client is not a specific client, but is directed to the first client sending the social data. For example: if the client 1, the client 2 and the client 3 exist, when the client 1 sends the social data, a second client can be determined from the client 2 and the client 3; when client 2 sends social data, the second client may be determined from client 1 and client 3.
In practical applications, the server may obtain device states (e.g., performance states, load states, etc.) of some clients other than the first client, and determine the second client according to the state information. For example: and selecting the client with the low load state as a second client. Therefore, the situation that the equipment where the second client is located cannot normally operate due to characteristic detection of the second client is avoided.
the server sends the information to be detected to the determined second client, and the second client can perform feature detection (for example, character feature detection and image feature detection) on the information to be detected when receiving the information to be detected, judge whether the information to be detected contains feature information, and generate corresponding detection data. The shielding information may include, but is not limited to, character information that needs to be shielded, image information that needs to be shielded, and the like.
the server can receive the detection data returned by the second client.
Since the detection data generated by different clients for the same information to be detected may be different, the server may determine the detection result based on a plurality of received detection data. The detection result is used for representing whether the information to be detected contains shielding information.
In the embodiment of the present invention, the server may send the information to be detected to the second client after receiving the information to be detected sent by the first client. The second client can perform feature detection on the information to be detected, judge whether the information to be detected contains shielding information or not, generate corresponding detection data, and send the detection data to the server. The server can generate a detection result based on the received detection data, so that the condition that the server is down or overloaded when the server detects the characteristics of a large amount of information to be detected is effectively prevented from being detected by adopting the server to detect the characteristics of the information to be detected, the operating pressure of the server is reduced, and the server is effectively prevented from detecting the characteristics of the large amount of information to be detected. Meanwhile, the situation that the first client side sends the social data containing the shielding information to the server under the cracked condition is avoided.
In an optional embodiment of the present invention, the server is deployed with a social system and a mask word system detection system; step 201 may include:
the social system acquires social data sent by the first client; the social system generating a detection request containing the social data;
and the screening word system receives the detection request and determines the social data in the detection request as the information to be detected.
The social system and the mask word system of the server can be deployed in different threads, so that the operation of one of the social system and the mask word system is prevented from being influenced when the other one of the social system and the mask word system is in error or overload.
The social system in the server is configured to receive and send the social data of the client, the social system may generate a corresponding detection request for each piece of social data, the blocking word system determines the information to be detected after receiving the detection request, and the blocking word system performs step 202 and step 205.
In an optional embodiment of the invention, the detection data comprises one of positive information and negative information; the detection data is generated by the following method: when the information to be detected contains the shielding information, generating negative information; and generating positive information when the information to be detected does not contain the shielding information.
The second client may be preset with a database containing the shielding information, and perform feature detection through the database to determine whether the information to be detected contains any shielding information in the database. Specifically, the second client performs feature detection on the information to be detected, and generates negative information and generates detection data including the negative information when it is determined that the information to be detected includes the shielding information. Similarly, when the second client performs feature detection on the information to be detected and determines that the information to be detected does not contain the shielding information, the second client generates the positive information and generates the detection data containing the positive information.
In an alternative embodiment of the present invention, step 204 may comprise: determining a receiving time length; the receiving duration is the difference between the current time and the time for sending the information to be detected; determining a third amount of the received detection data when the receiving duration reaches a preset duration; and if the third quantity is smaller than a preset second quantity threshold value, generating a detection result according to a preset rule.
The server can determine the receiving time length of the second client after sending the information to be detected to the second client, determine the third quantity of the received detection data when the receiving time length reaches the preset time length, and if the third quantity is smaller than the preset second quantity threshold, the server generates the detection result according to the preset rule, so that the server can still generate the corresponding detection result when the server cannot receive the detection data meeting the second quantity threshold for a long time. The preset rule is that the server judges whether the information to be detected contains any shielding information of the local shielding information base.
For example: the preset time is 0.5 second, and the second number threshold is 1. And after the server sends the information to be detected to the second client, judging whether the receiving time length reaches 0.5 second. And if the detection data are not received by the server after 0.5 second, the server calls a locally set shielding information base to perform characteristic detection on the information to be detected and generates a corresponding detection result. Wherein, the shielding information base comprises one or more shielding information. When the server determines that the information to be detected contains the shielding information, generating a detection result as illegal information; and when the server determines that the information to be detected does not contain the shielding information, generating a detection result as legal information.
In an alternative embodiment of the present invention, step 205 may comprise:
a substep S11 of determining a first amount of positive information and a second amount of negative information;
and a substep S12, determining the detection result according to the magnitude relation between the first quantity and the second quantity.
The server may determine that the number of pieces of detected data of the acquired positive information is a first number, and determine that the number of pieces of detected data of the acquired negative information is a second number. And determining the detection result according to the magnitude relation between the first quantity and the second quantity.
In an alternative embodiment of the present invention, before sub-step S12, step 105 may further include:
a substep S13, determining whether at least one of the first number and the second number is greater than a preset first number threshold;
substep S14, returning the first number of positive information and the second number of negative information if neither the first number nor the second number is greater than a preset first number threshold.
The server may be provided with a first number threshold, and when at least one of the first number or the second number is greater than the first number threshold, the sub-step S12 is executed to avoid that the number of the positive information or the negative information is too small, so that the accuracy and the reliability of the detection result are too low.
For example: when more than 3 positive or negative messages are received, substep S12 is performed, otherwise, substep S11 is returned.
In an alternative embodiment of the present invention, the S12 includes:
substep S121, determining that the detection result is legal information when the first number is greater than the second number;
and a substep S122, determining that the detection result is illegal information when the first number is less than or equal to the second number.
When the number of the positive information acquired by the server is larger than that of the negative information, determining that the detection result is legal information, namely determining that the information to be detected is legal information, wherein the information to be detected does not contain shielding information; and when the number of the positive information acquired by the server is less than or equal to the number of the negative information, determining that the detection result is illegal information, namely determining that the information to be detected is illegal information, wherein the information to be detected comprises shielding information.
When the server determines that the detection result is legal information, the server sends the information to be detected to a client connected with the server; and when the server determines that the check result is illegal information, the server shields the information to be detected and sends a prompt message to the first client corresponding to the information to be detected. The server may specifically shield the information to be detected without sending the information to be detected to the connected client, or send the information to be detected to the connected client after the shielding information in the information to be detected is provided.
The following further describes embodiments of the present invention by way of an example.
Referring to fig. 3, which shows a schematic flow chart of an information detection method according to the present invention, a server is in communication connection with a client a, a client B, a client C, a client D, a client E, and a client F.
After receiving a message (social data) sent by a client A (hereinafter referred to as a client A) (a first client), a social system and the like on a server initiate a text auditing task (detection request) to a mask word detection system; after the server determines that the guest B, the guest C, the guest D, the guest E and the guest F are second clients, the blocking word detection system forwards the received texts to the guest B, the guest C, the guest D, the guest E and the guest F, so that the second clients can perform blocking word detection; after receiving the text transmitted by the server, the second client detects the text by using a local word screening library and sends a result (detection data) back to a word screening detection system on the server; and finally, the screening word detection system comprehensively processes the detection result sent by the client according to the set rule to obtain an audit result (detection result), and sends the audit result back to the initiator (social system and the like) of the audit task.
Referring to fig. 4, a flowchart illustrating steps of a second embodiment of the information detection method according to the present invention is shown, where the second embodiment of the present invention may be applied to a second client, where the second client is determined by a server; the server is used for determining to-be-detected information sent by the first client; the server is further used for sending the information to be detected to the second client; the embodiment of the invention specifically comprises the following steps:
It should be noted that, for simplicity of description, the method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the present invention is not limited by the illustrated order of acts, as some steps may occur in other orders or concurrently in accordance with the embodiments of the present invention. Further, those skilled in the art will appreciate that the embodiments described in the specification are presently preferred and that no particular act is required to implement the invention.
Referring to fig. 5, a block diagram of a first structure of an information detecting apparatus according to a first embodiment of the present invention is shown, where the first structure may be applied to a server, and specifically includes the following modules:
an information receiving module 501, configured to determine to-be-detected information sent by a first client;
a determining module 502 for determining one or more second clients;
an information sending module 503, configured to send the to-be-detected information to the second client; the second client is used for carrying out feature detection on the information to be detected and generating detection data;
a data receiving module 504, configured to receive the detection data;
a result module 505, configured to determine a detection result based on the detection data.
In an optional embodiment of the invention, the detection data comprises one of positive information and negative information; the result module 505 comprises:
a number determination submodule for determining a first number of positive information and a second number of negative information;
and the relation submodule is used for determining the detection result according to the magnitude relation between the first quantity and the second quantity.
In an optional embodiment of the invention, the relationship submodule comprises:
a legality unit, configured to determine that a detection result is legal information when the first number is greater than the second number;
and the illegal unit is used for determining that the detection result is illegal information when the first number is less than or equal to the second number.
In an alternative embodiment of the present invention, the result module 505 further comprises:
the judging submodule is used for judging whether at least one of the first quantity and the second quantity is larger than a preset first quantity threshold value;
and the returning submodule is used for returning the first quantity of the positive determining information and the second quantity of the negative determining information if the first quantity and the second quantity are not larger than a preset first quantity threshold.
In an optional embodiment of the present invention, the data receiving module 504 includes:
the receiving time length submodule is used for determining the receiving time length; the receiving duration is the difference between the current time and the time for sending the information to be detected;
the time length submodule is used for determining the third quantity of the received detection data when the receiving time length reaches the preset time length;
and the local generation submodule is used for generating a detection result according to a preset rule if the third quantity is smaller than a preset second quantity threshold.
In an optional embodiment of the present invention, the second client includes the following modules:
the negative module is used for generating negative information when the information to be detected contains the shielding information;
and the affirmation module is used for generating affirmation information when the information to be detected does not contain the shielding information.
In an optional embodiment of the present invention, the server is deployed with a social system and a mask word system detection system; the information receiving module 501 is configured to invoke the social system to obtain social data sent by the first client; the information receiving module 501 is further configured to invoke the social system to generate a detection request containing the social data; the information receiving module 501 is further configured to invoke the mask word system to receive the detection request, and determine that social data in the detection request is to-be-detected information.
Referring to fig. 6, a block diagram of a second embodiment of the information detecting apparatus according to the present invention is shown, and the second embodiment of the information detecting apparatus is applied to a second client, where the second client is determined by a server; the server is used for determining to-be-detected information sent by the first client; the server is further used for sending the information to be detected to the second client; the device comprises:
the detection module 601 is configured to perform feature detection on the to-be-detected information;
a generating module 602, configured to generate detection data;
a data sending module 603, configured to send the detection data to the server; the server is further configured to determine a detection result based on the detection data.
For the device embodiment, since it is basically similar to the method embodiment, the description is simple, and for the relevant points, refer to the partial description of the method embodiment.
The embodiment of the invention also discloses an electronic device, which comprises a processor, a memory and a computer program which is stored on the memory and can run on the processor, wherein when the computer program is executed by the processor, the steps of the information detection method are realized.
The embodiment of the invention also discloses a computer readable storage medium, wherein a computer program is stored on the computer readable storage medium, and the steps of the information detection method are realized when the computer program is executed by a processor.
The embodiments in the present specification are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, apparatus, or computer program product. Accordingly, embodiments of the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, embodiments of the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
Embodiments of the present invention are described with reference to flowchart illustrations and/or block diagrams of methods, terminal devices (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing terminal to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing terminal, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing terminal to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing terminal to cause a series of operational steps to be performed on the computer or other programmable terminal to produce a computer implemented process such that the instructions which execute on the computer or other programmable terminal provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While preferred embodiments of the present invention have been described, additional variations and modifications of these embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all such alterations and modifications as fall within the scope of the embodiments of the invention.
Finally, it should also be noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or terminal that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or terminal. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or terminal that comprises the element.
The information detection method, the information detection device, the electronic device and the storage medium provided by the invention are described in detail, a specific example is applied in the text to explain the principle and the implementation of the invention, and the description of the above embodiment is only used to help understand the method and the core idea of the invention; meanwhile, for a person skilled in the art, according to the idea of the present invention, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present invention.
Claims (12)
1. An information detection method is applied to a server, and the method comprises the following steps:
determining to-be-detected information sent by a first client;
determining one or more second clients;
sending the information to be detected to the second client; the second client is used for carrying out feature detection on the information to be detected and generating detection data; the characteristic detection is to judge whether the information to be detected contains preset shielding information;
receiving the detection data;
determining a detection result based on the detection data.
2. The method of claim 1, wherein the detection data comprises one of positive information and negative information; the determining a detection result based on the detection data comprises:
determining a first amount of positive information and a second amount of negative information;
and determining the detection result according to the magnitude relation between the first quantity and the second quantity.
3. The method of claim 2, wherein the determining the detection result according to the magnitude relationship between the first number and the second number comprises:
when the first number is larger than the second number, determining that the detection result is legal information;
and when the first number is less than or equal to the second number, determining that the detection result is illegal information.
4. The method according to claim 2 or 3, wherein before determining the detection result according to the magnitude relationship between the first number and the second number, the method further comprises:
judging whether at least one of the first quantity and the second quantity is larger than a preset first quantity threshold value;
and if the first number and the second number are not larger than a preset first number threshold, returning the first number of the positive information and the second number of the negative information.
5. The method of claim 1, wherein the receiving the detection data comprises:
determining a receiving time length; the receiving duration is the difference between the current time and the time for sending the information to be detected;
determining a third amount of the received detection data when the receiving duration reaches a preset duration;
and if the third quantity is smaller than a preset second quantity threshold value, generating a detection result according to a preset rule.
6. A method according to claim 2 or 3, wherein the detection data is generated by:
when the information to be detected contains the shielding information, generating negative information;
and generating positive information when the information to be detected does not contain the shielding information.
7. The method of claim 1, 2 or 3, wherein the server is deployed with a social system and a mask word system detection system; the step of determining the to-be-detected information sent by the first client comprises the following steps:
the social system acquires social data sent by the first client;
the social system generating a detection request containing the social data;
and the screening word system receives the detection request and determines the social data in the detection request as the information to be detected.
8. An information detection method is applied to a second client, wherein the second client is determined by a server; the server is used for determining to-be-detected information sent by the first client; the server is further used for sending the information to be detected to the second client; the method comprises the following steps:
carrying out feature detection on the information to be detected;
generating detection data;
sending the detection data to the server; the server is further configured to determine a detection result based on the detection data.
9. An information detection apparatus, applied to a server, the apparatus comprising:
the information receiving module is used for determining to-be-detected information sent by the first client;
a determining module for determining one or more second clients;
the information sending module is used for sending the information to be detected to the second client; the second client is used for carrying out feature detection on the information to be detected and generating detection data;
the data receiving module is used for receiving the detection data;
and the result module is used for determining a detection result based on the detection data.
10. An information detection device is applied to a second client, and the second client is determined by a server; the server is used for determining to-be-detected information sent by the first client; the server is further used for sending the information to be detected to the second client; the device comprises:
the detection module is used for carrying out characteristic detection on the information to be detected;
the generating module is used for generating detection data;
the data sending module is used for sending the detection data to the server; the server is further configured to determine a detection result based on the detection data.
11. An electronic device, comprising a processor, a memory, and a computer program stored on the memory and capable of running on the processor, the computer program, when executed by the processor, implementing the steps of the information detection method according to any one of claims 1 to 8.
12. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the steps of the information detection method according to any one of claims 1 to 8.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010246623.2A CN111460103B (en) | 2020-03-31 | 2020-03-31 | Information detection method and device, electronic equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010246623.2A CN111460103B (en) | 2020-03-31 | 2020-03-31 | Information detection method and device, electronic equipment and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN111460103A true CN111460103A (en) | 2020-07-28 |
CN111460103B CN111460103B (en) | 2024-01-16 |
Family
ID=71682436
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010246623.2A Active CN111460103B (en) | 2020-03-31 | 2020-03-31 | Information detection method and device, electronic equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111460103B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113645214A (en) * | 2021-08-03 | 2021-11-12 | 北京百度网讯科技有限公司 | Data detection method and device, electronic equipment and readable storage medium |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20110276513A1 (en) * | 2010-05-10 | 2011-11-10 | Avaya Inc. | Method of automatic customer satisfaction monitoring through social media |
CN108452525A (en) * | 2017-12-25 | 2018-08-28 | 福建省天奕网络科技有限公司 | The monitoring method and system of chat message in a kind of game |
CN109347700A (en) * | 2018-11-02 | 2019-02-15 | 网易(杭州)网络有限公司 | A kind of test method, device, electronic equipment and storage medium |
CN109831698A (en) * | 2018-12-28 | 2019-05-31 | 广州华多网络科技有限公司 | Signal auditing method, device, electronic equipment and computer-readable storage medium |
CN110247824A (en) * | 2019-06-21 | 2019-09-17 | 网易(杭州)网络有限公司 | A kind of test method and device, electronic equipment, storage medium of gaming network |
CN110929129A (en) * | 2018-08-31 | 2020-03-27 | 阿里巴巴集团控股有限公司 | Information detection method, equipment and machine-readable storage medium |
-
2020
- 2020-03-31 CN CN202010246623.2A patent/CN111460103B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20110276513A1 (en) * | 2010-05-10 | 2011-11-10 | Avaya Inc. | Method of automatic customer satisfaction monitoring through social media |
CN108452525A (en) * | 2017-12-25 | 2018-08-28 | 福建省天奕网络科技有限公司 | The monitoring method and system of chat message in a kind of game |
CN110929129A (en) * | 2018-08-31 | 2020-03-27 | 阿里巴巴集团控股有限公司 | Information detection method, equipment and machine-readable storage medium |
CN109347700A (en) * | 2018-11-02 | 2019-02-15 | 网易(杭州)网络有限公司 | A kind of test method, device, electronic equipment and storage medium |
CN109831698A (en) * | 2018-12-28 | 2019-05-31 | 广州华多网络科技有限公司 | Signal auditing method, device, electronic equipment and computer-readable storage medium |
CN110247824A (en) * | 2019-06-21 | 2019-09-17 | 网易(杭州)网络有限公司 | A kind of test method and device, electronic equipment, storage medium of gaming network |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113645214A (en) * | 2021-08-03 | 2021-11-12 | 北京百度网讯科技有限公司 | Data detection method and device, electronic equipment and readable storage medium |
CN113645214B (en) * | 2021-08-03 | 2023-08-15 | 北京百度网讯科技有限公司 | Data detection method, device, electronic equipment and readable storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN111460103B (en) | 2024-01-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7516220B1 (en) | Method and system for detecting and deterring robot access of web-based interfaces by using minimum expected human response time | |
CN108933713B (en) | Method and device for realizing sandbox debugging based on shadow link and business server | |
CN109302423B (en) | Vulnerability scanning capability testing method and device | |
CN107733883B (en) | Method and device for detecting account numbers registered in batches | |
CA3024889C (en) | Method and device for preventing server from being attacked | |
CN113055399A (en) | Attack success detection method, system and related device for injection attack | |
CN108668241B (en) | Information reminding method and device, storage medium and electronic equipment | |
CN111460103B (en) | Information detection method and device, electronic equipment and storage medium | |
CN111031111A (en) | Page static resource access method, device and system | |
CN113010892B (en) | Method and device for detecting malicious behavior of small program | |
WO2022062478A1 (en) | Method and apparatus for detecting arbitrary account password reset logic vulnerability, and medium | |
CN113364784A (en) | Detection parameter generation method and device, electronic equipment and storage medium | |
CN115270126B (en) | Method and device for detecting Java memory horse, electronic equipment and storage medium | |
CN106911686B (en) | WebShell detection method and device | |
CN113158187B (en) | Method and device for detecting click hijacking and electronic equipment | |
CN110175453B (en) | Method and device for judging cheating operation | |
CN112905449B (en) | Target test method, device, equipment and storage medium | |
US10904236B1 (en) | Methods and systems for identifying and authorizing a user based on a mini-game login | |
US20170262904A1 (en) | Weighted reviews of applications based on usage history | |
CN111711642A (en) | Protocol request processing method and device, electronic equipment and storage medium | |
CN107172106B (en) | Security information interaction method and system | |
CN105100060B (en) | Electronic equipment authenticity verification method and device | |
CN110955895B (en) | Operation interception method and device and computer readable storage medium | |
JP6875579B2 (en) | Machine learning-based identification of corrupted network connections | |
CN114222002B (en) | Service request processing method and device, storage medium and electronic equipment |
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 |