CN102810069A - JAVA object requesting and responding methods, devices and systems and terminal - Google Patents

JAVA object requesting and responding methods, devices and systems and terminal Download PDF

Info

Publication number
CN102810069A
CN102810069A CN2012102439071A CN201210243907A CN102810069A CN 102810069 A CN102810069 A CN 102810069A CN 2012102439071 A CN2012102439071 A CN 2012102439071A CN 201210243907 A CN201210243907 A CN 201210243907A CN 102810069 A CN102810069 A CN 102810069A
Authority
CN
China
Prior art keywords
unit
data structure
response
converting
links
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
Application number
CN2012102439071A
Other languages
Chinese (zh)
Inventor
阮航
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
World (Shanghai) Technology Development Co., Ltd.
Original Assignee
Shenzhen Temobi Science and Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Temobi Science and Technology Co Ltd filed Critical Shenzhen Temobi Science and Technology Co Ltd
Priority to CN2012102439071A priority Critical patent/CN102810069A/en
Publication of CN102810069A publication Critical patent/CN102810069A/en
Pending legal-status Critical Current

Links

Images

Abstract

The invention discloses JAVA object requesting and responding methods, devices and systems, and a terminal. The requesting method comprises the steps of creating a request data structure, a response data structure and a request method structure, invoking the request method structure to obtain a service method in the request data structure and service parameters invoked by the service method, sequentially converting the service parameters into parameters in a JSON (Javascript Serialized Object Notation) format and character string parameters, constructing a request data structure object, assigning the converted character string parameters into the request data structure object, receiving a response data structure object through the response data structure, obtaining response result character string objects in the response data structure object, and sequentially converting the response result character string objects into response result JSON objects and response result JAVA objects. The purpose of invoking the JAVA objects remotely is realized, port service of the original RMI (Remote Method Invocation) can be replaced, the service logic does not need to be modified, and the port performance is improved.

Description

A kind of request of JAVA object and response method, device, system and terminal
Technical field
The present invention relates to JAVA object reference field, relate in particular to a kind of request and response method, device, system and terminal of JAVA object.
Background technology
In the JAVA language; There has been RMI (Remote Method Invocation; RMI) technology is as the communication mode between the JAVA process; But its processing mode can't satisfy high-performance needs (the particularly needs of high-throughput), and the protobuf messaging protocol can transmit on network with the littler mode of volume.
This has suitable advantage protobuf on serializing and unserializing, if can substitute the far call technology of rmi as the java program, can promote for application brings the geometry level of performance.
In addition in the practical application scene, use the RMI interface interchange performance can only be, and Protobuf can be issued to the performance of 10000~20000TPS at 2000 user concurrents, and average response time be all at 0.02ms at 2000 user concurrents, 5000~10000TPS.
But what itself provide calls method of service and need define the relevant information that a proto description document is described the service of calling, the following description:
Define a Business Entity:
Figure BDA00001890244100011
Defining a method of servicing is:
Figure BDA00001890244100021
Can find out from above, when calling operational approach, need the method name and the connection object relevant information of concrete definition, generate relevant JAVA file then, so just can not accomplish universalization and modularization.
Summary of the invention
The purpose of the embodiment of the invention is to propose a kind of requesting method of JAVA object, is intended to solve that RMI can't satisfy high-throughput in the prior art, and the protobuf messaging protocol can't universalization and Componentized technical matters.
The embodiment of the invention is achieved in that a kind of requesting method of JAVA object, comprises step:
Create request data structure, response data structure and requesting method structure;
Obtain the service parameter that method of servicing and said method of servicing in the described request data structure call through calling described request method structure, convert said service parameter into the JSON format parameter, and convert said JSON format parameter to string argument;
Make up the request data structure object, said string argument assignment in the described request data structure object, is sent far call request and described request data structure object;
Receive the response data structure objects through said response data structure; Obtain the response results string in the said response data structure objects; Convert said response results string into response results JSON object, and convert said response results JSON object into response results JAVA object.
Another purpose of the embodiment of the invention is to propose a kind of response method of JAVA object, comprises step:
Create response data structure and requesting method structure;
Receiving remote call request and request data structure object; According to the string argument in the said far call acquisition request described request data structure object; Convert said string argument into the JSON format parameter, and convert said JSON format parameter into service parameter;
Obtain service implementing and the corresponding method of servicing of said service implementing that said far call request is called according to said service parameter, generate response results JAVA object through calling said method of servicing;
Convert said response results JAVA object to response results JSON form object; Convert said response results JSON form object into the response results string again; Make up the response data structure objects; Response results JAVA object assignment in said response data structure objects, is returned said response data structure objects through described request method structure.
Another purpose of the embodiment of the invention is to propose a kind of request unit of JAVA object, and said device comprises first initial module, first acquiring unit, first converting unit, second converting unit, the first assignment unit, first construction unit, first transmitting element, first receiving element, second acquisition unit, the 3rd converting unit and the 4th converting unit;
Said first initial module links to each other with said first acquiring unit, first construction unit and first receiving element, is used to create request data structure, response data structure and requesting method structure;
Said first acquiring unit links to each other with first converting unit with said first initial module, is used for obtaining the method for servicing of described request data structure and the service parameter that said method of servicing calls through calling described request method structure;
Said first converting unit links to each other with second converting unit with said first acquiring unit, is used for converting said service parameter into the JSON format parameter;
Said second converting unit links to each other with the first assignment unit with said first converting unit, is used for converting said JSON format parameter to string argument;
The said first assignment unit links to each other with first construction unit with said second converting unit, is used for said string argument assignment to the request data structure object that makes up;
Said first construction unit links to each other with first transmitting element with said first initial module, the first assignment unit, is used to make up the request data structure object, and the request data structure object after the assignment is sent to said first transmitting element;
Said first transmitting element links to each other with said first construction unit, is used to receive the request data structure object that said first construction unit sends, and sends far call request and described request data structure object;
Said first receiving element links to each other with second acquisition unit with said first initial module, is used for receiving the response data structure objects through said response data structure;
Said second acquisition unit links to each other with the 3rd converting unit with said first receiving element, is used for obtaining the response results string of said response data structure objects;
Said the 3rd converting unit links to each other with the 4th converting unit with said second acquisition unit, is used for converting said response results string into response results JSON object;
Said the 4th converting unit links to each other with said the 3rd converting unit, is used for converting said response results JSON object into response results JAVA object.
Another purpose of the embodiment of the invention is to propose a kind of responding device of JAVA object, and said device comprises that second initial module, second receiving element, the 3rd acquiring unit, the 5th converting unit, the 6th converting unit, the 4th acquiring unit, the 3rd establishment unit, the 7th converting unit, the 8th converting unit, the second assignment unit, second construction unit and first return the unit;
Said second initial module links to each other with second construction unit with said second receiving element, is used to create response data structure and requesting method structure;
Said second receiving element links to each other with the 3rd acquiring unit with said second initial module, is used for receiving remote call request and request data structure object;
Said the 3rd acquiring unit links to each other with the 5th converting unit with said second receiving element, is used for the string argument according to said far call acquisition request described request data structure object;
Said the 5th converting unit links to each other with the 6th converting unit with said the 3rd acquiring unit, is used for converting said string argument into the JSON format parameter;
Said the 6th converting unit links to each other with the 4th acquiring unit with said the 5th converting unit, is used for converting said JSON format parameter into service parameter;
Said the 4th acquiring unit links to each other with the 3rd establishment unit with said the 6th converting unit, is used for obtaining service implementing and the corresponding method of servicing of said service implementing that said far call request is called according to said service parameter;
Said the 3rd establishment unit links to each other with the 7th converting unit with said the 4th acquiring unit, is used for generating response results JAVA object through calling said method of servicing;
Said the 7th converting unit links to each other with the 8th converting unit with said the 3rd establishment unit, is used for converting said response results JAVA object to response results JSON form object;
Said the 8th converting unit links to each other with the second assignment unit with said the 7th converting unit, is used for converting said response results JSON form object into the response results string;
The said second assignment unit links to each other with the 8th converting unit with said second construction unit, is used for response results JAVA object assignment to the response data structure objects that makes up;
Said second construction unit returns the unit and links to each other with said second initial module, the second assignment unit and first, is used to make up the response data structure objects, and the response data structure objects after the assignment is sent to first returns the unit;
Said first returns the unit, links to each other with said second construction unit, is used to receive the response data structure objects that said second construction unit sends, and returns said response data structure objects through described request method structure.
Another purpose of the embodiment of the invention is also to propose a kind of responding device of JAVA object, and said device comprises that second initial module, second receiving element, the 3rd acquiring unit, the 5th converting unit, the 6th converting unit, the 4th acquiring unit, the 3rd establishment unit, the 7th converting unit, the 8th converting unit, the second assignment unit, second construction unit, first return the unit, judging unit, second returns unit and the 3rd receiving element; Wherein said second initial module comprises the 4th establishment unit, the 5th establishment unit, second loading unit, release unit and storage unit;
Said the 4th establishment unit; Link to each other with second construction unit with said the 5th establishment unit, second receiving element; Be used to create request data structure, response data structure and requesting method structure, wherein said request data structure comprises Service name, method of servicing and string argument; Said response data structure comprises response return code and response results string; Described request method structure comprises the far call method and returns the response data structure objects;
Said the 5th establishment unit links to each other with second loading unit with said the 4th establishment unit, is used for described request data structure, response data structure and requesting method structure are generated the java class;
Said second loading unit links to each other with release unit with said the 5th establishment unit, is used to load protobuf and protobuf-rpc;
Said release unit links to each other with storage unit with said second loading unit, is used for the corresponding service implementing of issuing service and said service;
Said storage unit links to each other with judging unit with said release unit, and the Service name and the service implementing that are used for storing said service are to web services registry;
Said second receiving element links to each other with the 3rd acquiring unit with said the 4th establishment unit, also is used for receiving remote call request and request data structure object;
Said the 3rd acquiring unit; Link to each other with the 5th converting unit with said second receiving element, be used for calling Service name, method of servicing and the string argument of processor according to said far call acquisition request described request data structure object through Protobuf JAVA;
Said the 5th converting unit links to each other with the 6th converting unit with said the 3rd acquiring unit, is used for converting said string argument into the JSON format parameter;
Said the 6th converting unit links to each other with judging unit with said the 5th converting unit, is used for converting said JSON format parameter into service parameter;
Said judging unit links to each other with storage unit with said the 6th converting unit, the 4th acquiring unit, is used to judge whether web services registry exists said Service name, if then send to obtain and instruct said the 4th acquiring unit;
Said the 4th acquiring unit; Link to each other with the 3rd establishment unit with said judging unit; Be used to receive the instruction of obtaining of said judging unit transmission, and obtain service implementing and the corresponding method of servicing of said service implementing that said far call request is called according to said instruction, service parameter and the method for servicing of obtaining;
Said the 3rd establishment unit returns the unit with said the 4th acquiring unit and second and links to each other, and is used for generating response results JAVA object through calling said method of servicing;
Said second returns the unit, links to each other with the 3rd receiving element with said the 3rd establishment unit, is used for that said response results JAVA object is returned to Protobuf JAVA and calls processor;
Said the 3rd receiving element returns the unit and links to each other with the 7th converting unit with said second, is used for calling processor through Protobuf JAVA and receives said response results JAVA object;
Said the 7th converting unit links to each other with the 8th converting unit with said the 3rd receiving element, is used for converting said response results JAVA object to response results JSON form object;
Said the 8th converting unit links to each other with the second assignment unit with said the 7th converting unit, is used for converting said response results JSON form object into the response results string;
The said second assignment unit links to each other with the 8th converting unit with said second construction unit, is used for response results JAVA object assignment to the response data structure objects that makes up;
Said second construction unit returns the unit and links to each other with said the 4th establishment unit, the second assignment unit and first, is used to make up the response data structure objects, and the response data structure objects after the assignment is sent to first returns the unit;
Said first returns the unit, links to each other with said second construction unit, is used to receive the response data structure objects that said second construction unit sends, and returns said response data structure objects through described request method structure.
Another purpose of the embodiment of the invention is to propose a kind of request and responding system of JAVA object, and said system comprises request unit and responding device.
Another purpose of the embodiment of the invention is to propose a kind of request of said JAVA object and terminal of responding system of including.
The present invention includes and create request data structure, response data structure and requesting method structure; Call described request method structure and obtain the service parameter that method of servicing and said method of servicing in the described request data structure call, convert said service parameter into the JSON format parameter, and convert said JSON format parameter to string argument; Make up the request data structure object, said string argument assignment in the request data structure object that makes up, is sent far call request and described request data structure object; Receive the response data structure objects through said response data structure; Obtain the response results string in the said response data structure objects; Convert said response results string into response results JSON object, and convert said response results JSON object into response results JAVA object.The present invention has realized calling the purpose of JAVA object.Through request data structure, response data structure and requesting method structure, can directly replace the interface service that former RMI realizes, need not to revise original service logic, promote interface capability.The present invention also comprises receiving remote call request and request data structure object; According to the string argument in the said far call acquisition request described request data structure object; Convert said string argument into the JSON format parameter, and convert said JSON format parameter into service parameter; Obtain service implementing and the corresponding method of servicing of said service implementing that said far call request is called according to said service parameter, generate response results JAVA object through calling said method of servicing; Convert said response results JAVA object to response results JSON form object; Convert said response results JSON form object into the response results string again; Make up the response data structure objects; Response results JAVA object assignment in the response data structure objects that makes up, is returned said response data structure objects through described request method structure.The present invention has also realized the purpose of response JAVA object, and can further expand functional demand, like parameter verification, and concurrent lock, commercial demands such as security processing.Request and response method combine and can realize high-throughput, universalization and modularization simultaneously.And each interface or business object need not to rely on any interface just can use the present invention.
Description of drawings
Fig. 1 is the first preferred embodiment process flow diagram of the requesting method of JAVA object of the present invention;
Fig. 2 is the second preferred embodiment process flow diagram of the requesting method of JAVA object of the present invention;
Fig. 3 is the first preferred embodiment process flow diagram of the response method of JAVA object of the present invention;
Fig. 4 is the second preferred embodiment process flow diagram of the response method of JAVA object of the present invention;
Fig. 5 is the first preferred embodiment structural representation of the request unit of JAVA object of the present invention;
Fig. 6 is the second preferred embodiment structural representation of the request unit of JAVA object of the present invention;
Fig. 7 is the first preferred embodiment structural representation of the responding device of JAVA object of the present invention;
Fig. 8 is the second preferred embodiment structural representation of the responding device of JAVA object of the present invention;
Fig. 9 is the request of JAVA object of the present invention and the example structure synoptic diagram of responding system.
Embodiment
In order to make the object of the invention, technical scheme and advantage clearer, below in conjunction with accompanying drawing and embodiment, the present invention is further elaborated, for the ease of explanation, only show the part relevant with the embodiment of the invention.Should be appreciated that the specific embodiment that this place is described, only be used to explain the present invention, not in order to restriction the present invention.
The present invention includes and create request data structure, response data structure and requesting method structure; Call described request method structure and obtain the service parameter that method of servicing and said method of servicing in the described request data structure call, convert said service parameter into the JSON format parameter, and convert said JSON format parameter to string argument; Make up the request data structure object, said string argument assignment in the request data structure object that makes up, is sent far call request and described request data structure object; Receive the response data structure objects through said response data structure; Obtain the response results string in the said response data structure objects; Convert said response results string into response results JSON object, and convert said response results JSON object into response results JAVA object.The present invention has realized calling the purpose of JAVA object.Through request data structure, response data structure and requesting method structure, can directly replace the interface service that former RMI realizes, need not to revise original service logic, promote interface capability.The present invention also comprises receiving remote call request and request data structure object; According to the string argument in the said far call acquisition request described request data structure object; Convert said string argument into the JSON format parameter, and convert said JSON format parameter into service parameter; Obtain service implementing and the corresponding method of servicing of said service implementing that said far call request is called according to said service parameter, generate response results JAVA object through calling said method of servicing; Convert said response results JAVA object to response results JSON form object; Convert said response results JSON form object into the response results string again; Make up the response data structure objects; Response results JAVA object assignment in the response data structure objects that makes up, is returned said response data structure objects through described request method structure.The present invention has also realized the purpose of response far call JAVA object, and can further expand functional demand, like parameter verification, and concurrent lock, commercial demands such as security processing.Request and response method combine and can realize high-throughput, universalization and modularization simultaneously.And each interface or business object need not to rely on any interface just can use the present invention.
Embodiment one
Fig. 1 is the first preferred embodiment process flow diagram of the requesting method of JAVA object of the present invention, and said method comprises step:
S101 creates request data structure, response data structure and requesting method structure;
Simultaneously described request data structure, response data structure and requesting method structure are generated corresponding java class;
The described request data structure comprises the service parameter paramsDescription of Service name className, method of servicing method and string format; Said response data structure comprises response return code resultCode and response results string resultDescription; Described request method structure comprises the far call method and returns the response data structure objects;
For ease of understanding, illustrates one of definition and describe the proto file that general service calls, and it is following to generate the process of corresponding java class:
Figure BDA00001890244100101
The request of java end and response are encapsulated in respectively independently in the object, these object factories the general information of java call method;
Use the protobuf instrument that described request data structure, response data structure and requesting method structure are generated corresponding java class RequestServiceProtos.java;
Protobuf is a serializing framework (for example, can be the serializing framework that google provides), is similar to XML, the such data representation language of JSON, and its maximum characteristics are based on scale-of-two, therefore representes efficient much short and small than traditional XML; Though be binary data format; But it is complicated therefore not become, and the developer gives command-line tool then through the message format according to the certain grammar definition structureization; Instrument will generate relevant class automatically, can support language environments such as java, c++, python; Through these types are included in the project, can call serializing and unserializing work that correlation technique is accomplished service message very easily;
The relevant jar of service interface, protobuf and protobuf-rpc that simultaneously, also need load JAVA class RequestServiceProtos.java, service end wraps client;
Protobuf-rpc is a java class storehouse, and the framework of the RMI of Protocol Buffers agreement is provided; NIO technology based on the Netty bottom; Support TCP reuse/keep-alive, SSL encrypt, RPC calls functions such as cancellation operation, embedded daily record;
Client connects through protobuf-rpc and service end, and service that provides through service interface JAVA API Calls service end and the corresponding method of servicing of said service;
Said service interface specification the method for servicing and the purpose of the required application of client, service implementing then can go with different method of servicing realize to use;
S102; Obtain the service parameter that method of servicing and said method of servicing in the described request data structure call through calling described request method structure; Convert said service parameter into the JSON format parameter, and convert said JSON format parameter to string argument;
Said service parameter is the method for servicing parameters needed;
The method of servicing method of service that the client call service end provides and said service; Obtain the service parameter that said method of servicing method calls; Convert said service parameter into the JSON format parameter, and convert said JSON format parameter to string argument paramsDescription;
Said service for client provides needed function, is preserved client data such as to client resource being provided, and is the important channel that realization specializes, and such as the parameter of revising certain NPC, after heavily loading, in recreation, embodies at once;
Said method of servicing refers to the JAVA function, realizes a concrete function according to service parameter;
For ease of understanding, illustrate:
Figure BDA00001890244100121
S103 makes up the request data structure object, and said string argument assignment in the described request data structure object, is sent far call request and described request data structure object;
Make up request data structure object requestWapper; With the conversion after the string argument assignment in the described request data structure object; Arrive service end through transmission far call request of the far call method requestJavaMethod among the JAVA class RequestServiceProtos.java and request data structure object; Promptly protobuf-rpc transmission far call request and the request data structure object through client arrives service end, communicates;
S104; Receive the response data structure objects through said response data structure; Obtain the response results string in the said response data structure objects; Convert said response results string into response results JSON object, and convert said response results JSON object into response results JAVA object.
Present embodiment can also further expand functional demand on the basis of original protobuf; Like commercial demands such as parameter verification, concurrent lock, security processing; Can expand by Componentized, also can be packaged into general jar bag and be incorporated in the application, and need not in each is used, to go independent realization.Bottom method of calling (like netty, high-property transmission frameworks such as mina) and more performance (each request of RMI all can ask a separate threads to be handled) more flexibly than RMI can be provided.
Embodiment two
Fig. 2 is the second preferred embodiment process flow diagram of the requesting method of JAVA object of the present invention, and said method comprises step:
S201 creates request data structure, response data structure and requesting method structure;
S202 generates corresponding java class with described request data structure, response data structure and requesting method structure;
S203 loads the relevant jar bag of said JAVA class, service interface, protobuf and protobuf-rpc;
S204 is through service of calling of said service interface and the corresponding method of servicing of said service;
S205; Call processor through Protobuf JAVA and obtain the service parameter that method of servicing and said method of servicing in the described request data structure call; Convert said service parameter into the JSON format parameter, and convert said JSON format parameter to string argument;
Protobuf JAVA calls processor and is mainly used in the relevant information of calling the JAVA class in the client analysis, thereby converts defined form in the definition of Protobuf service message to, carries out Network Transmission through Protobuf-RPC then; Also be used for after service end is received the Protobuf service message; It is parsed into java object (as the class of calling, interface parameters etc.); Search then after corresponding realization class calls; Wait for that JAVA calls returning of result, again be packaged into response object in Protobuf service message at last, and return to client;
The definition of said Protobuf service message is used to describe recalls information, i.e. RequestServiceProtos.java;
S206 makes up the request data structure object, and said string argument assignment in the described request data structure object, is sent far call request and request data structure object through the far call method in the JAVA class;
Illustrate: make up request data structure object requestWapper; The string argument assignment in the described request data structure object, is arrived service end through transmission far call request of the far call method requestJavaMethod among the JAVA class RequestServiceProtos.java and request data structure object;
S207; Receive the response data structure objects through said response data structure; Call processor through Protobuf JAVA and obtain the response results string in the said response data structure objects; Convert said response results string into response results JSON object, and convert said response results JSON object into response results JAVA object;
Client receives the response data structure objects that service end is sent; Call processor through Protobuf JAVA and obtain the response results string in the said response data structure objects; And convert said response results string into response results JSON object, further convert said response results JSON object into response results java object.
Present embodiment comprises creates request data structure, response data structure and requesting method structure; Call described request method structure and obtain the service parameter that method of servicing and said method of servicing in the described request data structure call, convert said service parameter into the JSON format parameter, and convert said JSON format parameter to string argument; Through making up the request data structure object, said string argument assignment in the described request data structure object, is sent far call request and described request data structure object; Receive the response data structure objects through said response data structure; Obtain the response results string in the said response data structure objects; Convert said response results string into response results JSON object, and convert said response results JSON object into response results JAVA object.Present embodiment has realized calling the purpose of JAVA object.Directly replace the interface service that former RMI realizes through request data structure, response data structure and requesting method structure, need not to revise original service logic, promote interface capability.And each interface or business object need not to rely on any interface and just can use present embodiment.
Embodiment three
Fig. 3 is the first preferred embodiment process flow diagram of the response method of JAVA object of the present invention, and said method comprises step:
S301 creates response data structure and requesting method structure;
Further, also need create request data structure, and described request data structure, response data structure and requesting method structure are generated corresponding java class;
Service end loads protobuf and the relevant jar bag of protobuf-rpc, and connects through protobuf-rpc and client;
In addition, service end is also through API, JAVA explain, the issue of Spring configuration file provides to client service and the corresponding service implementing of said service, and Service name and the service implementing of storing said service are in web services registry;
Said service implementing refers to common java class, and such provides realization for each method of servicing of stating in the service interface;
S302; Receiving remote call request and request data structure object; String argument according in the said far call acquisition request described request data structure object converts said string argument into the JSON format parameter, and converts said JSON format parameter into service parameter;
Receive the far call request and the request data structure object of the protobuf-rpc transmission of client through the protobuf-rpc of server end; According to the string argument in the said far call acquisition request described request data structure object; Convert said string argument into the JSON format parameter, and convert said JSON format parameter into service parameter;
S303 obtains service implementing and the corresponding method of servicing of said service implementing that said far call request is called according to said service parameter, generates response results JAVA object through calling said method of servicing;
S304; Convert said response results JAVA object to response results JSON form object; Convert said response results JSON form object into the response results string again, make up the response data structure objects, with response results JAVA object assignment in said response data structure objects; Return said response data structure objects through described request method structure, promptly said response data structure objects is returned to client through described request method structure.
Embodiment four
Fig. 4 is the second preferred embodiment process flow diagram of the response method of JAVA object of the present invention, and said method comprises step:
S401 creates request data structure, response data structure and requesting method structure;
S402 generates corresponding java class with described request data structure, response data structure and requesting method structure;
S403 loads the relevant jar bag of protobuf and protobuf-rpc;
S404, through API, JAVA explain, the issuing service of Spring configuration file and the corresponding service implementing of said service, and Service name and the service implementing of storing said service are in web services registry;
S405; Receiving remote call request and request data structure object; Call processor according to Service name, method of servicing and string argument in the said far call acquisition request described request data structure object through Protobuf JAVA; Convert said string argument into the JSON format parameter, and convert said JSON format parameter into service parameter;
Receive the far call request and the request data structure object of the protobuf-rpc transmission of client through the protobuf-rpc of server end; According to said far call request the described request data structure object is parsed into described request data structure object corresponding Service name className, method of servicing method and string argument; Convert said string argument into the JSON format parameter, and convert said JSON format parameter into service parameter;
S406 judges whether web services registry exists said Service name, if then get into step S407, if not, then get into step S409;
S407; Obtain service implementing and the corresponding method of servicing of said service implementing that said far call request is called according to said service parameter and method of servicing; Generate response results JAVA object through calling said method of servicing, and said response results JAVA object is returned to Protobuf JAVA call processor;
Generally obtain service implementing and the corresponding method of servicing of said service implementing that said far call request is called according to said service parameter and method of servicing through the JAVA reflex mechanism;
S408; Protobuf JAVA calls processor and receives said response results JAVA object; And convert said response results JAVA object to response results JSON form object, and convert said response results JSON form object into the response results string again, make up the response data structure objects; Response results JAVA object assignment in said response data structure objects, is returned said response data structure objects through described request method structure.
After Protobuf JAVA calls processor and receives said response results JAVA object resultDescription; Convert said response results JAVA object to response results JSON form object; Convert said response results JSON form object into the response results string again; Subsidiary simultaneously response return code resultCode; Make up response data structure ResponseWapper object, the result is set in the said response data structure objects, through described request method structure said response data structure objects returns (ResponseWapper) is returned to client then;
S409 returns corresponding error code resultcode, as 1001 etc.
The present invention includes receiving remote call request and request data structure object; According to the string argument in the said far call acquisition request described request data structure object; Convert said string argument into the JSON format parameter, and convert said JSON format parameter into service parameter; Obtain service implementing and the corresponding method of servicing of said service implementing that said far call request is called according to said service parameter, generate response results JAVA object through calling said method of servicing; Through said response results JAVA object being converted to response results JSON form object; Convert said response results JSON form object into the response results string again; Make up the response data structure objects; Response results JAVA object assignment in said response data structure objects, is returned said response data structure objects through described request method structure.The present invention has reached the purpose of response JAVA object reference request, and can further expand functional demand, like commercial demands such as parameter verification, concurrent lock, security processing.Request and response method combine and can realize high-throughput, universalization and modularization.
Embodiment five
Fig. 5 is the first preferred embodiment structural representation of the request unit of JAVA object of the present invention.
Said device comprises first initial module, first acquiring unit, first converting unit, second converting unit, the first assignment unit, first construction unit, first transmitting element, first receiving element, second acquisition unit, the 3rd converting unit and the 4th converting unit;
Said first initial module links to each other with said first acquiring unit, first construction unit and first receiving element, is used to create request data structure, response data structure and requesting method structure;
Said first acquiring unit links to each other with first converting unit with said first initial module, is used for obtaining the method for servicing of described request data structure and the service parameter that said method of servicing calls through calling described request method structure;
Said first converting unit links to each other with second converting unit with said first acquiring unit, is used for converting said service parameter into the JSON format parameter;
Said second converting unit links to each other with the first assignment unit with said first converting unit, is used for converting said JSON format parameter to string argument;
The said first assignment unit links to each other with first construction unit with said second converting unit, is used for said string argument assignment to the request data structure object that makes up;
Said first construction unit links to each other with first transmitting element with said first initial module, the first assignment unit, is used to make up the request data structure object, and the request data structure object after the assignment is sent to said first transmitting element;
Said first transmitting element links to each other with said first construction unit, is used to receive the request data structure object that said first construction unit sends, and sends far call request and described request data structure object;
Said first receiving element links to each other with second acquisition unit with said first initial module, is used for receiving the response data structure objects through said response data structure;
Said second acquisition unit links to each other with the 3rd converting unit with said first receiving element, is used for obtaining the response results string of said response data structure objects;
Said the 3rd converting unit links to each other with the 4th converting unit with said second acquisition unit, is used for converting said response results string into response results JSON object;
Said the 4th converting unit links to each other with said the 3rd converting unit, is used for converting said response results JSON object into response results JAVA object.
Embodiment six
Fig. 6 is the second preferred embodiment structural representation of the request unit of JAVA object of the present invention.
Said device comprises first initial module, first acquiring unit, first converting unit, second converting unit, the first assignment unit, first construction unit, first transmitting element, first receiving element, second acquisition unit, the 3rd converting unit and the 4th converting unit; Wherein, said first initial module comprises the first establishment unit, the second establishment unit, first loading unit and first call unit;
The said first establishment unit; Link to each other with first receiving element with the said second establishment unit, first construction unit; Be used to create request data structure, response data structure and requesting method structure, wherein said request data structure comprises Service name, method of servicing and string argument; Said response data structure comprises response return code and response results string; Described request method structure comprises the far call method and returns the response data structure objects;
The said second establishment unit links to each other with first loading unit with the said first establishment unit, is used for described request data structure, response data structure and requesting method structure are generated the java class;
Said first loading unit links to each other with first call unit with the said second establishment unit, is used to load said JAVA class, service interface, protobuf and protobuf-rpc;
Said first call unit links to each other with first acquiring unit with said first loading unit, is used for through service of calling of said service interface and the corresponding method of servicing of said service;
Said first acquiring unit links to each other with first converting unit with said first call unit, also is used for calling processor through Protobuf JAVA and obtains the method for servicing of described request data structure and the service parameter that said method of servicing calls;
Said first converting unit links to each other with second converting unit with said first acquiring unit, is used for converting said service parameter into the JSON format parameter;
Said second converting unit links to each other with the first assignment unit with said first converting unit, is used for converting said JSON format parameter to string argument;
The said first assignment unit links to each other with first construction unit with said second converting unit, is used for said string argument assignment to the request data structure object that makes up;
Said first construction unit links to each other with first transmitting element with the said first establishment unit, the first assignment unit, is used to make up the request data structure object, and the request data structure object after the assignment is sent to said first transmitting element;
Said first transmitting element links to each other with said first construction unit, is used to receive the request data structure object that said first construction unit sends, and sends far call request and request data structure object through the far call method in the JAVA class;
Said first receiving element links to each other with second acquisition unit with the said first establishment unit, is used for receiving the response data structure objects through said response data structure;
Said second acquisition unit links to each other with said first receiving element, the 3rd converting unit, also is used for calling the response results string that processor obtains said response data structure objects through Protobuf JAVA;
Said the 3rd converting unit links to each other with the 4th converting unit with said second acquisition unit, is used for converting said response results string into response results JSON object;
Said the 4th converting unit links to each other with said the 3rd converting unit, is used for converting said response results JSON object into response results JAVA object.
Present embodiment is created request data structure, response data structure and requesting method structure through first initial module; Call described request method structure through first acquiring unit and obtain the service parameter that method of servicing and said method of servicing in the described request data structure call; Convert said service parameter into the JSON format parameter through first converting unit; Convert said JSON format parameter to string argument through second converting unit; Through the first assignment unit with said string argument assignment in the request data structure object that makes up; Make up the request data structure object through first construction unit, and the request data structure object after the assignment is sent to said first transmitting element; Send far call request and described request data structure object through first transmitting element; Receive the response data structure objects through first receiving element; Obtain the response results string in the said response data structure objects through second acquisition unit; Convert said response results string into response results JSON object through the 3rd converting unit; Convert said response results JSON object into response results JAVA object through the 4th converting unit.Present embodiment has realized calling the purpose of JAVA object.Can directly replace the interface service that former RMI realizes through request data structure, response data structure and requesting method structure, need not to revise original service logic, promote interface capability.And each interface or business object need not to rely on any interface and just can use present embodiment.
Embodiment seven
Fig. 7 is the first preferred embodiment structural representation of the responding device of JAVA object of the present invention.
Said device comprises that second initial module, second receiving element, the 3rd acquiring unit, the 5th converting unit, the 6th converting unit, the 4th acquiring unit, the 3rd establishment unit, the 7th converting unit, the 8th converting unit, the second assignment unit, second construction unit and first return the unit;
Said second initial module links to each other with second construction unit with said second receiving element, is used to create response data structure and requesting method structure;
Said second receiving element links to each other with the 3rd acquiring unit with said second initial module, is used for receiving remote call request and request data structure object;
Said the 3rd acquiring unit links to each other with the 5th converting unit with said second receiving element, is used for the string argument according to said far call acquisition request described request data structure object;
Said the 5th converting unit links to each other with the 6th converting unit with said the 3rd acquiring unit, is used for converting said string argument into the JSON format parameter;
Said the 6th converting unit links to each other with the 4th acquiring unit with said the 5th converting unit, is used for converting said JSON format parameter into service parameter;
Said the 4th acquiring unit links to each other with the 3rd establishment unit with said the 6th converting unit, is used for obtaining service implementing and the corresponding method of servicing of said service implementing that said far call request is called according to said service parameter;
Said the 3rd establishment unit links to each other with the 7th converting unit with said the 4th acquiring unit, is used for generating response results JAVA object through calling said method of servicing;
Said the 7th converting unit links to each other with the 8th converting unit with said the 3rd establishment unit, is used for converting said response results JAVA object to response results JSON form object;
Said the 8th converting unit links to each other with the second assignment unit with said the 7th converting unit, is used for converting said response results JSON form object into the response results string;
The said second assignment unit links to each other with the 8th converting unit with said second construction unit, is used for response results JAVA object assignment to the response data structure objects that makes up;
Said second construction unit returns the unit and links to each other with said second initial module, the second assignment unit and first, is used to make up the response data structure objects, and the response data structure objects after the assignment is sent to first returns the unit;
Said first returns the unit, links to each other with said second construction unit, is used to receive the response data structure objects that said second construction unit sends, and returns said response data structure objects through described request method structure.
Embodiment eight
Fig. 8 is the second preferred embodiment structural representation of the responding device of JAVA object of the present invention.
Said device comprises that second initial module, second receiving element, the 3rd acquiring unit, the 5th converting unit, the 6th converting unit, the 4th acquiring unit, the 3rd establishment unit, the 7th converting unit, the 8th converting unit, the second assignment unit, second construction unit, first return the unit, judging unit, second returns unit and the 3rd receiving element; Wherein said second initial module comprises the 4th establishment unit, the 5th establishment unit, second loading unit, release unit and storage unit;
Said the 4th establishment unit; Link to each other with second construction unit with said the 5th establishment unit, second receiving element; Be used to create request data structure, response data structure and requesting method structure, wherein said request data structure comprises Service name, method of servicing and string argument; Said response data structure comprises response return code and response results string; Described request method structure comprises the far call method and returns the response data structure objects;
Said the 5th establishment unit links to each other with second loading unit with said the 4th establishment unit, is used for described request data structure, response data structure and requesting method structure are generated the java class;
Said second loading unit links to each other with release unit with said the 5th establishment unit, is used to load protobuf and protobuf-rpc;
Said release unit links to each other with storage unit with said second loading unit, is used for the corresponding service implementing of issuing service and said service;
Said storage unit links to each other with judging unit with said release unit, and the Service name and the service implementing that are used for storing said service are to web services registry;
Said second receiving element links to each other with the 3rd acquiring unit with said the 4th establishment unit, is used for receiving remote call request and request data structure object;
Said the 3rd acquiring unit; Link to each other with the 5th converting unit with said second receiving element, be used for calling Service name, method of servicing and the string argument of processor according to said far call acquisition request described request data structure object through Protobuf JAVA;
Said the 5th converting unit links to each other with the 6th converting unit with said the 3rd acquiring unit, is used for converting said string argument into the JSON format parameter;
Said the 6th converting unit links to each other with judging unit with said the 5th converting unit, is used for converting said JSON format parameter into service parameter;
Said judging unit links to each other with storage unit with said the 6th converting unit, the 4th acquiring unit, is used to judge whether web services registry exists said Service name, if then send to obtain and instruct said the 4th acquiring unit;
Said the 4th acquiring unit; Link to each other with the 3rd establishment unit with said judging unit; Be used to receive the instruction of obtaining of said judging unit transmission, and obtain service implementing and the corresponding method of servicing of said service implementing that said far call request is called according to said instruction, service parameter and the method for servicing of obtaining;
Said the 3rd establishment unit returns the unit with said the 4th acquiring unit and second and links to each other, and is used for generating response results JAVA object through calling said method of servicing;
Said second returns the unit, links to each other with the 3rd receiving element with said the 3rd establishment unit, is used for that said response results JAVA object is returned to Protobuf JAVA and calls processor;
Said the 3rd receiving element returns the unit and links to each other with the 7th converting unit with said second, is used for calling processor through Protobuf JAVA and receives said response results JAVA object;
Said the 7th converting unit links to each other with the 8th converting unit with said the 3rd receiving element, is used for converting said response results JAVA object to response results JSON form object;
Said the 8th converting unit links to each other with the second assignment unit with said the 7th converting unit, is used for converting said response results JSON form object into the response results string;
The said second assignment unit links to each other with the 8th converting unit with said second construction unit, is used for response results JAVA object assignment to the response data structure objects that makes up;
Said second construction unit returns the unit and links to each other with said the 4th establishment unit, the second assignment unit and first, is used to make up the response data structure objects, and the response data structure objects after the assignment is sent to first returns the unit;
Said first returns the unit, links to each other with said second construction unit, is used to receive the response data structure objects that said second construction unit sends, and returns said response data structure objects through described request method structure.
Present embodiment is created response data structure and requesting method structure through second initial module; Through the second receiving element receiving remote call request and request data structure object; Through the 3rd acquiring unit according to the string argument in the said far call acquisition request described request data structure object; Convert said string argument into the JSON format parameter through the 5th converting unit; Convert said JSON format parameter into service parameter through the 6th converting unit; Obtain service implementing and the corresponding method of servicing of said service implementing that said far call request is called through the 4th acquiring unit according to said service parameter; The 3rd establishment unit generates response results JAVA object through calling said method of servicing; Convert said response results JAVA object to response results JSON form object through the 7th converting unit; Convert said response results JSON form object into the response results string through the 8th converting unit; Make up the response data structure objects through second construction unit, and the response data structure objects after the assignment is sent to first return the unit; Return the unit through first and receive the response data structure objects that said second construction unit sends, and return said response data structure objects through described request method structure.Present embodiment has reached the purpose of response JAVA object reference request.Can also further expand functional demand, like commercial demands such as parameter verification, concurrent lock, security processing.Said second initial module further is refined as the 4th establishment unit, the 5th establishment unit, second loading unit, release unit and storage unit; And in said device, increase judging unit, second and return unit and the 3rd receiving element; Judge whether to exist Service name through web services registry; Thereby confirm service implementing and the corresponding method of servicing of said service implementing that far call JAVA object requests is called, further improved universalization and Componentized possibility.
Embodiment nine
Fig. 9 is the request of JAVA object of the present invention and the example structure synoptic diagram of responding system.
Said system comprises request unit and responding device;
The described request device comprises first initial module, first acquiring unit, first converting unit, second converting unit, the first assignment unit, first construction unit, first transmitting element, first receiving element, second acquisition unit, the 3rd converting unit and the 4th converting unit;
Said responding device comprises that second initial module, second receiving element, the 3rd acquiring unit, the 5th converting unit, the 6th converting unit, the 4th acquiring unit, the 3rd establishment unit, the 7th converting unit, the 8th converting unit, the second assignment unit, second construction unit and first return the unit;
Said first initial module links to each other with said first acquiring unit, first construction unit and first receiving element, is used to create request data structure, response data structure and requesting method structure;
Said second initial module links to each other with second construction unit with said second receiving element, is used to create request data structure, response data structure and requesting method structure;
Said first initial module all will be created identical request data structure, response data structure and requesting method structure with second initial module, and generates identical JAVA class, is placed on client and service end respectively;
Said first acquiring unit links to each other with first converting unit with said first initial module, is used for obtaining the method for servicing of described request data structure and the service parameter that said method of servicing calls through calling described request method structure;
Said first converting unit links to each other with second converting unit with said first acquiring unit, is used for converting said service parameter into the JSON format parameter;
Said second converting unit links to each other with the first assignment unit with said first converting unit, is used for converting said JSON format parameter to string argument;
The said first assignment unit links to each other with first construction unit with said second converting unit, is used for said string argument assignment to the request data structure object that makes up;
Said first construction unit links to each other with first transmitting element with said first initial module, the first assignment unit, is used to make up the request data structure object, and the request data structure object after the assignment is sent to said first transmitting element;
Said first transmitting element; Link to each other with second receiving element with said first construction unit; Be used to receive the request data structure object that said first construction unit sends, and send the far call request and arrive said second receiving element with the described request data structure object;
Said second receiving element links to each other with said second initial module, the 3rd acquiring unit and first transmitting element, is used to receive far call request and the request data structure object that said first transmitting element sends;
Said the 3rd acquiring unit links to each other with the 5th converting unit with said second receiving element, is used for the string argument according to said far call acquisition request described request data structure object;
Said the 3rd acquiring unit also is used for calling Service name, method of servicing and the string argument of processor according to said far call acquisition request described request data structure object through Protobuf JAVA;
Said the 5th converting unit links to each other with the 6th converting unit with said the 3rd acquiring unit, is used for converting said string argument into the JSON format parameter;
Said the 6th converting unit links to each other with the 4th acquiring unit with said the 5th converting unit, is used for converting said JSON format parameter into service parameter;
Said the 4th acquiring unit links to each other with the 3rd establishment unit with said the 6th converting unit, is used for obtaining service implementing and the corresponding method of servicing of said service implementing that said far call request is called according to said service parameter;
Said the 4th acquiring unit is used to also judge whether web services registry exists said Service name; If then obtain service implementing and the corresponding method of servicing of said service implementing that said far call request is called according to said instruction, service parameter and the method for servicing of obtaining; Promptly obtain service implementing and the corresponding method of servicing of said service implementing that said far call request is called according to said service parameter and method of servicing through the JAVA reflex mechanism;
Said the 3rd establishment unit links to each other with the 7th converting unit with said the 4th acquiring unit, is used for generating response results JAVA object through calling said method of servicing;
Said the 3rd establishment unit is used for that also said response results JAVA object is returned to ProtobufJAVA and calls processor;
Said the 7th converting unit links to each other with the 8th converting unit with said the 3rd establishment unit, is used for converting said response results JAVA object to response results JSON form object;
Said the 7th converting unit also is used for calling processor through Protobuf JAVA and receives said response results JAVA object, converts said response results JAVA object to response results JSON form object;
Said the 8th converting unit links to each other with the second assignment unit with said the 7th converting unit, is used for converting said response results JSON form object into the response results string;
The said second assignment unit links to each other with the 8th converting unit with said second construction unit, is used for response results JAVA object assignment to the response data structure objects that makes up;
Said second construction unit returns the unit and links to each other with said second initial module, the second assignment unit and first, is used to make up the response data structure objects, and the response data structure objects after the assignment is sent to first returns the unit;
Said first returns the unit; Link to each other with first receiving element with said second construction unit; Be used to receive the response data structure objects that said second construction unit sends, and return said response data structure objects to said first receiving element through described request method structure.
Said first receiving element links to each other with second acquisition unit with said first initial module, is used for receiving said first through said response data structure and returns the response data structure objects that returns the unit;
Said second acquisition unit links to each other with the 3rd converting unit with said first receiving element, is used for obtaining the response results string of said response data structure objects;
Said the 3rd converting unit links to each other with the 4th converting unit with said second acquisition unit, is used for converting said response results string into response results JSON object;
Said the 4th converting unit links to each other with said the 3rd converting unit, is used for converting said response results JSON object into response results JAVA object.
Present embodiment is through returning first transmitting element unit and be connected with second receiving element, first receiving element and first; Specified the reciprocal process of request unit and responding device; Reached the purpose of calling the JAVA object; And request unit and responding device combine, and can realize high-throughput, universalization and modularization.Present embodiment can also further expand functional demand on original protobuf basis; Like commercial demands such as parameter verification, concurrent lock, security processing; Can expand by Componentized, also can be packaged into general jar bag and be incorporated in the application, and need not in each is used, to go independent realization.Can also provide than RMI more flexibly the bottom method of calling (like netty; High-property transmission frameworks such as mina) and more performance (each request of RMI all can ask a separate threads to be handled; And be based on event notice like the netty server; Promptly a thread can be provided more high-throughput and lower operating lag by a plurality of share requests).
Following content among the embodiment five to nine is not given unnecessary details in embodiment five to nine with embodiment one to four again: the detailed description of the generative process of the particular content that is comprised in described request data structure, response data structure and the requesting method structure, proto file, java class, protobuf instrument, protobuf, loading content, protobuf-rpc, each step or each process, each explanation of nouns etc.
The request of JAVA object provided by the invention and responding system need can be applied on the terminal device of JAVA object reference, for example PC, PDA, mobile phone etc.
Those having ordinary skill in the art will appreciate that; All or part of step in realization the foregoing description method can be accomplished through the programmed instruction related hardware; Described program can be stored in the computer read/write memory medium, and described storage medium can be ROM, RAM, disk, CD etc.
The above is merely preferred embodiment of the present invention, not in order to restriction the present invention, all any modifications of within spirit of the present invention and principle, being done, is equal to and replaces and improvement etc., all should be included within protection scope of the present invention.

Claims (17)

1. the requesting method of a JAVA object is characterized in that, said method comprises step:
Create request data structure, response data structure and requesting method structure;
Obtain the service parameter that method of servicing and said method of servicing in the described request data structure call through calling described request method structure, convert said service parameter into the JSON format parameter, and convert said JSON format parameter to string argument;
Make up the request data structure object, said string argument assignment in the described request data structure object, is sent far call request and described request data structure object;
Receive the response data structure objects through said response data structure; Obtain the response results string in the said response data structure objects; Convert said response results string into response results JSON object, and convert said response results JSON object into response results JAVA object.
2. according to the requesting method of the said JAVA object of claim 1, it is characterized in that the described request data structure comprises Service name, method of servicing and string argument;
Said response data structure comprises response return code and response results string;
Described request method structure comprises the far call method and returns the response data structure objects.
3. according to the requesting method of the said JAVA object of claim 2, it is characterized in that said step " is created request data structure, response data structure and requesting method structure " and also comprised step afterwards:
Described request data structure, response data structure and requesting method structure are generated the java class;
Load said JAVA class, service interface, protobuf and protobuf-rpc;
Through service of calling of said service interface and the corresponding method of servicing of said service.
4. according to the requesting method of the said JAVA object of claim 3; It is characterized in that; Said step " is obtained the service parameter that method of servicing and said method of servicing in the described request data structure call through calling described request method structure; convert said service parameter into the JSON format parameter, and convert said JSON format parameter to string argument " and is specially:
Call processor through Protobuf JAVA and obtain the service parameter that method of servicing and said method of servicing in the described request data structure call, convert said service parameter into the JSON format parameter, and convert said JSON format parameter to string argument.
5. according to the requesting method of the said JAVA object of claim 4; It is characterized in that; Said step " makes up the request data structure object, said string argument assignment in the described request data structure object, is sent far call request and described request data structure object " and is specially:
Make up the request data structure object, said string argument assignment in the described request data structure object, is sent far call request and request data structure object through the far call method in the JAVA class.
6. according to the requesting method of the said JAVA object of claim 5; It is characterized in that; Said step " receives the response data structure objects through said response data structure; obtain the response results string in the said response data structure objects, convert said response results string into response results JSON object, and convert said response results JSON object into response results JAVA object " and is specially:
Receive the response data structure objects through said response data structure; Call processor through Protobuf JAVA and obtain the response results string in the said response data structure objects; Convert said response results string into response results JSON object, and convert said response results JSON object into response results JAVA object.
7. the response method of a JAVA object is characterized in that, said method comprises step:
Create response data structure and requesting method structure;
Receiving remote call request and request data structure object; According to the string argument in the said far call acquisition request described request data structure object; Convert said string argument into the JSON format parameter, and convert said JSON format parameter into service parameter;
Obtain service implementing and the corresponding method of servicing of said service implementing that said far call request is called according to said service parameter, generate response results JAVA object through calling said method of servicing;
Convert said response results JAVA object to response results JSON form object; Convert said response results JSON form object into the response results string again; Make up the response data structure objects; Response results JAVA object assignment in said response data structure objects, is returned said response data structure objects through described request method structure.
8. according to the response method of the said JAVA object of claim 7, it is characterized in that said step " is created response data structure and requesting method structure " and also comprised step afterwards:
Create request data structure;
Described request data structure, response data structure and requesting method structure are generated the java class;
Load protobuf and protobuf-rpc;
The service implementing that issuing service and said service are corresponding, and Service name and the service implementing of storing said service are in web services registry.
9. the requesting method of said according to Claim 8 JAVA object; It is characterized in that; Said step " receiving remote call request and request data structure object; the string argument according in the said far call acquisition request described request data structure object converts said string argument into the JSON format parameter, and converts said JSON format parameter into service parameter " is specially:
Receiving remote call request and request data structure object; Call processor according to Service name, method of servicing and string argument in the said far call acquisition request described request data structure object through Protobuf JAVA; Convert said string argument into the JSON format parameter, and convert said JSON format parameter into service parameter.
10. according to the requesting method of the said JAVA object of claim 9; It is characterized in that; Said step " is obtained service implementing and the corresponding method of servicing of said service implementing that said far call request is called according to said service parameter, is generated response results JAVA object through calling said method of servicing " and is specially:
Judge whether web services registry exists said Service name; If; Then obtain service implementing and the corresponding method of servicing of said service implementing that said far call request is called according to said service parameter and method of servicing; Generate response results JAVA object through calling said method of servicing, and said response results JAVA object is returned to Protobuf JAVA call processor.
11. requesting method according to the said JAVA object of claim 10; It is characterized in that; Said step " converts said response results JAVA object to response results JSON form object, converts said response results JSON form object into the response results string again, make up the response data structure objects; response results JAVA object assignment in said response data structure objects, is returned said response data structure objects through described request method structure " and is specially:
Protobuf JAVA calls processor and receives said response results JAVA object; And convert said response results JAVA object to response results JSON form object; Convert said response results JSON form object into the response results string again; Make up the response data structure objects, response results JAVA object assignment in said response data structure objects, is returned said response data structure objects through described request method structure.
12. the request unit of a JAVA object; It is characterized in that said device comprises first initial module, first acquiring unit, first converting unit, second converting unit, the first assignment unit, first construction unit, first transmitting element, first receiving element, second acquisition unit, the 3rd converting unit and the 4th converting unit;
Said first initial module links to each other with said first acquiring unit, first construction unit and first receiving element, is used to create request data structure, response data structure and requesting method structure;
Said first acquiring unit links to each other with first converting unit with said first initial module, is used for obtaining the method for servicing of described request data structure and the service parameter that said method of servicing calls through calling described request method structure;
Said first converting unit links to each other with second converting unit with said first acquiring unit, is used for converting said service parameter into the JSON format parameter;
Said second converting unit links to each other with the first assignment unit with said first converting unit, is used for converting said JSON format parameter to string argument;
The said first assignment unit links to each other with first construction unit with said second converting unit, is used for said string argument assignment to the request data structure object that makes up;
Said first construction unit links to each other with first transmitting element with said first initial module, the first assignment unit, is used to make up the request data structure object, and the request data structure object after the assignment is sent to said first transmitting element;
Said first transmitting element links to each other with said first construction unit, is used to receive the request data structure object that said first construction unit sends, and sends far call request and described request data structure object;
Said first receiving element links to each other with second acquisition unit with said first initial module, is used for receiving the response data structure objects through said response data structure;
Said second acquisition unit links to each other with the 3rd converting unit with said first receiving element, is used for obtaining the response results string of said response data structure objects;
Said the 3rd converting unit links to each other with the 4th converting unit with said second acquisition unit, is used for converting said response results string into response results JSON object;
Said the 4th converting unit links to each other with said the 3rd converting unit, is used for converting said response results JSON object into response results JAVA object.
13. the request unit according to the said JAVA object of claim 12 is characterized in that, said first initial module comprises the first establishment unit, the second establishment unit, first loading unit and first call unit;
The said first establishment unit; Link to each other with first receiving element with the said second establishment unit, first construction unit; Be used to create request data structure, response data structure and requesting method structure, wherein said request data structure comprises Service name, method of servicing and string argument; Said response data structure comprises response return code and response results string; Described request method structure comprises the far call method and returns the response data structure objects;
The said second establishment unit links to each other with first loading unit with the said first establishment unit, is used for described request data structure, response data structure and requesting method structure are generated the java class;
Said first loading unit links to each other with first call unit with the said second establishment unit, is used to load said JAVA class, service interface, protobuf and protobuf-rpc;
Said first call unit links to each other with first acquiring unit with said first loading unit, is used for through service of calling of said service interface and the corresponding method of servicing of said service;
Said first acquiring unit links to each other with first converting unit with said first call unit, also is used for calling processor through Protobuf JAVA and obtains the method for servicing of described request data structure and the service parameter that said method of servicing calls;
Said first transmitting element also is used for sending far call request and request data structure object through the far call method of JAVA class;
Said first receiving element links to each other with second acquisition unit with the said first establishment unit, is used for receiving the response data structure objects through said response data structure;
Said second acquisition unit also is used for calling the response results string that processor obtains said response data structure objects through Protobuf JAVA.
14. the responding device of a JAVA object; It is characterized in that said device comprises that second initial module, second receiving element, the 3rd acquiring unit, the 5th converting unit, the 6th converting unit, the 4th acquiring unit, the 3rd establishment unit, the 7th converting unit, the 8th converting unit, the second assignment unit, second construction unit and first return the unit;
Said second initial module links to each other with second construction unit with said second receiving element, is used to create response data structure and requesting method structure;
Said second receiving element links to each other with the 3rd acquiring unit with said second initial module, is used for receiving remote call request and request data structure object;
Said the 3rd acquiring unit links to each other with the 5th converting unit with said second receiving element, is used for the string argument according to said far call acquisition request described request data structure object;
Said the 5th converting unit links to each other with the 6th converting unit with said the 3rd acquiring unit, is used for converting said string argument into the JSON format parameter;
Said the 6th converting unit links to each other with the 4th acquiring unit with said the 5th converting unit, is used for converting said JSON format parameter into service parameter;
Said the 4th acquiring unit links to each other with the 3rd establishment unit with said the 6th converting unit, is used for obtaining service implementing and the corresponding method of servicing of said service implementing that said far call request is called according to said service parameter;
Said the 3rd establishment unit links to each other with the 7th converting unit with said the 4th acquiring unit, is used for generating response results JAVA object through calling said method of servicing;
Said the 7th converting unit links to each other with the 8th converting unit with said the 3rd establishment unit, is used for converting said response results JAVA object to response results JSON form object;
Said the 8th converting unit links to each other with the second assignment unit with said the 7th converting unit, is used for converting said response results JSON form object into the response results string;
The said second assignment unit links to each other with the 8th converting unit with said second construction unit, is used for response results JAVA object assignment to the response data structure objects that makes up;
Said second construction unit returns the unit and links to each other with said second initial module, the second assignment unit and first, is used to make up the response data structure objects, and the response data structure objects after the assignment is sent to first returns the unit;
Said first returns the unit, links to each other with said second construction unit, is used to receive the response data structure objects that said second construction unit sends, and returns said response data structure objects through described request method structure.
15. the responding device of a JAVA object; It is characterized in that said device comprises that second initial module, second receiving element, the 3rd acquiring unit, the 5th converting unit, the 6th converting unit, the 4th acquiring unit, the 3rd establishment unit, the 7th converting unit, the 8th converting unit, the second assignment unit, second construction unit, first return the unit, judging unit, second returns unit and the 3rd receiving element; Wherein said second initial module comprises the 4th establishment unit, the 5th establishment unit, second loading unit, release unit and storage unit;
Said the 4th establishment unit; Link to each other with second construction unit with said the 5th establishment unit, second receiving element; Be used to create request data structure, response data structure and requesting method structure, wherein said request data structure comprises Service name, method of servicing and string argument; Said response data structure comprises response return code and response results string; Described request method structure comprises the far call method and returns the response data structure objects;
Said the 5th establishment unit links to each other with second loading unit with said the 4th establishment unit, is used for described request data structure, response data structure and requesting method structure are generated the java class;
Said second loading unit links to each other with release unit with said the 5th establishment unit, is used to load protobuf and protobuf-rpc;
Said release unit links to each other with storage unit with said second loading unit, is used for the corresponding service implementing of issuing service and said service;
Said storage unit links to each other with judging unit with said release unit, and the Service name and the service implementing that are used for storing said service are to web services registry;
Said second receiving element links to each other with the 3rd acquiring unit with said the 4th establishment unit, also is used for receiving remote call request and request data structure object;
Said the 3rd acquiring unit; Link to each other with the 5th converting unit with said second receiving element, be used for calling Service name, method of servicing and the string argument of processor according to said far call acquisition request described request data structure object through Protobuf JAVA;
Said the 5th converting unit links to each other with the 6th converting unit with said the 3rd acquiring unit, is used for converting said string argument into the JSON format parameter;
Said the 6th converting unit links to each other with judging unit with said the 5th converting unit, is used for converting said JSON format parameter into service parameter;
Said judging unit links to each other with storage unit with said the 6th converting unit, the 4th acquiring unit, is used to judge whether web services registry exists said Service name, if then send to obtain and instruct said the 4th acquiring unit;
Said the 4th acquiring unit; Link to each other with the 3rd establishment unit with said judging unit; Be used to receive the instruction of obtaining of said judging unit transmission, and obtain service implementing and the corresponding method of servicing of said service implementing that said far call request is called according to said instruction, service parameter and the method for servicing of obtaining;
Said the 3rd establishment unit returns the unit with said the 4th acquiring unit and second and links to each other, and is used for generating response results JAVA object through calling said method of servicing;
Said second returns the unit, links to each other with the 3rd receiving element with said the 3rd establishment unit, is used for that said response results JAVA object is returned to Protobuf JAVA and calls processor;
Said the 3rd receiving element returns the unit and links to each other with the 7th converting unit with said second, is used for calling processor through Protobuf JAVA and receives said response results JAVA object;
Said the 7th converting unit links to each other with the 8th converting unit with said the 3rd receiving element, is used for converting said response results JAVA object to response results JSON form object;
Said the 8th converting unit links to each other with the second assignment unit with said the 7th converting unit, is used for converting said response results JSON form object into the response results string;
The said second assignment unit links to each other with the 8th converting unit with said second construction unit, is used for response results JAVA object assignment to the response data structure objects that makes up;
Said second construction unit returns the unit and links to each other with said the 4th establishment unit, the second assignment unit and first, is used to make up the response data structure objects, and the response data structure objects after the assignment is sent to first returns the unit;
Said first returns the unit, links to each other with said second construction unit, is used to receive the response data structure objects that said second construction unit sends, and returns said response data structure objects through described request method structure.
16. the request of a JAVA object and responding system is characterized in that, said system comprises request unit and responding device;
The described request device comprises first initial module, first acquiring unit, first converting unit, second converting unit, the first assignment unit, first construction unit, first transmitting element, first receiving element, second acquisition unit, the 3rd converting unit and the 4th converting unit;
Said responding device comprises that second initial module, second receiving element, the 3rd acquiring unit, the 5th converting unit, the 6th converting unit, the 4th acquiring unit, the 3rd establishment unit, the 7th converting unit, the 8th converting unit, the second assignment unit, second construction unit and first return the unit;
Said first initial module links to each other with said first acquiring unit, first construction unit and first receiving element, is used to create request data structure, response data structure and requesting method structure;
Said second initial module links to each other with second construction unit with said second receiving element, is used to create response data structure and requesting method structure;
Said first acquiring unit links to each other with first converting unit with said first initial module, is used for obtaining the method for servicing of described request data structure and the service parameter that said method of servicing calls through calling described request method structure;
Said first converting unit links to each other with second converting unit with said first acquiring unit, is used for converting said service parameter into the JSON format parameter;
Said second converting unit links to each other with the first assignment unit with said first converting unit, is used for converting said JSON format parameter to string argument;
The said first assignment unit links to each other with first construction unit with said second converting unit, is used for said string argument assignment to the request data structure object that makes up;
Said first construction unit links to each other with first transmitting element with said first initial module, the first assignment unit, is used to make up the request data structure object, and the request data structure object after the assignment is sent to said first transmitting element;
Said first transmitting element; Link to each other with second receiving element with said first construction unit; Be used to receive the request data structure object that said first construction unit sends, and send the far call request and arrive said second receiving element with the described request data structure object;
Said second receiving element links to each other with said second initial module, the 3rd acquiring unit and first transmitting element, is used to receive far call request and the request data structure object that said first transmitting element sends;
Said the 3rd acquiring unit links to each other with the 5th converting unit with said second receiving element, is used for the string argument according to said far call acquisition request described request data structure object;
Said the 5th converting unit links to each other with the 6th converting unit with said the 3rd acquiring unit, is used for converting said string argument into the JSON format parameter;
Said the 6th converting unit links to each other with the 4th acquiring unit with said the 5th converting unit, is used for converting said JSON format parameter into service parameter;
Said the 4th acquiring unit links to each other with the 3rd establishment unit with said the 6th converting unit, is used for obtaining service implementing and the corresponding method of servicing of said service implementing that said far call request is called according to said service parameter;
Said the 3rd establishment unit links to each other with the 7th converting unit with said the 4th acquiring unit, is used for generating response results JAVA object through calling said method of servicing;
Said the 7th converting unit links to each other with the 8th converting unit with said the 3rd establishment unit, is used for converting said response results JAVA object to response results JSON form object;
Said the 8th converting unit links to each other with the second assignment unit with said the 7th converting unit, is used for converting said response results JSON form object into the response results string;
The said second assignment unit links to each other with the 8th converting unit with said second construction unit, is used for response results JAVA object assignment to the response data structure objects that makes up;
Said second construction unit returns the unit and links to each other with said second initial module, the second assignment unit and first, is used to make up the response data structure objects, and the response data structure objects after the assignment is sent to first returns the unit;
Said first returns the unit; Link to each other with first receiving element with said second construction unit; Be used to receive the response data structure objects that said second construction unit sends, and return said response data structure objects to said first receiving element through described request method structure;
Said first receiving element links to each other with second acquisition unit with said first initial module, is used for receiving said first through said response data structure and returns the response data structure objects that returns the unit;
Said second acquisition unit links to each other with the 3rd converting unit with said first receiving element, is used for obtaining the response results string of said response data structure objects;
Said the 3rd converting unit links to each other with the 4th converting unit with said second acquisition unit, is used for converting said response results string into response results JSON object;
Said the 4th converting unit links to each other with said the 3rd converting unit, is used for converting said response results JSON object into response results JAVA object.
17. a terminal is characterized in that, said terminal comprises the request and the responding system of the said JAVA object of claim 16.
CN2012102439071A 2012-07-16 2012-07-16 JAVA object requesting and responding methods, devices and systems and terminal Pending CN102810069A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2012102439071A CN102810069A (en) 2012-07-16 2012-07-16 JAVA object requesting and responding methods, devices and systems and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2012102439071A CN102810069A (en) 2012-07-16 2012-07-16 JAVA object requesting and responding methods, devices and systems and terminal

Publications (1)

Publication Number Publication Date
CN102810069A true CN102810069A (en) 2012-12-05

Family

ID=47233778

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2012102439071A Pending CN102810069A (en) 2012-07-16 2012-07-16 JAVA object requesting and responding methods, devices and systems and terminal

Country Status (1)

Country Link
CN (1) CN102810069A (en)

Cited By (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103970737A (en) * 2013-01-24 2014-08-06 腾讯科技(深圳)有限公司 Data constitution method and device
CN103970855A (en) * 2014-05-06 2014-08-06 车智互联(北京)科技有限公司 Device and method for processing data
CN104104663A (en) * 2013-04-09 2014-10-15 深圳中兴网信科技有限公司 Distributed invocation framework, and devices and data transmission method thereof
WO2015100652A1 (en) * 2013-12-31 2015-07-09 北京新媒传信科技有限公司 Method and apparatus for performing conversion among serialized messages
CN105095492A (en) * 2015-08-19 2015-11-25 北京京东尚科信息技术有限公司 Data processing method and device
CN105446867A (en) * 2014-08-22 2016-03-30 阿里巴巴集团控股有限公司 Method and apparatus for generating test data
CN105763619A (en) * 2016-03-31 2016-07-13 广州华多网络科技有限公司 Method and device for communication of client and server
CN106302442A (en) * 2016-08-12 2017-01-04 广州慧睿思通信息科技有限公司 A kind of network communication packet analytic method based on Java language
CN107621968A (en) * 2016-07-15 2018-01-23 阿里巴巴集团控股有限公司 One kind instruction issues request processing method and control node
CN108132789A (en) * 2016-11-30 2018-06-08 北京国双科技有限公司 Information conversion method and device
CN108228159A (en) * 2018-02-02 2018-06-29 中国银行股份有限公司 A kind of object interaction method and system based on response chain
CN108337236A (en) * 2017-12-28 2018-07-27 杭州马猴烧韭科技有限公司 A kind of gRPC call methods and device based on Protobuf and HTTP/1.1
CN109067860A (en) * 2018-07-20 2018-12-21 山东中创软件工程股份有限公司 A kind of mobile terminal message treatment method and relevant apparatus
CN109857576A (en) * 2019-01-28 2019-06-07 中国工商银行股份有限公司 RPC interface call method and device
CN110673831A (en) * 2019-08-22 2020-01-10 深圳联友科技有限公司 Cache calculation method for request parameters
CN110941655A (en) * 2018-09-21 2020-03-31 中移(杭州)信息技术有限公司 Data format conversion method and device
CN111045833A (en) * 2018-10-15 2020-04-21 北京京东尚科信息技术有限公司 Interface calling method and device
US10802844B2 (en) 2016-04-28 2020-10-13 Microsoft Technology Licensing, Llc Distributed application based off of stateful desktop application

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101695076A (en) * 2009-09-21 2010-04-14 中兴通讯股份有限公司 Method and device of unified agent adaptation based on Web service and adaptation system
CN101719902A (en) * 2009-12-04 2010-06-02 深圳创维数字技术股份有限公司 Remote procedure calling (PRC) method and system
CN101854371A (en) * 2009-03-31 2010-10-06 华为技术有限公司 Method and device for calling and processing JavaScript object
US20110191405A1 (en) * 2010-02-03 2011-08-04 Xsignnet Ltd. Automatic Client-Server Code Generator

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101854371A (en) * 2009-03-31 2010-10-06 华为技术有限公司 Method and device for calling and processing JavaScript object
CN101695076A (en) * 2009-09-21 2010-04-14 中兴通讯股份有限公司 Method and device of unified agent adaptation based on Web service and adaptation system
CN101719902A (en) * 2009-12-04 2010-06-02 深圳创维数字技术股份有限公司 Remote procedure calling (PRC) method and system
US20110191405A1 (en) * 2010-02-03 2011-08-04 Xsignnet Ltd. Automatic Client-Server Code Generator

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
JCAI: "fepss-rpc/src/main at master", 《HTTPS://GITHUB.COM/JCAI/FEPSS-RPC/BLOB/MASTER/SRC/MAIN》 *
NIKOLAI POPOV: "Java: Google Protobufs to rpc some data between two processes", 《HTTP://BRUZAH.BLOGSPOT.COM/2012/02/JAVA-GOOGLE-PROTOBUFS-TO-RPC-SOME-DATA.HTML》 *
ZHAOZHENG7758: "protobuf协议语言指南", 《HTTP://BLOG.CSDN.NET/ZHAOZHENG7758/ARTICLE/DETAILS/6749047》 *

Cited By (26)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103970737A (en) * 2013-01-24 2014-08-06 腾讯科技(深圳)有限公司 Data constitution method and device
CN104104663B (en) * 2013-04-09 2018-06-19 深圳中兴网信科技有限公司 A kind of distribution invocation framenort, equipment and its data transmission method
CN104104663A (en) * 2013-04-09 2014-10-15 深圳中兴网信科技有限公司 Distributed invocation framework, and devices and data transmission method thereof
WO2015100652A1 (en) * 2013-12-31 2015-07-09 北京新媒传信科技有限公司 Method and apparatus for performing conversion among serialized messages
CN105793842B (en) * 2013-12-31 2019-10-18 北京新媒传信科技有限公司 Conversion method and device between serialized message
CN105793842A (en) * 2013-12-31 2016-07-20 北京新媒传信科技有限公司 Method and apparatus for performing conversion among serialized messages
CN103970855A (en) * 2014-05-06 2014-08-06 车智互联(北京)科技有限公司 Device and method for processing data
CN105446867A (en) * 2014-08-22 2016-03-30 阿里巴巴集团控股有限公司 Method and apparatus for generating test data
CN105095492A (en) * 2015-08-19 2015-11-25 北京京东尚科信息技术有限公司 Data processing method and device
CN105095492B (en) * 2015-08-19 2018-09-04 北京京东尚科信息技术有限公司 A kind of data processing method and device
CN105763619B (en) * 2016-03-31 2019-07-05 广州欢聚时代信息科技有限公司 The method and device that client and server-side are communicated
CN105763619A (en) * 2016-03-31 2016-07-13 广州华多网络科技有限公司 Method and device for communication of client and server
US10802844B2 (en) 2016-04-28 2020-10-13 Microsoft Technology Licensing, Llc Distributed application based off of stateful desktop application
CN107621968A (en) * 2016-07-15 2018-01-23 阿里巴巴集团控股有限公司 One kind instruction issues request processing method and control node
CN106302442B (en) * 2016-08-12 2019-06-25 广州慧睿思通信息科技有限公司 A kind of network communication resolve packet method based on Java language
CN106302442A (en) * 2016-08-12 2017-01-04 广州慧睿思通信息科技有限公司 A kind of network communication packet analytic method based on Java language
CN108132789A (en) * 2016-11-30 2018-06-08 北京国双科技有限公司 Information conversion method and device
CN108337236A (en) * 2017-12-28 2018-07-27 杭州马猴烧韭科技有限公司 A kind of gRPC call methods and device based on Protobuf and HTTP/1.1
CN108228159A (en) * 2018-02-02 2018-06-29 中国银行股份有限公司 A kind of object interaction method and system based on response chain
CN109067860A (en) * 2018-07-20 2018-12-21 山东中创软件工程股份有限公司 A kind of mobile terminal message treatment method and relevant apparatus
CN109067860B (en) * 2018-07-20 2021-11-09 山东中创软件工程股份有限公司 Mobile terminal message processing method and related device
CN110941655A (en) * 2018-09-21 2020-03-31 中移(杭州)信息技术有限公司 Data format conversion method and device
CN111045833A (en) * 2018-10-15 2020-04-21 北京京东尚科信息技术有限公司 Interface calling method and device
CN109857576A (en) * 2019-01-28 2019-06-07 中国工商银行股份有限公司 RPC interface call method and device
CN110673831A (en) * 2019-08-22 2020-01-10 深圳联友科技有限公司 Cache calculation method for request parameters
CN110673831B (en) * 2019-08-22 2023-02-03 深圳联友科技有限公司 Cache calculation method for request parameters

Similar Documents

Publication Publication Date Title
CN102810069A (en) JAVA object requesting and responding methods, devices and systems and terminal
Shamis et al. UCX: an open source framework for HPC network APIs and beyond
US20030009539A1 (en) Distributed object middleware connection method
CN105320440B (en) Information processing method, device and system
KR101159364B1 (en) Mapping between object oriented and service oriented representations of a distributed application
US20140351829A1 (en) System and method for processing messages in a service-oriented pipeline architecture
CN103747004A (en) Realizing method of internet of things communication protocol
EP3561680B1 (en) Rpc conversion process system and rpc conversion method
CN105183452A (en) Spring AOP based remote protocol service middleware for monitoring power distribution device
US10609125B2 (en) Method and system for transmitting communication data
EP4270204A1 (en) Multi-cloud interface adaptation method and system based on micro-service, and storage medium
CN106686021B (en) Service calling method and gateway
Leitão et al. Integration patterns for interfacing software agents with industrial automation systems
KR101558289B1 (en) Composing message processing pipelines
KR20080064587A (en) Open framework system for heterogeneous computing and service integration
AlShahwan et al. Mobile cloud computing for providing complex mobile web services
CN114422350B (en) Public cloud container instance creation method
US7392060B2 (en) Mobile exchange infrastructure
EP3398304B1 (en) Network service requests
CN103002047A (en) RPC (Remote Procedure Call) type WEB SOA (Service-Oriented Architecture) method
US20110321022A1 (en) Code generation through metadata programming for mobile devices and web platforms to ease access to web services
CN109525443B (en) processing method and device for distributed pre-acquisition communication link and computer equipment
CN112905273A (en) Service calling method and device
CN113992641A (en) Data processing method, device, equipment and storage medium
JP5839604B2 (en) APL-GW-FE

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C53 Correction of patent of invention or patent application
CB02 Change of applicant information

Address after: 19, building 18, Changhong technology building, 518057 South twelve Road, South tech Zone, Nanshan District hi tech Zone, Guangdong, Shenzhen

Applicant after: SHENZHEN TEMOBI TECHNOLOGY CO., LTD.

Address before: 19, building 18, Changhong technology building, 518057 South twelve Road, South tech Zone, Nanshan District hi tech Zone, Guangdong, Shenzhen

Applicant before: Shenzhen Temobi Science & Tech Development Co.,Ltd.

COR Change of bibliographic data

Free format text: CORRECT: APPLICANT; FROM: SHENZHEN TEMOBI SCIENCE + TECHNOLOGY CO., LTD. TO: SHENZHEN RONGCHANG TIANXIA TECHNOLOGY CO., LTD.

C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
ASS Succession or assignment of patent right

Owner name: RONGCHUANG TIANXIA (SHANGHAI) TECHNOLOGY DEVELOPME

Free format text: FORMER OWNER: SHENZHEN RONGCHANG TIANXIA TECHNOLOGY CO., LTD.

Effective date: 20150610

C41 Transfer of patent application or patent right or utility model
TA01 Transfer of patent application right

Effective date of registration: 20150610

Address after: 200433 Shanghai City, Yangpu District Wei Road No. 6 room 502-8

Applicant after: World (Shanghai) Technology Development Co., Ltd.

Address before: 19, building 18, Changhong technology building, 518057 South twelve Road, South tech Zone, Nanshan District hi tech Zone, Guangdong, Shenzhen

Applicant before: SHENZHEN TEMOBI TECHNOLOGY CO., LTD.

WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20121205

WD01 Invention patent application deemed withdrawn after publication