CN110704466B - Black product data storage method and device - Google Patents

Black product data storage method and device Download PDF

Info

Publication number
CN110704466B
CN110704466B CN201910925605.4A CN201910925605A CN110704466B CN 110704466 B CN110704466 B CN 110704466B CN 201910925605 A CN201910925605 A CN 201910925605A CN 110704466 B CN110704466 B CN 110704466B
Authority
CN
China
Prior art keywords
product data
black product
node
level
data
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
CN201910925605.4A
Other languages
Chinese (zh)
Other versions
CN110704466A (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.)
Wuhan Jiyi Network Technology Co ltd
Original Assignee
Wuhan Jiyi Network 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 Wuhan Jiyi Network Technology Co ltd filed Critical Wuhan Jiyi Network Technology Co ltd
Priority to CN201910925605.4A priority Critical patent/CN110704466B/en
Publication of CN110704466A publication Critical patent/CN110704466A/en
Application granted granted Critical
Publication of CN110704466B publication Critical patent/CN110704466B/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/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/23Updating

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The embodiment of the invention provides a black product data storage method and a device, wherein the method comprises the following steps: when a first node in the wind control system receives a black product data updating request, acquiring corresponding first black product data; the first node merges the first black product data into a first level, wherein the first level is a level with the shortest effective duration in a plurality of levels divided by the first node according to the length sequence of the effective durations of the black product data; the first node sends the black product data of the first level to a second node for the second node to synchronously update the black product data, wherein the second node is a node except the first node in the wind control system; periodically detecting whether the effective duration of black product data in each level is greater than the preset duration corresponding to the level; and when the effective duration of the black product data is longer than the preset duration corresponding to the level, extracting the corresponding black product data and moving to the next level. By adopting the method, the black product data can be updated in real time.

Description

Black product data storage method and device
Technical Field
The invention relates to the field of risk assessment, in particular to a black product data storage method and device.
Background
With the rapid development of internet technology and applications, more and more black industry (abbreviated as "black product") business applications related to the internet are generated, and common black industry businesses include malicious advertisement push, mobile phone application distribution, trojan horse brushing amount and the like.
At present, the solution to the above-mentioned illegal means is usually to store blackjack feature metadata (including blackjack collection number, IP address, and account for attack) related to blackjack services in a database in a package manner, and then judge whether the current data is blackjack data according to the stored blackjack feature metadata, so as to achieve the purpose of internet wind control.
However, the above method for packaging black product feature data needs to package the received black product data after receiving a certain amount of black product data every fixed time, and transmit the black product data to the local, and update the black product data only by performing local data update, and cannot update the black product data in real time.
Disclosure of Invention
Aiming at the problems in the prior art, the embodiment of the invention provides a black product data storage method capable of updating black product data in real time.
The embodiment of the invention provides a black product data storage method, which comprises the following steps:
when a first node in the wind control system receives a black product data updating request, acquiring first black product data corresponding to the black product data updating request;
the first node merges the first black production data into a first level, wherein the first level is a level with the shortest effective duration in a plurality of levels which are divided by the first node according to the length sequence of the effective durations of the black production data;
the first node sends the black product data of the first level to a second node for the second node to synchronously update the black product data, wherein the second node is a node except the first node in the wind control system;
the first node acquires a preset period, and periodically detects whether the effective duration of black product data in each level of the first node is longer than the preset duration corresponding to the level according to the preset period;
and when the effective duration of the black product data is longer than the preset duration corresponding to the level, extracting the black product data with the effective duration longer than the preset duration corresponding to the level, and merging the black product data to the next level.
In one embodiment, the method further comprises:
the first node detects whether black product data repeated information fed back by the second node is received;
when the first node does not receive the repeated information of the black product data fed back by the second node, acquiring the next level of the first level as the level to be updated, and continuously sending the black product data of the level to be updated to the second node until the first node receives the repeated information of the black product data fed back by the second node.
In one embodiment, the method further comprises:
the first node periodically detects whether the effective duration of the black product data in each level in the first node is longer than the effective duration corresponding to the black product data according to the preset period;
and deleting the black product data with the effective duration longer than the effective duration corresponding to the black product data when the effective duration of the black product data is longer than the effective duration corresponding to the black product data.
In one embodiment, the method further comprises:
when the first node receives a black product data searching request, acquiring third black product data corresponding to the black product data searching request;
the first node acquires second black product data stored in the memory and matches the third black product data with the second black product data stored in the memory;
and when the black product data in the second black product data stored in the memory are matched with the third black product data, outputting a risk result of the third black product data.
In one embodiment, the method further comprises:
and when the second black product data stored in the memory does not have the matching of the third black product data and the black product data, the third black product data and the black product data of the first level are matched step by step until the black product data matched with the third black product data are matched, and a risk result of the third black product data is output.
An embodiment of the present invention provides a black product data storage device, including:
the receiving module is used for acquiring first black product data corresponding to the black product data updating request when the black product data updating request is received;
the merging module is used for merging the first black product data into a first level, and the first level is a level with the shortest effective duration in a plurality of levels divided by a first node according to the length sequence of the effective durations of the black product data;
the sending module is used for sending the black product data of the first level to a second node for the second node to synchronously update the black product data, and the second node is a node except the first node in the wind control system;
the detection module is used for acquiring a preset period and periodically detecting whether the effective duration of black product data in each level of the first node is longer than the preset duration corresponding to the level according to the preset period;
and the extracting module is used for extracting the black product data with the effective duration longer than the preset duration corresponding to the hierarchy and merging the black product data with the effective duration longer than the preset duration corresponding to the hierarchy into the next hierarchy.
In one embodiment, the apparatus further comprises:
the second detection module is used for detecting whether black product data repeated information fed back by the second node is received or not;
and the second sending module is used for acquiring the next level of the first level as the level to be updated when the repeated black product data information fed back by the second node is not received, and continuously sending the black product data of the level to be updated to the second node until the first node receives the repeated black product data information fed back by the second node.
In one embodiment, the apparatus further comprises:
a third detection module, configured to periodically detect, according to the preset period, whether an effective duration of black product data exists in each level in the first node is longer than an effective duration corresponding to the black product data;
and the deleting module is used for deleting the black product data with the effective duration longer than the effective duration corresponding to the black product data when the effective duration of the black product data is longer than the effective duration corresponding to the black product data.
The embodiment of the invention provides electronic equipment, which comprises a memory, a processor and a computer program which is stored on the memory and can run on the processor.
An embodiment of the present invention provides a non-transitory computer readable storage medium, on which a computer program is stored, wherein the computer program, when executed by a processor, implements the steps of the black product data storage method.
According to the method and the device for storing the black product data, the new black product data received by the first node are stored in the black product data according to the latest data level in the data hierarchy of the effective duration, the data volume of the black product data of each layer is smaller by the hierarchical storage method, the black product data are updated more flexibly, the hierarchy with the new black product data is sent to other nodes in the wind control system, all the nodes in the wind control system can update the black product data in real time, whether the effective duration of each hierarchy exceeds the preset duration of the hierarchy or not can be detected regularly, and when the effective duration exceeds the preset duration of the hierarchy, the black product data can be updated to the next hierarchy, and the synchronization of the black product data is facilitated. The method enables the wind control system to update the black product data in real time.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and those skilled in the art can also obtain other drawings according to the drawings without creative efforts.
FIG. 1 is a flow chart of a method for storing black product data according to an embodiment of the present invention;
FIG. 2 is a block diagram of a black product data storage device according to an embodiment of the present invention;
fig. 3 is a schematic structural diagram of an electronic device in an embodiment of the invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Fig. 1 is a schematic flow diagram of a black product data storage method according to an embodiment of the present invention, and as shown in fig. 1, the embodiment of the present invention provides a black product data storage method, including:
step S101, when a first node in a wind control system receives a black product data updating request, first black product data corresponding to the black product data updating request are obtained.
Specifically, the first blackout data corresponding to the blackout data update request may be data that needs to be updated to enter the wind control system for the wind control system of the blackout data, the first node may be any node in the wind control system, and when the first node receives the blackout data update request from outside the wind control system, for example, through an application program interface of the first node, the first blackout data that needs to be updated and is included in the update request is obtained.
Step S102, the first node merges the first black product data into a first hierarchy, where the first hierarchy is a hierarchy with the shortest effective duration among a plurality of hierarchies into which the first node is divided according to the length order of the effective durations of the black product data.
Specifically, after receiving the first blackout data, the first node merges the first blackout data into the first hierarchy. The grading of the black product data can be that the first node divides the effective time length according to the black product data into various grades, wherein the effective time length is the time length of the black product data from being issued to the internet at the current moment, namely the time length of the black product data influencing the internet, each grade can be that the effective time lengths are sorted from short to long, the shorter the effective time length is, the newer the corresponding black product data is, the grading of the data can also be carried out according to the order of the effective time lengths from short to long, the data with the shortest effective time length is divided into a first grade and the second grade, and so on, the grading of the black product data is carried out, after the first node receives the first black product data, the latest first black product data needing to be updated is merged into the first grade with the shortest effective time length, in addition, the grading of the data can separately store huge amounts of the black product data, and simultaneously, the load of each node is also reduced.
Step S103, the first node sends the black product data of the first level to a second node for the second node to synchronously update the black product data, and the second node is a node in the wind control system except the first node.
Specifically, after merging newly received first black product data which needs to be updated into a first hierarchy, the first node sends the first hierarchy where the first black product data is located to a second node, namely, other nodes in the wind control system, so that all the nodes in the wind control system can complete the update of the black product data in real time.
Step S104, the first node acquires a preset period, and periodically detects whether the effective duration of black production data in each level of the first node is longer than the preset duration corresponding to the level according to the preset period.
Specifically, the preset period may be set according to an explosion rule of the black product data, and after the first node obtains the preset period, the first node periodically detects whether the effective duration of the black product data in each level of the first node is greater than the preset duration corresponding to the level, for example, the preset duration corresponding to the black product data in the first level is: if the effective time is less than 6 hours, that is, black product data newly burst within 6 hours, the first node detects the first level every preset period, and the effective time of whether the black product data exists is more than 6 hours.
Step S105, when the effective duration of the black product data is longer than the preset duration corresponding to the level, extracting the black product data with the effective duration longer than the preset duration corresponding to the level, and merging the black product data to the next level.
Specifically, when it is periodically detected that the effective duration of the black product data is longer than the preset duration corresponding to the hierarchy according to a preset period, for example, when the effective duration of the black product data existing in the first hierarchy is longer than 6 hours (the preset duration of the first hierarchy), the black product data with the effective duration longer than 6 hours is merged to the next hierarchy of the first hierarchy.
According to the adaptation method and device for the wind control rule engine, the new black product data received by the first node are stored in the black product data according to the latest data level in the data hierarchy of the effective time length, the data volume of the black product data of each layer is smaller by the hierarchical storage method, the black product data are updated more flexibly, the hierarchy with the new black product data is sent to other nodes in the wind control system, all the nodes in the wind control system can update the black product data in real time, and finally whether the effective time length of each hierarchy exceeds the preset time length of the hierarchy or not is regularly detected, and when the effective time length of each hierarchy exceeds the preset time length of the hierarchy, the black product data are updated to the next hierarchy, so that the synchronization of the black product data is facilitated. The method enables the wind control system to update the black product data in real time.
On the basis of the above embodiment, the black product data storage method further includes:
the first node detects whether black product data repeated information fed back by the second node is received;
when the first node does not receive the repeated information of the black product data fed back by the second node, acquiring the next level of the first level as the level to be updated, and continuously sending the black product data of the level to be updated to the second node until the first node receives the repeated information of the black product data fed back by the second node.
In the embodiment of the present invention, the duplicate information of the black product data may be information that is fed back to the first node when the second node finds that the first-level black product data prestored in the second node is duplicated with the data sent by the first node, and the second node merges with the black product data prestored in the second node after receiving the first-level data containing the first black product data sent by the first node. After the first node updates the data of the wind control system at the first level where the first black product data needing to be updated is located, the first node acquires the next level of the first level, and sends the next level to the second node as the level to be updated for data updating, because the black product data prestored in each node may have differences, until the first node receives the black product data repeated information fed back by the second node, the black product data of the level to be updated of the first node is repeated with the black product data prestored in the second node, the black product data of the subsequent level is updated, and the black product data is stopped being sent to the second node.
In the embodiment of the invention, the first node detects whether the repeated information of the black product data fed back by the second node is received or not to judge whether the black product data is continuously sent to the second node or not, and the black product data is updated, so that the wind control system is prevented from continuously updating the updated black product data and wasting resources.
On the basis of the above embodiment, the black product data storage method further includes:
the first node jacks and detects whether the effective duration of black product data exists in each level in the first node is longer than the effective duration corresponding to the black product data or not according to the preset period;
and deleting the black product data with the effective duration longer than the effective duration corresponding to the black product data when the effective duration of the black product data is longer than the effective duration corresponding to the black product data.
In the embodiment of the present invention, the effective duration corresponding to the black product data is the "lifetime" of the black product data, that is, the "lifetimes" of the black product data are different from each other from the beginning of the impact of the black product data to the end of the impact of the black product data. After the first node obtains the preset period, whether the effective duration of the black product data in each level in the first node is larger than the effective duration corresponding to the black product data is detected regularly according to the preset period, and when the effective duration of the black product data is larger than the effective duration corresponding to the black product data, the black product data is not dangerous, and the black product data is deleted in the wind control system.
According to the embodiment of the invention, whether the effective duration of the black product data is longer than the effective duration corresponding to the black product data is periodically detected, so that the wind control system can conveniently delete the black product data without risk, and resources are saved.
On the basis of the above embodiment, the black product data storage method further includes:
when the first node receives a black product data searching request, acquiring third black product data corresponding to the black product data searching request;
the first node acquires second black product data stored in the memory and matches the third black product data with the second black product data stored in the memory;
and when the black product data in the second black product data stored in the memory are matched with the third black product data, outputting a risk result of the third black product data.
In the embodiment of the present invention, the third blackout data corresponding to the blackout data search request may be a request for detecting whether the third blackout data has a risk for the wind control system, that is, whether data matched with the third blackout data exists in the wind control system is detected, that is, there is a risk in the data corresponding to the blackout data search request. After receiving the black product data searching request, the first node acquires third black product data corresponding to the searching request, matches the third black product data with second black product data in a pre-stored memory, and outputs a result that the third black product data is risky when the matched second black product data exists.
According to the embodiment of the invention, the black product data corresponding to the search request is matched with the second black product data pre-stored in the memory by receiving the black product data search request at the first node, so that the matching time is saved.
On the basis of the above embodiment, the black product data storage method further includes:
and when the second black product data stored in the memory does not have the matching of the third black product data and the black product data, the third black product data and the black product data of the first level are matched step by step until the black product data matched with the third black product data are matched, and a risk result of the third black product data is output.
In the embodiment of the present invention, when there is no matching between the black product data and the third black product data in the second black product data, indicating that the pre-stored black product data does not exist in the data matched with the black product data corresponding to the black product data searching request, the third blackout data is matched with the result of data classification step by step starting from the blackout data of the first hierarchy, the third black product data is output with risk from the first stage to the last stage for matching step by step until the black product data matched with the third black product data is matched, and as a result, the data classification is classified according to the effective duration, the step by step matching can match the third black product data with the newly received first black product data according to the order of the effective duration, because the probability that the data corresponding to the blackout data search request is newly exploded blackout data is high, the corresponding data can be matched more quickly by matching according to the effective time length.
According to the embodiment of the invention, the first node receives the black product data searching request, and when the matched black product data cannot be searched in the second black product data, the corresponding level data can be matched step by step according to the result of data classification, so that the corresponding data can be matched more conveniently and more quickly.
Fig. 2 is a block diagram of a black product data storage device according to an embodiment of the present invention, including: a receiving module 201, a merging module 202, a sending module 203, a detecting module 204, and an extracting module 205, wherein:
the receiving module 201 is configured to, when receiving a blackout data update request, obtain first blackout data corresponding to the blackout data update request.
The merging module 202 is configured to merge the first black product data into a first hierarchy, where the first hierarchy is a hierarchy with a shortest effective duration among a plurality of hierarchies into which the first node is divided according to a length order of the effective durations of the black product data.
The sending module 203 is configured to send the blackout data of the first level to a second node, so that the second node performs synchronous update on the blackout data, where the second node is a node in the wind control system other than the first node.
The detecting module 204 is configured to obtain a preset period, and periodically detect whether an effective duration of black product data in each level of the first node is longer than a preset duration corresponding to the level according to the preset period.
The extracting module 205 is configured to, when the effective duration of the black product data is longer than the preset duration corresponding to the hierarchy, extract the black product data with the effective duration longer than the preset duration corresponding to the hierarchy, and merge the black product data into the next hierarchy.
In one embodiment, the apparatus may further comprise:
and the second detection module is used for detecting whether the repeated black product data information fed back by the second node is received.
And the second sending module is used for acquiring the next level of the first level as the level to be updated when the repeated black product data information fed back by the second node is not received, and continuously sending the black product data of the level to be updated to the second node until the first node receives the repeated black product data information fed back by the second node.
In one embodiment, the apparatus may further comprise:
and the third detection module is used for jacking and detecting whether the effective duration of the black product data in each level in the first node is longer than the effective duration corresponding to the black product data according to a preset period.
And the deleting module is used for deleting the black product data with the effective duration longer than the effective duration corresponding to the black product data when the effective duration of the black product data is longer than the effective duration corresponding to the black product data.
In one embodiment, the apparatus may further comprise:
and the second receiving module is used for acquiring third black product data corresponding to the black product data searching request when the black product data searching request is received.
And the matching module is used for acquiring the second black product data stored in the memory and matching the third black product data with the second black product data stored in the memory.
And the output module is used for outputting the result that the third black product data has risk when the second black product data stored in the memory is matched with the third black product data.
In one embodiment, the apparatus may further comprise:
and the second matching module is used for matching the third black product data with the black product data of the first level step by step when the second black product data stored in the memory do not have the matching of the black product data and the third black product data, until the black product data matched with the third black product data is matched, and outputting a risk result of the third black product data.
For specific limitations of the blackout data storage device, reference may be made to the above limitations of the blackout data storage method, which are not described herein again. The modules in the black product data storage device can be wholly or partially implemented by software, hardware and a combination thereof. The modules can be embedded in a hardware form or independent from a processor in the computer device, and can also be stored in a memory in the computer device in a software form, so that the processor can call and execute operations corresponding to the modules.
Fig. 3 illustrates a physical structure diagram of an electronic device, which may include, as shown in fig. 3: a processor (processor)301, a memory (memory)302, a communication Interface (Communications Interface)303 and a communication bus 304, wherein the processor 301, the memory 302 and the communication Interface 303 complete communication with each other through the communication bus 304. The processor 301 may call logic instructions in the memory 302 to perform the following method: when a first node in the wind control system receives a black product data updating request, acquiring first black product data corresponding to the black product data updating request; the first node merges the first black production data into a first level, wherein the first level is a level with the shortest effective duration in a plurality of levels which are divided by the first node according to the length sequence of the effective durations of the black production data; the first node sends the black product data of the first level to a second node for the second node to synchronously update the black product data, wherein the second node is a node except the first node in the wind control system; the first node acquires a preset period, and periodically detects whether the effective duration of black product data in each level of the first node is longer than the preset duration corresponding to the level according to the preset period; and when the effective duration of the black product data is longer than the preset duration corresponding to the level, extracting the black product data with the effective duration longer than the preset duration corresponding to the level, and merging the black product data to the next level.
Furthermore, the logic instructions in the memory 302 may be implemented in software functional units and stored in a computer readable storage medium when sold or used as a stand-alone product. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
In another aspect, an embodiment of the present invention further provides a non-transitory computer-readable storage medium, on which a computer program is stored, where the computer program is implemented to perform the transmission method provided in the foregoing embodiments when executed by a processor, and for example, the method includes: when a first node in the wind control system receives a black product data updating request, acquiring first black product data corresponding to the black product data updating request; the first node merges the first black production data into a first level, wherein the first level is a level with the shortest effective duration in a plurality of levels which are divided by the first node according to the length sequence of the effective durations of the black production data; the first node sends the black product data of the first level to a second node for the second node to synchronously update the black product data, wherein the second node is a node except the first node in the wind control system; the first node acquires a preset period, and periodically detects whether the effective duration of black product data in each level of the first node is longer than the preset duration corresponding to the level according to the preset period; and when the effective duration of the black product data is longer than the preset duration corresponding to the level, extracting the black product data with the effective duration longer than the preset duration corresponding to the level, and merging the black product data to the next level.
The above-described embodiments of the apparatus are merely illustrative, and the units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment. One of ordinary skill in the art can understand and implement it without inventive effort.
Through the above description of the embodiments, those skilled in the art will clearly understand that each embodiment can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware. With this understanding in mind, the above-described technical solutions may be embodied in the form of a software product, which can be stored in a computer-readable storage medium such as ROM/RAM, magnetic disk, optical disk, etc., and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the methods described in the embodiments or some parts of the embodiments.
Finally, it should be noted that: the above examples are only intended to illustrate the technical solution of the present invention, but not to limit it; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.

Claims (10)

1. A black product data storage method is characterized by comprising the following steps:
when a first node in the wind control system receives a black product data updating request, acquiring first black product data corresponding to the black product data updating request;
the first node merges the first black production data into a first level, wherein the first level is a level with the shortest effective duration in a plurality of levels which are divided by the first node according to the length sequence of the effective durations of the black production data;
the first node sends the black product data of the first level to a second node for the second node to synchronously update the black product data, wherein the second node is a node except the first node in the wind control system;
the first node acquires a preset period, and periodically detects whether the effective duration of black product data in each level of the first node is longer than the preset duration corresponding to the level according to the preset period;
and when the effective duration of the black product data is longer than the preset duration corresponding to the level, extracting the black product data with the effective duration longer than the preset duration corresponding to the level, and merging the black product data to the next level.
2. The blackout data storage method according to claim 1, wherein after the sending the first level of blackout data to the second node, the method further comprises:
the first node detects whether black product data repeated information fed back by the second node is received;
when the first node does not receive the repeated information of the black product data fed back by the second node, acquiring the next level of the first level as the level to be updated, and continuously sending the black product data of the level to be updated to the second node until the first node receives the repeated information of the black product data fed back by the second node.
3. The blackout data storage method according to claim 1, further comprising:
the first node periodically detects whether the effective duration of the black product data in each level in the first node is longer than the effective duration corresponding to the black product data according to the preset period;
and deleting the black product data with the effective duration longer than the effective duration corresponding to the black product data when the effective duration of the black product data is longer than the effective duration corresponding to the black product data.
4. The blackout data storage method according to claim 1, further comprising:
when the first node receives a black product data searching request, acquiring third black product data corresponding to the black product data searching request;
the first node acquires second black product data stored in the memory and matches the third black product data with the second black product data stored in the memory;
and when the black product data in the second black product data stored in the memory are matched with the third black product data, outputting a risk result of the third black product data.
5. The blackout data storage method according to claim 4, further comprising:
and when the second black product data stored in the memory does not have the matching of the third black product data and the black product data, the third black product data and the black product data of the first level are matched step by step until the black product data matched with the third black product data are matched, and a risk result of the third black product data is output.
6. A black product data storage apparatus, comprising:
the receiving module is used for acquiring first black product data corresponding to the black product data updating request when the black product data updating request is received;
the merging module is used for merging the first black product data into a first level, and the first level is a level with the shortest effective duration in a plurality of levels divided by a first node according to the length sequence of the effective durations of the black product data;
the sending module is used for sending the black product data of the first level to a second node for the second node to synchronously update the black product data, and the second node is a node except the first node in the wind control system;
the detection module is used for acquiring a preset period and periodically detecting whether the effective duration of black product data in each level of the first node is longer than the preset duration corresponding to the level according to the preset period;
and the extracting module is used for extracting the black product data with the effective duration longer than the preset duration corresponding to the hierarchy and merging the black product data with the effective duration longer than the preset duration corresponding to the hierarchy into the next hierarchy.
7. The apparatus of claim 6, further comprising:
the second detection module is used for detecting whether black product data repeated information fed back by the second node is received or not;
and the second sending module is used for acquiring the next level of the first level as the level to be updated when the repeated black product data information fed back by the second node is not received, and continuously sending the black product data of the level to be updated to the second node until the first node receives the repeated black product data information fed back by the second node.
8. The apparatus of claim 6, further comprising:
a third detection module, configured to periodically detect, according to the preset period, whether an effective duration of black product data exists in each level in the first node is longer than an effective duration corresponding to the black product data;
and the deleting module is used for deleting the black product data with the effective duration longer than the effective duration corresponding to the black product data when the effective duration of the black product data is longer than the effective duration corresponding to the black product data.
9. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor implements the steps of the method for storing black product data according to any one of claims 1 to 5 when executing the program.
10. A non-transitory computer-readable storage medium, on which a computer program is stored, wherein the computer program, when executed by a processor, implements the steps of the method for storing blackout data according to any one of claims 1 to 5.
CN201910925605.4A 2019-09-27 2019-09-27 Black product data storage method and device Active CN110704466B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910925605.4A CN110704466B (en) 2019-09-27 2019-09-27 Black product data storage method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910925605.4A CN110704466B (en) 2019-09-27 2019-09-27 Black product data storage method and device

Publications (2)

Publication Number Publication Date
CN110704466A CN110704466A (en) 2020-01-17
CN110704466B true CN110704466B (en) 2021-12-17

Family

ID=69196740

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910925605.4A Active CN110704466B (en) 2019-09-27 2019-09-27 Black product data storage method and device

Country Status (1)

Country Link
CN (1) CN110704466B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114710367B (en) * 2022-06-01 2022-08-02 武汉极意网络科技有限公司 Method and device for determining barrier cost of network flow and electronic equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101699439A (en) * 2009-11-16 2010-04-28 中兴通讯股份有限公司 Database transaction submitting method and device
CN105373347A (en) * 2015-10-23 2016-03-02 浪潮(北京)电子信息产业有限公司 Hot data identification and scheduling method and system for storage system
CN105760236A (en) * 2016-05-13 2016-07-13 中国工商银行股份有限公司 Data collection method and system of distributed computer cluster
CN105786955A (en) * 2015-01-08 2016-07-20 国际商业机器公司 Data replication in a database management system
CN106326220A (en) * 2015-06-16 2017-01-11 阿里巴巴集团控股有限公司 Data storage method and apparatus

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101699439A (en) * 2009-11-16 2010-04-28 中兴通讯股份有限公司 Database transaction submitting method and device
CN105786955A (en) * 2015-01-08 2016-07-20 国际商业机器公司 Data replication in a database management system
CN106326220A (en) * 2015-06-16 2017-01-11 阿里巴巴集团控股有限公司 Data storage method and apparatus
CN105373347A (en) * 2015-10-23 2016-03-02 浪潮(北京)电子信息产业有限公司 Hot data identification and scheduling method and system for storage system
CN105760236A (en) * 2016-05-13 2016-07-13 中国工商银行股份有限公司 Data collection method and system of distributed computer cluster

Also Published As

Publication number Publication date
CN110704466A (en) 2020-01-17

Similar Documents

Publication Publication Date Title
CN109726202B (en) Block chain data storage method and computer storage medium
CN105117544A (en) Android platform App risk assessment method based on mobile cloud computing and Android platform App risk assessment device based on mobile cloud computing
CN111190962B (en) File synchronization method and device and local terminal
CN106599242A (en) Webpage change monitoring method and system based on similarity calculation
CN106250476B (en) Method, device and system for updating and synchronizing white list
US20230153211A1 (en) Method, electronic device and computer program product for storage management
CN110704466B (en) Black product data storage method and device
CN111914057A (en) Method and device for detecting and filtering sensitive words of customer service system
CN106227541A (en) A kind of program updates download process method and mobile terminal
CN113905275A (en) Webpage filtering method and intelligent device
CN104079623A (en) Method and system for controlling multilevel cloud storage synchrony
CN110222015B (en) File data reading and querying method and device and readable storage medium
CN104966020A (en) Eigenvector-based anti-virus detection method and system
CN112433757A (en) Method and device for determining interface calling relationship
US20200117638A1 (en) Method, device and computer program product for searching a file
CN111159362A (en) Text matching processing method and device
CN112905871B (en) Hot keyword recommendation method, device, terminal and storage medium
CN108133154B (en) Method and device for storing file
CN107181715B (en) Service checking method and device
CN110138723B (en) Method and system for determining malicious community in mail network
CN105792213A (en) Information security check method, and terminal device
CN109194613B (en) Data packet detection method and device
CN108255533B (en) System configuration changing method and device
CN106295334A (en) Ile repair method and device
CN111538651A (en) Interface testing method, device, server 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