Data processing method, device and equipment, computer readable storage medium and computer program product

By generating and applying data processing policies in the content distribution network, anti-leakage processing is performed for different data, which solves the problem of being unable to flexibly set anti-leakage policies in the existing technology, achieves efficient and accurate data leakage prevention, and satisfies ICP customers. individual needs.

CN118784270APending Publication Date: 2024-10-15CHINA MOBILE COMM GRP CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410714188.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-04
Publication Date
2024-10-15

AI Technical Summary

Technical Problem

Existing data leakage prevention methods cannot flexibly set anti-leakage policies for different data, cannot meet the personalized needs of different network content service providers, especially in large CDN networks, there is a contradiction between resource overhead and response time, and cannot completely prevent sensitive data leakage. .

Method used

By receiving the data to be processed sent by the content distribution network at the first server, generating a data processing strategy based on the target rule information, sending it to the second server for processing in the anti-leakage processing model, generating the target data, and sending it to the second device, Achieve flexible anti-leakage processing for different data.

Benefits of technology

It realizes flexible anti-leakage processing of different data to be processed, meets the personalized needs of different ICP customers, improves the efficiency and accuracy of data anti-leakage processing, is suitable for large CDN networks, and avoids resource overhead and response time conflicts.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118784270A_ABST
    Figure CN118784270A_ABST
Patent Text Reader

Abstract

The embodiment of the invention discloses a data processing method, device and equipment, a computer readable storage medium and a computer program product. The data processing method comprises the following steps: receiving to-be-processed data which is sent by a content distribution network and is generated based on response data; wherein the response data is acquired by the first equipment based on the access request; generating a data processing strategy for the to-be-processed data based on the target rule information; wherein the data processing strategy is used for performing leakage behavior blocking on the to-be-processed data; and sending the data processing strategy to the second server, so that the second server obtains the target data based on the data processing strategy and the to-be-processed data through the anti-leakage processing model, and sends the target data to the second device, thereby flexibly setting different processing strategies for different to-be-processed data, and improving the data processing efficiency. Therefore, leakage behavior blocking is carried out on different to-be-processed data by adopting different data processing strategies, so that individual requirements of ICP customers are met.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of communication technology, and in particular to a data processing method, apparatus, device, computer-readable storage medium, and computer program product. Background Art

[0002] Content Delivery Network (CDN) is an intelligent virtual network built on the existing basic network. It is an overlay network with the ability to automatically distribute content and centrally dispatch and control traffic. It is a content-based infrastructure that fully supports the company's traffic management and digital service strategic transformation. CDN can distribute content from the source server to distributed edge nodes and support a variety of traffic dispatching technologies. It can automatically direct user requests to the globally optimal edge node according to the specified strategy, and the node will provide data services to users nearby.

[0003] However, the inventors have found that the existing methods for preventing data leakage all adopt a one-size-fits-all approach and cannot flexibly perform leakage prevention settings for different data, thereby failing to meet the personalized needs of different Internet Content Provider (ICP) customers. Summary of the invention

[0004] In order to solve the above technical problems, the embodiments of the present application hope to provide a data processing method, device, equipment, computer-readable storage medium and computer program product, which can solve the problem that the related technology cannot flexibly perform anti-leakage settings for different data, thereby failing to meet the personalized needs of different ICP customers.

[0005] The technical solution of this application is implemented as follows:

[0006] A data processing method, applied to a first server, comprising:

[0007] Receiving data to be processed generated based on response data sent by a content distribution network; wherein the response data is obtained by the first device based on the access request;

[0008] Based on the target rule information, a data processing strategy for the data to be processed is generated; wherein the data processing strategy is used to block leakage of the data to be processed;

[0009] The data processing strategy is sent to the second server, so that the second server obtains target data based on the data processing strategy and the data to be processed through the anti-leakage processing model, and sends the target data to the second device.

[0010] In the above solution, the step of generating a data processing strategy for the data to be processed based on the target rule information includes:

[0011] Acquire an identification rule base and a processing rule base; wherein the target rule information includes the identification rule base and the processing rule base;

[0012] The data processing strategy is generated based on the identification rule base and the processing rule base.

[0013] In the above solution, generating the data processing strategy based on the identification rule base and the processing rule base includes:

[0014] For each first data in each of the data to be processed, determine the target identification rule corresponding to the first data from the identification rule base; wherein the identification rule base includes the target identification rule; the first data is the data for blocking leakage behavior in the data to be processed;

[0015] Determining a target processing rule corresponding to the target identification rule from the processing rule library; wherein the processing rule library includes the target processing rule;

[0016] generating a sub-processing strategy for the first data based on the target identification rule and the target processing rule;

[0017] The data processing strategy is obtained based on a plurality of the sub-processing strategies.

[0018] A data processing method, applied to a second server, comprising:

[0019] Receiving a data processing strategy for the data to be processed sent by the first server;

[0020] For each of the data to be processed, the data to be processed is processed by adopting the data processing strategy through the anti-leakage processing model to obtain the target data;

[0021] The target data is sent to the second device.

[0022] In the above scheme, for each of the data to be processed, the data to be processed is processed by the anti-leakage processing model and the data processing strategy to obtain the target data, including:

[0023] For each of the data to be processed, determine each first data from the data to be processed by using the anti-leakage processing model;

[0024] By using the anti-leakage processing model, the data processing strategy is used to process each of the first data to obtain each processed data;

[0025] The target data is obtained based on the processed data and second data in the data to be processed; wherein the second data is data in the data to be processed that is not subject to leakage blocking.

[0026] In the above solution, the step of processing each of the first data by the anti-leakage processing model and the data processing strategy to obtain each processed data includes:

[0027] For each of the first data, determine the sub-processing strategy corresponding to the first data from the data processing strategy through the anti-leakage processing model;

[0028] The first data is processed using the sub-processing strategy to obtain the processed data.

[0029] In the above solution, the first data is processed by the anti-leakage processing model using the sub-processing strategy to obtain the processed data, including:

[0030] Through the anti-leakage processing model, a plurality of the sub-processing strategies corresponding to the plurality of the first data are adopted to perform parallel processing on the plurality of the first data to obtain the processed data.

[0031] A first data processing device is applied to a first server, and the first data processing device includes:

[0032] A first receiving unit, configured to receive data to be processed generated based on response data sent by a content distribution network; wherein the response data is obtained by the first device based on an access request;

[0033] A generating unit, configured to generate a data processing strategy for the data to be processed based on target rule information; wherein the data processing strategy is used to block leakage of the data to be processed;

[0034] The first sending unit is used to send the data processing strategy to the second server, so that the second server obtains target data based on the data processing strategy and the data to be processed through the anti-leakage processing model, and sends the target data to the second device.

[0035] A second data processing device is applied to a second server, and the second data processing device includes:

[0036] A second receiving unit, configured to receive a data processing strategy for the data to be processed sent by the first server;

[0037] A processing unit, configured to process each of the to-be-processed data by adopting the data processing strategy through the anti-leakage processing model to obtain target data;

[0038] The second sending unit is used to send the target data to the second device.

[0039] A data processing device, comprising the first server and the second server, the device comprising: a processor, a memory and a communication bus;

[0040] The communication bus is used to realize the communication connection between the processor and the memory;

[0041] The processor is used to execute the data processing program stored in the memory to implement the steps of the above data processing method.

[0042] A computer-readable storage medium stores one or more programs, and the one or more programs can be executed by one or more processors to implement the steps of the data processing method as described above.

[0043] A computer program product comprises a computer program, wherein when the computer program is executed by a processor, the computer program implements the steps of the above data processing method.

[0044] The data processing method, apparatus, device, computer-readable storage medium and computer program product provided in the embodiments of the present application first receive the data to be processed generated based on the response data sent by the content distribution network, and the response data is obtained by the first device based on the access request, and then generate a data processing strategy for the data to be processed based on the target rule information, and the data processing strategy is used to block the leakage of the data to be processed, and then send the data processing strategy to the second server, so that the second server obtains the target data based on the data processing strategy and the data to be processed through the anti-leakage processing model, and sends the target data to the second device. In this way, different data processing strategies will be generated for different data to be processed according to the target rule information, that is, different processing strategies can be flexibly set for different data to be processed, so that different data processing strategies can be used to block the leakage of different data to be processed, instead of using fixed processing strategies for different data as in the related art, so as to meet the personalized needs of ICP customers. BRIEF DESCRIPTION OF THE DRAWINGS

[0045] Figure 1 A schematic diagram of a CDN network architecture in a data processing method provided in an embodiment of the present application;

[0046] Figure 2 A flowchart of a data processing method provided in an embodiment of the present application;

[0047] Figure 3 A schematic diagram of a process of sending target data in a data processing method provided in an embodiment of the present application;

[0048] Figure 4 A flowchart of another data processing method provided in an embodiment of the present application;

[0049] Figure 5 A flowchart of another data processing method provided in an embodiment of the present application;

[0050] Figure 6 A schematic diagram of a process for processing data to be processed in a data processing method provided in an embodiment of the present application;

[0051] Figure 7 A schematic diagram of the structure of a first data processing device provided in an embodiment of the present application;

[0052] Figure 8 A schematic diagram of the structure of a second data processing device provided in an embodiment of the present application;

[0053] Fig. 9 A schematic diagram of the structure of a first server provided in an embodiment of the present application;

[0054] Fig.10 A schematic diagram of the structure of a second server provided in an embodiment of the present application. DETAILED DESCRIPTION

[0055] The technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application.

[0056] It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0057] It should be noted that, refer to Figure 1 The CDN networking architecture shown in the figure deploys a global dispatch center at the backbone network level, and deploys content centers and edge service nodes within the provincial network. CDN supports flexible and scalable networking solutions to meet the needs of seamless network evolution and capacity expansion. The system adopts a flat networking mode from the management and control perspective, and all edge nodes are at the same level. The scheduling control subsystem uniformly controls the content center and edge nodes. From the business service perspective, a hierarchical networking is adopted, and the content center and edge nodes provide step-by-step content distribution and service capabilities. The content center and edge nodes are deployed in a distributed manner across the country, responsible for accessing content sources and serving end users nearby.

[0058] The CDN networking architecture supports dynamic capacity expansion based on user traffic, supporting both horizontal expansion by increasing the number of edge nodes and vertical expansion by grading and layering edge nodes. Horizontal expansion has fewer content injection links, and the latency overhead caused by back-to-source when content misses is small. Vertical expansion can bring edge nodes closer to user terminals, which is suitable for distribution acceleration services of high-traffic content such as videos, further reducing backbone network traffic and back-to-source website traffic.

[0059] The service scenario of CDN is as follows: when the terminal user accesses the content resources, the Domain Name System (DNS) is first required to obtain the address of the resource server. The CDN's Global Traffic Control System (TCS) is responsible for scheduling, returning the DNS query results, and determining the address of the edge node (SNS) server. The SNS returns the specific content to the terminal user. After that, when the SNS receives the specific request content from the terminal user, if the query server itself does not have the corresponding content, it initiates a back-to-source request for the corresponding content to the Content Center Subsystem (CCS). If CCS has the corresponding content, it returns it to SNS, and the SNS local cache returns it to the terminal user. If CCS does not have the corresponding content either, CCS initiates a back-to-source request for the corresponding content to the source station, and the source station returns the corresponding content to CCS. CCS caches and returns it to SNS, and the SNS local cache returns it to the terminal user.

[0060] It should be noted that after CDN distribution, the relevant distribution logs need to be provided to Internet Content Provider (ICP) customers for subsequent billing and settlement. CDN distribution logs are divided into two types in terms of timeliness: real-time and non-real-time. In terms of data aggregation, they are divided into two types: centralized and decentralized. Specifically, in terms of timeliness: (1) Real-time: After completing the service request of the terminal customer, CDN generally needs to feedback the corresponding log to the ICP customer within 5 minutes. The corresponding log is used as the basis for ICP billing and as the basis for ICP quality monitoring (such as quality warning when 5XX exceeds a certain ratio); (2) Non-real-time: After completing the service request of the terminal customer, CDN generally needs to feedback the corresponding log to the ICP customer within 2 hours. The corresponding log is used as the basis for ICP customer billing. In terms of data aggregation: (1) Centralized: After completing the service request of the terminal customer, each SNS directly feedbacks the corresponding log to the ICP customer.

[0061] (2) Dispersion: After CDN completes the service request of the terminal customer, each SNS will send the corresponding log to the log aggregation point, which will package and feedback the corresponding log to the ICP customer. In addition, the CDN distribution log may contain sensitive information of the terminal user, which is mainly manifested in the following two aspects: 1. In the general CDN log field: CDN logs generally contain the user request uniform resource identifier (Uniform Resource Identifier, URI) field, which may contain the user's mobile phone number, bank account number and other information; and some general fields may also contain sensitive data information of the terminal user due to reasons such as terminal programs. 2. In the customized CDN log field: In addition to requiring the log to provide common fields, ICP customers will also have customized log field requirements, which will also contain sensitive data information of the terminal customer. CDN logs provide ICP customers in various forms, and there is a risk of containing sensitive data of the terminal customer in the log. As a CDN log provider, it is necessary to flexibly and effectively prevent the leakage of sensitive data information in the CDN log to prevent the leakage of sensitive data information.

[0062] However, the methods for preventing sensitive data information leakage in the related art have the following problems: 1. They are not applicable to large CDN networks. When the CDN network distribution bandwidth exceeds 10Tbps, the amount of CDN log data increases rapidly. Regardless of the centralized or decentralized mode, regardless of the real-time or non-real-time mode, common data leakage prevention methods will bring resource overhead, which is in stark contradiction with CDN's rapid response and accurate and rapid provision of CDN logs. 2. Common data leakage prevention methods cannot meet various differentiated requirements of CDN logs. For example, some ICP customers require CDN logs to be delivered in a decentralized manner within 5 minutes, and some ICP customers require CDN logs to be delivered in a data aggregation manner within 2 hours. Common one-size-fits-all data leakage prevention methods cannot meet the differentiated requirements of various ICP customers. 3. Common data leakage prevention methods cannot completely perform sensitive data leakage prevention operations. For example, some ICP customers require that only information such as mobile phone numbers in URIs can be prevented from leakage, and other information must be retained. The common URI deletion method cannot meet the requirements. 4. Common data leakage prevention methods cannot flexibly perform sensitive data leakage prevention operations. For example, some ICP customers require that information such as mobile phone numbers in URIs be prevented from being leaked, and require that the mobile phone number string be replaced with the same number of "*" instead of simply replacing it with one "*".

[0063] Based on this, the embodiment of the present application provides a data processing method, which can be applied to the first server, referring to Figure 2 As shown, the method comprises the following steps:

[0064] Step 101: Receive data to be processed generated based on response data sent by a content distribution network.

[0065] The response data is obtained by the first device based on the access request.

[0066] In an embodiment of the present application, the first device may be a client device; the access request may refer to a terminal user access request sent by a user through a client device, or it may be a content request corresponding to the terminal user request sent to a parent node or a source station without caching the response data of the user request locally at the edge node; the response data may refer to content resources obtained from a destination server based on the access request; the data to be processed may be log data (i.e., CDN log) generated for the response data.

[0067] In an embodiment of the present application, a parent node may refer to an intermediate node or an upper node, which may be distributed in different areas, and a parent node may correspond to one or more edge nodes. When one or more edge nodes cannot meet the user's access request, that is, the content is not hit, one or more edge nodes may initiate an access request to the corresponding parent node, receive and store the content fed back by the parent node, and then send it to the user. When the parent node does not store the corresponding content, the parent node may initiate a content request to the source station, obtain the corresponding content from the source station, and send it to the edge node after caching. For details, refer to Figure 3 As shown, the user can initiate an access resolution request to the browser through the client device (that is, the user provides the domain name to be accessed to the browser). If the local DNS (Local DNS, LDNS) does not cache the content, it can go to the scheduling control subsystem in the CDN for recursive resolution, thereby returning the IP address of the edge node (SNS, that is, the destination server), caching the IP address of the destination server and returning it to the client; then the client initiates an access request to the SNS according to the IP address, and the SNS responds according to the original CDN business process. If it meets the requirements and hits the resource locally, it returns the corresponding response data (that is, the content resource) to the client; if the SNS does not have the content resource locally, it initiates a back-to-source request to the CCS in the DNS. If the CCS has the corresponding content resource, it directly returns to the SNS, and the SNS returns the corresponding content to the terminal after caching it locally. content; if CCS does not have the corresponding content resources, it will initiate a back-to-source request to the source station, and the source station will return the corresponding content resources to CCS. CCS will cache it locally and then feedback it to SNS. SNS will cache it locally and then return the corresponding content (i.e., response data) to the client. It should be noted that the edge node is a logical functional unit of the CDN-based cloud platform. As the main entity of the CDN service, the CDN-based cloud platform includes several edge nodes, which are mainly responsible for receiving access requests from users through client devices, verifying and providing users with locally cached content. If the content does not hit, it can obtain and cache the content from the superior node or source server (or source station) and provide services.

[0068] In the embodiments of this application, refer to Figure 3As shown, after the content distribution network sends the response data to the client device based on the access request, it also needs to generate log data of the response data (i.e., data to be processed), and synchronously distribute the log data to the data leakage prevention system (DLP) in the first server, that is, the first server receives the log data through the DLP; it should be noted that the first server can also receive the domain name configuration distributed by the CDN in real time through the DLP.

[0069] In a feasible implementation, the client device can be: various computer devices and smart terminal devices used by corporate headquarters, branches or employees working from home. The device can also be the company's asset equipment or an individual's bring your own device (BYOD); the data to be processed can specifically refer to the ICP customer log field, time limit, log submission node location and method corresponding to each domain name.

[0070] Step 102: Generate a data processing strategy for the data to be processed based on the target rule information.

[0071] Among them, the data processing strategy is used to block the leakage of the data to be processed.

[0072] In an embodiment of the present application, the target rule information may refer to the anti-leakage configuration requirements for each domain name data (data to be processed), and may specifically include an identification rule base and a processing rule base, that is, a data processing strategy may be generated based on the identification rule base and the processing rule base. In this way, data anti-leakage processing of relevant fields in the CDN log (i.e., data to be processed) may be flexibly and efficiently implemented.

[0073] Step 103: Send the data processing strategy to the second server, so that the second server obtains the target data based on the data processing strategy and the data to be processed through the anti-leakage processing model, and sends the target data to the second device.

[0074] Among them, the second server may refer to the log providing node; the target data refers to the data obtained after the data to be processed is subjected to leakage prevention processing using the data processing strategy; the second device may refer to the device corresponding to the ICP customer; it should be noted that, for the scenario where SNS directly submits the target data, the log providing node may refer to SNS; for the scenario where the log aggregation node submits the target data, the log providing node may refer to the log aggregation node.

[0075] In the embodiment of the present application, the first server can send the data processing strategy to the second server in real time through DLP; wherein, referring to Figure 3As shown, for the scenario where the SNS directly submits the target data, the first server directly sends the data processing policy to the corresponding SNS through DLP, and the SNS uses the data processing policy to obtain the target data from the data to be processed before sending the log data to the ICP customer, thereby completing the corresponding anti-leakage processing for the data to be processed; for the scenario where the log aggregation node submits the target data, the first server directly sends the data processing policy to the corresponding log aggregation node through DLP, and after the SNS sends the data to be processed of the corresponding domain name to the log aggregation node, the log aggregation node uses the data processing policy to obtain the target data from the data to be processed before sending the log data to the ICP customer, thereby completing the corresponding anti-leakage processing for the data to be processed.

[0076] The data processing method provided in the embodiment of the present application will generate different data processing strategies according to the target rule information for different data to be processed, that is, different processing strategies can be flexibly set for different data to be processed, so that different data processing strategies can be used to block leakage of different data to be processed, instead of using fixed processing strategies for different data as in the related art, thereby meeting the personalized needs of ICP customers.

[0077] The present application embodiment provides another data processing method, which can be applied to the second server. Figure 4 As shown, the method may include the following steps:

[0078] Step 201: Receive a data processing strategy for data to be processed sent by a first server.

[0079] In the embodiment of the present application, the second server is a log providing node, such as Figure 3 As shown, when the log providing node is SNS, the SNS receives the data processing strategy for the data to be processed sent by the first server; when the log providing node is a log aggregation node, the log aggregation node receives the data processing strategy for the data to be processed sent by the first server.

[0080] Step 202: for each piece of data to be processed, the data processing strategy is used to process the data to be processed through the anti-leakage processing model to obtain the target data.

[0081] In an embodiment of the present application, for the scenario where the log providing node is an SNS, an anti-leakage processing model can be set on the SNS, and then the anti-leakage processing model is used to process the data to be processed using a data processing strategy to obtain the target data; for the scenario where the log providing node is a log aggregation node, an anti-leakage processing model can be set on the log aggregation node, and then after receiving the data to be processed sent by the SNS, the anti-leakage processing model is used to process the data to be processed using a data processing strategy to obtain the target data.

[0082] It should be noted that the proposed log node data leakage prevention rapid identification and disposal model (i.e., through the leakage prevention processing model) can quickly and accurately locate the fields that need to be identified, the identification standards, and the disposal standards. The data leakage prevention positioning is accurate, efficient, accurate, and compatible, thus meeting the requirements of large-scale CDN networks.

[0083] Step 203: Send the target data to the second device.

[0084] In the embodiments of this application, refer to Figure 3 As shown, for the scenario where the log providing node is an SNS, the target data can be sent to the second device by the SNS; for the scenario where the log providing node is a log aggregation node, the target data can be sent to the second device by the log aggregation node.

[0085] It should be noted that the log providing node performs leakage prevention processing on the corresponding domain name and field content according to the received data processing strategy, and sends the processed log (i.e., target data) to the ICP customer in the second device according to the original CDN process, method, and interface, ensuring that the CDN meets information security requirements and avoids the leakage of sensitive data such as terminal customers' mobile phone numbers, ID numbers, and bank card numbers.

[0086] The data processing method provided in the embodiment of the present application can flexibly adopt different data processing strategies to perform data leakage prevention processing on different data to be processed after receiving the data processing strategy, so as to meet the personalized needs of ICP customers, and specifically process the data to be processed through the leakage prevention processing model, thereby improving the efficiency and accuracy of the data leakage prevention processing of the data to be processed.

[0087] Based on the above embodiments, the present application provides another data processing method. Figure 5 As shown, the method may include the following steps:

[0088] Step 301: A first server receives data to be processed generated based on response data sent by a content distribution network.

[0089] The response data is obtained by the first device from the destination server based on the access request and sent to the content distribution network.

[0090] In the embodiment of the present application, the data to be processed corresponding to each domain name (ie, each access request) can be represented by Ω={w1, w2, w3, ..., w i}, where Ω represents the CDN log data set of the specified domain name that needs to be sent to the ICP customer in the second device, and w iIndicates a CDN log corresponding to a field (ie, a first data), and the CDN log contains content information of all fields in the specified domain name.

[0091] Step 302: The first server obtains an identification rule base and a processing rule base.

[0092] The target rule information includes an identification rule base and a processing rule base.

[0093] In an embodiment of the present application, the identification rule base in DLP (i.e., the anti-leakage identification rule base) is the core rule base for CDN anti-leakage, which can identify sensitive data in the data to be processed, and is the basis for realizing flexible anti-leakage of CDN logs, and may specifically include the anti-leakage identification rule base ID, identification content, and identification standards, etc. In an embodiment of the present application, the processing rule base in DLP (i.e., the anti-leakage disposal rule base) can flexibly formulate disposal rules for the data to be processed, and may specifically include the anti-leakage disposal rule base ID, disposal classification, and disposal method, etc. And the anti-leakage disposal rule base can form a disposal anti-leakage identification and disposal flexible configuration matrix with the anti-leakage identification rule base, thereby realizing a comprehensive and flexible anti-leakage disposal function for CDN logs. In a feasible implementation method, the identification rule base can be specifically as shown in Table 1 below, and the processing rule base can be as shown in Table 2 below, where:

[0094] Table 1

[0095]

[0096] Table 2

[0097]

[0098] Step 303: The first server generates a data processing strategy based on the identification rule base and the processing rule base.

[0099] It should be noted that step 303 can be implemented in the following ways:

[0100] Step 303A: The first server determines, for each first data in each to-be-processed data, a target recognition rule corresponding to the first data from a recognition rule library.

[0101] The identification rule base includes target identification rules; the first data is data for blocking leakage behavior in the data to be processed.

[0102] In the embodiment of the present application, the target identification rule may refer to the identification rule of the first data; Figure 6As shown, you can select a specified domain name (i.e., select the data to be processed) and a specified field (i.e., the first data). Afterwards, since the identification rule library can contain multiple identification rules, for each first data in each selected data to be processed, the target identification rule corresponding to the first data can be determined from the identification rule library according to needs, and multiple target identification rules can be selected for each field.

[0103] In a feasible implementation, the first data may refer to the mobile phone number included in the specified field, the first data may refer to the ID card number included in the specified field, the first data may refer to the bank card number included in the specified field, and the first data may also refer to other sensitive data of the user included in the specified field.

[0104] It should be noted that if the data included in some fields of the data to be processed (such as time and return status code, etc.) does not need to be identified and processed for data leakage prevention, there is no need to identify and process the data for data leakage prevention, and there is no need to generate a processing strategy for the data.

[0105] Step 303B: The first server determines a target processing rule corresponding to the target identification rule from the processing rule library.

[0106] The processing rule base includes target processing rules.

[0107] In an embodiment of the present application, the target processing rule may refer to the processing rule of the first data; since the processing rule library may contain multiple processing rules, for each selected target identification rule, the target processing rule corresponding to the target identification rule may be determined from the processing rule library according to needs, and each target identification rule corresponds to a target handling rule.

[0108] Step 303C: The first server generates a sub-processing strategy for the first data based on the target identification rule and the target processing rule.

[0109] In an embodiment of the present application, the target identification rules and the target processing rules can be combined to obtain a sub-processing strategy, and the target identification rules and the target processing rules exist in the form of a group, and the sub-processing strategy can include the log providing the node location, domain name, field, target identification rules and target processing rules; it should be noted that a sub-processing strategy can be determined for each first data.

[0110] In a feasible implementation, when the target identification rule includes the identification library ID of identification-001, the identification content is the mobile phone number, the identification standard is to match according to the regular expression of the mobile phone numbers of China Mobile, China Unicom, and China Telecom, and the target processing rule includes the disposal library ID of disposal-002, the disposal classification is precise and effective, and the disposal method is to replace the specific content with the specified "*" equal amount, the obtained sub-processing strategy can be shown in the following Table 3:

[0111] Table 3

[0112]

[0113] Step 303D: The first server obtains a data processing strategy based on multiple sub-processing strategies.

[0114] In the embodiment of the present application, multiple sub-processing strategies can be integrated to obtain a data processing strategy; it should be noted that the data processing strategy can be represented by K={k1, k2, k3, ..., ki}, and K represents a set of anti-leakage strategies for the data to be processed corresponding to each domain name, wherein ki represents a strategy for a certain field, and the sub-processing strategies of all fields constitute the data processing strategy corresponding to the domain name; in a feasible implementation, the data processing strategy can be shown in Table 4 below:

[0115] Table 4

[0116]

[0117] Step 304: The first server sends the data processing strategy to the second server.

[0118] Step 305: The second server receives the data processing strategy for the data to be processed sent by the first server.

[0119] Step 306: The second server determines each first data from the data to be processed by using the leakage prevention processing model for each data to be processed.

[0120] In an embodiment of the present application, since the data to be processed includes data that needs to be blocked for leakage (i.e., the first data) and data that does not need to be blocked for leakage, for the scenario where the log providing node is an SNS, the data to be processed can be first identified by an anti-leakage processing model set on the SNS, and the data that needs to be blocked for leakage (i.e., the first data) can be identified; for the scenario where the log providing node is a log aggregation node, the data to be processed can be first identified by an anti-leakage processing model set on the log aggregation node, and the data that needs to be blocked for leakage (i.e., the first data) can be identified.

[0121] Step 307: The second server processes each first data by using the anti-leakage processing model and the data processing strategy to obtain each processed data.

[0122] In an embodiment of the present application, the processed data may refer to data obtained after the anti-leakage processing model processes the first data using the data processing strategy, and each first data is processed using the data processing strategy to obtain the corresponding processed data; the data processing strategy may be first processed by the anti-leakage processing model, and then the first data may be processed by the anti-leakage processing model to obtain each processed data.

[0123] It should be noted that the present application uses the CDN dispatch center, edge node interaction, and overall linkage data leakage prevention method, and on the basis of not affecting the normal operation of the CDN business, according to the changes in the CDN log providing node, flexibly issues a data leakage prevention strategy group (i.e., data processing strategy) only related to the log providing node, thereby minimizing the interaction of key data and effectively reducing the CDN security protection risk; and can achieve thorough data leakage prevention operations, i.e., by flexibly preventing the leakage of designated content while retaining other information content, thereby meeting the analysis and other needs of ICP customers, i.e., ensuring the subsequent analysis effect of CDN logs while ensuring data security.

[0124] It should be noted that step 307 can be implemented in the following ways:

[0125] Step 307E: The second server determines, for each first data, a sub-processing strategy corresponding to the first data from the data processing strategy through the anti-leakage processing model.

[0126] In an embodiment of the present application, the data processing strategy and the first data may be input into an anti-leakage processing model, and then the anti-leakage processing model may screen the data processing strategy based on the first data to determine a sub-processing strategy corresponding to the first data.

[0127] Step 307F: The second server processes the first data using a sub-processing strategy to obtain processed data.

[0128] In the embodiment of the present application, a sub-processing strategy is used to perform leakage prevention processing on the first data, which can avoid the leakage of sensitive data such as terminal customers' mobile phone numbers, ID numbers, bank card numbers, etc.

[0129] It should be noted that step 307F can also be implemented in the following ways:

[0130] Step 307f: The second server uses a leakage prevention processing model and a plurality of sub-processing strategies corresponding to the plurality of first data to perform parallel processing on the plurality of first data to obtain processed data.

[0131] In the application embodiment itself, the sub-processing strategy corresponding to each first data can be matched in parallel through the anti-leakage processing model, and then each sub-processing strategy is used to process the corresponding first data in parallel to obtain the processed data corresponding to each first data. In this way, the overall data anti-leakage processing efficiency is improved through parallel means, and the log time limit and other requirements of each domain name are ensured.

[0132] Step 308: The second server obtains target data based on the processed data and second data in the data to be processed.

[0133] The second data is data in the to-be-processed data that is not to be blocked for leakage.

[0134] In the embodiment of the present application, since the leakage of the second data in the processed data is not blocked, no processing strategy is generated for the second data. Therefore, when the second data is processed by the anti-leakage processing model, the processing strategy for the second data cannot be matched from the data processing strategy, and therefore there is no need to perform anti-leakage processing on the second data.

[0135] In the embodiment of the present application, when the target data is represented by S, the processed data is represented by S1, and the second data is represented by S2, the target data can be represented by the expression S=S1+S2.

[0136] Step 309: The second server sends the target data to the second device.

[0137] In the data processing method provided in the embodiment of the present application, for different data to be processed, the first server will generate different data processing strategies according to the target rule information, that is, different processing strategies can be flexibly set for different data to be processed, and then after receiving the data processing strategy, the second server can flexibly adopt different data processing strategies to perform data leakage prevention processing on different data to be processed, thereby meeting the personalized needs of ICP customers, and specifically processing the data to be processed through the leakage prevention processing model, which also improves the efficiency and accuracy of the data leakage prevention processing of the data to be processed.

[0138] Based on the above embodiments, the present application provides a first data processing device, which can be applied to Figure 2 and Figure 5 In the data processing method provided in the corresponding embodiment, refer to Figure 7 As shown, the first data processing device 4 may include: a first receiving unit 41, a generating unit 42 and a first sending unit 43, wherein:

[0139] The first receiving unit 41 is used to receive the data to be processed generated based on the response data sent by the content distribution network; wherein the response data is obtained by the first device based on the access request;

[0140] A generating unit 42 is used to generate a data processing strategy for the data to be processed based on the target rule information; wherein the data processing strategy is used to block leakage of the data to be processed;

[0141] The first sending unit 43 is used to send the data processing strategy to the second server, so that the second server obtains the target data based on the data processing strategy and the data to be processed through the anti-leakage processing model, and sends the target data to the second device.

[0142] In other embodiments of the present application, the generating unit 42 is further configured to perform the following steps:

[0143] Acquire an identification rule base and a processing rule base; wherein the target rule information includes the identification rule base and the processing rule base;

[0144] A data processing strategy is generated based on the recognition rule base and the processing rule base.

[0145] In other embodiments of the present application, the generating unit 42 is further configured to perform the following steps:

[0146] For each first data in each data to be processed, determine the target identification rule corresponding to the first data from the identification rule base; wherein the identification rule base includes the target identification rule; the first data is the data for blocking leakage behavior in the data to be processed;

[0147] Determine a target processing rule corresponding to the target identification rule from a processing rule library; wherein the processing rule library includes the target processing rule;

[0148] Generate a sub-processing strategy for the first data based on the target identification rule and the target processing rule;

[0149] A data processing strategy is obtained based on the multiple sub-processing strategies.

[0150] It should be noted that the specific implementation process of the steps performed by each module in the embodiment of the present application can be referred to Figure 2 and Figure 5 The implementation process of the data processing method provided in the corresponding embodiment will not be repeated here.

[0151] The first data processing device provided in the embodiment of the present application will generate different data processing strategies according to the target rule information for different data to be processed, that is, different processing strategies can be flexibly set for different data to be processed, so that different data processing strategies can be used to block leakage of different data to be processed, instead of using fixed processing strategies for different data as in the related art, thereby meeting the personalized needs of ICP customers.

[0152] Based on the above embodiments, the present application provides a second data processing device, which can be applied to Figure 4 and Figure 5 In the data processing method provided in the corresponding embodiment, refer to Figure 8 As shown, the second data processing device 5 may include: a second receiving unit 51, a processing unit 52, and a second sending unit 53, wherein:

[0153] The second receiving unit 51 is used to receive a data processing strategy for the data to be processed sent by the first server;

[0154] A processing unit 52 is used to process each data to be processed by using a data processing strategy through an anti-leakage processing model to obtain target data;

[0155] The second sending unit 53 is used to send the target data to the second device.

[0156] In other embodiments of the present application, the processing unit 52 is further configured to perform the following steps:

[0157] For each piece of data to be processed, determining each piece of first data from the data to be processed by using the anti-leakage processing model;

[0158] Using the anti-leakage processing model, a data processing strategy is used to process each first data to obtain each processed data;

[0159] The target data is obtained based on the processed data and the second data in the data to be processed; wherein the second data is the data in the data to be processed that is not subject to leakage blocking.

[0160] In other embodiments of the present application, the processing unit 52 is further configured to perform the following steps:

[0161] For each first data, determine a sub-processing strategy corresponding to the first data from the data processing strategy through the anti-leakage processing model;

[0162] The sub-processing strategy is used to process the first data to obtain processed data.

[0163] In other embodiments of the present application, the processing unit 52 is further configured to perform the following steps:

[0164] Through the anti-leakage processing model, a plurality of sub-processing strategies corresponding to the plurality of first data are adopted to perform parallel processing on the plurality of first data to obtain processed data.

[0165] It should be noted that the specific implementation process of the steps performed by each module in the embodiment of the present application can be referred to Figure 4 and Figure 5 The implementation process of the data processing method provided in the corresponding embodiment will not be repeated here.

[0166] The second data processing device provided in the embodiment of the present application can flexibly adopt different data processing strategies to perform data leakage prevention processing on different data to be processed after receiving the data processing strategy, so as to meet the personalized needs of ICP customers, and specifically process the data to be processed through the leakage prevention processing model, thereby improving the efficiency and accuracy of the data leakage prevention processing of the data to be processed.

[0167] Based on the foregoing embodiments, the embodiments of the present application provide a data processing device (i.e., a first server), which can be applied to Figure 2 and Figure 5 In the data processing method provided in the corresponding embodiment, refer to Fig. 9 As shown, the first server 6 may include: a processor 61, a memory 62 and a communication bus 63, wherein:

[0168] The communication bus 63 is used to realize the communication connection between the processor 61 and the memory 62;

[0169] The processor 61 is used to execute the data processing program in the memory 62 to implement the following steps:

[0170] Receiving data to be processed generated based on response data sent by a content distribution network; wherein the response data is obtained by the first device based on the access request;

[0171] Based on the target rule information, a data processing strategy for the data to be processed is generated; wherein the data processing strategy is used to block leakage of the data to be processed;

[0172] The data processing strategy is sent to the second server, so that the second server obtains the target data based on the data processing strategy and the data to be processed through the anti-leakage processing model, and sends the target data to the second device.

[0173] In other embodiments of the present application, the processor 61 is used to execute the data processing program in the memory 62 based on the target rule information to generate a data processing strategy for the data to be processed, so as to implement the following steps:

[0174] Acquire an identification rule base and a processing rule base; wherein the target rule information includes the identification rule base and the processing rule base;

[0175] A data processing strategy is generated based on the recognition rule base and the processing rule base.

[0176] In other embodiments of the present application, the processor 61 is used to execute the data processing program in the memory 62, based on the identification rule base and the processing rule base, to generate a data processing strategy to implement the following steps:

[0177] For each first data in each data to be processed, determine the target identification rule corresponding to the first data from the identification rule base; wherein the identification rule base includes the target identification rule; the first data is the data for blocking leakage behavior in the data to be processed;

[0178] Determine a target processing rule corresponding to the target identification rule from a processing rule library; wherein the processing rule library includes the target processing rule;

[0179] Generate a sub-processing strategy for the first data based on the target identification rule and the target processing rule;

[0180] A data processing strategy is obtained based on the multiple sub-processing strategies.

[0181] It should be noted that the specific description of the steps executed by the processor can be referred to Figure 2 and Figure 5 The implementation process of the data processing method provided in the corresponding embodiment will not be repeated here.

[0182] The first server provided in the embodiment of the present application will generate different data processing strategies according to the target rule information for different data to be processed, that is, different processing strategies can be flexibly set for different data to be processed, so that different data processing strategies can be used to block leakage of different data to be processed, instead of using fixed processing strategies for different data as in the related art, thereby meeting the personalized needs of ICP customers.

[0183] Based on the foregoing embodiments, the embodiments of the present application provide a data processing device (i.e., a second server), which can be applied to Figure 4 and Figure 5 In the data processing method provided in the corresponding embodiment, refer to Fig.10 As shown, the second server 7 may include: a processor 71, a memory 72 and a communication bus 73, wherein:

[0184] The communication bus 73 is used to realize the communication connection between the processor 71 and the memory 72;

[0185] The processor 71 is used to execute the data processing program in the memory 72 to implement the following steps:

[0186] Receiving a data processing strategy for the data to be processed sent by the first server;

[0187] For each data to be processed, the anti-leakage processing model is used to process the data to be processed using a data processing strategy to obtain the target data;

[0188] The target data is sent to the second device.

[0189] In other embodiments of the present application, the processor 71 is used to execute the data processing program in the memory 72, and for each data to be processed, the data processing strategy is used to process the data to be processed through the anti-leakage processing model to obtain the target data, so as to implement the following steps:

[0190] For each piece of data to be processed, determining each piece of first data from the data to be processed by using the anti-leakage processing model;

[0191] Using the anti-leakage processing model, a data processing strategy is used to process each first data to obtain each processed data;

[0192] The target data is obtained based on the processed data and the second data in the data to be processed; wherein the second data is the data in the data to be processed that is not subject to leakage blocking.

[0193] In other embodiments of the present application, the processor 71 is used to execute the data processing program in the memory 72 through the anti-leakage processing model, and adopt the data processing strategy to process each first data to obtain each processed data, so as to implement the following steps:

[0194] For each first data, determine a sub-processing strategy corresponding to the first data from the data processing strategy through the anti-leakage processing model;

[0195] The sub-processing strategy is used to process the first data to obtain processed data.

[0196] In other embodiments of the present application, the processor 71 is used to execute the data processing program in the memory 72 through the anti-leakage processing model, and use the sub-processing strategy to process the first data to obtain the processed data, so as to implement the following steps:

[0197] Through the anti-leakage processing model, a plurality of sub-processing strategies corresponding to the plurality of first data are adopted to perform parallel processing on the plurality of first data to obtain processed data.

[0198] It should be noted that the specific description of the steps executed by the processor can be referred to Figure 4 and Figure 5 The implementation process of the data processing method provided in the corresponding embodiment will not be repeated here.

[0199] The second server provided in the embodiment of the present application can flexibly adopt different data processing strategies to perform data leakage prevention processing on different data to be processed after receiving the data processing strategy, so as to meet the personalized needs of ICP customers, and specifically process the data to be processed through the leakage prevention processing model, thereby improving the efficiency and accuracy of data leakage prevention processing on the data to be processed.

[0200] Based on the foregoing embodiments, the embodiments of the present application provide a computer-readable storage medium, which stores one or more programs, and the one or more programs can be executed by one or more processors to implement Figure 2 , Figure 4 and Figure 5 The corresponding embodiments provide steps in the data processing method.

[0201] Based on the above embodiments, the present application also provides a computer program product, including a computer program, which can be executed by the processor 61 of the first server 6 and the processor 71 of the second server 7 to implement Figure 2 , Figure 4 and Figure 5 The corresponding embodiments provide steps in the data processing method.

[0202] It should be noted that the above-mentioned computer-readable storage medium can be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), a magnetic random access memory (FRAM), a flash memory (Flash Memory), a magnetic surface memory, an optical disc, or a compact disc read-only memory (CD-ROM) and other memories; it can also be various electronic devices including one or any combination of the above-mentioned memories, such as mobile phones, computers, tablet devices, personal digital assistants, etc.

[0203] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or device including the element.

[0204] The serial numbers of the above-mentioned embodiments of the present application are for description only and do not represent the advantages or disadvantages of the embodiments.

[0205] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course, by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, a magnetic disk, or an optical disk), and includes a number of instructions for a terminal device (which can be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to execute the methods described in each embodiment of the present application.

[0206] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products of the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0207] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0208] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0209] The above are only preferred embodiments of the present application, and are not intended to limit the patent scope of the present application. Any equivalent structure or equivalent process transformation made using the contents of the present application specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present application.

Claims

1. A data processing method, characterized in that: Applied to a first server, the method comprises: Receiving data to be processed generated based on response data sent by a content distribution network; wherein the response data is obtained by the first device based on the access request; Based on the target rule information, a data processing strategy for the data to be processed is generated; wherein the data processing strategy is used to block leakage of the data to be processed; The data processing strategy is sent to the second server, so that the second server obtains target data based on the data processing strategy and the data to be processed through the anti-leakage processing model, and sends the target data to the second device.

2. The method according to claim 1, characterized in that The step of generating a data processing strategy for the data to be processed based on the target rule information includes: Acquire an identification rule base and a processing rule base; wherein the target rule information includes the identification rule base and the processing rule base; The data processing strategy is generated based on the identification rule base and the processing rule base.

3. The method according to claim 2, characterized in that The step of generating the data processing strategy based on the identification rule base and the processing rule base includes: For each first data in each of the data to be processed, determine the target identification rule corresponding to the first data from the identification rule base; wherein the identification rule base includes the target identification rule; the first data is the data for blocking leakage behavior in the data to be processed; Determining a target processing rule corresponding to the target identification rule from the processing rule library; wherein the processing rule library includes the target processing rule; generating a sub-processing strategy for the first data based on the target identification rule and the target processing rule; The data processing strategy is obtained based on a plurality of the sub-processing strategies.

4. A data processing method, characterized in that: Applied to the second server, the method comprises: Receiving a data processing strategy for the data to be processed sent by the first server; For each of the data to be processed, the data to be processed is processed by adopting the data processing strategy through the anti-leakage processing model to obtain the target data; The target data is sent to the second device.

5. The method according to claim 4, characterized in that For each of the data to be processed, the data to be processed is processed by the anti-leakage processing model and the data processing strategy to obtain the target data, including: For each of the data to be processed, determine each first data from the data to be processed by using the anti-leakage processing model; By using the anti-leakage processing model, the data processing strategy is used to process each of the first data to obtain each processed data; The target data is obtained based on the processed data and second data in the data to be processed; wherein the second data is data in the data to be processed that is not subject to leakage blocking.

6. The method according to claim 5, characterized in that The step of processing each of the first data by the anti-leakage processing model and adopting the data processing strategy to obtain each processed data includes: For each of the first data, determine the sub-processing strategy corresponding to the first data from the data processing strategy through the anti-leakage processing model; The first data is processed using the sub-processing strategy to obtain the processed data.

7. The method according to claim 6, characterized in that The step of processing the first data by using the anti-leakage processing model and adopting the sub-processing strategy to obtain the processed data includes: Through the anti-leakage processing model, a plurality of the sub-processing strategies corresponding to the plurality of the first data are adopted to perform parallel processing on the plurality of the first data to obtain the processed data.

8. A first data processing device, characterized in that: Applied to a first server, the first data processing device comprises: A first receiving unit, configured to receive data to be processed generated based on response data sent by a content distribution network; wherein the response data is obtained by the first device based on an access request; A generating unit, configured to generate a data processing strategy for the data to be processed based on target rule information; wherein the data processing strategy is used to block leakage of the data to be processed; The first sending unit is used to send the data processing strategy to the second server, so that the second server obtains target data based on the data processing strategy and the data to be processed through the anti-leakage processing model, and sends the target data to the second device.

9. A second data processing device, characterized in that: Applied to the second server, the second data processing device includes: A second receiving unit, configured to receive a data processing strategy for the data to be processed sent by the first server; A processing unit, configured to process each of the to-be-processed data by adopting the data processing strategy through the anti-leakage processing model to obtain target data; The second sending unit is used to send the target data to the second device.

10. A data processing device, characterized in that: The device comprises: a processor, a memory and a communication bus; The communication bus is used to realize the communication connection between the processor and the memory; The processor is used to execute the data processing program in the memory to implement the steps of the data processing method according to any one of claims 1 to 3 or 4 to 7.

11. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores one or more programs, and the one or more programs can be executed by one or more processors to implement the steps of the data processing method according to any one of claims 1 to 3 or 4 to 7.

12. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the computer program implements the steps of the data processing method according to any one of claims 1 to 3 or 4 to 7.