CN105516269A - Application configuration method and application configuration device - Google Patents

Application configuration method and application configuration device Download PDF

Info

Publication number
CN105516269A
CN105516269A CN201510857395.1A CN201510857395A CN105516269A CN 105516269 A CN105516269 A CN 105516269A CN 201510857395 A CN201510857395 A CN 201510857395A CN 105516269 A CN105516269 A CN 105516269A
Authority
CN
China
Prior art keywords
information
owned cloud
service
privately owned
publicly
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
CN201510857395.1A
Other languages
Chinese (zh)
Other versions
CN105516269B (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.)
You Pu Information Technology Co Ltd Of Ufsoft
Original Assignee
You Pu Information Technology Co Ltd Of Ufsoft
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 You Pu Information Technology Co Ltd Of Ufsoft filed Critical You Pu Information Technology Co Ltd Of Ufsoft
Priority to CN201510857395.1A priority Critical patent/CN105516269B/en
Publication of CN105516269A publication Critical patent/CN105516269A/en
Application granted granted Critical
Publication of CN105516269B publication Critical patent/CN105516269B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services
    • H04L67/566Grouping or aggregating service requests, e.g. for unified processing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention provides an application configuration method and an application configuration device. The application configuration method comprises the steps of receiving a first configuration command, and configuring the service source of an application in a private cloud on a public cloud; acquiring format information of a network service description language from the private cloud according to the address of the service source, and generating service information corresponding to the private cloud according to the format information of the network service description language; converting the service information corresponding to the private cloud into service information corresponding to the public cloud, generating service reference information according to the service information corresponding to the public cloud; and associating the service reference information with the data of the application. According to the application configuration method provided by the invention, the public cloud and the private cloud can be more conveniently and flexibly connected, and the data can be quickly, simply and conveniently presented to the user.

Description

The collocation method of application and the inking device of application
Technical field
The present invention relates to technical field of internet application, in particular to a kind of collocation method of application and a kind of inking device of application.
Background technology
At present, no matter be that traditional PC (PersonalComputer, personal computer) holds or mobile terminal all needs to process the data of various application.The shared model of facility based on cloud, is interconnected the system being distributed in different spaces by network, for user provides various IT (InformationTechnology, Information technology and industry) service, stores service etc.
But in prior art, user can only access publicly-owned cloud or access privately owned cloud, and namely the application of cloud belongs to proprietary application.Even if the connection achieving publicly-owned cloud and privately owned cloud is also the connection based on fixed form, and the connection to realize cloud needs a large amount of developments, lack flexibility.And the acquisition of data also needs independent exploitation, and devote substantial resources.
Therefore, how to make the connection of publicly-owned cloud and privately owned cloud more convenient and flexible, and data can be presented to fast, easily user and become current problem demanding prompt solution.
Summary of the invention
The present invention, just based on the problems referred to above, proposes a kind of new technical scheme, the connection of publicly-owned cloud and privately owned cloud can be made more convenient and flexible, and data can be presented to user fast, easily.
In view of this, a first aspect of the present invention proposes a kind of collocation method of application, comprising: receive the first configuration-direct, and publicly-owned cloud configures the service source of applying in privately owned cloud; From described privately owned cloud, obtain the information of web services definition language form according to the address in described service source, and generate information on services corresponding to described privately owned cloud according to the information of described web services definition language form; Information on services corresponding for described privately owned cloud is converted to information on services corresponding to described publicly-owned cloud, the information on services corresponding according to described publicly-owned cloud generates service reference information; By the data correlation of described service reference information and described application.
In this technical scheme, by configuring the service source of applying in privately owned cloud on publicly-owned cloud, wherein, service source includes service registry code, service name, the information such as service source type, to distinguish the multiple services under service source, then from privately owned cloud, the information of web services definition language form is obtained according to the address in service source, and generate information on services corresponding to privately owned cloud according to the information of web services definition language form, such as, information on services can be the method name of the multiple services under service source, the information such as parameter name and address, further, information on services corresponding for privately owned cloud is converted to information on services corresponding to publicly-owned cloud, service reference information is generated with the information on services corresponding according to publicly-owned cloud, finally, service reference information is associated with the data of application, the data being about to application are quick, be presented to user easily, so, by the service source of applying in the privately owned cloud of dynamic-configuration, and the service reference information finally formed is associated with the data of application, the connection of publicly-owned cloud and privately owned cloud can be made convenient, flexibly, and by data exhibiting to also quicker during user, convenient.
In technique scheme, preferably, the described information according to described web services definition language form generates the step of information on services corresponding to described privately owned cloud, specifically comprises: the information information of described web services definition language form being converted to specified format; Information on services corresponding to described privately owned cloud is generated according to the information of described specified format.
In this technical scheme, by by web services definition language (WSDL, WebServicesDescriptionLanguage) information of form converts the information of specified format to, thus generate information on services corresponding to privately owned cloud according to the information of specified format, concrete, the information of web services definition language form first can be converted to extensible markup language (XML, ExtensibleMarkupLanguage) information of form, again the information of extensible markup language form is converted to the information of specified format, wherein, this specified format can be the APIs.json (definition format of a kind of API, wherein, API, i.e. ApplicationProgrammingInterface, application programming interface) form.
In above-mentioned arbitrary technical scheme, preferably, the described address according to described service source obtains the step of the information of web services definition language form from described privately owned cloud, also comprise: if there is not the information of described web services definition language form in described privately owned cloud, judge the information that whether there is described specified format in described privately owned cloud; When judged result is for being, perform the step that the described information according to described specified format generates information on services corresponding to described privately owned cloud; Otherwise, according to the second configuration-direct received, configure the information on services that described privately owned cloud is corresponding.
In this technical scheme, if there is not the information of web services definition language form in privately owned cloud, then judge the information that whether there is specified format in privately owned cloud, further, when judging to there is the information of specified format in privately owned cloud, information on services corresponding to privately owned cloud can be generated according to the information of specified format, otherwise, namely when judging there is not the information of specified format in privately owned cloud, then the manual information on services corresponding to privately owned cloud is configured, so, can guarantee to generate information on services corresponding to publicly-owned cloud by the information on services that privately owned cloud is corresponding, thus information on services corresponding according to publicly-owned cloud again generates service reference information, improve the reliability that publicly-owned cloud and privately owned cloud carry out being connected.
In above-mentioned arbitrary technical scheme, preferably, described step information on services corresponding for described privately owned cloud being converted to information on services corresponding to described publicly-owned cloud, specifically comprise: the address of service address of service of the first form in information on services corresponding for described privately owned cloud being converted to the second form of corresponding described publicly-owned cloud, and the service parameter of the 3rd form in information on services corresponding for described privately owned cloud is converted to the service parameter of the 4th form of corresponding described publicly-owned cloud.
In this technical scheme, by the address of service (publicly-owned cloud is this address of service of identifiable design not) of the first form in information on services corresponding for privately owned cloud being converted to the address of service of the second form of corresponding publicly-owned cloud, publicly-owned cloud can be identified the address of service in information on services, on the other hand, the service parameter (publicly-owned cloud is this service parameter of identifiable design not) of the 3rd form in information on services corresponding for privately owned cloud is also converted to the service parameter of the 4th form of corresponding publicly-owned cloud, also publicly-owned cloud can be made to identify the service parameter in information on services, thus make publicly-owned cloud can generate service reference information by the information on services corresponding according to publicly-owned cloud.
In above-mentioned arbitrary technical scheme, preferably, the described information on services corresponding according to described publicly-owned cloud generates the step of service reference information, also comprises: the information on services corresponding according to described publicly-owned cloud generates the interpretative code information of described service reference information; Described interpretative code information and described service reference information are stored on described publicly-owned cloud.
In this technical scheme, be stored on publicly-owned cloud by the interpretative code information of the service reference information that information on services corresponding for publicly-owned cloud is generated with service reference information, thus service reference information can be associated with the data of application, meanwhile, interpretative code information can explain service reference information.
A second aspect of the present invention proposes a kind of inking device of application, comprising: the first dispensing unit, for receiving the first configuration-direct, publicly-owned cloud configures the service source of applying in privately owned cloud; First generation unit, for obtaining the information of web services definition language form from described privately owned cloud according to the address in described service source, and generates information on services corresponding to described privately owned cloud according to the information of described web services definition language form; Second generation unit, for converting information on services corresponding for described privately owned cloud information on services corresponding to described publicly-owned cloud to, the information on services corresponding according to described publicly-owned cloud generates service reference information; Associative cell, for the data correlation by described service reference information and described application.
In this technical scheme, by configuring the service source of applying in privately owned cloud on publicly-owned cloud, wherein, service source includes service registry code, service name, the information such as service source type, to distinguish the multiple services under service source, then from privately owned cloud, the information of web services definition language form is obtained according to the address in service source, and generate information on services corresponding to privately owned cloud according to the information of web services definition language form, such as, information on services can be the method name of the multiple services under service source, the information such as parameter name and address, further, information on services corresponding for privately owned cloud is converted to information on services corresponding to publicly-owned cloud, service reference information is generated with the information on services corresponding according to publicly-owned cloud, finally, service reference information is associated with the data of application, the data being about to application are quick, be presented to user easily, so, by the service source of applying in the privately owned cloud of dynamic-configuration, and the service reference information finally formed is associated with the data of application, the connection of publicly-owned cloud and privately owned cloud can be made convenient, flexibly, and by data exhibiting to also quicker during user, convenient.
In technique scheme, preferably, described first generation unit comprises: the first converting unit, for the information of described web services definition language form being converted to the information of specified format; Described first generation unit specifically for, generate information on services corresponding to described privately owned cloud according to the information of described specified format.
In this technical scheme, by by web services definition language (WSDL, WebServicesDescriptionLanguage) information of form converts the information of specified format to, thus generate information on services corresponding to privately owned cloud according to the information of specified format, concrete, the information of web services definition language form first can be converted to extensible markup language (XML, ExtensibleMarkupLanguage) information of form, again the information of extensible markup language form is converted to the information of specified format, wherein, this specified format can be the APIs.json (definition format of a kind of API, wherein, API, i.e. ApplicationProgrammingInterface, application programming interface) form.
In above-mentioned arbitrary technical scheme, preferably, described first generation unit also comprises: judging unit, if the information for there is not described web services definition language form in described privately owned cloud, judges the information that whether there is described specified format in described privately owned cloud; Described first generation unit specifically for, when judged result is for being, perform the step that the described information according to described specified format generates information on services corresponding to described privately owned cloud; Second dispensing unit, during for being no in judged result, according to the second configuration-direct received, configures the information on services that described privately owned cloud is corresponding.
In this technical scheme, if there is not the information of web services definition language form in privately owned cloud, then judge the information that whether there is specified format in privately owned cloud, further, when judging to there is the information of specified format in privately owned cloud, information on services corresponding to privately owned cloud can be generated according to the information of specified format, otherwise, namely when judging there is not the information of specified format in privately owned cloud, then the manual information on services corresponding to privately owned cloud is configured, so, can guarantee to generate information on services corresponding to publicly-owned cloud by the information on services that privately owned cloud is corresponding, thus information on services corresponding according to publicly-owned cloud again generates service reference information, improve the reliability that publicly-owned cloud and privately owned cloud carry out being connected.
In technique scheme, preferably, described second generation unit comprises: the second converting unit, for the address of service of the first form in information on services corresponding for described privately owned cloud being converted to the address of service of the second form of corresponding described publicly-owned cloud, and the service parameter of the 3rd form in information on services corresponding for described privately owned cloud is converted to the service parameter of the 4th form of corresponding described publicly-owned cloud.
In this technical scheme, by the address of service (publicly-owned cloud is this address of service of identifiable design not) of the first form in information on services corresponding for privately owned cloud being converted to the address of service of the second form of corresponding publicly-owned cloud, publicly-owned cloud can be identified the address of service in information on services, on the other hand, the service parameter (publicly-owned cloud is this service parameter of identifiable design not) of the 3rd form in information on services corresponding for privately owned cloud is also converted to the service parameter of the 4th form of corresponding publicly-owned cloud, also publicly-owned cloud can be made to identify the service parameter in information on services, thus make publicly-owned cloud can generate service reference information by the information on services corresponding according to publicly-owned cloud.
In technique scheme, preferably, described second generation unit also for, the information on services corresponding according to described publicly-owned cloud generates the interpretative code information of described service reference information; Described second generation unit comprises: memory cell, for described interpretative code information and described service reference information are stored in described publicly-owned cloud.
In this technical scheme, be stored on publicly-owned cloud by the interpretative code information of the service reference information that information on services corresponding for publicly-owned cloud is generated with service reference information, thus service reference information can be associated with the data of application, meanwhile, interpretative code information can explain service reference information.
By technical scheme of the present invention, the connection of publicly-owned cloud and privately owned cloud can be made more convenient and flexible, and data can be presented to user fast, easily.
Accompanying drawing explanation
Fig. 1 shows the schematic flow sheet of the collocation method of application according to an embodiment of the invention;
Fig. 2 shows the schematic flow sheet of the method in configuration service source according to an embodiment of the invention;
Fig. 3 shows the schematic flow sheet of the method for acquisition information on services according to an embodiment of the invention;
Fig. 4 shows the schematic flow sheet generating the method for service reference information according to an embodiment of the invention;
Fig. 5 shows the schematic flow sheet of the method for data display according to an embodiment of the invention;
Fig. 6 shows the structural representation of the inking device of application according to an embodiment of the invention;
Fig. 7 shows the structural representation of the configuration-system of application according to an embodiment of the invention;
Fig. 8 shows the relation schematic diagram of data exhibiting according to an embodiment of the invention;
Fig. 9 shows the schematic diagram that publicly-owned cloud according to an embodiment of the invention is connected with privately owned cloud.
Embodiment
In order to more clearly understand above-mentioned purpose of the present invention, feature and advantage, below in conjunction with the drawings and specific embodiments, the present invention is further described in detail.It should be noted that, when not conflicting, the feature in the embodiment of the application and embodiment can combine mutually.
Set forth a lot of detail in the following description so that fully understand the present invention; but; the present invention can also adopt other to be different from other modes described here and implement, and therefore, protection scope of the present invention is not by the restriction of following public specific embodiment.
Fig. 1 shows the schematic flow sheet of the collocation method of application according to an embodiment of the invention.
As shown in Figure 1, the collocation method of application according to an embodiment of the invention, comprising:
Step 102, receives the first configuration-direct, and publicly-owned cloud configures the service source of applying in privately owned cloud;
Step 104, obtains the information of web services definition language form from described privately owned cloud according to the address in described service source, and generates information on services corresponding to described privately owned cloud according to the information of described web services definition language form;
Step 106, converts information on services corresponding to described publicly-owned cloud to by information on services corresponding for described privately owned cloud, the information on services corresponding according to described publicly-owned cloud generates service reference information;
Step 108, by the data correlation of described service reference information and described application.
In this technical scheme, by configuring the service source of applying in privately owned cloud on publicly-owned cloud, wherein, service source includes service registry code, service name, the information such as service source type, to distinguish the multiple services under service source, then from privately owned cloud, the information of web services definition language form is obtained according to the address in service source, and generate information on services corresponding to privately owned cloud according to the information of web services definition language form, such as, information on services can be the method name of the multiple services under service source, the information such as parameter name and address, further, information on services corresponding for privately owned cloud is converted to information on services corresponding to publicly-owned cloud, service reference information is generated with the information on services corresponding according to publicly-owned cloud, finally, service reference information is associated with the data of application, thus can by quick for the data of application, be presented to user easily, so, by the service source of applying in the privately owned cloud of dynamic-configuration, and the service reference information finally formed is associated with the data of application, the connection of publicly-owned cloud and privately owned cloud can be made convenient, flexibly, and by data exhibiting to also quicker during user, convenient.
In technique scheme, preferably, the described information according to described web services definition language form generates the step of information on services corresponding to described privately owned cloud, specifically comprises: the information information of described web services definition language form being converted to specified format; Information on services corresponding to described privately owned cloud is generated according to the information of described specified format.
In this technical scheme, by by web services definition language (WSDL, WebServicesDescriptionLanguage) information of form converts the information of specified format to, thus generate information on services corresponding to privately owned cloud according to the information of specified format, concrete, the information of web services definition language form first can be converted to extensible markup language (XML, ExtensibleMarkupLanguage) information of form, again the information of extensible markup language form is converted to the information of specified format, wherein, this specified format can be the APIs.json (definition format of a kind of API, wherein, API, i.e. ApplicationProgrammingInterface, application programming interface) form.
In above-mentioned arbitrary technical scheme, preferably, the described address according to described service source obtains the step of the information of web services definition language form from described privately owned cloud, also comprise: if there is not the information of described web services definition language form in described privately owned cloud, judge the information that whether there is described specified format in described privately owned cloud; When judged result is for being, perform the step that the described information according to described specified format generates information on services corresponding to described privately owned cloud; Otherwise, according to the second configuration-direct received, configure the information on services that described privately owned cloud is corresponding.
In this technical scheme, if there is not the information of web services definition language form in privately owned cloud, then judge the information that whether there is specified format in privately owned cloud, further, when judging to there is the information of specified format in privately owned cloud, information on services corresponding to privately owned cloud can be generated according to the information of specified format, otherwise, namely when judging there is not the information of specified format in privately owned cloud, then the manual information on services corresponding to privately owned cloud is configured, so, can guarantee to generate information on services corresponding to publicly-owned cloud by the information on services that privately owned cloud is corresponding, thus information on services corresponding according to publicly-owned cloud again generates service reference information, improve the reliability that publicly-owned cloud and privately owned cloud carry out being connected.
In above-mentioned arbitrary technical scheme, preferably, described step information on services corresponding for described privately owned cloud being converted to information on services corresponding to described publicly-owned cloud, specifically comprise: the address of service address of service of the first form in information on services corresponding for described privately owned cloud being converted to the second form of corresponding described publicly-owned cloud, and the service parameter of the 3rd form in information on services corresponding for described privately owned cloud is converted to the service parameter of the 4th form of corresponding described publicly-owned cloud.
In this technical scheme, by the address of service (publicly-owned cloud is this address of service of identifiable design not) of the first form in information on services corresponding for privately owned cloud being converted to the address of service of the second form of corresponding publicly-owned cloud, publicly-owned cloud can be identified the address of service in information on services, on the other hand, the service parameter (publicly-owned cloud is this service parameter of identifiable design not) of the 3rd form in information on services corresponding for privately owned cloud is also converted to the service parameter of the 4th form of corresponding publicly-owned cloud, also publicly-owned cloud can be made to identify the service parameter in information on services, thus make publicly-owned cloud can generate service reference information by the information on services corresponding according to publicly-owned cloud.
In above-mentioned arbitrary technical scheme, preferably, the described information on services corresponding according to described publicly-owned cloud generates the step of service reference information, also comprises: the information on services corresponding according to described publicly-owned cloud generates the interpretative code information of described service reference information; Described interpretative code information and described service reference information are stored on described publicly-owned cloud.
In this technical scheme, be stored on publicly-owned cloud by the interpretative code information of the service reference information that information on services corresponding for publicly-owned cloud is generated with service reference information, thus service reference information can be associated with the data of application, meanwhile, interpretative code information can explain service reference information.
Fig. 2 shows the schematic flow sheet of the method in configuration service source according to an embodiment of the invention.
As shown in Figure 2, the method in configuration service source according to an embodiment of the invention, comprising:
Step 202, configuration service source;
Whether effective step 204, detect service source, if effectively, then enter step 208, otherwise, enter step 206;
Step 206, if service source is invalid, then according to the configuration-direct of the user received, the multiple services under configuration service source;
Step 208, if service source is effective, is then called API modular converter, is automatically identified by API modular converter to multiple services that privately owned cloud provides;
Step 210, configuration feature, is namely be configured the final exercisable function of user, contains the information such as title, address, description.Wherein, function is the address after combining the data exhibiting of serving and apply, and modal is exactly web page interlinkage.
Fig. 3 shows the schematic flow sheet of the method for acquisition information on services according to an embodiment of the invention.
As shown in Figure 3, the method for acquisition information on services according to an embodiment of the invention, comprising:
Step 302, reads the address in service source;
Step 304, the address according to service source judges the information that whether there is web services definition language form in described privately owned cloud, if judged result is no, then enters step 306, otherwise, enter step 310;
Step 306, if the information that there is not web services definition language form (WSDL form) in privately owned cloud, then judges the information that whether there is APIs.json form in privately owned cloud, when judged result is no, enter step 308, otherwise, enter step 312;
Step 308, if the information that there is not APIs.json form in privately owned cloud, then manual configuration information on services;
Step 310, if there is the information of web services definition language (WSDL) form in privately owned cloud, then the information of web services languages (WSDL) form is converted to the information of extensible markup language (XML) form, then the information of easily extensible index language (XML) form is converted to the information of APIs.json form;
Step 312, generates information on services corresponding to privately owned cloud according to the information of APIs.json form;
Step 314, storing service information.
Fig. 4 shows the schematic flow sheet generating the method for service reference information according to an embodiment of the invention.
As shown in Figure 4, the method generating service reference information according to an embodiment of the invention, comprising:
Step 402, reads the information on services that privately owned cloud is corresponding;
Step 404, judge whether service changes according to information on services, particularly, convert the information of the WDSL form in information on services or the information of APIs.json form to publicly-owned cloud discernible information, judge whether service changes, and when judged result is for being, enters step 408 according to the information after conversion, otherwise, enter step 406;
Step 406, if service is not changed, then convert the address of service of the first form in information on services corresponding for privately owned cloud the address of service of the second form of corresponding publicly-owned cloud to, convert the discernible address of service of publicly-owned cloud to by the address of service in information on services, then enter step 410;
Step 408, if service change, then revises address of service, then enters step 410;
Step 410, to judge in information on services whether presence service parameter when judged result is for being, to enter step 412, otherwise, enter step 418;
Step 412, if presence service parameter in information on services, then converts the service parameter of the 3rd form in information on services corresponding for privately owned cloud the service parameter of the 4th form of corresponding publicly-owned cloud to, namely converts the discernible service parameter of publicly-owned cloud to;
Step 414, judges whether service parameter changes, if the determination result is YES, then enters step 416, otherwise, enter step 418;
Step 416, if service parameter changes, then revises the change mark of service parameter, deletes quoting of invalid operation, and generate information;
Step 418, generates service invocation logic and result treatment logic, namely serves reference information, and generates corresponding interpretative code information;
Step 420, stores interpretative code information and service reference information.
Fig. 5 shows the schematic flow sheet of the method for data display according to an embodiment of the invention.
As shown in Figure 5, the method for data display according to an embodiment of the invention, comprising:
Step 502, has judged whether that service parameter changes, has if so, entered step 504, otherwise, enter step 506;
Step 504, obtains the service parameter changed;
Step 506, according to service parameter, the Data Source of the event of selective gist, namely selects the service reference information of event, and wherein, event refers to the mutual of user and interface, such as, clicks the button in interface, or slip screen;
Step 508, generates the data of application and the calling logic of service reference information;
Step 510, stores the relation of data and service reference information, and particularly, the corresponding relation of setting data and service reference information, associates with service reference information by data.So far, user can visit the application on privately owned cloud on publicly-owned cloud, such as, publicly-owned cloud receives the request of the application of the privately owned cloud of terminal access, then get the service reference information of this application, to get the data of this application according to service reference information, and the data of application are represented.
Fig. 6 shows the structural representation of the inking device of application according to an embodiment of the invention.
As shown in Figure 6, the inking device 600 of application according to an embodiment of the invention, comprising: the first dispensing unit 602, for receiving the first configuration-direct, publicly-owned cloud configures the service source of applying in privately owned cloud; First generation unit 604, for obtaining the information of web services definition language form from described privately owned cloud according to the address in described service source, and generates information on services corresponding to described privately owned cloud according to the information of described web services definition language form; Second generation unit 606, for converting information on services corresponding for described privately owned cloud information on services corresponding to described publicly-owned cloud to, the information on services corresponding according to described publicly-owned cloud generates service reference information; Associative cell 608, for the data correlation by described service reference information and described application.
In this technical scheme, by configuring the service source of applying in privately owned cloud on publicly-owned cloud, wherein, service source includes service registry code, service name, the information such as service source type, to distinguish the multiple services under service source, then from privately owned cloud, the information of web services definition language form is obtained according to the address in service source, and generate information on services corresponding to privately owned cloud according to the information of web services definition language form, such as, information on services can be the method name of the multiple services under service source, the information such as parameter name and address, further, information on services corresponding for privately owned cloud is converted to information on services corresponding to publicly-owned cloud, service reference information is generated with the information on services corresponding according to publicly-owned cloud, finally, service reference information is associated with the data of application, the data being about to application are quick, be presented to user easily, so, by the service source of applying in the privately owned cloud of dynamic-configuration, and the service reference information finally formed is associated with the data of application, the connection of publicly-owned cloud and privately owned cloud can be made convenient, flexibly, and by data exhibiting to also quicker during user, convenient.
In technique scheme, preferably, described first generation unit 604 comprises: the first converting unit 6042, for the information of described web services definition language form being converted to the information of specified format; Described first generation unit 604 specifically for, generate information on services corresponding to described privately owned cloud according to the information of described specified format.
In this technical scheme, by by web services definition language (WSDL, WebServicesDescriptionLanguage) information of form converts the information of specified format to, thus generate information on services corresponding to privately owned cloud according to the information of specified format, concrete, the information of web services definition language form first can be converted to extensible markup language (XML, ExtensibleMarkupLanguage) information of form, again the information of extensible markup language form is converted to the information of specified format, wherein, this specified format can be the APIs.json (definition format of a kind of API, wherein, API, i.e. ApplicationProgrammingInterface, application programming interface) form.
In above-mentioned arbitrary technical scheme, preferably, described first generation unit 604 also comprises: judging unit 6044, if the information for there is not described web services definition language form in described privately owned cloud, judges the information that whether there is described specified format in described privately owned cloud; Described first generation unit 604 specifically for, when judged result is for being, perform the step that the described information according to described specified format generates information on services corresponding to described privately owned cloud; Second dispensing unit 6046, during for being no in judged result, according to the second configuration-direct received, configures the information on services that described privately owned cloud is corresponding.
In this technical scheme, if there is not the information of web services definition language form in privately owned cloud, then judge the information that whether there is specified format in privately owned cloud, further, when judging to there is the information of specified format in privately owned cloud, information on services corresponding to privately owned cloud can be generated according to the information of specified format, otherwise, namely when judging there is not the information of specified format in privately owned cloud, then the manual information on services corresponding to privately owned cloud is configured, so, can guarantee to generate information on services corresponding to publicly-owned cloud by the information on services that privately owned cloud is corresponding, thus information on services corresponding according to publicly-owned cloud again generates service reference information, improve the reliability that publicly-owned cloud and privately owned cloud carry out being connected.
In technique scheme, preferably, described second generation unit 606 comprises: the second converting unit 6062, for the address of service of the first form in information on services corresponding for described privately owned cloud being converted to the address of service of the second form of corresponding described publicly-owned cloud, and the service parameter of the 3rd form in information on services corresponding for described privately owned cloud is converted to the service parameter of the 4th form of corresponding described publicly-owned cloud.
In this technical scheme, by the address of service (publicly-owned cloud is this address of service of identifiable design not) of the first form in information on services corresponding for privately owned cloud being converted to the address of service of the second form of corresponding publicly-owned cloud, publicly-owned cloud can be identified the address of service in information on services, on the other hand, the service parameter (publicly-owned cloud is this service parameter of identifiable design not) of the 3rd form in information on services corresponding for privately owned cloud is also converted to the service parameter of the 4th form of corresponding publicly-owned cloud, also publicly-owned cloud can be made to identify the service parameter in information on services, thus make publicly-owned cloud can generate service reference information by the information on services corresponding according to publicly-owned cloud.
In technique scheme, preferably, described second generation unit 606 also for, the information on services corresponding according to described publicly-owned cloud generates the interpretative code information of described service reference information; Described second generation unit 606 comprises: memory cell 6064, for described interpretative code information and described service reference information are stored in described publicly-owned cloud.
In this technical scheme, be stored on publicly-owned cloud by the interpretative code information of the service reference information that information on services corresponding for publicly-owned cloud is generated with service reference information, thus service reference information can be associated with the data of application, meanwhile, interpretative code information can explain service reference information.
Fig. 7 shows the structural representation of the configuration-system of application according to an embodiment of the invention.
As shown in Figure 7, the configuration-system 700 of application according to an embodiment of the invention, comprise: the inking device 702 of application, the inking device 702 of application comprises: application Registering modules 7022, and this application Registering modules 7022 is arranged on publicly-owned cloud, when application request accesses publicly-owned cloud, configuration service source is come by the service source configuration module 70222 in application Registering modules 7022, service source comprises the information such as service name, description, to classify to the service under service source, as shown in table 1:
Table 1
Wherein, can arrange multiple service under service source, be configured the service under service source by the service configuration module 70224 in application Registering modules 7022, services package is containing information such as registration code, title, addresses, as shown in table 2:
Table 2
Function management module 70226 in application Registering modules 7022 is can the configuration of operating function to end user, comprises the information such as function register code, function title, functional address, as shown in table 3:
Table 3
The inking device 702 of application also comprises API modular converter 7024, API modular converter 7024 comprises: generation module 70244 is quoted in Services Identity Module 70242 and service, API modular converter 7024 can find that the API in privately owned cloud describes automatically, and generates service reference information.
After user sends application request to publicly-owned cloud, real data derives from privately owned cloud.Application call on publicly-owned cloud be API service on privately owned cloud.By API modular converter 7024, call the service reference information on publicly-owned cloud, undertaken alternately by service reference information and privately owned cloud.Service is quoted generation module 70244 and can also be managed service reference information.
API modular converter 7024 can give tacit consent to the WSDL (web services definition language) identifying WebServices.General WSDL form is as follows:
<?xmlversion="1.0"encoding="utf-8"?>
<wsdl:definitionsxmlns:s= http://www.w3.org/2001/XMLSchemaxmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"...>
<wsdl:types>
<s:schemaelementFormDefault="qualified"targetNamespace="http://tempuri.org/">
<s:elementname="checkPsnInfo">
<s:complexType>
<s:sequence>
<s:elementminOccurs="0"maxOccurs="1"name="code"type="s:string"/>
<s:elementminOccurs="0"maxOccurs="1"name="psnCode"type="s:string"/>
<s:elementminOccurs="0"maxOccurs="1"name="idCard"type="s:string"/><s:elementminOccurs="0"maxOccurs="1"name="delFlag"type="s:string"/>
</s:sequence>
</s:complexType>
</s:element>
</s:schema>
</wsdl:types>
</wsdl:definitions>
Services Identity Module 70242, according to service source, travels through the information of the WSDL form acquired, is converted into the information of XML format.Again the information of XML format is converted to the information of APIs.json form.Then Services Identity Module 70242 can travel through the information of APIs.json form, the node key of correspondence is converted to the information on services such as method name, parameter name and address of service.These information on services can be stored in publicly-owned cloud, for service reference information below generates service.
It is as follows that the inking device 702 of this application has arranged APIs.json form:
Generation module 70244 is quoted in service, for generating service reference information according to information on services, concrete, the file (interpreted languages information) of the service reference information and an interpreted languages that can store generation when service reference information generates is on publicly-owned cloud.In addition, if generated service reference information before, when service change in privately owned cloud, can address of service be revised, if contrasting of presence service and data, then also revise simultaneously.When the operating parameter (i.e. service parameter) of serving occurs to change, then check whether contrasting of presence service and data equally, setting change mark.Prompting is provided for the failed operation identified, is selected whether to retain legacy data and service reference information by user.
The inking device 702 of application also comprises geodata and services design module 7026, will greatly simplify this work by geodata and services design module 7026.Particularly, service reference information and data have been carried out correspondence by geodata and services design module 7026.By the service stored reference information and data being bound, then determine how to carry out front end displaying by user, and the data coming from privately owned cloud can be shared front end and show on publicly-owned cloud, thus the self-developing that made user less, save resource.Such final data derives from service reference information, represents the design deriving from data and view, and the realization of function is configurable, extendible, and relation is loose coupling.
Fig. 8 shows the schematic diagram of data exhibiting according to an embodiment of the invention.
As shown in Figure 8, represent multiple event, as event 1, event 2, the Data Source that user (as developer) can design the event in representing is the operation under which service reference information corresponding, defined parameters content, call back function, such as, the Data Source of event 1 is the operation 1 that corresponding with service quotes under 1, and the Data Source of event 2 is operations 2 that corresponding with service quotes under 2.Encapsulate unified calling interface, call according to the information on services such as address of service, content of parameter and serve reference information accordingly, generate JSON (JavaScriptObjectNotation, the data interchange format of lightweight) the data call logic of form, thus the data called are determined according to event, and such as, event 1 calling data 1, the data of event are finally represented by event 2 calling data 2.Can also by service reference information in Template Information, method name etc. store, be used for judge service reference information service condition.
Fig. 9 shows the schematic diagram that publicly-owned cloud according to an embodiment of the invention is connected with privately owned cloud.
As shown in Figure 9, at the privately owned cloud deploy API (ApplicationProgrammingInterface of enterprise, application programming interface), data enterprise applied are open out by the mode of WebAPI (i.e. web application interface), such as, enterprise is applied as ERP (EnterpriseResourcePlan, Enterprise Resources Plan).Publicly-owned cloud configures service source and information on services that privately owned cloud is applied, and the operation that service provides automatically identifies and manages.The API modular converter of publicly-owned cloud is described by the APIs.json of API self-described external on privately owned cloud or agreement, service application information on the publicly-owned cloud of automatic generation, and the corresponding relation of stores service application message and business datum, to realize personalized application front end.So far, the client in terminal, when accessing publicly-owned cloud, gets the service reference information in publicly-owned cloud, is linked on the API of the privately owned cloud of certification, has obtained the business datum that this service reference information is corresponding according to service reference information.Certainly, be similar to and access privately owned cloud on publicly-owned cloud, also can access the publicly-owned cloud of third party on publicly-owned cloud, not repeat them here.
More than be described with reference to the accompanying drawings technical scheme of the present invention, the connection of publicly-owned cloud and privately owned cloud can have been made more convenient and flexible, and data can be presented to user fast, easily.
The foregoing is only the preferred embodiments of the present invention, be not limited to the present invention, for a person skilled in the art, the present invention can have various modifications and variations.Within the spirit and principles in the present invention all, any amendment done, equivalent replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (10)

1. a collocation method for application, is characterized in that, comprising:
Receive the first configuration-direct, publicly-owned cloud configures the service source of applying in privately owned cloud;
From described privately owned cloud, obtain the information of web services definition language form according to the address in described service source, and generate information on services corresponding to described privately owned cloud according to the information of described web services definition language form;
Information on services corresponding for described privately owned cloud is converted to information on services corresponding to described publicly-owned cloud, the information on services corresponding according to described publicly-owned cloud generates service reference information;
By the data correlation of described service reference information and described application.
2. the collocation method of application according to claim 1, is characterized in that, the described information according to described web services definition language form generates the step of information on services corresponding to described privately owned cloud, specifically comprises:
The information of described web services definition language form is converted to the information of specified format;
Information on services corresponding to described privately owned cloud is generated according to the information of described specified format.
3. the collocation method of application according to claim 2, is characterized in that, the described address according to described service source obtains the step of the information of web services definition language form from described privately owned cloud, also comprises:
If there is not the information of described web services definition language form in described privately owned cloud, judge the information that whether there is described specified format in described privately owned cloud;
When judged result is for being, perform the step that the described information according to described specified format generates information on services corresponding to described privately owned cloud;
Otherwise, according to the second configuration-direct received, configure the information on services that described privately owned cloud is corresponding.
4. the collocation method of application according to claim 1, is characterized in that, described step information on services corresponding for described privately owned cloud being converted to information on services corresponding to described publicly-owned cloud, specifically comprises:
The address of service of the first form in information on services corresponding for described privately owned cloud is converted to the address of service of the second form of corresponding described publicly-owned cloud, and the service parameter of the 3rd form in information on services corresponding for described privately owned cloud is converted to the service parameter of the 4th form of corresponding described publicly-owned cloud.
5. the collocation method of application according to any one of claim 1 to 4, is characterized in that, the described information on services corresponding according to described publicly-owned cloud generates the step of service reference information, also comprises:
The information on services corresponding according to described publicly-owned cloud generates the interpretative code information of described service reference information;
Described interpretative code information and described service reference information are stored on described publicly-owned cloud.
6. an inking device for application, is characterized in that, comprising:
First dispensing unit, for receiving the first configuration-direct, publicly-owned cloud configures the service source of applying in privately owned cloud;
First generation unit, for obtaining the information of web services definition language form from described privately owned cloud according to the address in described service source, and generates information on services corresponding to described privately owned cloud according to the information of described web services definition language form;
Second generation unit, for converting information on services corresponding for described privately owned cloud information on services corresponding to described publicly-owned cloud to, the information on services corresponding according to described publicly-owned cloud generates service reference information;
Associative cell, for the data correlation by described service reference information and described application.
7. the inking device of application according to claim 6, is characterized in that, described first generation unit comprises:
First converting unit, for converting the information of specified format to by the information of described web services definition language form;
Described first generation unit specifically for, generate information on services corresponding to described privately owned cloud according to the information of described specified format.
8. the inking device of application according to claim 7, is characterized in that, described first generation unit also comprises:
Judging unit, if the information for there is not described web services definition language form in described privately owned cloud, judges the information that whether there is described specified format in described privately owned cloud;
Described first generation unit specifically for, when judged result is for being, perform the step that the described information according to described specified format generates information on services corresponding to described privately owned cloud;
Second dispensing unit, during for being no in judged result, according to the second configuration-direct received, configures the information on services that described privately owned cloud is corresponding.
9. the inking device of application according to claim 6, is characterized in that, described second generation unit comprises:
Second converting unit, for the address of service of the first form in information on services corresponding for described privately owned cloud being converted to the address of service of the second form of corresponding described publicly-owned cloud, and the service parameter of the 3rd form in information on services corresponding for described privately owned cloud is converted to the service parameter of the 4th form of corresponding described publicly-owned cloud.
10. the inking device of the application according to any one of claim 6 to 9, is characterized in that,
Described second generation unit also for, the information on services corresponding according to described publicly-owned cloud generates the interpretative code information of described service reference information;
Described second generation unit comprises:
Memory cell, for being stored in described publicly-owned cloud by described interpretative code information and described service reference information.
CN201510857395.1A 2015-11-30 2015-11-30 The configuration method of application and the configuration device of application Active CN105516269B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510857395.1A CN105516269B (en) 2015-11-30 2015-11-30 The configuration method of application and the configuration device of application

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510857395.1A CN105516269B (en) 2015-11-30 2015-11-30 The configuration method of application and the configuration device of application

Publications (2)

Publication Number Publication Date
CN105516269A true CN105516269A (en) 2016-04-20
CN105516269B CN105516269B (en) 2018-07-24

Family

ID=55723900

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510857395.1A Active CN105516269B (en) 2015-11-30 2015-11-30 The configuration method of application and the configuration device of application

Country Status (1)

Country Link
CN (1) CN105516269B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106911775A (en) * 2017-02-24 2017-06-30 郑州云海信息技术有限公司 A kind of private clound management system, method and device
CN107888613A (en) * 2017-11-30 2018-04-06 广东电网有限责任公司电力科学研究院 A kind of management system framework based on cloud platform
CN108989384A (en) * 2018-05-31 2018-12-11 华为技术有限公司 A kind of method of data processing, cloudy management system and relevant device
CN110430281A (en) * 2019-08-15 2019-11-08 深圳市般若大数据技术有限公司 Method, apparatus, equipment and the storage medium of public cloud acquisition private clound data

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130238805A1 (en) * 2010-11-22 2013-09-12 Telefonaktiebolaget L M Ericsson (Publ) Technique for resource creation in a cloud computing system
CN103389886A (en) * 2013-07-23 2013-11-13 深圳市知正科技有限公司 Mixed cloud structure merchant automatic order-printing system
CN103634413A (en) * 2013-12-22 2014-03-12 大连佰思网络科技有限公司 Cloud data connection and management platform for Internet of Things of smart city in PAAS (Platform As A Service) mode
CN104902005A (en) * 2015-04-13 2015-09-09 中国联合网络通信集团有限公司 Method and system for resource scheduling in hybrid cloud, and private cloud

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130238805A1 (en) * 2010-11-22 2013-09-12 Telefonaktiebolaget L M Ericsson (Publ) Technique for resource creation in a cloud computing system
CN103389886A (en) * 2013-07-23 2013-11-13 深圳市知正科技有限公司 Mixed cloud structure merchant automatic order-printing system
CN103634413A (en) * 2013-12-22 2014-03-12 大连佰思网络科技有限公司 Cloud data connection and management platform for Internet of Things of smart city in PAAS (Platform As A Service) mode
CN104902005A (en) * 2015-04-13 2015-09-09 中国联合网络通信集团有限公司 Method and system for resource scheduling in hybrid cloud, and private cloud

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
VMWARE: "Offline Data Transfer to VMWare vCloud,http://pubs.vmware.com/hybridcloud-25/topic/com.vmware.ICbase/PDF/vCloudConnector_25_OfflineDataTransfer.pdf", 《OFFLINE DATA TRANSFER TO VMWARE VCLOUD》 *

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106911775A (en) * 2017-02-24 2017-06-30 郑州云海信息技术有限公司 A kind of private clound management system, method and device
CN107888613A (en) * 2017-11-30 2018-04-06 广东电网有限责任公司电力科学研究院 A kind of management system framework based on cloud platform
CN107888613B (en) * 2017-11-30 2020-09-01 广东电网有限责任公司电力科学研究院 Management system based on cloud platform
CN108989384A (en) * 2018-05-31 2018-12-11 华为技术有限公司 A kind of method of data processing, cloudy management system and relevant device
WO2019228059A1 (en) * 2018-05-31 2019-12-05 华为技术有限公司 Data processing method, multi-cloud management system and related device
US11765243B2 (en) 2018-05-31 2023-09-19 Huawei Technologies Co., Ltd. Data processing method, multi-cloud management system, and related device
CN110430281A (en) * 2019-08-15 2019-11-08 深圳市般若大数据技术有限公司 Method, apparatus, equipment and the storage medium of public cloud acquisition private clound data

Also Published As

Publication number Publication date
CN105516269B (en) 2018-07-24

Similar Documents

Publication Publication Date Title
US11997160B2 (en) Lightweight IoT information model
US8219970B2 (en) XML push and remote execution of a wireless applications
KR102224379B1 (en) Service layer resource management for general interoperability and scalability
Alaya et al. Toward semantic interoperability in oneM2M architecture
CN100536479C (en) Service establishing, executing, mapping system and method
US7716591B2 (en) System and method for dynamically generating a web page
KR101107319B1 (en) Method and System for Providing Web Portal Service based on Open Application Program Interface
CN110413288A (en) Using dispositions method, device, server and storage medium
CN104598513A (en) Data flow control method and system based on webpage frame
CN105516269A (en) Application configuration method and application configuration device
Schaeffer Towards a transactional web processing service
CN112236990A (en) Service layer based method for enabling efficient analysis of IOT data
CN102546737B (en) Wireless Internet gateway access system and method
JP2010146551A (en) Method port arrangement and configuration method thereof for robot software component
WO2015149530A1 (en) M2m application service method, device and system
CN108737474B (en) HTTP interface calling method and device
KR101585095B1 (en) Apparatus and method of generating mashup data api
CN101145953B (en) Method and system for dynamic debugging of network device management software
US20190197596A1 (en) System, apparatus, and method for integrating a plurality of supplier systems
CN112433821A (en) Method and device for building business model, electronic equipment and medium
CN113741870A (en) Method, system, equipment and storage medium for acquiring data in Spring framework
CN104052718B (en) Data center and its method that Virtual Service is provided for client
CN116567073A (en) Communication method and device of router system, electronic equipment and medium
CN117632538A (en) Service calling method, device, equipment and storage medium of self-adaptive structure
TW200816014A (en) System and method for accessing network servers

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