CN103002047A - RPC (Remote Procedure Call) type WEB SOA (Service-Oriented Architecture) method - Google Patents

RPC (Remote Procedure Call) type WEB SOA (Service-Oriented Architecture) method Download PDF

Info

Publication number
CN103002047A
CN103002047A CN2012105535954A CN201210553595A CN103002047A CN 103002047 A CN103002047 A CN 103002047A CN 2012105535954 A CN2012105535954 A CN 2012105535954A CN 201210553595 A CN201210553595 A CN 201210553595A CN 103002047 A CN103002047 A CN 103002047A
Authority
CN
China
Prior art keywords
soap
rpc
service
web server
server architecture
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN2012105535954A
Other languages
Chinese (zh)
Other versions
CN103002047B (en
Inventor
张珠明
郝众望
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tianjin Huizhi Network Technology Co ltd
Original Assignee
Shanghai Feixun Data Communication 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 Shanghai Feixun Data Communication Technology Co Ltd filed Critical Shanghai Feixun Data Communication Technology Co Ltd
Priority to CN201210553595.4A priority Critical patent/CN103002047B/en
Publication of CN103002047A publication Critical patent/CN103002047A/en
Application granted granted Critical
Publication of CN103002047B publication Critical patent/CN103002047B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Telephonic Communication Services (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses a RPC (Remote Procedure Call) type WEB SOA (Service-Oriented Architecture) method. The RPC type WEB service-oriented architecture method comprises the steps of: abstracting a WEB page into an object which contains all the configuration information relevant to services as well as application; after the abstraction, packaging corresponding configuration information in an appointed SOAP (Service-Oriented Architecture Packet) and sending the SOAP to an SOAP server side by a client use end; analyzing the received SOAP and then taking out a called method and the configuration information by the SOAP server side; and sending the called method and the configuration information to a lower application module to finish service configuration by the SOAP server side. The RPC type WEB SOA method, disclosed by the invention, simplifies the process of analyzing data messages by the WEB SOA, and can call the application module at the bottom layer only by performing one service or application analysis.

Description

A kind of RPC formula web server architecture method
Technical field
The present invention relates to the WEB architecture technology, relate in particular to a kind of RPC formula web server architecture method.
Background technology
WEB service (WEB Service) is a kind of technology of Service-Oriented Architecture Based, provides service by standard WEB agreement, guarantees that the application service of different platform can be mutual.According to the W3C definition, the WEB service should be software systems, in order to the interoperability between the network enabled different machines.The normally many application programming interfaces of network service (API) form, and they carry out the request that the client submits to by the remote server of network.
The WEB service has three kinds of means: remote procedure call (RPC), Service-Oriented Architecture Based (SOA) and statement sexual state shift (REST).
Remote procedure call (RPC)-call for the user for the WEB service provides a distributed function/method interface.This is a kind of more traditional mode, usually, in WSDL the RPC interface is defined (being similar to early stage XML-RPC).In essence, the RPC mode is utilized a simple mapping, and the user is asked directly to change into function/method that a language-specific is write.
Service-Oriented Architecture Based (SOA)-now, what industry was relatively paid close attention to is to defer to Service-Oriented Architecture Based (Service-Oriented Architecture, SOA) to make up the WEB service.In this mode, communication is by message-driven, and no longer is certain action or method call, and this WEB service is also referred to as " message-oriented service ".
The statement sexual state shifts (Representational State Transfer, REST)-REST WEB service class and is similar to HTTP or other similar agreements, and interface is for calling, such as HTTP GET, PUT, POST, DELETE one group of widely used standard.This mode is paid close attention to those stable resources mutual, rather than message or action.
RPC formula WEB service (RPC-style WEB Service) is received an envelope (envelope) that is full of data from client usually, then beams back an envelope that is full of equally data.RPC formula framework means: method Information And Action domain information is all inner at envelope or header (headers), concrete which kind of envelope that adopts, do not affect the classification here, but HTTP is a kind of common envelope form, and another kind of common envelope form is SOAP, the SOAP envelope is placed in the HTTP envelope, transmits the SOAP document at HTTP.Own vocabulary is adopted in the service of each RPC formula, and just as computer program, REST formula WEB service is then opposite, and their share a cover standard vocabulary, i.e. HTTP method, and each object in the REST formula is served has unified basic interface.
The web server architecture of taking in embedded system at present mainly is that basic framework and data analysis process are as follows in the mode of REST or REST and RPC mixing:
At first, the address of the page that the user will dispose in terminal input, namely by a series of static state or dynamically the page configuration information is sent to the WEB server by http protocol;
Then, the method method of calling in the HTTP message is received in the analysis of WEB service end, the configuration information with the html format storage in the message is analyzed after the acquisition methods again, at last configuration information is sent to each functional module, thereby realizes professional configuration.
In the system of embedded device, consider the finiteness of chip disposal ability and memory space, and call the complexity that various bottoms are used that may there be following problem in this web server architecture of REST:
When needs carried out too much configuration, the REST service architecture need to be set up a plurality of WEB pages and cooperate different application, and the resource that therefore need to take is relatively many;
The process need of processing client operation in the hybrid-type service architecture of REST service architecture or REST and RPC is divided into two parts, the http/https message that issues for the user, the first step need to be analyzed the method for calling in this message, distinguishes the different method such as put, post, delete; Second step then needs to analyze different application by the content of analyzing in the http message, thereby realizes the operation to bottom different business different application.Such mode is obviously relatively wasted resource in embedded system, complexity is also than height.
Summary of the invention
Problem for above-mentioned existence, the purpose of this invention is to provide a kind of RPC formula web server architecture method, service architecture based on the RPC formula of embedded system development can be than faster and simply realizing calling of bottom business, the limited resources of embedded device have relatively been saved, simplify the basic framework of WEB service, and reduced the complexity of service resolution and realization.
The objective of the invention is to be achieved through the following technical solutions:
A kind of RPC formula web server architecture method, wherein, build on a kind of RPC formula web server architecture, described RPC formula web server architecture from top to bottom comprises the WEB page, SOAP server and lower floor's application module, the described WEB page is positioned at client's use side, and described RPC formula web server architecture method comprises the following steps:
With the described WEB page abstract be object, comprised all in the described object with professional and use relevant configuration informations;
After abstract the finishing, described client's use side is encapsulated in corresponding configuration information in the SOAP bag of an appointment, and by the http/https agreement described SOAP bag is sent to described SOAP server end;
Described SOAP server end is resolved method and the configuration information that rear taking-up is called to the described SOAP bag of receiving;
Described SOAP server end sends to described lower floor application module with the described method of calling and configuration information, the finishing service configuration.
Above-mentioned RPC formula web server architecture method, wherein, described http/https agreement utilizes the http message as transmission channel, does not carry any information, and described SOAP seals and is contained in the described http message.
Above-mentioned RPC formula web server architecture method, wherein, the method that all configuration informations are done corresponding definition in the described SOAP message inside of appointment comprises set method, get method, add method and delete method.
Above-mentioned RPC formula web server architecture method, wherein, WEB server module and application service module have been gathered in described SOAP server inside.
Above-mentioned RPC formula web server architecture method, wherein, described SOAP server end sends to described lower floor application module with the described method of calling and configuration information, and calls corresponding described application service module and carry out relevant operation, the finishing service configuration.
Compared with the prior art, beneficial effect of the present invention is:
1, simplifies the process that web server architecture is analyzed the data message, only need carry out once business or applied analysis, can call the application module of bottom.
2, web server architecture and concrete application are had nothing to do, the concrete configuration page that need to not provide in REST formula service architecture can be configured according to business or data model intuitively;
3, keeping to do corresponding adjustment for different business or agreement in the constant situation of web server architecture.
Description of drawings
Fig. 1 is the structural representation of RPC formula web server architecture of the present invention;
Fig. 2 is the schematic process flow diagram of RPC formula web server architecture method of the present invention.
Embodiment
The invention will be further described below in conjunction with schematic diagram and concrete operations embodiment.
A kind of RPC formula of the present invention web server architecture method, build on a kind of RPC formula web server architecture, as shown in Figure 1, RPC formula web server architecture from top to bottom comprises the WEB page, SOAP server and lower floor's application module, the WEB page is positioned at client's use side, and WEB server module and the application service module in the original REST formula WEB framework gathered in SOAP server inside.
In the preferred embodiment of the present invention, RPC formula web server architecture method comprises the following steps:
With the WEB page abstract be object, in native system concrete abstract be objects, comprised all and professional configuration informations relevant with application among this objects.
After abstract the finishing, client's use side is encapsulated in corresponding configuration information in the SOAP bag of an appointment, and by the http/https agreement SOAP bag is sent to the SOAP server end.Http message does not herein carry any information only as transmission channel, and in the SOAP bag of all configuration informations in the http message, SOAP seals among the hearders that is contained in the http message.The various method of original http do not re-use herein, but specifying SOAP message inside to do corresponding definition, such as being defined as the whole bag of tricks such as set, get, add, delete, generally be define method commonly used, also comprised the value of various configuration informations and parameter simultaneously.
The SOAP server end is resolved method and the configuration information that rear taking-up is called to the SOAP bag of receiving.Final SOAP server end sends to lower floor's application module with method and the configuration information that calls, and calls corresponding application service module and carry out relevant operation, the finishing service configuration.
The present invention has simplified the process that web server architecture is analyzed the data message, only need carry out once business or applied analysis, can call the application module of bottom; Web server architecture and concrete application are had nothing to do, and the concrete configuration page that need to not provide in REST formula service architecture can be configured according to business or data model intuitively; Keeping to do corresponding adjustment for different business or agreement in the constant situation of web server architecture.
More than specific embodiments of the invention are described in detail, but the present invention is not restricted to specific embodiment described above, it is just as example.To those skilled in the art, any equivalent modifications and alternative also all among category of the present invention.Therefore, not breaking away from impartial conversion and the modification of having done under the spirit and scope of the present invention, all should contain within the scope of the invention.

Claims (5)

1. RPC formula web server architecture method, it is characterized in that, build on a kind of RPC formula web server architecture, described RPC formula web server architecture from top to bottom comprises the WEB page, SOAP server and lower floor's application module, the described WEB page is positioned at client's use side, and described RPC formula web server architecture method comprises the following steps:
With the described WEB page abstract be object, comprised all in the described object with professional and use relevant configuration informations;
After abstract the finishing, described client's use side is encapsulated in corresponding configuration information in the SOAP bag of an appointment, and by the http/https agreement described SOAP bag is sent to described SOAP server end;
Described SOAP server end is resolved method and the configuration information that rear taking-up is called to the described SOAP bag of receiving;
Described SOAP server end sends to described lower floor application module with the described method of calling and configuration information, the finishing service configuration.
2. RPC formula web server architecture method as claimed in claim 1 is characterized in that described http/https agreement utilizes the http message as transmission channel, does not carry any information, and described SOAP seals and is contained in the described http message.
3. RPC formula web server architecture method as claimed in claim 2 is characterized in that the method that all configuration informations are done corresponding definition in the described SOAP message inside of appointment comprises set method, get method, add method and delete method.
4. such as RPC formula web server architecture method as described in any one in the claims 1 to 3, it is characterized in that WEB server module and application service module have been gathered in described SOAP server inside.
5. RPC formula web server architecture method as claimed in claim 4, it is characterized in that, described SOAP server end sends to described lower floor application module with the described method of calling and configuration information, and calls corresponding described application service module and carry out relevant operation, the finishing service configuration.
CN201210553595.4A 2012-12-19 2012-12-19 A kind of RPC formulas web server architecture method Active CN103002047B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210553595.4A CN103002047B (en) 2012-12-19 2012-12-19 A kind of RPC formulas web server architecture method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210553595.4A CN103002047B (en) 2012-12-19 2012-12-19 A kind of RPC formulas web server architecture method

Publications (2)

Publication Number Publication Date
CN103002047A true CN103002047A (en) 2013-03-27
CN103002047B CN103002047B (en) 2017-10-31

Family

ID=47930180

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210553595.4A Active CN103002047B (en) 2012-12-19 2012-12-19 A kind of RPC formulas web server architecture method

Country Status (1)

Country Link
CN (1) CN103002047B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104333592A (en) * 2014-11-04 2015-02-04 中国电子科技集团公司第二十九研究所 Servitization method of electromagnetic terminal
CN106970843A (en) * 2016-01-14 2017-07-21 阿里巴巴集团控股有限公司 remote invocation method and device
CN107179951A (en) * 2016-03-09 2017-09-19 北京京东尚科信息技术有限公司 Remote procedure calling (PRC) method and device
CN109783375A (en) * 2018-12-27 2019-05-21 四川驹马科技有限公司 A kind of parsing of data, analogy method
CN111414261A (en) * 2020-03-18 2020-07-14 政采云有限公司 Cross-network calling method and device of distributed system and related components

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040068586A1 (en) * 2002-10-04 2004-04-08 Oracle International Corporation Techniques for managing interaction of web services and applications
CN102779041A (en) * 2012-06-20 2012-11-14 北京市计算中心 Engineering calculation system and method
CN102799764A (en) * 2012-06-20 2012-11-28 北京市计算中心 Web-based engineering calculation system and method

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040068586A1 (en) * 2002-10-04 2004-04-08 Oracle International Corporation Techniques for managing interaction of web services and applications
CN102779041A (en) * 2012-06-20 2012-11-14 北京市计算中心 Engineering calculation system and method
CN102799764A (en) * 2012-06-20 2012-11-28 北京市计算中心 Web-based engineering calculation system and method

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
冯新扬,沈建京: "REST和RPC:两种Web服务架构风格比较分析", 《小型微型计算机系统》 *
百度技术: "《Web自动化测试中使用groovy实现页面的对象化》", 《WEB自动化测试中使用GROOVY实现页面的对象化》 *

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104333592A (en) * 2014-11-04 2015-02-04 中国电子科技集团公司第二十九研究所 Servitization method of electromagnetic terminal
CN106970843A (en) * 2016-01-14 2017-07-21 阿里巴巴集团控股有限公司 remote invocation method and device
CN107179951A (en) * 2016-03-09 2017-09-19 北京京东尚科信息技术有限公司 Remote procedure calling (PRC) method and device
CN109783375A (en) * 2018-12-27 2019-05-21 四川驹马科技有限公司 A kind of parsing of data, analogy method
CN109783375B (en) * 2018-12-27 2022-04-12 四川驹马科技有限公司 Data analysis and simulation method
CN111414261A (en) * 2020-03-18 2020-07-14 政采云有限公司 Cross-network calling method and device of distributed system and related components
CN111414261B (en) * 2020-03-18 2023-08-22 政采云有限公司 Cross-network calling method and device of distributed system and related components

Also Published As

Publication number Publication date
CN103002047B (en) 2017-10-31

Similar Documents

Publication Publication Date Title
CN108449418B (en) Hybrid cloud platform management system and method
CN101923485B (en) JACA remote invocation method in CORBA (Common Object Request Breaker Architecture) system
CN109246251A (en) A kind of micro services call method, device, system, equipment and readable storage medium storing program for executing
Bouloukakis et al. Automated synthesis of mediators for middleware-layer protocol interoperability in the IoT
KR101602099B1 (en) System for Service inter-working based REST in Internet of Things and Method thereof
CN108038796B (en) C + + based GIS service operation method and storage medium
CN103002047A (en) RPC (Remote Procedure Call) type WEB SOA (Service-Oriented Architecture) method
CN105282019B (en) Data gateway based on service can configure method and system
CN102810069A (en) JAVA object requesting and responding methods, devices and systems and terminal
CN109451014B (en) WebService agent system and transparent agent method thereof
CN105763619A (en) Method and device for communication of client and server
CN103139234A (en) Device and method for encapsulating data service
CN103268230A (en) Method used for constructing cloud computing information management platform capable of expanding service
WO2022222901A1 (en) System architecture for implementing dds communication on basis of autosar, communication method, and device
CN110308986A (en) The method of distributed training data communication on container cloud based on Optimized Operation
CN101651631B (en) Method for message access in system integration of global station network of television station
CN103870280B (en) Webpage seamless combining processing method based on FLEX and JSP
CN102968807B (en) image automatic generation method and system
CN102486780A (en) Method, client and server for asynchronous cross-domain transmission on extensible markup language (XML) data
CN101150576A (en) Network server access system and its method
CN106453250A (en) Processing method of big data RPC (Remote Procedure Call Protocol)
CN109525539B (en) Capability calling method, call receipt method, information processing method and system
CN109922139A (en) The dynamic service discovery and dissemination method of heterogeneous network
CN113918245A (en) Data calling method, device, equipment and computer readable storage medium
CN101651632B (en) Message access system applied to global station network main platform of television station

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20201104

Address after: No. 2-3167, zone a, Nonggang City, No. 2388, Donghuan Avenue, Hongjia street, Jiaojiang District, Taizhou City, Zhejiang Province

Patentee after: Taizhou Jiji Intellectual Property Operation Co.,Ltd.

Address before: 201616 Shanghai city Songjiang District Guangfulin road 4855 Lane 20, No. 90

Patentee before: Phicomm (Shanghai) Co.,Ltd.

EE01 Entry into force of recordation of patent licensing contract
EE01 Entry into force of recordation of patent licensing contract

Application publication date: 20130327

Assignee: Hangzhou Bolian Intelligent Technology Co.,Ltd.

Assignor: Taizhou Jiji Intellectual Property Operation Co.,Ltd.

Contract record no.: X2021330000763

Denomination of invention: An RPC web service architecture method

Granted publication date: 20171031

License type: Common License

Record date: 20211117

Application publication date: 20130327

Assignee: ZHEJIANG SUPCON TECHNOLOGY Co.,Ltd.

Assignor: Taizhou Jiji Intellectual Property Operation Co.,Ltd.

Contract record no.: X2021330000764

Denomination of invention: An RPC web service architecture method

Granted publication date: 20171031

License type: Common License

Record date: 20211117

TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20230419

Address after: 300456 Tianjin Binhai New Area Tianjin Pilot Free Trade Zone (Central Business District) Baoyuan Building, No. 3699 Xinhua Road, Tianjin YO-16097

Patentee after: Tianjin Huizhi Network Technology Co.,Ltd.

Address before: No.2-3167, area a, Nonggang City, 2388 Donghuan Avenue, Hongjia street, Jiaojiang District, Taizhou City, Zhejiang Province, 318000

Patentee before: Taizhou Jiji Intellectual Property Operation Co.,Ltd.