CN104461522B - Auxiliary activities implementation method based on script - Google Patents

Auxiliary activities implementation method based on script Download PDF

Info

Publication number
CN104461522B
CN104461522B CN201410696651.9A CN201410696651A CN104461522B CN 104461522 B CN104461522 B CN 104461522B CN 201410696651 A CN201410696651 A CN 201410696651A CN 104461522 B CN104461522 B CN 104461522B
Authority
CN
China
Prior art keywords
script file
script
object code
file
new
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
CN201410696651.9A
Other languages
Chinese (zh)
Other versions
CN104461522A (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.)
Critics of science and Technology (Guangzhou) Co. Ltd.
Original Assignee
Critics Of Science And Technology (guangzhou) 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 Critics Of Science And Technology (guangzhou) Co Ltd filed Critical Critics Of Science And Technology (guangzhou) Co Ltd
Priority to CN201410696651.9A priority Critical patent/CN104461522B/en
Publication of CN104461522A publication Critical patent/CN104461522A/en
Application granted granted Critical
Publication of CN104461522B publication Critical patent/CN104461522B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses a kind of auxiliary activities implementation method based on script, including:Server reads in the script file for being used for realization auxiliary activities;The script file is compiled, obtains corresponding assembly instruction;When server needs to call the script file, parameter needed for acquisition is simultaneously converted to binary data blocks and is added into the corresponding assembly instruction of script file, obtains object code, and object code is locked;Server performs the object code after locking, and obtains the binary data blocks returned after performing, and the object code of locking is unlocked;Server reads in the binary data blocks returned, and therefrom parses the result after object code performs;The software systems are handled according to the result after execution, so as to fulfill auxiliary activities.The invention also discloses a kind of implementation method of the spam processing based on script.The present invention realizes the auxiliary activities of software systems using script, can make dynamic as the case may be during program is run and adjust.

Description

Auxiliary activities implementation method based on script
Technical field
The present invention relates to software processing technology field, more particularly to a kind of auxiliary activities implementation method based on script.
Background technology
Anti-garbage mail system is whether a kind of judgement mail is spam and handles the system of spam.Anti-spam Mailing system in order to judge an envelope unknown mails whether spam, have collected the related information of quite a lot of mail, including transmit Whether IP hits black and white lists, transmits the frequency of IP, and the frequency of addresser repeats mail occurrence number, and whether mail format accords with The information such as standardization.And anti-spam system need according to these relevant information finally determine mail whether spam.Due to Whether relevant information is very much, be spam according to certain logic decision mail so finally needing to program.Due to many letters Conflict mutually between breath (for example an envelope mail has hit ip white lists, but addresser's blacklist has been hit at the same time), so this A little logics can not possibly determine that when program is reached the standard grade to be adjusted, it is necessary to make dynamic as the case may be during program is run. But in order to keep the high availability of anti-spam service, service downtime is reduced, so these logics do not cure in a program Realize, but outer hang in script is realized.So during program is run, it can judge that mail is by changing script to change The logic of no spam, as long as heavily loaded script after modification, you can new logic is applied, without the service of restarting.
Patent CN102707934A discloses a kind of method and system that value-added service flow is represented with form of scripts, SIB can be packaged according to service logic according to syntax rule and business feature, generate script file;To the institute of generation State script file and be compiled parsing, generation can load and execution service logic file.The invention is by largely proving On the basis of, realize the method for expressing of class C scripting value-added service flows.Business development personnel can use as writing program Class C form of scripts describes service logic, substantially increases the ability of business development efficiency and complicated, the large-scale business of processing, from And realize quick business development.But the invention script uses class C scripts, rather than use the Script Programming being widely used Language, corresponding script can just be developed by resulting in the need for specially study.In addition cannot also be carried again in the case of non-stop-machine Enter new script, using new logic.
The content of the invention
The technical problems to be solved by the invention are, there is provided a kind of auxiliary activities that software systems are realized using script Method.
To solve above technical problem, the present invention provides a kind of auxiliary activities implementation method based on script, including step Suddenly:
Server reads in the script file for the auxiliary activities for being used for realization software systems, wherein, the auxiliary activities is used for The software systems are aided in carry out data processing;
The script file is compiled using script interpreter, obtains the corresponding assembly instruction of the script file;
When the server needs to call the script file, obtain parameter needed for the script file and be converted to two Binary data block;
The corresponding binary data blocks of parameter needed for the script file are added into the corresponding compilation of the script file Instruction, obtains executable object code, and the object code is locked;
The server performs the object code after locking, and obtains the binary data blocks returned after performing, and to described The object code unlock of locking;
The server reads in the binary data blocks of the return, and therefrom parses after the object code performs As a result;
The software systems are handled according to the result after the execution, so as to fulfill auxiliary activities.
Further, the software systems are handled according to the result after the execution, so as to fulfill auxiliary activities, it After further include step:
When script file updates and forms new script file, the server directly reads in the new script file;
The server is compiled the new script file using script interpreter, obtains the new script file pair The object code answered;
The corresponding object code of the new script file is locked, and former object code is updated to the new script file Corresponding object code, afterwards unlocks the corresponding object code of the new script file;
When the software systems need to realize auxiliary activities, the corresponding object code of the new script file is performed.
Present invention also offers a kind of implementation method of the spam processing based on script, including step:
Anti-garbage mail system server reads in the foot for the spam processing business for being used for realization anti-garbage mail system This document;
The script file is compiled using script interpreter, obtains the corresponding assembly instruction of the script file;
When the anti-garbage mail system server needs to call the script file, obtain needed for the script file Parameter is simultaneously converted to binary data blocks;
The corresponding binary data blocks of parameter needed for the script file are added into the corresponding compilation of the script file Instruction, obtains executable object code, and the object code is locked;
The anti-garbage mail system server performs the object code after locking, and obtains the binary number returned after performing Unlocked according to block, and to the object code of the locking;
The anti-garbage mail system server reads in the binary data blocks of the return, and therefrom parses the mesh The mail that mark code obtains after performing judges result and corresponding operation;
The anti-garbage mail system is judged according to the mail as a result, to being determined as the mail of spam according to described Corresponding operation is handled.
Further, the anti-garbage mail system judges the postal as a result, to being determined as spam according to the mail Part is handled according to the corresponding operation, further includes step afterwards:
When script file updates and forms new script file, described in the anti-garbage mail system server is directly read in New script file;
The anti-garbage mail system server is compiled the new script file using script interpreter, obtains institute State the corresponding object code of new script file;
The corresponding object code of the new script file is locked, and former object code is updated to the new script file Corresponding object code, afterwards unlocks the corresponding object code of the new script file;
When the anti-garbage mail system needs to carry out spam processing, the corresponding mesh of the new script file is performed Mark code.
Implement the present invention, have the advantages that:
1st, the auxiliary activities (such as spam processing) of software systems is realized using script, can be during program be run Make dynamic as the case may be to adjust.Auxiliary activities is not cured and is realized in a program, but outer hang in script realizes have High availability, reduces service downtime.
2 while support a variety of widely used scripts, and by server calls script and obtain script return Manage result.
3rd, during program is run, script can be changed, as long as heavily loaded script after modification, you can new logic is applied, and Service need not be restarted.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing There is attached drawing needed in technology description to be briefly described, it should be apparent that, drawings in the following description are only this Some embodiments of invention, for those of ordinary skill in the art, without creative efforts, can be with Other attached drawings are obtained according to these attached drawings.
Fig. 1 is the flow diagram for the auxiliary activities implementation method based on script that the embodiment of the present invention 1 provides;
Fig. 2 is the flow diagram for the auxiliary activities implementation method based on script that the embodiment of the present invention 2 provides;
Fig. 3 is the flow diagram of the implementation method for the processing of the spam based on script that the embodiment of the present invention 3 provides;
Fig. 4 is the flow diagram of the implementation method for the processing of the spam based on script that the embodiment of the present invention 4 provides.
Embodiment
Below in conjunction with the attached drawing in the embodiment of the present invention, the technical solution in the embodiment of the present invention is carried out clear, complete Site preparation describes, it is clear that described embodiment is only part of the embodiment 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 obtained without creative efforts it is all its His embodiment, belongs to the scope of protection of the invention.
Fig. 1 is the flow diagram for the auxiliary activities implementation method based on script that the embodiment of the present invention 1 provides, including step Suddenly:
S101, server read in the script file for the auxiliary activities for being used for realization software systems.
Wherein, the auxiliary activities is used to aid in the software systems to carry out data processing, such as the login of software systems The function script files such as verification are that the function to be realized according to auxiliary activities of programmer is write.The programming of the script file Language is lua or perl, but does not limit both language.
S102, using script interpreter be compiled the script file, obtains the corresponding compilation of the script file Instruction.
Specifically, step S102 specifically includes step:Syntax check is carried out to the script file using script interpreter, For detecting whether the script file has syntax error;If the script file does not have syntax error, using the script Interpreter is compiled the script file, obtains the corresponding assembly instruction of the script file.Wherein, script interpretation utensil It can be built-in script interpreter that body, which is,.
S103, when the server needs to call the script file, obtain parameter needed for the script file and turn It is changed to binary data blocks.
Specifically, step S103 includes:When the server needs to call the script file, the script text is obtained Parameter needed for part and be binary data blocks according to the protocol conversion of script.
Wherein, auxiliary activities usually requires to be handled according to parameter, for example, it is necessary to obtain when spam is handled The IP address of mail is as parameter, and for whether judging the IP address of mail in blacklist or white list, whether mail is black List or white list etc..
S104, that the corresponding binary data blocks of parameter needed for the script file are added into the script file is corresponding Assembly instruction, obtains executable object code, and the object code is locked.
Wherein, it is to avoid having reload instruction action during execution object code to be locked, and causes to conflict.Computer operation System can provide locking calling interface.After have invoked locking operation, obtaining the thread of lock can work normally.And if due to other Thread have been obtained for locking, it tries the thread of locking will block the sleep state into operating system, allow other thread First continue to execute, until lock is released.
S105, the server perform the object code after locking, and obtain the binary data blocks returned after performing, and right The object code unlock of the locking.
S106, the server read in the binary data blocks of the return, and therefrom parse the object code and hold Result after row.
S107, the software systems are handled according to the result after the execution, so as to fulfill auxiliary activities.
Fig. 2 is the flow diagram for the auxiliary activities implementation method based on script that the embodiment of the present invention 2 provides, including step Suddenly:
S201, server read in the script file for the auxiliary activities for being used for realization software systems.
Wherein, the auxiliary activities is used to aiding in the software systems to carry out data processing, script file be programmer by Write according to the function that auxiliary activities to be realized.The programming language of the script file is lua or perl, but do not limit this two Kind language.
S202, using script interpreter be compiled the script file, obtains the corresponding compilation of the script file Instruction.
Specifically, step S202 specifically includes step:Syntax check is carried out to the script file using script interpreter, For detecting whether the script file has syntax error;If the script file does not have syntax error, using the script Interpreter is compiled the script file, obtains the corresponding assembly instruction of the script file.Wherein, script interpretation utensil It can be built-in script interpreter that body, which is,.
S203, when the server needs to call the script file, obtain parameter needed for the script file and turn It is changed to binary data blocks.
Specifically, step S203 includes:When the server needs to call the script file, the script text is obtained Parameter needed for part and be binary data blocks according to the protocol conversion of script.
Wherein, auxiliary activities usually requires to be handled according to parameter, for example, it is necessary to obtain when spam is handled The IP address of mail is as parameter, and for whether judging the IP address of mail in blacklist or white list, whether mail is black List or white list etc..
S204, that the corresponding binary data blocks of parameter needed for the script file are added into the script file is corresponding Assembly instruction, obtains executable object code, and the object code is locked.
Wherein, it is to avoid having reload instruction action during execution object code to be locked, and causes to conflict.Computer operation System can provide locking calling interface.After have invoked locking operation, obtaining the thread of lock can work normally.And if due to other Thread have been obtained for locking, it tries the thread of locking will block the sleep state into operating system, allow other thread First continue to execute, until lock is released.
S205, the server perform the object code after locking, and obtain the binary data blocks returned after performing, and right The object code unlock of the locking.
S206, the server read in the binary data blocks of the return, and therefrom parse the object code and hold Result after row.
S207, the software systems are handled according to the result after the execution, so as to fulfill auxiliary activities.
S208, when script file updates and forms new script file, the server directly reads in new script text Part;
S209, the server are compiled the new script file using script interpreter, obtain the new script The corresponding object code of file;
S210, lock the corresponding object code of the new script file, and former object code is updated to the new foot The corresponding object code of this document, afterwards unlocks the corresponding object code of the new script file;
S211, when the software systems need to realize auxiliary activities, perform the new script file corresponding target generation Code.
Fig. 3 is the flow diagram of the implementation method for the processing of the spam based on script that the embodiment of the present invention 3 provides, Including step:
S301, anti-garbage mail system server read in the spam processing business for being used for realization anti-garbage mail system Script file.
Wherein, script file is that the function to be realized according to auxiliary activities of programmer is write.The script file Programming language is lua or perl, but does not limit both language.
S302, using script interpreter be compiled the script file, obtains the corresponding compilation of the script file Instruction.
Specifically, step S302 specifically includes step:Grammer inspection is carried out to the script file using script interpreter Look into, for detecting whether the script file has syntax error;If the script file does not have syntax error, using the foot This interpreter is compiled the script file, obtains the corresponding assembly instruction of the script file.Wherein, script interpreter It specifically can be built-in script interpreter.
S303, when the anti-garbage mail system server needs to call the script file, obtain script text Parameter needed for part is simultaneously converted to binary data blocks.
Specifically, step S303 includes:When the anti-garbage mail system server needs to call the script file, Obtain parameter needed for the script file and be binary data blocks according to the protocol conversion of script.
Wherein, parameter needed for the script file is how some finally handle mail useful information (including but not It is limited to the rule for whether having hit Administrator, mail is whether in the white list of user, and whether mail is in the address of user In this, judgement of the anti-spam system algorithm to mail was as a result, whether receiver with addresser once had communication relations, addresser In the amount of transmitting of the past period, domain name is transmitted in amount of transmitting of the past period etc.), these information can influence mail Finally how to handle, it is possible that needing frequent modification preferably to balance filtering spam and to avoid erroneous judgement normal Mail.
S304, that the corresponding binary data blocks of parameter needed for the script file are added into the script file is corresponding Assembly instruction, obtains executable object code, and the object code is locked.
Wherein, it is to avoid having reload instruction action during execution object code to be locked, and causes to conflict.Computer operation System can provide locking calling interface.After have invoked locking operation, obtaining the thread of lock can work normally.And if due to other Thread have been obtained for locking, it tries the thread of locking will block the sleep state into operating system, allow other thread First continue to execute, until lock is released.
S305, the anti-garbage mail system server perform the object code after locking, and obtain two returned after performing Binary data block, and the object code of the locking is unlocked.
S306, the anti-garbage mail system server read in the binary data blocks of the return, and therefrom parse The mail that the object code obtains after performing judges result and corresponding operation.
S307, the anti-garbage mail system judged according to the mail as a result, to be determined as the mail of spam by Handled according to the corresponding operation.
Wherein, mail judge result be specifically return be mail whether spam, it is corresponding operation be to mail such as Where reason operating result (include but not limited to bounce, abandon, be saved in Junk E-Mail folder, be saved in promotional literature folder, Specified mailbox is forwarded to, specified mailbox is forwarded to and abandons former mail).
Fig. 4 is the flow diagram of the implementation method for the processing of the spam based on script that the embodiment of the present invention 4 provides, Including step:
S401, anti-garbage mail system server read in the spam processing business for being used for realization anti-garbage mail system Script file.
Wherein, script file is that the function to be realized according to auxiliary activities of programmer is write.The script file Programming language is lua or perl, but does not limit both language.
S402, using script interpreter be compiled the script file, obtains the corresponding compilation of the script file Instruct
Specifically, step S402 specifically includes step:Syntax check is carried out to the script file using script interpreter, For detecting whether the script file has syntax error;If the script file does not have syntax error, using the script Interpreter is compiled the script file, obtains the corresponding assembly instruction of the script file.Wherein, script interpretation utensil It can be built-in script interpreter that body, which is,.
S403, when the anti-garbage mail system server needs to call the script file, obtain script text Parameter needed for part is simultaneously converted to binary data blocks.
Specifically, step S403 includes:When the anti-garbage mail system server needs to call the script file, Obtain parameter needed for the script file and be binary data blocks according to the protocol conversion of script.
Wherein, parameter needed for the script file is how some finally handle mail useful information (including but not It is limited to the rule for whether having hit Administrator, mail is whether in the white list of user, and whether mail is in the address of user In this, judgement of the anti-spam system algorithm to mail was as a result, whether receiver with addresser once had communication relations, addresser In the amount of transmitting of the past period, domain name is transmitted in amount of transmitting of the past period etc.), these information can influence mail Finally how to handle, it is possible that needing frequent modification preferably to balance filtering spam and to avoid erroneous judgement normal Mail.
S404, be added into the script file by the corresponding binary data blocks of parameter needed for the script file and correspond to Assembly instruction, obtain executable object code, and the object code is locked.
Wherein, it is to avoid having reload instruction action during execution object code to be locked, and causes to conflict.Computer operation System can provide locking calling interface.After have invoked locking operation, obtaining the thread of lock can work normally.And if due to other Thread have been obtained for locking, it tries the thread of locking will block the sleep state into operating system, allow other thread First continue to execute, until lock is released.
S405, the anti-garbage mail system server perform the object code after locking, and obtain two returned after performing Binary data block, and the object code of the locking is unlocked.
S406, the anti-garbage mail system server read in the binary data blocks of the return, and therefrom parse The mail that the object code obtains after performing judges result and corresponding operation.
S407, the anti-garbage mail system judged according to the mail as a result, to be determined as the mail of spam by Handled according to the corresponding operation.
Wherein, mail judge result be specifically return be mail whether spam, it is corresponding operation be to mail such as Where reason operating result (include but not limited to bounce, abandon, be saved in Junk E-Mail folder, be saved in promotional literature folder, Specified mailbox is forwarded to, specified mailbox is forwarded to and abandons former mail).
S408, when script file updates and forms new script file, the anti-garbage mail system server is directly read Enter the new script file.
S409, the anti-garbage mail system server are compiled the new script file using script interpreter, Obtain the corresponding object code of the new script file.
S410, lock the corresponding object code of the new script file, and former object code is updated to the new foot The corresponding object code of this document, afterwards unlocks the corresponding object code of the new script file.
S411, when the anti-garbage mail system need carry out spam processing when, perform the new script file pair The object code answered.
Implement the present invention, have the advantages that:
1st, the auxiliary activities (such as spam processing) of software systems is realized using script, can be during program be run Make dynamic as the case may be to adjust.Auxiliary activities is not cured and is realized in a program, but outer hang in script realizes have High availability, reduces service downtime.
2 while support a variety of widely used scripts, and by server calls script and obtain script return Manage result.
3rd, during program is run, script can be changed, as long as heavily loaded script after modification, you can new logic is applied, and Service need not be restarted.
It should be noted that herein, term " comprising ", "comprising" or its any other variant are intended to non-row His property includes, so that process, method, article or device including a series of elements not only include those key elements, and And other elements that are not explicitly listed are further included, or further include as this process, method, article or device institute inherently Key element.In the absence of more restrictions, the key element limited by sentence "including a ...", it is not excluded that including this Also there are other identical element in the process of key element, method, article or device.
The embodiments of the present invention are for illustration only, do not represent the quality of embodiment.
Professional further appreciates that, with reference to each exemplary unit of the embodiments described herein description And algorithm steps, can be realized with electronic hardware, computer software or the combination of the two, in order to clearly demonstrate hardware and The interchangeability of software, generally describes each exemplary composition and step according to function in the above description.These Function is performed with hardware or software mode actually, application-specific and design constraint depending on technical solution.Specialty Technical staff can realize described function to each specific application using distinct methods, but this realization should not Think beyond the scope of this invention.
Can directly it be held with reference to the step of method or algorithm that the embodiments described herein describes with hardware, processor Capable software module, or the two combination are implemented.Software module can be placed in random access memory (RAM), memory, read-only deposit Reservoir (ROM), electrically programmable ROM, electrically erasable ROM, register, hard disk, moveable magnetic disc, CD-ROM or technology In any other form of storage medium well known in field.
The foregoing description of the disclosed embodiments, enables professional and technical personnel in the field to realize or use the present invention. A variety of modifications to these embodiments will be apparent for those skilled in the art, as defined herein General Principle can be realized in other embodiments without departing from the spirit or scope of the present invention.Therefore, it is of the invention The embodiments shown herein is not intended to be limited to, and is to fit to and the principles and novel features disclosed herein phase Consistent most wide scope.

Claims (8)

1. a kind of auxiliary activities implementation method based on script, it is characterised in that including step:
Server reads in the script file for the auxiliary activities for being used for realization software systems, wherein, the auxiliary activities is used to aid in The software systems carry out data processing;
The script file is compiled using script interpreter, obtains the corresponding assembly instruction of the script file;
When the server needs to call the script file, obtain parameter needed for the script file and be converted to binary system Data block;
The corresponding binary data blocks of parameter needed for the script file are added into the corresponding assembly instruction of the script file, Executable object code is obtained, and the object code is locked;
The server performs the object code after locking, and obtains the binary data blocks returned after performing, and to the locking Object code unlock;
The server reads in the binary data blocks of the return, and therefrom parses the knot after the object code performs Fruit;
The software systems are handled according to the result after the execution, so as to fulfill auxiliary activities;
When script file updates and forms new script file, the server directly reads in the new script file;
The server is compiled the new script file using script interpreter, and it is corresponding to obtain the new script file Object code;
The corresponding object code of the new script file is locked, and former object code is updated to the new script file and is corresponded to Object code, the corresponding object code of the new script file is unlocked afterwards;
When the software systems need to realize auxiliary activities, the corresponding object code of the new script file is performed.
2. the auxiliary activities implementation method based on script as claimed in claim 1, it is characterised in that described to use script interpretation Device is compiled the script file, obtains the corresponding assembly instruction of the script file, including step:
Syntax check is carried out to the script file using script interpreter, for detecting whether the script file has grammer mistake By mistake;
If the script file does not have syntax error, the script file is compiled using the script interpreter, is obtained To the corresponding assembly instruction of the script file.
3. the auxiliary activities implementation method based on script as claimed in claim 1, it is characterised in that described to work as the server When needing to call the script file, obtain parameter needed for the script file and be converted to binary data blocks, including step:
When the server needs to call the script file, parameter needed for the script file is obtained and according to script Protocol conversion be binary data blocks.
4. the auxiliary activities implementation method based on script as claimed in claim 1, it is characterised in that the volume of the script file Cheng Yuyan is lua or perl.
5. a kind of implementation method of the spam processing based on script, it is characterised in that including step:
Anti-garbage mail system server reads in the script text for the spam processing business for being used for realization anti-garbage mail system Part;
The script file is compiled using script interpreter, obtains the corresponding assembly instruction of the script file;
When the anti-garbage mail system server needs to call the script file, parameter needed for the script file is obtained And be converted to binary data blocks;
The corresponding binary data blocks of parameter needed for the script file are added into the corresponding assembly instruction of the script file, Executable object code is obtained, and the object code is locked;
The anti-garbage mail system server performs the object code after locking, and obtains the binary data returned after performing Block, and the object code of the locking is unlocked;
The anti-garbage mail system server reads in the binary data blocks of the return, and therefrom parses the target generation The mail that code obtains after performing judges result and corresponding operation;
The anti-garbage mail system is judged according to the mail as a result, to being determined as the mail of spam according to the correspondence Operation handled;
When script file updates and forms new script file, the anti-garbage mail system server directly reads in the new foot This document;
The anti-garbage mail system server is compiled the new script file using script interpreter, obtains described new The corresponding object code of script file;
The corresponding object code of the new script file is locked, and former object code is updated to the new script file and is corresponded to Object code, the corresponding object code of the new script file is unlocked afterwards;
When the anti-garbage mail system needs to carry out spam processing, the new script file corresponding target generation is performed Code.
6. the implementation method of the spam processing based on script as claimed in claim 5, it is characterised in that described to use foot This interpreter is compiled the script file, obtains the corresponding assembly instruction of the script file, including step:
Syntax check is carried out to the script file using script interpreter, for detecting whether the script file has grammer mistake By mistake;
If the script file does not have syntax error, the script file is compiled using the script interpreter, is obtained To the corresponding assembly instruction of the script file.
7. the implementation method of the spam processing based on script as claimed in claim 5, it is characterised in that described when described When anti-garbage mail system server needs to call the script file, obtain parameter needed for the script file and be converted to two Binary data block, including step:
When the anti-garbage mail system server needs to call the script file, parameter needed for the script file is obtained And according to the protocol conversion of script it is binary data blocks.
8. the implementation method of the spam processing based on script as claimed in claim 5, it is characterised in that the script text The programming language of part is lua or perl.
CN201410696651.9A 2014-11-26 2014-11-26 Auxiliary activities implementation method based on script Active CN104461522B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410696651.9A CN104461522B (en) 2014-11-26 2014-11-26 Auxiliary activities implementation method based on script

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410696651.9A CN104461522B (en) 2014-11-26 2014-11-26 Auxiliary activities implementation method based on script

Publications (2)

Publication Number Publication Date
CN104461522A CN104461522A (en) 2015-03-25
CN104461522B true CN104461522B (en) 2018-05-01

Family

ID=52907633

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410696651.9A Active CN104461522B (en) 2014-11-26 2014-11-26 Auxiliary activities implementation method based on script

Country Status (1)

Country Link
CN (1) CN104461522B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018161283A1 (en) * 2017-03-08 2018-09-13 华为技术有限公司 Packet processing method and apparatus
CN107846449B (en) * 2017-09-28 2019-01-29 武汉斗鱼网络科技有限公司 Method, apparatus, readable storage medium storing program for executing and the equipment of calling system tool
CN108427559B (en) * 2018-03-14 2022-10-11 新华三技术有限公司 Script file generation and calling method and device
CN113282374B (en) * 2021-06-25 2023-04-07 马上消费金融股份有限公司 Server control method, device and system
CN116795378B (en) * 2023-08-18 2023-11-21 宁波数益工联科技有限公司 Method and device for arranging and executing process based on code dynamic compiling

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102207879A (en) * 2011-06-14 2011-10-05 贵阳朗玛信息技术股份有限公司 Hot-updating method and hot-updating system of Lua script
CN102253946A (en) * 2010-05-20 2011-11-23 腾讯科技(北京)有限公司 Lua script interactive information-based method, Web engine and embedded terminal
CN102270124A (en) * 2010-06-02 2011-12-07 腾讯科技(北京)有限公司 Device for realizing embedded plug-in and embedded platform system
CN102437954A (en) * 2011-12-15 2012-05-02 广东佳和通信技术有限公司 Method and apparatus for users to define routing rule in unified communication system
CN103257919A (en) * 2012-02-21 2013-08-21 腾讯科技(深圳)有限公司 Inspection method and device for script programs
CN103902270A (en) * 2012-12-27 2014-07-02 纽海信息技术(上海)有限公司 Dynamic business building, managing and processing methods and dynamic business system

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8954926B2 (en) * 2012-03-05 2015-02-10 Microsoft Corporation Code coverage detection with scriptable language unmodified source

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102253946A (en) * 2010-05-20 2011-11-23 腾讯科技(北京)有限公司 Lua script interactive information-based method, Web engine and embedded terminal
CN102270124A (en) * 2010-06-02 2011-12-07 腾讯科技(北京)有限公司 Device for realizing embedded plug-in and embedded platform system
CN102207879A (en) * 2011-06-14 2011-10-05 贵阳朗玛信息技术股份有限公司 Hot-updating method and hot-updating system of Lua script
CN102437954A (en) * 2011-12-15 2012-05-02 广东佳和通信技术有限公司 Method and apparatus for users to define routing rule in unified communication system
CN103257919A (en) * 2012-02-21 2013-08-21 腾讯科技(深圳)有限公司 Inspection method and device for script programs
CN103902270A (en) * 2012-12-27 2014-07-02 纽海信息技术(上海)有限公司 Dynamic business building, managing and processing methods and dynamic business system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
Exchange Server 2007 管理研究;罗辉琼;《计算机工程与设计》;20100331;第1248页 *

Also Published As

Publication number Publication date
CN104461522A (en) 2015-03-25

Similar Documents

Publication Publication Date Title
CN104461522B (en) Auxiliary activities implementation method based on script
KR101280347B1 (en) Method and device for terminal device management based on right control
CN106325870B (en) Method and device for realizing dynamic form API (application program interface)
CN106203102B (en) A kind of checking and killing virus method and device of the whole network terminal
WO2007040324A1 (en) Device management method using nodes having additional attribute and device management client thereof
KR101855539B1 (en) Adaptively selecting electronic message scanning rules
US20090300049A1 (en) Verification of integrity of computing environments for safe computing
CN105159668B (en) Class load implementation method and device in PaaS system
CN109558145A (en) Installation package volume optimization method and device for android application
CN108156015A (en) The update method and device of data
CN102594611B (en) Trap session chain table updating method for webmaster agent
CN109561017A (en) A kind of counterfeit inspection processing method and processing device of mail
CN108563578A (en) SDK compatibility detection method, device, equipment and readable storage medium storing program for executing
JP4831152B2 (en) Destination information management system, communication terminal device, and destination information management program
CN113568876A (en) Method and device for automatically generating DBC file
EP2862317B1 (en) Managed object version identification
CN107786413A (en) A kind of method and user terminal for browsing Email
CN105991395A (en) Attachment replacing method and attachment replacing device
Laibinis et al. A formal approach to identifying security vulnerabilities in telecommunication networks
CN110659065A (en) Data processing method and device, electronic equipment and storage medium
Hafiz Security patterns and evolution of MTA architecture
CN108681594A (en) Document handling method and relevant apparatus
JP2011039815A (en) Information processor and program
CN112596993A (en) Log layering method, system, readable storage medium and computer equipment
CN113342372A (en) Data processing method and device for customized resources

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
CB03 Change of inventor or designer information

Inventor after: Chen Leihua

Inventor after: Pan Qingfeng

Inventor before: Pan Qingfeng

CB03 Change of inventor or designer information
TA01 Transfer of patent application right

Effective date of registration: 20180111

Address after: 510000 Guangdong city of Guangzhou province Panyu District Xiaoguwei Street Mingzhi University City Street No. 1 Building 5 building 503 room information hub

Applicant after: Critics of science and Technology (Guangzhou) Co. Ltd.

Address before: 100088 room 4, room 516-517, Jin Ao International Building, No. 17 Madian East Road, Haidian District, Beijing

Applicant before: MaiMailtech (Beijing) Co., Ltd.

TA01 Transfer of patent application right
GR01 Patent grant
GR01 Patent grant