CN108427733A - The setting method of auditing rule, device and system, equipment, storage medium - Google Patents

The setting method of auditing rule, device and system, equipment, storage medium Download PDF

Info

Publication number
CN108427733A
CN108427733A CN201810164483.7A CN201810164483A CN108427733A CN 108427733 A CN108427733 A CN 108427733A CN 201810164483 A CN201810164483 A CN 201810164483A CN 108427733 A CN108427733 A CN 108427733A
Authority
CN
China
Prior art keywords
rule
auditing rule
auditing
file
client
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201810164483.7A
Other languages
Chinese (zh)
Other versions
CN108427733B (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.)
Netease Hangzhou Network Co Ltd
Original Assignee
Netease Hangzhou Network 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 Netease Hangzhou Network Co Ltd filed Critical Netease Hangzhou Network Co Ltd
Priority to CN201810164483.7A priority Critical patent/CN108427733B/en
Publication of CN108427733A publication Critical patent/CN108427733A/en
Application granted granted Critical
Publication of CN108427733B publication Critical patent/CN108427733B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/30Information retrieval; Database structures therefor; File system structures therefor of unstructured textual data
    • G06F16/33Querying
    • G06F16/335Filtering based on additional data, e.g. user or group profiles
    • G06F16/337Profile generation, learning or modification
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/166Editing, e.g. inserting or deleting
    • G06F40/186Templates
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44505Configuring for program initiating, e.g. using registry, configuration files
    • G06F9/4451User profiles; Roaming

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computational Linguistics (AREA)
  • Databases & Information Systems (AREA)
  • Data Mining & Analysis (AREA)
  • Health & Medical Sciences (AREA)
  • Artificial Intelligence (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • General Health & Medical Sciences (AREA)
  • Computer And Data Communications (AREA)

Abstract

The invention discloses a kind of setting method of auditing rule, device and system, equipment, storage mediums.The setting method of the auditing rule includes:It is arranged in response to auditing rule and instructs, obtains target customer's client information and auditing rule original document;Wherein, include at least one auditing rule in the auditing rule original document;According to target customer's client information, rule file template corresponding with destination client is obtained;According in the auditing rule original document each auditing rule and the rule file template, generate the first auditing rule file;The first auditing rule file is sent to the destination client, so that each auditing rule is set to local by the destination client according to the first auditing rule file.Using the present invention, the efficiency of application and development can be improved, while improving the performance of application.

Description

The setting method of auditing rule, device and system, equipment, storage medium
Technical field
The present invention relates to field of computer technology more particularly to a kind of setting method of auditing rule, device and system, set Standby, storage medium.
Background technology
In existing application development process, multiple rules usually can be all set in the application and audited and sentenced accordingly It is disconnected.For example, during development of games, it will usually multiple rules be arranged in gaming, to all kinds of sudden and violent to having in game Power tendency, the word with unhealthy color or uncivil term etc. are filtered.
In the prior art, developer needs to be directed to different application scenarios (for example, different game products software) The above-mentioned audit of overlapping development, filtering function.Thus it is possible, on the one hand, increasing the workload of exploitation, working efficiency is low;Another party Face, easy to produce causes results abnormity, rule to be difficult to general and unified maintenance, updates regular work(without heat since auditing standards differ The problems such as energy..
Invention content
The embodiment of the present invention proposes a kind of setting method of auditing rule, device and system, equipment, storage medium, can The efficiency of application and development is improved, while improving the performance of application.
A kind of setting method of auditing rule provided in an embodiment of the present invention, specifically includes:
It is arranged in response to auditing rule and instructs, obtains target customer's client information and auditing rule original document;Wherein, described It include at least one auditing rule in auditing rule original document;
According to target customer's client information, rule file template corresponding with destination client is obtained;
According in the auditing rule original document each auditing rule and the rule file template, generate first examine Core rule file;
The first auditing rule file is sent to the destination client, so that the destination client is according to Each auditing rule is set to local by the first auditing rule file.
Further, the setting method of the auditing rule further includes:
Receive the auditing rule setting instruction that the destination client is sent;Alternatively,
Receive each auditing rule of the destination client in the second audit rule file for detecting previous receipt It is arranged with the auditing rule that each auditing rule in the auditing rule original document is sent when inconsistent and instructs;Or Person,
The destination client is received in the location information and audit rule for detecting the second audit rule file The auditing rule setting instruction sent when then the location information of original document is inconsistent.
Further, it is identified comprising target customer's client information and rule file in the auditing rule setting instruction Code;
Then described be arranged in response to auditing rule instructs, and obtains target customer's client information and auditing rule original document, tool Body includes:
It is arranged in response to the auditing rule and instructs, auditing rule setting instruction is parsed, the mesh is obtained Mark client-side information and the rule file identification code;
Default rule document data bank is inquired, it is original to obtain the corresponding auditing rule of the rule file identification code File.
Further, the setting method of the auditing rule further includes:
When detecting that the rule process to the auditing rule original document operates completion, generates the auditing rule and set Set instruction.
Further, the rule process operation includes the newly-built operation of rule, redundant rule elimination operation and/or rules modification behaviour Make.
Further, described when detecting that the rule process to the auditing rule original document operates completion, it generates The auditing rule setting instruction, specifically includes:
When detecting to the operation of the rule process of the auditing rule original document in default rule document data bank When completion, the rule file identification code of the auditing rule original document is obtained, and generate according to the rule file identification code The auditing rule setting instruction;
Then described be arranged in response to auditing rule instructs, and obtains target customer's client information and auditing rule original document, tool Body includes:
It is arranged in response to the auditing rule and instructs, auditing rule setting instruction is parsed, the rule are obtained Then file identification code;
The rule file database is inquired according to the rule file identification code, obtains the original text of the auditing rule Part;
Preset client record sheet is inquired according to the rule file identification code, obtains the rule file identification code pair The all clients information answered, and each client-side information is set gradually as target customer's client information.
Further, the auditing rule original document has correspondence with application;The then rule file identification code In include application identities code.
Further, at least one auditing rule includes pet name auditing rule and/or speech auditing rule.
Further, the destination client information includes FTP client FTP type information and/or client type information.
Further, the setting method of the auditing rule further includes:
According to target customer's client information, regular store path information corresponding with the destination client is obtained;
It is then described that the first auditing rule file is sent to the destination client, so that the destination client root Each auditing rule is set to local according to the first auditing rule file, is specifically included:
The first auditing rule file and the regular store path information are sent to the destination client, so that Each auditing rule in the first auditing rule file is set to the regular store path letter by the destination client It ceases in corresponding file.
Further, the setting method of the auditing rule further includes:
Generate file key corresponding with the first auditing rule file;
It is then described by the first auditing rule file and the regular store path information is sent to the target customer End stores so that each auditing rule in the first auditing rule file is set to the rule by the destination client In the corresponding file of routing information, specifically include:
The first auditing rule file, the regular store path information and the file key are sent to the mesh Client is marked, so that each auditing rule in the first auditing rule file is set to the rule by the destination client Then in the corresponding file of store path information, and the file is encrypted using the file key.
Correspondingly, the embodiment of the present invention additionally provides a kind of setting device of auditing rule, specifically includes:
Regular original document obtains module, is instructed for being arranged in response to auditing rule, obtain target customer's client information and Auditing rule original document;Wherein, include at least one auditing rule in the auditing rule original document;
Rule file template obtains module, for according to target customer's client information, obtaining opposite with destination client The rule file template answered;
Auditing rule file generating module, for according in the auditing rule original document each auditing rule and institute Rule file template is stated, the first auditing rule file is generated;And
Auditing rule setup module, for the first auditing rule file to be sent to the destination client, so that Each auditing rule is set to local by the destination client according to the first auditing rule file.
Correspondingly, the embodiment of the present invention additionally provides a kind of setting system of auditing rule, specifically includes server-side and extremely A few client;
The server-side, the setting method for executing auditing rule as described above;
The client, including destination client, in the first auditing rule text for receiving the server-side transmission After part, each auditing rule is set to by local according to the first auditing rule file.
The embodiment of the present invention additionally provides a kind of server apparatus, specifically includes processor, memory and is stored in institute The computer program executed by the processor is stated in memory and is configured as, the processor executes the computer program The setting method of Shi Shixian auditing rules as described above.
The embodiment of the present invention additionally provides a kind of computer readable storage medium, specifically includes the computer program of storage, Wherein, equipment where controlling the computer readable storage medium when the computer program is run executes as described above examine The setting method of core rule.
Implement the embodiment of the present invention, has the advantages that:
The setting method of auditing rule provided in an embodiment of the present invention, device and system, equipment, storage medium, by pre- Different rule file templates is first set, and after selecting rule file template corresponding with destination client, according to this Rule file template and auditing rule original document generate the auditing rule file that can be suitable for destination client, so that Each auditing rule can be set to local by destination client according to the auditing rule file.The present embodiment is due to pre-setting Rule file template corresponding with each destination client so that auditing rule can be developed under same environment and It can be used by different clients so that be not necessarily to consider the compatibility issue of environment during application and development, therefore The efficiency of application and development can be improved.In addition, due to each client auditing rule service by same development environment clothes Business end provides, therefore can avoid the problem that server is stuck caused by varying environment is incompatible, to improve application Performance improves user experience.
Description of the drawings
Fig. 1 is the structural schematic diagram of a preferred embodiment of the setting system of auditing rule provided by the invention;
Fig. 2 is the flow diagram of a preferred embodiment of the setting method of auditing rule provided by the invention;
Fig. 3 is the structural schematic diagram of a preferred embodiment of the setting device of auditing rule provided by the invention;
Fig. 4 is the structural schematic diagram of a preferred embodiment of server apparatus provided by the invention.
Specific implementation mode
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 describes, 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, those of ordinary skill in the art are obtained every other without creative efforts Embodiment shall fall within the protection scope of the present invention.
As shown in Figure 1, the structure for a preferred embodiment of the setting system of auditing rule provided by the invention is shown It is intended to, including server-side 11 and at least one client 12;
The server-side 11, the setting method for executing the auditing rule described in following any embodiment;
It should be noted that being previously stored with multiple auditing rules in above-mentioned server-side, server-side is obtaining target customer After the relevant information at end, auditing rule corresponding with the destination client is generated according to the relevant information of the destination client File, and the auditing rule file is sent to destination client, so that the destination client is set according to the auditing rule file Set corresponding auditing rule.It is understood that above-mentioned destination client is the client for needing to carry out rule setting.
The client 12, including destination client, in the first audit rule for receiving the transmission of the server-side 11 Then after file, each auditing rule is set to by local according to the first auditing rule file.
As shown in Fig. 2, the flow for a preferred embodiment of the setting method of auditing rule provided by the invention is shown It is intended to, including step S21 to S24, it is specific as follows:
S21:It is arranged in response to auditing rule and instructs, obtains target customer's client information and auditing rule original document;Wherein, It include at least one auditing rule in the auditing rule original document.Optionally, the auditing rule is advised comprising general audit Then, it is not directed to the auditing rule of particular clients application.In this way, can further mitigate the maintenance and management of auditing rule Burden improves the recycling rate of waterused and development efficiency of rule.
It should be noted that the embodiment of the present invention is executed by the server-side in the setting system of above-mentioned auditing rule.
Above-mentioned auditing rule setting instruction can be spontaneously generated by above-mentioned server-side, can also be given birth to by above-mentioned destination client At.Above-mentioned server-side is after detecting auditing rule setting instruction, by being parsed to auditing rule setting instruction, The relevant information of destination client is obtained, while by inquiring pre-set rule file database, obtaining to be placed examine Core rule original document.Wherein, the rule file database and auditing rule original document therein, auditing rule etc. can lead to It crosses and is generated using SDK (Software Development Kit, Software Development Kit) exploitations.Above-mentioned auditing rule can be Regular expression.
S22:According to target customer's client information, rule file template corresponding with destination client is obtained.
It should be noted that being directed to different clients, different rule file moulds is provided in advance in above-mentioned server-side Plate.Therefore, server-side, by inquiring preconfigured rule file template, is therefrom sieved after obtaining target customer's client information Select rule file template corresponding with destination client.
It is highly preferred that the destination client information includes FTP client FTP type information and/or client type information.
It should be noted that above-mentioned FTP client FTP type information can be used for marking different FTP client FTP types, Such as, android system, iOS system, Windows systems etc., therefore, in above-mentioned server-side can be each configured in advance with The corresponding rule file template of android system, rule file template corresponding with iOS system and Windows system phases Corresponding rule file template etc..Above-mentioned client type information can be used for marking different client types, e.g., domestic visitor Therefore, in above-mentioned server-side family end type, foreign customers end type etc. can be each configured with and domestic correspondent end type in advance Corresponding rule file template, rule file template corresponding with foreign customers end type etc..
S23:According in the auditing rule original document each auditing rule and the rule file template, generate the One audit rule file.
It should be noted that above-mentioned server-side is after obtaining corresponding with destination client rule file template, root According to the rule file template to above-mentioned auditing rule original document into edlin, destination client can be suitable for obtain First auditing rule file.
S24:The first auditing rule file is sent to the destination client so that the destination client according to Each auditing rule is set to local by the first auditing rule file.
It should be noted that above-mentioned destination client is set by each auditing rule in above-mentioned first auditing rule file It is placed in after local, you can by the way that the condition in application operational process is audited and judged with the auditing rule.
It should be further noted that in some specific embodiments, above-mentioned server-side itself can also pass through HTTP The mode of (HyperText Transfer Protocol, hypertext transfer protocol) calls above-mentioned auditing rule.
It is highly preferred that at least one auditing rule includes pet name auditing rule and/or speech auditing rule.
It should be noted that when above-mentioned pet name auditing rule is arranged at destination client, whenever the user setting pet name When, destination client can call the pet name auditing rule audit and judge accordingly automatically.Specifically, above-mentioned target visitor Family end is detecting user when carrying out pet name setting, obtains the pet name input by user (e.g., labour union's name, pet name etc.), and lead to It crosses calling pet name audit interface and calls above-mentioned pet name auditing rule, to be audited to the above-mentioned pet name.It is examined whenever according to one When core rule completes audit, then generate such as { " message ":" * * * are cut ", " regularId ":"6","code":" 202 " } examine Core result, wherein the format of the auditing result can be JSON (JavaScript Object Notation, JS object tag) Format;Message is the text prompt information of auditing result, and value is " * * * are cut ";RegularId be not by audit advise Serial number then, value are " 6 ";Code be auditing result conditional code (e.g., in review process occur mistake, examining content by, Examining content violation etc.), value is " 202 ".When the above-mentioned pet name is by all auditing rules, illustrate that the pet name meets setting Condition, therefore, it is determined that the pet name by audit, otherwise, then judges the pet name not by audit, and export corresponding violation and prompt.
When above-mentioned speech auditing rule is arranged at destination client, when stating one's views user, destination client The speech auditing rule can be called audit and judge accordingly automatically.Specifically, above-mentioned destination client is detecting User obtains speech input by user, the level data of user and speech place etc., and pass through calling when carrying out speech and delivering Speech audits interface and calls above-mentioned speech auditing rule, to be audited to above-mentioned speech.Whenever according to an auditing rule When completing audit, then generate such as { " message ":" * * * are cut ", " regularId ":"6","code":" 202 " } audit knot Fruit, wherein the format of the auditing result can be JSON (JavaScript Object Notation, JS object tag) lattice Formula;Message is the text prompt information of auditing result, and value is " * * * are cut ";RegularId be not by auditing rule Serial number, value be " 6 ";Code be auditing result conditional code (e.g., in review process occur mistake, examining content by, examine Core content violation etc.), value is " 202 ".When above-mentioned speech is by all auditing rules, illustrate that the speech meets the item of setting Part, therefore, it is determined that the speech by audit, otherwise, then judges the speech not by audit, and export corresponding violation and prompt.
In some specifically embodiment, above-mentioned auditing rule can also be Else Rule, for it is input by user its Its content or other contents of application are audited and are judged.Correspondingly, above-mentioned in addition to that can be arranged in destination client The pet name is audited outside interface and above-mentioned speech audit interface, other types of audit interface can also be arranged, for calling other classes The auditing rule of type.
It should be further noted that in each client, above-mentioned pet name auditing rule and speech auditing rule are logical It crosses and is generated using SDK exploitations.During audit, can also be added whether complete, review process surpasses to auditing rule When etc. judgements, to improve the accuracy of auditing result.
The present embodiment is selecting rule corresponding with destination client by pre-setting different rule file templates Then after file template, destination client can be suitable for by being generated according to the rule file template and auditing rule original document Auditing rule file, so that each auditing rule can be set to this by destination client according to the auditing rule file Ground.The present embodiment is due to pre-setting rule file template corresponding with each destination client, so that audit rule It can then develop and can be used by different clients under same environment so that without examining during application and development Consider the compatibility issue of environment, and without carrying out individual application and development for each client, therefore can improve to apply opening The efficiency of hair.In addition, the auditing rule service due to each client is provided by the server-side of same development environment, energy The problem that server is stuck caused by varying environment is incompatible is enough avoided, to improve the performance of application, improves and uses It experiences at family.
In another preferred embodiment, above-mentioned auditing rule setting instruction can be generated by above-mentioned destination client. The setting method of the auditing rule, further includes step S01, S02 or S03, specific as follows:
S01:Receive the auditing rule setting instruction that the destination client is sent.
It should be noted that above-mentioned destination client can automatically generate auditing rule setting instruction at regular intervals, And auditing rule setting instruction is sent to above-mentioned server-side, to complete to the auditing rule that is arranged in destination client Regularly automatically update.
S02:Receive each audit of the destination client in the second audit rule file for detecting previous receipt The regular auditing rule setting sent when inconsistent with each auditing rule in the auditing rule original document instructs.
It should be noted that above-mentioned destination client at regular intervals automatically to the auditing rule of itself current setting into Row detection, judges whether these auditing rules are consistent with auditing rule currently used in above-mentioned server-side, if inconsistent, gives birth to It is arranged at auditing rule and instructs, and auditing rule setting instruction is sent to above-mentioned server-side, completes to itself setting The update of auditing rule;If consistent, do not deal with.
S03:Receive the destination client detect it is described second audit rule file location information with it is described examine The auditing rule setting instruction that the location information of core rule original document is sent when inconsistent.
It should be noted that including positioning letter in above-mentioned second audit rule file and above-mentioned auditing rule original document Breath.Wherein, which can use URL (Uniform Resource Locator, uniform resource locator) to indicate.When upper It is former in the location information for the second audit rule file for detecting itself current setting and above-mentioned auditing rule to state destination client When the location information of beginning file is inconsistent, illustrate that the currently used auditing rule in destination client is not newest examines Core rule, therefore auditing rule setting instruction is generated, and auditing rule setting instruction is sent to above-mentioned server-side, to complete The update for the auditing rule being locally located in pairs.
Further, it is identified comprising target customer's client information and rule file in the auditing rule setting instruction Code.
It should be noted that being provided with several auditing rule original documents, each auditing rule in above-mentioned server-side in advance Original document has unique rule file identification code.Above-mentioned destination client can judge this according to the rule file identification code Whether each auditing rule of ground setting is newest auditing rule.
Then above-mentioned steps S21 can further include step S2111 to S2112, specific as follows:
S2111:It is arranged in response to the auditing rule and instructs, auditing rule setting instruction is parsed, is obtained Target customer's client information and the rule file identification code.
S2112:Default rule document data bank is inquired, the corresponding audit rule of the rule file identification code are obtained Then original document.
It should be noted that rule file database is previously provided in above-mentioned server-side, for each auditing rule Original document is stored.
It is highly preferred that the auditing rule original document has correspondence with application;The then rule file identification code In include application identities code.
It should be noted that above-mentioned auditing rule original document can also be corresponded with application, therefore above-mentioned audit is advised Then original document can also be identified with application identities code.For example, the game identifier code of certain game is G, then the game corresponds to Auditing rule original document can also be identified as G.Therefore, above-mentioned destination client can also be in each user starts application When, this is detected and is updated using corresponding all auditing rules automatically.By by auditing rule original document with answer With corresponding so that the auditing rule of each application can be realized in same development environment, so as to avoid different exploitation rings Border bring using incompatible problem, further increase the utilization benefit of application.
In yet another preferred embodiment, above-mentioned auditing rule setting instruction can be automatically generated by above-mentioned server-side. The setting method of the auditing rule further includes step S04, specific as follows:
S04:When detecting that the rule process to the auditing rule original document operates completion, the audit rule are generated Instruction is then set.
It should be noted that being provided with auditing rule database and rule file database in above-mentioned server-side.Exploit person Member directly can develop each auditing rule in auditing rule database in above-mentioned server-side.When developer is complete After the exploitation of a certain auditing rule in the pairs of auditing rule database, above-mentioned server-side inquires above-mentioned rule text automatically Part database therefrom filters out all auditing rule original documents comprising the auditing rule, and the auditing rule is updated to In these auditing rule original documents.After completing the update to auditing rule original document, corresponding audit is automatically generated Rule setting instructs.
Further, above-mentioned steps S04 further comprises step S0401, specific as follows:
S0401:When detect to the auditing rule original document in default rule document data bank rule at When reason operation is completed, the rule file identification code of the auditing rule original document is obtained, and identify according to the rule file Code generates the auditing rule setting instruction.
It should be noted that being provided with several auditing rule original documents, each auditing rule in above-mentioned server-side in advance Original document has unique rule file identification code.Therefore, above-mentioned destination service end is original to a certain auditing rule in completion After the update of file, the rule file identification code of the auditing rule original document is obtained, and generate original with the auditing rule The corresponding auditing rule setting instruction of file.
It is highly preferred that the rule process operation includes the newly-built operation of rule, redundant rule elimination operation and/or rules modification behaviour Make.
Then above-mentioned steps S21 can further include step S2121 to S2123, specific as follows:
S2121:It is arranged in response to the auditing rule and instructs, auditing rule setting instruction is parsed, is obtained The rule file identification code.
S2122:The rule file database is inquired according to the rule file identification code, it is former to obtain the auditing rule Beginning file.
It should be noted that rule file database is previously provided in above-mentioned server-side, for each auditing rule Original document is stored.
S2123:Preset client record sheet is inquired according to the rule file identification code, obtains the rule file mark Know the corresponding all clients information of code, and each client-side information is set gradually as target customer's client information.
It should be noted that client record sheet is also previously provided in above-mentioned server-side, for recording each audit rule The then correspondence between original document and each client, that is, it is original that the client record sheet has recorded each auditing rule The whereabouts of file.For example, when auditing rule original document has correspondence with application, had recorded in the client record sheet It is mounted with the relevant information of all clients of the application.When above-mentioned server-side obtains the audit by the operation of above-mentioned rule process When the rule file identification code of regular original document, above-mentioned client record sheet is inquired, therefrom obtains the rule file identification code The client-side information of corresponding all clients, and each client-side information is set gradually as target customer's client information, from And complete the update to the auditing rule being arranged in all clients corresponding to the rule file identification code.
It is highly preferred that the auditing rule original document has correspondence with application;The then rule file identification code In include application identities code.
In yet another preferred embodiment, the setting method of the auditing rule further includes step S05, specific as follows:
S05:According to target customer's client information, regular store path letter corresponding with the destination client is obtained Breath.
It should be noted that being also pre-configured with regular store path corresponding with different clients in above-mentioned server-side Information.Therefore, server-side obtains opposite with destination client after obtaining target customer's client information according to the client-side information The regular store path information answered.
Then above-mentioned steps S24 can further include step S2401, specific as follows:
S2401:The first auditing rule file and the regular store path information are sent to the target customer End stores so that each auditing rule in the first auditing rule file is set to the rule by the destination client In the corresponding file of routing information.
Further, the setting method of the auditing rule further includes step S06, specific as follows:
S06:Generate file key corresponding with the first auditing rule file.
It should be noted that above-mentioned server-side after generating the first audit document, generates and first audit document pair The file key answered, for adding to each auditing rule being set to behind destination client in first audit document It is close.
Then above-mentioned steps S2401 can further include step S2401_1, specific as follows:
S2401_1:The first auditing rule file, the regular store path information and the file key are sent To the destination client, so that each auditing rule in the first auditing rule file is arranged for the destination client In the corresponding file of the rule store path information, and the file is encrypted using the file key.
It should be noted that destination client each auditing rule in the first auditing rule file is set to it is above-mentioned Before file, it can also utilize above-mentioned file key that this document folder is decrypted.Wherein, it can be wrapped in above-mentioned file key Containing public key and private key.
The setting method and system of auditing rule provided in an embodiment of the present invention, by pre-setting different rule files Template, and after selecting rule file template corresponding with destination client, advised according to the rule file template and audit Then original document generates the auditing rule file that can be suitable for destination client, so that destination client can be according to this Each auditing rule is set to local by auditing rule file.The present embodiment is due to pre-setting and each destination client phase Corresponding rule file template, so that auditing rule can be developed under same environment and can be by different client institutes It uses so that without considering the compatibility issue of environment during application and development, and carried out without being directed to each client Individual application and development, therefore the efficiency of application and development can be improved.In addition, the auditing rule service due to each client is equal It is provided by the server-side of same development environment, therefore can avoid server is stuck caused by varying environment is incompatible from asking Topic improves user experience to improve the performance of application.
Correspondingly, the present invention also provides a kind of setting device of auditing rule, the audit in above-described embodiment can be realized All flows of the setting method of rule.
As shown in figure 3, the structure for a preferred embodiment of the setting device of auditing rule provided by the invention is shown It is intended to, it is specific as follows:
Regular original document obtains module 31, is instructed for being arranged in response to auditing rule, obtains target customer's client information With auditing rule original document;Wherein, include at least one auditing rule in the auditing rule original document;
Rule file template obtains module 32, for according to target customer's client information, obtaining and destination client phase Corresponding rule file template;
Auditing rule file generating module 33, for according in the auditing rule original document each auditing rule and The rule file template generates the first auditing rule file;And
Auditing rule setup module 34, for the first auditing rule file to be sent to the destination client, with Make the destination client that each auditing rule are set to local according to the first auditing rule file.
Further, the setting device of the auditing rule further includes:
First rule setting command reception module, the auditing rule setting sent for receiving the destination client Instruction;Alternatively,
Command reception module is arranged in Second Rule, and the second of previous receipt is being detected for receiving the destination client Each auditing rule in auditing rule file is sent out when inconsistent with each auditing rule in the auditing rule original document The auditing rule setting instruction sent;Alternatively,
Third rule setting command reception module is detecting the second audit rule for receiving the destination client The auditing rule that then location information of file and when inconsistent location information of the auditing rule original document send is set Set instruction.
Further, it is identified comprising target customer's client information and rule file in the auditing rule setting instruction Code;
Then the regular original document obtains module, specifically includes:
Rule file identification code obtaining unit is instructed for being arranged in response to the auditing rule, to the auditing rule Setting instruction is parsed, and target customer's client information and the rule file identification code are obtained;And
Auditing rule original document obtaining unit obtains the rule text for inquiring default rule document data bank The corresponding auditing rule original document of part identification code.
Further, the setting device of the auditing rule further includes:
Rule setting directive generation module, for working as the rule process operation detected to the auditing rule original document When completion, the auditing rule setting instruction is generated.
Further, the rule process operation includes the newly-built operation of rule, redundant rule elimination operation and/or rules modification behaviour Make.
Further, the rule setting directive generation module, specifically includes:
Rule setting instruction generation unit, for working as the audit rule detected in default rule document data bank When then the rule process operation of original document is completed, the rule file identification code of the auditing rule original document, and root are obtained The auditing rule setting instruction is generated according to the rule file identification code;
Then the regular original document obtains module, specifically includes:
Rule file identification code obtaining unit is instructed for being arranged in response to the auditing rule, to the auditing rule Setting instruction is parsed, and the rule file identification code is obtained;
Auditing rule original document obtaining unit, for inquiring the rule file number according to the rule file identification code According to library, the auditing rule original document is obtained;And
Destination client information obtainment unit is recorded for inquiring preset client according to the rule file identification code Table obtains the corresponding all clients information of the rule file identification code, and each client-side information is set gradually For target customer's client information.
Further, the auditing rule original document has correspondence with application;The then rule file identification code In include application identities code.
Further, at least one auditing rule includes pet name auditing rule and/or speech auditing rule.
Further, the destination client information includes FTP client FTP type information and/or client type information.
Further, the setting device of the auditing rule further includes:
Regular store path information acquisition module, for according to target customer's client information, obtaining and target visitor The corresponding regular store path information in family end;
The then auditing rule setup module, specifically includes:
Auditing rule setting unit, for sending the first auditing rule file and the regular store path information To the destination client, so that each auditing rule in the first auditing rule file is arranged for the destination client In the corresponding file of the rule store path information.
Further, the setting device of the auditing rule further includes:
File key generation module, for generating file key corresponding with the first auditing rule file;
The then auditing rule setting unit, specifically includes:
Auditing rule be arranged subelement, for will the first auditing rule file, it is described rule store path information and The file key is sent to the destination client, so that the destination client will be in the first auditing rule file Each auditing rule is set in the corresponding file of the regular store path information, and using the file key to described File is encrypted.
The setting device of auditing rule provided in an embodiment of the present invention, by pre-setting different rule file templates, It is original according to the rule file template and auditing rule and after selecting rule file template corresponding with destination client File generated can be suitable for the auditing rule file of destination client, so that destination client can be advised according to the audit Then each auditing rule is set to local by file.The present embodiment is corresponding with each destination client due to pre-setting Rule file template, so that auditing rule can be developed under same environment and can be used by different clients, So that without considering the compatibility issue of environment during application and development, and carried out individually without being directed to each client Application and development, therefore the efficiency of application and development can be improved.In addition, since the auditing rule service of each client is by same The server-side of development environment provides, therefore can avoid the problem that server is stuck caused by varying environment is incompatible, from And the performance of application is improved, improve user experience.
The present invention also provides a kind of server apparatus.
As shown in figure 4, the structural schematic diagram of a preferred embodiment for server apparatus provided by the invention, including It processor 41, memory 42 and is stored in the memory 42 and is configured as the computer executed by the processor 41 Program, the processor 41 realize the setting side of the auditing rule described in any embodiment as above when executing the computer program Method.
It should be noted that Fig. 4 only by the server apparatus a memory and for a processor is connected Illustrated, can also include multiple memories and/or multiple processing in some specific embodiments, in the server apparatus Device, specific number and connection type can need to be configured and be adaptively adjusted according to actual conditions.
Server apparatus provided in an embodiment of the present invention by pre-setting different rule file templates, and is being selected After rule file template corresponding with destination client, generated according to the rule file template and auditing rule original document It can be suitable for the auditing rule file of destination client, so that destination client can be incited somebody to action according to the auditing rule file Each auditing rule is set to local.The present embodiment is due to pre-setting rule file corresponding with each destination client Template, so that auditing rule can be developed under same environment and can be used by different clients so that answering With the compatibility issue without considering environment during exploitation, and opened without carrying out individually application for each client Hair, therefore the efficiency of application and development can be improved.In addition, since the auditing rule service of each client is by same exploitation ring The server-side in border provides, therefore can avoid the problem that server is stuck caused by varying environment is incompatible, to improve The performance of application improves user experience.
The present invention also provides a kind of computer readable storage mediums, specifically include the computer program of storage, wherein Equipment where controlling the computer readable storage medium when computer program operation executes described in any embodiment as above Auditing rule setting method.
It should be noted that the present invention realizes all or part of flow in above-described embodiment method, meter can also be passed through Calculation machine program is completed to instruct relevant hardware, and the computer program can be stored in a computer readable storage medium In, the computer program is when being executed by processor, it can be achieved that the step of above-mentioned each embodiment of the method.Wherein, the calculating Machine program includes computer program code, and the computer program code can be source code form, object identification code form, can hold Style of writing part or certain intermediate forms etc..The computer-readable medium may include:The computer program code can be carried Any entity or device, recording medium, USB flash disk, mobile hard disk, magnetic disc, CD, computer storage, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), electric carrier signal, telecommunications letter Number and software distribution medium etc..It should be further noted that the content that the computer-readable medium includes can basis Legislation and the requirement of patent practice carry out increase and decrease appropriate in jurisdiction, such as in certain jurisdictions, according to legislation And patent practice, computer-readable medium do not include electric carrier signal and telecommunication signal.
Computer readable storage medium provided in an embodiment of the present invention, by pre-setting different rule file templates, It is original according to the rule file template and auditing rule and after selecting rule file template corresponding with destination client File generated can be suitable for the auditing rule file of destination client, so that destination client can be advised according to the audit Then each auditing rule is set to local by file.The present embodiment is corresponding with each destination client due to pre-setting Rule file template, so that auditing rule can be developed under same environment and can be used by different clients, So that without considering the compatibility issue of environment during application and development, and carried out individually without being directed to each client Application and development, therefore the efficiency of application and development can be improved.In addition, since the auditing rule service of each client is by same The server-side of development environment provides, therefore can avoid the problem that server is stuck caused by varying environment is incompatible, from And the performance of application is improved, improve user experience.
The above is the preferred embodiment of the present invention, it is noted that for those skilled in the art For, without departing from the principle of the present invention, it can also make several improvements and retouch, these improvements and modifications are also considered as Protection scope of the present invention.

Claims (15)

1. a kind of setting method of auditing rule, which is characterized in that including:
It is arranged in response to auditing rule and instructs, obtains target customer's client information and auditing rule original document;Wherein, the audit It include at least one auditing rule in regular original document;
According to target customer's client information, rule file template corresponding with destination client is obtained;
According in the auditing rule original document each auditing rule and the rule file template, generate first audit rule Then file;
The first auditing rule file is sent to the destination client, so that the destination client is according to described first Each auditing rule is set to local by auditing rule file.
2. the setting method of auditing rule as described in claim 1, which is characterized in that the setting method of the auditing rule, Further include:
Receive the auditing rule setting instruction that the destination client is sent;Alternatively,
Receive each auditing rule and institute of the destination client in the second audit rule file for detecting previous receipt State each auditing rule in auditing rule original document it is inconsistent when send the auditing rule setting instruction;Alternatively,
It is former in the location information and the auditing rule for detecting the second audit rule file to receive the destination client The auditing rule setting instruction that the location information of beginning file is sent when inconsistent.
3. the setting method of auditing rule as claimed in claim 2, which is characterized in that wrapped in the auditing rule setting instruction Containing target customer's client information and rule file identification code;
Described be arranged in response to auditing rule instructs, and obtains target customer's client information and auditing rule original document, specifically includes:
It is arranged in response to the auditing rule and instructs, auditing rule setting instruction is parsed, obtains the target visitor Family client information and the rule file identification code;
Default rule document data bank is inquired, the corresponding original text of auditing rule of the rule file identification code is obtained Part.
4. the setting method of auditing rule as described in claim 1, which is characterized in that the setting method of the auditing rule, Further include:
When detecting that the rule process to the auditing rule original document operates completion, generates the auditing rule setting and refer to It enables.
5. the setting method of auditing rule as claimed in claim 4, which is characterized in that the rule process operation includes rule Newly-built operation, redundant rule elimination operation and/or rules modification operation.
6. the setting method of auditing rule as claimed in claim 4, which is characterized in that described ought detect advises the audit When then the rule process operation of original document is completed, the auditing rule setting instruction is generated, is specifically included:
It is completed when detecting that the rule process to the auditing rule original document in default rule document data bank operates When, the rule file identification code of the auditing rule original document is obtained, and according to described in rule file identification code generation Auditing rule setting instruction;
Then described be arranged in response to auditing rule instructs, and obtains target customer's client information and auditing rule original document, specific to wrap It includes:
It is arranged in response to the auditing rule and instructs, auditing rule setting instruction is parsed, obtains the rule text Part identification code;
The rule file database is inquired according to the rule file identification code, obtains the auditing rule original document;
Preset client record sheet is inquired according to the rule file identification code, it is corresponding to obtain the rule file identification code All clients information, and each client-side information is set gradually as target customer's client information.
7. the setting method of the auditing rule as described in claim 3 or 6, which is characterized in that the auditing rule original document There is correspondence with application;Include then application identities code in the rule file identification code.
8. the setting method of auditing rule as described in claim 1, which is characterized in that at least one auditing rule includes Pet name auditing rule and/or speech auditing rule.
9. the setting method of auditing rule as described in claim 1, which is characterized in that the destination client information includes visitor Family end system type information and/or client type information.
10. the setting method of auditing rule as described in claim 1, which is characterized in that the setting method of the auditing rule, Further include:
According to target customer's client information, regular store path information corresponding with the destination client is obtained;
It is then described that the first auditing rule file is sent to the destination client, so that the destination client is according to institute It states the first auditing rule file and each auditing rule is set to local, specifically include:
The first auditing rule file and the regular store path information are sent to the destination client, so that described Each auditing rule in the first auditing rule file is set to the regular store path information pair by destination client In the file answered.
11. the setting method of auditing rule as claimed in claim 10, which is characterized in that the setting side of the auditing rule Method further includes:
Generate file key corresponding with the first auditing rule file;
It is then described by the first auditing rule file and the regular store path information is sent to the destination client, with Make the destination client that each auditing rule in the first auditing rule file is set to the regular store path In the corresponding file of information, specifically include:
The first auditing rule file, the regular store path information and the file key are sent to the target visitor Family end is deposited so that each auditing rule in the first auditing rule file is set to the rule by the destination client It stores up in the corresponding file of routing information, and the file is encrypted using the file key.
12. a kind of setting device of auditing rule, which is characterized in that including:
Regular original document obtains module, is instructed for being arranged in response to auditing rule, obtains target customer's client information and audit Regular original document;Wherein, include at least one auditing rule in the auditing rule original document;
Rule file template obtains module, for according to target customer's client information, obtaining corresponding with destination client Rule file template;
Auditing rule file generating module, for according in the auditing rule original document each auditing rule and the rule Then file template generates the first auditing rule file;And
Auditing rule setup module, for the first auditing rule file to be sent to the destination client, so that described Each auditing rule is set to local by destination client according to the first auditing rule file.
13. a kind of setting system of auditing rule, which is characterized in that including server-side and at least one client;
The server-side, the setting method for executing the auditing rule as described in any one of claim 1 to 11;
The client, including destination client, for receive the first auditing rule file that the server-side is sent it Afterwards, each auditing rule is set to by local according to the first auditing rule file.
14. a kind of server apparatus, which is characterized in that including processor, processor and be stored in the memory and by It is configured to the computer program executed by the processor, is realized when the processor executes the computer program as right is wanted Seek the setting method of the auditing rule described in any one of 1 to 11.
15. a kind of computer readable storage medium, which is characterized in that the computer readable storage medium includes the calculating of storage Machine program, wherein equipment where controlling the computer readable storage medium when the computer program is run is executed as weighed Profit requires the setting method of the auditing rule described in any one of 1 to 11.
CN201810164483.7A 2018-02-28 2018-02-28 Method, device and system for setting audit rule, equipment and storage medium Active CN108427733B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810164483.7A CN108427733B (en) 2018-02-28 2018-02-28 Method, device and system for setting audit rule, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810164483.7A CN108427733B (en) 2018-02-28 2018-02-28 Method, device and system for setting audit rule, equipment and storage medium

Publications (2)

Publication Number Publication Date
CN108427733A true CN108427733A (en) 2018-08-21
CN108427733B CN108427733B (en) 2021-08-10

Family

ID=63157128

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810164483.7A Active CN108427733B (en) 2018-02-28 2018-02-28 Method, device and system for setting audit rule, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN108427733B (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109583987A (en) * 2018-10-09 2019-04-05 阿里巴巴集团控股有限公司 A kind of processing method of data, device and equipment
CN110414702A (en) * 2019-06-28 2019-11-05 南京领行科技股份有限公司 One kind is called a taxi application processing method, apparatus and system
CN111026929A (en) * 2019-12-27 2020-04-17 咪咕文化科技有限公司 Text approval method and device and storage medium
CN111126965A (en) * 2019-12-25 2020-05-08 深圳前海环融联易信息科技服务有限公司 Audit rule optimization method and device, computer equipment and storage medium
CN111585988A (en) * 2020-04-25 2020-08-25 中信银行股份有限公司 Data auditing method, device and system and computer storage medium
CN111724132A (en) * 2020-06-18 2020-09-29 北京明略软件系统有限公司 File issuing method and device, intelligent terminal and storage medium
CN112579632A (en) * 2020-12-28 2021-03-30 中国建设银行股份有限公司 Data verification method, device, equipment and medium
CN112926941A (en) * 2021-03-04 2021-06-08 远光软件股份有限公司 Management method and device for financial auditing rules, storage medium and server
CN113205312A (en) * 2021-05-13 2021-08-03 深圳供电局有限公司 Power consumer profile management method and system, computer device and storage medium

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101021890A (en) * 2007-03-20 2007-08-22 华为技术有限公司 Method, system and server for checking page data
CN102201043A (en) * 2010-03-24 2011-09-28 微软公司 Auditing access to data based on resource properties
TW201220116A (en) * 2010-11-09 2012-05-16 Inst Information Industry Information security protection host
US8712990B2 (en) * 2009-10-09 2014-04-29 Sap Ag Methods and systems for providing a business repository
CN103927314A (en) * 2013-01-16 2014-07-16 阿里巴巴集团控股有限公司 Data batch processing method and device
CN106055602A (en) * 2016-05-24 2016-10-26 腾讯科技(深圳)有限公司 File verification method and apparatus
CN106101090A (en) * 2016-06-07 2016-11-09 中国建设银行股份有限公司 Operational approach and rule engine system for regulation engine
CN106126215A (en) * 2016-06-17 2016-11-16 深圳市麦斯杰网络有限公司 Business rule scenario generation method and device
CN107133275A (en) * 2017-04-11 2017-09-05 国网福建省电力有限公司 The method that a kind of regulation and control main website telemechanical point table is audited automatically

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101021890A (en) * 2007-03-20 2007-08-22 华为技术有限公司 Method, system and server for checking page data
US8712990B2 (en) * 2009-10-09 2014-04-29 Sap Ag Methods and systems for providing a business repository
CN102201043A (en) * 2010-03-24 2011-09-28 微软公司 Auditing access to data based on resource properties
TW201220116A (en) * 2010-11-09 2012-05-16 Inst Information Industry Information security protection host
CN103927314A (en) * 2013-01-16 2014-07-16 阿里巴巴集团控股有限公司 Data batch processing method and device
CN106055602A (en) * 2016-05-24 2016-10-26 腾讯科技(深圳)有限公司 File verification method and apparatus
CN106101090A (en) * 2016-06-07 2016-11-09 中国建设银行股份有限公司 Operational approach and rule engine system for regulation engine
CN106126215A (en) * 2016-06-17 2016-11-16 深圳市麦斯杰网络有限公司 Business rule scenario generation method and device
CN107133275A (en) * 2017-04-11 2017-09-05 国网福建省电力有限公司 The method that a kind of regulation and control main website telemechanical point table is audited automatically

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
王世春: "面向银行信贷的规则引擎系统设计与实现", 《中国优秀硕士学位论文全文数据库经济与管理科学辑》 *

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109583987A (en) * 2018-10-09 2019-04-05 阿里巴巴集团控股有限公司 A kind of processing method of data, device and equipment
CN110414702A (en) * 2019-06-28 2019-11-05 南京领行科技股份有限公司 One kind is called a taxi application processing method, apparatus and system
CN111126965A (en) * 2019-12-25 2020-05-08 深圳前海环融联易信息科技服务有限公司 Audit rule optimization method and device, computer equipment and storage medium
CN111026929A (en) * 2019-12-27 2020-04-17 咪咕文化科技有限公司 Text approval method and device and storage medium
CN111026929B (en) * 2019-12-27 2023-07-21 咪咕文化科技有限公司 Text approval method, device and storage medium
CN111585988A (en) * 2020-04-25 2020-08-25 中信银行股份有限公司 Data auditing method, device and system and computer storage medium
CN111724132A (en) * 2020-06-18 2020-09-29 北京明略软件系统有限公司 File issuing method and device, intelligent terminal and storage medium
CN112579632A (en) * 2020-12-28 2021-03-30 中国建设银行股份有限公司 Data verification method, device, equipment and medium
CN112926941A (en) * 2021-03-04 2021-06-08 远光软件股份有限公司 Management method and device for financial auditing rules, storage medium and server
CN113205312A (en) * 2021-05-13 2021-08-03 深圳供电局有限公司 Power consumer profile management method and system, computer device and storage medium

Also Published As

Publication number Publication date
CN108427733B (en) 2021-08-10

Similar Documents

Publication Publication Date Title
CN108427733A (en) The setting method of auditing rule, device and system, equipment, storage medium
CN101278276B (en) Network service for modularly constructing a software defined radio
CN107888672A (en) Billing data processing method, device, storage medium and computer equipment
CN104754062B (en) Information popularization method, server and user terminal based on internet
US8417640B2 (en) Secure license key method and system
CN110138744A (en) Replace method, apparatus, system, computer equipment and the storage medium of communicating number
CN109271798A (en) Sensitive data processing method and system
US20230111139A1 (en) Network security tool
CN108696359A (en) System and method for managing multiple wind power plants
CN111931189B (en) API interface reuse risk detection method, device and API service system
CN107370628B (en) Log processing method and system based on embedded points
CN109447742A (en) A kind of order processing method and relevant apparatus
EP1785901A1 (en) Secure License Key Method and System
CN109885790B (en) Method and device for acquiring satisfaction evaluation data
CN107612882B (en) User behavior identification method and device based on intermediate log
CN110109684A (en) Block chain node administration agent services installation method, electronic device and storage medium
CN111177536B (en) Method and device for transmitting customized information to unregistered user based on device fingerprint and electronic device
CN106842969A (en) Apparatus control method and device
CN109995782B (en) Information processing method, device, system and computer storage medium
CN111181905B (en) File encryption method and device
CN107451435B (en) Management and control method, management and control machine and management and control system of hardware encryption machine
JP2006190033A (en) Information processing system and processing method for communication reproduction
US20070005811A1 (en) Computer-implemented method, system, and interface for managing commands for a terminal session
CN108540374A (en) Information processing method, device, equipment based on instant messaging and storage medium
US20060242629A1 (en) Systems and methods for remote cross-platform instructions

Legal Events

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