CN110532107A - Interface call method, device, computer equipment and storage medium - Google Patents

Interface call method, device, computer equipment and storage medium Download PDF

Info

Publication number
CN110532107A
CN110532107A CN201910662547.0A CN201910662547A CN110532107A CN 110532107 A CN110532107 A CN 110532107A CN 201910662547 A CN201910662547 A CN 201910662547A CN 110532107 A CN110532107 A CN 110532107A
Authority
CN
China
Prior art keywords
information
interface
field
return
target
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201910662547.0A
Other languages
Chinese (zh)
Other versions
CN110532107B (en
Inventor
刘啸
文松
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Pingan Payment Technology Service Co Ltd
Original Assignee
Pingan Payment Technology Service Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Pingan Payment Technology Service Co Ltd filed Critical Pingan Payment Technology Service Co Ltd
Priority to CN201910662547.0A priority Critical patent/CN110532107B/en
Publication of CN110532107A publication Critical patent/CN110532107A/en
Application granted granted Critical
Publication of CN110532107B publication Critical patent/CN110532107B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/54Interprogram communication
    • G06F9/547Remote procedure calls [RPC]; Web services
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The embodiment of the present application provides a kind of method, apparatus, computer equipment and storage medium that interface calls.This method comprises: obtaining the interface document supporting paper of destination server;Interface parameters information is extracted from interface document supporting paper, returns to field type require information and returns to field length require information;Interface call parameters are obtained according to interface caller;If interface call parameters are consistent with the interface parameters information, interface call parameters are sent to destination server;The return information for obtaining destination server obtains target according to return information and returns to field, and extracts type information and length information that target returns to field;If target return the type information of field with return to that field type require information is consistent and target return field length information it is consistent with field length require information is returned, generation interface calling successful information simultaneously exports interface calling successful information generated.This method is based on functional test technology, can be obviously improved test development efficiency.

Description

Interface call method, device, computer equipment and storage medium
Technical field
This application involves field of computer technology more particularly to a kind of interface call method, device, computer equipment and deposit Storage media.
Background technique
In the prior art, server provides the document description that interface calls, and called side writes calling according to the document explanation Program reaches function realization to be called according to relevant interface of the caller to server.But in the development phase, The interface realizing method and the inconsistent situation of its provided document description or called side that often will appear server are compiled The document description of the caller and server write is inconsistent, and which results in the difficulty of exploitation and test is larger.
Summary of the invention
This application provides a kind of interface call method, device, computer equipment and storage mediums, it can be achieved that server Carry out in interface calling, convenient for determine interface call whether successful and error situation.
In a first aspect, this application provides a kind of interface call methods comprising: obtain the interface document of destination server Supporting paper;Interface parameters information is extracted from the interface document supporting paper, is returned to field type require information and is returned Back Word segment length require information;Interface call parameters are obtained according to interface caller;Judge the interface call parameters and institute State whether unanimously interface parameters information be compared;If the interface call parameters are consistent with the interface parameters information, by institute It states interface call parameters and is sent to the destination server;The return information for obtaining the destination server, according to the return Acquisition of information target returns to field, and extracts type information and length information that the target returns to field;If the target is returned The type information of Back Word section is consistent with the return field type require information and the target return the length information of field with The return field length require information is consistent, generates interface and calls successful information and export interface generated and call and successfully believes Breath.
Second aspect, this application provides a kind of interface calling devices comprising: first acquisition unit, for obtaining mesh Mark the interface document supporting paper of server;First extraction unit, for extracting interface from the interface document supporting paper Parameter information returns to field type require information and returns to field length require information;Second acquisition unit connects for basis Mouth caller obtains interface call parameters;First transmission unit, for judging that the interface call parameters and the interface are joined Whether number information is compared consistent;If the interface call parameters are consistent with the interface parameters information, by the interface tune The destination server is sent to parameter;Second extraction unit, for obtaining the return information of the destination server, according to The return information obtains target and returns to field, and extracts type information and length information that the target returns to field;First Reminding unit, if consistent and described for the type information of target return field and the return field type require information The length information that target returns to field is consistent with the return field length require information, and generation interface calling successful information is simultaneously defeated Interface generated calls successful information out.
The third aspect this application provides a kind of computer equipment, including memory, processor and is stored in the storage On device and the computer program that can run on the processor, the processor realize this Shen when executing the computer program The described in any item interface call methods that please be provide.
Fourth aspect, present invention also provides a kind of storage mediums, wherein the storage medium is stored with computer program, The computer program makes the processor execute described in any item interface tune provided by the present application when being executed by a processor Use method.
The application provides a kind of interface call method, device, computer equipment and storage medium.The interface call method, Obtain the interface document supporting paper of destination server;Interface parameters information is extracted from the interface document supporting paper, is returned Back Word segment type require information and return field length require information;Interface call parameters are obtained according to interface caller; Judge whether the interface call parameters are compared with the interface parameters information consistent;If the interface call parameters and institute It is consistent to state interface parameters information, the interface call parameters are sent to the destination server;Obtain the destination server Return information, target is obtained according to the return information and returns to field, and extracts the type information that the target returns to field And length information;If the target returns to the type information mesh consistent and described with the return field type require information of field The length information that mark returns to field is consistent with the return field length require information, generates interface and calls successful information and export Interface generated calls successful information.The interface call method is, it can be achieved that carry out in interface calling server, convenient for determining Whether interface calling succeeds and error situation.
Detailed description of the invention
Technical solution in order to illustrate the embodiments of the present invention more clearly, below will be to needed in embodiment description Attached drawing is briefly described, it should be apparent that, drawings in the following description are some embodiments of the invention, general for this field For logical technical staff, without creative efforts, it is also possible to obtain other drawings based on these drawings.
Fig. 1 is the application scenarios schematic diagram of interface call method provided by the embodiments of the present application;
Fig. 2 is the flow diagram of interface call method provided by the embodiments of the present application;
Fig. 3 is the flow diagram for the interface call method that the another embodiment of the application provides;
Fig. 4 is the flow diagram for the interface call method that the another embodiment of the application provides;
Fig. 5 is the sub-process schematic diagram for the interface call method that another embodiment of the application provides;
Fig. 6 is the sub-process schematic diagram for the interface call method that the application another embodiment provides;
Fig. 7 is the schematic block diagram of interface calling device provided by the embodiments of the present application;
Fig. 8 is the schematic block diagram for the interface calling device that the another embodiment of the application provides;
Fig. 9 is the schematic block diagram for the interface calling device that the another embodiment of the application provides;
Figure 10 is the schematic block diagram for the interface calling device that another embodiment of the application provides;
Figure 11 is the schematic block diagram for the interface calling device that the application another embodiment provides;
Figure 12 is the schematic block diagram of computer equipment provided by the embodiments of the present application.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description, it is clear that described embodiments are some of the embodiments of the present invention, instead of all the embodiments.Based on this hair Embodiment in bright, every other implementation obtained by those of ordinary skill in the art without making creative efforts Example, shall fall within the protection scope of the present invention.
It should be appreciated that ought use in this specification and in the appended claims, term " includes " and "comprising" instruction Described feature, entirety, step, operation, the presence of element and/or component, but one or more of the other feature, whole is not precluded Body, step, operation, the presence or addition of element, component and/or its set.
It is also understood that mesh of the term used in this present specification merely for the sake of description specific embodiment And be not intended to limit the application.As present specification and it is used in the attached claims, unless on Other situations are hereafter clearly indicated, otherwise " one " of singular, "one" and "the" are intended to include plural form.
It will be further appreciated that the term "and/or" used in present specification and the appended claims is Refer to any combination and all possible combinations of one or more of associated item listed, and including these combinations.
Referring to Fig. 1, Fig. 1 is a kind of application scenarios schematic diagram of interface call method provided in an embodiment of the present invention, institute Stating application scenarios includes:
(1) server, server is for providing the back-end services of coffret document description file.Server is a kind of meter Machine equipment is calculated, can be single server or server cluster, or Cloud Server, or be special web service Device receives the access of exterior terminal, is connect by cable network or wireless network with terminal.
(2) terminal, terminal shown in Fig. 1 include terminal 1, terminal 2 and terminal 3, and the terminal is by access server, from clothes It is engaged in obtaining interface document supporting paper on device, at the terminal, if the interface in interface call parameters and interface document supporting paper Parameter information is consistent, and interface call parameters are sent to server by the terminal.The terminal can be smart phone, intelligence Perhaps the electronic equipments terminal such as desktop computer is visited by cable network or wireless network for wrist-watch, laptop, tablet computer Ask server.
Referring to Fig. 2, Fig. 2 is the flow diagram of interface call method provided by the embodiments of the present application.As shown in Fig. 2, The interface call method includes step S110~S160.
S110, the interface document supporting paper for obtaining destination server.
In embodiments of the present invention, the interface that can be provided in destination server to it is said configured with corresponding interface document Prescribed paper, the present embodiment obtain the interface document supporting paper in destination server by terminal, and the terminal can be intelligence Mobile phone, smartwatch, laptop, tablet computer perhaps the electronic equipments terminal such as desktop computer by cable network or Wireless network accesses server;The interface document supporting paper may include interface parameters information, return to field type requirement Information and return field length require information.Wherein, the interface parameters information refers to the basic parameter information of interface, Mainly including the interface institute function of dominant, portal contents and interface name etc., the interface that the interface institute function of dominant is such as used to log in/nullify, Portal contents such as " login "/" cancellation ", interface name such as " login "/" logout ";The return field type require information refers to Be interface for the corresponding field type requirement of return parameters, such as: the corresponding interface configuration rule of the interface of destination server The corresponding field type of stationary interface return parameters must be Boolean type (boolean), byte type (byte), integer (int), short (short), long (long) or single-precision floating point type (float) etc.;The return field length require information refers to Interface is required for the corresponding field length of return parameters, such as: the corresponding interface configuration regulation of the interface of destination server connects The corresponding field length of mouth return parameters is 1 byte, 2 bytes, 4 bytes or 8 bytes etc..
S120, from the interface document supporting paper extract interface parameters information, return field type require information with And return to field length require information.
It for example, can be by carrying out keyword extraction to interface document description file, to obtain interface parameters information, return to word Segment type require information and return field length require information.Wherein, in embodiments of the present invention, the terminal can be stored with Preset first keyword database is corresponding to get by carrying out keyword identification to the interface document supporting paper Keyword, and the position of the keyword is positioned in the interface document supporting paper, according to the position of the keyword The interface parameters information, the return field type requirement are further searched for and extracted in the interface document supporting paper Information and the return field length require information.
Referring to Fig. 3, for another embodiment of the present invention provides interface call method sub-process schematic diagram.As schemed Show, the step S120 includes sub-step S1200~S1203.
S1200, according to preset first keyword database, keyword identification is carried out to the interface document supporting paper To obtain the first crucial phrase, first crucial phrase includes multiple first keywords.
In embodiments of the present invention, the terminal includes preset first keyword database, in order to connect to described Mouth document description file carries out keyword identification, to obtain the first crucial phrase, specifically, first keyword database includes All kinds of return field type require informations of all kinds of parameter informations of interface, interface and all kinds of return field lengths of interface require letter Breath, to facilitate corresponding various keywords, the first keyword database passes through the corresponding interface ginseng of receiving interface document description file Number information returns to field type require information and returns to field length require information, using the first keyword database to institute The interface parameters information that receives returns to field type require information and returns to field length require information and identified, In It is successively long from received interface parameters information, return field type require information and return field respectively before identification First character starts to split out multiple participles in degree require information, will split obtained multiple participles via first keyword Database successively compares, and inquires and whether there is the participle in first keyword database, if so, extracting this point Word and using the participle as the first keyword, finally, multiple participles that identification is obtained form first crucial phrase, In, first crucial phrase includes multiple first keywords, and first crucial phrase may include " portal contents ", " interface The keywords such as title " and " field type ".
S1201, it obtains in first crucial phrase with consistent first keyword of the first preset keyword as first Target keyword, and obtain the first object keyword in the first location information of the interface document supporting paper, according to The first location information obtains the interface parameters information in the interface document supporting paper.
In embodiments of the present invention, the terminal storage has the first preset keyword, for determining the interface parameters letter Breath.By obtaining in first crucial phrase with consistent first keyword of the first preset keyword as first object key Word, and the first object keyword is obtained in the first location information of the interface document supporting paper, according to described first Location information obtains the interface parameters information in the interface document supporting paper, wherein the first location information refers to Be paragraph location information and institute that paragraph locating for acquired first object keyword is located at the interface document supporting paper State the participle location information that first object keyword is located at affiliated paragraph;That is, locating for the first object keyword Label of the paragraph in the interface document supporting paper, for example, the paragraph is first segment, then paragraph location information is 1, The paragraph is third section, then paragraph location information is 3.The participle location information refers to the first object keyword Position in the paragraph that it belongs to;That is, the first object keyword is which word in the paragraph, example Such as, the first object keyword is the 5th word in paragraph, then first object keyword location information is 5, first object Keyword is the 8th word in paragraph, then first object keyword location information is 8.Finally, being believed according to the first position Breath obtains the interface parameters information in the interface document supporting paper.
S1202, it obtains in first crucial phrase with consistent first keyword of the second preset keyword as second Target keyword, and obtain second target keyword in the second location information of the interface document supporting paper, according to The second location information obtains the return field type require information in the interface document supporting paper.
In embodiments of the present invention, the terminal storage has the second preset keyword, for determining the return field class Type require information.By obtaining in first crucial phrase with consistent first keyword of the second preset keyword as second Target keyword, and obtain second target keyword in the second location information of the interface document supporting paper, according to The second location information obtains the return field type require information in the interface document supporting paper.Wherein, institute It states second location information and refers to that paragraph locating for the second acquired target keyword is located at the interface document supporting paper Paragraph location information and second target keyword are located at the participle location information of affiliated paragraph;That is, described second Label of the paragraph locating for target keyword in the interface document supporting paper, for example, the paragraph is second segment, then Paragraph location information is 2, and the paragraph is the 4th section, then paragraph location information is 4.The participle location information refers to institute State position of second target keyword in the paragraph that it belongs to;That is, second target keyword is the paragraph In which word, for example, second target keyword is the 8th word in paragraph, then the second target keyword position Information is 8, and the second target keyword is the 10th word in paragraph, then the second target keyword location information is 10.Finally, The return field type require information is obtained in the interface document supporting paper according to the second location information.
S1203, it obtains in first crucial phrase with consistent first keyword of third preset keyword as third Target keyword, and obtain the third target keyword in the third place information of the interface document supporting paper, according to The third place information obtains the return field length require information in the interface document supporting paper.
In embodiments of the present invention, the terminal storage has third preset keyword, for determining that the return field is long Spend require information.By obtaining in first crucial phrase with consistent first keyword of third preset keyword as third Target keyword, and obtain the third target keyword in the third place information of the interface document supporting paper, according to The third place information obtains the return field length require information in the interface document supporting paper.Wherein, institute It states the third place information and refers to that paragraph locating for acquired third target keyword is located at the interface document supporting paper Paragraph location information and the third target keyword are located at the participle location information of affiliated paragraph;That is, the third Label of the paragraph locating for target keyword in the interface document supporting paper, for example, the paragraph is the 5th section, then Paragraph location information is 5, and the paragraph is the 8th section, then paragraph location information is 8.The participle location information refers to institute State position of the third target keyword in the paragraph that it belongs to;That is, the third target keyword is the paragraph In which word, for example, the third target keyword is the 12nd word in paragraph, then third target keyword position Information is 12, and third target keyword is the 16th word in paragraph, then third target keyword location information is 16.Most Afterwards, the return field length require information is obtained in the interface document supporting paper according to the third place information.
S130, interface call parameters are obtained according to interface caller.
In embodiments of the present invention, the interface caller storage in the terminal, connects for what destination server provided Mouthful, interface call parameters are obtained according to the interface caller in terminal.Specifically, by execute the interface caller to Interface in the destination server initiates interface parameters call request, and the format of the call request is JSON string format, target After interface to the call request of terminal in server, test to call request, such as: examine the call request to be No format is correct, if format is incorrect, return it is wrong know code to terminal, if format is correct, connecing in the destination server The call request is written in file server mouth, and generates interface call parameters, and the interface call parameters may include: to connect The mouth institute function of dominant, portal contents and interface name etc., interface call parameters generated are back to terminal by interface caller.
S140, judge whether the interface call parameters and the interface parameters information are consistent;If the interface calls ginseng Number is consistent with the interface parameters information, and the interface call parameters are sent to the destination server.
In embodiments of the present invention, to interface call parameters with extracted from the interface document supporting paper described in connect Mouth parameter information is compared, if the interface call parameters are consistent with the interface parameters information, the interface is called and is joined Number is sent to the destination server and is called with the corresponding interface to the destination server.
S150, the return information for obtaining the destination server obtain target according to the return information and return to field, and Extract type information and length information that the target returns to field.
In embodiments of the present invention, the interface call parameters that the destination server is sent according to terminal execute the corresponding interface Function realize, generate return information, and the return information be sent to the terminal.By being carried out to the return information It searches, target can be obtained and return to field.Wherein, the terminal can be stored with preset second keyword database, by institute It states return information and carries out keyword identification, corresponding keyword can be obtained, and determine the keyword in the return information Position, the target is further searched for and extracted in the return information according to the position of the keyword and returns to field, And type information and length information that the target returns to field are extracted, the type information that the target returns to field may include Boolean type (boolean), byte type (byte), integer (int), short (short), long (long) or single precision are floating Point-type (float) etc., in the present embodiment, such as it is byte type that the target, which returns to the type information of field, and target returns to word Section is B, and the length that target returns to field is 1 byte.
Referring to fig. 4, the sub-process schematic diagram of the interface call method provided for yet another embodiment of the invention.As schemed Show, the step S150 includes sub-step S1500 and S1501.
S1500, according to preset second keyword database, keyword is carried out to the return information of the destination server To obtain the second crucial phrase, second crucial phrase includes multiple second keywords for identification.
In embodiments of the present invention, the terminal includes preset second keyword database, in order to return to described Breath of writing in reply carries out keyword identification, to obtain the second crucial phrase, specifically, second keyword database includes that interface is all kinds of Return information, to facilitate corresponding various keywords, return information of second keyword database by reception destination server, benefit Received return information is identified with the second keyword database, before recognition, successively respectively from received Return information in first character start to split out multiple participles, obtained multiple participles will be split via second keyword Database successively compares, and inquires and whether there is the participle in second keyword database, if so, extracting this point Word and using the participle as the second keyword, finally, multiple participles that identification is obtained form second crucial phrase, In, second crucial phrase includes multiple second keywords.
S1501, it obtains in second crucial phrase with consistent second keyword of the 4th preset keyword as the 4th Target keyword, and the 4th target keyword is obtained in the 4th location information of the return information, according to the described 4th Location information obtains the target in the return information and returns to field.
In embodiments of the present invention, the terminal storage has the 4th preset keyword, for determining that the target returns to word Section.By obtaining in second crucial phrase with consistent second keyword of the 4th preset keyword as the 4th target critical Word, and the 4th target keyword is obtained in the 4th location information of the return information, according to the 4th location information The target is obtained in the return information returns to field.Wherein, the 4th location information refers to acquired the 4th Paragraph locating for target keyword is located at the paragraph location information of the return information and the 4th target keyword be located at it is affiliated The participle location information of paragraph;That is, mark of the paragraph in the return information locating for the 4th target keyword Number, for example, the paragraph is the 6th section, then paragraph location information is 6, the paragraph is the tenth section, then paragraph position is believed Breath is 10.The participle location information refers to position of the 4th target keyword in the paragraph that it belongs to;Namely It says, the 4th target keyword is which word in the paragraph, for example, the 4th target keyword is in paragraph 13rd word, then the 4th target keyword location information is 13, the 4th target keyword is the 15th word in paragraph, then 4th target keyword location information is 15.Finally, described in being obtained in the return information according to the 4th location information Target returns to field.
Referring to Fig. 5, for the flow diagram for the interface call method that further embodiment of this invention provides.As shown, Before the step S160, the method also includes S160a.
S160a, judge the type information to target return field and the return field type require information respectively Being compared and the length information of target return field is compared with the return field length require information is It is no to compare unanimously.
If the type information of S160, the target return field and the return field type require information are consistent and described The length information that target returns to field is consistent with the return field length require information, and generation interface calling successful information is simultaneously defeated Interface generated calls successful information out.
In embodiments of the present invention, the type information and length information of field are returned to by obtaining target, and by the mesh Mark returns to the type information of field and the return field type require information extracted from the interface document supporting paper It is compared, the target is returned into the length information of field and the return extracted from the interface document supporting paper Field length require information is compared, and compares consistent information if obtaining, and generates interface and calls successful information and export institute The interface of generation calls successful information, is reminded with the user to terminal.
If S180, the target return field type information and the return field type require information it is inconsistent and/ Or the target return field length information and the returns field length require information it is inconsistent, generate interface calling return Field errors prompt information simultaneously exports interface call parameters miscue information generated.
In embodiments of the present invention, the type information and length information of field are returned to by obtaining target, and by the mesh Mark returns to the type information of field and the return field type require information extracted from the interface document supporting paper It is compared, the target is returned into the length information of field and the return extracted from the interface document supporting paper Field length require information is compared, and compares inconsistent information if it exists, then generates interface and call return field errors prompt Information simultaneously exports interface call parameters miscue information generated, is reminded with the user to terminal.
Referring to Fig. 6, for the flow diagram for the interface call method that further embodiment of this invention provides.As shown, The method also includes S170:
If S170, the interface call parameters and the interface parameters information are inconsistent, interface call parameters mistake is generated Prompt information simultaneously exports interface call parameters miscue information generated.
In embodiments of the present invention, the institute by being extracted to interface call parameters and from the interface document supporting paper It states interface parameters information to be compared, if the interface call parameters and the interface parameters information are inconsistent, generate and compare not Consistent information then generates interface call parameters miscue information and exports interface call parameters miscue information generated It is reminded with the user to the terminal, in order to which user modifies to interface caller to correct interface and call ginseng Number.
It is the schematic block diagram of interface calling device provided by the embodiments of the present application referring to Fig. 7.As shown, this Shen The interface calling device 200 that please be propose, comprising: first acquisition unit 210, the first extraction unit 220, second acquisition unit 230, First transmission unit 240, the second extraction unit 250 and the first reminding unit 260.
First acquisition unit 210, for obtaining the interface document supporting paper of destination server.
First extraction unit 220, for extracting interface parameters information from the interface document supporting paper, returning to field Types entail information and return field length require information.
Second acquisition unit 230, for obtaining interface call parameters according to interface caller.
First transmission unit 240, for judging whether the interface call parameters and the interface parameters information are consistent;If The interface call parameters are consistent with the interface parameters information, and the interface call parameters are sent to the destination service Device.
Second extraction unit 250 is obtained for obtaining the return information of the destination server according to the return information Target returns to field, and extracts type information and length information that the target returns to field.
First reminding unit 260, if the type information for the target to return to field is wanted with the return field type It asks information consistent and the length information of target return field is consistent with the return field length require information, generate interface It calls successful information and exports interface generated and call successful information.
Referring to Fig. 8, for the schematic block diagram for the interface calling device that the another embodiment of the application provides.As shown, The interface calling device 200 that the application proposes, comprising: first acquisition unit 210, the first extraction unit 220, second acquisition unit 230, the first transmission unit 240, the second extraction unit 250, the first reminding unit 260 and the second reminding unit 270.Wherein, In addition to the second reminding unit 270, other units have been described in the above-described embodiments, and details are not described herein again.
Second reminding unit 270, if inconsistent for the interface call parameters and the interface parameters information, generation is connect Mouth call parameters miscue information simultaneously exports interface call parameters miscue information generated.
Referring to Fig. 9, for the schematic block diagram for the interface calling device that the another embodiment of the application provides.As shown, The interface calling device 200 that the application proposes, comprising: first acquisition unit 210, the first extraction unit 220, second acquisition unit 230, the first transmission unit 240, the second extraction unit 250, second judgment unit 260a, the first reminding unit 260 and third Reminding unit 280.Wherein, in addition to second judgment unit 260a and third reminding unit 280, other units are in above-described embodiment In have been described, details are not described herein again.
Second judgment unit 260a, type information and the return word for judging respectively to return to the target field Segment type require information is compared and returns to the target length information and the return field length requirement of field Information is compared whether compare unanimously.
Third reminding unit 280, if the type information for the target to return to field is wanted with the return field type Ask information inconsistent and/or the target return field length information and the return field length require information it is inconsistent, It generates interface and calls return field errors prompt information.
Referring to Figure 10, for the schematic block diagram for the interface calling device that another embodiment of the application provides.As shown, The interface calling device 200 that the application proposes, comprising: first acquisition unit 210, the first extraction unit 220, second acquisition unit 230, the first transmission unit 240, the second extraction unit 250 and the first reminding unit 260, wherein first extraction unit 220 include keyword recognition unit 2200, interface parameters information acquisition unit 2201, return field type require information acquisition list Member 2202 and return field length require information acquiring unit 2203.
First crucial phrase acquiring unit 2200 is used for according to preset first keyword database, to the interface text Shelves supporting paper carries out keyword identification to obtain the first crucial phrase, and first crucial phrase includes multiple first crucial Word.
Interface parameters information acquisition unit 2201, for obtain in first crucial phrase with the first preset keyword one The first keyword caused obtains the first object keyword in the interface document expository writing as first object keyword The first location information of part obtains the interface parameters in the interface document supporting paper according to the first location information Information.
Field type require information acquiring unit 2202 is returned, it is default with second in first crucial phrase for obtaining Consistent first keyword of keyword obtains second target keyword in the interface text as the second target keyword Shelves supporting paper second location information, obtained in the interface document supporting paper according to the second location information described in Return to field type require information.
Field length require information acquiring unit 2203 is returned, it is default with third in first crucial phrase for obtaining Consistent first keyword of keyword obtains the third target keyword in the interface text as third target keyword Shelves supporting paper the third place information, obtained in the interface document supporting paper according to the third place information described in Return to field length require information.
Referring to Figure 11, for the schematic block diagram for the interface calling device that the application another embodiment provides.As shown, The interface calling device 200 that the application proposes, comprising: first acquisition unit 210, the first extraction unit 220, second acquisition unit 230, the first transmission unit 240, the second extraction unit 250 and the first reminding unit 260, wherein second extraction unit 250 include that the second crucial phrase acquiring unit 2500 and target return to field acquiring unit 2501.
Second crucial phrase acquiring unit 2500, for being taken to the target according to preset second keyword database The return information of business device carries out keyword identification to obtain the second crucial phrase, and second crucial phrase includes multiple second passes Keyword.
Target return field acquiring unit 2501, for obtain in second crucial phrase with the 4th preset keyword one The second keyword caused obtains the 4th target keyword the 4th of the return information as the 4th target keyword Location information obtains the target according to the 4th location information in the return information and returns to field.
Above-mentioned interface calling device can be implemented as a kind of form of computer program, which can such as scheme It is run in computer equipment shown in 12.
Figure 12 is please referred to, Figure 12 is the schematic block diagram of computer equipment provided by the embodiments of the present application.The computer is set Standby 300 equipment can be terminal.Refering to fig. 12, which includes the processor connected by system bus 301 302, memory and network interface 305, wherein memory may include non-volatile memory medium 303 and built-in storage 304. The non-volatile memory medium 303 can storage program area 3031 and computer program 3032.The computer program 3032 includes Program instruction, the program instruction are performed, and processor 302 may make to execute a kind of interface call method.The processor 302 is used In providing calculating and control ability, the operation of entire computer equipment 300 is supported.The built-in storage 304 is non-volatile memories The operation of computer program 3032 in medium 303 provides environment can when the computer program 3032 is executed by processor 302 So that processor 302 executes a kind of interface call method.The network interface 305 is for carrying out network communication, as sent distribution Task dispatching.It will be understood by those skilled in the art that structure shown in Figure 12, only part relevant to application scheme is tied The block diagram of structure, does not constitute the restriction for the computer equipment 300 being applied thereon to application scheme, and specific computer is set Standby 300 may include perhaps combining certain components or with different component cloth than more or fewer components as shown in the figure It sets.
Wherein, the processor 302 is for running computer program 3032 stored in memory, to realize following function Can: obtain the interface document supporting paper of destination server;From the interface document supporting paper extract interface parameters information, It returns to field type require information and returns to field length require information;Interface, which is obtained, according to interface caller calls ginseng Number;Judge whether the interface call parameters and the interface parameters information are consistent;If the interface call parameters connect with described Mouth parameter information is consistent, and the interface call parameters are sent to the destination server;Obtain returning for the destination server It writes in reply and ceases, target is obtained according to the return information and returns to field, and extract type information and length that the target returns to field Spend information;If the type information target consistent and described with the return field type require information that the target returns to field is returned The length information of Back Word section is consistent with the return field length require information, generates interface calling successful information and exports and gives birth to At interface call successful information.
In one embodiment, processor 302 execute it is described according to interface caller obtain interface call parameters after, It also implements function such as: if the interface call parameters and the interface parameters information are inconsistent, it is wrong to generate interface call parameters It misses prompt information and exports interface call parameters miscue information generated.
In one embodiment, processor 302 is executing the return information for obtaining the destination server, according to described Return information obtains target and returns to field, and after extracting the type information and length information that the target returns to field, also real Existing following function: if the target return field type information and the return field type require information it is inconsistent and/or The length information of the target return field and the return field length require information are inconsistent, generate interface and call return word Core dumped prompt information.
In one embodiment, processor 302 described extracts interface parameters from the interface document supporting paper executing Information returns to field type require information and returns to field length require information, is implemented as follows function: according to preset First keyword database carries out keyword to the interface document supporting paper and identifies to obtain the first crucial phrase, described First crucial phrase includes multiple first keywords;Obtain in first crucial phrase with the first preset keyword consistent One keyword obtains the first object keyword the of the interface document supporting paper as first object keyword One location information obtains the interface parameters information according to the first location information in the interface document supporting paper; It obtains in first crucial phrase with consistent first keyword of the second preset keyword as the second target keyword, and obtains Take second target keyword in the second location information of the interface document supporting paper, according to the second location information The return field type require information is obtained in the interface document supporting paper;Obtain in first crucial phrase with Consistent first keyword of third preset keyword obtains the third target keyword in institute as third target keyword The third place information for stating interface document supporting paper, according to the third place information in the interface document supporting paper Obtain the return field length require information.
In one embodiment, processor 302 is executing the return information for obtaining the destination server, according to described Return information obtains target and returns to field, and extracts type information and length information that the target returns to field, also realizes such as Lower function: according to preset second keyword database, to the return information of the destination server carry out keyword identification with The second crucial phrase is obtained, second crucial phrase includes multiple second keywords;Obtain in second crucial phrase with Consistent second keyword of 4th preset keyword obtains the 4th target keyword in institute as the 4th target keyword The 4th location information for stating return information obtains the target according to the 4th location information in the return information and returns Field.
It should be appreciated that in the embodiment of the present application, processor 302 can be central processing unit (Central Processing Unit, CPU), which can also be other general processors, digital signal processor (Digital Signal Processor, DSP), specific integrated circuit (Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field-Programmable GateArray, FPGA) or other programmable logic devices Part, discrete gate or transistor logic, discrete hardware components etc..Wherein, general processor can be microprocessor or The processor is also possible to any conventional processor etc..
A kind of storage medium is provided in another embodiment of the application.The storage medium can be computer-readable storage Medium.The storage medium is stored with computer program, and wherein computer program includes program instruction.The program instruction is by processor So that processor is executed following procedure when execution: obtaining the interface document supporting paper of destination server;From the perspective of from the interface document Interface parameters information is extracted in prescribed paper, returns to field type require information and returns to field length require information;According to connecing Mouth caller obtains interface call parameters;Judge whether the interface call parameters and the interface parameters information are consistent;If The interface call parameters are consistent with the interface parameters information, and the interface call parameters are sent to the destination service Device;The return information for obtaining the destination server obtains target according to the return information and returns to field, and extracts the mesh Mark returns to the type information and length information of field;If the target returns to the type information and the return field type of field Require information is consistent and the target return field length information it is consistent with the return field length require information, generation connects Mouth, which calls successful information and exports interface generated, calls successful information.
In one embodiment, which is executed by processor described call according to interface caller acquisition interface and joins After number, following procedure is also executed: if the interface call parameters and the interface parameters information are inconsistent, generating interface and call Parameter error prompt information simultaneously exports interface call parameters miscue information generated.
In one embodiment, which is executed by processor the return information for obtaining the destination server, Obtain target according to the return information and return to field, and extract the target return field type information and length information it Afterwards, following procedure is also executed: if the type information of target return field and the return field type require information are different The length information and the return field length require information of cause and/or target return field are inconsistent, generate interface tune With return field errors prompt information.
In one embodiment, which is executed by processor described extract from the interface document supporting paper and connects Mouth parameter information returns to field type require information and returns to field length require information, specifically executes following procedure: according to Preset first keyword database carries out keyword identification to the interface document supporting paper to obtain the first keyword Group, first crucial phrase include multiple first keywords;Obtain in first crucial phrase with the first preset keyword Consistent first keyword obtains the first object keyword in the interface document explanation as first object keyword The first location information of file obtains the interface ginseng according to the first location information in the interface document supporting paper Number information;It obtains in first crucial phrase with consistent first keyword of the second preset keyword as the second target critical Word, and second target keyword is obtained in the second location information of the interface document supporting paper, according to described second Location information obtains the return field type require information in the interface document supporting paper;It is crucial to obtain described first With consistent first keyword of third preset keyword as third target keyword in phrase, and obtains the third target and close Keyword is said according to the third place information in the interface document in the third place information of the interface document supporting paper The return field length require information is obtained in prescribed paper.
In one embodiment, which is executed by processor the return information for obtaining the destination server, Target is obtained according to the return information and returns to field, and extracts type information and length information that the target returns to field, It also executes following procedure: according to preset second keyword database, the return information of the destination server being carried out crucial Word identifies that second crucial phrase includes multiple second keywords to obtain the second crucial phrase;It is crucial to obtain described second With consistent second keyword of the 4th preset keyword as the 4th target keyword in phrase, and obtains the 4th target and close Keyword in the 4th location information of the return information, obtained in the return information according to the 4th location information described in Target returns to field.
The storage medium can be USB flash disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), magnetic disk or The various media that can store program code such as person's CD.
Those of ordinary skill in the art may be aware that list described in conjunction with the examples disclosed in the embodiments of the present disclosure Member and algorithm steps, can be realized with electronic hardware, computer software, or a combination of the two, in order to clearly demonstrate hardware With the interchangeability of software, each exemplary composition and step are generally described according to function in the above description.This A little functions are implemented in hardware or software actually, the specific application and design constraint depending on technical solution.Specially Industry technical staff can use different methods to achieve the described function each specific application, but this realization is not It is considered as beyond scope of the present application.
In several embodiments provided herein, it should be understood that disclosed device and method can pass through it Its mode is realized.For example, the apparatus embodiments described above are merely exemplary.For example, the division of each unit, only Only a kind of logical function partition, there may be another division manner in actual implementation.Such as multiple units or components can be tied Another system is closed or is desirably integrated into, or some features can be ignored or not executed.
Step in the embodiment of the present application method can be sequentially adjusted, merged and deleted according to actual needs.This Shen Please the unit in embodiment device can be combined, divided and deleted according to actual needs.In addition, in each implementation of the application Each functional unit in example can integrate in one processing unit, is also possible to each unit and physically exists alone, can also be with It is that two or more units are integrated in one unit.Above-mentioned integrated unit both can take the form of hardware realization, It can also realize in the form of software functional units.If the integrated unit is realized in the form of SFU software functional unit and makees It is independent product when selling or using, can store in one storage medium.Based on this understanding, the technology of the application Substantially all or part of the part that contributes to existing technology or the technical solution can be with software in other words for scheme The form of product embodies, which is stored in a storage medium, including some instructions use so that One computer equipment (can be personal computer, terminal or the network equipment etc.) executes described in each embodiment of the application The all or part of the steps of method.
The above description is merely a specific embodiment, but scope of protection of the present invention is not limited thereto, any Those familiar with the art in the technical scope disclosed by the present invention, can readily occur in various equivalent modifications or replace It changes, these modifications or substitutions should be covered by the protection scope of the present invention.Therefore, protection scope of the present invention should be with right It is required that protection scope subject to.

Claims (10)

1. a kind of interface call method characterized by comprising
Obtain the interface document supporting paper of destination server;
Interface parameters information is extracted from the interface document supporting paper, returns to field type require information and returns to field Length requirement information;
Interface call parameters are obtained according to interface caller;
Judge whether the interface call parameters and the interface parameters information are consistent;If the interface call parameters connect with described Mouth parameter information is consistent, and the interface call parameters are sent to the destination server;
The return information for obtaining the destination server obtains target according to the return information and returns to field, and described in extraction The type information and length information of target return field;
If the type information target consistent and described with the return field type require information that the target returns to field returns The length information of field is consistent with the return field length require information, and generation interface calls successful information and exports and generated Interface call successful information.
2. interface call method according to claim 1, which is characterized in that connect described according to the acquisition of interface caller After mouth call parameters, the method also includes:
If the interface call parameters and the interface parameters information are inconsistent, interface call parameters miscue information is generated simultaneously Export interface call parameters miscue information generated.
3. interface call method according to claim 1, which is characterized in that obtain returning for the destination server described It writes in reply and ceases, target is obtained according to the return information and returns to field, and extract type information and length that the target returns to field It spends after information, the method also includes:
If the target returns to the type information of field and the return field type require information is inconsistent and/or the target Length information and the return field length require information for returning to field are inconsistent, generate interface and return field errors is called to mention Show information.
4. interface call method according to claim 1, which is characterized in that described from the interface document supporting paper Interface parameters information is extracted, field type require information is returned and returns to field length require information, comprising:
According to preset first keyword database, keyword identification is carried out to obtain first to the interface document supporting paper Crucial phrase, first crucial phrase include multiple first keywords;
It obtains in first crucial phrase with consistent first keyword of the first preset keyword as first object keyword, And the first object keyword is obtained in the first location information of the interface document supporting paper, according to the first position Information obtains the interface parameters information in the interface document supporting paper;
It obtains in first crucial phrase with consistent first keyword of the second preset keyword as the second target keyword, And second target keyword is obtained in the second location information of the interface document supporting paper, according to the second position Information obtains the return field type require information in the interface document supporting paper;
It obtains in first crucial phrase with consistent first keyword of third preset keyword as third target keyword, And the third target keyword is obtained in the third place information of the interface document supporting paper, according to the third place Information obtains the return field length require information in the interface document supporting paper.
5. interface call method according to claim 1, which is characterized in that the return for obtaining the destination server Information obtains target according to the return information and returns to field, and extracts type information and length that the target returns to field Information, comprising:
According to preset second keyword database, keyword is carried out to the return information of the destination server and is identified to obtain Second crucial phrase, second crucial phrase include multiple second keywords;
It obtains in second crucial phrase with consistent second keyword of the 4th preset keyword as the 4th target keyword, And the 4th target keyword is obtained in the 4th location information of the return information, according to the 4th location information in institute It states and obtains the target return field in return information.
6. a kind of interface calling device characterized by comprising
First acquisition unit, for obtaining the interface document supporting paper of destination server;
First extraction unit is wanted for extracting interface parameters information from the interface document supporting paper, returning to field type It seeks information and returns to field length require information;
Second acquisition unit, for obtaining interface call parameters according to interface caller;
Unanimously whether the first transmission unit be compared for judging the interface call parameters with the interface parameters information; If the interface call parameters are consistent with the interface parameters information, the interface call parameters are sent to the destination service Device;
Second extraction unit obtains target according to the return information and returns for obtaining the return information of the destination server Back Word section, and extract type information and length information that the target returns to field;
First reminding unit, if type information and the return field type require information one for target return field It causes and the length information of target return field is consistent with the return field length require information, generate interface and call successfully Information simultaneously exports interface calling successful information generated.
7. interface calling device according to claim 6, which is characterized in that described device further include:
Second reminding unit generates interface and calls if inconsistent for the interface call parameters and the interface parameters information Parameter error prompt information simultaneously exports interface call parameters miscue information generated.
8. interface calling device according to claim 6, which is characterized in that described device further include:
Third reminding unit, if not for the type information of target return field and the return field type require information The length information of the consistent and/or described target return field and the return field length require information are inconsistent, generate interface It calls and returns to field errors prompt information.
9. a kind of computer equipment, including memory, processor and it is stored on the memory and can be on the processor The computer program of operation, which is characterized in that the processor realizes such as claim 1 to 5 when executing the computer program Any one of described in interface call method.
10. a kind of computer readable storage medium, which is characterized in that the storage medium is stored with computer program, the meter Calculation machine program makes the processor execute interface called side according to any one of claims 1 to 5 when being executed by a processor Method.
CN201910662547.0A 2019-07-22 2019-07-22 Interface calling method, device, computer equipment and storage medium Active CN110532107B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910662547.0A CN110532107B (en) 2019-07-22 2019-07-22 Interface calling method, device, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910662547.0A CN110532107B (en) 2019-07-22 2019-07-22 Interface calling method, device, computer equipment and storage medium

Publications (2)

Publication Number Publication Date
CN110532107A true CN110532107A (en) 2019-12-03
CN110532107B CN110532107B (en) 2023-04-28

Family

ID=68661701

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910662547.0A Active CN110532107B (en) 2019-07-22 2019-07-22 Interface calling method, device, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN110532107B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111045756A (en) * 2019-12-10 2020-04-21 中国工商银行股份有限公司 Method, apparatus, computing device, and medium for generating interface service
CN113535830A (en) * 2020-04-21 2021-10-22 中移信息技术有限公司 Automatic interface expansion method, device, equipment and storage medium
CN113535832A (en) * 2021-06-10 2021-10-22 杭州未名信科科技有限公司 Method and device for acquiring cloud service data, electronic equipment and medium
CN114647587A (en) * 2022-03-30 2022-06-21 中国银行股份有限公司 Method, apparatus, device, storage medium and product for determining correctness of interface
CN114760236A (en) * 2022-04-08 2022-07-15 中国银行股份有限公司 Interface checking method, device, storage medium and equipment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101013968A (en) * 2005-11-29 2007-08-08 阿尔卡特公司 Automated interface testing framework
US20180342241A1 (en) * 2017-05-25 2018-11-29 Baidu Online Network Technology (Beijing) Co., Ltd . Method and Apparatus of Recognizing Field of Semantic Parsing Information, Device and Readable Medium
CN109446071A (en) * 2018-09-26 2019-03-08 深圳壹账通智能科技有限公司 Interface test method, interface test device, electronic equipment and storage medium

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101013968A (en) * 2005-11-29 2007-08-08 阿尔卡特公司 Automated interface testing framework
US20180342241A1 (en) * 2017-05-25 2018-11-29 Baidu Online Network Technology (Beijing) Co., Ltd . Method and Apparatus of Recognizing Field of Semantic Parsing Information, Device and Readable Medium
CN109446071A (en) * 2018-09-26 2019-03-08 深圳壹账通智能科技有限公司 Interface test method, interface test device, electronic equipment and storage medium

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111045756A (en) * 2019-12-10 2020-04-21 中国工商银行股份有限公司 Method, apparatus, computing device, and medium for generating interface service
CN111045756B (en) * 2019-12-10 2024-01-09 中国工商银行股份有限公司 Method, apparatus, computing device and medium for generating interface service
CN113535830A (en) * 2020-04-21 2021-10-22 中移信息技术有限公司 Automatic interface expansion method, device, equipment and storage medium
CN113535832A (en) * 2021-06-10 2021-10-22 杭州未名信科科技有限公司 Method and device for acquiring cloud service data, electronic equipment and medium
CN113535832B (en) * 2021-06-10 2024-08-02 杭州未名信科科技有限公司 Cloud service data acquisition method and device, electronic equipment and medium
CN114647587A (en) * 2022-03-30 2022-06-21 中国银行股份有限公司 Method, apparatus, device, storage medium and product for determining correctness of interface
CN114760236A (en) * 2022-04-08 2022-07-15 中国银行股份有限公司 Interface checking method, device, storage medium and equipment
CN114760236B (en) * 2022-04-08 2023-11-14 中国银行股份有限公司 Interface checking method, device, storage medium and equipment

Also Published As

Publication number Publication date
CN110532107B (en) 2023-04-28

Similar Documents

Publication Publication Date Title
CN110532107A (en) Interface call method, device, computer equipment and storage medium
CN103959282B (en) For the selective feedback of text recognition system
CN107590654A (en) A kind of method of on-line payment, terminal and computer-readable medium
CN109308350A (en) Format Auto Filling Forms method, apparatus, computer equipment and storage medium
CN108509209A (en) A kind of generation method, device, computer equipment and the storage medium of resource packet
CN104899016B (en) Allocating stack Relation acquisition method and device
CN102087615A (en) Automated merger of logically associated messages in a message queue
CN109144493A (en) Generation method, electronic device and the readable storage medium storing program for executing of business rule
US20170249934A1 (en) Electronic device and method for operating the same
CN109062563A (en) Method and apparatus for generating the page
CN107832099A (en) A kind of client release compatible method, apparatus and storage medium
CN108415998A (en) Using dependence update method, terminal, equipment and storage medium
CN107797826A (en) A kind of regular collocation method, terminal and the equipment of rule-based engine
CN109617647A (en) Message forwarding method, device, computer equipment and computer readable storage medium
CN102567455A (en) Method and system of managing documents using weighted prevalence data for statements
CN110325987A (en) Context voice driven depth bookmark
CN107203372A (en) Control shows method and device
CN114971571B (en) Bill processing method and device based on mailbox
CN106557300A (en) A kind of function stack information of wild pointer determines method, device and electronic equipment
CN108804175A (en) Multilingual adaptation method, mobile terminal and computer readable storage medium
CN108388547A (en) Character string parsing method, apparatus, equipment and computer readable storage medium
CN113408254A (en) Page form information filling method, device, equipment and readable medium
CN111158987A (en) Health check method and device of micro-service architecture
CN109189437A (en) Software upgrading reminding method, device, computer equipment and readable storage medium storing program for executing
CN108809896A (en) A kind of information calibration method, 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