CN106302421B - A kind of information intercepting processing method and device - Google Patents

A kind of information intercepting processing method and device Download PDF

Info

Publication number
CN106302421B
CN106302421B CN201610642944.8A CN201610642944A CN106302421B CN 106302421 B CN106302421 B CN 106302421B CN 201610642944 A CN201610642944 A CN 201610642944A CN 106302421 B CN106302421 B CN 106302421B
Authority
CN
China
Prior art keywords
interception
information
business access
regulation
queue
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201610642944.8A
Other languages
Chinese (zh)
Other versions
CN106302421A (en
Inventor
张东何
刘志坤
邓锦福
梁焯佳
卢洪权
邹志
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201610642944.8A priority Critical patent/CN106302421B/en
Publication of CN106302421A publication Critical patent/CN106302421A/en
Application granted granted Critical
Publication of CN106302421B publication Critical patent/CN106302421B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/10Network architectures or network communication protocols for network security for controlling access to devices or network resources
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/14Network architectures or network communication protocols for network security for detecting or protecting against malicious traffic
    • H04L63/1441Countermeasures against malicious traffic
    • H04L63/1458Denial of Service
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/133Protocols for remote procedure calls [RPC]

Abstract

The embodiment of the invention discloses a kind of information intercepting processing method and devices, and wherein method includes: to report the corresponding queue attributes parameter of queue in the preset shared drive of detection;When queue attributes parameter meets default report condition, all business access information unifications in queue will be reported to report to interception background server by preset interception agency service, indicates information so as to intercept background server interception rule according to corresponding to the interception number of regulation in the business access information and each business access information summarized and generate multiple interceptions;Multiple interceptions instruction information are obtained by intercepting agency service, and target interception instruction information is selected in multiple interceptions instruction information according to the interception number of regulation being locally-assigned, indicate that information carries out intercept process to the new business access information got according to target interception in order to subsequent.Using the present invention, the load pressure for intercepting background server can be reduced, and improve the intercept process efficiency to business access.

Description

A kind of information intercepting processing method and device
Technical field
The present invention relates to Internet technical field more particularly to a kind of information intercepting processing method and devices.
Background technique
With the development of internet technology, the business access information content of user will become increasing, in order to better A large amount of business access is managed, front-end server usually requires the client account or client ip excessively high to visitation frequency (Internet Protocol, network protocol) address accesses intercept process.Current access interception processing mode is specific Are as follows: as soon as front-end server often gets time business access, which is passed through a RPC (Remote Procedure Call, remote procedure call) interception background server is reported to, and synchronous waiting is intercepted to return after background server counts and be intercepted Indicate information, front-end server judges whether further according to instruction information is intercepted to when the secondary business access got intercepts. Since in current access interception processing mode, each business access requires RPC of progress and reports, so when existing It is when the business access of magnanimity that the load pressure that will lead to interception background server is excessive;And due to needing synchronous wait to intercept Background server, which returns, intercepts instruction information, and when there are the business access of magnanimity that the delay that will lead to RPC is excessively high, so The intercept process efficiency to business access will be reduced.
Summary of the invention
The embodiment of the present invention provides a kind of information intercepting processing method and device, can reduce and intercept background server Load pressure, and improve the intercept process efficiency to business access.
The embodiment of the invention provides a kind of information intercepting processing methods, comprising:
It detects in preset shared drive and reports the corresponding queue attributes parameter of queue;It is described that report queue be for depositing The business access information that storage client reports, and the business access information includes the interception number of regulation being locally-assigned;
When the queue attributes parameter meets default report condition, reported by preset interception agency service by described All business access information unifications in queue report to interception background server, so that the interception background server is according to remittance Must to business access information and each business access information in interception number of regulation corresponding to interception rule generate it is more A interception indicates information;
The multiple interception is obtained by the interception agency service and indicates information, and according to the interception being locally-assigned Number of regulation selects target interception instruction information in the multiple interception instruction information, in order to subsequent according to the target It intercepts instruction information and intercept process is carried out to the new business access information got.
Correspondingly, the embodiment of the invention also provides a kind of information intercepting processing units, comprising:
Detection module reports the corresponding queue attributes parameter of queue for detecting in preset shared drive;On described Report queue is the business access information reported for storing client, and the business access information includes the interception being locally-assigned Number of regulation;
Proxy service module is intercepted, for being reported described when the queue attributes parameter meets default report condition All business access information unifications in queue report to interception background server, so that the interception background server is according to remittance Must to business access information and each business access information in interception number of regulation corresponding to interception rule generate it is more A interception indicates information;
The interception proxy service module is also used to obtain the multiple interception instruction information, and according to the local point The interception number of regulation matched selects target interception instruction information in the multiple interception instruction information, in order to subsequent basis The target interception instruction information carries out intercept process to the new business access information got.
The embodiment of the present invention reports the corresponding queue attributes parameter of queue by detecting in preset shared drive, and works as When the queue attributes parameter meets default report condition, by preset interception agency service by the institute reported in queue There is business access information unification to report to interception background server, so that the interception background server generates multiple interception instructions Information, then the multiple interception in the interception background server is obtained by the interception agency service and indicates information, and Target interception instruction information is selected in the multiple interception instruction information according to the interception number of regulation being locally-assigned, Indicate that information carries out intercept process to the new business access information got according to the target interception in order to subsequent.Thus may be used See, after getting multiple business access information, just carries out a RPC and report, it is possible to RPC is effectively reduced and reports number, And then the load pressure for intercepting background server can be reduced;And subsequent new business access information can be directly based upon target It intercepts and indicates information realization intercept process, i.e., intercept background server return without synchronous waiting and intercept instruction information, so as to To improve the intercept process efficiency to business access;And information is indicated by selecting target interception, it can also reduce right New business access information carries out the quantity of the interception instruction information relied on when intercept process, so as to further increase to industry The intercept process efficiency of business access.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this Some embodiments of invention for those of ordinary skill in the art without creative efforts, can be with It obtains other drawings based on these drawings.
Fig. 1 is a kind of schematic diagram of network architecture provided in an embodiment of the present invention;
Fig. 2 is a kind of flow diagram of information intercepting processing method provided in an embodiment of the present invention;
Fig. 2 a is a kind of structural schematic diagram of information intercepting processing system provided in an embodiment of the present invention;
Fig. 3 is the flow diagram of another information intercepting processing method provided in an embodiment of the present invention;
Fig. 3 a is the structural schematic diagram of another information intercepting processing system provided in an embodiment of the present invention;
Fig. 4 is the flow diagram of another information intercepting processing method provided in an embodiment of the present invention;
Fig. 4 a is the structural schematic diagram of another information intercepting processing system provided in an embodiment of the present invention;
Fig. 5 is a kind of structural schematic diagram of information intercepting processing unit provided in an embodiment of the present invention;
Fig. 6 is the structural schematic diagram of another information intercepting processing unit provided in an embodiment of the present invention;
Fig. 7 is the structural schematic diagram of another information intercepting processing unit provided in an embodiment of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other Embodiment shall fall within the protection scope of the present invention.
It referring to Figure 1, is a kind of schematic diagram of network architecture provided in an embodiment of the present invention.As shown in Figure 1, the network rack Structure may include intercepting background server and multiple front-end servers, shown interceptions background server can by internet with it is more A front-end server is communicatively coupled.In the embodiment of the present invention, multiple industry that each front-end server can will acquire Business access information is first stored, then periodically takes the multiple business access information reportings stored to the interception backstage Business device;The multiple business access information and correlation that intercepts background server and can be reported according to each front-end server Interception rule generate multiple interception and indicate information, and the multiple interception is indicated that information is sent respectively to each front end services Device so that each front-end server can the interception rule according to corresponding to the business access information of itself blocked the multiple The target interception instruction information selected in instruction information and itself need to use is cut, therefore, each front-end server can be with The target interception instruction information selected according to itself carries out intercept process to the new business access information got.Thus may be used See, each front-end server just carries out a RPC and report, it is possible to effectively drop after getting multiple business access information Low RPC reports number, and then can reduce the load pressure for intercepting background server;And subsequent new business access information can To be directly based upon target interception instruction information realization intercept process, i.e., refer to without synchronizing to wait intercepting background server and returning to intercept Show information, so as to improve the intercept process efficiency to business access;And information is indicated by selecting target interception, also Can reduce to new business access information carry out intercept process when relied on interception instruction information quantity, so as into One step improves the intercept process efficiency to business access.
Fig. 2 is referred to, is a kind of flow diagram of information intercepting processing method provided in an embodiment of the present invention, the side Method may include:
S201 is detected in preset shared drive and is reported the corresponding queue attributes parameter of queue;It is described to report the queue to be The business access information reported for storing client, and the business access information includes the interception regular sequence being locally-assigned Number;
Specifically, the front-end server may include industry by taking above-mentioned any one front-end server shown in FIG. 1 as an example Business logical services process, the service logic service processes can be responsible for receiving the business access information that multiple client uploads, The service logic service processes can also intercept number of regulation for business access information distribution is corresponding, and will distribute Interception number of regulation add in the business access information.Wherein, the corresponding interception rule of the interception number of regulation is It is pre-set by interception background server, and the front-end server and the interception background server preparatory can obtain Know the corresponding interception number of regulation of each interception rule.For example, certain corresponding client ip address of business access information is " XXX " then the interception number of regulation that the service logic service is distributed can be 3, and intercepts the interception that number of regulation is 3 Rule is specifically as follows: when the corresponding visitation frequency of the client ip address for " XXX " is more than 100, to client ip Location is that " XXX " corresponding business access information is intercepted.Therefore, number of regulation is intercepted when the front-end server will carry When business access information reporting gives the interception background server, the interception background server can be according to the interception rule Serial number learns the corresponding interception rule of the business access information.
The front-end server can preset one section of shared drive and intercept agency service, by described shared interior The service logic service processes can be made and intercept in agency service process is reported to realize data communication by depositing.The business is patrolled Business access information that service processes can will acquire and comprising the interception number of regulation being locally-assigned is collected to store to described Reporting in queue in shared drive, and the corresponding interception regular sequence being locally-assigned of business access information that will acquire Number storage into the interception number of regulation record storehouse in the shared drive.The front-end server can be reported with real-time detection The corresponding queue attributes parameter of queue, the queue attributes parameter may include queue storage time and stored business access Information content, the queue storage time can report queue triggering to report the time added up after operation for described in.Before described End server can further judge the queue storage time whether meet it is preset report the time cycle, if being judged as satisfaction It is described to report the time cycle, it is determined that the queue attributes parameter meets default report condition, otherwise, it determines the queue attributes Parameter is unsatisfactory for default report condition.For example, if it is described to report the time cycle be 1 second, it is described that queue triggering is reported to report behaviour When the time added up after work reaches 1 second, that is, it can trigger and operation reported (to report queue to report every 1 second described in i.e. once to be deposited All business access information of storage report process described in).Alternatively, the front-end server may determine that the stored industry Whether business access information quantity reaches preset information content threshold value, reaches the information content threshold value if being judged as, it is determined that The queue attributes parameter meets default report condition, otherwise, it determines the queue attributes parameter is unsatisfactory for default report condition. For example, the quantity of the business access information for reporting queue to be stored reaches if the information content threshold value is 1000 When 1000, that is, it can trigger and operation reported (to report queue 1000 business access information of every storage just to report described in i.e. once to be deposited All business access information of storage report process described in).
Wherein, described to report queue be to write single reading type more, and only report queue to carry out push behaviour to described (the operation of queue will be reported make described in the write-in of business access information) (Compare and swap, compares and hand over Shi Caijia CAS Change) lock, and to it is described report queue carry out pop operation (i.e. from the operation for reporting queue to extract business access information) when Without locking, to report the performance of queue described in raising.
S202, when the queue attributes parameter meets default report condition, by preset interception agency service by institute It states and all business access information unifications in queue is reported to report to interception background server, so that the interception background server According to the rule of interception corresponding to the interception number of regulation in the business access information and each business access information summarized Generate multiple interception instruction information;
Specifically, when determining that the queue attributes parameter meets default report condition, the front-end server can be with All business access information in queue are reported (to extract described in process extraction by reporting described in described intercept in agency service Business access information is not present in described report afterwards in queue, in order to the subsequent business access letter for continuing storage and newly getting Breath), and all business access information unifications are reported into interception background server.The interception background server may include visiting Ask frequency statistics service processes, the access frequency statistical fractals process can receive the business that the front-end server reports and visit Ask information, while also can receive the business access information that other front-end servers report (there are the front end Duo Tai clothes Business device and the interception background server communicate to connect, and report process can report team for respective in each front-end server All business access information reportings in column are to the interception background server), the access frequency statistical fractals process can be with According to the rule of interception corresponding to the interception number of regulation in the business access information and each business access information summarized Generate multiple interception instruction information.For example, the business that the access frequency statistical fractals process reports each front-end server is visited After asking that information summarizes, 500 business access information are obtained, wherein 300 business access information include to intercept number of regulation 1, 120 business access information include to intercept 3,80 business access information of number of regulation (wherein, to block comprising intercepting number of regulation 4 Cut rule serial number 1 is corresponding to intercept rule A, and interception number of regulation 3 is corresponding to intercept rule B, intercepts the corresponding interception rule of number of regulation 4 C), if the time cycle that reports for reporting process of each front-end server is 1 second, it can determine and intercept the corresponding visitor of rule A The visitation frequency of family end IP address is 300, and the visitation frequency for intercepting the corresponding client ip address of rule B is 120, intercepts rule The visitation frequency of the corresponding client ip address of C is 80, and intercepting the visitation frequency threshold value in rule A is 200, intercepts rule B In visitation frequency threshold value be 100, intercept rule C in visitation frequency threshold value be 100, then can according to intercept rule A generation Corresponding interception indicates information a, and generates corresponding interception instruction information b according to rule B is intercepted, wherein the interception instruction Information a is the command information for being intercepted to the interception corresponding client ip address of rule A, and the interception indicates information b It is the command information for being intercepted to the interception corresponding client ip address of rule B.Certainly, described in present invention implementation Intercept rule and not shall be limited only to the extent be the visitation frequency based on client ip address interception rule, interceptions is regular can also be with It is the interception rule of the visitation frequency based on user account, or the interception rule of the visitation frequency based on other dimensions.
S203 obtains the multiple interception by the interception agency service and indicates information, and is locally-assigned according to described Interception number of regulation the multiple interception instruction information in select target interception instruction information, in order to subsequent according to institute It states target interception instruction information and intercept process is carried out to the new business access information got;
Specifically, the front-end server can obtain interception background server institute by the interception agency service The multiple interception generated indicates information, and the multiple interception instruction information is stored in the interception agency service. The front-end server also searches the interception stored within a preset period of time in the interception number of regulation record storehouse simultaneously Number of regulation, and it is determined as target interception number of regulation, number of regulation note is intercepted as described in can will be stored in nearest 5 minutes Interception number of regulation in record library is determined as target interception number of regulation.The front-end server can be further the multiple The target interception instruction information corresponding with the target interception number of regulation of selection in instruction information is intercepted (due to intercepting instruction letter Breath is associated with rule is intercepted, it is possible to be selected based on the corresponding interception rule of the target interception number of regulation associated Target interception indicate information), and target interception instruction information storage is referred to the local intercept in the shared drive Show information bank, indicates that information carries out at interception the new business access information got according to the target interception in order to subsequent Reason.Wherein, since the interception background server multiple interception instruction information generated are based on multiple front-end server institutes The business access information reported is generated, therefore, for one of front-end server, in order to improve blocking for front-end server Cut treatment effeciency, then can based on the target interception number of regulation from the multiple interceptions instruction information in filter out with originally before The associated target interception of business access information for holding server accessed in the recent period indicates information, and the multiple interception indicates Other interception instruction information in information other than target interception indicates information are not that this front-end server needs to use recently The interception instruction information arrived, thus this front-end server it is subsequent get new business access information when, can be based only upon described Target interception indicates information to determine whether the new business access information needs to intercept, to improve intercept process efficiency.For example, The interception background server generates 1000 interception instruction information, and certain front-end server is based on the target interception rule The target interception instruction information that serial number is selected only has 50, this 50 target interception instruction information are also that the front-end server is close The interception instruction information used required for phase, so the front-end server is based on this 50 target interception instruction information and is intercepted It handles much higher compared to the treatment effeciency that instruction information is intercepted is intercepted based on 1000.
Wherein, local intercept instruction information bank is and to belong to single-write and multiple-read using Hashmap (Hash mapping) structure Type, since local intercept instruction information bank is of less demanding to real-time consistency, read-write is without locking, to mention The performance of the high local intercept instruction information bank.Moreover, each intercepts instruction information (including target interception indicates information) The life cycle of certain length is all had, to guarantee that unused target is blocked for a long time in the local intercept instruction information bank Cutting instruction information can cease to be in force automatically, to avoid because there is unused mesh for a long time in local intercept instruction information bank Mark intercepts instruction information and causes accidentally to intercept (because for industry associated by unused target interception instruction information for a long time Business access information can restore access authority again, it can not intercept to this kind of business access information temporarily, until right Interception is re-started when the visitation frequency answered transfinites again again).And to report process that can periodically report described due to described Report all business access information in queue to the interception background server, so that the interception can also be periodically acquired Background server multiple interceptions generated indicate information, so can according to the multiple interceptions instruction information periodically generated with And the target interception number of regulation being periodically obtaining, the target periodically updated in the local intercept instruction information bank are blocked Cut instruction information, based on after continuous renewal target interception indicate information, it is ensured that subsequent new business access information into The interception accuracy rate of row intercept process avoids the case where leakage intercepts.
Optionally, if the quantity of front-end server is few, the interception background server interception instruction letter generated The quantity for the interception instruction information that the quantity of breath is used required in the recent period with each front-end server is not much different, at this point it is possible to will Interception background server multiple interception instruction information generated all store the local intercept in the shared drive It indicates in information bank, indicates that information carries out intercept process to new business access information according to the multiple interception in order to subsequent, It may not need the setting interception number of regulation record storehouse in the shared drive at this time.
It further, is a kind of knot of information intercepting processing system provided in an embodiment of the present invention please also refer to Fig. 2 a Structure schematic diagram.The system may include front-end server 100 and interception background server 200;The front-end server 100 wraps It includes service logic service processes 100a, shared drive 100b, intercept agency service 100c;The shared drive 100b includes reporting Queue 1001b, number of regulation record storehouse 1002b, local intercept instruction information bank 1003b are intercepted.In specific application scenarios, When the service logic service processes 100a of the front-end server 100 gets the new business access that the client reports When information, the service logic service processes 100a can distribute corresponding interception regular sequence for the new business access information Number, and the interception number of regulation distributed is added in the new business access information;The service logic service processes 100a is again by the new business access information storage comprising the interception number of regulation distributed to the institute in the shared drive 100b It states and reports in queue 1001b, and the service logic service processes 100a also arrives the interception number of regulation storage distributed In the interception number of regulation record storehouse 1002b in the shared drive 100b, meanwhile, the service logic service processes 100a also extracts the target interception instruction from the local intercept instruction information bank 1003b in the shared drive 100b Information, and when the corresponding interception rule of interception number of regulation that the new business access information is included refers to the target interception When showing that information is associated, the service logic service processes 100a intercepts the new business access information.Wherein, described It is logical between the specific implementation function of interception agency service 100c, the interception agency service 100c and shared drive 100b Letter process and the agency service 100c and the communication process intercepted between background server 200 of intercepting may refer to S201-S203 in above-mentioned Fig. 2 corresponding embodiment, is not discussed here.
The embodiment of the present invention reports the corresponding queue attributes parameter of queue by detecting in preset shared drive, and works as When the queue attributes parameter meets default report condition, by preset interception agency service by the institute reported in queue There is business access information unification to report to interception background server, so that the interception background server generates multiple interception instructions Information, then the multiple interception in the interception background server is obtained by the interception agency service and indicates information, and Target interception instruction information is selected in the multiple interception instruction information according to the interception number of regulation being locally-assigned, Indicate that information carries out intercept process to the new business access information got according to the target interception in order to subsequent.Thus may be used See, after getting multiple business access information, just carries out a RPC and report, it is possible to RPC is effectively reduced and reports number, And then the load pressure for intercepting background server can be reduced;And subsequent new business access information can be directly based upon target It intercepts and indicates information realization intercept process, i.e., intercept background server return without synchronous waiting and intercept instruction information, so as to To improve the intercept process efficiency to business access;And information is indicated by selecting target interception, it can also reduce right New business access information carries out the quantity of the interception instruction information relied on when intercept process, so as to further increase to industry The intercept process efficiency of business access.
Fig. 3 is referred to, is the flow diagram of another information intercepting processing method provided in an embodiment of the present invention, it is described Method may include:
S301 is detected in preset shared drive and is reported the corresponding queue attributes parameter of queue;It is described to report the queue to be The business access information reported for storing client, and the business access information includes the interception regular sequence being locally-assigned Number;
S302, when the queue attributes parameter meets default report condition, by preset interception agency service by institute It states and all business access information unifications in queue is reported to report to interception background server, so that the interception background server According to the rule of interception corresponding to the interception number of regulation in the business access information and each business access information summarized Generate multiple interception instruction information;
Wherein, the specific implementation of S301 and S302 step may refer to S201 in above-mentioned Fig. 2 corresponding embodiment and S202 is not discussed here.
S303, it is described that process is reported to receive the data time packet that the interception background server is sent, and store the data It returns the multiple interception entrained in packet and indicates information;
S304, it is described to report process to search in the interception number of regulation record storehouse to be stored within a preset period of time Number of regulation is intercepted, and is determined as target interception number of regulation, and selection and the mesh in the multiple interception instruction information Mark intercepts the corresponding target interception of number of regulation and indicates information, and target interception instruction information storage is blocked to the local Cut instruction information bank;
Specifically, being the knot of another information intercepting processing system provided in an embodiment of the present invention please also refer to Fig. 3 a Structure schematic diagram.As shown in Figure 3a, the system may include front-end server 300 and interception background server 400;The front end Server 300 includes service logic service processes 300a, shared drive 300b, intercepts agency service 300c;The shared drive 300b includes reporting queue 3001b, intercepting number of regulation record storehouse 3002b, local intercept instruction information bank 3003b;It is described to block Cutting agency service 300c includes reporting process 3001c;The interception background server 400 includes access frequency statistical fractals process 400a.Wherein, all business access information unifications for reporting process 3001c for that described will report in queue 3001b It is reported in the access frequency statistical fractals process 400a.Wherein, the access frequency statistical fractals process 400a is for connecing Multiple business access information that multiple front-end servers report are received, and for carrying out to all business access information summarized Statistics is to generate corresponding multiple interception instruction information.The access frequency statistical fractals process 400a generates the multiple interception After indicating information, the multiple interception being indicated to, information addition is returned in packet in data.Therefore, described to report process 3001c It can receive the data that the access frequency statistical fractals process 400a is sent and return packet, and described report process 3001c can be with It stores the data and returns the multiple interception instruction information entrained in packet.It is described to report process 3001c further described It intercepts in number of regulation record storehouse 3002b and searches the interception number of regulation stored within a preset period of time, and be determined as target Number of regulation is intercepted, it is described to report process 3001c selection and the mesh in the multiple interception instruction information stored again Mark intercepts the corresponding target interception of number of regulation and indicates information, described that process 3001c is reported to indicate to believe by the target interception again Breath storage is into local intercept instruction information bank 3003b.Wherein, the shared drive 300b and the service logic service Communication process between process 300a may refer to the shared drive 100b and the industry in above-mentioned Fig. 2 a corresponding embodiment Communication process between business logical services process 100a, is not discussed here.
The embodiment of the present invention reports the corresponding queue attributes parameter of queue by detecting in preset shared drive, and works as When the queue attributes parameter meets default report condition, by preset interception agency service by the institute reported in queue There is business access information unification to report to interception background server, so that the interception background server generates multiple interception instructions Information, then the multiple interception in the interception background server is obtained by the interception agency service and indicates information, and Target interception instruction information is selected in the multiple interception instruction information according to the interception number of regulation being locally-assigned, Indicate that information carries out intercept process to the new business access information got according to the target interception in order to subsequent.Thus may be used See, after getting multiple business access information, just carries out a RPC and report, it is possible to RPC is effectively reduced and reports number, And then the load pressure for intercepting background server can be reduced;And subsequent new business access information can be directly based upon target It intercepts and indicates information realization intercept process, i.e., intercept background server return without synchronous waiting and intercept instruction information, so as to To improve the intercept process efficiency to business access;And information is indicated by selecting target interception, it can also reduce right New business access information carries out the quantity of the interception instruction information relied on when intercept process, so as to further increase to industry The intercept process efficiency of business access.
Fig. 4 is referred to, is the flow diagram of another information intercepting processing method provided in an embodiment of the present invention, it is described Method may include:
S401 is detected in preset shared drive and is reported the corresponding queue attributes parameter of queue;It is described to report the queue to be The business access information reported for storing client, and the business access information includes the interception regular sequence being locally-assigned Number;
S402, when the queue attributes parameter meets default report condition, by preset interception agency service by institute It states and all business access information unifications in queue is reported to report to interception background server, so that the interception background server According to the rule of interception corresponding to the interception number of regulation in the business access information and each business access information summarized Generate multiple interception instruction information;
Wherein, the specific implementation of S401 and S402 step may refer to S201 in above-mentioned Fig. 2 corresponding embodiment and S202 is not discussed here.
S403, maintenance of information process according to it is default pull the time cycle pulled from the interception background server it is described more It is a to intercept instruction information and store the multiple interception instruction information pulled;
S404, the maintenance of information process are searched in the interception number of regulation record storehouse and are deposited within a preset period of time The interception number of regulation of storage, and it is determined as target interception number of regulation, and selection and institute in the multiple interception instruction information The corresponding target interception instruction information of target interception number of regulation is stated, and by target interception instruction information storage to described Ground intercepts instruction information bank;
Specifically, being the knot of another information intercepting processing system provided in an embodiment of the present invention please also refer to Fig. 4 a Structure schematic diagram.As shown in fig. 4 a, the system may include front-end server 500 and interception background server 600;The front end Server 500 includes service logic service processes 500a, shared drive 500b, intercepts agency service 500c;The shared drive 500b includes reporting queue 5001b, intercepting number of regulation record storehouse 5002b, local intercept instruction information bank 5003b;It is described to block Cutting agency service 500c includes reporting process 5001c and maintenance of information process 5002c;The interception background server 600 includes Access frequency statistical fractals process 600a and information exploitation service processes 600b.Wherein, wherein described that process 5001c is reported to use In described all business access information unifications in queue 5001b will being reported to be reported to the access frequency statistical fractals process In 600a.Wherein, the access frequency statistical fractals process 600a is for receiving multiple business that multiple front-end servers report Access information, and for being counted to all business access information summarized to generate corresponding multiple interception instruction letters Breath.The information exploitation service processes 600b is generated described more for storing the access frequency statistical fractals process 600a A interception indicates information.The maintenance of information process 5002c according to it is default pull the time cycle from the information exploitation service into Pull the multiple interception instruction information in journey 600b, and the maintenance of information process 5002c can store and pull The multiple interception indicates information.The maintenance of information process 5002c is further in the interception number of regulation record storehouse 5002b It is middle to search the interception number of regulation stored within a preset period of time, and it is determined as target interception number of regulation, the information dimension Selection is corresponding with the target interception number of regulation in the multiple interception instruction information stored again by shield process 5002c Target interception indicates information, and the maintenance of information process 5002c is again by target interception instruction information storage to the local It intercepts in instruction information bank 5003b.By the way that the maintenance of information process 5002c is arranged, can make described to report process 5001c only It is responsible for reporting functions, and is realized and obtained by the maintenance of information process 5002c, stores the multiple interception instruction information and choosing The function of selecting the target interception instruction information therefore can be with parallel processing, to improve front-end server between different function 500 working efficiency.Wherein, the communication process between the shared drive 500b and the service logic service processes 500a can Referring between the shared drive 100b and the service logic service processes 100a in above-mentioned Fig. 2 a corresponding embodiment Communication process is not discussed here.
Optionally, it may not need the setting information exploitation service processes 600b in the interception background server 600, i.e., Generated after the multiple interceptions indicate information in the access frequency statistical fractals process 600a, directly to the maintenance of information into Journey 5002c pushes the multiple interception and indicates information.Therefore, the maintenance of information process 5002c can receive the access frequency The received the multiple interception of the multiple interception instruction information and storage that rate statistical fractals process 600a is pushed refers to Show information.Hereafter, the maintenance of information process 5002c can similarly be looked into the interception number of regulation record storehouse 5002b The interception number of regulation stored within a preset period of time is looked for, and is determined as target interception number of regulation, and in the institute stored Selection target interception instruction information corresponding with the target interception number of regulation in multiple interception instruction information is stated, and will be described Target interception indicates information storage into local intercept instruction information bank 5003b.
The embodiment of the present invention reports the corresponding queue attributes parameter of queue by detecting in preset shared drive, and works as When the queue attributes parameter meets default report condition, by preset interception agency service by the institute reported in queue There is business access information unification to report to interception background server, so that the interception background server generates multiple interception instructions Information, then the multiple interception in the interception background server is obtained by the interception agency service and indicates information, and Target interception instruction information is selected in the multiple interception instruction information according to the interception number of regulation being locally-assigned, Indicate that information carries out intercept process to the new business access information got according to the target interception in order to subsequent.Thus may be used See, after getting multiple business access information, just carries out a RPC and report, it is possible to RPC is effectively reduced and reports number, And then the load pressure for intercepting background server can be reduced;And subsequent new business access information can be directly based upon target It intercepts and indicates information realization intercept process, i.e., intercept background server return without synchronous waiting and intercept instruction information, so as to To improve the intercept process efficiency to business access;And information is indicated by selecting target interception, it can also reduce right New business access information carries out the quantity of the interception instruction information relied on when intercept process, so as to further increase to industry The intercept process efficiency of business access.
Fig. 5 is referred to, is a kind of structural schematic diagram of information intercepting processing unit provided in an embodiment of the present invention.The letter Breath intercept process device 1 can be applied in any one front-end server as shown in Figure 1 above, the information intercepting processing Device 1 may include: detection module 10, intercept proxy service module 20, first judge determining module 30, second judgement determination mould Block 40, serial number distribution module 50, memory module 60, intercept process module 70;The interception proxy service module 20 includes reporting Process unit 201;
The detection module 10 reports the corresponding queue attributes parameter of queue for detecting in preset shared drive; Described to report queue be the business access information reported for storing client, and the business access information includes to be locally-assigned Interception number of regulation;
The interception proxy service module 20 is used for when the queue attributes parameter meets default report condition, by institute It states and all business access information unifications in queue is reported to report to interception background server, so that the interception background server According to the rule of interception corresponding to the interception number of regulation in the business access information and each business access information summarized Generate multiple interception instruction information;
The interception proxy service module 20 is also used to obtain the multiple interception instruction information, and according to the local The interception number of regulation of distribution selects target interception instruction information in the multiple interception instruction information, in order to subsequent Intercept process is carried out to the new business access information got according to target interception instruction information.
Wherein, the function of intercepting proxy service module 20 is equivalent to the interception in above-mentioned Fig. 2 corresponding embodiment Agency service.The detection module 10 and the specific implementation function of intercepting proxy service module 20 may refer to above-mentioned Fig. 2 It the step of S201-S203 in corresponding embodiment, is not discussed here.
Described first judges determining module 30, calls time for judging whether the queue storage time meets on preset Period, and when judging to report the time cycle described in the queue storage time satisfaction, determine that the queue attributes parameter is full The default report condition of foot;
Described second judges determining module 40, for judging whether the stored business access information content reaches pre- If information content threshold value, and judging that the stored business access information content reaches the information content threshold value When, determine that the queue attributes parameter meets default report condition;
Specifically, the queue attributes parameter may include queue storage time and stored business access Information Number Amount, the queue storage time can report queue triggering to report the time added up after operation for described in.Therefore, when second sentences When disconnected determining module 40 stops executing corresponding function, described first judges that determining module 30 may determine that the queue storage time Whether meet it is preset report the time cycle, report the time cycle if being judged as described in satisfaction, it is determined that queue attributes ginseng Number meets default report condition, otherwise, it determines the queue attributes parameter is unsatisfactory for default report condition.When the first judgement determines When module 30 stops executing corresponding function, it can judge that determining module 40 judges the stored business access by described second Whether information content reaches preset information content threshold value, reaches the information content threshold value if being judged as, it is determined that the team Column Properties parameter meets default report condition, otherwise, it determines the queue attributes parameter is unsatisfactory for default report condition.
The serial number distribution module 50, for when getting the new business access information that the client reports, for institute It states new business access information and distributes corresponding interception number of regulation, and the interception number of regulation distributed is added to the new industry In access information of being engaged in;
The memory module 60, the new business access information for that will include distributed interception number of regulation are stored to institute It states and reports in queue, and by the interception number of regulation distributed storage into the interception number of regulation record storehouse;
The intercept process module 70, for extracting the target interception instruction from local intercept instruction information bank Information, and when the interception number of regulation distributed is associated with target interception instruction information, the new business is accessed Information is intercepted.
Wherein, the specific reality of the serial number distribution module 50, the memory module 60 and the intercept process module 70 Existing function may refer to the service logic service processes 100a and the shared drive in above-mentioned Fig. 2 a corresponding embodiment Reporting between queue 1001b, interception number of regulation record storehouse 1002b and local intercept instruction information bank 1003b in 100b Communication process, be not discussed here.Thus, it can be understood that: the service logic service processes 100a has described The function of serial number distribution module 50, the memory module 60 and the intercept process module 70.
Wherein, described intercept in proxy service module 20 reports process unit 201 that can be specifically used for extracting on described All business access information in queue are reported, and extracted all business access information unifications are reported into interception background service Device;
It is described to report process unit 201, it is also used to receive the data that the interception background server is sent and returns packet, and store The data return the multiple interception entrained in packet and indicate information;
It is described to report process unit 201, it is also used to search in the interception number of regulation record storehouse in preset time period Interior stored interception number of regulation, and it is determined as target interception number of regulation, and select in the multiple interception instruction information Target interception instruction information corresponding with the target interception number of regulation is selected, and target interception instruction information storage is arrived The local intercept indicates information bank;
Wherein, the specific implementation function of reporting process unit 201 may refer to the corresponding S303-S304 of above-mentioned Fig. 3 Step, and can be found in above-mentioned Fig. 3 a described report process 3001c and intercepts background server 400 and the shared drive Reporting queue 3001b, intercepting leading between number of regulation record storehouse 3002b, local intercept instruction information bank 3003b in 300b Letter process, is not discussed here.Thus, it can be understood that: it is described that process 3001c is reported to report process unit with described 201 function.
The embodiment of the present invention reports the corresponding queue attributes parameter of queue by detecting in preset shared drive, and works as When the queue attributes parameter meets default report condition, by preset interception agency service by the institute reported in queue There is business access information unification to report to interception background server, so that the interception background server generates multiple interception instructions Information, then the multiple interception in the interception background server is obtained by the interception agency service and indicates information, and Target interception instruction information is selected in the multiple interception instruction information according to the interception number of regulation being locally-assigned, Indicate that information carries out intercept process to the new business access information got according to the target interception in order to subsequent.Thus may be used See, after getting multiple business access information, just carries out a RPC and report, it is possible to RPC is effectively reduced and reports number, And then the load pressure for intercepting background server can be reduced;And subsequent new business access information can be directly based upon target It intercepts and indicates information realization intercept process, i.e., intercept background server return without synchronous waiting and intercept instruction information, so as to To improve the intercept process efficiency to business access;And information is indicated by selecting target interception, it can also reduce right New business access information carries out the quantity of the interception instruction information relied on when intercept process, so as to further increase to industry The intercept process efficiency of business access.
Fig. 6 is referred to again, is the structural schematic diagram of another information intercepting processing unit provided in an embodiment of the present invention.Institute Stating information intercepting processing unit 1 can be applied in any one front-end server as shown in Figure 1 above, the information intercepting Processing unit 1 may include detection module 10 in above-mentioned Fig. 5 corresponding embodiment, intercept proxy service module 20, first and judge Determining module 30, second judge determining module 40, serial number distribution module 50, memory module 60, intercept process module 70 and institute It states to intercept in proxy service module 20 and reports process unit 201, further, the information intercepting processing unit 1 can be with It include: maintenance of information process unit 202;
The maintenance of information process unit 202, for pulling the time cycle from the interception background server according to default In pull the multiple the multiple interception instruction information for intercepting instruction information and storing and pulling, alternatively, for receiving The received the multiple interception of the multiple interception instruction information and storage that the interception background server is pushed refers to Show information;
The maintenance of information process unit 202 is also used to search when default in the interception number of regulation record storehouse Between the interception number of regulation that is stored in section, and be determined as target interception number of regulation, and in the multiple interceptions instruction information It is middle that target interception corresponding with the target interception number of regulation is selected to indicate information, and target interception instruction information is deposited Store up the local intercept instruction information bank.
Specifically, by increasing the maintenance of information process unit 202, can make described process unit 201 to be reported only to bear Duty realizes the function of reporting business access information, i.e., described that process unit 201 is reported to obtain and store the multiple without executing The function of instruction information is intercepted, it is described to report process unit 201 without the function for executing the selection target interception instruction information Energy.But it is pulled the time cycle according to default by the maintenance of information process unit 202 and is drawn from the interception background server The multiple intercept is taken to indicate information and store the multiple interception instruction information (the interception background service at this time pulled Device, which has, stores the multiple function of intercepting instruction information), or described block is received by the maintenance of information process unit 202 It cuts the multiple interception instruction information that background server is pushed and stores received the multiple interception instruction information (interception background server at this time, which does not have, stores the multiple function of intercepting instruction information, i.e., the described interception background service The multiple interception instruction information is pushed to the maintenance of information process when generating the multiple interception instruction information by device Unit 202).The maintenance of information process unit 202 can be searched further in the interception number of regulation record storehouse pre- If the interception number of regulation stored in the period, and it is determined as target interception number of regulation, and indicate in the multiple interception It selects target interception corresponding with the target interception number of regulation to indicate information in information, and the target interception is indicated to believe Breath storage indicates information bank to the local intercept.Wherein, the specific implementation function of the maintenance of information process unit 202 can be with Referring to the corresponding S403-S404 step of above-mentioned Fig. 4, and it can be found in the maintenance of information process 5002c in above-mentioned Fig. 4 a and block Cut in background server 600 and the shared drive 500b report queue 5001b, intercept number of regulation record storehouse 5002b, Local intercept indicates the communication process between information bank 5003b, is not discussed here.Thus, it can be understood that: the letter Breath maintenance process 5002c has the function of the maintenance of information process unit 202.
By the way that the maintenance of information process unit 202 is arranged, can make described process unit 201 to be reported to be merely responsible for reporting achievement Can, and realized and obtained by the maintenance of information process unit 202, store the multiple interception instruction information and the selection mesh The function that mark intercepts instruction information therefore can be with parallel processing, to improve information intercepting processing unit 1 between different function Working efficiency.
The embodiment of the present invention reports the corresponding queue attributes parameter of queue by detecting in preset shared drive, and works as When the queue attributes parameter meets default report condition, by preset interception agency service by the institute reported in queue There is business access information unification to report to interception background server, so that the interception background server generates multiple interception instructions Information, then the multiple interception in the interception background server is obtained by the interception agency service and indicates information, and Target interception instruction information is selected in the multiple interception instruction information according to the interception number of regulation being locally-assigned, Indicate that information carries out intercept process to the new business access information got according to the target interception in order to subsequent.Thus may be used See, after getting multiple business access information, just carries out a RPC and report, it is possible to RPC is effectively reduced and reports number, And then the load pressure for intercepting background server can be reduced;And subsequent new business access information can be directly based upon target It intercepts and indicates information realization intercept process, i.e., intercept background server return without synchronous waiting and intercept instruction information, so as to To improve the intercept process efficiency to business access;And information is indicated by selecting target interception, it can also reduce right New business access information carries out the quantity of the interception instruction information relied on when intercept process, so as to further increase to industry The intercept process efficiency of business access.
Fig. 7 is referred to, is the structural schematic diagram of another information intercepting processing unit provided in an embodiment of the present invention.Such as figure Shown in 7, the information intercepting processing unit be can be applied in any one front-end server as shown in Figure 1 above, described Information intercepting processing unit 1000 may include: at least one processor 1001, such as CPU, at least one network interface 1004, User interface 1003, memory 1005, at least one communication bus 1002.Wherein, communication bus 1002 is for realizing these groups Connection communication between part.Wherein, user interface 1003 may include display screen (Display), keyboard (Keyboard), optional User interface 1003 can also include standard wireline interface and wireless interface.Network interface 1004 optionally may include standard Wireline interface, wireless interface (such as WI-FI interface).Memory 1005 can be high speed RAM memory, be also possible to non-shakiness Fixed memory (non-volatile memory), for example, at least a magnetic disk storage.Memory 1005 optionally can be with It is the storage device that at least one is located remotely from aforementioned processor 1001.As shown in fig. 7, as a kind of computer storage medium It may include operating system, network communication module, Subscriber Interface Module SIM and equipment control application program in memory 1005.
In information intercepting processing unit 1000 shown in Fig. 7, network interface 1004 is mainly used for connection and intercepts backstage clothes Business device carries out data communication with the interception background server;And user interface 1003 is mainly used for providing input for user Interface obtains the data of user's output;And processor 1001 can be used for that the equipment stored in memory 1005 control is called to answer With program, and specifically execute following steps:
It detects in preset shared drive and reports the corresponding queue attributes parameter of queue;It is described that report queue be for depositing The business access information that storage client reports, and the business access information includes the interception number of regulation being locally-assigned;
When the queue attributes parameter meets default report condition, reported by preset interception agency service by described All business access information unifications in queue report to interception background server, so that the interception background server is according to remittance Must to business access information and each business access information in interception number of regulation corresponding to interception rule generate it is more A interception indicates information;
It controls the interception agency service and obtains the multiple interception instruction information, and according to the interception being locally-assigned Number of regulation selects target interception instruction information in the multiple interception instruction information, in order to subsequent according to the target It intercepts instruction information and intercept process is carried out to the new business access information got.
In one embodiment, the queue attributes parameter includes queue storage time and stored business access information Quantity;
The processor 1001 is being executed when the queue attributes parameter meets default report condition, is blocked by preset It cuts agency service to report to all business access information unifications reported in queue before intercepting background server, also hold Row following steps:
Judge the queue storage time whether meet it is preset report the time cycle, and judging the queue storage When reporting the time cycle described in time satisfaction, determine that the queue attributes parameter meets default report condition;Alternatively,
Judge whether the stored business access information content reaches preset information content threshold value, and is judging When the stored business access information content reaches the information content threshold value, it is pre- to determine that the queue attributes parameter meets If report condition.
In one embodiment, the shared drive further includes intercepting number of regulation record storehouse and local intercept instruction information Library;The number of regulation record storehouse that intercepts is for storing the accessed corresponding interception being locally-assigned of business access information Number of regulation;The local intercept instruction information bank is for storing the target interception instruction information.
In one embodiment, the interception agency service includes reporting process;
Then the processor 1001 is being executed all industry reported in queue through preset interception agency service When business access information uniformly reports to interception background server, following steps are specifically executed:
All business access information reported in queue described in process extraction are reported described in control, and will be extracted all Business access information unification reports to interception background server.
In one embodiment, the processor 1001 obtains the multiple block by the interception agency service in execution Instruction information is cut, and target is selected in the multiple interception instruction information according to the interception number of regulation being locally-assigned When intercepting instruction information, following steps are specifically executed:
It reports process to receive the data that the interception background server is sent described in control and returns packet, and store the data and return Entrained the multiple interception indicates information in packet;
It reports process to search in the interception number of regulation record storehouse described in control to be stored within a preset period of time Number of regulation is intercepted, and is determined as target interception number of regulation, and selection and the mesh in the multiple interception instruction information Mark intercepts the corresponding target interception of number of regulation and indicates information, and target interception instruction information storage is blocked to the local Cut instruction information bank.
In one embodiment, the interception agency service further includes maintenance of information process;
Then the processor 1001 is being executed through the multiple interception instruction information of interception agency service acquisition, and Target interception instruction information is selected in the multiple interception instruction information according to the interception number of regulation being locally-assigned When, specifically execute following steps:
The maintenance of information process is controlled to pull the time cycle according to default and pull institute from the interception background server It states multiple intercept to indicate information and store the multiple interception instruction information pulled, alternatively, the maintenance of information process Receive the multiple received by the multiple interception instruction information that the interception background server is pushed and storage block Cut instruction information;
It controls the maintenance of information process and is searched in the interception number of regulation record storehouse and deposited within a preset period of time The interception number of regulation of storage, and it is determined as target interception number of regulation, and selection and institute in the multiple interception instruction information The corresponding target interception instruction information of target interception number of regulation is stated, and by target interception instruction information storage to described Ground intercepts instruction information bank.
In one embodiment, the processor 1001 also executes following steps:
When getting the new business access information that the client reports, corresponded to for new business access information distribution Interception number of regulation, and the interception number of regulation distributed is added in the new business access information;
It is reported storing comprising the new business access information of interception number of regulation distributed to described in queue, and by institute The interception number of regulation of distribution is stored into the interception number of regulation record storehouse;
The target interception instruction information is extracted from local intercept instruction information bank, and in the interception rule distributed When then serial number is associated with target interception instruction information, the new business access information is intercepted.
The embodiment of the present invention reports the corresponding queue attributes parameter of queue by detecting in preset shared drive, and works as When the queue attributes parameter meets default report condition, by preset interception agency service by the institute reported in queue There is business access information unification to report to interception background server, so that the interception background server generates multiple interception instructions Information, then the multiple interception in the interception background server is obtained by the interception agency service and indicates information, and Target interception instruction information is selected in the multiple interception instruction information according to the interception number of regulation being locally-assigned, Indicate that information carries out intercept process to the new business access information got according to the target interception in order to subsequent.Thus may be used See, after getting multiple business access information, just carries out a RPC and report, it is possible to RPC is effectively reduced and reports number, And then the load pressure for intercepting background server can be reduced;And subsequent new business access information can be directly based upon target It intercepts and indicates information realization intercept process, i.e., intercept background server return without synchronous waiting and intercept instruction information, so as to To improve the intercept process efficiency to business access;And information is indicated by selecting target interception, it can also reduce right New business access information carries out the quantity of the interception instruction information relied on when intercept process, so as to further increase to industry The intercept process efficiency of business access.
Those of ordinary skill in the art will appreciate that realizing all or part of the process in above-described embodiment method, being can be with Relevant hardware is instructed to complete by computer program, the program can be stored in a computer-readable storage medium In, the program is when being executed, it may include such as the process of the embodiment of above-mentioned each method.Wherein, the storage medium can be magnetic Dish, CD, read-only memory (Read-Only Memory, ROM) or random access memory (Random Access Memory, RAM) etc..
The above disclosure is only the preferred embodiments of the present invention, cannot limit the right model of the present invention with this certainly It encloses, therefore equivalent changes made in accordance with the claims of the present invention, is still within the scope of the present invention.

Claims (14)

1. a kind of information intercepting processing method characterized by comprising
It detects in preset shared drive and reports the corresponding queue attributes parameter of queue;It is described that report queue be for storing visitor The business access information that family end reports, and the business access information includes the interception number of regulation being locally-assigned;The queue Property parameters include queue storage time or stored business access information content;
When the queue attributes parameter meets default report condition, queue is reported for described by preset interception agency service In all business access information unifications report to interception background server so that the interception background server is according to summarizing To business access information and each business access information in interception number of regulation corresponding to interception rule generate and multiple block Cut instruction information;
The multiple interception is obtained by the interception agency service and indicates information, and according to the interception rule being locally-assigned Serial number selects target interception instruction information in the multiple interception instruction information, in order to subsequent according to the target interception Indicate that information carries out intercept process to the new business access information got.
2. the method as described in claim 1, which is characterized in that
Described when the queue attributes parameter meets default report condition, by preset interception agency service will be described on All business access information unifications in report queue reported to before the step of intercepting background server, further includes:
Judge the queue storage time whether meet it is preset report the time cycle, and judging the queue storage time When reporting the time cycle described in satisfaction, determine that the queue attributes parameter meets default report condition;Alternatively,
Judge whether the stored business access information content reaches preset information content threshold value, and judge it is described When stored business access information content reaches the information content threshold value, determine that the queue attributes parameter meets on default Tape part.
3. the method as described in claim 1, which is characterized in that the shared drive further include intercept number of regulation record storehouse and Local intercept indicates information bank;The number of regulation record storehouse that intercepts is corresponding for storing accessed business access information The interception number of regulation being locally-assigned;The local intercept instruction information bank is for storing the target interception instruction information.
4. method as claimed in claim 3, which is characterized in that the interception agency service includes reporting process;
It is then described to be reported to all business access information unifications reported in queue by preset interception agency service Background server is intercepted, is specifically included:
It is described report process extract described in report all business access information in queue, and by extracted all business accesses Information unification reports to interception background server.
5. method as claimed in claim 4, which is characterized in that described to obtain the multiple block by the interception agency service Instruction information is cut, and target is selected in the multiple interception instruction information according to the interception number of regulation being locally-assigned Intercept instruction information, comprising:
It is described that process is reported to receive the data time packet that the interception background server is sent, and store and taken in the data time packet The multiple interception of band indicates information;
It is described that process is reported to search the interception rule stored within a preset period of time in the interception number of regulation record storehouse Serial number, and it is determined as target interception number of regulation, and selection is advised with the target interception in the multiple interception instruction information Then the corresponding target interception of serial number indicates information, and target interception instruction information storage is indicated to believe to the local intercept Cease library.
6. method as claimed in claim 4, which is characterized in that the interception agency service further includes maintenance of information process;
It is then described by the multiple interception instruction information of interceptions agency service acquisition, and according to it is described be locally-assigned block Cut rule serial number selects target interception instruction information in the multiple interception instruction information, comprising:
The maintenance of information process pulls the time cycle and pulls the multiple block from the interception background server according to default It cuts instruction information and stores the multiple interception instruction information pulled, alternatively, described in maintenance of information process reception It intercepts the multiple interception instruction information that background server is pushed and stores received the multiple interception instruction letter Breath;
The maintenance of information process searches the interception stored within a preset period of time in the interception number of regulation record storehouse Number of regulation, and it is determined as target interception number of regulation, and selection is blocked with the target in the multiple interception instruction information The corresponding target interception of cut rule serial number indicates information, and target interception instruction information storage is referred to the local intercept Show information bank.
7. such as method described in claim 5 or 6, which is characterized in that further include:
When getting the new business access information that the client reports, blocked for new business access information distribution is corresponding Cut rule serial number, and the interception number of regulation distributed is added in the new business access information;
It reports in queue, and will be distributed storing comprising the new business access information of the interception number of regulation distributed to described Interception number of regulation store into the interception number of regulation record storehouse;
The target interception instruction information is extracted from local intercept instruction information bank, and in the interception regular sequence distributed Number with the target interception instruction information it is associated when, the new business access information is intercepted.
8. a kind of information intercepting processing unit characterized by comprising
Detection module reports the corresponding queue attributes parameter of queue for detecting in preset shared drive;It is described to report team Column are the business access information reported for storing client, and the business access information includes the interception rule being locally-assigned Serial number;The queue attributes parameter includes queue storage time or stored business access information content;
Proxy service module is intercepted, for reporting queue for described when the queue attributes parameter meets default report condition In all business access information unifications report to interception background server so that the interception background server is according to summarizing To business access information and each business access information in interception number of regulation corresponding to interception rule generate and multiple block Cut instruction information;
The interception proxy service module, be also used to obtain the multiple interception instruction information, and is locally-assigned according to described It intercepts number of regulation and selects target interception instruction information in the multiple interception instruction information, in order to subsequent according to Target interception indicates that information carries out intercept process to the new business access information got.
9. device as claimed in claim 8, which is characterized in that
The information intercepting processing unit further include:
First judges determining module, for judge the queue storage time whether meet it is preset report the time cycle, and When judging to report the time cycle described in the queue storage time satisfaction, determine that the queue attributes parameter meets default report Condition;
Second judges determining module, for judging whether the stored business access information content reaches preset Information Number Threshold value is measured, and when judging that the stored business access information content reaches the information content threshold value, described in determination Queue attributes parameter meets default report condition.
10. device as claimed in claim 8, which is characterized in that the shared drive further includes intercepting number of regulation record storehouse Information bank is indicated with local intercept;The number of regulation record storehouse that intercepts is for storing accessed business access information pair The interception number of regulation being locally-assigned answered;The local intercept instruction information bank is for storing the target interception instruction letter Breath.
11. device as claimed in claim 10, which is characterized in that the interception proxy service module includes:
Process unit is reported, for extracting all business access information reported in queue, and by extracted all industry Business access information uniformly reports to interception background server.
12. device as claimed in claim 11, which is characterized in that
It is described to report process unit, it is also used to receive the data that the interception background server is sent and returns packet, and store the number Information is indicated according to the multiple interception entrained in packet is returned;
It is described to report process unit, it is also used to search in the interception number of regulation record storehouse and is stored within a preset period of time Interception number of regulation, and be determined as target interception number of regulation, and in the multiple interception instruction information selection with it is described The corresponding target interception of target interception number of regulation indicates information, and target interception instruction information is stored to the local Intercept instruction information bank.
13. device as claimed in claim 11, which is characterized in that the interception proxy service module further include:
Maintenance of information process unit, for according to it is default pull the time cycle pulled from the interception background server it is described more It is a to intercept instruction information and store the multiple interception instruction information pulled, alternatively, for receiving the interception backstage The received the multiple interception of the multiple interception instruction information and storage that server is pushed indicates information;
The maintenance of information process unit is also used to search institute within a preset period of time in the interception number of regulation record storehouse The interception number of regulation of storage, and be determined as target interception number of regulation, and in the multiple interception instruction information selection with The corresponding target interception of the target interception number of regulation indicates information, and by target interception instruction information storage to described Local intercept indicates information bank.
14. device as described in claim 12 or 13, which is characterized in that further include:
Serial number distribution module, for being visited for the new business when getting the new business access information that the client reports It asks that information distributes corresponding interception number of regulation, and the interception number of regulation distributed is added to the new business access information In;
Memory module, for will include that the new business access information of distributed interception number of regulation stores and to described reports queue In, and by the interception number of regulation distributed storage into the interception number of regulation record storehouse;
Intercept process module extracts the target interception instruction information for indicating from the local intercept in information bank, and When the interception number of regulation distributed is associated with target interception instruction information, the new business access information is blocked It cuts.
CN201610642944.8A 2016-08-08 2016-08-08 A kind of information intercepting processing method and device Active CN106302421B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610642944.8A CN106302421B (en) 2016-08-08 2016-08-08 A kind of information intercepting processing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610642944.8A CN106302421B (en) 2016-08-08 2016-08-08 A kind of information intercepting processing method and device

Publications (2)

Publication Number Publication Date
CN106302421A CN106302421A (en) 2017-01-04
CN106302421B true CN106302421B (en) 2019-07-16

Family

ID=57666480

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610642944.8A Active CN106302421B (en) 2016-08-08 2016-08-08 A kind of information intercepting processing method and device

Country Status (1)

Country Link
CN (1) CN106302421B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109361743B (en) * 2018-09-30 2021-06-04 北京聚云立方科技有限公司 Data synchronization method and device, electronic equipment and storage medium
CN112019520B (en) * 2020-08-07 2022-08-16 广州华多网络科技有限公司 Request interception method, device, equipment and storage medium
CN112084503A (en) * 2020-09-18 2020-12-15 珠海豹趣科技有限公司 Interception rule base generation method and device and electronic equipment
CN112306797A (en) * 2020-10-22 2021-02-02 深圳市欢太科技有限公司 Embedded point information reporting method and device, storage medium and electronic equipment
CN114697060A (en) * 2020-12-29 2022-07-01 广州腾讯科技有限公司 Service control method, device and electronic equipment

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1410899A (en) * 2001-09-27 2003-04-16 株式会社东芝 Server computer protector, method, program product and server computer device
CN104572974A (en) * 2014-12-31 2015-04-29 北京奇虎科技有限公司 Service request processing method and device

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150023161A1 (en) * 2013-07-22 2015-01-22 Seven Networks, Inc. Modifying system timers for optimizing mobile traffic management

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1410899A (en) * 2001-09-27 2003-04-16 株式会社东芝 Server computer protector, method, program product and server computer device
CN104572974A (en) * 2014-12-31 2015-04-29 北京奇虎科技有限公司 Service request processing method and device

Also Published As

Publication number Publication date
CN106302421A (en) 2017-01-04

Similar Documents

Publication Publication Date Title
CN106302421B (en) A kind of information intercepting processing method and device
CN108776934B (en) Distributed data calculation method and device, computer equipment and readable storage medium
US10230644B2 (en) Distributed API proxy system and apparatus and method for managing traffic in such system
CN111124819B (en) Method and device for full link monitoring
KR101781339B1 (en) Method and device for updating client
CN108737333A (en) A kind of data detection method and device
CN111600952B (en) Scene pushing method, scene pushing execution device, terminal, server and scene pushing system
US8533279B2 (en) Method and system for reconstructing transactions in a communication network
EP3905589A1 (en) Slice resource deployment method and apparatus, and slice manager and computer storage medium
CN109788027A (en) Method of data synchronization, device, server and computer storage medium
CN109002424B (en) File format conversion method and device, computer equipment and storage medium
CN114143265A (en) Network flow current limiting method, device, equipment and storage medium
US20170126580A1 (en) Tracking Contention in a Distributed Business Transaction
CN107577578A (en) Count method, apparatus, equipment and the storage medium of NFS operation word time delay
US10775751B2 (en) Automatic generation of regular expression based on log line data
CN112350854B (en) Flow fault positioning method, device, equipment and storage medium
CN103490978A (en) Terminal, server and message monitoring method
CN109714208A (en) A kind of equipment is included in method, storage medium and the electronic equipment of network management
CN110045924A (en) It is classified storage method, device, electronic equipment and computer readable storage medium
CN110308901A (en) Handle data variable method, apparatus, equipment and storage medium in front end page
US20170223136A1 (en) Any Web Page Reporting and Capture
CN106254375B (en) A kind of recognition methods of hotspot equipment and device
CN113676531B (en) E-commerce flow peak clipping method and device, electronic equipment and readable storage medium
CN109902103A (en) Service data management method, device, equipment and computer readable storage medium
CN106933718B (en) Method for monitoring performance and device

Legal Events

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