CN102316169A - Method for realizing quick service convergence and general service platform - Google Patents

Method for realizing quick service convergence and general service platform Download PDF

Info

Publication number
CN102316169A
CN102316169A CN201110299826A CN201110299826A CN102316169A CN 102316169 A CN102316169 A CN 102316169A CN 201110299826 A CN201110299826 A CN 201110299826A CN 201110299826 A CN201110299826 A CN 201110299826A CN 102316169 A CN102316169 A CN 102316169A
Authority
CN
China
Prior art keywords
resource
data
service
adapter
professional
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
CN201110299826A
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.)
Beijing University of Posts and Telecommunications
Original Assignee
Beijing University of Posts and Telecommunications
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 Beijing University of Posts and Telecommunications filed Critical Beijing University of Posts and Telecommunications
Priority to CN201110299826A priority Critical patent/CN102316169A/en
Publication of CN102316169A publication Critical patent/CN102316169A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention discloses a method for realizing quick service convergence and a general service platform. The method comprises the following steps that: a resource access unit receives data resources of different types and adapts data resources; a service generating unit converges adapted data resources by using a convergence operational character to construct a new data service; and a service executing engine unit resolves and executes the new data service. According to the technical scheme of the invention, the quick convergence of data resources can be realized.

Description

A kind of method and Universal Service Platform of realizing the fastext polymerization
Technical field
The present invention relates to field of software development, relate in particular to a kind of method and Universal Service Platform of realizing the fastext polymerization.
Background technology
Along with the high speed development of information technology, 21st century has become the epoch of information, and the fast changing of information impels life, economy, social construction also to change rapidly thereupon.In these epoch of running a race against time, the ITization degree of enterprise, and how can change in information be made rapidly, quick, response accurately become the key point that a lot of enterprises are able to survival and development.
The traditional enterprise function mode generally is to be linked up by business personnel and client to obtain business demand, again business demand is conveyed to the IT personnel of enterprise, and the IT personnel then according to understanding and analysis to demand, are translated into executable program.At last, enterprise the IT personnel give the business personnel with solution again, after business personnel's audit, releases and give End-Customer.In such corporate operation flow process, remove the process of IT personnel software development, client and business personnel's communication, business personnel and IT personnel's communication become the key of restriction enterprise development efficiency.Who can make the quickest correct reaction in the shortest time under the same market demand, who is exactly the winner.
Enterprises face is professional fast to be changed, and how to make full use of existing various IT resource and service, and quick, the simple and direct exploitation of carrying out business becomes the problem that enterprise presses for solution.Problem if there is a kind of platform to be used, and provide fast simple method to create the scene application, just can be well solved by the business personnel.
Summary of the invention
In view of this, main purpose of the present invention is to provide a kind of method and Universal Service Platform of realizing the fastext polymerization, can realize the rapid polymerization of data resource.
For achieving the above object, technical scheme of the present invention is achieved in that
The present invention provides a kind of Universal Service Platform of realizing the fastext polymerization, comprising: resource access unit, professional generation unit, the professional engine unit of carrying out; Wherein,
The resource access unit is used to receive the data of different types resource, and the data resource is carried out adaptation processing;
Professional generation unit is used to utilize the converging operation symbol that the data resource through adaptation processing is carried out converging operation, makes up the data service that makes new advances;
The professional engine unit of carrying out is used for new data service is resolved and carried out.
In the above-mentioned Universal Service Platform, said resource access unit further comprises: the local file adapter resource of REST-WS adapter resource and/or Soap-WS adapter resource and/or Excel form and/or MySql database resource adapter and/or oracle database adapter resource and/or FTP adapter resource and/or HTTP adapter resource and/or RSS adapter resource.
In the above-mentioned Universal Service Platform, the said professional engine unit of carrying out further comprises:
Resolve Executive Module, be used for new data service is resolved and carried out;
The Web service deployment module is used for according to demand the data service service processing after resolving, the Web service of data service being issued into SOAP form or REST form.
In the above-mentioned Universal Service Platform, the said professional engine unit of carrying out also comprises:
The adapter resource interface module is used for the data resource that gets access to from the resource access unit, is stored in the volatile data base after being converted into specific format;
Volatile data base is used to store data resource;
Resource management module is used for this volatile data base and Web service are managed;
Java business integration (JBI) interface module is used for business is carried out the service-Engine that engine unit becomes the JBI interface specification.
The present invention also provides a kind of method that realizes the fastext polymerization, comprising:
The resource access unit receives the data of different types resource, and the data resource is carried out adaptation processing;
Professional generation unit utilizes the converging operation symbol that the data resource through adaptation processing is carried out converging operation, makes up the data service that makes new advances;
The professional engine unit of carrying out is resolved and is carried out new data service.
In the said method, said resource access unit receives the data of different types resource and is:
The resource access unit is connected with various data of different types source, receives various data of different types resources from data source; Wherein, said data source comprises relational database and/or the Web Service resource of Simple Object Access Protocol (SOAP) form and/or the Web Service resource that the statement sexual state shifts (REST) form of local file and/or different vendor.
In the said method, saidly the data resource carried out adaptation processing be:
Adapter resource in the resource access unit carries out adaptation processing to the data resource; Wherein, adapter resource comprises: the local file adapter resource of REST-WS adapter resource and/or Soap-WS adapter resource and/or Excel form and/or MySql database resource adapter and/or oracle database adapter resource and/or FTP adapter resource and/or HTTP adapter resource and/or RSS adapter resource.
In the said method, said professional generation unit utilizes converging operation symbol that the data resource through adaptation processing is carried out converging operation to be:
Professional generation unit utilizes the data aggregate language and the converging operation symbol of lightweight, and the various data resources of the process adaptation processing that the resource access unit is provided carry out converging operation.
In the said method; The XML standard followed in the data aggregate language of said lightweight; From NameSpace, time element, data resource and polymerization descriptor, connecting line, input interface five aspects the data resource is described; Polymerization methods is defined, and is the complete mode of passing through the new data service of script describing language generation.
In the said method, this method also comprises:
Visual user's editing interface of professional generation unit receives the data object of the multi-source that utilizes the unified XML language description, and receives and utilize visual pulling or operation that the mode of edit script language is carried out.
In the said method, the said professional engine unit of carrying out is resolved and is implemented as new data service:
The professional execution in the engine unit resolved Executive Module the new data service that professional generation unit generates resolved, and carry out this data service according to the data that parse.
In the said method, this method also comprises:
The professional execution in the engine unit, Web service deployment module according to demand to the data service service processing after resolving, the Web service of data service being issued into SOAP form or REST form; The data resource that the adapter resource interface module will get access to from the resource access unit is stored in the volatile data base after being converted into specific format, and resource management module is managed this volatile data base and Web service; Java business integration (JBI) interface module is carried out the service-Engine that engine unit becomes the JBI interface specification with business.
The method and the Universal Service Platform of realization fastext provided by the invention polymerization, the resource access unit receives the data of different types resource, and the data resource is carried out adaptation processing; Professional generation unit utilizes the converging operation symbol that the data resource through adaptation processing is carried out converging operation, makes up the data service that makes new advances; The professional engine unit of carrying out is resolved and carried out new data service, can realize the rapid polymerization of data resource, for the business event developer provides fast, business polymerization environment easily, and can realize upgrading in time, and is easy to maintenance.
Description of drawings
Fig. 1 is the structural representation that the present invention realizes the Universal Service Platform of fastext polymerization;
Fig. 2 is the schematic flow sheet that the present invention realizes the method for fastext polymerization;
Fig. 3 is the schematic flow sheet of the loading method of adapter resource in the resource access unit of the present invention;
Fig. 4 is the present invention's schematic flow sheet of the converging operation method of the converging operation symbol of merging in order;
Fig. 5 is the professional schematic flow sheet of carrying out the professional method of engine unit service data of the present invention;
Fig. 6 is the schematic flow sheet that the present invention realizes the operation service method of operating.
Embodiment
Basic thought of the present invention is: the resource access unit receives the data of different types resource, and the data resource is carried out adaptation processing; Professional generation unit utilizes the converging operation symbol that the data resource through adaptation processing is carried out converging operation, makes up the data service that makes new advances; The professional engine unit of carrying out is resolved and is carried out new data service.
Through accompanying drawing and specific embodiment the present invention is done further detailed description more below.
The present invention provides a kind of Universal Service Platform of realizing the fastext polymerization; Fig. 1 is the structural representation that the present invention realizes the Universal Service Platform of fastext polymerization; As shown in Figure 1, this Universal Service Platform comprises: resource access unit 11, professional generation unit 12, the professional engine unit 13 of carrying out; Wherein,
Resource access unit 11 is used to receive the data of different types resource, and the data resource is carried out adaptation processing;
Professional generation unit 12 is used to utilize the converging operation symbol that the data resource through adaptation processing is carried out converging operation, makes up the data service that makes new advances;
The professional engine unit 13 of carrying out is used for new data service is resolved and carried out.
Said resource access unit 11 further comprises: the local file adapter resource of REST-WS adapter resource and/or Soap-WS adapter resource and/or Excel form and/or MySql database resource adapter and/or oracle database adapter resource and/or FTP adapter resource and/or HTTP adapter resource and/or RSS adapter resource.
The said professional engine unit 13 of carrying out further comprises:
Resolve Executive Module 131, be used for new data service is resolved and carried out;
Web service deployment module 132 is used for according to demand the data service service processing after resolving, the Web service of data service being issued into SOAP form or REST form.
The said professional engine unit 13 of carrying out also comprises:
Adapter resource interface module 133 is used for the data resource that gets access to from resource access unit 11, is stored in the volatile data base 134 after being converted into specific format;
Volatile data base 134 is used to store data resource;
Resource management module 135 is used for volatile data base 134 and Web service are managed;
Java business integration (JBI) interface module 136 is used for business is carried out the service-Engine that engine unit 13 becomes the JBI interface specification.
Based on above-mentioned Universal Service Platform, the present invention also provides a kind of method that realizes the fastext polymerization, and Fig. 2 is the schematic flow sheet that the present invention realizes the method for fastext polymerization, and is as shown in Figure 2, and this method may further comprise the steps:
Step 201, the resource access unit receives the data of different types resource, and the data resource is carried out adaptation processing;
Concrete; Resource access unit and the various dissimilar local file and/or the relational database and/or the Simple Object Access Protocol (SOAP of different vendor; Simple Object Access Protoco1) the Web Service resource of form and/or statement sexual state shift (REST; Representational State Transfer) data sources such as Web Service resource of form connect, and receive various data of different types resources from data source; Wherein, local file comprises xml file, excel file, txt file etc., and relational database comprises MySql database, oracle database, DB2 database etc.; Comprise various adapter resources in the resource access unit, these adapter resources are used for the data resource is carried out adaptation processing; The resource access unit comprises following adapter resource: REST-WS (Representational State Transfer-web service) adapter resource; Serve the url (URL of (Web service) through UI Preferences REST form web that can be mutual; Uniform Resource Locator), the Webservice data resource that connects the REST form; And/or the SOAP-WS adapter resource, url and the end points (endpoint) of the UI Preferences SOAP form Web service through can be mutual connect the Web service data resource of SOAP form; And/or the local file adapter resource of Excel form, the basic format of the UI Preferences Excel file through can be mutual connects the Excel file resource; And/or MySql database resource adapter, the respective field of the MySql database that the UI Preferences through can be mutual will connect connects the MySql database resource; And/or the oracle database adapter resource, the respective field of the oracle database that the UI Preferences through can be mutual will connect connects the oracle database resource; And/or the FTP adapter resource, the server info and the user authentication information of the UI Preferences FTP resource through can be mutual connect the FTP resource; And/or the HTTP adapter resource, the url of the UI Preferences HTTP resource through can be mutual connects the HTTP resource; And/or simple and easy information fusion (RSS, Really Simple Syndication) adapter resource, the url of the RSS resource that will subscribe to through UI Preferences that can be mutual connects the RSS resource; The data resource of resource access unit after with adaptation processing offers professional generation unit and calls.
Step 202, professional generation unit utilize the converging operation symbol that the data resource through adaptation processing is carried out converging operation, make up the data service that makes new advances;
Concrete, professional generation unit is connected with the resource access unit, can call the various data resources that the resource access unit provides; Professional generation unit utilizes converging operation symbols such as data aggregate language and data transaction, filtration, connection, the mixing of lightweight; The various data resources of the process adaptation processing that the resource access unit is provided carry out converging operation, construct the data service of a new synthesization at last; Here, professional generation unit can also provide visual user's editing interface, can receive the data object that the user utilizes unified XML language description multi-source, receives the user and utilizes visual pulling or operation that the mode of edit script language is carried out.
Step 203, the professional engine unit of carrying out is resolved and is carried out new data service;
Concrete, the professional engine unit of carrying out can provide the environment that moves new data service, and the support of operation can be provided; The professional execution in the engine unit resolved Executive Module the new data service that professional generation unit generates resolved, and carry out this data service according to the data that parse; In addition, the Web service deployment module according to demand to the data service service processing after resolving, the Web service of data service being issued into SOAP form or REST form; The adapter resource interface module can be with the data resource that gets access to from the resource access unit; Be stored in the volatile data base after being converted into specific format; Resource management module is managed this volatile data base and said Web service, mainly comprise data resource in the database renewal and Web service startup and stop etc.; Java business integration (JBI) interface module can be carried out the service-Engine that engine unit becomes the JBI interface specification with business, can be integrated in ESB (ESB, the Enterprise Service Bus) product that meets the JBI standard.
Fig. 3 is the schematic flow sheet of the loading method of adapter resource in the resource access unit of the present invention, and is as shown in Figure 3, and this method may further comprise the steps:
Step 301 gets into the program entry class through java plug-in framework (JPF, Java Plug-in Framework), and the program entry class realizes program initialization work according to the JPF rule, reads the configuration file of all adapter resources.
Step 302, program initialization.
Step 303, the program entry class loads all adapter resources according to the configuration file of the adapter resource that reads.
Step 304, initialization volatile data base, volatile data base are used for storing the middle ephemeral data that the data conversion process generates.
Step 305 judges whether to load successfully, if if execution in step 306 not, shows the failure information, execution in step 301.
Step 306 is waited for receiving user's input, carries out mutual.
The collocation method of the Web service adapter resource of REST form may further comprise the steps in the embodiment of the invention resource access unit:
Step 1, the icon of the working panel of the Web service adapter resource of double-click REST form triggers the service area.
Step 2, newly-built Navigation Control class is used to control the switch operating of the page.
Step 3, informing function realize a type descriptor that generates all pages.
Step 4 notifies all window class to carry out initialization by descriptor.
Step 5 realizes class wizard's control type registration of navigating by function, the page-describing symbol of generation type, and the Navigation Control class is according to a page-describing symbol type control page switch operating.
Step 6, function realize that a type notice Navigation Control class begins navigation.
Step 7, the attribute page table receives the configuration information that the user fills in page displayed, and triggers and monitor function.
Step 8 is monitored function and is claimed original list through the page-describing symbol type next table name of displaying.
Step 9, a page-describing symbol type notification list name list page is showed.
Step 10, table name claim that the original list request function realizes type helping to obtain the chained list that the table name that will show is claimed.
Step 11, function realize type sending request and reception server response to server, and function realizes type the server response that receives being resolved and buffer memory simultaneously.
Step 12, a function realization type notification list name list page displaying table name is claimed tabulation.
Step 13 is selected the particular table title, and triggers and monitor function.
Step 14 is monitored function through the page-describing symbol type next Property Name original list of displaying.
Step 15, a page-describing symbol type notification properties name list page is showed.
Step 16, Property Name original list request function realize type tabulation that the Property Name that will show is obtained in help.
Step 17, function realize a type notification properties name list page displaying Property Name tabulation.
Step 18, the user selects to click completion triggering monitoring function after several attributes and the specified operation mode.
Step 19, Property Name original list notice Navigation Control class finishes navigation work.
Step 20, Navigation Control class informing function realize that class is configured the work of information persistence.
Step 21 is clicked operation and preview and is triggered the monitoring function.
Step 22, the monitoring function asks and receives to respond to the server transmission through function realization class, and function realization class is resolved also buffer memory to response.
Step 23, function realize a type notice preview page displaying operation result.
The collocation method of the Web service adapter resource of SOAP form may further comprise the steps in the resource access unit of the present invention:
Step 1, the SOAP node icon in the service area of the Web service adapter resource of double-click SOAP form.
Step 2, newly-built interface guide class, according to the descriptor at interface, the switch operating at the attribute configuration interface of control SOAP node.
Step 3, the function of notice SOAP node realize that a type generation all properties disposes the descriptor at sub-interface.
Step 4 is carried out initialization by the interface realization class of descriptor notice all properties configuration.
Step 5, the function of SOAP node realize type descriptor at each sub-interface of guide class registration, notice interface.
Step 6, SOAP nodal function realize that a type notice interface guide class shows the nodal community configuration interface, and beginning guide.
Step 7, interface guide class generates the descriptor of SOAP nodal community configuration interface.
Step 8 shows that by descriptor the SOAP nodal community disposes sub-interface 1, i.e. WSDL (WSDL, Web Services Description Language) address configuration interface.
Step 9, configuration wsdl document address information in the WSDL address configuration interface that shows.
Step 10, the Next button trigger event of clicking in the WSDL address configuration interface is monitored function.
Step 11, action listener function generate the descriptor at attribute configuration interface through interface guide class.
Step 12 is hidden current WSDL address configuration interface by descriptor.
Step 13 shows that by descriptor the SOAP nodal community disposes sub-interface 2, i.e. service operations list interface.
Step 14, SOAP nodal function realize a type parsing wsdl document, to obtain the service operations tabulation.
Step 15 is returned the service operations tabulation by SOAP nodal function realization class, and the service operations tabulation is filled to the interface display zone.
Step 16, selected operation in the service operations list interface.
Step 17, the Next button trigger event of clicking in the service operations list interface is monitored function.
Step 18, action listener function generate the descriptor at attribute configuration interface through interface guide class.
Step 19 is hidden current service operating list interface by descriptor.
Step 20 shows SOAP nodal community configuration interface 3, i.e. input parameter list interface by descriptor.
Step 21, SOAP nodal function realize type further wsdl document of resolving, to obtain the corresponding input parameter tabulation of selected operation.
Step 22 realizes type input parameter that returns a selected operation tabulation by the SOAP nodal function, and the input parameter tabulation is filled to the interface display zone.
Step 23 is filled in the corresponding value of input parameter in the input parameter list interface.
Step 24, " completion " button trigger event of clicking in the input parameter list interface is monitored function.
Step 25, action listener function generate the descriptor at attribute configuration interface through interface guide class.
Step 26 is hidden current input parameter list interface by descriptor.
Step 27 is accomplished guide, preserves the configuration information of SOAP node.
Step 28, operation SOAP node.
Step 29, SOAP nodal function class is according to the parameter value and the parsing WSDL gained information of configuration, and structure also sends soap message to server, and server returns the SOAP response.
Step 30, SOAP nodal function class receive also resolves the SOAP response, response data is deposited in the volatile data base, and in preview interface video data.
In the embodiment of the invention, can utilize the converging operation symbol of orderly merging to realize the data of two data resource nodes are carried out polymerization, and sort according to specific field, wherein, the collocation method of the converging operation symbol that merges in order may further comprise the steps:
Step 1, the output field name of the converging operation that configuration merges in order.
Step 2, through the visual editing interface that pulls, the field name with the data resource node of two inputs maps to the output field name respectively.
Step 3 is specified the field name of ordering, and ascending order or descending is set.
Fig. 4 is the present invention's schematic flow sheet of the converging operation method of the converging operation symbol of merging in order, and as shown in Figure 4, this method may further comprise the steps:
Step 401, the volatile data base Table I D of the converging operation node request that merges in order input data resource node 1.
Step 402, data resource node 1 return data storehouse Table I D1.
Step 403, the volatile data base Table I D of the converging operation node request that merges in order input data resource node 2.
Step 404, data resource node 2 return data storehouse Table I D2.
Step 405, the converging operation node that merges in order according to following grammer, generates orderly union operation SQL according to user's configuration and database table ID:
SELECT*
FROM
(
SELECT " field name 11 " as " output field name 1 ",
" field name 12 " as " output field name 2 "
……
FROM is according to storehouse Table I D1
UNION
SELECT " field name 21 " as " output field name 1 ",
" field name 22 " as " output field name 2 "
……
FROM is according to storehouse Table I D2
)
ORDER BY " specifies the sort by field " [ASC, DESC]
Step 406, the database manipulation class generates SQL to volatile data base table executable operations node, obtains data set.
Step 407, volatile data base returns the data set that generates.
Step 408, the database manipulation class is created new volatile data base table, preserves data set.
Step 409 is returned new Table I D3.
Step 410 is returned new Table I D3.
In the embodiment of the invention; The XML standard followed in the data aggregate language of lightweight; The file structure based on XML Schema that proposes a standard is described, and from NameSpace, time element, data resource and polymerization descriptor, connecting line, input interface five aspects the data resource is described, and the polymerization descriptor is defined; The complete mode of passing through the new data service of script describing language generation can be provided, concrete:
NameSpace (Name Space Group): be meant the different elements or the definition space of attribute.In this language with the interface specification of NameSpace the NameSpace http://www.bupt.edu.cn/ of five elements of entire document; And the interface in defining named space is provided for the definition of the daughter element of other elements or attribute; Inventory element directory like ftp is defined in http://www.bupt.edu.cn/service/ftp, and the inventory element directory of file is defined in http://www.bupt.edu.cn/service/file;
Time element (Date And Time Group): the describing mode that is used to define engineering creation-time and nearest modification time; Be that data resource to data source extracts; And be saved in the database, carry out the important polymerization descriptor that additions and deletions change according to temporal information;
Data resource and polymerization descriptor (Node Group): the common element of data of description resource and polymerization descriptor is provided, also interface is provided simultaneously to its self-described information in NameSpace; The common information of data resource and polymerization descriptor comprises the positional information when showing in the professional UI of the generation module, input data resource and dateout resource when in Universal Database, storing;
Connecting line (Arrow Group): confirm its input and output relation through connecting line between different pieces of information resource and the polymerization descriptor, thereby reach the polymerization of data;
Input interface (Project Data Group): the input to the data resource is configured into line description; Document is independent with it with the mode of interface, conveniently revises and reuses.
Fig. 5 is the professional schematic flow sheet of carrying out the professional method of engine unit service data of the present invention, and as shown in Figure 5, this method may further comprise the steps:
Step 501, the professional engine unit of carrying out receives the request of opening the service scenario file of carrying out the new data service that professional generation unit constructs.
Step 502; The professional file path resolution file of carrying out engine unit according to user's appointment; And according to the content generation dynamic memory class that obtains after resolving; Be used to store each data resource node and polymerization descriptor configuration information, this dynamic memory class will change also writing information in project file in real time in the engineering modification process.
Step 503, the professional engine unit of carrying out dynamically generates the new data resource node according to the service scenario file.
Step 504, the professional engine unit of carrying out is according to the service scenario file, and by each data resource node and polymerization descriptor class auto-initiation, this initialization comprises node location information initialization etc.
Step 505 after each data resource node and the initialization of polymerization descriptor class, after the runtime environment registration of business execution engine unit, is carried out engine unit and just nodal function can be provided.
Professional execution engine unit may further comprise the steps the method for data business service processing among the present invention:
Step 1; Definition REST access interface: base address of all operations definition of REST access interface; REST access interface correspondence five operation: getALL operations altogether is the service lists that obtain the user, and access mode is HTTP GET, and return parameters is a service list; The getByServiceName operation is according to Service name operation service operation, and visit URI is base address+parameter s ervice name, and access mode is HTTP GET, and return parameters returns the state of service operation result and operation service with the JSON form; The addService operation is registration service, and visit URI also is base address+parameter s ervice name, and access mode is a HTTP POST mode, and return parameters is to increase the result phase information that service operations is returned; The updateService operation is a update service, and visit URI also is base address+parameter s ervice name, and access mode is a HTTP PUT mode, and the parameter of returning is a update service result phase information; The deleteService operation is the deletion service, and visit URI also is base address+parameter s ervice name, and access mode is HTTP DELETE, and whether successfully return parameters is deletion service sign; Here, the REST access interface is respectively operated return parameters according to the operating result difference.
Step 2, definition SOAP access interface: SOAP mode interface operation is the same with REST interface operation implication, and parameter is also identical; Difference be SOAP can not setting operation the path and the access mode of visit, the SOAP request all is to visit with HTTP POST mode, in request, will indicate the operation of visit, and wherein all operations of SOAP all with XML form return messages.
In five corresponding operations of above-mentioned REST access interface; The operation service operation is the most complicated, is operating as example with operation service and describes, and Fig. 6 is the schematic flow sheet that the present invention realizes the operation service method of operating; As shown in Figure 6, this method may further comprise the steps:
Step 601 when starting Universal Service Platform, at first starts Web server according to configuration file, disposes the Web Service service of having set up; Web server carries out AM automatic monitoring SOAP and REST request to the port of the Web Service service of deployment then.
Step 602, receive SOAP and REST request after, resolving should request, if the data service of request does not exist, then returns professional non-existent information; If the data service of request exists, read the service scenario file of this data service.
Step 603; Node in the parsing service scenario file and the annexation between each node; The nodal information that obtains after preserve resolving in the related data structure, is made mistakes if resolve in the Project class, then returns professional error status through SOAP or REST to the client of the service of calling.
Step 604 according to the nodal information of storing in the Project class, starts execution thread, and execution thread is responsible for carrying out relevant execution environment information processings such as preceding daily record, guarantees the normal execution of next step node.
Step 605 start to be carried out sub-thread, by the nodal information of handling well XM one by one, is finished up to all nodal informations; When execution thread was carried out, main thread was waited for returning of execution result, after obtaining return results, through the request that SOAP or REST come the customer in response end, display result.
Embodiment
With the coal mining enterprise is example; Realize that a location harmful gas concentration surpasses the safety margin place and the prototype system of the map demonstration in the colliery; The bottom analog data source of this system is from the gas of real coal mining enterprise, and transducers such as carbon monoxide are example, and detailed process may further comprise the steps:
Data resource inserts and the data resource polymerization process:
Step 1, the transducer of each working face insert in the same gateway, in gateway; Create the REST service; Represent different sensors through different URL, to the outside restful interface of visit sensor information wherein is provided, the geographical location information of transducer is stored in the local data base; Through the ID of transducer, can obtain the geographical location information of transducer.
Step 2 in the visual edit zone, is placed " REST resource " node, and through user interactions configuration REST adapter resource, input pickup node URL is provided with data interchange format JSON/XML; The REST adapter resource sends request; After obtaining specified sensor node data resource and resolving; Provide data attribute (" sensor ID ", " sensor type ", " transducer concentration ", " time ") selective; In the present embodiment, behind three attributes of selection " sensor ID " " sensor type " " transducer concentration ", accomplish the configuration of REST adapter resource; According to the method described above, can dispose " REST resource " node of the correspondence in a plurality of zones.
Step 3 in the visual edit zone, is placed " the converging operation symbol that merges in order " node." the converging operation symbol that merges in order " node is set, merges in order according to sensor type.All REST resource node output is connected to the input of " the converging operation symbol that merges in order " node, the REST resource node obtains data resource through adapter, and stores in the volatile data base; " the converging operation symbol that merges in order " node utilizes corresponding SQL operation temporary table, and all data resources are incorporated in this node in order.
Step 4 in the visual edit zone, is placed " screening symbol " node, connects the output of " the converging operation symbol that merges in order " node; Screening conditions are set: the gas density data keep greater than 0.1%, remove the value less than 0.1%, and the carbonomonoxide concentration data are removed the value less than 0.2% greater than 0.2% reservation; Screening tally used in ancient times as credentials or a warrant point generates the SELECT SQL statement automatically, and handles the data resource of volatile data base.
Step 5; In the visual edit zone, place " database " node, the location information table of the URL of configuration database, user name password, selection transducer; After the affirmation; Database node sends request, obtains the data resource of specified sensor node and resolves selection " sensor ID " and " place " attribute.
Step 6 in the visual edit zone, is placed " polymerization " node, and the output of above-mentioned " database " node and " screening symbol " node is connected to the input of " polymerization " node; " polymerization " condition of setting; The sensor ID of " database " node equals the sensor ID of " screening symbol " node; This node is according to condition is set; Call corresponding JOIN SQL statement, in volatile data base, preserving attribute is the data message in " sensor ID " " sensor type ", " transducer concentration ", " place ".
Step 7 is preserved script, Run Script, the user can preview obtain real-time gas density data greater than 0.1% or the carbonomonoxide concentration data greater than 0.2% sensor information and geographical location information thereof.
The service process of data resource:
Step 1; Definition REST access interface: base address of all operations definition of REST access interface; REST access interface correspondence five operation: getALL operations altogether is the service lists that obtain the user, and access mode is HTTP GET, and return parameters is a service list; The getByServiceName operation is according to Service name operation service operation, and visit URI is base address+parameter s ervice name, and access mode is HTTP GET, and return parameters returns the state of service operation result and operation service with the JSON form; The addService operation is registration service, and visit URI also is base address+parameter s ervice name, and access mode is a HTTP POST mode, and return parameters is to increase the result phase information that service operations is returned; The updateService operation is a update service, and visit URI also is base address+parameter s ervice name, and access mode is a HTTP PUT mode, and the parameter of returning is a update service result phase information; The deleteService operation is the deletion service, and visit URI also is base address+parameter s ervice name, and access mode is HTTP DELETE, and whether successfully return parameters is deletion service sign; Here, the REST access interface is respectively operated return parameters according to the operating result difference.
Step 2, definition SOAP access interface: SOAP mode interface operation is the same with REST interface operation implication, and parameter is also identical; Difference be SOAP can not setting operation the path and the access mode of visit, the SOAP request all is to visit with HTTP POST mode, in request, will indicate the operation of visit, and wherein all operations of SOAP all with XML form return messages.
Step 3, utilizing the base address+addService+servicename of above-mentioned definition to register above-mentioned colliery data aggregate script is rest and soap service.
Step 4, editor's configuration file is used for the interface mode of the service of configure publication, the information such as binding mode, service binding URI and service data format of service; Configuration file is preserved with the XML file format, and the concrete configuration file is as follows:
The configuration of REST Web Service assembly is as follows:
Figure BDA0000096352420000161
Figure BDA0000096352420000171
Wherein component is that the Web assembly name of issue is an interface; Implementation is the interface class position of realizing; Service is corresponding service; Binding.rest is the basic URI of the REST Web service issue of binding, and wireFormat representes to use the data format of json, and operationSelector representes the jaxrs standard that rest uses;
The configuration of SOAP Web Service assembly is following:
Figure BDA0000096352420000172
Keyword corresponding in the configuration is the same with the implication of corresponding keyword in the REST Web service assembly.
Step 5; The startup service that click to start the visual edit zone gets final product operation service, the consumer can obtain through the mode of REST or SOAP real-time gas density data greater than 0.1% or the carbonomonoxide concentration data greater than 0.2% sensor information and geographical location information thereof.
The data, services of carrying out colliery map and above-mentioned issue through JavaScript is in operational polymerization, and concrete implementation procedure may further comprise the steps:
Step 1 is write the JS code, through calling the service of above-mentioned issue, obtains the information and the geographical location information thereof of all the sensors.
Step 2 is called the data, services of above-mentioned issue, obtain the gas density data greater than 0.1% or the carbonomonoxide concentration data greater than 0.2% sensor information and geographical location information thereof.
Step 3 is called the API that the colliery map provides, and the geographical location information according to top step obtains shows transducer on the figure of ore deposit, if the gas density data greater than 0.1% or the carbonomonoxide concentration data greater than 0.2%, figure right side display alarm value then in the ore deposit.
The above is merely preferred embodiment of the present invention, is not to be used to limit protection scope of the present invention, all any modifications of within spirit of the present invention and principle, being done, is equal to replacement and improvement etc., all should be included within protection scope of the present invention.

Claims (12)

1. a Universal Service Platform of realizing the fastext polymerization is characterized in that, this Universal Service Platform comprises: resource access unit, professional generation unit, the professional engine unit of carrying out; Wherein,
The resource access unit is used to receive the data of different types resource, and the data resource is carried out adaptation processing;
Professional generation unit is used to utilize the converging operation symbol that the data resource through adaptation processing is carried out converging operation, makes up the data service that makes new advances;
The professional engine unit of carrying out is used for new data service is resolved and carried out.
2. Universal Service Platform according to claim 1; It is characterized in that said resource access unit further comprises: the local file adapter resource of REST-WS adapter resource and/or Soap-WS adapter resource and/or Excel form and/or MySql database resource adapter and/or oracle database adapter resource and/or FTP adapter resource and/or HTTP adapter resource and/or RSS adapter resource.
3. Universal Service Platform according to claim 1 is characterized in that, the said professional engine unit of carrying out further comprises:
Resolve Executive Module, be used for new data service is resolved and carried out;
The Web service deployment module is used for according to demand the data service service processing after resolving, the Web service of data service being issued into SOAP form or REST form.
4. Universal Service Platform according to claim 3 is characterized in that, the said professional engine unit of carrying out also comprises:
The adapter resource interface module is used for the data resource that gets access to from the resource access unit, is stored in the volatile data base after being converted into specific format;
Volatile data base is used to store data resource;
Resource management module is used for this volatile data base and Web service are managed;
Java business integration (JBI) interface module is used for business is carried out the service-Engine that engine unit becomes the JBI interface specification.
5. a method that realizes the fastext polymerization is characterized in that, this method comprises:
The resource access unit receives the data of different types resource, and the data resource is carried out adaptation processing;
Professional generation unit utilizes the converging operation symbol that the data resource through adaptation processing is carried out converging operation, makes up the data service that makes new advances;
The professional engine unit of carrying out is resolved and is carried out new data service.
6. method according to claim 5 is characterized in that, said resource access unit receives the data of different types resource and is:
The resource access unit is connected with various data of different types source, receives various data of different types resources from data source; Wherein, said data source comprises relational database and/or the Web Service resource of Simple Object Access Protocol (SOAP) form and/or the Web Service resource that the statement sexual state shifts (REST) form of local file and/or different vendor.
7. method according to claim 5 is characterized in that, saidly the data resource is carried out adaptation processing is:
Adapter resource in the resource access unit carries out adaptation processing to the data resource; Wherein, adapter resource comprises: the local file adapter resource of REST-WS adapter resource and/or Soap-WS adapter resource and/or Excel form and/or MySql database resource adapter and/or oracle database adapter resource and/or FTP adapter resource and/or HTTP adapter resource and/or RSS adapter resource.
8. method according to claim 5 is characterized in that, said professional generation unit utilizes converging operation symbol that the data resource through adaptation processing is carried out converging operation to be:
Professional generation unit utilizes the data aggregate language and the converging operation symbol of lightweight, and the various data resources of the process adaptation processing that the resource access unit is provided carry out converging operation.
9. method according to claim 8; It is characterized in that; The XML standard followed in the data aggregate language of said lightweight; From NameSpace, time element, data resource and polymerization descriptor, connecting line, input interface five aspects the data resource being described, polymerization methods is defined, is the complete mode of passing through the new data service of script describing language generation.
10. method according to claim 8 is characterized in that, this method also comprises:
Visual user's editing interface of professional generation unit receives the data object of the multi-source that utilizes the unified XML language description, and receives and utilize visual pulling or operation that the mode of edit script language is carried out.
11. method according to claim 5 is characterized in that, the said professional engine unit of carrying out is resolved and is implemented as new data service:
The professional execution in the engine unit resolved Executive Module the new data service that professional generation unit generates resolved, and carry out this data service according to the data that parse.
12. method according to claim 11 is characterized in that, this method also comprises:
The professional execution in the engine unit, Web service deployment module according to demand to the data service service processing after resolving, the Web service of data service being issued into SOAP form or REST form; The data resource that the adapter resource interface module will get access to from the resource access unit is stored in the volatile data base after being converted into specific format, and resource management module is managed this volatile data base and Web service; Java business integration (JBI) interface module is carried out the service-Engine that engine unit becomes the JBI interface specification with business.
CN201110299826A 2011-09-29 2011-09-29 Method for realizing quick service convergence and general service platform Pending CN102316169A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201110299826A CN102316169A (en) 2011-09-29 2011-09-29 Method for realizing quick service convergence and general service platform

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110299826A CN102316169A (en) 2011-09-29 2011-09-29 Method for realizing quick service convergence and general service platform

Publications (1)

Publication Number Publication Date
CN102316169A true CN102316169A (en) 2012-01-11

Family

ID=45428975

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110299826A Pending CN102316169A (en) 2011-09-29 2011-09-29 Method for realizing quick service convergence and general service platform

Country Status (1)

Country Link
CN (1) CN102316169A (en)

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103036954A (en) * 2012-12-03 2013-04-10 北京邮电大学 Mobile information aggregation system based on geographic information system (GIS) and mobile information aggregation method based on GIS
CN103220285A (en) * 2013-04-10 2013-07-24 中国科学技术大学苏州研究院 Access system based on RESTful interface in ubiquitous service environment
CN103647828A (en) * 2013-12-11 2014-03-19 北京荣之联科技股份有限公司 REST-based JAVA MVC system and data processing method thereof
CN105631792A (en) * 2016-02-17 2016-06-01 浪潮软件股份有限公司 Method for directionally developing innovative application based on government data resources
CN105760532A (en) * 2016-03-03 2016-07-13 江苏物联网研究发展中心 Resource sharing system based on Web Service and resource sharing method based on Web Service
CN106600499A (en) * 2016-12-23 2017-04-26 北京蓝海医信科技有限公司 Hospital information integration method based on bus form
CN106815371A (en) * 2017-02-06 2017-06-09 浪潮通用软件有限公司 A kind of method for reading data realized by visual configuration across data source
CN108519914A (en) * 2018-04-09 2018-09-11 腾讯科技(深圳)有限公司 Big data computational methods, system and computer equipment
CN109753525A (en) * 2018-12-28 2019-05-14 国云科技股份有限公司 It is a kind of based on enterprise query system that can be properties and its implementation
CN110377209A (en) * 2019-07-04 2019-10-25 贝壳技术有限公司 A kind of method and device for realizing visible process configuration by pulling

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101472242A (en) * 2007-12-27 2009-07-01 华为技术有限公司 Business polymerization system and method
CN101692207A (en) * 2009-09-17 2010-04-07 上海第二工业大学 Method for achieving system application integration based on SOA architecture
CN102137136A (en) * 2010-08-13 2011-07-27 华为技术有限公司 Method, device and equipment for realizing Mashup business in business integration
CN102142027A (en) * 2011-02-23 2011-08-03 南京智尚丰软件有限公司 Adaptive method for data integration

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101472242A (en) * 2007-12-27 2009-07-01 华为技术有限公司 Business polymerization system and method
CN101692207A (en) * 2009-09-17 2010-04-07 上海第二工业大学 Method for achieving system application integration based on SOA architecture
CN102137136A (en) * 2010-08-13 2011-07-27 华为技术有限公司 Method, device and equipment for realizing Mashup business in business integration
CN102142027A (en) * 2011-02-23 2011-08-03 南京智尚丰软件有限公司 Adaptive method for data integration

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
宗平 等: "基于聚合表技术的数据挖掘方法研究", 《微电子学与计算机》, vol. 23, no. 3, 31 March 2006 (2006-03-31), pages 96 - 95 *
魏房忠 等: "SQL CLR聚合函数在环境质量业务数据计算中的应用", 《环境监控与预警》, vol. 2, no. 1, 28 February 2010 (2010-02-28), pages 32 - 37 *

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103036954B (en) * 2012-12-03 2016-05-11 北京邮电大学 Mobile message paradigmatic system and method thereof based on GIS
CN103036954A (en) * 2012-12-03 2013-04-10 北京邮电大学 Mobile information aggregation system based on geographic information system (GIS) and mobile information aggregation method based on GIS
CN103220285A (en) * 2013-04-10 2013-07-24 中国科学技术大学苏州研究院 Access system based on RESTful interface in ubiquitous service environment
CN103647828B (en) * 2013-12-11 2017-01-11 北京荣之联科技股份有限公司 REST-based JAVA MVC system and data processing method thereof
CN103647828A (en) * 2013-12-11 2014-03-19 北京荣之联科技股份有限公司 REST-based JAVA MVC system and data processing method thereof
CN105631792A (en) * 2016-02-17 2016-06-01 浪潮软件股份有限公司 Method for directionally developing innovative application based on government data resources
CN105760532A (en) * 2016-03-03 2016-07-13 江苏物联网研究发展中心 Resource sharing system based on Web Service and resource sharing method based on Web Service
CN105760532B (en) * 2016-03-03 2020-02-14 江苏物联网研究发展中心 Resource sharing system and method based on Web Service
CN106600499A (en) * 2016-12-23 2017-04-26 北京蓝海医信科技有限公司 Hospital information integration method based on bus form
CN106600499B (en) * 2016-12-23 2021-08-24 北京蓝海医信科技有限公司 Hospital information integration method based on bus form
CN106815371A (en) * 2017-02-06 2017-06-09 浪潮通用软件有限公司 A kind of method for reading data realized by visual configuration across data source
CN108519914A (en) * 2018-04-09 2018-09-11 腾讯科技(深圳)有限公司 Big data computational methods, system and computer equipment
CN108519914B (en) * 2018-04-09 2021-10-26 腾讯科技(深圳)有限公司 Big data calculation method and system and computer equipment
CN109753525A (en) * 2018-12-28 2019-05-14 国云科技股份有限公司 It is a kind of based on enterprise query system that can be properties and its implementation
CN110377209A (en) * 2019-07-04 2019-10-25 贝壳技术有限公司 A kind of method and device for realizing visible process configuration by pulling

Similar Documents

Publication Publication Date Title
CN102316169A (en) Method for realizing quick service convergence and general service platform
US7130885B2 (en) Methods and apparatus providing electronic messages that are linked and aggregated
US9015651B2 (en) Gateway data distribution engine
US8880567B2 (en) Discovery and management of configuration data contained within mashups
US20070033088A1 (en) Framework for a composite application and a method of implementing a frame work for a composite application
US20070038683A1 (en) Business intelligence system and methods
AU2015204742B2 (en) Methods for generating an activity stream
WO2021032146A1 (en) Metadata management method and apparatus, device, and storage medium
US20100107164A1 (en) Method, System, and Apparatus for Process Management
Liu et al. Composing enterprise mashup components and services using architecture integration patterns
US20210149688A1 (en) Systems and methods for implementing external application functionality into a workflow facilitated by a group-based communication system
US20120109801A1 (en) Managing Schedules In a Financial Close Management System
CN103390018A (en) Web service data modeling and searching method based on SDD (service data description)
US10313421B2 (en) Providing Odata service based on service operation execution flow
US20080133502A1 (en) System and method for utilizing multiple values of a search criteria
US9667678B2 (en) Providing social context to calendar events
KR102141840B1 (en) Web based control monitoring intergrated system
CN107896242B (en) Service sharing method and device
Fox Beginning SharePoint 2010 Development
JP2004521530A (en) E-commerce system
CN112650653A (en) Plug-and-play and visual operation and maintenance system and method for equipment
US20130218955A1 (en) System and method for providing a virtual collaborative environment
CN113312242B (en) Interface information management method, device, equipment and storage medium
CN115510832A (en) Information synchronization processing method, system, device, electronic equipment and storage medium
CN114723397A (en) Flow execution method and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C12 Rejection of a patent application after its publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20120111