CN110286897A - API Visual Dynamic configuration method, device, equipment and storage medium - Google Patents
API Visual Dynamic configuration method, device, equipment and storage medium Download PDFInfo
- Publication number
- CN110286897A CN110286897A CN201910428941.8A CN201910428941A CN110286897A CN 110286897 A CN110286897 A CN 110286897A CN 201910428941 A CN201910428941 A CN 201910428941A CN 110286897 A CN110286897 A CN 110286897A
- Authority
- CN
- China
- Prior art keywords
- api
- dynamic configuration
- visual dynamic
- parameter information
- parameter
- 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.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 77
- 230000000007 visual effect Effects 0.000 title claims abstract description 40
- 230000008569 process Effects 0.000 claims abstract description 39
- 230000004044 response Effects 0.000 claims abstract description 22
- 241000208340 Araliaceae Species 0.000 claims abstract description 12
- 235000005035 Panax pseudoginseng ssp. pseudoginseng Nutrition 0.000 claims abstract description 12
- 235000003140 Panax quinquefolius Nutrition 0.000 claims abstract description 12
- 235000008434 ginseng Nutrition 0.000 claims abstract description 12
- 238000004590 computer program Methods 0.000 claims description 22
- 238000011161 development Methods 0.000 abstract description 19
- 238000012360 testing method Methods 0.000 abstract description 10
- 230000001960 triggered effect Effects 0.000 abstract description 4
- 230000006870 function Effects 0.000 description 12
- 238000010586 diagram Methods 0.000 description 8
- 230000008859 change Effects 0.000 description 2
- 230000007246 mechanism Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000012545 processing Methods 0.000 description 2
- 238000013459 approach Methods 0.000 description 1
- 230000006399 behavior Effects 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 230000001419 dependent effect Effects 0.000 description 1
- 235000013399 edible fruits Nutrition 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000013507 mapping Methods 0.000 description 1
- 230000001737 promoting effect Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 238000012800 visualization Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/30—Creation or generation of source code
- G06F8/34—Graphical or visual programming
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Stored Programmes (AREA)
Abstract
The embodiment of the invention discloses a kind of API Visual Dynamic configuration method, device, equipment and storage mediums, it is related to technical field of software development, applied to program development system, this method includes the parameter information for obtaining the api interface request that terminal user is inputted by visualized operation interface, and the parameter information enters ginseng, gateway parameter and access stencil including service ID, URL, business;Enabled instruction is generated according to the parameter information, to start code generator using the enabled instruction to call corresponding process code and generate complete routine;It returns and operates successful response message to terminal.The present invention is based on data displayings to propose a kind of API Visual Dynamic configuration method, greatly shorten the development cycle, improve development efficiency, for co-development and tester, new function entrance can be easily triggered by the tool, it will pass through a variety of logic branch situations of dynamic configuration API parameter testing, reduce multiple groups cooperation in development cost.
Description
Technical field
The present invention relates to technical field of software development more particularly to a kind of API Visual Dynamic configuration method, device, set
Standby and storage medium.
Background technique
In the development process of application program, on the one hand, since a large amount of hard coded form of client leads to its flexibility
It substantially reduces.Developer, which generally requires to understand entire link process, could carry out development, therefore development efficiency is slow, grinds
Send out excessive cycle.On the other hand, if desired client as entrance triggers its behaviour to the other group of personnel or tester of co-development
Make process, then can only operate step by step the process of exploitation needed for can triggering oneself by client, overspending is caused to be assisted
Make exploitation exchange time.
Summary of the invention
In view of this, the embodiment of the present invention provides a kind of API Visual Dynamic configuration method, device, equipment and storage
Medium, for solving the problems, such as that program development low efficiency, period are long in the prior art.
On the one hand, the embodiment of the present invention provides a kind of API Visual Dynamic configuration method, is applied to program development system,
The described method includes:
Obtain the parameter information for the api interface request that terminal user is inputted by visualized operation interface, the parameter letter
Breath enters ginseng, gateway parameter and access stencil including service ID, URL, business;
Enabled instruction is generated according to the parameter information, to start code generator using the enabled instruction to call phase
The process code answered simultaneously generates complete routine;
It returns and operates successful response message to terminal.
On the other hand, the embodiment of the present invention provides a kind of API Visual Dynamic configuration device, is applied to program development system
System, described device include:
Acquiring unit, the parameter for obtaining the api interface request that terminal user is inputted by visualized operation interface are believed
Breath, the parameter information enter ginseng, gateway parameter and access stencil including service ID, URL, business;
Generation unit, for generating enabled instruction according to the parameter information, to start code using the enabled instruction
Generator is to call corresponding process code and generate complete routine;
Response unit operates successful response message to terminal for returning.
Another aspect the embodiment of the invention provides a kind of computer equipment, including memory, processor and is stored in institute
The computer program that can be run on memory and on the processor is stated, the processor executes real when the computer program
Now API Visual Dynamic configuration method as described above.
It is described computer-readable to deposit in another aspect, the embodiment of the invention also provides a kind of computer readable storage medium
Storage media is stored with one or more than one computer program, and the one or more computer program can be by one
Or more than one processor executes, to realize API Visual Dynamic configuration method as described above.
The embodiment of the present invention provides a kind of API Visual Dynamic configuration method, device, equipment and storage medium, passes through
Parameter information needed for calling API is obtained, the process code of API is called in addition within the routine, and straight by visualized operation interface
Return response result is seen, it can be fast without understanding the middle-tier logics code such as multi-protocol layer, network layer for developer
Speed exploitation API function, greatly shortens the development cycle, improving development efficiency can be by this for co-development and tester
Tool easily triggers new function entrance, will pass through a variety of logic branch situations of dynamic configuration API parameter testing, reduces multiple groups exploitation
Cooperate cost.
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 a kind of application scenarios schematic diagram of API Visual Dynamic configuration method provided in an embodiment of the present invention;
Fig. 2 is a kind of schematic flow diagram of API Visual Dynamic configuration method provided in an embodiment of the present invention;
Fig. 3 is a kind of another schematic flow diagram of API Visual Dynamic configuration method provided in an embodiment of the present invention;
Fig. 4 is a kind of schematic block diagram of API Visual Dynamic configuration device provided in an embodiment of the present invention;
Fig. 5 is a kind of structure composition schematic diagram of computer equipment provided in an embodiment of the present invention.
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 description of the invention merely for the sake of description specific embodiment
And be not intended to limit the present invention.As description of the invention 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 description of the invention 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 signal of API Visual Dynamic configuration provided in an embodiment of the present invention
Figure, the application scenarios include:
(1) server.Server is used to provide the back-end services of API Visual Dynamic configuration.Server is a kind of calculating
Machine equipment 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 the successful response message of operation on device, passes through response message described in the visualized operation interface display in terminal.It is described
Terminal can be the electronic equipments such as smart phone, smartwatch, laptop, tablet computer or desktop computer, and terminal is logical
Cross cable network or wireless network access server.
The embodiment of the invention provides a kind of API Visual Dynamic configuration methods.This method is applied to program development system,
Referring to Fig. 2, this approach includes the following steps S101~S103:
S101, the parameter information for obtaining the api interface request that terminal user is inputted by visualized operation interface.
Terminal user initiates to call the request of api interface, and inputs needed for calling the api interface at visualized operation interface
Parameter information, API, that is, application programming interfaces (Application Program Interface, API): being that operating system is stayed
It is some functions predetermined, it is therefore an objective to which application program and developer's base are provided to a calling interface of application program
Mr. Yu's software or hardware are able to the ability of one group of routine of access, and without accessing source code or understanding the thin of internal work mechanism
Section, developer develop application program by API Function, can mitigate programmed tasks.
The parameter information enters ginseng, gateway parameter and access stencil including service ID, URL, business.Service ID and function
Service corresponds, and has mapping relations;URL, that is, uniform resource locator: (Uniform Resource Locator, URL)
It is the expression succinct to the position for the resource that can be obtained from internet and one kind of access method, is that standard provides on internet
The address in source.Each file on internet has a unique URL, and the information that it includes points out the position of file and clear
How device of looking at should handle it.In the present embodiment, URL is used for specified file position, is determined by domain name and resource subpath
The URL of Cloud Server, and different Cloud Servers is indicated using macrodefinition;It is that each interface protocol is intrinsic that business, which enters ginseng, is led to
It is often json form, json (Java Script Object Notation, JS object numbered musical notation) is that a kind of data of lightweight are handed over
Change format.It is a subset based on ECMAScript (European Computer association formulate js specification), using being completely independent
Data are stored and indicated in the text formatting of programming language.Succinctly and clearly hierarchical structure makes JSON become ideal number
According to exchange language.It is easy to people to read and write, while is also easy to machine parsing and generating, and effectively promoting network transmission effect
Rate.It is passed to different service parameters by map, can be used as parameter after serializing and spell in URL;Gateway parameter is for determining net
Off position, each interface protocol can be placed on different gateways, and different gateways have different encryption mechanisms, so specifying some net
Off position, so that it may the fixed gateway parameter spelled into the gateway;Finally, it is also necessary to specify the access stencil of the interface protocol, wrap
Include Post, Get, Download etc..Any one interface is assured that by dynamically inputting these parameter informations.So that exploitation
Process becomes more flexible quick.
S102, according to the parameter information generate enabled instruction, with using the enabled instruction starting code generator with
It calls corresponding process code and generates complete routine.
The parameter information of interface has been obtained by step S101, has been instructed according to interface operation and the parameter information is returned to generation
Code generator, code generator call corresponding process code, and the parameter information convection current range code template through passing back carries out just
Beginningization operation replaces unknown quantity therein by the parameter information, ultimately generates complete routine and be stored in local.Specifically,
As shown in figure 3, described the step of calling corresponding process code according to the parameter information and generate complete routine, including it is following
Step: S202, the enabled instruction that starting code generator is generated according to the parameter information;S203, according to the enabled instruction
Start code generator to call the process code in the code generator;S204, using the parameter information as the stream
The incoming parameter of range code initializes the process code, and raw by the initialization operation of the process code
At complete routine and save.Wherein, after code generator is loaded into the parameter information, start button is triggered simultaneously by user
The enabled instruction of starting code generator is generated, according to the enabled instruction of user, code generator calls the code of itself automatically
Product process product process code, wherein the process by code generator product process code is specially opening according to user
Dynamic instruction, " code building .html " application program belonging to the code generator is found in code generator, passes through opening
The application program opens the function of the code generator, passes through the code generator product process code;It will pass back again
Parameter information convection current range code template initializes, and the process of initialization operation is exactly in code generator product process
After code, using parameter information as the incoming parameter of process code and operational process code is to generate for the parameter information
Routine (in the present embodiment, routine is referred to by parameter information as incoming parameter program/api interface generated), finally
The routine of generation is saved in the local database or is stored in local cache.
Optionally, after the parameter information for obtaining the api interface request that user is inputted by visualized operation interface also
It include: to judge whether api interface request is preset limited API, which includes can be to entire application program
It causes damages or the API of leakage of content, these API is equipped with identification information and stores in advance in the database, pass through ergodic data
The mode in library determines whether the API to be called belongs to the default API stored in database, if it is not, then allowing to call directly the API
Interface;If so, needing to further determine that user right.Optionally, the method for determining user right includes: to obtain the API to connect
The personal code work for including in mouth request, the personal code work prestored in the personal code work and database is compared, if the database
In prestore the personal code work, then allow the user to call the api interface, therefore developer needs to register personal identification in advance
Information will be specific to personal personal code work storage in the database.
S103, the successful response message of operation is returned to terminal.
After generating the routine that can be completely performed by step S102, it can according to the operation for including in routine
Code executes each instruction, and each instruction has an operation code, it indicates that the instruction should carry out the operation of what property.No
With the different coding of instruction operation code this field indicate that each coding represents a kind of instruction.Form op-code word
The digit of section is generally dependent on the scale of the repertoire of computer.System being capable of the addition test automatically in the test file of engineering
Code generates special business and enters ginseng, i.e., in practical applications, answered complete routine generated according to actual application scenarios
With in practical projects, and the corresponding code of routine is added to the test code of concrete application scene automatically, using actually answering
Business in using inputs the incoming parameter as routine (i.e. test code) and executes routine, using business input as incoming ginseng
Number executes the process of routine specifically: is compiled to test script, according to incoming parameter according to the test case pair of preediting
Tested trial function is executed and is tested, and finally obtains return information, and by return information information in response.Return executes knot
Fruit obtains response message corresponding with current application scene, then returns and operates successful response message and grasped by the visualization
Make the interface display response message.User clicks submitting button is it can be seen that whether returning the result for interface be correct.Optionally, it is
System also sets up record log thread, and log is the information of hardware, software and system problem in record system, while can also be monitored
The event occurred in system.User can be checked by it mistake occur the reason of, or find it is under attack when attacker
The trace left.System log includes system log, application log and security log.It is executed for recording configuration every time
Process and result are to realize that history traces.
The embodiment of the present invention provides a kind of API Visual Dynamic configuration method, is believed by parameter needed for obtaining calling API
Breath, the process code of API is called in addition within the routine, and by visualized operation objective interface return response result, for opening
Hair personnel can quickly develop API function without understanding the middle-tier logics code such as multi-protocol layer, network layer, greatly shorten
Development cycle, new function can easily be triggered by the tool and enter for co-development and tester by improving development efficiency
Mouthful, it will pass through a variety of logic branch situations of dynamic configuration API parameter testing, reduce multiple groups cooperation in development cost.
Referring to fig. 4, it the embodiment of the invention provides a kind of API Visual Dynamic configuration device, can be applied to
API Visual Dynamic configuration method as shown above.The API Visual Dynamic configuration device 100 includes:
Acquiring unit 101, for obtaining the parameter for the api interface request that terminal user is inputted by visualized operation interface
Information, the parameter information enter ginseng, gateway parameter and access stencil including service ID, URL, business.
Generation unit 102, for generating enabled instruction according to the parameter information, to start generation using the enabled instruction
Code generator is to call corresponding process code and generate complete routine.
Response unit 103 operates successful response message to terminal for returning.
Optionally, which is also used to determine the URL of Cloud Server by domain name and resource subpath, and using macro
Definition indicates different Cloud Servers.
Optionally, the device 100 further include:
Logging unit 104, for establishing record log, the process and result for recording configuration execution every time are used for history
Retrospect.
Optionally, which further includes the first judging unit 105, is specifically used for:
Judge whether api interface request is preset limited API;If it is not, then allowing to call the api interface;If so,
According to api interface request in include personal code work determine user right.
The device 100 further includes second judgment unit 106, is specifically used for:
Obtain the personal code work for including in api interface request;The user's generation that will be prestored in the personal code work and database
Code compares;If prestoring the personal code work in the database, the user is allowed to call the api interface.
The embodiment of the present invention provides a kind of API Visual Dynamic configuration device, is believed by parameter needed for obtaining calling API
Breath, the process code of API is called in addition within the routine, and by visualized operation objective interface return response result, for opening
Hair personnel can quickly develop API function without understanding the middle-tier logics code such as multi-protocol layer, network layer, greatly shorten
Development cycle, new function can easily be triggered by the tool and enter for co-development and tester by improving development efficiency
Mouthful, it will pass through a variety of logic branch situations of dynamic configuration API parameter testing, reduce multiple groups cooperation in development cost.
Above-mentioned API Visual Dynamic configuration device and above-mentioned application downloading updating method correspond, specific principle
It is identical as above-described embodiment the method with process, it repeats no more.
Above-mentioned API Visual Dynamic configuration device can be implemented as a kind of form of computer program, and computer program can
To be run in computer equipment as shown in Figure 5.
Fig. 5 is a kind of structure composition schematic diagram of computer equipment of the present invention.The equipment can be server.Reference Fig. 5,
The computer equipment 500 includes the processor 502, non-volatile memory medium 503, interior storage connected by system bus 501
Device 504 and network interface 505.Wherein, the non-volatile memory medium 503 of the computer equipment 500 can storage program area
5031 and computer program 5032, the computer program 5032 be performed, it is visual to may make that processor 502 executes a kind of API
Change Dynamic Configuration.The processor 502 of the computer equipment 500 supports entire calculate for providing calculating and control ability
The operation of machine equipment 500.The built-in storage 504 is that the operation of the computer program 5032 in non-volatile memory medium 503 mentions
For environment, when which is executed by processor, processor 502 may make to execute a kind of API Visual Dynamic configuration side
Method.The network interface 505 of computer equipment 500 is for carrying out network communication.It will be understood by those skilled in the art that showing in Fig. 5
Structure out, only the block diagram of part-structure relevant to application scheme, does not constitute and is applied to application scheme
The restriction of computer equipment thereon, specific computer equipment may include than more or fewer components as shown in the figure, or
Person combines certain components, or with different component layouts.
Wherein, following operation is realized when the processor 502 executes the computer program:
Obtain the parameter information for the api interface request that terminal user is inputted by visualized operation interface, the parameter letter
Breath enters ginseng, gateway parameter and access stencil including service ID, URL, business;
Enabled instruction is generated according to the parameter information, to start code generator using the enabled instruction to call phase
The process code answered simultaneously generates complete routine;
It returns and operates successful response message to terminal.
In one embodiment, following operation is also realized when the processor 502 executes the computer program:
The URL of Cloud Server is determined by domain name and resource subpath, and indicates different Cloud Servers using macrodefinition.
In one embodiment, following operation is also realized when the processor 502 executes the computer program:
Record log is established, the process and result for recording configuration execution every time are traced for history.
In one embodiment, following operation is also realized when the processor 502 executes the computer program:
Judge whether the api interface request is preset limited API;
If it is not, then allowing to call the api interface;
If so, according to api interface request in include personal code work determine user right.
In one embodiment, the method for the determining user right includes:
Obtain the personal code work for including in the api interface request;
The personal code work prestored in the personal code work and database is compared;
If prestoring the personal code work in the database, the user is allowed to call the api interface.
It will be understood by those skilled in the art that the embodiment of computer equipment shown in Fig. 5 is not constituted to computer
The restriction of equipment specific composition, in other embodiments, computer equipment may include components more more or fewer than diagram, or
Person combines certain components or different component layouts.For example, in some embodiments, computer equipment only includes memory
And processor, in such embodiments, the structure and function of memory and processor are consistent with embodiment illustrated in fig. 5, herein
It repeats no more.
The present invention provides a kind of computer readable storage medium, computer-readable recording medium storage has one or one
A above computer program, the one or more computer program can be held by one or more than one processor
Row, to perform the steps of
Obtain the parameter information for the api interface request that terminal user is inputted by visualized operation interface, the parameter letter
Breath enters ginseng, gateway parameter and access stencil including service ID, URL, business;
Enabled instruction is generated according to the parameter information, to start code generator using the enabled instruction to call phase
The process code answered simultaneously generates complete routine;
It returns and operates successful response message to terminal.
In one embodiment, the one or more computer program can be by one or more than one place
It manages device to execute, also perform the steps of
The URL of Cloud Server is determined by domain name and resource subpath, and indicates different Cloud Servers using macrodefinition.
In one embodiment, the one or more computer program can be by one or more than one place
It manages device to execute, also perform the steps of
Record log is established, the process and result for recording configuration execution every time are traced for history.
In one embodiment, the one or more computer program can be by one or more than one place
It manages device to execute, also perform the steps of
Judge whether the api interface request is preset limited API;
If it is not, then allowing to call the api interface;
If so, according to api interface request in include personal code work determine user right.
In one embodiment, the method for the determining user right includes:
Obtain the personal code work for including in the api interface request;
The personal code work prestored in the personal code work and database is compared;
If prestoring the personal code work in the database, the user is allowed to call the api interface.
Present invention storage medium above-mentioned include: magnetic disk, CD, read-only memory (Read-Only Memory,
The various media that can store program code such as ROM).
Unit in all embodiments of the invention can pass through universal integrated circuit, such as CPU (Central
Processing Unit, central processing unit), or pass through ASIC (Application Specific Integrated
Circuit, specific integrated circuit) Lai Shixian.
Step in API Visual Dynamic configuration method of the embodiment of the present invention can carry out sequence tune according to actual needs
It is whole, merge and delete.
Unit in API Visual Dynamic configuration device of the embodiment of the present invention can be merged according to actual needs, be drawn
Divide and deletes.
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 API Visual Dynamic configuration method, which is characterized in that be applied to program development system, which comprises
Obtain the parameter information for the api interface request that terminal user is inputted by visualized operation interface, the parameter information packet
Include service ID, URL, business enters ginseng, gateway parameter and access stencil;
Enabled instruction is generated according to the parameter information, it is corresponding to call to start code generator using the enabled instruction
Process code simultaneously generates complete routine;
It returns and operates successful response message to terminal.
2. API Visual Dynamic configuration method as described in claim 1, which is characterized in that the method also includes: pass through domain
Name and resource subpath determine the URL of Cloud Server, and indicate different Cloud Servers using macrodefinition.
3. API Visual Dynamic configuration method as described in claim 1, which is characterized in that operate successfully response returning
After information to terminal, the method also includes:
Record log is established, the process and result for recording configuration execution every time are traced for history.
4. API Visual Dynamic configuration method as described in claim 1, which is characterized in that the acquisition user passes through visual
After the parameter information of api interface request for changing operation interface input further include:
Judge whether the api interface request is preset limited API;
If it is not, then allowing to call the api interface;
If so, according to api interface request in include personal code work determine user right.
5. API Visual Dynamic configuration method as claimed in claim 4, which is characterized in that the side of the determining user right
Method includes:
Obtain the personal code work for including in the api interface request;
The personal code work prestored in the personal code work and database is compared;
If prestoring the personal code work in the database, the user is allowed to call the api interface.
6. a kind of API Visual Dynamic configuration device, which is characterized in that be applied to program development system, described device includes:
Acquiring unit, for obtaining the parameter information for the api interface request that terminal user is inputted by visualized operation interface, institute
It states parameter information and enters ginseng, gateway parameter and access stencil including service ID, URL, business;
Generation unit, for generating enabled instruction according to the parameter information, to start code building using the enabled instruction
Device is to call corresponding process code and generate complete routine;
Response unit operates successful response message to terminal for returning.
7. API Visual Dynamic configuration device as claimed in claim 6, which is characterized in that described device is also used to pass through domain
Name and resource subpath determine the URL of Cloud Server, and indicate different Cloud Servers using macrodefinition.
8. API Visual Dynamic configuration device as claimed in claim 6, which is characterized in that described device further include:
Logging unit, for establishing record log, the process and result for recording configuration execution every time are traced for history.
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 that claim 1-5 such as appoints when executing the computer program
API Visual Dynamic configuration method described in one.
10. a kind of computer readable storage medium, which is characterized in that the computer-readable recording medium storage have one or
More than one computer program, the one or more computer program can be by one or more than one processors
It executes, to realize API Visual Dynamic configuration method as described in any one in claim 1-5.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910428941.8A CN110286897A (en) | 2019-05-22 | 2019-05-22 | API Visual Dynamic configuration method, device, equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910428941.8A CN110286897A (en) | 2019-05-22 | 2019-05-22 | API Visual Dynamic configuration method, device, equipment and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN110286897A true CN110286897A (en) | 2019-09-27 |
Family
ID=68002219
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910428941.8A Pending CN110286897A (en) | 2019-05-22 | 2019-05-22 | API Visual Dynamic configuration method, device, equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110286897A (en) |
Cited By (20)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111324394A (en) * | 2020-01-23 | 2020-06-23 | 北京恒华伟业科技股份有限公司 | System integration method and device |
CN111367932A (en) * | 2020-03-06 | 2020-07-03 | 深圳市今天国际物流技术股份有限公司 | Database table single change notification method and device, computer equipment and storage medium |
CN111427576A (en) * | 2020-03-27 | 2020-07-17 | 远光软件股份有限公司 | Method, device, storage medium and terminal for configuring application program interface |
CN111475149A (en) * | 2020-04-03 | 2020-07-31 | 爱瑟福信息科技(上海)有限公司 | Method and system for realizing SOMEIP communication intermediate layer code |
CN111722844A (en) * | 2020-05-29 | 2020-09-29 | 北京宝兰德软件股份有限公司 | Web-based dynamic rich text component design method and device |
CN111782261A (en) * | 2020-06-29 | 2020-10-16 | 百度在线网络技术(北京)有限公司 | Software configuration method and device, electronic equipment and storage medium |
CN111901185A (en) * | 2020-06-05 | 2020-11-06 | 厦门亿联网络技术股份有限公司 | Account number management method and device for VoIP phone automatic test system |
CN112131020A (en) * | 2020-09-22 | 2020-12-25 | 杭州城市大数据运营有限公司 | API interface generating method, calling method, device, equipment and medium |
CN112685032A (en) * | 2020-12-31 | 2021-04-20 | 北京赛思信安技术股份有限公司 | Dynamic api visualization generation method based on spring boot frame |
CN112764751A (en) * | 2021-01-27 | 2021-05-07 | 深圳市酷开网络科技股份有限公司 | Interface generation method and device, interface request method and device and storage medium |
CN113407458A (en) * | 2021-07-09 | 2021-09-17 | 广州博冠信息科技有限公司 | Interface testing method and device, electronic equipment and computer readable medium |
CN113535830A (en) * | 2020-04-21 | 2021-10-22 | 中移信息技术有限公司 | Automatic interface expansion method, device, equipment and storage medium |
CN113590113A (en) * | 2021-07-20 | 2021-11-02 | 远光软件股份有限公司 | Interface generation method, equipment and computer readable storage medium |
CN113766030A (en) * | 2021-09-13 | 2021-12-07 | 城云科技(中国)有限公司 | Automatic parameter entering method and device for interface constant parameters |
CN113791766A (en) * | 2021-09-16 | 2021-12-14 | 易保网络技术(上海)有限公司 | Method for combining data interfaces, electronic device and readable storage medium |
CN114465892A (en) * | 2022-03-16 | 2022-05-10 | 北京字节跳动网络技术有限公司 | Interface maintenance method and device, electronic equipment and storage medium |
CN114826899A (en) * | 2022-03-16 | 2022-07-29 | 青岛海尔科技有限公司 | Debugging method and device of equipment control service, storage medium and electronic device |
CN115426266A (en) * | 2022-10-09 | 2022-12-02 | 中国工商银行股份有限公司 | Configuration issuing method and device |
CN116048517A (en) * | 2023-03-31 | 2023-05-02 | 杭州城市大数据运营有限公司 | API (application program interface) generating method, system and device based on B/S (browser/Server) architecture application system |
CN116359716A (en) * | 2023-05-31 | 2023-06-30 | 深圳市华测半导体设备有限公司 | Method, system and medium for dynamic allocation of test resources in IC tester |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102609264A (en) * | 2012-02-14 | 2012-07-25 | 深圳市同洲视讯传媒有限公司 | Method and device for generating calling codes by calling application programming interfaces |
CN103870260A (en) * | 2012-12-14 | 2014-06-18 | 腾讯科技(深圳)有限公司 | Method and system for service interface development |
WO2015099976A1 (en) * | 2013-12-27 | 2015-07-02 | Microsoft Technology Licensing, Llc. | Generation of client-side application programming interfaces |
CN106802797A (en) * | 2016-12-28 | 2017-06-06 | 微景天下(北京)科技有限公司 | The generation method and device of a kind of application programming interface |
CN108108162A (en) * | 2016-11-24 | 2018-06-01 | 腾讯科技(深圳)有限公司 | Application programming interface generation method and device |
US20180210768A1 (en) * | 2017-01-23 | 2018-07-26 | International Business Machines Corporation | Api-based service command invocation |
-
2019
- 2019-05-22 CN CN201910428941.8A patent/CN110286897A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102609264A (en) * | 2012-02-14 | 2012-07-25 | 深圳市同洲视讯传媒有限公司 | Method and device for generating calling codes by calling application programming interfaces |
CN103870260A (en) * | 2012-12-14 | 2014-06-18 | 腾讯科技(深圳)有限公司 | Method and system for service interface development |
WO2015099976A1 (en) * | 2013-12-27 | 2015-07-02 | Microsoft Technology Licensing, Llc. | Generation of client-side application programming interfaces |
CN108108162A (en) * | 2016-11-24 | 2018-06-01 | 腾讯科技(深圳)有限公司 | Application programming interface generation method and device |
CN106802797A (en) * | 2016-12-28 | 2017-06-06 | 微景天下(北京)科技有限公司 | The generation method and device of a kind of application programming interface |
US20180210768A1 (en) * | 2017-01-23 | 2018-07-26 | International Business Machines Corporation | Api-based service command invocation |
Cited By (31)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111324394A (en) * | 2020-01-23 | 2020-06-23 | 北京恒华伟业科技股份有限公司 | System integration method and device |
CN111367932A (en) * | 2020-03-06 | 2020-07-03 | 深圳市今天国际物流技术股份有限公司 | Database table single change notification method and device, computer equipment and storage medium |
CN111427576A (en) * | 2020-03-27 | 2020-07-17 | 远光软件股份有限公司 | Method, device, storage medium and terminal for configuring application program interface |
CN111475149A (en) * | 2020-04-03 | 2020-07-31 | 爱瑟福信息科技(上海)有限公司 | Method and system for realizing SOMEIP communication intermediate layer code |
CN111475149B (en) * | 2020-04-03 | 2023-06-16 | 爱瑟福信息科技(上海)有限公司 | SOMEIP communication intermediate layer code realization method and system thereof |
CN113535830A (en) * | 2020-04-21 | 2021-10-22 | 中移信息技术有限公司 | Automatic interface expansion method, device, equipment and storage medium |
CN113535830B (en) * | 2020-04-21 | 2024-09-17 | 中移信息技术有限公司 | Automatic interface expansion method, device, equipment and storage medium |
CN111722844A (en) * | 2020-05-29 | 2020-09-29 | 北京宝兰德软件股份有限公司 | Web-based dynamic rich text component design method and device |
CN111722844B (en) * | 2020-05-29 | 2024-05-03 | 北京宝兰德软件股份有限公司 | Design method and device of dynamic rich text component based on Web |
CN111901185A (en) * | 2020-06-05 | 2020-11-06 | 厦门亿联网络技术股份有限公司 | Account number management method and device for VoIP phone automatic test system |
CN111782261A (en) * | 2020-06-29 | 2020-10-16 | 百度在线网络技术(北京)有限公司 | Software configuration method and device, electronic equipment and storage medium |
CN111782261B (en) * | 2020-06-29 | 2024-05-28 | 百度在线网络技术(北京)有限公司 | Software configuration method, device, electronic equipment and storage medium |
CN112131020A (en) * | 2020-09-22 | 2020-12-25 | 杭州城市大数据运营有限公司 | API interface generating method, calling method, device, equipment and medium |
CN112685032A (en) * | 2020-12-31 | 2021-04-20 | 北京赛思信安技术股份有限公司 | Dynamic api visualization generation method based on spring boot frame |
CN112764751A (en) * | 2021-01-27 | 2021-05-07 | 深圳市酷开网络科技股份有限公司 | Interface generation method and device, interface request method and device and storage medium |
CN112764751B (en) * | 2021-01-27 | 2024-05-24 | 深圳市酷开网络科技股份有限公司 | Interface generation method and device, interface request method and device and storage medium |
CN113407458A (en) * | 2021-07-09 | 2021-09-17 | 广州博冠信息科技有限公司 | Interface testing method and device, electronic equipment and computer readable medium |
CN113407458B (en) * | 2021-07-09 | 2023-07-14 | 广州博冠信息科技有限公司 | Interface testing method and device, electronic equipment and computer readable medium |
CN113590113A (en) * | 2021-07-20 | 2021-11-02 | 远光软件股份有限公司 | Interface generation method, equipment and computer readable storage medium |
CN113590113B (en) * | 2021-07-20 | 2024-06-11 | 远光软件股份有限公司 | Interface generation method, device and computer readable storage medium |
CN113766030A (en) * | 2021-09-13 | 2021-12-07 | 城云科技(中国)有限公司 | Automatic parameter entering method and device for interface constant parameters |
CN113791766A (en) * | 2021-09-16 | 2021-12-14 | 易保网络技术(上海)有限公司 | Method for combining data interfaces, electronic device and readable storage medium |
CN113791766B (en) * | 2021-09-16 | 2023-05-16 | 易保网络技术(上海)有限公司 | Method for combining data interfaces, electronic device and readable storage medium |
CN114826899B (en) * | 2022-03-16 | 2024-01-23 | 青岛海尔科技有限公司 | Debugging method and device for equipment control service, storage medium and electronic device |
CN114826899A (en) * | 2022-03-16 | 2022-07-29 | 青岛海尔科技有限公司 | Debugging method and device of equipment control service, storage medium and electronic device |
CN114465892A (en) * | 2022-03-16 | 2022-05-10 | 北京字节跳动网络技术有限公司 | Interface maintenance method and device, electronic equipment and storage medium |
CN115426266B (en) * | 2022-10-09 | 2024-04-30 | 中国工商银行股份有限公司 | Configuration issuing method and device |
CN115426266A (en) * | 2022-10-09 | 2022-12-02 | 中国工商银行股份有限公司 | Configuration issuing method and device |
CN116048517A (en) * | 2023-03-31 | 2023-05-02 | 杭州城市大数据运营有限公司 | API (application program interface) generating method, system and device based on B/S (browser/Server) architecture application system |
CN116359716A (en) * | 2023-05-31 | 2023-06-30 | 深圳市华测半导体设备有限公司 | Method, system and medium for dynamic allocation of test resources in IC tester |
CN116359716B (en) * | 2023-05-31 | 2023-08-04 | 深圳市华测半导体设备有限公司 | Method, system and medium for dynamic allocation of test resources in IC tester |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110286897A (en) | API Visual Dynamic configuration method, device, equipment and storage medium | |
US10705942B1 (en) | Simulated testing of API | |
US20190236000A1 (en) | Distributed system test device | |
US11249878B2 (en) | Runtime expansion of test cases | |
US8141043B2 (en) | Automated business process testing that spans multiple platforms or applications | |
US7881440B2 (en) | Method for automatic graphical profiling of a system | |
CN109302522A (en) | Test method, device and computer system and medium | |
CN107133174A (en) | Test case code automatically generating device and method | |
US20060156288A1 (en) | Extensible execution language | |
CN111858296B (en) | Interface testing method, device, equipment and storage medium | |
US10452522B1 (en) | Synthetic data generation from a service description language model | |
CN106502896A (en) | A kind of generation method of function test code and device | |
CN110166276A (en) | A kind of localization method, device, terminal device and the medium of frame synchronization exception | |
US20180234329A1 (en) | Test building for testing server operation | |
CN113268243B (en) | Memory prediction method and device, storage medium and electronic equipment | |
CN115567607A (en) | Processing method, device and system for calling link, electronic equipment and storage medium | |
CN109032850A (en) | Field device debugging system and field device adjustment method | |
US20170220449A1 (en) | Infrastructure rule generation | |
CN108345508A (en) | Interface calls test method and device | |
CN112256564B (en) | Application program running method and device and electronic equipment | |
JP2010049324A (en) | System analysis program, system analysis device, and system analysis method | |
CN115668152A (en) | Applying topology discovery | |
CN117806978B (en) | Cluster abnormity testing method and device, electronic equipment and storage medium | |
Coggeshall et al. | Zend Enterprise PHP Patterns | |
CN114741307A (en) | Use case execution method and device, electronic equipment and storage medium |
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 |