Data protection method and device, computer equipment and storage medium

By identifying and processing abnormal data requests with built-in rules in the gateway, the problem that existing technology cannot effectively prevent abnormal data collection is solved, ensuring data security and determining the source of attacks.

CN118784530APending Publication Date: 2024-10-15SUZHOU LANGDONG NET TEC CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411042253.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-31
Publication Date
2024-10-15

AI Technical Summary

Technical Problem

Existing technologies mainly rely on blocking measures to prevent abnormal data collection, which cannot effectively ensure data security and cannot proactively defend against attack sources, causing data collection activities to interfere with business operations.

Method used

Use built-in rules in the gateway to identify exceptions in data acquisition requests, send abnormal requests to the server for modification, return the modified data to the client, mark the client as an abnormal object, and use data replacement, data desensitization and other modification methods to reduce data quality to confirm the source of the attack.

Benefits of technology

Effectively identify and handle abnormal data requests, reduce the quality of data obtained by the client, ensure data security, and conduct subsequent strict inspections by marking the client as an abnormal object to determine the source of the attack.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118784530A_ABST
    Figure CN118784530A_ABST
Patent Text Reader

Abstract

The invention relates to a data protection method and device, computer equipment and a storage medium. The method comprises the following steps: receiving a data acquisition request sent by a client, and performing exception identification on the data acquisition request based on a gateway built-in rule; when the identification result is an abnormal request, sending the data acquisition request to a server; modifying data returned by the server based on the gateway built-in rule to obtain modified data; and sending the modified data to a client, and marking the client as an abnormal object after confirming that the client receives the modified data. By adopting the method, the data security can be effectively guaranteed.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of big data processing technology, and in particular to a data protection method, device, computer equipment, and storage medium. Background Art

[0002] With the rapid development of Internet technology, the value of network data has become increasingly prominent, and abnormal data collection activities have emerged, automatically extracting data from websites or other online resources without authorization, compromising data security and interfering with normal business operations.

[0003] At present, most websites and online service platforms use a variety of technical means to prevent abnormal data collection. The current mainstream technology is mainly based on blocking after abnormal identification, without active defense against the attack source. Specifically, for low-risk requests, they are usually allowed to pass and complete data acquisition; while for high-risk requests, they are directly blocked to prevent data from being illegally acquired, and the security of the data cannot be guaranteed. Summary of the invention

[0004] Based on this, it is necessary to provide a data protection method, device, computer equipment, and storage medium to address the above technical issues.

[0005] In a first aspect, the present application provides a data protection method. The method comprises:

[0006] Receive a data acquisition request sent by a client, and identify anomalies in the data acquisition request based on built-in rules of the gateway;

[0007] When the identification result is an abnormal request, sending the data acquisition request to the server;

[0008] Modify the data returned by the server based on the built-in rules of the gateway to obtain modified data;

[0009] The modified data is sent to the client, and after confirming that the client receives the modified data, the client is marked as an abnormal object.

[0010] In one embodiment, the identifying anomalies of the data acquisition request based on the built-in rules of the gateway includes:

[0011] The gateway built-in rules include invalid routes;

[0012] In the case where the request route in the data acquisition request does not match the invalid route in the gateway built-in rule, a data tag in a relational database is queried, and the data acquisition request is confirmed to be an abnormal request based on the data tag.

[0013] In one embodiment, the abnormal request includes an abnormal level, and the modifying the data returned by the server based on the built-in rule of the gateway includes:

[0014] Based on the abnormality level, the data returned by the server is modified, and the built-in rules of the gateway include modification methods corresponding to different abnormality levels.

[0015] In one embodiment, after confirming that the client receives the modified data, marking the client as an abnormal object includes:

[0016] A target platform is searched periodically, and when the modified data is included in the target platform, the target platform is marked as an abnormal object, and the target platform is connected to the client sending the data acquisition request.

[0017] In one of the embodiments, the modification method includes data replacement, data desensitization, and data false value.

[0018] In a second aspect, the present application further provides a data protection device, the device comprising:

[0019] A receiving module, used to receive a data acquisition request sent by a client, and identify anomalies of the data acquisition request based on built-in rules of the gateway;

[0020] An identification module, configured to send the data acquisition request to a server when the identification result is an abnormal request;

[0021] A modification module, used to modify the data returned by the server based on the built-in rules of the gateway to obtain modified data;

[0022] The confirmation module is used to send the modified data to the client, and after confirming that the client receives the modified data, mark the client as an abnormal object.

[0023] In one embodiment, the identifying anomalies of the data acquisition request based on the built-in rules of the gateway includes:

[0024] The gateway built-in rules include invalid routes;

[0025] In the case where the request route in the data acquisition request does not match the invalid route in the gateway built-in rule, a data tag in a relational database is queried, and the data acquisition request is confirmed to be an abnormal request based on the data tag.

[0026] In one embodiment, the abnormal request includes an abnormal level, and the modifying the data returned by the server based on the built-in rule of the gateway includes:

[0027] Based on the abnormality level, the data returned by the server is modified, and the built-in rules of the gateway include modification methods corresponding to different abnormality levels.

[0028] In one embodiment, after confirming that the client receives the modified data, marking the client as an abnormal object includes:

[0029] A target platform is searched periodically, and when the modified data is included in the target platform, the target platform is marked as an abnormal object, and the target platform is connected to the client sending the data acquisition request.

[0030] In one of the embodiments, the modification method includes data replacement, data desensitization, and data false value.

[0031] In a third aspect, the present disclosure further provides a computer device, wherein the computer device comprises a memory and a processor, wherein the memory stores a computer program, and the processor implements the steps of the data protection method when executing the computer program.

[0032] In a fourth aspect, the present disclosure further provides a computer-readable storage medium having a computer program stored thereon, wherein the computer program implements the steps of the data protection method when executed by a processor.

[0033] In a fifth aspect, the present disclosure further provides a computer program product, wherein the computer program product comprises a computer program, and when the computer program is executed by a processor, the steps of the data protection method are implemented.

[0034] The above data protection method has at least the following beneficial effects:

[0035] The embodiment scheme provided by the present disclosure, when a data acquisition request is identified as an abnormal request, sends the data acquisition request to the server, and modifies the data returned by the server to obtain the modified data. At this time, the modified data is different from the data required to be obtained in the data acquisition request. The quality of the data obtained by the client will be significantly reduced, and the platform that provides relevant information can be accessed subsequently to confirm whether the provided data is consistent with the data responded after the gateway is tampered with, thereby determining the source of the attack.

[0036] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS

[0037] In order to more clearly illustrate the technical solutions in the embodiments of the present disclosure or the conventional technology, the drawings required for use in the embodiments or the conventional technology descriptions will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present disclosure, and for ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0038] FIG1 is a diagram of an application environment of a data protection method in one embodiment;

[0039] Figure 2 is a flow chart of a data protection method in one embodiment;

[0040] Figure 3 is a flow chart of a data protection method in one embodiment;

[0041] Figure 4 is a structural block diagram of a data protection device in one embodiment;

[0042] Figure 5 is a structural block diagram of a data protection device in one embodiment;

[0043] FIG6 is a diagram showing the internal structure of a computer device in one embodiment;

[0044] FIG. 7 is a diagram showing the internal structure of a server in an embodiment. DETAILED DESCRIPTION

[0045] In order to enable ordinary persons in the art to better understand the technical solutions of the present disclosure, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below in conjunction with the accompanying drawings.

[0046] It should be noted that the terms "first", "second", etc. in the specification and claims of the present disclosure and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present disclosure described here can be implemented in an order other than those illustrated or described here. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present disclosure. On the contrary, they are only examples of devices and methods consistent with some aspects of the present disclosure as detailed in the attached claims. The terms "include", "comprise" or any other variant thereof are intended to cover non-exclusive inclusion, so that the process, method, product or device including a series of elements includes not only those elements, but also other elements that are not explicitly listed, or also includes elements inherent to such process, method, product or device. In the absence of more restrictions, it is not excluded that there are other identical or equivalent elements in the process, method, product or device including the elements. For example, if the words first, second, etc. are used to represent the name, they do not represent any specific order.

[0047] The disclosed embodiment provides a data protection method, which can be applied in the application environment shown in FIG1 . It includes a client 102, a gateway 104, a server 106 and a Redis database 108. The client 102 is connected to the server 106 through the gateway 104, and the gateway 104 is connected to the Redis database 108. The terminal 102 can be, but is not limited to, various personal computers, laptops, smart phones, tablet computers, Internet of Things devices and portable wearable devices. The Internet of Things devices can be smart speakers, smart TVs, smart air conditioners, smart car-mounted devices, etc. Portable wearable devices can be smart watches, smart bracelets, head-mounted devices, etc. The server 104 can be implemented with an independent server or a server cluster consisting of multiple servers.

[0048] In some embodiments of the present disclosure, Figure 2 As shown, a data protection method is provided, and the method is applied to the gateway in FIG1 to process a data acquisition request as an example for explanation. In a specific embodiment, the method may include the following steps:

[0049] S202: Receive a data acquisition request sent by a client, and identify anomalies in the data acquisition request based on built-in rules of the gateway.

[0050] The data acquisition request may include the data requested by the client, the client identifier, etc. The built-in rules of the gateway may include but are not limited to IP address blacklist / whitelist, request frequency limit, request pattern analysis, user behavior analysis, etc.

[0051] The client sends a data acquisition request to the gateway through the network. After receiving the request, the gateway uses a set of built-in rules to identify abnormalities in the request. If the request is judged to be normal, the gateway may directly process it or forward it to the server; if it is judged to be abnormal, it proceeds to the next step.

[0052] S204: When the identification result is an abnormal request, the data acquisition request is sent to the server.

[0053] When the identification result is abnormal, the gateway forwards the data acquisition request to the server instead of rejecting or discarding it, which can further verify whether the request is indeed abnormal and collect more information about the abnormal request.

[0054] S206: Modify the data returned by the server based on the built-in rules of the gateway to obtain modified data.

[0055] S208: Send the modified data to the client, and after confirming that the client receives the modified data, mark the client as an abnormal object.

[0056] After the server processes the request, it returns the response data to the gateway, which modifies the response data according to built-in rules to prevent potential malicious behavior or data leakage. After the client receives the modified data, the gateway marks it as an abnormal object, indicating that requests from this client may be subject to stricter inspection or be blocked for a period of time.

[0057] In the above data protection method, when the data acquisition request is identified as an abnormal request, the data acquisition request is sent to the server, and the data returned by the server is modified to obtain the modified data. At this time, the modified data is different from the data required to be obtained in the data acquisition request. The quality of data obtained by the client will be significantly reduced, and the platform that provides relevant information can be accessed subsequently to confirm whether the provided data is consistent with the data responded after the gateway is tampered with, thereby determining the source of the attack.

[0058] In some embodiments of the present disclosure, Figure 3 The flowchart of the data protection method in one embodiment is as follows. The abnormal identification of the data acquisition request based on the built-in rules of the gateway includes:

[0059] S302: The gateway built-in rule includes invalid routing;

[0060] In the case where the request route in the data acquisition request does not match the invalid route in the gateway built-in rule, a data tag in a relational database is queried, and the data acquisition request is confirmed to be an abnormal request based on the data tag.

[0061] The built-in rules of the gateway contain a series of invalid routes, which are usually offline or no longer used routes. Invalid routes will be updated to the built-in rules of the gateway regularly. When the client sends a request to obtain data, the gateway first checks whether the route in the request matches the invalid route in the built-in rules. If the request route does not match the invalid route, the gateway will query the data tag in the relational database to further confirm whether the request is abnormal. If the request route does not hit the invalid route in the built-in rule, the gateway will query the data tag in the relational database. Various data tags are stored in the relational database, which can help the gateway assess the risk level of the request. The gateway confirms whether the request is abnormal based on the data tags obtained from the relational database. If the request is considered abnormal after evaluation based on the data tags, the request is considered an abnormal request.

[0062] For example, if a front-end route has been offline, such routes will be regularly updated to the built-in rule group. When a request occurs, if this route is matched, the corresponding operation will be performed. The redis database contains dynamic data with various tag definitions, which will be continuously updated. If the request does not hit the built-in rule, it will try to match the data tag returned by redis.

[0063] In some embodiments of the present disclosure, the abnormal request includes an abnormal level, and the modifying the data returned by the server based on the built-in rule of the gateway includes:

[0064] Based on the abnormality level, the data returned by the server is modified, and the built-in rules of the gateway include modification methods corresponding to different abnormality levels.

[0065] The built-in rules of the gateway contain modification methods corresponding to different exception levels. According to the exception level of the exception request, the gateway will modify the data according to the corresponding modification method in the built-in rules.

[0066] For example, because of the different user levels of users A and B, there may be differences when triggering the tampering response logic. For example, user A may experience data accuracy degradation, while user B may experience data replacement.

[0067] In some embodiments of the present disclosure, after confirming that the client receives the modified data, marking the client as an abnormal object includes:

[0068] A target platform is searched periodically, and when the modified data is included in the target platform, the target platform is marked as an abnormal object, and the target platform is connected to the client sending the data acquisition request.

[0069] When a competitor crawls data and hits modified data, for example, the specific modification method is to replace data. Then when the competitor uses this data, the corresponding data must be consistent with our modification. The security team will regularly visit and inspect competitors, and when such data is found, the attack source can be located as this competitor.

[0070] In some embodiments of the present disclosure, the modification methods include data replacement, data desensitization, and data false values.

[0071] The modification methods may include but are not limited to data replacement, data desensitization, data precision reduction, obfuscation, false value insertion, and watermarking. The modification method is defined in advance based on the built-in rules and the tags in the redis database. For example, user A has a risk tag in redis: riskid equals 20. When user A starts the request, the gateway will obtain this tag and execute the corresponding action of riskid equals 20.

[0072] It should be understood that, although the various steps in the flowcharts involved in the above-mentioned embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps does not have a strict order restriction, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above-mentioned embodiments can include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.

[0073] Based on the same inventive concept, the embodiment of the present disclosure also provides a data protection device for implementing the data protection method involved above. The implementation scheme for solving the problem provided by the device is similar to the implementation scheme recorded in the above method, so the specific limitations in the data protection device embodiment provided below can refer to the limitations of the data protection method above, and will not be repeated here.

[0074] The device may include a system (including a distributed system), software (application), module, component, server, client, etc. that uses the method described in the embodiments of this specification and is combined with necessary implementation hardware. Based on the same innovative concept, the device in one or more embodiments provided in the embodiments of the present disclosure is as described in the following embodiments. Since the implementation scheme and method of the device to solve the problem are similar, the implementation of the specific device in the embodiments of this specification can refer to the implementation of the aforementioned method, and the repetitions will not be repeated. As used below, the term "unit" or "module" can be a combination of software and / or hardware that implements a predetermined function. Although the device described in the following embodiments is preferably implemented in software, the implementation of hardware, or a combination of software and hardware, is also possible and conceived.

[0075] In one embodiment, Figure 4 As shown, a data protection device 400 is provided, and the device may be the aforementioned server, or a module, component, device, unit, etc. integrated in the server. The device 400 may include:

[0076] The receiving module 402 is used to receive a data acquisition request sent by a client, and identify anomalies of the data acquisition request based on a built-in rule of the gateway;

[0077] The identification module 404 is used to send the data acquisition request to the server when the identification result is an abnormal request;

[0078] A modification module 406, configured to modify the data returned by the server based on the built-in rules of the gateway to obtain modified data;

[0079] The confirmation module 408 is used to send the modified data to the client, and after confirming that the client receives the modified data, mark the client as an abnormal object.

[0080] In one embodiment, Figure 5 The structure block diagram of the data protection device in one embodiment is as follows. The abnormal identification of the data acquisition request based on the built-in rules of the gateway includes:

[0081] Query module 502, used for the gateway built-in rules including invalid routes;

[0082] In the case where the request route in the data acquisition request does not match the invalid route in the gateway built-in rule, a data tag in a relational database is queried, and the data acquisition request is confirmed to be an abnormal request based on the data tag.

[0083] In one embodiment, the abnormal request includes an abnormal level, and the modifying the data returned by the server based on the built-in rule of the gateway includes:

[0084] Based on the abnormality level, the data returned by the server is modified, and the built-in rules of the gateway include modification methods corresponding to different abnormality levels.

[0085] In one embodiment, the abnormal request includes an abnormal level, and the modifying the data returned by the server based on the built-in rule of the gateway includes:

[0086] Based on the abnormality level, the data returned by the server is modified, and the built-in rules of the gateway include modification methods corresponding to different abnormality levels.

[0087] In one embodiment, after confirming that the client receives the modified data, marking the client as an abnormal object includes:

[0088] A target platform is searched periodically, and when the modified data is included in the target platform, the target platform is marked as an abnormal object, and the target platform is connected to the client sending the data acquisition request.

[0089] In one embodiment, the modification method includes data replacement, data desensitization, and data false value.

[0090] Regarding the device in the above embodiment, the specific manner in which each module performs operations has been described in detail in the embodiment of the method, and will not be elaborated here.

[0091] Each module in the above data protection device can be implemented in whole or in part by software, hardware, or a combination thereof. Each module can be embedded in or independent of a processor in a computer device in the form of hardware, or can be stored in a memory in a computer device in the form of software, so that the processor can call and execute the operations corresponding to each module.

[0092] In one embodiment, a computer device is provided, which may be a server, and its internal structure diagram may be shown in FIG6 . The computer device includes a processor, a memory, and a network interface connected via a system bus. The processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program, and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the computer device is used to store data acquisition requests. The network interface of the computer device is used to communicate with an external terminal via a network connection. When the computer program is executed by the processor, a data protection method is implemented.

[0093] In one embodiment, a computer device is provided, which may be a terminal, and its internal structure diagram may be shown in FIG7. The computer device includes a processor, a memory, a communication interface, a display screen, and an input device connected through a system bus. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The communication interface of the computer device is used to communicate with an external terminal in a wired or wireless manner, and the wireless manner can be implemented through WIFI, a mobile cellular network, NFC (near field communication) or other technologies. When the computer program is executed by the processor, a data protection method is implemented. The display screen of the computer device may be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer device may be a touch layer covered on the display screen, or a key, a trackball or a touchpad provided on the housing of the computer device, or an external keyboard, touchpad or mouse, etc.

[0094] Those skilled in the art will understand that the structures shown in FIG. 6 and FIG. 7 are merely block diagrams of partial structures related to the scheme of the present disclosure, and do not constitute a limitation on the computer device to which the scheme of the present disclosure is applied. The specific computer device may include more or fewer components than those shown in the figures, or combine certain components, or have a different arrangement of components.

[0095] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the method described in any embodiment of the present disclosure is implemented.

[0096] In one embodiment, a computer program product is provided, including a computer program, which implements the method described in any embodiment of the present disclosure when executed by a processor.

[0097] A person of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment method can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided by the present disclosure can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetoresistive random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided by the present disclosure may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided by the present disclosure may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic unit, a data processing logic unit based on quantum computing, etc., but are not limited to this.

[0098] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0099] The above-described embodiments only express several implementation methods of the present disclosure, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present invention. It should be pointed out that, for a person of ordinary skill in the art, several modifications and improvements can be made without departing from the concept of the present disclosure, and these all belong to the protection scope of the present disclosure. Therefore, the protection scope of the present disclosure shall be subject to the attached claims.

Claims

1. A data protection method, characterized in that: The method comprises: Receive a data acquisition request sent by a client, and identify anomalies in the data acquisition request based on built-in rules of the gateway; When the identification result is an abnormal request, sending the data acquisition request to the server; Modify the data returned by the server based on the built-in rules of the gateway to obtain modified data; The modified data is sent to the client, and after confirming that the client receives the modified data, the client is marked as an abnormal object.

2. The method according to claim 1, characterized in that The performing abnormal identification on the data acquisition request based on the built-in rules of the gateway includes: The gateway built-in rules include invalid routes; In the case where the request route in the data acquisition request does not match the invalid route in the gateway built-in rule, the data tag in the relational database is queried, and the data acquisition request is confirmed to be an abnormal request based on the data tag.

3. The method according to claim 2, characterized in that The abnormal request includes an abnormal level, and the modifying of the data returned by the server based on the built-in rule of the gateway includes: Based on the abnormality level, the data returned by the server is modified, and the built-in rules of the gateway include modification methods corresponding to different abnormality levels.

4. The method according to claim 1, characterized in that: After confirming that the client receives the modified data, marking the client as an abnormal object includes: A target platform is searched periodically, and when the modified data is included in the target platform, the target platform is marked as an abnormal object, and the target platform is connected to the client sending the data acquisition request.

5. The method according to claim 3, characterized in that: The modification methods include data replacement, data desensitization, and data false values.

6. A data protection device, characterized in that: The device comprises: A receiving module, used to receive a data acquisition request sent by a client, and identify anomalies of the data acquisition request based on built-in rules of the gateway; An identification module, configured to send the data acquisition request to a server when the identification result is an abnormal request; A modification module, used to modify the data returned by the server based on the built-in rules of the gateway to obtain modified data; The confirmation module is used to send the modified data to the client, and after confirming that the client receives the modified data, mark the client as an abnormal object.

7. The device according to claim 6, characterized in that The performing abnormal identification on the data acquisition request based on the built-in rules of the gateway includes: A query module, used for the gateway built-in rules including invalid routes; In the case where the request route in the data acquisition request does not match the invalid route in the gateway built-in rule, the data tag in the relational database is queried, and the data acquisition request is confirmed to be an abnormal request based on the data tag.

8. The device according to claim 7, characterized in that The abnormal request includes an abnormal level, and the modifying of the data returned by the server based on the built-in rule of the gateway includes: Based on the abnormality level, the data returned by the server is modified, and the built-in rules of the gateway include modification methods corresponding to different abnormality levels.

9. The device according to claim 6, characterized in that After confirming that the client receives the modified data, marking the client as an abnormal object includes: A target platform is searched periodically, and when the modified data is included in the target platform, the target platform is marked as an abnormal object, and the target platform is connected to the client sending the data acquisition request.

10. The device according to claim 8, characterized in that The modification methods include data replacement, data desensitization, and data false values.

11. A computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 5 are implemented.

12. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 5 are implemented.

13. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 5 are implemented.