CN108205493A - A kind of code detection method, terminal, server and system - Google Patents
A kind of code detection method, terminal, server and system Download PDFInfo
- Publication number
- CN108205493A CN108205493A CN201611186894.3A CN201611186894A CN108205493A CN 108205493 A CN108205493 A CN 108205493A CN 201611186894 A CN201611186894 A CN 201611186894A CN 108205493 A CN108205493 A CN 108205493A
- Authority
- CN
- China
- Prior art keywords
- code
- detected
- result
- rule
- detection
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/36—Preventing errors by testing or debugging software
- G06F11/3668—Software testing
- G06F11/3672—Test management
- G06F11/3688—Test management for test execution, e.g. scheduling of test suites
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/36—Preventing errors by testing or debugging software
- G06F11/3604—Software analysis for verifying properties of programs
- G06F11/3616—Software analysis for verifying properties of programs using software metrics
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Software Systems (AREA)
- Computer Hardware Design (AREA)
- Quality & Reliability (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Stored Programmes (AREA)
- Debugging And Monitoring (AREA)
Abstract
A kind of code detection method, terminal, server and system are disclosed in the embodiment of the present invention, the code to be detected uploaded by obtaining terminal;Obtain custom code detected rule corresponding with terminal;The source code detected rule in code detection rule base is updated according to custom code detected rule;Code scans are carried out to code to be detected using updated code detection rule, obtain code scans result;Code detection result is determined according to code scans result.The embodiment of the present invention is to utilize custom code detected rule corresponding with terminal, after being updated to code detection rule base, obtained updated code detection rule, code to be detected is detected, updated code detection rule should with terminal-pair, meet the written in code custom of end side user, the code detection rule for solving the problems, such as to use during existing code detection is not adapted to the practical code write of user, improves the accuracy of code detection result.
Description
Technical field
The present invention relates to technical field of data processing, and in particular to a kind of code detection method, terminal, server and is
System.
Background technology
Code detection technology is by being scanned, detecting wrong and scarce present in code to the code in program
It falls into, common mistake and defect be for example in code:Parameter mismatch, the recurrence of ambiguous nested statement, mistake, illegal meter
Calculation, null pointer dereference etc..These mistakes and defect present in code are detected, and then instruct user by code detection technology
Code is improved, so as to improve code quality, shortens software development time.
However, the code regulation that code detection technology of the prior art is all based on having determined examines code
It surveys, and since the type of code is various, each user, which writes the custom of code and writes language, very big difference, using determining
Code detection rule code is detected, just will appear the code detection rule used during code detection and user be real
The problem of code that border is write is not adapted to causes code detection result inaccurate.
Invention content
In view of this, the embodiment of the present invention provides a kind of code detection method, terminal, server and system, solves existing
There is the code detection technology in technology not to be adapted to the practical code write of user, caused code detection result is inaccurate to ask
Topic.
To achieve the above object, the embodiment of the present invention provides following technical solution:
A kind of code detection method, including:
Obtain the code to be detected that terminal uploads;
Obtain custom code detected rule corresponding with the terminal;
According to the custom code detected rule, the source code detected rule in code detection rule base is carried out more
Newly;
Using updated code detection rule, code scans are carried out to the code to be detected, obtain code scans knot
Fruit;
Code detection result is determined according to the code scans result.
A kind of code detection method, including:
Code to be detected is sent to server;
The written in code process of user is monitored, the history codes obtained in personal code work compiling procedure write rule
Then;
Custom code detected rule is generated, and be sent to server according to the history codes redaction rule;
It obtains server and the code detection of code detection return later is carried out to the code to be detected as a result, the code
Testing result for the server according to the custom code detected rule, to the original generation stored in code detection rule base
Code detected rule is updated;Using updated code detection rule, code scans are carried out to the code to be detected, are obtained
Code scans are as a result, determine according to the code scans result.
A kind of code detecting apparatus, including:
Code obtaining module to be detected, for obtaining the code to be detected of terminal upload;
Custom code detected rule acquisition module, for obtaining custom code detection rule corresponding with the terminal
Then;
Code detection Policy Updates module, for according to the custom code detected rule, to code detection rule base
In source code detected rule be updated;
First code scan module, for using updated code detection rule, generation to be carried out to the code to be detected
Code scanning, obtains code scans result;
Code detection result determining module, for determining code detection result according to the code scans result.
A kind of code detecting apparatus, including:
Code sending module to be detected, for code to be detected to be sent to server;
History codes redaction rule acquisition module is monitored for the written in code process to user, obtains user's generation
History codes redaction rule in code compiling procedure;
Custom code detected rule generation module, for generating custom code according to the history codes redaction rule
Detected rule;
Custom code detected rule sending module, for the custom code detected rule to be sent to server;
Code detection result acquisition module to the code to be detected return after code detection for obtaining server
Return code detection as a result, the code detection result for the server according to the custom code detected rule, to generation
The source code detected rule stored in code detected rule library is updated;Using updated code detection rule, to described
Code to be detected carries out code scans, obtains code scans as a result, being determined according to the code scans result.
A kind of server, including:Code detecting apparatus as described above.
A kind of terminal, including:Code detecting apparatus as described above.
A kind of code detection system, including:Terminal and server,
Terminal is used to code to be detected being sent to server;The written in code process of user is monitored, obtains and uses
History codes redaction rule during the written in code of family;According to history codes redaction rule generation custom code detection
Rule, and it is sent to server;Obtain the code detection that server to the code to be detected return after code detection
As a result;
Server is used to obtain the code to be detected of terminal upload;Obtain custom code detection corresponding with the terminal
Rule;According to the custom code detected rule, the source code detected rule in code detection rule base is updated;
Using updated code detection rule, code scans are carried out to the code to be detected, obtain code scans result;According to institute
It states code scans result and determines code detection result.
Based on above-mentioned technical proposal, a kind of code detection method, terminal, server are disclosed in the embodiment of the present invention and is
System, the code to be detected uploaded by obtaining terminal;Obtain custom code detected rule corresponding with the terminal;According to institute
Custom code detected rule is stated, the source code detected rule in code detection rule base is updated;After update
Code detection rule, code scans are carried out to the code to be detected, obtain code scans result;According to the code scans
As a result code detection result is determined.It is using custom code detected rule corresponding with terminal, to generation in the embodiment of the present invention
After source code detected rule in code detected rule library is updated, obtained updated code detection is regular, to be checked
It surveys code to be detected, updated code detection rule is answered with terminal-pair, meets the written in code custom of end side user, solution
The problem of code detection rule used during existing code detection of having determined is not adapted to the practical code write of user is improved
The accuracy of code detection result.
Description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, to embodiment or will show below
There is attached drawing needed in technology description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this
The embodiment of invention, for those of ordinary skill in the art, without creative efforts, can also basis
The attached drawing of offer obtains other attached drawings.
Fig. 1 is a kind of structure diagram of code detection system provided in an embodiment of the present invention;
Fig. 2 is a kind of signaling process figure of code detection method provided in an embodiment of the present invention;
Fig. 3 is a kind of code detection method flow chart provided in an embodiment of the present invention;
Fig. 4 is another code detection method flow chart provided in an embodiment of the present invention;
Fig. 5 is another code detection method flow chart provided in an embodiment of the present invention;
Fig. 6 is monitored for the written in code process provided in an embodiment of the present invention to user, is obtained personal code work and is write
History codes redaction rule method flow diagram in the process;
Fig. 7 is monitored the written in code process of user for another kind provided in an embodiment of the present invention, obtains user's generation
The flow chart of history codes redaction rule method in code compiling procedure;
Fig. 8 is the structure diagram of code detecting apparatus provided in an embodiment of the present invention;
Fig. 9 is the hardware block diagram of code detecting apparatus provided in an embodiment of the present invention;
Figure 10 is the structure diagram of another code detecting apparatus provided in an embodiment of the present invention;
Figure 11 is the hardware block diagram of another code detecting apparatus provided in an embodiment of the present invention.
Specific 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 are obtained every other without making creative work
Embodiment shall fall within the protection scope of the present invention.
Code detection technology is mainly based upon the skills such as morphological analysis, syntactic analysis, control flow analysis or data-flow analysis
Art by being scanned to the code that user writes, finds out the mistake and defect hidden in code, and then instruct user to code
It is improved, so as to improve code quality, shortens software development time.But in the prior art, using determining code regulation
Code is detected, just will appear the problem of code detection technology is not adapted to the practical code write of user, lead to code
Testing result is inaccurate.
Structure diagrams of the Fig. 1 for code detection system provided in an embodiment of the present invention, generation provided in an embodiment of the present invention
Code detection method can be implemented by the code detection system;With reference to Fig. 1, which can include:Terminal 10 and service
Device 20.
Wherein, terminal 10 is specifically as follows the terminal devices such as PC machine, mobile phone or tablet computer, is equipped with Code Edit thereon
Software.
Concretely cluster server, the server have the function of communicating by network with terminal to server 20.
Based on code detection system shown in FIG. 1, Fig. 2 shows the letters of code detection method provided in an embodiment of the present invention
Flow chart is enabled, with reference to Fig. 2, which can include:
Step S10, code to be detected is sent to server by terminal;
Step S11, the written in code process of terminal-pair user is monitored, and obtains the history in personal code work compiling procedure
Written in code rule;
Step S12, terminal is according to history codes redaction rule generation custom code detected rule;
Step S13, custom code detected rule is sent to server by terminal;
Step S14, server is according to the custom code detected rule, to the source code in code detection rule base
Detected rule is updated;
Step S15, the updated code detection rule of server by utilizing carries out code scans to the code to be detected,
Obtain code scans result;
Step S16, server determines code detection result according to the code scans result;
Step S17, code detection result is sent to terminal by server;
Step S18, terminal display code detection result.
Due to being using custom code detected rule corresponding with terminal, to code detection rule in the embodiment of the present invention
After source code detected rule in library is updated, obtained updated code detection is regular, and code to be detected is carried out
Detection, updated code detection rule are answered with terminal-pair, meet the written in code custom of end side user, solve existing generation
The problem of code detection rule used in code detection process is not adapted to the practical code write of user, improves code detection knot
The accuracy of fruit.
The embodiment of the present invention provides a kind of code detection method, terminal, server and system, solves of the prior art
The problem of code detection technology is not adapted to the practical code write of user, and caused code detection result is inaccurate.
Fig. 3 is a kind of code detection method flow chart provided in an embodiment of the present invention, and this method can be applied to server, is taken
Device of being engaged in can be cluster server, be erected at network side, with reference to Fig. 3, the method may include:
Step S100, the code to be detected that terminal uploads is obtained;
User can be uploaded onto the server code to be detected by corresponding operation interface in terminal.
Step S110, custom code detected rule corresponding with the terminal is obtained;
Specifically, the custom code detected rule of terminal upload can be obtained, the custom code detected rule is
Terminal is monitored by the written in code process to user, and the history codes in the personal code work compiling procedure of acquisition write rule
Then, which meets the written in code custom of user.
Step S120, according to the custom code detected rule, the source code in code detection rule base is detected
Rule is updated;
Optionally, it is right according to the difference with source code detected rule present in custom code detected rule
Source code detected rule is modified, specifically, can increase or delete corresponding code detection rule.Source code is examined
Gauge then can detect regular expression with code error and represent.
Step S130, using updated code detection rule, code scans is carried out to the code to be detected, obtain generation
Code scanning result;
Optionally, detected rule matching condition, the detection can be obtained from the updated code detection rule
Rule match conditions are corresponding at least two detected rules to match each other;According to the detected rule matching condition, to described
Code to be detected carries out code scans, judges in the code to be detected with the presence or absence of the generation for meeting the detected rule to match each other
Code obtains judging result;According to judging result, code scans result is obtained.For example, testing result matching condition can be:if
(existence condition) judges whether to meet the form accordingly constrained.It refers specifically to, if there are an items in code to be detected
Part judges to constrain with the presence or absence of corresponding with condition in code to be detected.
Step S140, code detection result is determined according to code scans result.
It is using custom code detected rule corresponding with terminal, in code detection rule base in the embodiment of the present invention
Source code detected rule be updated after, obtained updated code detection rule is detected code to be detected,
Updated code detection rule is answered with terminal-pair, meets the written in code custom of end side user, solves existing code inspection
The problem of code detection rule used in the process is not adapted to the practical code write of user is surveyed, improves code detection result
Accuracy.
Optionally, different detection methods can be taken in the process being detected to code, it can be by to be detected
The mode that code is detected one by one, after can also being divided to code to be detected according to statement block, as unit of statement block into
Row detection, based on this, Fig. 4 shows another code detection method flow chart provided in an embodiment of the present invention, and this method can
To include:
Step S200, the code to be detected that terminal uploads is obtained;
Step S210, custom code detected rule corresponding with the terminal is obtained;
Step S220, according to the custom code detected rule, the source code in code detection rule base is detected
Rule is updated;
Step S230, code statement block identification is obtained from the updated code detection rule;
It should be noted that code statement block identification is used to characterize the sentence block type in code, for defining statement block
The range being related to, such as:switch>>>Case statement block, Key>>>Value statement blocks, if>>>Else statement blocks, else>>>
If statement blocks, " { } " statement block, key>>>Value statement blocks, key>>>Type statement blocks etc., the embodiment of the present invention are not done specifically
It limits.
Step S240, code scans are carried out according to the code statement block identification, to the code to be detected, described in judgement
It whether there is in code to be detected and the unmatched code statement block of the code statement block identification, the first judging result of acquisition;
It should be noted that during carrying out code scans to the code to be detected, generation to be detected can be first scanned
Whether there is " { } " sentence block identification in code, if so, scanning whether there is pairs of switch in " { } " again>>>case、Key
>>>Value、if>>>else、key>>>Value or key>>>The keywords such as type, if it is present determining according to scanning
The keyword type arrived, determines sentence block type.
Step S250, for the matched code statement block of code statement block identification in code to be detected, utilization is updated
Code detection rule carries out code scans to every sentence therein, obtains the second judging result;
After statement block range is defined by keyword, updated code detection rule can be utilized, in statement block
The every sentence limited obtains the second judging result into the scanning of line character, symbol or grammer etc..
Such as can detect in personal code work whether no initializtion object, if there is the situation that variable crosses the border, if go out
Unmatched situation of existing character types etc., if programming language mistake etc. occur.
Step S260, according to the first judging result and the second judging result, code scans result is obtained;
Step S270, code detection result is determined according to code scans result;
Optionally, it can be prompted in the embodiment of the present invention according to code scans result generation error, it can also be according to code
Scanning result generation error code.Miscue can only show in code to be detected exist mistake, there are several mistakes
Or the position of mistake occurs, error code can specifically note the code in the presence of mistake.
Specifically, in the embodiment of the present invention can according in the code to be detected with the code statement block identification not
The code statement block matched generates the unmatched miscue of code statement block identification.Or;According in the code to be detected with
The unmatched code statement block of code statement block identification, obtain in the code to be detected with the code statement block identification
Unmatched error code.
Step S280, code detection result is sent to terminal.
In the following, with the application scenarios the above that the present invention will be described in detail disclosed in embodiment:
Firstth, the code to be detected that terminal uploads is obtained:
Secondth, custom code detected rule corresponding with the terminal is obtained, such as:
1st, user's no initializtion object.
class a;// prompting object no initializtion mistake.==>Selection is ignored
a.Test();
2nd, variable crosses the border.
int szTest[100];
For (int i=0;i<=100;i++)
Printf (" %d | %d ", i, szTest [i]);// prompting Array access violation==>Emphasis is prompted.
As above ignore object no initializtion mistake and emphasis prompting array is accessed as the corresponding custom code inspection of terminal
Gauge is then.
Third, according to the custom code detected rule, to the source code detected rule in code detection rule base
It is updated;
4th, code statement block identification is obtained from the updated code detection rule;
Such as:switch>>>Case statement block, Key>>>Value statement blocks, if>>>Else statement blocks, else>>>if
Statement block, " { } " statement block, key>>>Type statement blocks etc..
5th, according to the code statement block identification, code scans is carried out to the code to be detected, are judged described to be checked
It surveys in code and whether there is and the unmatched code statement block of the code statement block identification, the first judging result of acquisition;
Can be to the mode that code to be detected is detected specifically:
Statement block is defined by sentence block identification
Specifically testing conditions can be:
1st, detection case and break whether there is 1 pair 1 of relationship;
2nd, detection %x and type whether there is 1 pair 1 of relationship;
3rd, for type:{key:Value }, whether detection sentence block identification " key " " value " matches;
4th, whether detection switch, case, break matches;
5th, for type:{multi_key:Value_pair }, it detects " more key " " left key " " right key "
Whether match;
6th, " if, else " is detected, " else if " " { " " } " whether match;
7th, for type:{key:Type }, whether detection " key " " type " matches.
6th, for the matched code statement block of code statement block identification in code to be detected, updated code is utilized
Detected rule carries out code scans to every sentence therein, obtains the second judging result;
Such as:Detect printf (" %s ", i);Judgement be its it is no meet printf rule;
Printf %x int | uint32_t | uint64_t | ...
Printf %c char | ...
Printf %s string | ...
7th, according to the first judging result and the second judging result, code scans result is obtained;According to code scans knot
Fruit determine code detection as a result, and be sent to terminal, such as:Printf is regular, " if, else " is unpaired etc. is not met.
Code detection method provided in an embodiment of the present invention is introduced with the angle of terminal below, generation described below
The code detection method that code detection method can be described with above-described signaling process content and server side corresponds ginseng
According to.
Fig. 5 is another flow chart of code detection method provided in an embodiment of the present invention, and this method can be applied to terminal, should
Method needs to realize code detection with the code detection method connected applications of server side described above.With reference to Fig. 5, the party
Method can include:
Step S300, code to be detected is sent to server;
Step S310, the written in code process of user is monitored, obtains the history generation in personal code work compiling procedure
Code redaction rule;
Specifically, can be monitored to the written in code process of user, the history in personal code work compiling procedure is obtained
The history codes that written in code language or error rate are more than preset value write mistake.
For example, the common language in personal code work compiling procedure can be obtained, such as:JAVA language, C Plus Plus,
Pascal language, AAuto language etc., the embodiment of the present invention are simultaneously not specifically limited.
Mistake, user that user most often makes, which can also be obtained, least needs the rule prompted, user to directly select what is ignored
Whether rule ignores custom rule library, whether shields a certain rule-like or whether shields certain several language etc..
Step S320, custom code detected rule is generated according to the history codes redaction rule, and is sent to service
Device;
Specifically, different promptings can be generated according to the priority of different types of code in history codes redaction rule
The custom code detected rule of sequence.
Step S330, the code detection knot that server to the code to be detected return after code detection is obtained
Fruit;
It should be noted that the code detection result is the server according to the custom code detected rule,
The source code detected rule stored in code detection rule base is updated;It is right using updated code detection rule
The code to be detected carries out code scans, obtains code scans as a result, being determined according to the code scans result.
Step S340, according to the code detection result generation error code setting option and the error code setting option
Default setting;
Specifically, terminal can be shown in code detection result display interface specific error code setting option and
The default setting of error code setting option.
Step S350, the default setting of the error code setting option and the error code setting option is shown.
The error code setting option can be shown in a manner that button is set in code detection result display interface
And the default setting of the error code setting option, specifically, showing that acceptance error code is set by the opening state of button
The default setting of item, user can ignore error code setting option by clicking button selection, can also be set in error code
The corresponding position of item sets the buttons such as " receiving ", " ignoring " " emphasis prompting " respectively.
Optionally, in the embodiment of the present invention can also according to the code detection result generation error prompt setting option and
The default setting of the miscue setting option;Show the acquiescence of the miscue setting option and the miscue setting option
Setting.
Fig. 6 is monitored for the written in code process provided in an embodiment of the present invention to user, is obtained personal code work and is write
One flow chart of history codes redaction rule method in the process, this method can be applied to terminal, and with reference to Fig. 6, this method can be with
Including:
Step S400, the code generated in personal code work compiling procedure is progressively scanned, obtains code scans result;
Specifically, the character in the code that is generated in personal code work compiling procedure or symbol etc. can be swept line by line
It retouches, obtains the character or symbol used in personal code work compiling procedure.
Step S410, it is swept according to the code scans as a result, being inquired in written in code language database with the code
Retouch the written in code language of the code match in result;
It should be noted that is stored in written in code language database in the embodiment of the present invention is that different code is write
The corresponding code characteristic keyword of language, the code characteristic keyword can a kind of written in code language of unique mark, code
Feature critical word is specifically as follows character or symbol in code etc., and the embodiment of the present invention is not specifically limited.
Such as:C or the corresponding code characteristic keyword of C Plus Plus are:#include、#ifdef、#ifndef、#
define;The corresponding code characteristic keyword of java language is:Package, import etc..
By the way that the code obtained in code scans result is compared with the code characteristic keyword stored in database,
Obtain the written in code language with the code match in the code scans result.Such as:By what is obtained in code scans result
The code characteristic keyword stored in code and database:#include、#ifdef、#ifndef、#define、package、
Import etc. is compared, and judges with the written in code language of code match as C, C++ or java language.
Step S420, it will inquire and determined with the written in code language of code match in the code scans result
History codes for user write language.
Optionally, different type included in language can be write with counting user history codes in the embodiment of the present invention
The corresponding access times of written in code language;According to user to the corresponding access times of different types of written in code language,
Language is write to the history codes of user to be ranked up.
It specifically, can be according to user to the corresponding access times of different types of written in code language, according to priority
Sequence from high to low is write language to the history codes of user and is ranked up, so as to according to different types of written in code language
Priority sequence from high to low, generation meets the custom code detected rule that user often uses written in code language.
Fig. 7 is monitored the written in code process of user for another kind provided in an embodiment of the present invention, obtains user's generation
The flow chart of history codes redaction rule method in code compiling procedure, this method can be applied to terminal, with reference to Fig. 7, this method
It can include:
Step S500, during written in code, different types of code detection mistake of the user to system prompt is obtained
Selection result;
It should be noted that user can wrap the selection result of the different types of code detection mistake of system prompt
It includes:Confirmation result to code detection mistake ignores result etc. to code detection mistake.
Ignore result etc. to the confirmation result of code detection mistake or to code detection mistake according to user, can obtain
Attention degree of the user to different code detection mistake is obtained, so as to be directed to attention degree of the user to different code mistake,
Obtain the priority of different type code error.
Step S510, included in selection result of the counting user to the different types of code detection mistake of system prompt
Selection result type and selection number corresponding with corresponding selection result type;
Specifically can with counting user to the confirmation of code detection mistake as a result, and confirming the corresponding selection number of result;
With user's ignoring as a result, and ignoring the corresponding selection number of result to code detection mistake.
Step S520, according to the selection result type and selection number corresponding with corresponding selection result type, really
Determine the corresponding history codes of user and write mistake.
Such as the code detection type of error setting that the confirmation result number that user makes is more than preset times can be directed to
History codes for high priority write mistake;The code detection ignored result number and be more than preset times made for user
Mistake then writes mistake not as the history codes of user.
It, can be by during custom code detected rule is generated according to the history codes redaction rule of above-mentioned generation
The corresponding different priorities of different type in mistake are write according to the history codes of user, generate the self-defined generation of different prompting sequences
Code detected rule.
Code detecting apparatus provided in an embodiment of the present invention is introduced below, code detecting apparatus described below can
Reference is corresponded with code detection method above.
Fig. 8 is the structure diagram of code detecting apparatus provided in an embodiment of the present invention, which specifically can be with
For the server of application, with reference to Fig. 8, which can include:
Code obtaining module 100 to be detected, for obtaining the code to be detected of terminal upload;
Custom code detected rule acquisition module 110, for obtaining custom code detection corresponding with the terminal
Rule;
Code detection Policy Updates module 120, for according to the custom code detected rule, to code detection rule
Source code detected rule in library is updated;
First code scan module 130, for using updated code detection rule, being carried out to the code to be detected
Code scans obtain code scans result;
Code detection result determining module 140, for determining code detection result according to the code scans result.
A kind of alternative construction of the first code scan module includes:
Detected rule matching condition acquisition module, for obtaining detected rule from the updated code detection rule
Matching condition, the detected rule matching condition are corresponding at least two detected rules to match each other;
Judgment module, for according to the detected rule matching condition, carrying out code scans to the code to be detected, sentencing
With the presence or absence of the code for meeting the detected rule to match each other in the disconnected code to be detected, judging result is obtained;
First code scanning result acquisition module, for according to judging result, obtaining code scans result.
The first code scan module another kind alternative construction includes:
Code statement block identification acquisition module, for obtaining code statement block from the updated code detection rule
Mark;
Code statement block judgment module, for according to the code statement block identification, generation to be carried out to the code to be detected
Code scanning, judge in the code to be detected with the presence or absence of with the unmatched code statement block of the code statement block identification, obtain
Obtain the first judging result;
Second code scanning result acquisition module, for according to first judging result, obtaining code scans result.
A kind of alternative construction of the code detection result determining module includes:
Miscue generation module, for according to unmatched with the code statement block identification in the code to be detected
Code statement block generates the unmatched miscue of code statement block identification.
A kind of alternative construction of the code detection result determining module includes:
Error code acquisition module, for according to unmatched with the code statement block identification in the code to be detected
Code statement block, obtain in the code to be detected with the unmatched error code of code statement block identification.
It further includes:
Second code scan module, for for the matched code statement block of code statement block identification in code to be detected,
Using updated code detection rule, code scans are carried out to every sentence therein, obtain the second judging result.
It further includes:
Code detection result sending module, for the code detection result to be sent to terminal.
Optionally, code detecting apparatus can be server, and above-described module, unit can be set to code detection
Function module in device.Fig. 9 shows the hardware block diagram of code detecting apparatus, and with reference to Fig. 9, code detecting apparatus can be with
Including:Processor 1, communication interface 2, memory 3 and communication bus 4;Wherein processor 1, communication interface 2, memory 3 pass through logical
Letter bus 4 completes mutual communication;Optionally, communication interface 2 can be the interface of communication module, such as the interface of gsm module;
Processor 1, for performing program;Memory 3, for storing program;Program can include program code, the journey
Sequence code includes computer-managed instruction;
Processor 1 may be a central processor CPU or specific integrated circuit ASIC (Application
Specific Integrated Circuit) or be arranged to implement the embodiment of the present invention one or more integrate electricity
Road;Memory 3 may include high-speed RAM memory, it is also possible to further include nonvolatile memory (non-volatile
Memory), a for example, at least magnetic disk storage.
Wherein, program can be specifically used for:
Obtain the code to be detected that terminal uploads;
Obtain custom code detected rule corresponding with the terminal;
According to the custom code detected rule, the source code detected rule in code detection rule base is carried out more
Newly;
Using updated code detection rule, code scans are carried out to the code to be detected, obtain code scans knot
Fruit;
Code detection result is determined according to the code scans result.
Another code detecting apparatus provided in an embodiment of the present invention is introduced below, the code detecting apparatus is specific
Can be terminal, code detecting apparatus described below can be with signaling process content above and with terminal point description
Code detection method corresponds reference.
Figure 10 is a kind of another structure diagram of code detecting apparatus provided in an embodiment of the present invention, referring to Fig. 10, should
Code detecting apparatus can include:
Code sending module 200 to be detected, for code to be detected to be sent to server;
History codes redaction rule acquisition module 210 is monitored for the written in code process to user, obtains user
History codes redaction rule during written in code;
Custom code detected rule generation module 220, it is self-defined for being generated according to the history codes redaction rule
Code detection rule;
Custom code detected rule sending module 230, for the custom code detected rule to be sent to service
Device;
Code detection result acquisition module 240, carry out for obtaining server to the code to be detected code detection it
The code detection that returns afterwards as a result, the code detection result is the server according to the custom code detected rule,
The source code detected rule stored in code detection rule base is updated;It is right using updated code detection rule
The code to be detected carries out code scans, obtains code scans as a result, being determined according to the code scans result.
A kind of alternative construction of the history codes redaction rule acquisition module includes:
Third code scanning result acquisition module, for being swept line by line to the code generated in personal code work compiling procedure
It retouches, obtains code scans result;
Written in code language inquiry module, for according to the code scans as a result, in written in code language database
Inquiry and the written in code language of the code match in the code scans result;
History codes write language determining module, for that will inquire and the code phase in the code scans result
The history codes that the written in code language matched is determined as user write language.
Another alternative construction of the history codes redaction rule acquisition module includes:
Selection result acquisition module, for during written in code, obtaining user to the different types of of system prompt
The selection result of code detection mistake;
Statistical module, for counting user to institute in the selection result of the different types of code detection mistake of system prompt
Comprising selection result type and selection number corresponding with corresponding selection result type;
History codes write Error Determination module, for according to the selection result type and with corresponding selection result class
The corresponding selection number of type determines that the corresponding history codes of user write mistake.
It further includes:
Miscue setting option generation module, for according to the code detection result generation error prompt setting option and
The default setting of the miscue setting option;
Miscue setting option display module, for showing the miscue setting option and the miscue setting option
Default setting.
It further includes:
Error code setting option generation module, for according to the code detection result generation error code setting option and
The default setting of the error code setting option;
Error code setting option display module, for showing the error code setting option and the error code setting option
Default setting.
Optionally, above-mentioned code detecting apparatus can be terminal, and above-described module can be set to code detection dress
Put interior function module.Figure 11 shows the hardware block diagram of code detecting apparatus, and with reference to Figure 11, code detecting apparatus can be with
Including:Processor 1 ', communication interface 2 ', memory 3 ' and communication bus 4 ';Wherein processor 1 ', communication interface 2 ', memory
3 ' complete mutual communication by communication bus 4 ';Optionally, communication interface 2 ' can be the interface of communication module, such as GSM
The interface of module;
Processor 1 ', for performing program;Memory 3 ', for storing program;Program can include program code, described
Program code includes computer-managed instruction;
Processor 1 ' may be a central processor CPU or specific integrated circuit ASIC (Application
Specific Integrated Circuit) or be arranged to implement the embodiment of the present invention one or more integrate electricity
Road;Memory 3 ' may include high-speed RAM memory, it is also possible to further include nonvolatile memory (non-volatile
Memory), a for example, at least magnetic disk storage.
Wherein, program can be specifically used for:
Code to be detected is sent to server;
The written in code process of user is monitored, the history codes obtained in personal code work compiling procedure write rule
Then;
Custom code detected rule is generated, and be sent to server according to the history codes redaction rule;
It obtains server and the code detection of code detection return later is carried out to the code to be detected as a result, the code
Testing result for the server according to the custom code detected rule, to the original generation stored in code detection rule base
Code detected rule is updated;Using updated code detection rule, code scans are carried out to the code to be detected, are obtained
Code scans are as a result, determine according to the code scans result.
Code detection system provided by the invention is introduced below, the structure of the code detection system can be such as Fig. 1
It is shown, including terminal 10 and server 20.
Terminal 10 is used to code to be detected being sent to server 20;The written in code process of user is monitored, is obtained
Take the history codes redaction rule during the written in code of family;Custom code is generated according to the history codes redaction rule
Detected rule, and it is sent to server 20;It obtains server 20 and what code detection returned later is carried out to the code to be detected
Code detection result;
Server 20 is used to obtain the code to be detected of the upload of terminal 10;Obtain self-defined generation corresponding with the terminal 10
Code detected rule;According to the custom code detected rule, to the source code detected rule in code detection rule base into
Row update;Using updated code detection rule, code scans are carried out to the code to be detected, obtain code scans knot
Fruit;Code detection result is determined according to the code scans result.
Each embodiment is described by the way of progressive in this specification, the highlights of each of the examples are with other
The difference of embodiment, just to refer each other for identical similar portion between each embodiment.For device disclosed in embodiment
For, since it is corresponded to the methods disclosed in the examples, so description is fairly simple, related part is said referring to method part
It is bright.
Professional further appreciates that, with reference to each exemplary unit of the embodiments described herein description
And algorithm steps, can be realized with the combination of electronic hardware, computer software or 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 actually with hardware or software mode, specific application and design constraint depending on technical solution.Profession
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.
It can directly be held with reference to the step of method or algorithm that the embodiments described herein describes with hardware, processor
The combination of capable software module or the two is 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 of these embodiments will be apparent for those skilled in the art, it is 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 one
The most wide range caused.
Claims (19)
1. a kind of code detection method, which is characterized in that including:
Obtain the code to be detected that terminal uploads;
Obtain custom code detected rule corresponding with the terminal;
According to the custom code detected rule, the source code detected rule in code detection rule base is updated;
Using updated code detection rule, code scans are carried out to the code to be detected, obtain code scans result;
Code detection result is determined according to the code scans result.
2. according to the method described in claim 1, it is characterized in that, described utilize updated code detection rule, to described
Code to be detected carries out code scans, and the process for obtaining code scans result includes:
Detected rule matching condition is obtained from the updated code detection rule, the detected rule matching condition corresponds to
There are at least two detected rules to match each other;
According to the detected rule matching condition, code scans are carried out to the code to be detected, judge the code to be detected
In with the presence or absence of the code of the detected rule to match each other is met, obtain judging result;
According to judging result, code scans result is obtained.
3. according to the method described in claim 1, it is characterized in that, described utilize updated code detection rule, to described
Code to be detected carries out code scans, and the process for obtaining code scans result includes:
Code statement block identification is obtained from the updated code detection rule;
According to the code statement block identification, code scans are carried out to the code to be detected, are judged in the code to be detected
With the presence or absence of with the unmatched code statement block of the code statement block identification, obtain the first judging result;
According to first judging result, code scans result is obtained.
4. according to the method described in claim 3, it is characterized in that, described determine code detection according to the code scans result
As a result process includes:
According in the code to be detected with the unmatched code statement block of the code statement block identification, generate code statement block
Identify unmatched miscue;
Or;
According in the code to be detected with the unmatched code statement block of the code statement block identification, obtain it is described to be detected
In code with the unmatched error code of code statement block identification.
5. according to the method described in claim 3, it is characterized in that, according to the code statement block identification, to described to be checked
It surveys code and carries out code scans, judge to whether there is and the code statement block identification unmatched generation in the code to be detected
Code statement block obtains the first judging result and further includes later:
It is regular using updated code detection for the matched code statement block of code statement block identification in code to be detected,
Code scans are carried out to every sentence therein, obtain the second judging result.
6. according to the method described in claim 1, it is characterized in that, determining code detection knot according to the code scans result
After fruit, further include:
The code detection result is sent to terminal.
7. a kind of code detection method, which is characterized in that including:
Code to be detected is sent to server;
The written in code process of user is monitored, obtains the history codes redaction rule in personal code work compiling procedure;
Custom code detected rule is generated, and be sent to server according to the history codes redaction rule;
It obtains server and the code detection of code detection return later is carried out to the code to be detected as a result, the code detection
As a result it is the server according to the custom code detected rule, the source code stored in code detection rule base is examined
Gauge is then updated;Using updated code detection rule, code scans are carried out to the code to be detected, obtain code
Scanning result is determined according to the code scans result.
8. the method according to the description of claim 7 is characterized in that the written in code process to user is monitored, obtain
The process for taking the history codes redaction rule during the written in code of family includes:
The code generated in personal code work compiling procedure is progressively scanned, obtains code scans result;
According to the code scans as a result, being inquired in written in code language database and the code in the code scans result
The written in code language to match;
The history for being determined as user with the written in code language of code match in the code scans result will be inquired
Written in code language.
9. the method according to the description of claim 7 is characterized in that the written in code process to user is monitored, obtain
The process for taking the history codes redaction rule during the written in code of family includes:
During written in code, selection result of the user to the different types of code detection mistake of system prompt is obtained;
Counting user is to selection result class included in the selection result of the different types of code detection mistake of system prompt
Type and selection number corresponding with corresponding selection result type;
According to the selection result type and selection number corresponding with corresponding selection result type, determine that user is corresponding and go through
History written in code mistake.
10. according to the method described in claim 8, it is characterized in that, obtaining server is carried out to the code to be detected generation
After the code detection result that code detection returns later, further include:
The default setting of setting option and the miscue setting option is prompted according to the code detection result generation error;
Show the default setting of the miscue setting option and the miscue setting option;
Or;
According to the code detection result generation error code setting option and the default setting of the error code setting option;
Show the default setting of the error code setting option and the error code setting option.
11. a kind of code detecting apparatus, which is characterized in that including:
Code obtaining module to be detected, for obtaining the code to be detected of terminal upload;
Custom code detected rule acquisition module, for obtaining custom code detected rule corresponding with the terminal;
Code detection Policy Updates module, for according to the custom code detected rule, in code detection rule base
Source code detected rule is updated;
First code scan module, for using updated code detection rule, being swept to the code to be detected into line code
It retouches, obtains code scans result;
Code detection result determining module, for determining code detection result according to the code scans result.
12. according to the devices described in claim 11, which is characterized in that the first code scan module includes:
Detected rule matching condition acquisition module, for obtaining detected rule matching from the updated code detection rule
Condition, the detected rule matching condition are corresponding at least two detected rules to match each other;
Judgment module, for according to the detected rule matching condition, carrying out code scans to the code to be detected, judging institute
It states in code to be detected with the presence or absence of the code for meeting the detected rule to match each other, obtains judging result;
First code scanning result acquisition module, for according to judging result, obtaining code scans result.
13. according to the devices described in claim 11, which is characterized in that the first code scan module includes:
Code statement block identification acquisition module, for obtaining code statement block mark from the updated code detection rule
Know;
Code statement block judgment module, for according to the code statement block identification, being swept to the code to be detected into line code
Retouch, judge to whether there is in the code to be detected with the unmatched code statement block of the code statement block identification, obtain the
One judging result;
Second code scanning result acquisition module, for according to first judging result, obtaining code scans result.
14. a kind of code detecting apparatus, which is characterized in that including:
Code sending module to be detected, for code to be detected to be sent to server;
History codes redaction rule acquisition module is monitored for the written in code process to user, obtains personal code work and compiles
History codes redaction rule during writing;
Custom code detected rule generation module, for according to history codes redaction rule generation custom code detection
Rule;
Custom code detected rule sending module, for the custom code detected rule to be sent to server;
Code detection result acquisition module carries out what code detection returned later for obtaining server to the code to be detected
Code detection is examined code as a result, the code detection result is the server according to the custom code detected rule
The source code detected rule stored in rule base is surveyed to be updated;Using updated code detection rule, to described to be checked
It surveys code and carries out code scans, obtain code scans as a result, determining according to the code scans result.
15. device according to claim 14, which is characterized in that the history codes redaction rule acquisition module includes:
Third code scanning result acquisition module, for being progressively scanned to the code generated in personal code work compiling procedure,
Obtain code scans result;
Written in code language inquiry module, for according to the code scans as a result, being inquired in written in code language database
With the written in code language of the code match in the code scans result;
History codes write language determining module, for that will inquire and code match in the code scans result
The history codes that written in code language is determined as user write language.
16. device according to claim 14, which is characterized in that the history codes redaction rule acquisition module includes:
Selection result acquisition module, for during written in code, obtaining different types of code of the user to system prompt
Detect the selection result of mistake;
Statistical module, included in selection result of the counting user to the different types of code detection mistake of system prompt
Selection result type and selection number corresponding with corresponding selection result type;
History codes write Error Determination module, for according to the selection result type and with corresponding selection result type pair
The selection number answered determines that the corresponding history codes of user write mistake.
17. a kind of server, which is characterized in that including:As above the generation described in claim 11 to claim 13 any one
Code detection device.
18. a kind of terminal, which is characterized in that including:As above the code described in claim 14 to claim 16 any one
Detection device.
19. a kind of code detection system, which is characterized in that including:Terminal and server,
Terminal is used to code to be detected being sent to server;The written in code process of user is monitored, obtains user's generation
History codes redaction rule in code compiling procedure;According to history codes redaction rule generation custom code detection rule
Then, and it is sent to server;Obtain the code detection knot that server to the code to be detected return after code detection
Fruit;
Server is used to obtain the code to be detected of terminal upload;Obtain custom code detection rule corresponding with the terminal
Then;According to the custom code detected rule, the source code detected rule in code detection rule base is updated;Profit
With updated code detection rule, code scans are carried out to the code to be detected, obtain code scans result;According to described in
Code scans result determines code detection result.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611186894.3A CN108205493B (en) | 2016-12-20 | 2016-12-20 | Code detection method, terminal, server and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611186894.3A CN108205493B (en) | 2016-12-20 | 2016-12-20 | Code detection method, terminal, server and system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108205493A true CN108205493A (en) | 2018-06-26 |
CN108205493B CN108205493B (en) | 2021-07-06 |
Family
ID=62604228
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201611186894.3A Active CN108205493B (en) | 2016-12-20 | 2016-12-20 | Code detection method, terminal, server and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108205493B (en) |
Cited By (15)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109117182A (en) * | 2018-08-29 | 2019-01-01 | 下代互联网重大应用技术(北京)工程研究中心有限公司 | Detection method, equipment, system and the medium of IPv6 degree are supported based on source code |
CN109359028A (en) * | 2018-08-22 | 2019-02-19 | 平安科技(深圳)有限公司 | Code quality monitoring method, device, computer equipment and storage medium |
CN109508204A (en) * | 2018-11-15 | 2019-03-22 | 四川长虹电器股份有限公司 | A kind of front-end code quality determining method and device |
CN109542769A (en) * | 2018-10-25 | 2019-03-29 | 武汉精立电子技术有限公司 | A kind of automated testing method of continuous integrating |
CN110109678A (en) * | 2019-05-08 | 2019-08-09 | 广东电网有限责任公司 | A kind of code audit rule library generating method, device, equipment and medium |
CN110287102A (en) * | 2019-05-22 | 2019-09-27 | 深圳壹账通智能科技有限公司 | Core data detection processing method, apparatus, computer equipment and storage medium |
CN110309050A (en) * | 2019-05-22 | 2019-10-08 | 深圳壹账通智能科技有限公司 | Detection method, device, server and the storage medium of code specification |
CN110874316A (en) * | 2018-08-31 | 2020-03-10 | 北京京东尚科信息技术有限公司 | Method, device and system for scanning codes |
CN112241254A (en) * | 2019-07-16 | 2021-01-19 | 北京车和家信息技术有限公司 | Code statistical method and device for Internet of vehicles multi-terminal system |
CN113176882A (en) * | 2021-04-29 | 2021-07-27 | 广州嘉为科技有限公司 | Method, system, equipment and medium for realizing rule checking code of application server |
CN113609004A (en) * | 2021-07-17 | 2021-11-05 | 深圳开源互联网安全技术有限公司 | Static code detection method and system |
CN113900694A (en) * | 2021-10-29 | 2022-01-07 | 中国工商银行股份有限公司 | Updating method and updating device for static code scanning rule |
CN115454406A (en) * | 2022-09-29 | 2022-12-09 | 北京思明启创科技有限公司 | Operation interface interaction method, device, equipment and storage medium |
CN115617352A (en) * | 2022-12-02 | 2023-01-17 | 中汽研软件测评(天津)有限公司 | C code detection method, equipment and storage medium based on safety coding standard |
CN115658542A (en) * | 2022-11-11 | 2023-01-31 | 南京掌御信息科技有限公司 | Code cipher algorithm type identification and parameter misuse detection method and system |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2008155779A2 (en) * | 2007-06-20 | 2008-12-24 | Sanjeev Krishnan | A method and apparatus for software simulation |
CN104881361A (en) * | 2015-06-15 | 2015-09-02 | 辽东学院 | Software development process monitoring and managing method and system |
CN103309804B (en) * | 2013-04-08 | 2015-12-02 | 中国电子科技集团公司第十研究所 | Robotization code regulation checks platform |
CN105320591A (en) * | 2014-07-25 | 2016-02-10 | 腾讯科技(深圳)有限公司 | Code detection method and device |
CN106201889A (en) * | 2016-07-15 | 2016-12-07 | 国云科技股份有限公司 | A kind of system and its implementation checking that program code writes specification |
-
2016
- 2016-12-20 CN CN201611186894.3A patent/CN108205493B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2008155779A2 (en) * | 2007-06-20 | 2008-12-24 | Sanjeev Krishnan | A method and apparatus for software simulation |
CN103309804B (en) * | 2013-04-08 | 2015-12-02 | 中国电子科技集团公司第十研究所 | Robotization code regulation checks platform |
CN105320591A (en) * | 2014-07-25 | 2016-02-10 | 腾讯科技(深圳)有限公司 | Code detection method and device |
CN104881361A (en) * | 2015-06-15 | 2015-09-02 | 辽东学院 | Software development process monitoring and managing method and system |
CN106201889A (en) * | 2016-07-15 | 2016-12-07 | 国云科技股份有限公司 | A kind of system and its implementation checking that program code writes specification |
Cited By (22)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109359028A (en) * | 2018-08-22 | 2019-02-19 | 平安科技(深圳)有限公司 | Code quality monitoring method, device, computer equipment and storage medium |
CN109359028B (en) * | 2018-08-22 | 2024-05-03 | 平安科技(深圳)有限公司 | Code quality monitoring method, device, computer equipment and storage medium |
CN109117182A (en) * | 2018-08-29 | 2019-01-01 | 下代互联网重大应用技术(北京)工程研究中心有限公司 | Detection method, equipment, system and the medium of IPv6 degree are supported based on source code |
CN110874316A (en) * | 2018-08-31 | 2020-03-10 | 北京京东尚科信息技术有限公司 | Method, device and system for scanning codes |
CN110874316B (en) * | 2018-08-31 | 2024-04-12 | 北京京东尚科信息技术有限公司 | Method, device and system for scanning codes |
CN109542769A (en) * | 2018-10-25 | 2019-03-29 | 武汉精立电子技术有限公司 | A kind of automated testing method of continuous integrating |
CN109508204B (en) * | 2018-11-15 | 2021-08-06 | 四川长虹电器股份有限公司 | Front-end code quality detection method and device |
CN109508204A (en) * | 2018-11-15 | 2019-03-22 | 四川长虹电器股份有限公司 | A kind of front-end code quality determining method and device |
CN110109678A (en) * | 2019-05-08 | 2019-08-09 | 广东电网有限责任公司 | A kind of code audit rule library generating method, device, equipment and medium |
CN110109678B (en) * | 2019-05-08 | 2023-07-04 | 广东电网有限责任公司 | Code audit rule base generation method, device, equipment and medium |
CN110287102A (en) * | 2019-05-22 | 2019-09-27 | 深圳壹账通智能科技有限公司 | Core data detection processing method, apparatus, computer equipment and storage medium |
CN110309050A (en) * | 2019-05-22 | 2019-10-08 | 深圳壹账通智能科技有限公司 | Detection method, device, server and the storage medium of code specification |
CN112241254B (en) * | 2019-07-16 | 2024-02-02 | 北京车和家信息技术有限公司 | Code statistics method and device for Internet of vehicles multi-terminal system |
CN112241254A (en) * | 2019-07-16 | 2021-01-19 | 北京车和家信息技术有限公司 | Code statistical method and device for Internet of vehicles multi-terminal system |
CN113176882A (en) * | 2021-04-29 | 2021-07-27 | 广州嘉为科技有限公司 | Method, system, equipment and medium for realizing rule checking code of application server |
CN113609004A (en) * | 2021-07-17 | 2021-11-05 | 深圳开源互联网安全技术有限公司 | Static code detection method and system |
CN113609004B (en) * | 2021-07-17 | 2023-11-03 | 深圳开源互联网安全技术有限公司 | Static code detection method and system |
CN113900694A (en) * | 2021-10-29 | 2022-01-07 | 中国工商银行股份有限公司 | Updating method and updating device for static code scanning rule |
CN115454406A (en) * | 2022-09-29 | 2022-12-09 | 北京思明启创科技有限公司 | Operation interface interaction method, device, equipment and storage medium |
CN115454406B (en) * | 2022-09-29 | 2023-09-19 | 北京思明启创科技有限公司 | Operation interface interaction method, device, equipment and storage medium |
CN115658542A (en) * | 2022-11-11 | 2023-01-31 | 南京掌御信息科技有限公司 | Code cipher algorithm type identification and parameter misuse detection method and system |
CN115617352A (en) * | 2022-12-02 | 2023-01-17 | 中汽研软件测评(天津)有限公司 | C code detection method, equipment and storage medium based on safety coding standard |
Also Published As
Publication number | Publication date |
---|---|
CN108205493B (en) | 2021-07-06 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108205493A (en) | A kind of code detection method, terminal, server and system | |
TWI423057B (en) | Layout versus schematic error system and method | |
CN105320591B (en) | Code detection method and device | |
CN107908566A (en) | Automatic test management method, device, terminal device and storage medium | |
CN107783898A (en) | The method of testing and test equipment of Mobile solution | |
CN107545181A (en) | Program operating method, terminal and computer-readable recording medium | |
CN106874253A (en) | Recognize the method and device of sensitive information | |
CN109345553A (en) | A kind of palm and its critical point detection method, apparatus and terminal device | |
CN109948122B (en) | Error correction method and device for input text and electronic equipment | |
CN107122295B (en) | Test case script generation method and device | |
CN108255706A (en) | Edit methods, device, terminal device and the storage medium of automatic test script | |
CN106371999B (en) | Program code test method and device | |
CN108053545A (en) | Certificate verification method and apparatus, server, storage medium | |
Walkinshaw et al. | Automated comparison of state-based software models in terms of their language and structure | |
CN106485261A (en) | A kind of method and apparatus of image recognition | |
CN107992523A (en) | The function choosing-item lookup method and terminal device of mobile application | |
CN109886127A (en) | Fingerprint identification method and terminal device | |
CN106603545A (en) | Verification method based on interaction operation, server, terminal equipment and system | |
CN112950218A (en) | Business risk assessment method and device, computer equipment and storage medium | |
CN109729069A (en) | Detection method, device and the electronic equipment of unusual IP addresses | |
CN109032850A (en) | Field device debugging system and field device adjustment method | |
CN113434542B (en) | Data relationship identification method and device, electronic equipment and storage medium | |
CN107679222A (en) | Image processing method, mobile terminal and computer-readable recording medium | |
CN108416300A (en) | Method and device for recognizing writing track and terminal equipment | |
CN105893614A (en) | Information recommendation method and device and electronic equipment |
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 |