CN110502350A - Call method, device, terminal and the computer readable storage medium of node - Google Patents
Call method, device, terminal and the computer readable storage medium of node Download PDFInfo
- Publication number
- CN110502350A CN110502350A CN201910627372.XA CN201910627372A CN110502350A CN 110502350 A CN110502350 A CN 110502350A CN 201910627372 A CN201910627372 A CN 201910627372A CN 110502350 A CN110502350 A CN 110502350A
- Authority
- CN
- China
- Prior art keywords
- information
- node
- code
- marking code
- program
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements 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/46—Multiprogramming arrangements
- G06F9/54—Interprogram communication
- G06F9/547—Remote procedure calls [RPC]; Web services
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2209/00—Indexing scheme relating to G06F9/00
- G06F2209/54—Indexing scheme relating to G06F9/54
- G06F2209/549—Remote execution
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Stored Programmes (AREA)
- Telephonic Communication Services (AREA)
Abstract
The invention discloses a kind of call method of node, device, terminal and computer readable storage mediums, this method comprises: receiving the node call instruction that external program is sent, determine preset function module corresponding with the interface identifier, the node call instruction includes the program identification and the required interface identifier called of the external program of the external program;Sequencing information corresponding with described program mark is obtained in the database, the corresponding field of each marking code is successively executed according to the marking code order in the sequencing information, generate ginseng information, the sequencing information includes the marking code of arrangement, and the marking code is corresponding with the field of the preset function module respectively;The information of ginseng out is back to the external program.The application optimizes for R&D process, is ranked up by sequencing information to the field in preset function module, so as to need to carry out field combination according to different, to meet the needs of different external programs.
Description
Technical field
The present invention relates to technical field of data processing more particularly to a kind of call method of node, device, terminal and calculating
Machine readable storage medium storing program for executing.
Background technique
In existing application, it is provided with different functional modules and corresponds to different business, external program provides calling and connects
Mouth is to call the corresponding function of different Implement of Function Module.The execution sequence and parameter of code pass through hard in each functional module
Coding is stored in existing application code, when business change demand, needs the code in corresponding function module, and due to each outer
Portion's program requirements are different, in order to safeguard each external program energy normal call, modification caused to need to consider to each outer
The influence of portion's program, modification amount is big, maintenance cost is high.
Therefore, the technical problem that existing capability module coupling is high, maintenance cost is high how is solved, is become at present urgently
The technical issues of solution.
Summary of the invention
The main purpose of the present invention is to provide a kind of call method of node, device, terminal and computer-readable storages
Medium, it is intended to solve the technical problem that existing capability module coupling is high, maintenance cost is high.
To achieve the above object, the present invention proposes that a kind of call method of node, the call method of the node include:
The node call instruction that external program is sent is received, determines preset function module corresponding with the interface identifier,
The node call instruction includes the program identification and the required interface identifier called of the external program of the external program;
Sequencing information corresponding with described program mark is obtained in the database, according to the code mark in the sequencing information
Know order and successively execute the corresponding field of each marking code, generate ginseng information, the sequencing information includes the institute of arrangement
Marking code is stated, the marking code is corresponding with the field of the preset function module respectively;
The information of ginseng out is back to the external program.
Preferably, the marking code is SQL-ID;It is described to obtain row corresponding with described program mark in the database
Sequence information successively executes the corresponding field of each marking code according to the marking code order in the sequencing information, generates
The step of joining information out, comprising:
Sequencing information corresponding with described program mark is obtained in the database;
The corresponding field of the SQL-ID is ranked up by rank function and the sequencing information, successively executes each institute
The corresponding code of SQL-ID is stated, ginseng information is generated.
It is preferably, described that the corresponding field of the SQL-ID is ranked up by rank function and the sequencing information,
The step of successively executing the corresponding code of each SQL-ID, generating ginseng information, comprising:
The corresponding field of the SQL-ID is ranked up by rank function and the sequencing information;
Execute the corresponding code of each marking code, and call it is corresponding with each marking code in the database and
Dynamic configuration information corresponding with described program mark, generates ginseng information.
Preferably, the node call instruction further includes into joining information;It is described to execute each marking code corresponding generation
Code, and call in the database and each marking code is corresponding and corresponding with described program mark dynamic configuration information,
The step of generating ginseng information, comprising:
Execute the corresponding code of each marking code, and call it is corresponding with each marking code in the database and
Dynamic configuration information corresponding with described program mark, and enter to join information described in calling, generate ginseng information.
Preferably, the node call instruction for receiving external program and sending, determination are corresponding with the interface identifier pre-
If after the step of functional module, comprising:
Enter to proofread and test rule according to the preset function module polls are corresponding;
Enter to join information described in judgement and whether meets described to enter to proofread and test rule;
If it is described enter join information do not meet it is described enter to proofread and test rule, generate prompt information and be back to the external journey
Sequence;
If it is described enter join information meet it is described enter to proofread and test rule, execute: obtaining and described program mark in the database
Know corresponding sequencing information, it is corresponding successively to execute each marking code according to the marking code order in the sequencing information
Code generates the step of joining information.
Preferably, the marking code is the attribute value of data cell Bean;It is described to obtain and the journey in the database
Sequence identifies corresponding sequencing information, successively executes each marking code pair according to the marking code order in the sequencing information
The field answered generates the step of joining information, comprising:
Sequencing information corresponding with described program mark is obtained in the database;
The corresponding field of the data cell Bean is ranked up by rank function and the attribute value, is successively executed
The corresponding code of each data cell Bean, generates ginseng information.
Preferably, the call method of the node includes:
Output process instruction is received, the output process instruction includes the interface identifier;
Procedure information corresponding with the interface identifier is generated, the procedure information includes corresponding with the interface identifier
Interface document and sequencing information, and field corresponding with the marking code in the sequencing information and field annotation.
The present invention also provides a kind of node calling device, the node calling device includes:
Receiving module, the receiving module are used to receive the node call instruction of external program transmission, and determination connects with described
Mouthful identify corresponding preset function module, the node call instruction include the external program program identification and the outside
The interface identifier called needed for program;
Generation module, the generation module are used to obtain sequencing information corresponding with described program mark in the database,
The corresponding field of each marking code is successively executed according to the marking code order in the sequencing information, generates ginseng letter
Breath, the sequencing information include the marking code of arrangement, the marking code word with the preset function module respectively
Section is corresponding;
Sending module, the sending module are used to the information of ginseng out being back to the external program.
The present invention also provides a kind of terminals, which is characterized in that including processor, memory, communicator and is stored in
The caller of the node that can be executed by the processor on the memory, wherein the caller of the node is by institute
When stating processor and executing, the step of realizing the call method of node as the aforementioned.
The present invention also provides a kind of computer readable storage mediums, which is characterized in that the computer-readable storage medium
The caller of node is stored in matter, wherein when the caller of the node is executed by processor, realize section as the aforementioned
The step of call method of point.
In technical solution of the present invention, the field in preset function module is ranked up by sequencing information, so as to reality
It is now directed to each preset function module for having developed completion, can need to carry out field combination according to different, to meet different outsides
The needs of program;By the way that sequencing information to be put into database, the coupling of reduction preset function module is suitable to field when needing
When sequence is modified, sequencing information in database is changed.
Detailed description of the invention
Fig. 1 is the hardware structural diagram of terminal involved in the embodiment of the present invention;
Fig. 2 is the flow diagram of the call method first embodiment of node of the present invention;
Fig. 3 is the flow diagram of the call method second embodiment of node of the present invention;
Fig. 4 is the flow diagram of the call method 3rd embodiment of node of the present invention;
Fig. 5 is the flow diagram of the call method fourth embodiment of node of the present invention;
Fig. 6 is the flow diagram of the 5th embodiment of call method of node of the present invention;
Fig. 7 is the flow diagram of the call method sixth embodiment of node of the present invention;
Fig. 8 is the flow diagram of the 7th embodiment of call method of node of the present invention;
Fig. 9 is the module diagram of node calling device of the present invention.
The embodiments will be further described with reference to the accompanying drawings for the realization, the function and the advantages of the object of the present invention.
Specific embodiment
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
The present embodiments relate to the call method of node be mainly used in terminal, which has processing function
Equipment can be portable computer, can also be with server.
Referring to Fig.1, Fig. 1 is terminal structure schematic diagram involved in the embodiment of the present invention.In the embodiment of the present invention, eventually
End may include processor 1001 (such as CPU), communication bus 1002, user interface 1003, network interface 1004, memory
1005.Wherein, communication bus 1002 is for realizing the connection communication between these components;User interface 1003 may include display
Shield (Display), input unit such as keyboard (Keyboard);Network interface 1004 optionally may include that the wired of standard connects
Mouth, wireless interface (such as WI-FI interface);Memory 1005 can be high speed RAM memory, be also possible to stable memory
(non-volatile memory), such as magnetic disk storage, memory 1005 optionally can also be independently of aforementioned processor
1001 storage device.
It will be understood by those skilled in the art that hardware configuration shown in Fig. 1 does not constitute the restriction to equipment, can wrap
It includes than illustrating more or fewer components, perhaps combines certain components or different component layouts.
With continued reference to Fig. 1, the memory 1005 in Fig. 1 as a kind of computer readable storage medium may include operation system
The caller of system, network communication module and node.
In Fig. 1, network communication module is mainly used for connecting user terminal, carries out data communication with user terminal;And locate
Reason device 1001 can call the caller of the node stored in memory 1005, and the step of executing the call method of node.
Based on the hardware configuration of above-mentioned terminal, each embodiment of the call method of node of the present invention is proposed.
The present invention provides a kind of call method of node.
Referring to Fig. 2, in the first embodiment of the invention, the call method of node the following steps are included:
Step S100 receives program identification including the external program and external program institute that external program is sent
The node call instruction for the interface identifier that need to be called determines preset function module corresponding with the interface identifier;
Prestore multiple preset function modules in the terminal, each preset function module is made of code, execute code with
Realize scheduled function.When external program needs that the preset function module is called to realize predetermined function, issues node calling and refer to
It enables, to call preset function module to complete predetermined function, and the external program is corresponded to without rewriting code again, to external journey
Sequence provides interface.Interface identifier is the character for distinguishing each interface, specifically can be calling interface address URL.
Step S200 obtains sequencing information corresponding with described program mark, according to the sequencing information in the database
Interior marking code order successively executes the corresponding field of each marking code, generates ginseng information, the sequencing information packet
The marking code of arrangement is included, the marking code is corresponding with the field of the preset function module respectively;
The sequencing information of corresponding each preset function module is prestored in database, the marking code in sequencing information is pressed
It is arranged according to preset order.The corresponding one section of code (field) of one marking code, successively executes each generation according to the order of marking code
Code identifies corresponding code, to generate ginseng information.By according to the corresponding each of sequencing information pair and the preset function module
A field is ranked up, and so as to execute code in a different order according to different external programs, is gone out to generate difference
Join information.
Such as: external program needs to realize the function of generating user information Table A, and external program is called to interface sending node
Instruction, the sequencing information for generating user information Table A is determined according to node call instruction, and the corresponding field of sequencing information is followed successively by
A1, b1 and c1 field then execute a1, b1 and c1 field, and sequentially generate a1, b1 and c1 goes out ginseng information, and a1, b1 and c1's goes out to join
Information forms user information Table A.If external program, which needs to realize, generates user message table B, user message table B is by a1, b1 and d1
Go out ginseng information composition, wherein need to call d1 field in the implementation procedure of b1 field goes out ginseng information, then user message table B
A1, d1 and b1 that sequencing information is arranged successively, so that first carrying out d1 field when executing and executing b1 field again.
The information of ginseng out is back to the external program by step S300.
According to program identification, ginseng information will be gone out and returned according to original route, external program, which receives out, joins information, completes node
It calls.
In the present invention, the field in preset function module is ranked up by sequencing information, is directed to can realize
Each preset function module for having developed completion can need to carry out field combination, to meet different external programs according to different
It needs;By the way that sequencing information to be put into database, reduce the coupling of preset function module, when needing to carry out to order of the field
When change, sequencing information in database is changed.
Further, referring to figure 3., Fig. 3 is the flow diagram of the call method second embodiment of node of the present invention, base
In first embodiment, the marking code is SQL-ID;The step S200 includes:
Step S210 obtains sequencing information corresponding with described program mark in the database;
Step S220 is ranked up the corresponding field of the SQL-ID by rank function and the sequencing information, according to
It is secondary to execute the corresponding code of each SQL-ID, generate ginseng information.
SQL-ID is the unique identification for representing SQL statement, and system finds corresponding SQL statement according to SQL-ID.Sequence
It include multiple SQL-ID arranged in order, the corresponding SQL statement of each SQL-ID in information.The order is art technology
Personnel's SQL statement according to needed for external program different demands is edited in advance, to be pressed in sequencing information by different SQL statements
Sequential arrangement, generate it is different go out ginseng information.SQL-ID can specifically be automatically generated, and can also be carried out more according to actual needs
Change.
By call rank function, according to the SQL-ID order in the sequencing information, successively obtain SQL statement, group
At pending code, successively executes and go out ginseng information needed for the code building.By the way that sequencing information is arranged, so that phase can be realized
Same multiple SQL statements generate the ginseng information out for meeting each external program according to different arrangement orders.
Further, referring to figure 4., Fig. 4 is the flow diagram of the call method 3rd embodiment of node of the present invention, base
In second embodiment, the step S220 includes:
Step S221 is ranked up the corresponding field of the SQL-ID by rank function and the sequencing information;
Step S222 executes the corresponding code of each marking code, and call in the database with each code
Mark corresponds to and dynamic configuration information corresponding with described program mark, generates ginseng information.
Dynamic configuration information is that those skilled in the art are pre-stored in the supplemental characteristic in database according to actual needs.It is different
External program corresponds to different dynamic configuration informations, to realize that executing the ginseng information that goes out that preset function module generates meets external journey
Sequence needs.When dynamic configuration information needs to change, the dynamic configuration information in database is directly modified, and it is default not have to modification
Field in functional module avoids the field because in external program A modification preset function module, leads to other external programs
B, the calling such as C, D are abnormal.
Further, referring to figure 5., Fig. 5 is the flow diagram of the call method fourth embodiment of node of the present invention, base
In 3rd embodiment, the node call instruction further includes into joining information;The step 222 includes:
Step S223 executes the corresponding code of each marking code, and call in the database with each code
Mark corresponds to and dynamic configuration information corresponding with described program mark, and enters to join information described in calling, generates ginseng information.
It is to realize the parameter information that provides of certain function that enter to join information, which be external program,.In the present embodiment, preset function
During module generates ginseng information, needs to call dynamic configuration information and enter to join information.
Further, Fig. 6 is please referred to, Fig. 6 is the flow diagram of the 5th embodiment of call method of node of the present invention, base
After fourth embodiment, the step S100, comprising:
Step S400 enters to proofread and test rule according to the preset function module polls are corresponding;
Enter to proofread and tests rule may determine that whether the data type into ginseng information meets preset kind;Judge be into ginseng information
No is blank, enters to join whether information is that any one of multiple presupposed informations are consistent etc., to avoid due to entering to join information errors, leads
Operation, the output error of cause.
Whether step S500 enters to join information described in judgement and meets described to enter to proofread and test rule;
Step S600, if it is described enter join information do not meet it is described enter to proofread and test rule, generate prompt information and be back to institute
State external program;
If it is described enter join information meet it is described enter to proofread and test rule, execute: the step S200.
For example, it is numerical value that preset rules, which are into the data type for joining information, then step S500 specifically: enter ginseng described in judgement
Whether the data type of information is numerical value, if the information that enters to join received is character, generates prompt information and is back to outside described
Portion's program.Rule also is tested provided with out proofread corresponding with preset function module together preferably for ginseng information is gone out, to guarantee
Join the accuracy of information out.
In another embodiment, the step S600 may also is that
If it is described enter join information do not meet it is described enter to proofread and test rule, enter to join whether information is provided with default described in judgement
Value enters to join information with this corresponding;
If it is described enter join information have default value with this to enter to join information corresponding, this is entered to join information using as default;
If it is described enter join information there is no default value with this to enter to join information corresponding, generate prompt information and be back to the outside
Program.
For do not verify pass through enter to join information, can be generated error message return;It can also will enter to join information and be set as
Default value.For example, entering to join, information is " gender: ", and it is blank information that original, which enters to join information, and the other default value of correspondence is " male ", then
This is entered to join information and is revised as " gender: male " execution step S200 afterwards.
Further, Fig. 7 is please referred to, Fig. 7 is the flow diagram of the call method sixth embodiment of node of the present invention, base
In first embodiment, the marking code is the attribute value of data cell Bean;Step S200 includes:
Step S230 obtains sequencing information corresponding with described program mark in the database;
Step S240 arranges the corresponding field of the data cell Bean by rank function and the attribute value
Sequence successively executes the corresponding code of each data cell Bean, generates ginseng information.
One preset function module can be made of a data unit B ean, can also be by multiple data cell Bean groups
At.Each data cell Bean includes attribute (properties), method (method) and event (event) composition, difference row
The attribute value of the data cell Bean used in sequence information can be the same or different, such as: the number used in sequencing information A
It is node serial number ID according to the attribute value of unit B ean, by rank function and node serial number ID to data unit B ean corresponding generation
Code is ranked up, then is successively executed and generated ginseng information.
Further, Fig. 8 is please referred to, Fig. 8 is the flow diagram of the 7th embodiment of call method of node of the present invention, base
Include: in the call method of first embodiment, the node
Step S800 receives output process instruction, and the output process instruction includes the interface identifier;
Step S900, generates procedure information corresponding with the interface identifier, and the procedure information includes and the interface
Identify corresponding interface document and sequencing information, and field corresponding with the marking code in the sequencing information and field note
It releases.
Interface document specifically includes: interface specification, calls URL at request method (GET/POST/RETRIEVE/UPDATE)
(interface IP address), goes out ginseng information type and its restrictive condition, goes out ginseng information (return to pack arrangement body) etc..By giving outgoing interface mark
Know, generate procedure information corresponding with interface identifier, to facilitate the maintenance personnel of external program according to interface document, node is set
Call instruction and enter to join information.
Further, the call method further include:
The interface document is verified according to default verification rule, the part for not meeting default verification rule is marked
Note.Such as: in the interface document of generation, it is corresponding with interface A enter join information a be labeled as it is nonessential, and it is regular according to verifying
Enter to join information a as necessary item to interface A is corresponding, then the part is labeled, developer carries out according to the mark part
Modification.
In addition, the present invention also provides a kind of node calling device, the node calling device includes:
Receiving module 10, the receiving module 10 are used to receive the node call instruction of external program transmission, determining and institute
State the corresponding preset function module of interface identifier, the node call instruction includes the program identification of the external program and described
The interface identifier called needed for external program;
Generation module 20, the generation module 20 for obtaining sequence letter corresponding with described program mark in the database
Breath, successively executes the corresponding field of each marking code according to the marking code order in the sequencing information, generates ginseng
Information, the sequencing information include arrangement the marking code, the marking code respectively with the preset function module
Field is corresponding;
Sending module 30, the sending module 30 are used to the information of ginseng out being back to the external program.
Further, the marking code is SQL-ID;The generation module 20 includes:
First acquisition unit, the first acquisition unit for obtaining row corresponding with described program mark in the database
Sequence information;
First sequencing unit, first sequencing unit are used for through rank function and the sequencing information to the SQL-
The corresponding field of ID is ranked up, and is successively executed the corresponding code of each SQL-ID, is generated ginseng information.
Further, first sequencing unit is used for through rank function and the sequencing information to described SQL-ID pairs
The field answered is ranked up;
Execute the corresponding code of each marking code, and call it is corresponding with each marking code in the database and
Dynamic configuration information corresponding with described program mark, generates ginseng information.
Further, the node call instruction further includes into joining information;First sequencing unit is for executing each institute
State the corresponding code of marking code, and call it is corresponding with each marking code in the database and with described program mark pair
The dynamic configuration information answered, and enter to join information described in calling, generate ginseng information.
Further, the receiving module 10 includes:
Query unit, the query unit are used to enter to proofread and test rule according to the preset function module polls are corresponding;
Whether judging unit, the judging unit described enter to join information and meet described to enter to proofread and test rule for judging;
Prompt unit, if the prompt unit for it is described enter join information do not meet it is described enter to proofread and test rule, generate
Prompt information is back to the external program;
If it is described enter join information meet it is described enter to proofread and test rule, the generation module 20 for obtaining in the database
Sequencing information corresponding with described program mark successively executes each generation according to the marking code order in the sequencing information
The step of code identifies corresponding code, generates ginseng information.
Further, the marking code is the attribute value of data cell Bean;The generation module 20 includes:
Second acquisition unit, the second acquisition unit for obtaining row corresponding with described program mark in the database
Sequence information;
Second sequencing unit, second sequencing unit is by rank function and the attribute value to the data cell
The corresponding field of Bean is ranked up, and is successively executed the corresponding code of each data cell Bean, is generated ginseng information.
Further,
For the receiving module 10 for receiving output process instruction, the output process instruction includes the interface identifier;
The generation module 20 for generating corresponding with interface identifier procedure information, the procedure information comprising with
The corresponding interface document of the interface identifier and sequencing information, and field corresponding with the marking code in the sequencing information
It is annotated with field.
In addition, being stored with section on computer readable storage medium the present invention also provides a kind of computer readable storage medium
The caller of point, wherein when the caller of node is executed by processor, realize the step of the call method such as above-mentioned node
Suddenly.
The caller of its interior joint be performed realized method can refer to node of the present invention call method it is each
A embodiment, details are not described herein again.
It should be noted that, in this document, the terms "include", "comprise" or its any other variant are intended to non-row
His property includes, so that the process, method, article or the system that include a series of elements not only include those elements, and
And further include other elements that are not explicitly listed, or further include for this process, method, article or system institute it is intrinsic
Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including being somebody's turn to do
There is also other identical elements in the process, method of element, article or system.
The serial number of the above embodiments of the invention is only for description, does not represent the advantages or disadvantages of the embodiments.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side
Method can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but in many cases
The former is more preferably embodiment.Based on this understanding, technical solution of the present invention substantially in other words does the prior art
The part contributed out can be embodied in the form of software products, which is stored in one as described above
In storage medium (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that terminal device (it can be mobile phone,
Computer, server, air conditioner or network equipment etc.) execute method described in each embodiment of the present invention.
The above is only a preferred embodiment of the present invention, is not intended to limit the scope of the invention, all to utilize this hair
Equivalent structure or equivalent flow shift made by bright specification and accompanying drawing content is applied directly or indirectly in other relevant skills
Art field, is included within the scope of the present invention.
Claims (10)
1. a kind of call method of node, which is characterized in that the call method of the node includes:
The node call instruction that external program is sent is received, determines preset function module corresponding with the interface identifier, it is described
Node call instruction includes the program identification and the required interface identifier called of the external program of the external program;
Sequencing information corresponding with described program mark is obtained in the database, according to the marking code in the sequencing information
Sequence successively executes the corresponding field of each marking code, generates ginseng information, and the sequencing information includes the generation of arrangement
Code mark, the marking code are corresponding with the field of the preset function module respectively;
The information of ginseng out is back to the external program.
2. the call method of node as described in claim 1, which is characterized in that the marking code is SQL-ID;It is described
Sequencing information corresponding with described program mark is obtained in database, successively according to the marking code order in the sequencing information
The step of executing the corresponding field of each marking code, generating ginseng information, comprising:
Sequencing information corresponding with described program mark is obtained in the database;
The corresponding field of the SQL-ID is ranked up by rank function and the sequencing information, is successively executed each described
The corresponding code of SQL-ID, generates ginseng information.
3. the call method of node as claimed in claim 2, which is characterized in that described to be believed by rank function and the sequence
Breath is ranked up the corresponding field of the SQL-ID, successively executes the corresponding code of each SQL-ID, generates ginseng information
The step of, comprising:
The corresponding field of the SQL-ID is ranked up by rank function and the sequencing information;
Execute the corresponding code of each marking code, and call it is corresponding with each marking code in the database and with institute
The corresponding dynamic configuration information of program identification is stated, ginseng information is generated.
4. the call method of node as claimed in claim 3, which is characterized in that the node call instruction further includes believing into ginseng
Breath;It is described to execute the corresponding code of each marking code, and call it is corresponding with each marking code in the database and
Dynamic configuration information corresponding with described program mark generates the step of joining information, comprising:
Execute the corresponding code of each marking code, and call it is corresponding with each marking code in the database and with institute
The corresponding dynamic configuration information of program identification is stated, and enters to join information described in calling, generates ginseng information.
5. the call method of node as claimed in claim 4, which is characterized in that the node tune for receiving external program and sending
With instruction, after the step of determining preset function module corresponding with the interface identifier, comprising:
Enter to proofread and test rule according to the preset function module polls are corresponding;
Enter to join information described in judgement and whether meets described to enter to proofread and test rule;
If it is described enter join information do not meet it is described enter to proofread and test rule, generate prompt information and be back to the external program;
If it is described enter join information meet it is described enter to proofread and test rule, execute: obtaining in the database and described program mark pair
The sequencing information answered successively executes each marking code corresponding generation according to the marking code order in the sequencing information
Code generates the step of joining information.
6. the call method of node as described in claim 1, which is characterized in that the marking code is data cell Bean's
Attribute value;It is described to obtain sequencing information corresponding with described program mark in the database, according to the generation in the sequencing information
The step of code mark order successively executes the corresponding field of each marking code, generates ginseng information, comprising:
Sequencing information corresponding with described program mark is obtained in the database;
The corresponding field of the data cell Bean is ranked up by rank function and the attribute value, successively executes each institute
The corresponding code of data cell Bean is stated, ginseng information is generated.
7. the call method of node as described in claim 1, which is characterized in that the call method of the node includes:
Output process instruction is received, the output process instruction includes the interface identifier;
Procedure information corresponding with the interface identifier is generated, the procedure information includes interface corresponding with the interface identifier
Document and sequencing information, and field corresponding with the marking code in the sequencing information and field annotation.
8. a kind of node calling device, which is characterized in that the node calling device includes:
Receiving module, the receiving module are used to receive the node call instruction of external program transmission, the determining and interface mark
Know corresponding preset function module, the node call instruction include the external program program identification and the external program
The interface identifier of required calling;
Generation module, the generation module are used to obtain sequencing information corresponding with described program mark in the database, according to
Marking code order in the sequencing information successively executes the corresponding field of each marking code, generates ginseng information, institute
State the marking code that sequencing information includes arrangement, the marking code field pair with the preset function module respectively
It answers;
Sending module, the sending module are used to the information of ginseng out being back to the external program.
9. a kind of terminal, which is characterized in that including processor, memory, communicator and be stored on the memory can
The caller of the node executed by the processor, wherein real when the caller of the node is executed by the processor
Now the step of call method of the node as described in any one of claims 1 to 7.
10. a kind of computer readable storage medium, which is characterized in that be stored with node on the computer readable storage medium
Caller, wherein when the caller of the node is executed by processor, realize as described in any one of claims 1 to 7
Node call method the step of.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910627372.XA CN110502350B (en) | 2019-07-11 | 2019-07-11 | Node calling method and device, terminal and computer readable storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910627372.XA CN110502350B (en) | 2019-07-11 | 2019-07-11 | Node calling method and device, terminal and computer readable storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110502350A true CN110502350A (en) | 2019-11-26 |
CN110502350B CN110502350B (en) | 2023-03-21 |
Family
ID=68586102
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910627372.XA Active CN110502350B (en) | 2019-07-11 | 2019-07-11 | Node calling method and device, terminal and computer readable storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110502350B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113254029A (en) * | 2020-12-30 | 2021-08-13 | 深圳怡化电脑股份有限公司 | Peripheral interface setting method and device of terminal equipment and electronic equipment |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6249783B1 (en) * | 1998-12-17 | 2001-06-19 | International Business Machines Corporation | Method and apparatus for efficiently executing built-in functions |
JP2012128628A (en) * | 2010-12-15 | 2012-07-05 | Internatl Business Mach Corp <Ibm> | Optimization apparatus for program, optimization method and optimization program |
CN106936937A (en) * | 2015-12-29 | 2017-07-07 | 阿里巴巴集团控股有限公司 | For the implementation method and device of the general-purpose interface of Internet service interaction |
CN108776710A (en) * | 2018-06-28 | 2018-11-09 | 农信银资金清算中心有限责任公司 | A kind of concurrent stowage and device of database data |
-
2019
- 2019-07-11 CN CN201910627372.XA patent/CN110502350B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6249783B1 (en) * | 1998-12-17 | 2001-06-19 | International Business Machines Corporation | Method and apparatus for efficiently executing built-in functions |
JP2012128628A (en) * | 2010-12-15 | 2012-07-05 | Internatl Business Mach Corp <Ibm> | Optimization apparatus for program, optimization method and optimization program |
CN106936937A (en) * | 2015-12-29 | 2017-07-07 | 阿里巴巴集团控股有限公司 | For the implementation method and device of the general-purpose interface of Internet service interaction |
CN108776710A (en) * | 2018-06-28 | 2018-11-09 | 农信银资金清算中心有限责任公司 | A kind of concurrent stowage and device of database data |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113254029A (en) * | 2020-12-30 | 2021-08-13 | 深圳怡化电脑股份有限公司 | Peripheral interface setting method and device of terminal equipment and electronic equipment |
CN113254029B (en) * | 2020-12-30 | 2024-02-02 | 深圳怡化电脑股份有限公司 | Peripheral interface setting method and device of terminal equipment and electronic equipment |
Also Published As
Publication number | Publication date |
---|---|
CN110502350B (en) | 2023-03-21 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110389898A (en) | Acquisition methods, device, terminal and the computer readable storage medium of Test Strategy | |
US20160210226A1 (en) | Method and apparatus for testing electronic system | |
CN110109818A (en) | Monitoring method, device, terminal and the readable storage medium storing program for executing of back end interface data | |
CN109165017A (en) | Data verification method, device and computer storage medium | |
CN113434355A (en) | Module verification method, UVM verification platform, electronic device and storage medium | |
CN110349248B (en) | Method, system, device and storage medium for fast generating standard structure | |
CN110502350A (en) | Call method, device, terminal and the computer readable storage medium of node | |
CN112561690B (en) | Method, system, equipment and storage medium for testing credit card staged service interface | |
CN111079284A (en) | Power grid global logic data model verification method, device, server and medium | |
CN117472372A (en) | Responsive form construction method and system | |
CN112433935A (en) | Test method, test device, electronic equipment and storage medium | |
CN109474822B (en) | Android television multi-language automatic testing method and device | |
CN115328769A (en) | PDK development method based on Aether tool | |
CN114997592A (en) | Vehicle part assembly point inspection method, device, equipment and storage medium | |
CN112487152A (en) | Automatic document detection method and device | |
CN116893978B (en) | Test plan generation method, system and storage medium based on PTCRB authentication | |
CN117271330B (en) | Function verification method and system for ODX interpreter | |
CN117724986B (en) | Method and device for automatically operating kafka in use case execution | |
CN115758976B (en) | Method for comparing device differences in PDK, electronic equipment and computer readable medium | |
CN107992287A (en) | Method and device for checking system demand priority ranking result | |
CN111143221B (en) | Test method and device | |
CN114238073A (en) | Joint debugging testing method, device, equipment and readable storage medium | |
CN114138819A (en) | Data processing method and device | |
CN116737474A (en) | Project testing method, device, communication equipment and storage medium | |
CN116414372A (en) | Flow engine using method based on low-code development platform |
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 |