CN109753323A - A kind of external service call method and device - Google Patents
A kind of external service call method and device Download PDFInfo
- Publication number
- CN109753323A CN109753323A CN201711064999.6A CN201711064999A CN109753323A CN 109753323 A CN109753323 A CN 109753323A CN 201711064999 A CN201711064999 A CN 201711064999A CN 109753323 A CN109753323 A CN 109753323A
- Authority
- CN
- China
- Prior art keywords
- response
- model
- input information
- information
- request
- 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
Abstract
The invention discloses a kind of external service call method and devices, it is related to field of computer technology, it is existing in the calling process of external service to solve, different calling function or program need to be write for different services, are led to the larger problem of occupancy of system resource and are invented.The method comprise the steps that after receiving input information, according to the data format of request model conversion input information;Input information after change data format is packaged according to the corresponding request specification of the request model, solicited message is obtained and sends the solicited message, to call external service;After receiving the solicited message corresponding response message, the corresponding response specification of model disassembles the response message according to response, obtains response message segment;According to the response model, the data format of the response message segment is converted, output information is obtained and exports the output information.The present invention, which is suitably applied in, is called process to external service.
Description
Technical field
The present invention relates to field of computer technology more particularly to a kind of external service call methods and device.
Background technique
With being constantly progressive for computer technology, system function is continuously increased, and is related to the service in system or outside system
Call also all the more frequentization and day-to-day.In computer systems, since different services can be realized different functions, and very
More sophisticated functions are realized according to multiple basic functions.Therefore, it is generally the case that can during a service execution
It can need to call the service in multiple systems or outside system.In the prior art, it for the calling of different services, needs to write
Different calling functions or program realizes that as a result, when writing to a service, what it is for the calling needed for it is
The outer service of system, which needs to write, largely calls function or program.
Currently, needing to write for different services corresponding when the service outside the prior art is to system is called
Function or caller are called, in this way, when the quantity of service for needing to call is more, the required calling function write or calling journey
The data volume of sequence can also increase sharply, serious occupying system resources;Meanwhile in multiple and different calling functions or caller, very
Polygamma function order or program be all it is identical, result in this way it is different calling functions or caller in repeated data it is more,
Further occupy system resource.As a result, in practical applications, the prior art is when calling external service, required to write
The data volume of function or program is more, causes system resource to occupy larger.
Summary of the invention
In view of the above problems, the present invention provides a kind of external service call method and device, main purpose are in outside
In the calling process of service, solve the problems, such as that different calling function or program need to be write for different services, and then reduction pair
The occupancy of system resource.
In order to solve the above technical problems, in a first aspect, the present invention provides a kind of external service call method, this method packet
It includes:
After receiving input information, according to the data format of request model conversion input information;
Input information after change data format is packaged according to the corresponding request specification of the request model, is obtained
Solicited message simultaneously sends the solicited message, to call external service;
After receiving the solicited message corresponding response message, the corresponding response specification of model will be described according to response
Response message is disassembled, and response message segment is obtained;
According to the response model, the data format of the response message segment is converted, output information is obtained and exports institute
State output information.
Optionally, before described according to the data format of request model conversion input information, the method also includes:
According to the corresponding request model of the input acquisition of information, the request model is the envelope according to the input information
What dress device mark and first object attribute-bit constructed.
Optionally, described after receiving input information, the data format according to request model conversion input information includes:
The first object format of the corresponding input information is obtained according to first object attribute-bit in the request model,
The first object format is data format compatible with the external service;
By the Data Format Transform of the input information to the first object format.
Optionally, the input information after the format by change data according to the request model it is corresponding request standardize into
Row encapsulation, obtains solicited message and sends the solicited message, to call external service to include:
The wrapper of the corresponding input information is obtained according to the wrapper mark in the request model;
The input information after the conversion data format is packaged by the wrapper, obtains solicited message.
Optionally, the response message is disassembled in the model according to response corresponding response specification, is rung
Before answering information segment, the method also includes:
According to the corresponding response model of the response information acquisition, the response model is the solution according to the output information
What parser mark and the second objective attribute target attribute mark constructed.
Optionally, described after receiving the solicited message corresponding response message, the corresponding sound of model according to response
It should standardize and disassemble the response message, obtaining response message segment includes:
The resolver of the corresponding response message is obtained according to resolver mark in the response model;
The response message is disassembled by the resolver, obtains response message segment.
Optionally, described that the data format of the response message segment is converted according to the response model, obtain output letter
It ceases and exports the output information and include:
The second object format of the corresponding input information is obtained according to the second objective attribute target attribute mark in the response model,
Second object format is data format compatible with the input information;
By the Data Format Transform of the response message segment to second object format, obtain corresponding to second mesh
The output information of mark.
Second aspect, the present invention also provides a kind of external service calling device, which includes:
First converting unit, for inputting the data lattice of information according to request model conversion after receiving input information
Formula;
Encapsulation unit, for the input information after the first converting unit change data format to be asked modulus according to described
The corresponding request specification of type is packaged, and obtains solicited message;
Transmission unit obtains solicited message for that will send the encapsulation unit, to call external service;
Unit is disassembled, for after receiving the solicited message corresponding response message, model to be corresponding according to response
Response specification disassembles the response message, obtains response message segment;
Second converting unit, for converting the response message segment that the dismantling unit obtains according to the response model
Data format, obtain output information
Output unit, the output information obtained for exporting second converting unit.
Optionally, described device further include:
Acquiring unit, for according to the corresponding request model of the input acquisition of information, the request model to be according to institute
What the wrapper mark and first object attribute-bit for stating input information constructed.
Optionally, first converting unit includes:
Module is obtained, for obtaining the corresponding input information according to first object attribute-bit in the request model
First object format, the first object format are data format compatible with the external service;
Conversion module, the first object for obtaining the Data Format Transform of the input information to the acquisition module
Format.
Optionally, the encapsulation unit includes:
Module is obtained, for obtaining the encapsulation of the corresponding input information according to the wrapper mark in the request model
Device;
Package module, the wrapper for being obtained by the acquisition module believe the input after the conversion data format
Breath is packaged, and obtains solicited message.
Optionally, described device further include:
The acquiring unit is also used to according to the corresponding response model of the response information acquisition, and the response model is
It is constructed according to the resolver of output information mark and the second objective attribute target attribute mark.
Optionally, the dismantling unit includes:
Module is obtained, for obtaining the parsing of the corresponding response message according to resolver mark in the response model
Device;
Module is disassembled, the resolver for obtaining by the acquisition module disassembles the response message, obtains
Response message segment.
Optionally, second converting unit includes:
Module is obtained, for obtaining the corresponding input information according to the second objective attribute target attribute mark in the response model
Second object format, second object format are data format compatible with the input information;
Conversion module, second for obtaining the Data Format Transform of the response message segment to the acquisition module
Object format obtains the output information for corresponding to second target identification.
To achieve the goals above, according to the third aspect of the invention we, a kind of storage medium, the storage medium are provided
Program including storage, wherein equipment where controlling the storage medium in described program operation executes described above outer
Portion's service calling method.
To achieve the goals above, according to the fourth aspect of the invention, a kind of processor is provided, the processor is used for
Run program, wherein described program executes external service call method described above when running.
By above-mentioned technical proposal, external service call method and device provided by the invention are adjusting the prior art
It when with external service, needs to write different calling functions for different services, and then it is biggish to cause system resource to occupy
Problem, the present invention will be by that according to the data format of request model conversion input information, and will convert after receiving input information
Input information after data format is packaged according to the corresponding request specification of the request model, obtains solicited message, concurrently
The solicited message is sent, to call external service.Meanwhile after receiving the corresponding response message of the solicited message, root
The response message is disassembled according to response model corresponding response specification, obtains response message segment, and according to the sound
Model is answered, the data format of the response message segment is converted, output information is obtained and exports the output information, to realize
To the calling function of external service, therefore compared with the prior art, the present invention passes through using request model and inputs of information
Match and response model is matched with output information, change the prior art when needing to call different services, because inputting information
And output information variation and lead to the problem of need to writing multiple calling functions, reduce call function or program write number
Amount, and then reduce the occupancy to system resource.Meanwhile for the different request model of different input information matches, difference
Output information match different response models, the calling process of external service can be made more flexible, and by request
The definition of model and response model can carry out the further extension need different with reality to the two models when needed
It asks, improves the convenience of external service calling.
The above description is only an overview of the technical scheme of the present invention, in order to better understand the technical means of the present invention,
And it can be implemented in accordance with the contents of the specification, and in order to allow above and other objects of the present invention, feature and advantage can
It is clearer and more comprehensible, the followings are specific embodiments of the present invention.
Detailed description of the invention
By reading the following detailed description of the preferred embodiment, various other advantages and benefits are common for this field
Technical staff will become clear.The drawings are only for the purpose of illustrating a preferred embodiment, and is not considered as to the present invention
Limitation.And throughout the drawings, the same reference numbers will be used to refer to the same parts.In the accompanying drawings:
Fig. 1 shows a kind of external service call method flow chart provided in an embodiment of the present invention;
Fig. 2 shows another external service call method flow charts provided in an embodiment of the present invention;
Fig. 3 shows a kind of composition block diagram of external service calling device provided in an embodiment of the present invention;
Fig. 4 shows the composition block diagram of another external service calling device provided in an embodiment of the present invention.
Specific embodiment
Exemplary embodiments of the present disclosure are described in more detail below with reference to accompanying drawings.Although showing the disclosure in attached drawing
Exemplary embodiment, it being understood, however, that may be realized in various forms the disclosure without should be by embodiments set forth here
It is limited.On the contrary, these embodiments are provided to facilitate a more thoroughly understanding of the present invention, and can be by the scope of the present disclosure
It is fully disclosed to those skilled in the art.
In order to improve the accuracy of user requirements analysis result, the embodiment of the invention provides a kind of external service called sides
Method, as shown in Figure 1, this method comprises:
101, after receiving input information, according to the data format of request model conversion input information.
In general, when needing to call a service, it is necessary first to determine the solicited message for calling the service, by
Calling between service is realized based on request and response, and therefore, the generation and determination of solicited message just become very
It is important.However, in practical applications, due to system outside service and system in program or function between may be different volume
What Cheng Yuyan write, and all there is difference in code format in these language or data structure, when a service was carrying out
When needing the external service outside calling system in journey, the format of the two code is probably different.Therefore, of the invention real
It applies in external service call method described in example, it is necessary first to convert the format for inputting information to object format.
Wherein, object format described in this step is determined according to request model, and the request model can be silent for system
Recognize, be also possible to according to the needs of users determined by, do not do specific restriction herein, can according to need selection.But
Ensure to request comprising the correlation attribute information required for format conversion in model, so as to according to the request model, really
Surely the data format converted needed for input information, meanwhile, it is also to be ensured that according to the data format energy obtained after request model conversion
Enough systems or program by where called service are identified.Certainly, in this step, the conversion of data format can basis
Mode in the prior art carries out, it is not limited here.
102, the input information after change data format is packaged according to the corresponding request specification of the request model,
It obtains solicited message and sends the solicited message, to call external service.
It in this step, can be according to the request in request model after having carried out format conversion to the input information
Specification is packaged operation to the input information after the conversion, the solicited message after being encapsulated.Specifically, being packaged operation
Mode and program can be executed by preset function or program.Since the solicited message is to be used to call external service
Information, therefore, after obtaining the solicited message, where needing to carry out the solicited message to be sent to corresponding called service
Program or system in so that corresponding service is responded accordingly.
It should be noted that in embodiments of the present invention, in the request model may include information-related with input
The relevant information of attribute information, request specification and canned program, can be according to request model generation pair to input information
The solicited message answered.
103, after receiving the solicited message corresponding response message, the corresponding response specification of model will according to response
The response message is disassembled, and response message segment is obtained.
Purpose due to sending request is to call corresponding service, and its basic goal is to obtain called service
It is obtained as a result, therefore, after the called service feedback response message of corresponding requests information, called side can receive this
The result that external service is fed back.It under normal circumstances, include a large amount of data in the response message of feedback, and among these not
Be all data all be call external service when it is required, and the feedback information be with one encapsulate data packet form deposit
, to obtain internal actually required data, it is also necessary to be disassembled to the response message.Therefore, in this step, may be used
Response message segment to be disassembled the response message by the response specification of response model, after being disassembled.Wherein, originally
The response message data format required when being converted into output information is contained in response model described in inventive embodiments, together
When, it is different based on response specification defined in not homologous ray or program, therefore corresponding different specification has different responses
Model, also just because of this, when model disassembles response message according to response, it is also necessary to according to different response specifications come
Corresponding response model is chosen, certainly, herein specific restriction is not done for the selection of response model, specifically, according further to
Actual conditions select.
104, according to the response model, the data format of the response message segment is converted, obtains output information and defeated
The output information out.
After step 103 dismantling, for the response message segment after dismantling, it is also necessary to carry out the conversion of data format.Tool
Body, as described in step 101, different services may be different what programming language was write in different systems, because
This return data format be also likely to it is distinct with the data format of called side, thus, it is desirable to according to response in model
Attribute information is come the format converted needed for determining.Simultaneously as the data for including in response message are all not the calling of service
Required for side, and the response message data volume may it is larger, therefore, may include in response model attribute information,
For disassemble response message dismantling program and response specification etc. information, so as to receive response message can be according to the sound
Model is answered to carry out dismantling and the conversion of format.
Specifically, during carrying out the dismantling of response message, it is thus necessary to determine that being held by which program during disassembling
Row dismantling behavior, wherein in embodiments of the present invention, can be by defining specific dismantling program in response model.Meanwhile
For different response models, inside the dismantling program that defines may be it is different, this is determined based on different response specifications
It is fixed, it also just so, in embodiments of the present invention can be by defining corresponding dismantling program or disassembling device in response model
To ensure which kind of program to execute the function of dismantling behavior during realization is disassembled by.In addition, after dismantling program has been determined,
Also it needs to be determined that response specification corresponding to response model in this step.Wherein, different response specifications is determined to work as and be received
When different response message, the difference information such as quantity, fragment data amount of the segment after required fractionation.Certainly, for specific
Dismantling mode, dismantling process and indistinction with existing response message, does not do specific restriction, herein to select in actual conditions
The specific dismantling program and corresponding specific response specification taken is determined.In this way, response message can be made with more after disassembling
The form of a response message segment exists, and can avoid response message data volume larger in subsequent transmission, lead to single transmission
When shortage of data that may be present, it is ensured that the accuracy of data, also, when including the unwanted number of requesting party in response message
According to when, can be avoided and transmit invalid segment, and then avoid the redundancy in output information, invalid information, and then reduce
The data volume of required transmission.
In addition, in this step, the response model can be system default, or the instruction through user to generate
, it is can according to need herein to be set, does not do specific restriction herein.Simultaneously, it is to be ensured that the output of format transformation is believed
Breath can be identified by the called side of external service.As carrying out external service calling process described in the embodiment of the present invention
In, the process for sending request is corresponded to each other with the process for receiving response, and therefore, in above-mentioned steps, the format for inputting information can
It can be corresponding with the format of output information.It is of course also possible to when user is arranged accordingly or has been assigned the instruction of format,
The format for inputting information may also be different from the format of output information, here, not doing specific restriction, progress can be actually needed
Setting.
External service call method provided in an embodiment of the present invention is needed for the prior art when calling external service
Different calling functions is write for different services, and then system resource is caused to occupy larger problem, and the present invention passes through benefit
It is matched with the matching and response model for inputting information with output information with request model, changing the prior art ought need to adjust
When with different services, leads to the problem of need to writing multiple calling functions because inputting the variation of information and output information, reduce
That calls function or program writes quantity, and then reduces the occupancy to system resource.Meanwhile for different input information
Match different request models, different output informations matches different response models, the calling process of external service can be made
It is more flexible, and by the definition to request model and response model, the two models can be carried out into one when needed
The extension of the step demand different with reality, improves the convenience of external service calling.
Further, as the refinement and extension to embodiment illustrated in fig. 1, the embodiment of the invention also provides outside another kind
Portion's service calling method, as shown in Figure 2.
201, according to the corresponding request model of input acquisition of information.
Wherein, the request model is the wrapper mark and the building of first object attribute-bit according to the input information
's.The external service call method as described in the embodiment of the present invention is to be based on implementing on the basis of request model and response model
, simultaneously as different input information needs the external service called to be different, and different external services is carrying out
It is to follow different request specifications when calling.As a result, for call needed for different input information it is different service, need by
It is converted into different solicited messages, so as to it is subsequent call service when can by the system identification where servicing, therefore, this
In inventive embodiments, after receiving input information, it is necessary first to which which kind of request the request model for determining corresponding input information is
Model, to be converted according to the request model to input information.
The method according to this step as a result, it is corresponding according to the input acquisition of information after receiving input information
Request model.Wherein, the request model in the embodiment of the present invention can be according to after different solicited message inputs every time, by with
What family defined, it can also be user's preset in advance according to actual needs, here, having for requesting building time of model not done
The restriction of body, can according to need and voluntarily choose.It should be noted that in embodiments of the present invention, the request model
Building be based on request specification building, including input information corresponding wrapper mark and the first attribute-bit,
In, the first attribute-bit described in the embodiment of the present invention is to input information to be believed according to the set corresponding attribute of request specification
Breath, the attribute information are mainly used for determining the format of input information required conversion in the format conversion process of subsequent step, institute
Wrapper mark is stated when being then for determining that the input information is packaged operation in the next steps, is by which encapsulation
Program or functional function are performed.In other words, in embodiments of the present invention, input information is defined in the request model
Two required important parameters when being converted into solicited message:, can be with according to the first attribute-bit one is the first attribute-bit
Determine that input information needs to be converted to the data of which kind of form when carrying out Data Format Transform;The second is wrapper identifies, root
It can determine according to wrapper mark when information change data format will be inputted, is performed by which kind of program or function.
Therefore, in step, when get request model after, actually determined that input information in subsequent conversion process, institute
The data format of the wrapper and required conversion that need to use.
The method according to this step, according to the different corresponding request models of input acquisition of information, it can be ensured that
Accuracy when the corresponding solicited message of subsequent generation, and then ensure the subsequent accuracy called to different external services.
Simultaneously as different request models is constructed according to corresponding first attribute information of input information and wrapper, it can be true
Guarantor constructs different request models when there is different input information, and then makes outer service call side described in the embodiment of the present invention
Method is more flexible.
202, after receiving input information, according to the data format of request model conversion input information.
Since the language of writing between different services is different, it is therefore desirable to which the input information is carried out format
Conversion, to ensure that the solicited message being subsequently generated can be by the system where external service when carrying out the calling of external service
Or program is identified.It, can basis after the request model for getting the corresponding input information in abovementioned steps 201 as a result,
The data format of request model conversion input information.
Specifically, this step can specifically include: being corresponded to firstly, being obtained according to first object attribute-bit in request model
The first object format of the input information.Then, by the Data Format Transform of the input information to the first object lattice
Formula.Wherein, the first object format is data format compatible with the external service, and the data format then can be
It is determined according to the first attribute information in request model.Due to during calling external service, it is understood that there may be multiple defeated
The external service for entering information, therefore calling be also likely to be it is multiple, needing before calling different services as a result, will be different defeated
Enter information to convert to corresponding data format, i.e. first object format described in this step.
It should be noted that in this step, the first object format can be according to first attribute information
Determining corresponding data format, can also be with the data format of first attribute information, here, specific setting can basis
It needs to be defined when requesting model construction, it is not limited here, can be configured according to actual needs.
According to the method for this step, corresponding first object is obtained by the first attribute information defined in request model
Format, and then the input information is converted to the first object format, it can further ensure to input the data lattice of information
The accuracy of formula conversion, and then ensure the accuracy for the solicited message being subsequently generated, to preferably improve based on described
Request the overall accuracy of the external service call method of model.
203, the input information after change data format is packaged according to the corresponding request specification of the request model,
It obtains solicited message and sends the solicited message, to call external service.
After step 202 change data format, the data format of the input information have converted to external service
Compatible data format, due to what is carried out based on request with response when carrying out the calling of external service, in this step
It needs to be converted the input information of change data format to corresponding solicited message according to request specification in rapid.Since different are asked
Corresponding different external service is sought, meanwhile, different solicited messages has its corresponding request specification, is generating correspondence as a result,
Solicited message when it needs to be determined which kind of solicited message is the input information after format transformation need to be converted into, by which wrapper
It is packaged, as a result, needs to determine wrapper corresponding to current input information from request model first in this step
Mark, and then be packaged according to the mark using the wrapper of the corresponding mark, obtain corresponding solicited message.Specifically
, the process for generating solicited message can be with are as follows: firstly, obtaining corresponding input letter according to the wrapper mark in request model
Then input information after the conversion data format is packaged by the wrapper of breath by the wrapper that gets, obtain pair
The solicited message answered.Wherein, the mark of wrapper described in this step is for when there are multiple wrappers or encapsulation in system
Which kind of which kind of need to call corresponding to external service and corresponding request specification for determining current input information when program
Wrapper.
In this step, the process that the wrapper is packaged the input information after change data format can basis
Predistribution Algorithm or packing rule in the prior art carry out, it is not limited here.But it is ensured that wrapper is carrying out data
Encapsulation process so that when obtaining solicited message, the process of encapsulation is to be standardized according to the corresponding request of input information to carry out,
Accuracy with the solicited message for ensuring to generate.
The input after format transformation is believed by obtaining the wrapper of corresponding wrapper mark in request model as a result,
Breath is packaged, and is avoided when, there are when multiple wrappers or canned program, calling the Problem-Error of wrapper, in turn in system
The accuracy for improving encapsulation process, then makes solicited message more accurate, improves the standard of external service calling process on the whole
True property.
204, the corresponding response model of acquisition of information according to response.
In practical applications, since the external service quantity of calling may be response messages that are multiple, receiving
May be to be multiple, and different response message needs to standardize using different responses to carry out the conversion of format and tearing open for data
Solution after receiving the response message that external service is fed back, needs to be believed according to the response as a result, in embodiments of the present invention
Breath obtains corresponding response model, after being carried out using the second objective attribute target attribute predefined in model mark and resolver
Continuous processing.Meanwhile in this step, the setting of the response model can according to need, according to different output informations
The mode of corresponding resolver mark and the second objective attribute target attribute mark is matched to construct.Wherein, the second objective attribute target attribute mark
Know the parameter of the change data format actually when response message need to be converted into output information.As a result, when receive response
After information, subsequent behaviour can be carried out to the response message by obtaining response model corresponding to the response message
Make, it is ensured that the subsequent accuracy to response message parsing, and then ensure that external service calls the accuracy of feedback result.This
Outer response model can be constructed by way of matching corresponding resolver and the second objective attribute target attribute according to actual needs, really
It has protected when there are different response messages, different response models can be constructed as needed, to export corresponding output
Information, it is ensured that response model it is rich, and then it is preferable to have external service call method described in the embodiment of the present invention
Scalability.
In this step, response model can be according to the resolver mark and the second objective attribute target attribute mark by output information
Building.Specifically, can be constructed by the set information of system default when constructing the response model, it can also
It is instructed with the building assigned according to user to carry out, can specifically be carried out as required, also, construct the response model
Time can be to carry out external service call method described in the embodiment of the present invention preset before execution, can also be with
It is that user temporarily sets according to calling different every time, it is not limited here, can be chosen according to actual demand.
205, after receiving the solicited message corresponding response message, the corresponding response specification of model will according to response
The response message is disassembled, and response message segment is obtained.
After having got the request model in step 204, since the response message received is there are many a bands
The data packet of data, inside include a variety of data in be not all required for the called side of external service, therefore, at this
Step summarizes needs and is disassembled according to the request model to the response message received, specifically, this step may include: head
First, resolver mark obtains the resolver for corresponding to the response message in model according to response.It then, will by the resolver
The response message is disassembled, and response message segment is obtained.
Under normal conditions, there is the case where calling multiple external services when calling external service, therefore work as response message
Quantity be it is multiple when, need to disassemble different response messages according to different response models, due to different dismantlings
Device corresponds to different response messages, and therefore, it is necessary to identify to ensure disassembling device corresponding to current response message by disassembling device
Which is.And currently received response message is disassembled using the disassembling device after determining disassembling device, obtain response letter
Cease segment.
As a result, by disassembling device mark predefined in request model, can determine for disassembling current response message
Disassembling device, and then ensure the accuracy of the dismantling process of response message, to improve outside described in the embodiment of the present invention
The accuracy of service call result.
206, according to the response model, the data format of the response message segment is converted, obtains output information and defeated
The output information out.
After obtaining response message segment, since there may be differences for the programming code between different services, it is therefore desirable to
The format of data is converted, to ensure that the called side of external service can identify the fed back response letter of called service
Breath.As a result, in this step, need to carry out response message segment obtained in abovementioned steps 205 conversion of data format, tool
Body, method described in this step can be with are as follows: firstly, to obtain correspondence described defeated for the second objective attribute target attribute mark in model according to response
Enter the second object format of information, then, by the Data Format Transform of the response message segment to second object format,
Obtain corresponding to the output information of second target identification.Wherein, second object format is mutually to fit with the input information
The data format matched.
It should be noted that under normal circumstances, the data format of output information and the data format of input information are one
Cause, but there is also some special circumstances, if including user setting output information format order the case where, this
In the case of be subject to the format order of user setting.And if user is not when assigning the format order about output information, system
It is identical that the output information, which can generally be defaulted, with the data format for inputting information.
As a result, by the second attribute information in response model by the Data Format Transform of response message segment to corresponding
Second object format, it is ensured that the data format of output information can be identified by the called side of external service, and then be ensured
The accuracy of external service call result.
In addition, it is necessary to explanation, the first attribute information described in the embodiment of the present invention, the second attribute information, first
In the different technical characteristics such as object format, the second object format, " first, the second " is not the meaning of sequencing, only
To be acted on as the differentiation between two attribute informations and two object formats, and specific two attribute informations or two targets
Whether format is identical, then is determines according to actual conditions, not do specific restriction herein, can be determined by actual conditions.
Further, as the realization to method shown in above-mentioned Fig. 1, the embodiment of the invention also provides a kind of external services
Calling device, for being realized to above-mentioned method shown in FIG. 1.The Installation practice is corresponding with preceding method embodiment, is
Easy to read, present apparatus embodiment no longer repeats the detail content in preceding method embodiment one by one, it should be understood that
Device in the present embodiment can correspond to the full content realized in preceding method embodiment.As shown in figure 3, the device includes:
First converting unit 31, encapsulation unit 32, transmission unit 33, dismantling unit 34, the second converting unit 35 and output unit 36,
Wherein
First converting unit 31 can be used for after receiving input information, according to request model conversion input information
Data format.
Encapsulation unit 32 can be used for the input information after the 31 change data format of the first converting unit according to institute
It states the corresponding request specification of request model to be packaged, obtains solicited message.
Transmission unit 33 can be used for send the encapsulation unit 32 and obtain solicited message, to call external service.
Unit 34 is disassembled, can be used for after receiving the solicited message corresponding response message, according to response model
Corresponding response specification disassembles the response message, obtains response message segment.
Second converting unit 35 can be used for converting the response that the dismantling unit 34 obtains according to the response model
The data format of information segment obtains output information
Output unit 36 can be used for exporting the output information that second converting unit 35 obtains.
Further, as the realization to method shown in above-mentioned Fig. 2, the embodiment of the invention also provides take outside another kind
Business calling device, for being realized to above-mentioned method shown in Fig. 2.The Installation practice is corresponding with preceding method embodiment,
To be easy to read, present apparatus embodiment no longer repeats the detail content in preceding method embodiment one by one, but it should bright
Really, the device in the present embodiment can correspond to the full content realized in preceding method embodiment.As shown in figure 4, the device packet
It includes: the first converting unit 41, encapsulation unit 42, transmission unit 43, dismantling unit 44, the second converting unit 45 and output unit
46, wherein
First converting unit 41 can be used for after receiving input information, according to request model conversion input information
Data format.
Encapsulation unit 42 can be used for the input information after the 41 change data format of the first converting unit according to institute
It states the corresponding request specification of request model to be packaged, obtains solicited message.
Transmission unit 43 can be used for send the encapsulation unit 42 and obtain solicited message, to call external service.
Unit 44 is disassembled, can be used for after receiving the solicited message corresponding response message, according to response model
Corresponding response specification disassembles the response message, obtains response message segment.
Second converting unit 45 can be used for converting the response that the dismantling unit 44 obtains according to the response model
The data format of information segment obtains output information
Output unit 46 can be used for exporting the output information that second converting unit 45 obtains.
Further, described device further include:
Acquiring unit 47 can be used for according to the corresponding request model of the input acquisition of information and be sent to the first conversion
In unit 41 and encapsulation unit 42, the request model is the wrapper mark and first object attribute according to the input information
Mark building.
Further, first converting unit 41 includes:
Module 411 is obtained, can be used for obtaining correspondence according to first object attribute-bit in the request model described defeated
Enter the first object format of information, the first object format is data format compatible with the external service.
Conversion module 412 can be used for obtaining Data Format Transform to the acquisition module 411 of the input information
First object format.
Further, the encapsulation unit 42 includes:
Module 421 is obtained, can be used for obtaining the corresponding input letter according to the wrapper mark in the request model
The wrapper of breath.
Package module 422, the wrapper that can be used for obtaining by the acquisition module 421 is by the conversion data format
Input information afterwards is packaged, and obtains solicited message.
Further, described device further include:
The acquiring unit 47 is also used to according to the corresponding response model of the response information acquisition and is sent to dismantling list
In member 44 and the second converting unit 45, the response model is according to the resolver of output information mark and the second target category
Property mark building.
Further, the dismantling unit 44 includes:
Module 441 is obtained, can be used for obtaining the corresponding response message according to resolver mark in the response model
Resolver.
Module 442 is disassembled, can be used for carrying out the response message by the resolver that the acquisition module 441 obtains
Dismantling, obtains response message segment.
Further, second converting unit 45 includes:
Module 451 is obtained, can be used for obtaining correspondence according to the second objective attribute target attribute mark in the response model described defeated
Enter the second object format of information, second object format is data format compatible with the input information.
Conversion module 452 can be used for the Data Format Transform of the response message segment to the acquisition module 451
The second object format obtained, obtains the output information for corresponding to second target identification.
By above-mentioned technical proposal, a kind of external service call method and device provided in an embodiment of the present invention, for existing
There is technology when calling external service, needs to write different calling functions for different services, and then lead to system resource
Larger problem is occupied, the present invention, which passes through, utilizes the matching of request model and input information and response model and output information
Matching, changes the prior art when needing to call different services, causes to need because inputting the variation of information and output information
The problem of writing multiple calling functions, reduce call function or program write quantity, and then reduce to system resource
It occupies.Meanwhile different response moulds is matched for the different request model of different input information matches, different output informations
Type can make the calling process of external service more flexible, and pass through the definition to request model and response model, Neng Gou
The further extension demand different with reality is carried out to the two models when needing, improves the convenient of external service calling
Property.
In addition, according to the different corresponding request models of input acquisition of information, it can be ensured that corresponding in subsequent generation
Accuracy when solicited message, and then ensure the subsequent accuracy called to different external services.Also, since different are asked
Modulus type construct according to corresponding first attribute information of input information and wrapper, it can be ensured that when there is different inputs to believe
Different request models is constructed when breath, and then is more flexible outer service calling method described in the embodiment of the present invention.
Further, corresponding first object format is obtained by the first attribute information defined in request model, into
And input information dress is shifted into the first object format, it can further ensure to input the Data Format Transform of information
Accuracy, and then further ensure the accuracy for the solicited message being subsequently generated, to preferably improve based on described
Request the overall accuracy of the external service call method of model.Meanwhile by obtaining corresponding wrapper mark in request model
The wrapper of knowledge is packaged the input information after format transformation, avoids when there are multiple wrappers or encapsulation in system
When program, in fact it could happen that call the Problem-Error of wrapper, and then the accuracy of the encapsulation process improved, then make solicited message
It is more accurate, the accuracy of external service calling process is improved on the whole.
In addition, after receiving response message, can by obtain response model corresponding to the response message come pair
The response message carries out subsequent operation, it is ensured that the subsequent accuracy to response message parsing, and then ensure that external clothes
The accuracy of feedback result is called in business.Also, it by disassembling device mark predefined in request model, can determine for disassembling
The disassembling device of current response message, and then ensure the accuracy of the dismantling process of response message, to improve of the invention real
Apply the accuracy of external service call result described in example.By the second attribute information in response model by response message segment
Data Format Transform to corresponding second object format, it is ensured that the data format of output information can be by the tune of external service
It is identified with side, and then ensures the accuracy of external service call result.
In addition, response model can be according to actual needs by way of matching corresponding resolver and the second objective attribute target attribute
It is constructed, it is ensured that when there are different response messages, different response models can be constructed, as needed to export
Corresponding output information, also, requesting model is also to be constructed according to actual needs, in this way by according to different need
Construct different request model and response model, it is ensured that the scalability of request model and response model, and then make this hair
External service call method described in bright embodiment has preferable scalability.
The external service calling device includes processor and memory, above-mentioned first converting unit, encapsulation unit, transmission
Unit, dismantling unit, the second converting unit and output unit etc. are stored as program unit in memory, by processor
Above procedure unit stored in memory is executed to realize corresponding function.
Include kernel in processor, is gone in memory to transfer corresponding program unit by kernel.Kernel can be set one
Or more, it is realized in the calling process of external service by adjusting kernel parameter, solves to write not for different services
The problem of same calling function or program, and then reduce the occupancy to system resource.
Memory may include the non-volatile memory in computer-readable medium, random access memory (RAM) and/
Or the forms such as Nonvolatile memory, if read-only memory (ROM) or flash memory (flash RAM), memory include that at least one is deposited
Store up chip.
The embodiment of the invention provides a kind of storage mediums, are stored thereon with program, real when which is executed by processor
The existing external service call method.
The embodiment of the invention provides a kind of processor, the processor is for running program, wherein described program operation
External service call method described in Shi Zhihang.
The embodiment of the invention provides a kind of equipment, equipment include processor, memory and storage on a memory and can
The program run on a processor, processor are performed the steps of when executing program after receiving input information, according to request
The data format of model conversion input information;Input information after change data format is asked according to the request model is corresponding
It asks specification to be packaged, obtain solicited message and sends the solicited message, to call external service;When receiving described ask
After seeking the corresponding response message of information, the corresponding response specification of model disassembles the response message according to response, obtains
Response message segment;According to the response model, the data format of the response message segment is converted, obtains output information and defeated
The output information out.
Further, before described according to the data format of request model conversion input information, the method also includes:
According to the corresponding request model of the input acquisition of information, the request model is the envelope according to the input information
What dress device mark and first object attribute-bit constructed.
Further, described after receiving input information, according to the data format packet of request model conversion input information
It includes:
The first object format of the corresponding input information is obtained according to first object attribute-bit in the request model,
The first object format is data format compatible with the external service;
By the Data Format Transform of the input information to the first object format.
Further, the input information after the format by change data is standardized according to the corresponding request of the request model
It is packaged, obtains solicited message and sends the solicited message, to call external service to include:
The wrapper of the corresponding input information is obtained according to the wrapper mark in the request model;
The input information after the conversion data format is packaged by the wrapper, obtains solicited message.
Further, the response message is disassembled in the model according to response corresponding response specification, is obtained
Before response message segment, the method also includes:
According to the corresponding response model of the response information acquisition, the response model is the solution according to the output information
What parser mark and the second objective attribute target attribute mark constructed.
Further, described after receiving the solicited message corresponding response message, model is corresponding according to response
Response specification disassembles the response message, and obtaining response message segment includes:
The resolver of the corresponding response message is obtained according to resolver mark in the response model;
The response message is disassembled by the resolver, obtains response message segment.
Further, described according to the response model, the data format of the response message segment is converted, is exported
Information simultaneously exports the output information and includes:
The second object format of the corresponding input information is obtained according to the second objective attribute target attribute mark in the response model,
Second object format is data format compatible with the input information;
By the Data Format Transform of the response message segment to second object format, obtain corresponding to second mesh
The output information of mark.
Equipment in the embodiment of the present invention can be server, PC, PAD, mobile phone etc..
The embodiment of the invention also provides a kind of computer program products, when executing on data processing equipment, are suitable for
Execute the program of initialization there are as below methods step: after receiving input information, according to request model conversion input information
Data format;Input information after change data format is packaged according to the corresponding request specification of the request model, is obtained
To solicited message and the solicited message is sent, to call external service;When receiving the corresponding response of the solicited message
After information, the corresponding response specification of model disassembles the response message according to response, obtains response message segment;According to
The response model converts the data format of the response message segment, obtains output information and exports the output information.
Further, before described according to the data format of request model conversion input information, the method also includes:
According to the corresponding request model of the input acquisition of information, the request model is the envelope according to the input information
What dress device mark and first object attribute-bit constructed.
Further, described after receiving input information, according to the data format packet of request model conversion input information
It includes:
The first object format of the corresponding input information is obtained according to first object attribute-bit in the request model,
The first object format is data format compatible with the external service;
By the Data Format Transform of the input information to the first object format.
Further, the input information after the format by change data is standardized according to the corresponding request of the request model
It is packaged, obtains solicited message and sends the solicited message, to call external service to include:
The wrapper of the corresponding input information is obtained according to the wrapper mark in the request model;
The input information after the conversion data format is packaged by the wrapper, obtains solicited message.
Further, the response message is disassembled in the model according to response corresponding response specification, is obtained
Before response message segment, the method also includes:
According to the corresponding response model of the response information acquisition, the response model is the solution according to the output information
What parser mark and the second objective attribute target attribute mark constructed.
Further, described after receiving the solicited message corresponding response message, model is corresponding according to response
Response specification disassembles the response message, and obtaining response message segment includes:
The resolver of the corresponding response message is obtained according to resolver mark in the response model;
The response message is disassembled by the resolver, obtains response message segment.
Further, described according to the response model, the data format of the response message segment is converted, is exported
Information simultaneously exports the output information and includes:
The second object format of the corresponding input information is obtained according to the second objective attribute target attribute mark in the response model,
Second object format is data format compatible with the input information;
By the Data Format Transform of the response message segment to second object format, obtain corresponding to second mesh
The output information of mark.
It should be understood by those skilled in the art that, embodiments herein can provide as method, system or computer program
Product.Therefore, complete hardware embodiment, complete software embodiment or reality combining software and hardware aspects can be used in the application
Apply the form of example.Moreover, it wherein includes the computer of computer usable program code that the application, which can be used in one or more,
The computer program implemented in usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) produces
The form of product.
The application is referring to method, the process of equipment (system) and computer program product according to the embodiment of the present application
Figure and/or block diagram describe.It should be understood that every one stream in flowchart and/or the block diagram can be realized by computer program instructions
The combination of process and/or box in journey and/or box and flowchart and/or the block diagram.It can provide these computer programs
Instruct the processor of general purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices to produce
A raw machine, so that being generated by the instruction that computer or the processor of other programmable data processing devices execute for real
The device for the function of being specified in present one or more flows of the flowchart and/or one or more blocks of the block diagram.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing devices with spy
Determine in the computer-readable memory that mode works, so that it includes referring to that instruction stored in the computer readable memory, which generates,
Enable the manufacture of device, the command device realize in one box of one or more flows of the flowchart and/or block diagram or
The function of being specified in multiple boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device, so that counting
Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, thus in computer or
The instruction executed on other programmable devices is provided for realizing in one or more flows of the flowchart and/or block diagram one
The step of function of being specified in a box or multiple boxes.
In a typical configuration, calculating equipment includes one or more processors (CPU), input/output interface, net
Network interface and memory.
Memory may include the non-volatile memory in computer-readable medium, random access memory (RAM) and/
Or the forms such as Nonvolatile memory, such as read-only memory (ROM) or flash memory (flash RAM).Memory is computer-readable Jie
The example of matter.
Computer-readable medium includes permanent and non-permanent, removable and non-removable media can be by any method
Or technology come realize information store.Information can be computer readable instructions, data structure, the module of program or other data.
The example of the storage medium of computer includes, but are not limited to phase change memory (PRAM), static random access memory (SRAM), moves
State random access memory (DRAM), other kinds of random access memory (RAM), read-only memory (ROM), electric erasable
Programmable read only memory (EEPROM), flash memory or other memory techniques, read-only disc read only memory (CD-ROM) (CD-ROM),
Digital versatile disc (DVD) or other optical storage, magnetic cassettes, tape magnetic disk storage or other magnetic storage devices
Or any other non-transmission medium, can be used for storage can be accessed by a computing device information.As defined in this article, it calculates
Machine readable medium does not include temporary computer readable media (transitory media), such as the data-signal and carrier wave of modulation.
It should also be noted that, the terms "include", "comprise" or its any other variant are intended to nonexcludability
It include so that the process, method, commodity or the equipment that include a series of elements not only include those elements, but also to wrap
Include other elements that are not explicitly listed, or further include for this process, method, commodity or equipment intrinsic want
Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including element
There is also other identical elements in process, method, commodity or equipment.
It will be understood by those skilled in the art that embodiments herein can provide as method, system or computer program product.
Therefore, complete hardware embodiment, complete software embodiment or embodiment combining software and hardware aspects can be used in the application
Form.It is deposited moreover, the application can be used to can be used in the computer that one or more wherein includes computer usable program code
The shape for the computer program product implemented on storage media (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.)
Formula.
The above is only embodiments herein, are not intended to limit this application.To those skilled in the art,
Various changes and changes are possible in this application.It is all within the spirit and principles of the present application made by any modification, equivalent replacement,
Improve etc., it should be included within the scope of the claims of this application.
Claims (10)
1. a kind of external service call method, which is characterized in that the described method includes:
After receiving input information, according to the data format of request model conversion input information;
Input information after change data format is packaged according to the corresponding request specification of the request model, is requested
Information simultaneously sends the solicited message, to call external service;
After receiving the solicited message corresponding response message, the corresponding response specification of model is by the response according to response
Information is disassembled, and response message segment is obtained;
According to the response model, the data format of the response message segment is converted, obtain output information and is exported described defeated
Information out.
2. the method according to claim 1, wherein in the data according to request model conversion input information
Before format, the method also includes:
According to the corresponding request model of the input acquisition of information, the request model is the wrapper according to the input information
What mark and first object attribute-bit constructed.
3. according to the method described in claim 2, it is characterized in that, it is described when receive input information after, according to request model
Conversion input information data format include:
The first object format of the corresponding input information is obtained according to first object attribute-bit in the request model, it is described
First object format is data format compatible with the external service;
By the Data Format Transform of the input information to the first object format.
4. according to the method described in claim 3, it is characterized in that, the input information after the format by change data is according to institute
It states the corresponding request specification of request model to be packaged, obtains solicited message and send the solicited message, to call outside
Service includes:
The wrapper of the corresponding input information is obtained according to the wrapper mark in the request model;
The input information after the conversion data format is packaged by the wrapper, obtains solicited message.
5. the method according to claim 1, wherein standardizing in the corresponding response of the model according to response by institute
Response message is stated to be disassembled, before obtaining response message segment, the method also includes:
According to the corresponding response model of the response information acquisition, the response model is the resolver according to the output information
What mark and the second objective attribute target attribute mark constructed.
6. according to the method described in claim 5, it is characterized in that, described ought receive the corresponding response letter of the solicited message
After breath, the corresponding response specification of model disassembles the response message according to response, and obtaining response message segment includes:
The resolver of the corresponding response message is obtained according to resolver mark in the response model;
The response message is disassembled by the resolver, obtains response message segment.
7. according to the method described in claim 6, it is characterized in that, described according to the response model, the conversion response letter
Cease segment data format, obtain output information and export the output information include:
The second object format of the corresponding input information is obtained according to the second objective attribute target attribute mark in the response model, it is described
Second object format is data format compatible with the input information;
By the Data Format Transform of the response message segment to second object format, obtain corresponding to the second target mark
The output information of knowledge.
8. a kind of external service calling device, which is characterized in that described device includes:
First converting unit, for inputting the data format of information according to request model conversion after receiving input information;
Encapsulation unit, for by the input information after the first converting unit change data format according to the request model pair
The request specification answered is packaged, and obtains solicited message;
Transmission unit obtains solicited message for that will send the encapsulation unit, to call external service;
Unit is disassembled, for after receiving the solicited message corresponding response message, the corresponding response of model according to response
Specification disassembles the response message, obtains response message segment;
Second converting unit, for converting the number for the response message segment that the dismantling unit obtains according to the response model
According to format, output information is obtained;
Output unit, the output information obtained for exporting second converting unit.
9. a kind of storage medium, which is characterized in that the storage medium includes the program of storage, wherein run in described program
When control the storage medium where equipment perform claim require 1 to the external service tune described in any one of claim 7
Use method.
10. a kind of processor, which is characterized in that the processor is for running program, wherein right of execution when described program is run
Benefit requires 1 to the external service call method described in any one of claim 7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711064999.6A CN109753323A (en) | 2017-11-02 | 2017-11-02 | A kind of external service call method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711064999.6A CN109753323A (en) | 2017-11-02 | 2017-11-02 | A kind of external service call method and device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109753323A true CN109753323A (en) | 2019-05-14 |
Family
ID=66398418
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711064999.6A Pending CN109753323A (en) | 2017-11-02 | 2017-11-02 | A kind of external service call method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109753323A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110750295A (en) * | 2019-09-30 | 2020-02-04 | 联想(北京)有限公司 | Information processing method, device, electronic equipment and storage medium |
CN111104214A (en) * | 2019-12-26 | 2020-05-05 | 北京九章云极科技有限公司 | Workflow application method and device |
CN111314203A (en) * | 2019-11-20 | 2020-06-19 | 北京字节跳动网络技术有限公司 | Communication method, device, medium and electronic equipment |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105872578A (en) * | 2016-03-30 | 2016-08-17 | 青岛海信电器股份有限公司 | Invoking method and server |
CN106648565A (en) * | 2015-10-30 | 2017-05-10 | 北京国双科技有限公司 | Request sending method and apparatus |
-
2017
- 2017-11-02 CN CN201711064999.6A patent/CN109753323A/en active Pending
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106648565A (en) * | 2015-10-30 | 2017-05-10 | 北京国双科技有限公司 | Request sending method and apparatus |
CN105872578A (en) * | 2016-03-30 | 2016-08-17 | 青岛海信电器股份有限公司 | Invoking method and server |
Non-Patent Citations (1)
Title |
---|
STM2263: ""AngularJS $http 异步后台无法获取请求参数"", 《HTTPS://BLOG.CSDN.NET/YY374864125/ARTICLE/DETAILS/41113643》 * |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110750295A (en) * | 2019-09-30 | 2020-02-04 | 联想(北京)有限公司 | Information processing method, device, electronic equipment and storage medium |
CN111314203A (en) * | 2019-11-20 | 2020-06-19 | 北京字节跳动网络技术有限公司 | Communication method, device, medium and electronic equipment |
CN111104214A (en) * | 2019-12-26 | 2020-05-05 | 北京九章云极科技有限公司 | Workflow application method and device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10037443B2 (en) | Industrial simulation using redirected I/O module configurations | |
CN110244977A (en) | Customized software generation method, system, electronic equipment and storage medium | |
CN109753323A (en) | A kind of external service call method and device | |
CN104468592B (en) | Login method and login system | |
Tantik et al. | Potentials of the asset administration shell of Industrie 4.0 for service-oriented business models | |
CN110020353A (en) | The construction method and device of web form | |
CN111026982A (en) | Intelligent contract processing method, computer equipment and storage medium | |
CN110187986B (en) | Command management method, system, device and computer readable storage medium | |
CN107786383A (en) | The sending method and device of heartbeat data packets | |
CN108134812A (en) | Data processing method and device | |
CN109586962A (en) | IPv4 is upgraded to processing unit, method and the electronic equipment of the HTTPS exterior chain problem of IPv6 | |
CN111953648A (en) | Data processing method and device based on block chain prediction machine and electronic equipment | |
CN107205015A (en) | The implementation method and device of open interface | |
CN110633959A (en) | Method, device, equipment and medium for creating approval task based on graph structure | |
CN114610475A (en) | Training method of intelligent resource arrangement model | |
CN109560895A (en) | Data transmission method and device | |
WO2018001025A1 (en) | Excitation-message generation and control method, apparatus, and logic detection device and storage medium | |
CA3136404C (en) | Selective address space aggregation | |
CN109840133A (en) | The operation method and device of application function | |
CN105893160A (en) | Multi-interface data scheduling method | |
CN112579659A (en) | Industrial real-time data correlation analysis method and device | |
CN109710272A (en) | Update the packaging method and device of file | |
CN109582776A (en) | Model generation method and device, electronic device and storage medium | |
WO2017084515A1 (en) | Method and device for transmitting data code stream | |
CN108735214A (en) | The sound control method and device of equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
CB02 | Change of applicant information | ||
CB02 | Change of applicant information |
Address after: 100083 No. 401, 4th Floor, Haitai Building, 229 North Fourth Ring Road, Haidian District, Beijing Applicant after: BEIJING GRIDSUM TECHNOLOGY Co.,Ltd. Address before: 100086 Beijing city Haidian District Shuangyushu Area No. 76 Zhichun Road cuigongfandian 8 layer A Applicant before: BEIJING GRIDSUM TECHNOLOGY Co.,Ltd. |
|
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20190514 |