CN106991023A - A kind of interface parameters method of calibration and component - Google Patents
A kind of interface parameters method of calibration and component Download PDFInfo
- Publication number
- CN106991023A CN106991023A CN201710171782.9A CN201710171782A CN106991023A CN 106991023 A CN106991023 A CN 106991023A CN 201710171782 A CN201710171782 A CN 201710171782A CN 106991023 A CN106991023 A CN 106991023A
- Authority
- CN
- China
- Prior art keywords
- rule
- verification
- parameter
- module
- attribute
- 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/22—Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
- G06F11/2205—Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing using arrangements specific to the hardware being tested
- G06F11/221—Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing using arrangements specific to the hardware being tested to test buses, lines or interfaces, e.g. stuck-at or open line faults
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/22—Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
- G06F11/2205—Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing using arrangements specific to the hardware being tested
- G06F11/2215—Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing using arrangements specific to the hardware being tested to test error correction or detection circuits
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04B—TRANSMISSION
- H04B17/00—Monitoring; Testing
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- Computer Hardware Design (AREA)
- Quality & Reliability (AREA)
- General Physics & Mathematics (AREA)
- Electromagnetism (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Stored Programmes (AREA)
Abstract
The invention provides a kind of interface parameters method of calibration, comprise the following steps:Client is carried out self-defined by the client to parameter, the note parsing module is parsed to parameter and analysis result data is sent into the verification rule generation module, the verification rule generation module generates the comparison rule of self-defined reference data type according to the analysis result data, the attribute one by one for explaining the comparison rule that correction verification module is generated according to the verification rule generation module, go in parameter object to find corresponding attribute, then the value of attribute is compared by customized comparison rule, if not finding corresponding attribute or corresponding property value being differed, it is then verification failure, otherwise verification passes through, the interface parameters method of calibration can be based on note, json, xml multiple formats carry out diversified realization to framework, preferably support the strong dependency of parameter, the parameter type of complexity can be supported.
Description
Technical field
The present invention relates to interface checking technical field, more particularly to a kind of interface parameters method of calibration and component.
Background technology
As long as it is well known that there is interface, just having parameter, but there has been the verification of parameter.For business interface,
Service code should be very clear, the only related logical thinking of business, come without that should have substantial amounts of if-if to parameter
Or the verification or some other processing of data in itself, readable, maintainability is obtained in order to strengthen code, interface parameters
Checking treatment is very important.
Current many popular Open Frameworks can all have the parameter verification mechanism of itself, such as struts2, spring mvc
Validator mechanism, hibernate-validator, commons-validator etc.;
For many scenes, the need for these third party's components can not meet us, such as dependence of parameter etc..It
All simply simple forms that checking parameter field is provided, and these checkers 2020 are all stateful, cause verification
Performance it is bad.For the operation processing of some big data quantities, just seem gruelling.High performance for internet platform chases after
Ask, inefficient interface is often to be applicable.
Therefore, those skilled in the art need badly work out one kind can based on note, json, xml multiple format to framework
Diversified realization is carried out, the strong dependency of parameter is preferably supported, it would be preferable to support complicated parameter type, unified interface exploitation mould
Formula standard, reputable code uniformity, the stability of strengthening system, ease for maintenance, robustness, enhancing code obtain it is readable, can tie up
Shield property, the interface parameters method of calibration and component that more accurately carry out checking treatment of interface parameters.
The content of the invention
The technical problem to be solved in the present invention is to provide a kind of interface parameters method of calibration and component, interface parameters verification
Method can carry out diversified realization to framework based on note, json, xml multiple format, preferably support the strong dependency of parameter,
Can support complexity parameter type, unified interface development mode standard, reputable code uniformity, the stability of strengthening system,
Ease for maintenance, robustness, enhancing code obtain readable, maintainability, the more accurately carry out checking treatment of interface parameters.
In order to solve the above technical problems, the invention provides there is provided a kind of interface parameters method of calibration there is provided client,
Checker and server, the checker include explaining parsing module, explain correction verification module and verification rule generation module, described
Interface parameters method of calibration comprises the following steps:One interface of the client request service end, client passes through the client
End is self-defined to parameter progress, and the note parsing module is parsed to parameter and analysis result data are sent into the school
Rule generation module is tested, the verification rule generation module generates self-defined reference data type according to the analysis result data
Comparison rule, the note correction verification module according to it is described verification rule generation module generate comparison rule category one by one
Property, go in parameter object to find corresponding attribute, then the value of attribute is compared by customized comparison rule
Compared with if not finding corresponding attribute or corresponding property value is differed, for verification failure, otherwise verifying logical
Cross.
Preferably, the note correction verification module supports xml configurations, json configurations and the self-defined note based on java
Configuration.
Preferably, " the verification rule generation module draws the step according to analysis result data generation is self-defined
With the comparison rule of data type " realize that step includes:
The verification rule generation module generates optimized integration type custom rule according to the analysis result data;
The verification rule generation module is according to the self-defined verification rule of analysis result data generation;
Wherein, the optimized integration type custom rule include must, int, strin, len, date, reg, long,
Float and double.
Preferably, the realization of the regular must is:The regular specific field is necessary, it is impossible to be null or empty string;
The realization of the regular int is:The non-null of field or empty string that the rule is specified, then be int type data, and must
Must be in prescribed level;
The realization of the regular strin is:If the non-null of field or empty string that the rule is specified, it is required that being designated word
One in string array;
The realization of the regular len is:The non-null of field or empty string that the rule is specified, it is desirable to be designated length;
The realization of the regular date is:The non-null of field or empty string that the rule is specified, it is desirable to be scheduled date form;
The realization of the regular reg is:The non-null of field or empty string that the rule is specified, it is desirable to which regular expressions are specified in matching
Formula;
The realization of the regular long is:The non-null of field or empty string that the rule is specified, then be long type data, and
Must be in prescribed level;
The realization of the regular float is:The non-null of field or empty string that the rule is specified, then be float type data, and
Must be in prescribed level.
The realization of the regular double is:The non-null of field or empty string that the rule is specified, then be double type data,
And must be in prescribed level.
Preferably, " the verification rule generation module generates self-defined school to the step according to the analysis result data
Test rule " realize that step includes:
The verification rule generation module defines the rule objects and parameter object of validateRuleHandler interfaces
Logic;
Custom rule is added according to rule objects and parameter object, the complete road of the processor of custom rule is configured
Footpath.
Preferably, the rule objects of the validateRuleHandler interfaces are RuleInfo objects, described
RuleInfo objects are the rule objects that the interface parameters for needing the realization for verifying business interface to define is generated, the parameter
Object is filedValue-Object objects, the ginseng that the filedValue-Object objects are passed by business interface called side
The parameter object of number generation.
Preferably, the step " ratio that the note correction verification module is generated according to the verification rule generation module
Relatively regular attribute one by one, goes in parameter object to find corresponding attribute, then passes through customized comparison rule pair
The value of attribute is compared " realize that step includes:
The parameter that the note correction verification module acquisition client is transmitted through is packaged into parameter object, is parsed according to explaining
Parameter object after module is explained obtains corresponding rule objects, finds the attribute corresponding with the rule objects, Ran Houtong
Cross customized comparison rule to be compared the value of attribute, if verifying into success, perform the service logic of interface, it is no
Then, the service logic of interface is not performed.
Preferably, the interface parameters method of calibration also includes:Check results are back to institute by the note correction verification module
State the parameter object of client.
Preferably, the verification rule generation module also generates the rule that the global necessity of field is examined.
In order to solve the above technical problems, the present invention also provides a kind of interface parameters verification group of interface parameters method of calibration
Part;
After employing the above method and component, an interface of the client request service end, the checker bag
Include note parsing module, explain correction verification module and verification rule generation module, client is carried out certainly by the client to parameter
Definition, the note parsing module is parsed to parameter and analysis result data is sent into the verification rule generation mould
Block, the verification rule generation module generates the comparison rule of self-defined reference data type according to the analysis result data,
The attribute one by one for explaining the comparison rule that correction verification module is generated according to the verification rule generation module, goes parameter pair
Corresponding attribute is found as middle, then the value of attribute is compared by customized comparison rule, if do not had
Find corresponding attribute or corresponding property value is differed, be then verification failure, otherwise verification passes through, the interface parameters
Method of calibration can carry out diversified realization based on notes, json, xml multiple format to framework, preferably support parameter it is strong according to
Lai Xing, it would be preferable to support complicated parameter type, unified interface development mode standard, reputable code uniformity, strengthening system it is steady
Qualitative, ease for maintenance, robustness, enhancing code are obtained at readable, maintainability, the more accurately carry out verification of interface parameters
Reason.
Brief description of the drawings
Fig. 1 is a kind of execution flow chart of interface parameters method of calibration of the present invention;
Fig. 2 is a kind of block mold schematic diagram of interface parameters method of calibration of the present invention.
Embodiment
In order to make the purpose , technical scheme and advantage of the present invention be clearer, it is right below in conjunction with drawings and Examples
The present invention is further elaborated.It should be appreciated that specific embodiment described herein is only used for explaining the present invention, not
For limiting the present invention.
Embodiment 1
Fig. 1 is referred to Fig. 2,
Fig. 1 is a kind of execution flow chart of interface parameters method of calibration of the present invention;
Fig. 2 is a kind of block mold schematic diagram of interface parameters method of calibration of the present invention.
It is described the invention discloses a kind of interface parameters method of calibration there is provided client 10, checker 20 and server 30
Checker 20 includes explaining parsing module 21, explains correction verification module 22 and verification rule generation module 23, the interface parameters school
Proved recipe method comprises the following steps:The client 10 asks an interface of service end, and client passes through described 10 pairs of ginsengs of client
Number progress is self-defined, and the note parsing module 21 is parsed to parameter and analysis result data are sent into the verification and advised
Then generation module 23, the verification rule generation module 23 generates self-defined reference data type according to the analysis result data
Comparison rule, the note correction verification module 22 according to it is described verification rule generation module 23 generate comparison rule by
Individual attribute, goes in parameter object to find corresponding attribute, then the value of attribute is entered by customized comparison rule
Row compares, if not finding corresponding attribute or corresponding property value is differed, and for verification failure, otherwise verifies
Pass through, it is described to explain the parameter object that check results are back to the client 10 by correction verification module 22.
In the present embodiment, the note correction verification module 22 preferably supports xml configurations, json configurations and based on java
The configuration of self-defined note, can preferably docking port the management that is unitized of parameter, make the service logic of interface cleverer
It is living.
In the present embodiment, interface parameters method of calibration adds to configure based on xml configures the technical scheme realized with json:
Xml, json are communication or even the primary communications implementation language across service cross-system between current progress front and back end interaction, interface,
Xml, json form are for the implementation of note, and parameter rule structure can be apparent, and code is obtained readable to be come relatively
Saying can be more excellent, but is exactly not succinct enough, using relatively cumbersome in development process if shortcoming.But in bottom layer realization
In thinking and upper figure be same principle.The object simply parsed is different, will by xmlPaser and jsonPaser
Xmldocument and jsonObject property value one by one is parsed into correspondence javaBean, Ran Hou by xml or json objects
Verification matching is carried out, strengthens availability, the variation of framework.
In the present embodiment, " the verification rule generation module 23 is generated certainly the step according to the analysis result data
Define reference data type comparison rule " realize that step includes:
The verification rule generation module 23 generates optimized integration type custom rule according to the analysis result data;
The verification rule generation module 23 is according to the self-defined verification rule of analysis result data generation;
Wherein, the optimized integration type custom rule include must, int, strin, len, date, reg, long,
Float and double.
In the present embodiment, the realization of the regular must is:The regular specific field is necessary, it is impossible to be null or sky
String;
The realization of the regular int is:The non-null of field or empty string that the rule is specified, then be int type data, and must
Must be in prescribed level;
The realization of the regular strin is:If the non-null of field or empty string that the rule is specified, it is required that being designated word
One in string array;
The realization of the regular len is:The non-null of field or empty string that the rule is specified, it is desirable to be designated length;
The realization of the regular date is:The non-null of field or empty string that the rule is specified, it is desirable to be scheduled date form;
The realization of the regular reg is:The non-null of field or empty string that the rule is specified, it is desirable to which regular expressions are specified in matching
Formula;
The realization of the regular long is:The non-null of field or empty string that the rule is specified, then be long type data, and
Must be in prescribed level;
The realization of the regular float is:The non-null of field or empty string that the rule is specified, then be float type data, and
Must be in prescribed level.
The realization of the regular double is:The non-null of field or empty string that the rule is specified, then be double type data,
And must be in prescribed level.
In the present embodiment, " the verification rule generation module 23 is generated certainly the step according to the analysis result data
Definition verification rule " realize that step includes:
The verification rule generation module 23 defines the rule objects and parameter object of validateRuleHandler interfaces
Logic;
Custom rule is added according to rule objects and parameter object, the complete road of the processor of custom rule is configured
Footpath.
The rule objects of the validateRuleHandler interfaces are RuleInfo objects, the RuleInfo objects
To need the rule objects that the interface parameters that defines of realization for verifying business interface is generated, the parameter object is
FiledValue-Object objects, the parameter that the filedValue-Object objects are passed by business interface called side is generated
Parameter object.
The step " advise by the comparison that the note correction verification module 22 is generated according to the verification rule generation module 23
Attribute one by one then, goes in parameter object to find corresponding attribute, then by customized comparison rule to attribute
Value be compared " realize that step includes:
It is described explain correction verification module 22 obtain the client 10 be transmitted through come parameter be packaged into parameter object, according to note
Parameter object after parsing module 21 is explained obtains corresponding rule objects, finds the attribute corresponding with the rule objects,
Then the value of attribute is compared by customized comparison rule, if verifying into success, the business for performing interface is patrolled
Volume, otherwise, the service logic of interface is not performed.
In the present embodiment, the verification rule generation module 23 also generates the rule that the global necessity of field is examined, and passes through
Must verification rules realize the verification of field necessity, but if wanting to require all fields necessity is verified, therefore also
New field overall situation necessity is set, and must=true represents that all fields can not be sky, and regulation age is whole for the int more than 1
Number, single exclamation mark "!" to represent age can be empty (priority is higher than must).Certain must is defaulted as when being configured without
False, and all fields do not require that necessity is verified., can be in verification expression formula if certain field requires necessity verification
Add afterwards two exclamation marks "!!", for example:
@Validate (value=" age:int(1,M)!!|status:strin(0,1,2)|name:Len (4) ") table
Show that other fields are not required except age requires necessity verification.
Component, including client are verified the invention also discloses a kind of interface parameters for realizing above-mentioned interface parameters method of calibration
End 10, checker 2020 and server 30, the checker 2020 include explaining parsing module 21, explain correction verification module 22 and school
Rule generation module 23 is tested, the client 10 asks an interface of service end, and client is by the client 10 to parameter
Progress is self-defined, and the note parsing module 21 is parsed to parameter and analysis result data are sent into the verification rule
Generation module 23, the verification rule generation module 23 generates self-defined reference data type according to the analysis result data
Comparison rule, the note correction verification module 22 according to it is described verification rule generation module 23 generate comparison rule one by one
Attribute, is gone in parameter object to find corresponding attribute, and then the value of attribute is carried out by customized comparison rule
Compare, if not finding corresponding attribute or corresponding property value is differed, for verification failure, otherwise verify logical
Cross.
Employ after the above method and component, the client 10 asks an interface of service end, the checker
2020 include explaining parsing module 21, explain correction verification module 22 and verification rule generation module 23, and client passes through the client
10 pairs of parameters progress are self-defined, and the note parsing module 21 is parsed to parameter and is sent to analysis result data described
Rule generation module 23 is verified, the verification rule generation module 23 generates self-defined number of references according to the analysis result data
According to the comparison rule of type, the comparison that the note correction verification module 22 is generated according to the verification rule generation module 23 is advised
Attribute one by one then, goes in parameter object to find corresponding attribute, then by customized comparison rule to attribute
Value be compared, it is no for verification failure if not finding corresponding attribute or corresponding property value is differed
Then verification passes through, and the interface parameters method of calibration can carry out diversified realization to framework based on note, json, xml multiple format,
Preferably support the strong dependency of parameter, it would be preferable to support complicated parameter type, unified interface development mode standard, reputable code
Uniformity, the stability of strengthening system, ease for maintenance, robustness, enhancing code obtains readable, maintainability, interface parameters
More accurately carry out checking treatment.
Simultaneously, it should be appreciated that these are only the preferred embodiments of the present invention, it is impossible to therefore the patent of the limitation present invention
Scope, equivalent structure or equivalent implementation method that every utilization description of the invention and accompanying drawing content are made, or directly or indirectly
Other related technical fields are used in, are included within the scope of the present invention.
Claims (10)
1. a kind of interface parameters method of calibration, it is characterised in that:Client, checker and server, the checker bag are provided
Include note parsing module, explain correction verification module and verification rule generation module, the interface parameters method of calibration includes following step
Suddenly:One interface of the client request service end, client carries out self-defined, the note by the client to parameter
Parsing module is parsed to parameter and analysis result data is sent into the verification rule generation module, the verification rule
Generation module generates the comparison rule of self-defined reference data type, the note correction verification module according to the analysis result data
The attribute one by one of the comparison rule generated according to the verification rule generation module, goes in parameter object to find in contrast
The attribute answered, is then compared by customized comparison rule to the value of attribute, if do not find corresponding attribute or
The corresponding property value of person is differed, then is verification failure, otherwise verification passes through.
2. interface parameters method of calibration according to claim 1, it is characterised in that:The note correction verification module supports xml
Configuration, json configurations and the self-defined note configuration based on java.
3. interface parameters method of calibration according to claim 1, it is characterised in that:" the verification rule is raw for the step
The comparison rule of self-defined reference data type is generated according to the analysis result data into module " realize that step includes:
The verification rule generation module generates optimized integration type custom rule according to the analysis result data;
The verification rule generation module is according to the self-defined verification rule of analysis result data generation;
Wherein, the optimized integration type custom rule includes must, int, strin, len, date, reg, long, float
And double.
4. interface parameters method of calibration according to claim 3, it is characterised in that:
The realization of the regular must is:The regular specific field is necessary, it is impossible to be null or empty string;
The realization of the regular int is:The non-null of field or empty string that the rule is specified, then be int type data, and must be
In prescribed level;
The realization of the regular strin is:If the non-null of field or empty string that the rule is specified, it is required that to specify word string number
One in group;
The realization of the regular len is:The non-null of field or empty string that the rule is specified, it is desirable to be designated length;
The realization of the regular date is:The non-null of field or empty string that the rule is specified, it is desirable to be scheduled date form;
The realization of the regular reg is:The non-null of field or empty string that the rule is specified, it is desirable to which regular expression is specified in matching;
The realization of the regular long is:The non-null of field or empty string that the rule is specified, then be long type data, and necessary
In prescribed level;
The realization of the regular float is:The non-null of field or empty string that the rule is specified, then be float type data, and must
Must be in prescribed level.
The realization of the regular double is:The non-null of field or empty string that the rule is specified, then be double type data, and
Must be in prescribed level.
5. interface parameters method of calibration according to claim 4, it is characterised in that:" the verification rule is raw for the step
Into module according to the analysis result data generate it is self-defined verification rule " realize that step includes:
The verification rule generation module defines the rule objects of validateRuleHandler interfaces and patrolling for parameter object
Volume;
Custom rule is added according to rule objects and parameter object, the fullpath of the processor of custom rule is configured.
6. interface parameters method of calibration according to claim 5, it is characterised in that:The validateRuleHandler
The rule objects of interface are RuleInfo objects, and the RuleInfo objects are to need the realization for verifying business interface to define
The rule objects that interface parameters is generated, the parameter object is filedValue-Object objects, the filedValue-
The parameter object for the parameter generation that Object objects are passed by business interface called side.
7. interface parameters method of calibration according to claim 4, it is characterised in that:Step " the note calibration mode
Root tuber goes in parameter object to find phase therewith according to the attribute one by one of the comparison rule of the verification rule generation module generation
Corresponding attribute, is then compared by customized comparison rule to the value of attribute " realize that step includes:
The parameter that the note correction verification module acquisition client is transmitted through is packaged into parameter object, according to note parsing module
Parameter object after note obtains corresponding rule objects, finds the attribute corresponding with the rule objects, then by certainly
The comparison rule of definition is compared to the value of attribute, if verifying into success, performs the service logic of interface, otherwise, no
Perform the service logic of interface.
8. interface parameters method of calibration according to claim 7, it is characterised in that:The interface parameters method of calibration is also wrapped
Include:It is described to explain the parameter object that check results are back to the client by correction verification module.
9. interface parameters method of calibration according to claim 7, it is characterised in that:The verification rule generation module is also given birth to
The rule examined into the global necessity of field.
10. a kind of interface parameters verification component of any described interface parameters method of calibration of utilization claim 1 to 9, it is special
Levy and be:Including client, checker and server, the checker includes explaining parsing module, explains correction verification module and school
Rule generation module is tested, an interface of the client request service end, client is carried out certainly by the client to parameter
Definition, the note parsing module is parsed to parameter and analysis result data is sent into the verification rule generation mould
Block, the verification rule generation module generates the comparison rule of self-defined reference data type according to the analysis result data,
The attribute one by one for explaining the comparison rule that correction verification module is generated according to the verification rule generation module, goes parameter pair
Corresponding attribute is found as middle, then the value of attribute is compared by customized comparison rule, if do not had
Find corresponding attribute or corresponding property value is differed, be then verification failure, otherwise verification passes through.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710171782.9A CN106991023B (en) | 2017-03-22 | 2017-03-22 | Interface parameter checking method and component |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710171782.9A CN106991023B (en) | 2017-03-22 | 2017-03-22 | Interface parameter checking method and component |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106991023A true CN106991023A (en) | 2017-07-28 |
CN106991023B CN106991023B (en) | 2020-10-09 |
Family
ID=59412160
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710171782.9A Active CN106991023B (en) | 2017-03-22 | 2017-03-22 | Interface parameter checking method and component |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106991023B (en) |
Cited By (24)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108132880A (en) * | 2017-12-21 | 2018-06-08 | 武汉斑马快跑科技有限公司 | A kind of parameter verification method and device |
CN108388430A (en) * | 2018-01-26 | 2018-08-10 | 珠海金山网络游戏科技有限公司 | A kind of mobile terminal data check system and method |
CN108415834A (en) * | 2018-02-12 | 2018-08-17 | 平安科技(深圳)有限公司 | Explain rear end method of calibration, device, computer equipment and storage medium |
CN109194643A (en) * | 2018-08-29 | 2019-01-11 | 阿里巴巴集团控股有限公司 | Data transmission, message parsing method, device and equipment |
CN109656744A (en) * | 2017-10-11 | 2019-04-19 | 北京京东尚科信息技术有限公司 | The method and apparatus for realizing data check and injection are explained based on Java |
CN109739573A (en) * | 2018-12-27 | 2019-05-10 | 深圳市多度科技有限公司 | Realize the processing method and processing device that api interface calls, the system for realizing api interface |
CN110147261A (en) * | 2019-04-15 | 2019-08-20 | 平安普惠企业管理有限公司 | Parameter verification method and relevant device based on calling interface |
CN110347999A (en) * | 2019-07-17 | 2019-10-18 | 政采云有限公司 | A kind of method and apparatus of list data verification |
CN110489265A (en) * | 2019-03-07 | 2019-11-22 | 西安博达软件股份有限公司 | A kind of JSON data validation and storage method based on metadata |
CN110554929A (en) * | 2018-06-04 | 2019-12-10 | 百度在线网络技术(北京)有限公司 | Data verification method and device, computer equipment and storage medium |
CN110968888A (en) * | 2018-09-30 | 2020-04-07 | 北京国双科技有限公司 | Data processing method and device |
CN111046067A (en) * | 2018-10-11 | 2020-04-21 | 北京京东尚科信息技术有限公司 | Data judgment method and device |
CN111078570A (en) * | 2019-12-20 | 2020-04-28 | 贵阳货车帮科技有限公司 | Parameter format detection method, device, equipment and medium based on interface framework |
CN111158792A (en) * | 2020-01-02 | 2020-05-15 | 普元信息技术股份有限公司 | System and method for realizing dynamic configurable service parameter verification processing under distributed architecture |
CN111191246A (en) * | 2019-12-19 | 2020-05-22 | 杭州安恒信息技术股份有限公司 | Spring annotation based security development verification method |
CN111897842A (en) * | 2020-01-02 | 2020-11-06 | 北京京东尚科信息技术有限公司 | Data checking method, device, computer system and medium |
CN112182037A (en) * | 2020-09-28 | 2021-01-05 | 百度在线网络技术(北京)有限公司 | Data verification method, device, equipment and storage medium |
CN112181804A (en) * | 2020-08-31 | 2021-01-05 | 五八到家有限公司 | Parameter checking method, equipment and storage medium |
CN112241370A (en) * | 2020-10-21 | 2021-01-19 | 网易(杭州)网络有限公司 | Verification method, system and device for API (application program interface) interface class |
CN112612720A (en) * | 2020-12-31 | 2021-04-06 | 中国农业银行股份有限公司 | Attribute checking method, attribute checking device, attribute checking equipment and attribute checking medium |
CN112631695A (en) * | 2020-12-22 | 2021-04-09 | 北京达佳互联信息技术有限公司 | Data verification method and device, electronic equipment and storage medium |
CN112650488A (en) * | 2019-10-12 | 2021-04-13 | 上海际链网络科技有限公司 | Parameter checking method and device, storage medium and service terminal |
CN113190539A (en) * | 2021-04-20 | 2021-07-30 | 鼎蓝惠民信息技术(西安)有限公司 | Method for standardized verification of affair elements based on national government affair service |
CN117707653A (en) * | 2024-02-06 | 2024-03-15 | 天津医康互联科技有限公司 | Parameter monitoring method, device, electronic equipment and computer readable storage medium |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP2587401A1 (en) * | 2011-10-27 | 2013-05-01 | Sap Ag | Enforcing input validation through aspect oriented programming |
CN105677326A (en) * | 2015-12-28 | 2016-06-15 | 国云科技股份有限公司 | Software interface parameter validation method |
-
2017
- 2017-03-22 CN CN201710171782.9A patent/CN106991023B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP2587401A1 (en) * | 2011-10-27 | 2013-05-01 | Sap Ag | Enforcing input validation through aspect oriented programming |
CN105677326A (en) * | 2015-12-28 | 2016-06-15 | 国云科技股份有限公司 | Software interface parameter validation method |
Non-Patent Citations (1)
Title |
---|
何东隆: "《精通XML与网页设计高级教程》", 31 January 2001 * |
Cited By (34)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109656744A (en) * | 2017-10-11 | 2019-04-19 | 北京京东尚科信息技术有限公司 | The method and apparatus for realizing data check and injection are explained based on Java |
CN108132880B (en) * | 2017-12-21 | 2020-07-07 | 武汉斑马快跑科技有限公司 | Parameter checking method and device |
CN108132880A (en) * | 2017-12-21 | 2018-06-08 | 武汉斑马快跑科技有限公司 | A kind of parameter verification method and device |
CN108388430A (en) * | 2018-01-26 | 2018-08-10 | 珠海金山网络游戏科技有限公司 | A kind of mobile terminal data check system and method |
CN108415834A (en) * | 2018-02-12 | 2018-08-17 | 平安科技(深圳)有限公司 | Explain rear end method of calibration, device, computer equipment and storage medium |
CN110554929A (en) * | 2018-06-04 | 2019-12-10 | 百度在线网络技术(北京)有限公司 | Data verification method and device, computer equipment and storage medium |
CN109194643A (en) * | 2018-08-29 | 2019-01-11 | 阿里巴巴集团控股有限公司 | Data transmission, message parsing method, device and equipment |
CN109194643B (en) * | 2018-08-29 | 2021-02-26 | 创新先进技术有限公司 | Data transmission and message analysis method, device and equipment |
CN110968888B (en) * | 2018-09-30 | 2022-03-08 | 北京国双科技有限公司 | Data processing method and device |
CN110968888A (en) * | 2018-09-30 | 2020-04-07 | 北京国双科技有限公司 | Data processing method and device |
CN111046067A (en) * | 2018-10-11 | 2020-04-21 | 北京京东尚科信息技术有限公司 | Data judgment method and device |
CN109739573A (en) * | 2018-12-27 | 2019-05-10 | 深圳市多度科技有限公司 | Realize the processing method and processing device that api interface calls, the system for realizing api interface |
CN110489265A (en) * | 2019-03-07 | 2019-11-22 | 西安博达软件股份有限公司 | A kind of JSON data validation and storage method based on metadata |
CN110147261A (en) * | 2019-04-15 | 2019-08-20 | 平安普惠企业管理有限公司 | Parameter verification method and relevant device based on calling interface |
CN110347999A (en) * | 2019-07-17 | 2019-10-18 | 政采云有限公司 | A kind of method and apparatus of list data verification |
CN112650488A (en) * | 2019-10-12 | 2021-04-13 | 上海际链网络科技有限公司 | Parameter checking method and device, storage medium and service terminal |
CN111191246A (en) * | 2019-12-19 | 2020-05-22 | 杭州安恒信息技术股份有限公司 | Spring annotation based security development verification method |
CN111078570B (en) * | 2019-12-20 | 2023-04-07 | 贵阳货车帮科技有限公司 | Parameter format detection method, device, equipment and medium based on interface framework |
CN111078570A (en) * | 2019-12-20 | 2020-04-28 | 贵阳货车帮科技有限公司 | Parameter format detection method, device, equipment and medium based on interface framework |
CN111897842A (en) * | 2020-01-02 | 2020-11-06 | 北京京东尚科信息技术有限公司 | Data checking method, device, computer system and medium |
CN111158792A (en) * | 2020-01-02 | 2020-05-15 | 普元信息技术股份有限公司 | System and method for realizing dynamic configurable service parameter verification processing under distributed architecture |
CN111158792B (en) * | 2020-01-02 | 2023-05-16 | 普元信息技术股份有限公司 | Service parameter verification processing system and method capable of realizing dynamic configuration under distributed architecture |
CN112181804A (en) * | 2020-08-31 | 2021-01-05 | 五八到家有限公司 | Parameter checking method, equipment and storage medium |
CN112181804B (en) * | 2020-08-31 | 2023-09-08 | 五八到家有限公司 | Parameter verification method, device and storage medium |
CN112182037A (en) * | 2020-09-28 | 2021-01-05 | 百度在线网络技术(北京)有限公司 | Data verification method, device, equipment and storage medium |
CN112182037B (en) * | 2020-09-28 | 2024-03-29 | 百度在线网络技术(北京)有限公司 | Data verification method, device, equipment and storage medium |
CN112241370A (en) * | 2020-10-21 | 2021-01-19 | 网易(杭州)网络有限公司 | Verification method, system and device for API (application program interface) interface class |
CN112241370B (en) * | 2020-10-21 | 2023-06-16 | 网易(杭州)网络有限公司 | API interface class checking method, system and device |
CN112631695A (en) * | 2020-12-22 | 2021-04-09 | 北京达佳互联信息技术有限公司 | Data verification method and device, electronic equipment and storage medium |
CN112631695B (en) * | 2020-12-22 | 2024-06-11 | 北京达佳互联信息技术有限公司 | Data verification method and device, electronic equipment and storage medium |
CN112612720A (en) * | 2020-12-31 | 2021-04-06 | 中国农业银行股份有限公司 | Attribute checking method, attribute checking device, attribute checking equipment and attribute checking medium |
CN113190539A (en) * | 2021-04-20 | 2021-07-30 | 鼎蓝惠民信息技术(西安)有限公司 | Method for standardized verification of affair elements based on national government affair service |
CN117707653A (en) * | 2024-02-06 | 2024-03-15 | 天津医康互联科技有限公司 | Parameter monitoring method, device, electronic equipment and computer readable storage medium |
CN117707653B (en) * | 2024-02-06 | 2024-05-10 | 天津医康互联科技有限公司 | Parameter monitoring method, device, electronic equipment and computer readable storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN106991023B (en) | 2020-10-09 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106991023A (en) | A kind of interface parameters method of calibration and component | |
CN107608889B (en) | Method and system for automatically generating test script | |
US10558434B2 (en) | Rule-based automatic class generation from a JSON message | |
CN104391934B (en) | Data verification method and device | |
CN104461531B (en) | A kind of implementation method of reporting system SQL | |
CN109408247A (en) | Interaction data processing method and device | |
CN113227976A (en) | Methods, systems, and computer readable media for data transformation using representational state transfer (REST) Application Programming Interfaces (APIs) | |
CN109379326A (en) | XML message rule method of calibration, equipment and storage medium | |
CN109460219A (en) | The method of rapid serial Interface Control File | |
CN108984567A (en) | A kind of Service Data Management system and method | |
CN107817996B (en) | A kind of optimization method and system of GraphQL request | |
CN113238740B (en) | Code generation method, code generation device, storage medium and electronic device | |
US10382353B1 (en) | Enhancing incomplete cloud templates for infrastructure deployment | |
CN111628975A (en) | Method and device for assembling XML message | |
CN110427174B (en) | Micro-service construction method based on database | |
US20070092069A1 (en) | Method and system for testing enterprise applications | |
US20040168064A1 (en) | System of generating procedure for digital signature and encryption to XML | |
CN110110297B (en) | XSD file generation method and device based on JSON configuration | |
US11238059B2 (en) | Facilitating construction of a user interface | |
CN111813999B (en) | Method for improving expansibility of intelligent contract field of Ethernet | |
CN111625465A (en) | Program generation method, device and system and electronic equipment | |
Alwardt | Using XML transactions to perform closed-loop diagnostics in network centric support environments | |
CN110134843A (en) | A kind of generation method and device of file destination | |
CN116644731A (en) | Data and flow assembly system and method thereof | |
CN118132356A (en) | Interface test-oriented embedded software interaction model description method |
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 | ||
CP03 | Change of name, title or address |
Address after: 518000 R & D room 3501, block a, building 7, Vanke Cloud City Phase I, Xingke 1st Street, Xili community, Xili street, Nanshan District, Shenzhen City, Guangdong Province Patentee after: Tubatu Group Co.,Ltd. Address before: 1001-a, 10th floor, bike technology building, No.9, Keke Road, high tech Zone, Nanshan District, Shenzhen, Guangdong 518000 Patentee before: SHENZHEN BINCENT TECHNOLOGY Co.,Ltd. |
|
CP03 | Change of name, title or address |