CN104735134A - Method and device for providing computing service - Google Patents

Method and device for providing computing service Download PDF

Info

Publication number
CN104735134A
CN104735134A CN201510082856.2A CN201510082856A CN104735134A CN 104735134 A CN104735134 A CN 104735134A CN 201510082856 A CN201510082856 A CN 201510082856A CN 104735134 A CN104735134 A CN 104735134A
Authority
CN
China
Prior art keywords
network equipment
information
service
business
request
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201510082856.2A
Other languages
Chinese (zh)
Other versions
CN104735134B (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.)
Baidu Online Network Technology Beijing Co Ltd
Beijing Baidu Netcom Science and Technology Co Ltd
Original Assignee
Beijing Baidu Netcom Science and Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Baidu Netcom Science and Technology Co Ltd filed Critical Beijing Baidu Netcom Science and Technology Co Ltd
Priority to CN201510082856.2A priority Critical patent/CN104735134B/en
Publication of CN104735134A publication Critical patent/CN104735134A/en
Application granted granted Critical
Publication of CN104735134B publication Critical patent/CN104735134B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention aims at providing a method and device for providing a computing service. The method includes the following steps that a service using request is acquired, wherein the service using request comprises service identification information of a requested service; one or more service function modules corresponding to the requested service are determined according to the service using request; a service function module used for responding the service using request is selected from the service function modules.

Description

A kind of for providing the method and apparatus of calculation services
Technical field
The present invention relates to field of computer technology, particularly relating to a kind of for providing the method and apparatus of calculation services.
Background technology
In prior art, the such as service provider such as enterprise or software developer is in order to provide corresponding service, need to build special development environment, and use programming language and other corresponding programming technology to realize the exploitation of relative application software by the developer of specialty, need cost more time and fund, and require higher for the professional degree of developer.Further, in whole development process, need the demand first being described business by the employee being familiar with business to the personnel of specializing in, and then the personnel that specialize in develop based on the understanding of self.In this process, often may cause the misunderstanding for business demand owing to repeatedly reporting, cause exploitative waste.In addition, after developer completes development, provider also needs to administer and maintain voluntarily the such as network equipment such as server or cluster server and application software, and cost is higher.
Summary of the invention
The object of this invention is to provide a kind of for providing the method and apparatus of calculation services.
According to an aspect of the present invention, providing a kind of for providing the method for calculation services in first network equipment, wherein, said method comprising the steps of:
-the business that obtains uses request, and wherein, described business uses the service identification information comprising institute's requested service in request;
-use request according to described business, determine the one or more business function module corresponding with its requested service;
-by selecting the business function module using request for responding described business in described one or more business function module.
According to an aspect of the present invention, additionally provide a kind of for supplying the method for computing service at second network equipment assisted Extraction, wherein, described second network equipment comprises and one or morely to call by service logic information, the code module realized by one or more code languages, said method comprising the steps of:
-receive service logic information to be released from first network equipment;
-the code module that calls based on this service logic information, generates corresponding business function module;
-by module device information feed back corresponding for described second network equipment extremely described first network equipment, for business function module described in described first network equipment use, wherein, module device information comprises the device-dependent message of service identification information corresponding to described service logic information and described second network equipment.
According to an aspect of the present invention, additionally providing a kind of method of the computing service for providing at user's equipment use first network equipment, wherein, said method comprising the steps of:
-send business to described first network equipment to use request;
-receive described first network equipment to use the operation result information asking to feed back based on described business.
According to an aspect of the present invention, additionally provide a kind of method for being based upon the computing service on first network equipment at provider's equipment, wherein, said method comprising the steps of:
-send new service logic information to described first network equipment, perform corresponding operation for described first network equipment based on this new service logic information.
According to an aspect of the present invention, additionally provide a kind of for providing the first network equipment of calculation services, wherein, described first network equipment comprises:
Use the device of request for obtaining business, wherein, described business uses the service identification information comprising institute's requested service in request;
For using request according to described business, determine the device of the one or more business function module corresponding with its requested service;
For the device by the business function module selected in described one or more business function module for responding described business use request.
According to an aspect of the present invention, additionally provide a kind of for the second network equipment of assisted Extraction for computing service, wherein, described second network equipment comprises and one or morely to call by service logic information, the code module realized by one or more code languages, described second network equipment comprises:
For receiving the device of the service logic information to be released from first network equipment;
For the code module called based on this service logic information, generate the device of corresponding business function module;
For the device-dependent message of described second network equipment and described service logic information are fed back to described first network equipment explicitly, for the device of business function module described in described first network equipment use.
According to an aspect of the present invention, additionally provide a kind of user's equipment of the computing service for using first network equipment to provide, wherein, described user's equipment comprises the following steps:
For sending to described first network equipment the device that business uses request;
For receiving the device of the operation result information that described first network equipment uses request to feed back based on described business.
According to an aspect of the present invention, additionally provide a kind of provider's equipment for being based upon the computing service on first network equipment, wherein, described provider's equipment comprises:
For sending new service logic information to described first network equipment, perform the device of corresponding operation based on this new service logic information for described first network equipment.
Compared with prior art, the present invention has the following advantages: according to the solution of the present invention, provider is without the need to building running environment or platform voluntarily, and can its every application be placed on computing services platform, user only needs the respective services using provider to provide by platform, considerably reduces the resources such as the fund of the required cost of service provider and manpower.
And, every business function module can be run on one or more second network equipment corresponding with first network equipment according to the present invention program, thus alleviate the burden of first network equipment, and, can based on the status information of equipment of each second network equipment for the relative preferably second network equipment of each service requesting information selection mode responds, thus the treatment effeciency further increased for each service requesting information, and improve the experience of user.
And, according to the solution of the present invention, service logic information is write by adopting the mode of XML file, required business function can be realized, thus reduce the requirement of the professional degree for developer, make business personnel can complete corresponding exploitation based on self-demand, decrease because information repeatedly transmits misreading of causing, the efficiency of exploitation can greatly be improved, saved human resources.
Accompanying drawing explanation
By reading the detailed description done non-limiting example done with reference to the following drawings, other features, objects and advantages of the present invention will become more obvious:
Fig. 1 illustrates according to of the present invention a kind of for providing the method flow diagram of calculation services;
Fig. 2 illustrates according to a kind of method flow diagram for setting up new service logic information of the present invention;
Fig. 3 illustrates according to of the present invention a kind of for providing the structural representation of user's equipment of the first network equipment of calculation services and a kind of computing service for using first network equipment to provide;
Fig. 4 illustrate according to of the present invention a kind of for provide the first network equipment of calculation services, a kind of for assisted Extraction for the second network equipment of computing service and a kind of structural representation of the provider's equipment for being based upon the computing service on first network equipment.
In accompanying drawing, same or analogous Reference numeral represents same or analogous parts.
Embodiment
Below in conjunction with accompanying drawing, the present invention is described in further detail.
Fig. 1 illustrates according to of the present invention a kind of for providing the method flow diagram of calculation services.Method according to the present invention comprises the step S101, step S102 and the step S103 that are performed by first network equipment, the step S201 performed by second network equipment, step S202 and step S203, the step S301 performed by user's equipment and step S302.
Wherein, according to method of the present invention by first network equipment, second network equipment, provider's equipment, and user's equipment realizes.
Preferably, calculation services is provided according to the solution of the present invention by first network equipment.
More preferably, calculation services is provided according to the solution of the present invention by first network equipment and one or more second network equipment for assisted Extraction confession calculation services.
Wherein, described first network equipment, described second network equipment, described provider's equipment and user's equipment include a kind of can according in advance setting or the instruction stored, automatically carry out the electronic equipment of numerical computations and/or information processing, its hardware includes but not limited to microprocessor, application-specific integrated circuit (ASIC) (ASIC), programmable gate array (FPGA), digital processing unit (DSP), embedded device etc.
Wherein, described provider's equipment and user's equipment can comprise the network equipment and/or subscriber equipment respectively.
Include according to the network equipment of the present invention but be not limited to single network server, the server group of multiple webserver composition or the cloud be made up of a large amount of main frame or the webserver based on cloud computing (Cloud Computing), wherein, cloud computing is the one of Distributed Calculation, the super virtual machine be made up of a group loosely-coupled computer collection.
Wherein, described subscriber equipment includes but not limited to that any one can to carry out the electronic product of man-machine interaction with user by modes such as keyboard, mouse, remote controller, touch pad or voice-operated devices, such as, personal computer, panel computer, smart mobile phone, PDA, game machine or IPTV etc.
Preferably, described first network equipment communicates with described second network equipment by network.
Preferably, described first network equipment also communicates with described provider's equipment and/or user's equipment by network.
Wherein, described network includes but not limited to the Internet, wide area network, metropolitan area network, local area network (LAN), VPN etc.
It should be noted that; described first network equipment, second network equipment, provider's equipment, user's equipment and the network residing for each equipment are only citing; other subscriber equipment that is existing or that may occur from now on, the network equipment and networks are as being applicable to the present invention; also within scope should being included in, and this is contained in way of reference.
With reference to Fig. 1, in step S301, user's equipment sends business to described first network equipment and uses request.
Wherein, described business uses the service identification information comprising institute's requested service in request.
Wherein, described service identification information includes but not limited to all kinds of identification informations that can be used for unique identification business.Such as, Business Name, business numbering etc.
Then, in step S101, first network equipment obtains business and uses request.
Wherein, described business uses the service identification information including but not limited to institute's requested service in request.
Preferably, described business uses in request the business reference information also comprised for performing business for corresponding business function module.Described business reference information includes but not limited to following at least any one:
1) business input information; Such as, when user asks to perform login feature, business reference information can comprise for carrying out the input information such as the user name password that logs in.
2) service operation set information; Such as, when user asks timing reminding function, business reference information can comprise the time parameter information etc. for setting reminder time point.
According to the first example of the present invention, calculation services system provides calculation services by the Cloud Server cloud_1 as first network equipment.User's equipment Dev_31 sends business to Cloud Server cloud_1 and uses request in step S301, and this business uses the service identification information service_1 comprising institute's requested service in request.Cloud Server cloud_1 receive from subscriber equipment Dev_31, the business that comprises service identification information service_1 uses request.
Continue with reference to Fig. 1, in step s 102, first network equipment uses request according to described business, determines the one or more business function module corresponding with its requested service.
Particularly, first network equipment uses the service identification information comprised in request based on business, inquire about in the corresponding relation of each predetermined business function module and each service identification information, determine the one or more business function module corresponding with the service identification information of institute requested service.
In step s 103, first network equipment is by selecting the business function module using request for responding described business in described one or more business function module.
Particularly, first network equipment can be used the business function module of request for responding described business by Stochastic choice in described one or more business function module, or, first network equipment based on predetermined selective rule by select in described one or more business function module for respond described business use request business function module.
Continue to be described foregoing First example, Cloud Server cloud_1 inquires about in the corresponding relation of each predetermined business function module with each service identification information based on service identification information service_1 in step s 102, obtains the business function module mod_1 corresponding with service identification information service_1 and mod_2.Then, Cloud Server cloud_1 by Stochastic choice one in two business function module mod_1 and mod_2 responsively this business use request business function module.
Continue with reference to Fig. 1, in step s 302, user's equipment receives described first network equipment and uses the operation result information asking to feed back based on described business.
Wherein, first network equipment based on described business use the mode of request back-to-back running object information include but not limited to following any one:
1) often receive the business connect from user's equipment and use request, namely use request to perform corresponding process operation to this business and back-to-back running result to this user's equipment; And after feedback result, receive next business and use request.
2) the one or more business received from one or more user's equipment use request, based on predetermined pool scheduling rule, the scheduling rules such as such as service priority, determine the processing sequence this one or more business being used to request, and feed back to user's equipment respectively when obtaining corresponding operation result after treatment.
According to method of the present invention, provider is without the need to building running environment or platform voluntarily, and can its every application be placed on computing services platform, user only needs the respective services using provider to provide by platform, considerably reduces the resources such as the fund of the required cost of service provider and manpower.
According to a preferred embodiment of the present invention, described method comprises step S102 ' (not shown) further, and described step S103 comprises step S1031 (not shown) and step S1032 (not shown) further.
In step S102 ', first network equipment uses request according to described business, determines the device-dependent message of the one or more business function module corresponding with its requested service and each other equipment self-corresponding of this one or more business function module.
Wherein, all kinds of relevant informations of other equipment that described device-dependent message is corresponding with business function module.Wherein, described device-dependent message includes but not limited to equipment identification information, and described equipment identification information comprises the information that can be used for marking equipment uniquely.
Preferably, described device-dependent message also includes but not limited to following at least any one information:
1) the device port information that adopts of these other equipment; Such as, available one or more port numbers etc.
2) the agreement relevant information etc. that adopts of these other equipment, such as, adopts Transmission Control Protocol to transmit etc.
More preferably, described device-dependent message also comprises relevant information that is relevant to asked business function module, these other equipment.
Such as, the port information used with business function module on these other equipment, again such as, the protocol information etc. that the business function module on these other equipment adopts.
According to the second example of the present invention, the computing platform system of calculation services is provided to comprise server _ 1 as first network equipment and multiple second network equipment server_2 to server_6.Server _ 1 obtain in step S101 from user's equipment Dev_32, the business that comprises service identification information service_2 uses request.Then, server _ 1 is inquired about in the database of predetermined storage service functional module information based on service identification information service_2, and the equipment identification information obtaining two business function module corresponding with service identification information service_2 and this two modules second network equipment residing separately comprises: the equipment identification information server_2 of business function module mod_3 and residing second network equipment thereof; The equipment identification information server_3 of business function module mod_4 and residing second network equipment thereof.
Continue with reference to Fig. 1, then, in step S1031, first network equipment is based on the device-dependent message of other equipment, determine the status information of equipment corresponding with the device-dependent message of these other equipment, to select the business function module using request for responding described business based on determined status information of equipment.
Wherein, described status information of equipment includes but not limited to the various information that can be used for indicating equipment disposal ability.
Preferably, described status information of equipment includes but not limited to following at least any one information:
1) apparatus of load information; Wherein said load information includes but not limited to following at least any one:
I) number of processes etc. of average treatment;
Ii) resources occupation rate, such as memory usage, CPU use accounting etc.
2) device processes ability information; The chip of such as equipment, the performance information etc. of memory;
3) stabilization of equipment performance, the recorded informations etc. such as such as device systems fault.
Particularly, first network equipment can based on described device-dependent message, by obtaining its status information of equipment alternately with other corresponding equipment.
Then, in step S1032, first network equipment based on described status information of equipment, by select in described one or more business function module for respond described business use request business function module.
Preferably, first network equipment is based on the instruction of described status information of equipment, by selecting the business function module corresponding to disposal ability other equipment good in described one or more business function module, use the business function module of request for responding described business.
Continue to be described foregoing second example, server _ 1 is respectively by carrying out alternately with second network equipment server_2 and server_3, obtain its respective apparatus of load information to comprise: the cpu process number 25 of server_2, the cpu process number 40 of server_3, and the status information of equipment using it as corresponding second network equipment.Then server _ 1 is based on predetermined load balancing selection principle: select the business function module in the equipment of least-loaded, by in these two second network equipment, business function module mod_3 in the second network equipment server_2 of selection least-loaded responds this business from user's equipment Dev_32 and uses request, and the operation result after business function module mod_2 is used the operation of request execution response based on this business feeds back to this user's equipment Dev_32.
According to the method for the present embodiment, every business function module can be run on one or more second network equipment corresponding with first network equipment, thus alleviate the burden of first network equipment, and, can based on the status information of equipment of each second network equipment for the relative preferably second network equipment of each service requesting information selection mode responds, thus the treatment effeciency further increased for each service requesting information, and improve the experience of user.
According to another preferred embodiment of the invention, after step S102 ', according to method of the present invention, after step S301, before step S302, also comprise the step S303 (not shown) and step S304 (not shown) that are performed by user's equipment.
In step S303, the reception of user's equipment is fed back from first network equipment, can provide the device-dependent message using one or more second network equipment of asking corresponding business function with described business.
In step s 304, user's equipment is by selecting the second network equipment using request for responding described business in described one or more second network equipment.
Particularly, user's equipment by select in described one or more second network equipment for respond described business use the mode of second network equipment of request include but not limited to following any one:
1) the selection operation based on user determines responding the second network equipment that described business uses request;
2) based on described one or more second network equipment status information of equipment separately of first network equipment feedback, select to correspond to disposal ability good second network equipment and use request for responding described business.
Then, first network equipment is based on the business function module selected by user's equipment, the indication information that response service uses request is sent to the second network equipment belonging to this business function module, should business request execution be used to operate to obtain corresponding operation result accordingly mutually to make the business function module on this second network equipment, and this operation result is sent to first network equipment, for this first network equipment, this operation result is fed back to user's equipment.
Continue to be described foregoing second example, user's equipment Dev_33 sends business and uses request in step S301 to server _ 1, and receive in step S303 and feed back from server _ 1, the respective equipment identification information of 3 second network equipment server_4, server_5 and server_6 and apparatus of load information that to use with described business and ask corresponding business function can be provided.Then, user's equipment Dev_3 is in step s 304 based on the instruction of this apparatus of load information, selecting the business function module in the second network equipment server_5 of least-loaded to use request for responding described business, calling corresponding business function module in second network equipment server_5 for server _ 1 and using request to respond described business.Then, user's equipment Dev_3 reception server server_1 feeds back, by business function module corresponding in second network equipment server_5 based on the operation result information after this service requesting information executable operations.
It should be noted that, can be a Third party system according to user's equipment of the present invention, that is this Third party system be by the predetermined interface with first network equipment, carry out alternately with first network equipment, send service requesting information and receive first network equipment feedback operation result.
Fig. 2 illustrates according to a kind of method flow diagram for setting up new service logic information of the present invention.According to the method for the present embodiment, before aforementioned each step embodiment illustrated in fig. 1, also comprise the step S401 performed by provider's equipment, the step S10911 performed by first network equipment and step S10912, and the step S201, step S202 and the step S203 that are performed by second network equipment.
In step S401, provider's equipment sends new service logic information to described first network equipment, performs corresponding operation for described first network equipment based on this new service logic information.
Preferably, described service logic information includes but not limited to the document that employing extend markup language (Extensible Markup Language, XML) file realizes.
Preferably, provider's equipment also sends service condition request corresponding to described service logic information to described first network equipment.
Wherein, described service condition request comprises state information, and the publisher that described state information is used to indicate service logic information wishes the operation performed corresponding business function module, such as, and " issue ", " wouldn't issue " or " unloading " etc.
Preferably, according to the scheme of the present embodiment, also comprise the step S104 (not shown) performed by first network equipment according to method of the present invention.In step S104, after receiving new service logic information, first network equipment generates the service identification information corresponding with this service logic information.
Preferably, the step S105 (not shown) and step S106 (not shown) that are performed by first network equipment is also comprised according to method of the present invention.
In step S105, first network equipment obtains submitter's information of the submission side of new service logic and information.
Preferably, described submission side information includes but not limited to following at least any one information:
1) submitter's identification information;
2) whether the user gradation information of submitter such as, is that the user gradation of submitter is divided into " paying customer " and " domestic consumer " by paying customer according to submitter;
3) other side's of submission to relevant informations, such as, interest of residing geographical position, submission side, affiliated industry field, submission side etc. relevant information.
In step s 106, after receiving new service logic information, first network equipment, according to described service logic information and described submitter's information, determines the one or more second network equipment corresponding with described service logic information.
Particularly, first network equipment can according to described service logic information and described submitter's information, and based on the corresponding relation of predetermined submitter's information and second network equipment, determine the one or more second network equipment corresponding with described service logic information.
Continue to be described foregoing second example, provider's equipment Dev_41 sends the XML file as new service logic information log_1 in step S401 to server _ 1.And, provider's equipment Dev_41 also sends the submitter's information " Shanghai " comprising and submit square mark information provider_1 to server _ 1, and service condition request that is corresponding with this service logic information log_1, that comprise state information " issue ".Then, this service logic information log_1, in step s 106 according to this service logic information and submitter's information of receiving in step S105, is dispensed to the second network equipment server_3 of the District of Shanghai that coexists by server _ 1 based on this second network equipment allocation rule of " preferential with area ".Further, server _ 1 generates the service identification information service_log_1 of log_1 corresponding to this service logic information in step S104.
Preferably, the step S107 (not shown) performed by first network equipment is also comprised according to method of the present invention.
In step s 107, when receiving the state information of new service logic information and correspondence thereof, first network equipment determines whether to issue this service logic information based on this state information.
Preferably, the step S108 (not shown) and S109 (not shown) that are performed by first network equipment is also comprised according to method of the present invention.
In step S108, first network equipment obtains the service condition request corresponding with asked service logic information.
Wherein, described service condition request comprises the state information of asked service logic information.
In step S109, first network equipment, based on described service condition request, generates/unloads the business function module corresponding with asked service logic information.
Wherein, when described service condition request comprises service distribution request, described step S109 comprises step S1091 (not shown) further.
In step S1091, first network equipment, based on described service distribution request, generates the one or more business function module corresponding with described service logic information, to provide the business function corresponding with institute requested service based on described business function module.
Particularly, first network equipment is based on described service distribution request, generate the one or more business function module corresponding with described service logic information, with provide based on described business function module the mode of the business function corresponding with institute requested service include but not limited to following any one:
1) one or more code modules that first network equipment calls is self-contained and described service logic information is corresponding, to generate the business function module corresponding with described service logic information.
Wherein, described one or more code module adopts one or more code languages to realize.
2) corresponding with described service logic information in first network equipment calls other equipment one or more one or more code modules, generate corresponding business function module according to this service logic information respectively for other equipment one or more.
Wherein, the code module described in the present invention comprise write based on all kinds of development language and can based on the coding adopted in service logic information invoked module.
Such as, code module can comprise the module of being write by all kinds of development language of java, hibernate, spring, service, DAO, BO etc. and development scheme, and it is become by framework can based on the invoked form of XML file.
Wherein, those skilled in the art according to actual conditions and demand, should determine the granularity of division of each code module, as can by section conditional statement of in programming language, such as if statement etc., as a code module; Or, be used for one section the code realizing concrete function, such as, realize clicking and submit to the code of function as a code module etc., repeat no more herein.
Preferably, described step S1091 comprises step S10911 and step S10912 further.
In step S10911, described service logic information is sent to other equipment one or more by first network equipment, generates corresponding business function module respectively for described other equipment one or more according to this service logic information.
Then, in step s 201, second network equipment receives the service logic information to be released from first network equipment.
Wherein, described second network equipment comprises and one or morely to call by service logic information, the code module realized by one or more code languages.
In step S202, the code module that second network equipment calls based on this service logic information, generates corresponding business function module.
In step S203, second network equipment by module device information feed back corresponding for described second network equipment to described first network equipment, for business function module described in described first network equipment use.
Wherein, described module device information includes but not limited to the device-dependent message of the service identification information that described service logic information is corresponding and described second network equipment.
Then, in step S10912, first network equipment receives the module device information fed back based on generated business function module from described other equipment one or more, to provide the business function corresponding with institute requested service based on described business function module.
Continue to be described foregoing second example, first network equipment server_1 obtains from service distribution request corresponding to the service logic information log_1 of provider's equipment Dev_41 in step S108, described service logic information log_1 is sent to the fixed second network equipment server_3 corresponding with it, generates corresponding business function module for second network equipment server_3 according to this service logic information.
Second network equipment server_3 in step S202 based on the code module that calls of service logic information log_1 received, generate corresponding business function module mod_log_1, and by module device information feed back corresponding for the functional module mod_log_1 of this generation to server _ 1, use described business function module for server _ 1, this module device information comprises the service identification information service_log_1 corresponding with this service logic information log_1 and equipment identification information server_3.
Then, server _ 1 receives from this module device information of second network equipment server_3, to provide the business function corresponding with institute requested service based on business function module mod_log_1.
According to a preferred embodiment of the present invention, when described service condition request comprises business unload request, described step S109 comprises step S1092 (not shown) further.
In step S1092, one or more business function module that first network unit deletion is corresponding with described business unload request, respond this business unload request.
Wherein, described business unload request comprises the service identification information of asked service logic information.
Particularly, one or more module device information that first network unit deletion is corresponding with business unload request, and the business function module indicating each the second network unit deletion corresponding to this one or more module device information corresponding; Or, first network equipment can first according to the one or more module device information corresponding with business unload request, indicate the business function module that each the second network unit deletion corresponding to this one or more module device information is corresponding, and perform deletion action after the meeting at each second network equipment, delete this one or more module device information.
According to another preferred embodiment of the present invention, described step S1092 comprises step S10921 (not shown), step S10922 (not shown) and step S10923 (not shown) further, also comprises the step S204 (not shown) performed by second network equipment according to the method for this preferred embodiment.
In S10921, first network equipment determines the module device information corresponding with asked service logic information.
In S10922, first network equipment is according to described module device information, send respectively to other equipment one or more corresponding with the service logic information that this is asked and unload indication information, unload business function module corresponding to this service logic information to indicate it.
In step S204, when receiving the unloading indication information from first network equipment, the business function module of the service logic information that second network unit deletion is corresponding with described unloading indication information.
In S10923, when receiving the unloading feedback information after this one or more other equipment unloading, the module device information that first network unit deletion is corresponding with this service logic information, to complete unloading operation.
Continue to be described foregoing second example, server _ 1 determines that in step S10921 the module device information corresponding with the service logic information log_2 that provider's equipment Dev_42 asks comprises: the service identification information service_log_2 that service logic information log_2 is corresponding and equipment identification information server_4 and server_6.Server _ 1 then in S10922 according to this module device information, send respectively to the second network equipment server_4 and server_6 corresponding with the service logic information that this is asked and unload indication information, unload business function module corresponding to this service logic information service_log_2 to indicate it.Then, after receiving the unloading indication information from server _ 1, second network equipment server_4 and server_6 deletes the business function module of the service logic information service_log_2 corresponding with this unloading indication information respectively in step S204, and sends unloading feedback information to server _ 1 after unloading completes.Then, when server _ 1 receives the feedback information after second network equipment server_4 and server_6 unloading, the module device information corresponding with this service logic information service_log_2 is deleted, to complete unloading operation.
According to method of the present invention, service logic information is write by adopting the mode of XML file, required business function can be realized, thus reduce the requirement of the professional degree for developer, make business personnel can complete corresponding exploitation based on self-demand, decrease because information repeatedly transmits misreading of causing, the efficiency of exploitation can greatly be improved, saved human resources.
Fig. 3 illustrates according to of the present invention a kind of for providing the structural representation of user's equipment of the first network equipment of calculation services and a kind of computing service for using first network equipment to provide.
First network equipment according to invention comprises: the device using request for obtaining business, and wherein, described business uses the service identification information (hereinafter referred to as " acquisition request device 101 ") comprising institute's requested service in request; For using request according to described business, determine the device (hereinafter referred to as " module determining device 102 ") of the one or more business function module corresponding with its requested service; For the device (hereinafter referred to as " module selection unit 103 ") by the business function module selected in described one or more business function module for responding described business use request.
User's equipment according to the present invention comprises: for sending to described first network equipment the device (hereinafter referred to as " send-request unit 301 ") that business uses request; For receiving the device (hereinafter referred to as " result receiving system 302 ") of the operation result information that described first network equipment uses request to feed back based on described business.
With reference to Fig. 3, send-request unit 301 sends business to described first network equipment and uses request.
Wherein, described business uses the service identification information comprising institute's requested service in request.
Wherein, described service identification information includes but not limited to all kinds of identification informations that can be used for unique identification business.Such as, Business Name, business numbering etc.
Then, acquisition request device 101 obtains business and uses request.
Wherein, described business uses the service identification information including but not limited to institute's requested service in request.
Preferably, described business uses in request the business reference information also comprised for performing business for corresponding business function module.Described business reference information includes but not limited to following at least any one:
1) business input information; Such as, when user asks to perform login feature, business reference information can comprise for carrying out the input information such as the user name password that logs in.
2) service operation set information; Such as, when user asks timing reminding function, business reference information can comprise the time parameter information etc. for setting reminder time point.
According to the first example of the present invention, calculation services system provides calculation services by the Cloud Server cloud_1 as first network equipment.The send-request unit 301 of user's equipment Dev_31 sends business to Cloud Server cloud_1 and uses request, and this business uses the service identification information service_1 comprising institute's requested service in request.Cloud Server cloud_1 receive from subscriber equipment Dev_31, the business that comprises service identification information service_1 uses request.
Continue with reference to Fig. 3, module determining device 102 uses request according to described business, determines the one or more business function module corresponding with its requested service.
Particularly, module determining device 102 uses the service identification information comprised in request based on business, inquire about in the corresponding relation of each predetermined business function module and each service identification information, determine the one or more business function module corresponding with the service identification information of institute requested service.
Then, module selection unit 103 is by selecting the business function module using request for responding described business in described one or more business function module.
Particularly, module selection unit 103 can be used the business function module of request for responding described business by Stochastic choice in described one or more business function module, or, module selection unit 103 based on predetermined selective rule by select in described one or more business function module for respond described business use request business function module.
Continue to be described foregoing First example, the module determining device 102 of Cloud Server cloud_1 is inquired about in the corresponding relation of each predetermined business function module with each service identification information based on service identification information service_1, obtains the business function module mod_1 corresponding with service identification information service_1 and mod_2.Then, Cloud Server cloud_1 module selection unit 103 by Stochastic choice one in two business function module mod_1 and mod_2 responsively this business use request business function module.
Continue with reference to Fig. 3, result receiving system 302 receives described first network equipment and uses the operation result information asking to feed back based on described business.
Wherein, first network equipment based on described business use the mode of request back-to-back running object information include but not limited to following any one:
1) often receive the business connect from user's equipment and use request, namely use request to perform corresponding process operation to this business and back-to-back running result to this user's equipment; And after feedback result, receive next business and use request.
2) the one or more business received from one or more user's equipment use request, based on predetermined pool scheduling rule, the scheduling rules such as such as service priority, determine the processing sequence this one or more business being used to request, and feed back to user's equipment respectively when obtaining corresponding operation result after treatment.
According to the solution of the present invention, provider is without the need to building running environment or platform voluntarily, and can its every application be placed on computing services platform, user only needs the respective services using provider to provide by platform, considerably reduces the resources such as the fund of the required cost of service provider and manpower.
According to a preferred embodiment of the present invention, described first network equipment comprises for using request according to described business further, determine the device (scheming not show, hereinafter referred to as " information determining device ") of the device-dependent message of the one or more business function module corresponding with its requested service and each other equipment self-corresponding of this one or more business function module.
Described module selection unit 103 comprises further: for the device-dependent message based on other equipment, determine the status information of equipment corresponding with the device-dependent message of these other equipment, to select the using device of the business function module of request for responding described business based on determined status information of equipment, (figure does not show, hereinafter referred to as " state determination device "), and for based on described status information of equipment, by selecting to use the device of the business function module of request for responding described business in described one or more business function module, (figure does not show, hereinafter referred to as " sub-choice device ").
Information determining device uses request according to described business, determines the device-dependent message of the one or more business function module corresponding with its requested service and each other equipment self-corresponding of this one or more business function module.
Wherein, all kinds of relevant informations of other equipment that described device-dependent message is corresponding with business function module.Wherein, described device-dependent message includes but not limited to equipment identification information, and described equipment identification information comprises the information that can be used for marking equipment uniquely.
Preferably, described device-dependent message also includes but not limited to following at least any one information:
1) the device port information that adopts of these other equipment; Such as, available one or more port numbers etc.
2) the agreement relevant information etc. that adopts of these other equipment, such as, adopts Transmission Control Protocol to transmit etc.
More preferably, described device-dependent message also comprises relevant information that is relevant to asked business function module, these other equipment.
Such as, the port information used with business function module on these other equipment, again such as, the protocol information etc. that the business function module on these other equipment adopts.
According to the second example of the present invention, the computing platform system of calculation services is provided to comprise server _ 1 as first network equipment and multiple second network equipment server_2 to server_6.The acquisition request device 101 of server _ 1 obtain from user's equipment Dev_32, the business that comprises service identification information service_2 uses request.Then, the information determining device of server _ 1 is inquired about in the database of predetermined storage service functional module information based on service identification information service_2, and the equipment identification information obtaining two business function module corresponding with service identification information service_2 and this two modules second network equipment residing separately comprises: the equipment identification information server_2 of business function module mod_3 and residing second network equipment thereof; The equipment identification information server_3 of business function module mod_4 and residing second network equipment thereof.
Continue with reference to Fig. 3, state determination device is based on the device-dependent message of other equipment, determine the status information of equipment corresponding with the device-dependent message of these other equipment, to select the business function module using request for responding described business based on determined status information of equipment.
Wherein, described status information of equipment includes but not limited to the various information that can be used for indicating equipment disposal ability.
Preferably, described status information of equipment includes but not limited to following at least any one information:
1) apparatus of load information; Wherein said load information includes but not limited to following at least any one:
I) number of processes etc. of average treatment;
Ii) resources occupation rate, such as memory usage, CPU use accounting etc.
2) device processes ability information; The chip of such as equipment, the performance information etc. of memory;
3) stabilization of equipment performance, the recorded informations etc. such as such as device systems fault.
Particularly, state determination device can based on described device-dependent message, by obtaining its status information of equipment alternately with other corresponding equipment.
Then, sub-choice device based on described status information of equipment, by select in described one or more business function module for respond described business use request business function module.
Preferably, sub-choice device is based on the instruction of described status information of equipment, by selecting the business function module corresponding to disposal ability other equipment good in described one or more business function module, use the business function module of request for responding described business.
Continue to be described foregoing second example, the state determination device of server _ 1 is respectively by carrying out alternately with second network equipment server_2 and server_3, obtain its respective apparatus of load information to comprise: the cpu process number 25 of server_2, the cpu process number 40 of server_3, and the status information of equipment using it as corresponding second network equipment.Then the sub-choice device of server_1 is based on predetermined load balancing selection principle: select the business function module in the equipment of least-loaded, by in these two second network equipment, select the business function module mod_3 in the second network equipment server_2 of least-loaded to respond this business from user's equipment Dev_32 and use request, for server _ 1, business function module mod_2 is asked to perform the operation result after the operation of response based on the use of this business and feed back to this user's equipment Dev_32.
According to the scheme of the present embodiment, every business function module can be run on one or more second network equipment corresponding with first network equipment, thus alleviate the burden of first network equipment, and, can based on the status information of equipment of each second network equipment for the relative preferably second network equipment of each service requesting information selection mode responds, thus the treatment effeciency further increased for each service requesting information, and improve the experience of user.
According to another preferred embodiment of the invention, user's equipment according to method of the present invention also comprises: feed back from first network equipment for receiving, can provide to use with described business asks the device of the device-dependent message of one or more second network equipment of corresponding business function (to scheme not show, hereinafter referred to as " information receiver "), and for the device (figure does not show, hereinafter referred to as " equipment choice device ") by the second network equipment selected in described one or more second network equipment for responding described business use request.
Information receiver reception is fed back from first network equipment, can provide the device-dependent message using one or more second network equipment of asking corresponding business function with described business.
Equipment choice device is by selecting the second network equipment using request for responding described business in described one or more second network equipment.
Particularly, equipment choice device by select in described one or more second network equipment for respond described business use the mode of second network equipment of request include but not limited to following any one:
1) the selection operation based on user determines responding the second network equipment that described business uses request;
2) based on described one or more second network equipment status information of equipment separately of first network equipment feedback, select to correspond to disposal ability good second network equipment and use request for responding described business.
Then, first network equipment is based on the business function module selected by user's equipment, the indication information that response service uses request is sent to the second network equipment belonging to this business function module, should business request execution be used to operate to obtain corresponding operation result accordingly mutually to make the business function module on this second network equipment, and this operation result is sent to first network equipment, for this first network equipment, this operation result is fed back to user's equipment.
Continue to be described foregoing second example, the send-request unit 301 of user's equipment Dev_33 sends business and uses request to server _ 1, information receiver receives and feeds back from server _ 1, can provide the respective equipment identification information of 3 second network equipment server_4, server_5 and server_6 and apparatus of load information that to use with described business and ask corresponding business function.Then, the equipment choice device of user's equipment Dev_3 is based on the instruction of this apparatus of load information, selecting the business function module in the second network equipment server_5 of least-loaded to use request for responding described business, calling corresponding business function module in second network equipment server_5 for server _ 1 and using request to respond described business.Then, user's equipment Dev_3 reception server server_1 feeds back, by business function module corresponding in second network equipment server_5 based on the operation result information after this service requesting information executable operations.
It should be noted that, can be a Third party system according to user's equipment of the present invention, that is this Third party system be by the predetermined interface with first network equipment, carry out alternately with first network equipment, send service requesting information and receive first network equipment feedback operation result.
Fig. 4 illustrate according to of the present invention a kind of for provide the first network equipment of calculation services, a kind of for assisted Extraction for the second network equipment of computing service and a kind of structural representation of the provider's equipment for being based upon the computing service on first network equipment.
Second network equipment according to the present invention comprises: for receiving the device (hereinafter referred to as " logic receiving system 201 ") of the service logic information to be released from first network equipment, for the code module called based on this service logic information, generate the device (hereinafter referred to as " module forming device 202 ") of corresponding business function module, for the device-dependent message of described second network equipment and described service logic information are fed back to described first network equipment explicitly, for the device (hereinafter referred to as " module feedback device 203 ") of business function module described in described first network equipment use, provider's equipment according to the present invention comprises for sending new service logic information to described first network equipment, perform the device (hereinafter referred to as " logic dispensing device 401 ") of corresponding operation based on this new service logic information for described first network equipment, first network equipment according to the present invention also comprise for device (figure do not show, hereinafter referred to as " identification generation apparatus ").
With reference to Fig. 4, logic dispensing device 401 sends new service logic information to described first network equipment, performs corresponding operation for described first network equipment based on this new service logic information.
Preferably, described service logic information includes but not limited to the document that employing extend markup language (Extensible Markup Language, XML) file realizes.
Preferably, provider's equipment also sends service condition request corresponding to described service logic information to described first network equipment.
Wherein, described service condition request comprises state information, and the publisher that described state information is used to indicate service logic information wishes the operation performed corresponding business function module, such as, and " issue ", " wouldn't issue " or " unloading " etc.
After receiving new service logic information, identification generation apparatus generates the service identification information corresponding with this service logic information.
Preferably, the device that first network equipment according to the present invention also comprises submitter's information of the submission side for obtaining new service logic and information (schemes not show, hereinafter referred to as " submission acquisition device "), and for after receiving new service logic information, according to described service logic information and described submitter's information, determine the device (scheming not show, hereinafter referred to as " equipment determining device ") of the one or more second network equipment corresponding with described service logic information.
Acquisition device is submitted to obtain submitter's information of the submission side of new service logic and information.
Preferably, described submission side information includes but not limited to following at least any one information:
1) submitter's identification information;
2) whether the user gradation information of submitter such as, is that the user gradation of submitter is divided into " paying customer " and " domestic consumer " by paying customer according to submitter;
3) other side's of submission to relevant informations, such as, interest of residing geographical position, submission side, affiliated industry field, submission side etc. relevant information.
After receiving new service logic information, equipment determining device, according to described service logic information and described submitter's information, determines the one or more second network equipment corresponding with described service logic information.
Particularly, equipment determining device can according to described service logic information and described submitter's information, and based on the corresponding relation of predetermined submitter's information and second network equipment, determine the one or more second network equipment corresponding with described service logic information.
Continue to be described foregoing second example, in the logic dispensing device 401 of provider's equipment Dev_41, send the XML file as new service logic information log_1 to server _ 1.And, provider's equipment Dev_41 also sends the submitter's information " Shanghai " comprising and submit square mark information provider_1 to server _ 1, and service condition request that is corresponding with this service logic information log_1, that comprise state information " issue ".Then, according to this service logic information and submitter's information of submitting to acquisition device to receive in the equipment determining device of server _ 1, based on this second network equipment allocation rule of " preferential with area ", this service logic information log_1 is dispensed to the second network equipment server_3 of the District of Shanghai that coexists.Further, the identification generation apparatus of server _ 1 generates the service identification information service_log_1 of log_1 corresponding to this service logic information.
Preferably, first network equipment according to the present invention also comprises for when receiving the state information of new service logic information and correspondence thereof, the device (figure does not show, hereinafter referred to as " issue determining device ") issuing this service logic information is determined whether based on this state information.
When receiving the state information of new service logic information and correspondence thereof, issuing determining device first network equipment and determining whether to issue this service logic information based on this state information.
Preferably, first network equipment according to the present invention also comprises: the device for obtaining the service condition request corresponding with asked service logic information (schemes not show, hereinafter referred to as " sub-acquisition device "), and for based on described service condition request, generate/unload the device (scheming not show, hereinafter referred to as " module updating device ") of the business function module corresponding with asked service logic information.
Sub-acquisition device obtains the service condition request corresponding with asked service logic information.
Wherein, described service condition request comprises the state information of asked service logic information.
Module updating device, based on described service condition request, generates/unloads the business function module corresponding with asked service logic information.
Wherein, when described service condition request comprises service distribution request, described module updating device comprises for based on described service distribution request further, generate the one or more business function module corresponding with described service logic information, to provide the device (scheming not show, hereinafter referred to as " module forming device ") of the business function corresponding with institute requested service based on described business function module.
Module forming device, based on described service distribution request, generates the one or more business function module corresponding with described service logic information, to provide the business function corresponding with institute requested service based on described business function module.
Particularly, module forming device is based on described service distribution request, generate the one or more business function module corresponding with described service logic information, with provide based on described business function module the mode of the business function corresponding with institute requested service include but not limited to following any one:
1) module forming device calls one or more code modules corresponding to self-contained and described service logic information, to generate the business function module corresponding with described service logic information.
Wherein, described one or more code module adopts one or more code languages to realize.
2) module forming device calls one or more code modules corresponding with described service logic information in other equipment one or more, generates corresponding business function module respectively for other equipment one or more according to this service logic information.
Wherein, the code module described in the present invention comprise write based on all kinds of development language and can based on the coding adopted in service logic information invoked module.
Such as, code module can comprise the module of being write by all kinds of development language of java, hibernate, spring, service, DAO, BO etc. and development scheme, and it is become by framework can based on the invoked form of XML file.
Wherein, those skilled in the art according to actual conditions and demand, should determine the granularity of division of each code module, as can by section conditional statement of in programming language, such as if statement etc., as a code module; Or, be used for one section the code realizing concrete function, such as, realize clicking and submit to the code of function as a code module etc., repeat no more herein.
Preferably, described module forming device comprises for described service logic information is sent to other equipment one or more further, generate the device (hereinafter referred to as " business dispensing device 10911 ") of corresponding business function module respectively according to this service logic information for described other equipment one or more, and for receiving the module device information fed back based on generated business function module from described other equipment one or more, to provide the device (hereinafter referred to as " feedback reception device 10912 ") of the business function corresponding with institute requested service based on described business function module.
Described service logic information is sent to other equipment one or more by business dispensing device 10911, generates corresponding business function module respectively for described other equipment one or more according to this service logic information.
Then, logic receiving system 201 receives the service logic information to be released from first network equipment.
Wherein, described second network equipment comprises and one or morely to call by service logic information, the code module realized by one or more code languages.
The code module that module forming device 202 calls based on this service logic information, generates corresponding business function module.
Module feedback device 203 by module device information feed back corresponding for described second network equipment to described first network equipment, for business function module described in described first network equipment use.
Wherein, described module device information includes but not limited to the device-dependent message of the service identification information that described service logic information is corresponding and described second network equipment.
Then, feedback reception device 10912 receives the module device information fed back based on generated business function module from described other equipment one or more, to provide the business function corresponding with institute requested service based on described business function module.
Continue to be described foregoing second example, the sub-acquisition device of server _ 1 obtains from service distribution request corresponding to the service logic information log_1 of provider's equipment Dev_41, described service logic information log_1 is sent to the fixed second network equipment server_3 corresponding with it by business dispensing device 10911, generates corresponding business function module for second network equipment server_3 according to this service logic information.
The code module that the module forming device 202 of second network equipment server_3 calls based on the service logic information log_1 received, generate corresponding business function module mod_log_1, module feedback device 203 by module device information feed back corresponding for the functional module mod_log_1 of this generation to server _ 1, use described business function module for server _ 1, this module device information comprises the service identification information service_log_1 corresponding with this service logic information log_1 and equipment identification information server_3.
Then, the feedback reception device 10912 of server _ 1 receives this module device information from second network equipment server_3, to provide the business function corresponding with institute requested service based on business function module mod_log_1.
According to a preferred embodiment of the present invention, when described service condition request comprises business unload request, described module updating device comprises for deleting the one or more business function module corresponding with described business unload request further, respond the device (figure does not show, hereinafter referred to as " module delete device ") of this business unload request.
Module delete device deletes the one or more business function module corresponding with described business unload request, responds this business unload request.
Wherein, described business unload request comprises the service identification information of asked service logic information.
Particularly, module delete device deletes the one or more module device information corresponding with business unload request, and the business function module indicating each the second network unit deletion corresponding to this one or more module device information corresponding; Or, module delete device can first according to the one or more module device information corresponding with business unload request, indicate the business function module that each the second network unit deletion corresponding to this one or more module device information is corresponding, and perform deletion action after the meeting at each second network equipment, delete this one or more module device information.
According to another preferred embodiment of the present invention, the device that described module delete device comprises further for determining the module device information corresponding with asked service logic information (schemes not show, hereinafter referred to as " facility information determining device "), for according to described module device information, send respectively to other equipment one or more corresponding with the service logic information that this is asked and unload indication information, with the device indicating it to unload business function module corresponding to this service logic information, (figure does not show, hereinafter referred to as " unloading indicating device "), and for when receiving the unloading feedback information after this one or more other equipment unloading, delete the module device information corresponding with this service logic information, to complete the device of unloading operation, (figure does not show, hereinafter referred to as " information deleting unit "), also comprise for when receiving the unloading indication information from first network equipment according to the second network equipment of this preferred embodiment, the device deleting the business function module of the service logic information corresponding with described unloading indication information (schemes not show, hereinafter referred to as " function delete device ").
Facility information determining device determines the module device information corresponding with asked service logic information.
Then, unloading indicating device, according to described module device information, sends respectively to other equipment one or more corresponding with the service logic information that this is asked and unloads indication information, unload business function module corresponding to this service logic information to indicate it.
When receiving the unloading indication information from first network equipment, function delete device deletes the business function module of the service logic information corresponding with described unloading indication information.
When receiving the unloading feedback information after this one or more other equipment unloading, information deleting unit deletes the module device information corresponding with this service logic information, to complete unloading operation.
Continue to be described foregoing second example, determine in the facility information determining device of server _ 1 that the module device information corresponding with the service logic information log_2 that provider's equipment Dev_42 asks comprises: the service identification information service_log_2 that service logic information log_2 is corresponding and equipment identification information server_4 and server_6.The unloading indicating device of server _ 1 is then according to this module device information, send respectively to the second network equipment server_4 and server_6 corresponding with the service logic information that this is asked and unload indication information, unload business function module corresponding to this service logic information service_log_2 to indicate it.Then, after receiving the unloading indication information from server _ 1, the function delete device of second network equipment server_4 and server_6 deletes the business function module of the service logic information service_log_2 corresponding with this unloading indication information respectively, and sends unloading feedback information to first network equipment server_1 after unloading completes.Then, when server _ 1 receives the feedback information after second network equipment server_4 and server_6 unloading, information deleting unit deletes the module device information corresponding with this service logic information service_log_2, to complete unloading operation.
According to the solution of the present invention, service logic information is write by adopting the mode of XML file, required business function can be realized, thus reduce the requirement of the professional degree for developer, make business personnel can complete corresponding exploitation based on self-demand, decrease because information repeatedly transmits misreading of causing, the efficiency of exploitation can greatly be improved, saved human resources.
It should be noted that, also can be a Third party system according to provider's equipment of the present invention, that is, first network equipment is by predetermined interface, with this Third party system alternately and obtain its service logic information exported, and then complete corresponding operation according to the service logic information that it provides.
Further, provider's equipment and user's equipment can be same equipment (or same Third party system), also can be different equipment (or different Third party system).
Software program of the present invention can perform to realize step mentioned above or function by processor.Similarly, software program of the present invention (comprising relevant data structure) can be stored in computer readable recording medium storing program for performing, such as, and RAM memory, magnetic or CD-ROM driver or floppy disc and similar devices.In addition, steps more of the present invention or function can adopt hardware to realize, such as, as coordinating with processor thus performing the circuit of each function or step.
In addition, a part of the present invention can be applied to computer program, such as computer program instructions, when it is performed by computer, by the operation of this computer, can call or provide according to method of the present invention and/or technical scheme.And call the program command of method of the present invention, may be stored in fixing or moveable recording medium, and/or be transmitted by the data flow in broadcast or other signal bearing medias, and/or be stored in the working storage of the computer equipment run according to described program command.At this, comprise a device according to one embodiment of present invention, this device comprises the memory for storing computer program instructions and the processor for execution of program instructions, wherein, when this computer program instructions is performed by this processor, trigger this plant running based on the aforementioned method according to multiple embodiment of the present invention and/or technical scheme.
To those skilled in the art, obviously the invention is not restricted to the details of above-mentioned one exemplary embodiment, and when not deviating from spirit of the present invention or essential characteristic, the present invention can be realized in other specific forms.Therefore, no matter from which point, all should embodiment be regarded as exemplary, and be nonrestrictive, scope of the present invention is limited by claims instead of above-mentioned explanation, and all changes be therefore intended in the implication of the equivalency by dropping on claim and scope are included in the present invention.Any Reference numeral in claim should be considered as the claim involved by limiting.In addition, obviously " comprising " one word do not get rid of other unit or step, odd number does not get rid of plural number.Multiple unit of stating in system claims or device also can be realized by software or hardware by a unit or device.First, second word such as grade is used for representing title, and does not represent any specific order.
Although show and describe exemplary embodiment especially above, it will be appreciated by those skilled in the art that when not deviating from the spirit and scope of claims, can change to some extent in its form and details.Here sought protection is set forth in the dependent claims.Define in following numbering clause each embodiment these and other in:
1., for providing a method for calculation services in first network equipment, wherein, said method comprising the steps of:
-the business that obtains uses request, and wherein, described business uses the service identification information comprising institute's requested service in request;
-use request according to described business, determine the one or more business function module corresponding with its requested service;
-by selecting the business function module using request for responding described business in described one or more business function module.
2. the method according to clause 1, wherein, described method is further comprising the steps:
-use request according to described business, determine the device-dependent message of the one or more business function module corresponding with its requested service and each other equipment self-corresponding of this one or more business function module.
3. the method according to clause 2, wherein, described by selecting in described one or more business function module to use the step of the business function module of request further comprising the steps for responding described business:
-based on the device-dependent message of other equipment, determine the status information of equipment corresponding with the device-dependent message of these other equipment;
-based on described status information of equipment, by selecting the business function module using request for responding described business in described one or more business function module.
4. the method according to any one of clause 1 to 3, wherein, described method is further comprising the steps of:
-obtain the service condition request corresponding with asked service logic information, wherein, described service condition request comprises the state information of asked service logic information.
-based on described service condition request, generate/unload the business function module corresponding with asked service logic information.
5. the method according to clause 4, wherein, when described service condition request comprises service distribution request, described based on described service condition request, the step generating corresponding service logic information is further comprising the steps:
-based on described service distribution request, generate the one or more business function module corresponding with described service logic information, to provide the business function corresponding with institute requested service based on described business function module.
6. the method according to clause 5, wherein, described based on described service distribution request, generate the one or more business function module corresponding with described service logic information, to provide the step of the business function corresponding with institute requested service further comprising the steps based on described business function module:
-described service logic information is sent to other equipment one or more, generate corresponding business function module according to this service logic information respectively for described other equipment one or more;
-receive the module device information fed back based on generated business function module from described other equipment one or more, to provide the business function corresponding with institute requested service based on described business function module, wherein, described module device information comprises the service identification information corresponding to institute requested service and the device-dependent message of other corresponding equipment.
7. the method according to clause 5 or 6, wherein, described based on described service distribution request, generate the one or more business function module corresponding with described service logic information, comprise the following steps to provide the step of the business function corresponding with institute requested service based on described business function module:
-call the one or more code modules corresponding with described service logic information, to generate the business function module corresponding with described service logic information, wherein, described one or more code module adopts one or more code languages to realize.
8. the method according to clause 4, wherein, when described service condition request comprises business unload request, described based on described service condition request, the step unloading corresponding service logic information is further comprising the steps:
-delete the one or more business function module corresponding with described business unload request, respond this business unload request, wherein, described business unload request comprises the service identification information of asked service logic information.
9. the method according to clause 8, wherein, one or more business function module that described deletion is corresponding with described business unload request, the step responding this business unload request is further comprising the steps:
-determine the module device information corresponding with asked service logic information;
-according to described module device information, send respectively to other equipment one or more corresponding with the service logic information that this is asked and unload indication information, unload business function module corresponding to this service logic information to indicate it;
-when receiving the feedback information after this one or more other equipment unloading, delete the module device information corresponding with this service logic information, to complete unloading operation.
10. the method according to any one of clause 1 to 9, wherein, described method is further comprising the steps of:
-after receiving new service logic information, generate the service identification information corresponding with this service logic information.
11. methods according to any one of clause 1 to 10, wherein, described method is further comprising the steps of:
-obtain submitter's information of the submission side of new service logic and information;
-after receiving new service logic information, according to described service logic information and described submitter's information, determine the one or more second network equipment corresponding with described service logic information.
12. methods according to any one of clause 1 to 11, wherein, described method is further comprising the steps of:
-when receiving the state information of new service logic information and correspondence thereof, determine whether to issue this service logic information based on this state information.
13. 1 kinds for supplying the method for computing service at second network equipment assisted Extraction, wherein, described second network equipment comprises and one or morely to call by service logic information, and the code module realized by one or more code languages, said method comprising the steps of:
-receive service logic information to be released from first network equipment;
-the code module that calls based on this service logic information, generates corresponding business function module;
-by module device information feed back corresponding for described second network equipment extremely described first network equipment, for business function module described in described first network equipment use, wherein, module device information comprises the device-dependent message of service identification information corresponding to described service logic information and described second network equipment.
14. methods according to clause 13, wherein, described method is further comprising the steps of:
-when receiving the unloading indication information from first network equipment, delete the business function module of the service logic information corresponding with described unloading indication information.
15. 1 kinds, for the method for the computing service that uses first network equipment to provide in user's equipment, wherein, said method comprising the steps of:
-send business to described first network equipment to use request;
-receive described first network equipment to use the operation result information asking to feed back based on described business.
16. methods according to clause 15, wherein, described method send after business uses the step of request to described first network equipment further comprising the steps of:
-receive and feed back from first network equipment, the device-dependent message using one or more second network equipment of asking corresponding business function with described business can be provided;
-by selecting the second network equipment using request for responding described business in described one or more second network equipment.
17. 1 kinds, in the method for being based upon the computing service on first network equipment in provider's equipment, wherein, said method comprising the steps of:
-send new service logic information to described first network equipment, perform corresponding operation for described first network equipment based on this new service logic information.
18. methods according to clause 17, wherein, described method is further comprising the steps of:
-send service condition request corresponding to described service logic information to described first network equipment.
19. 1 kinds for providing the first network equipment of calculation services, wherein, described first network equipment comprises:
Use the device of request for obtaining business, wherein, described business uses the service identification information comprising institute's requested service in request;
For using request according to described business, determine the device of the one or more business function module corresponding with its requested service;
For the device by the business function module selected in described one or more business function module for responding described business use request.
20. first network equipment according to clause 19, wherein, described first network equipment comprises further:
For using request according to described business, determine the device of the device-dependent message of the one or more business function module corresponding with its requested service and each other equipment self-corresponding of this one or more business function module.
21. first network equipments according to claim 20, wherein, described for being comprised further by the device of the business function module selected in described one or more business function module for responding described business use request:
For based on device-dependent message, determine the device of the status information of equipment corresponding with this device-dependent message;
For based on described status information of equipment, by selecting the device using the business function module of request for responding described business in described one or more business function module.
22. first network equipment according to any one of clause 19 or 21, wherein, described first network equipment also comprises:
For obtaining the device of the service condition request corresponding with asked service logic information, wherein, described service condition request comprises the state information of asked service logic information.
For based on described service condition request, generate/unload the device of the business function module corresponding with asked service logic information.
23. first network equipment according to clause 22, wherein, when described service condition request comprises service distribution request, described for based on described service condition request, the device generating corresponding service logic information comprises further:
For based on described service distribution request, generate the one or more business function module corresponding with described service logic information, to provide the device of the business function corresponding with institute requested service based on described business function module.
24. first network equipment according to clause 23, wherein, described for based on described service distribution request, generate the one or more business function module corresponding with described service logic information, comprise further to provide the device of the business function corresponding with institute requested service based on described business function module:
For described service logic information is sent to other equipment one or more, generate the device of corresponding business function module respectively according to this service logic information for described other equipment one or more;
For receiving the module device information fed back based on generated business function module from described other equipment one or more, to provide the device of the business function corresponding with institute requested service based on described business function module, wherein, described module device information comprises the service identification information corresponding to institute requested service and the status information of equipment of other corresponding equipment.
25. first network equipment according to clause 23 or 24, wherein, described for based on described service distribution request, generate the one or more business function module corresponding with described service logic information, comprise to provide the device of the business function corresponding with institute requested service based on described business function module:
For calling the one or more code modules corresponding with described service logic information, to generate the device of the business function module corresponding with described service logic information, wherein, described one or more code module adopts one or more code languages to realize.
26. first network equipment according to clause 22, wherein, when described service condition request comprises business unload request, described for based on described service condition request, the device unloading corresponding service logic information comprises further:
For deleting the one or more business function module corresponding with described business unload request, respond the device of this business unload request, wherein, described business unload request comprises the service identification information of asked service logic information.
27. first network equipment according to clause 26, wherein, described for deleting the one or more business function module corresponding with described business unload request, the device responding this business unload request comprises further:
For determining the device of the module device information corresponding with asked service logic information;
For according to described module device information, send respectively to other equipment one or more corresponding with the service logic information that this is asked and unload indication information, with the device indicating it to unload business function module corresponding to this service logic information;
For when receiving the feedback information after this one or more other equipment unloading, delete the module device information corresponding with this service logic information, to complete the device of unloading operation.
28. first network equipment according to any one of clause 19 to 27, wherein, described first network equipment also comprises:
For after receiving new service logic information, generate the device of the service identification information corresponding with this service logic information.
29. first network equipment according to any one of clause 19 to 28, wherein, described first network equipment also comprises:
For obtaining the device of submitter's information of the submission side of new service logic and information;
For after receiving new service logic information, according to described service logic information and described submitter's information, determine the device of the one or more second network equipment corresponding with described service logic information.
30. first network equipment according to any one of clause 19 to 29, wherein, described method also comprises:
For when receiving the state information of new service logic information and correspondence thereof, determine whether based on this state information the device issuing this service logic information.
31. 1 kinds for the second network equipment of assisted Extraction for computing service, wherein, described second network equipment comprises and one or morely to call by service logic information, the code module realized by one or more code languages, and described second network equipment comprises:
For receiving the device of the service logic information to be released from first network equipment;
For the code module called based on this service logic information, generate the device of corresponding business function module;
For the device-dependent message of described second network equipment and described service logic information are fed back to described first network equipment explicitly, for the device of business function module described in described first network equipment use.
32. second network equipment according to clause 31, wherein, described second network equipment also comprises:
For when receiving the unloading indication information from first network equipment, delete the device of the business function module of the service logic information corresponding with described unloading indication information.
33. 1 kinds of user's equipment for the computing service that uses first network equipment to provide, wherein, described user's equipment comprises:
For sending to described first network equipment the device that business uses request;
For receiving the device of the operation result information that described first network equipment uses request to feed back based on described business.
34. user's equipment according to clause 33, wherein, described user's equipment also comprises:
Feed back from first network equipment for receiving, the device of the device-dependent message using one or more second network equipment of asking corresponding business function with described business can be provided;
For the device by the second network equipment selected in described one or more second network equipment for responding described business use request.
35. 1 kinds at the provider's equipment for being based upon the computing service on first network equipment, wherein, described provider's equipment comprises:
For sending new service logic information to described first network equipment, perform the device of corresponding operation based on this new service logic information for described first network equipment.
36. provider's equipment according to clause 35, wherein, described provider's equipment also comprises:
For sending the device of the state information corresponding with this new service logic information to described first network equipment.

Claims (20)

1., for providing a method for calculation services in first network equipment, wherein, said method comprising the steps of:
-the business that obtains uses request, and wherein, described business uses the service identification information comprising institute's requested service in request;
-use request according to described business, determine the one or more business function module corresponding with its requested service;
-by selecting the business function module using request for responding described business in described one or more business function module.
2. method according to claim 1, wherein, said method comprising the steps of:
-use request according to described business, determine the device-dependent message of the one or more business function module corresponding with its requested service and each other equipment self-corresponding of this one or more business function module.
3. method according to claim 1 and 2, wherein, described method is further comprising the steps of:
-obtain the service condition request corresponding with asked service logic information, wherein, described service condition request comprises the state information of asked service logic information.
-based on described service condition request, generate/unload the business function module corresponding with asked service logic information.
4. method according to claim 3, wherein, when described service condition request comprises service distribution request, described based on described service condition request, the step generating corresponding service logic information is further comprising the steps:
-based on described service distribution request, generate the one or more business function module corresponding with described service logic information, to provide the business function corresponding with institute requested service based on described business function module.
5. method according to claim 3, wherein, when described service condition request comprises business unload request, described based on described service condition request, the step unloading corresponding service logic information is further comprising the steps:
-delete the one or more business function module corresponding with described business unload request, respond this business unload request, wherein, described business unload request comprises the service identification information of asked service logic information.
6. method according to any one of claim 1 to 5, wherein, described method is further comprising the steps of:
-obtain submitter's information of the submission side of new service logic and information;
-after receiving new service logic information, according to described service logic information and described submitter's information, determine the one or more second network equipment corresponding with described service logic information.
7. one kind at second network equipment assisted Extraction for the method for computing service, wherein, described second network equipment comprises and one or morely to call by service logic information, and the code module realized by one or more code languages, said method comprising the steps of:
-receive service logic information to be released from first network equipment;
-the code module that calls based on this service logic information, generates corresponding business function module;
-by module device information feed back corresponding for described second network equipment extremely described first network equipment, for business function module described in described first network equipment use, wherein, module device information comprises the device-dependent message of service identification information corresponding to described service logic information and described second network equipment.
8. method according to claim 7, wherein, described method is further comprising the steps of:
-when receiving the unloading indication information from first network equipment, delete the business function module of the service logic information corresponding with described unloading indication information.
9., for a method for the computing service that uses first network equipment to provide in user's equipment, wherein, said method comprising the steps of:
-send business to described first network equipment to use request;
-receive described first network equipment to use the operation result information asking to feed back based on described business.
10. in provider's equipment for being based upon a method for the computing service on first network equipment, wherein, said method comprising the steps of:
-send new service logic information to described first network equipment, perform corresponding operation for described first network equipment based on this new service logic information.
11. 1 kinds for providing the first network equipment of calculation services, wherein, described first network equipment comprises:
Use the device of request for obtaining business, wherein, described business uses the service identification information comprising institute's requested service in request;
For using request according to described business, determine the device of the one or more business function module corresponding with its requested service;
For the device by the business function module selected in described one or more business function module for responding described business use request.
12. first network equipment according to claim 11, wherein, described first network equipment comprises:
For using request according to described business, determine the device of the device-dependent message of the one or more business function module corresponding with its requested service and each other equipment self-corresponding of this one or more business function module.
13. first network equipment according to claim 11 or 12, wherein, described first network equipment comprises further:
For obtaining the device of the service condition request corresponding with asked service logic information, wherein, described service condition request comprises the state information of asked service logic information.
For based on described service condition request, generate/unload the device of the business function module corresponding with asked service logic information.
14. first network equipment according to claim 13, wherein, when described service condition request comprises service distribution request, described for based on described service condition request, the device generating corresponding service logic information comprises further:
For based on described service distribution request, generate the one or more business function module corresponding with described service logic information, to provide the device of the business function corresponding with institute requested service based on described business function module.
15. first network equipment according to claim 13, wherein, when described service condition request comprises business unload request, described for based on described service condition request, the device generating/unload corresponding service logic information comprises further:
For deleting the one or more business function module corresponding with described business unload request, respond the device of this business unload request, wherein, described business unload request comprises the service identification information of asked service logic information.
16. according to claim 11 to the first network equipment according to any one of 15, and wherein, described first network equipment also comprises:
For obtaining the device of submitter's information of the submission side of new service logic and information;
For after receiving new service logic information, according to described service logic information and described submitter's information, determine the device of the one or more second network equipment corresponding with described service logic information.
17. 1 kinds for the second network equipment of assisted Extraction for computing service, wherein, described second network equipment comprises and one or morely to call by service logic information, the code module realized by one or more code languages, and described second network equipment comprises:
For receiving the device of the service logic information to be released from first network equipment;
For the code module called based on this service logic information, generate the device of corresponding business function module;
For the device-dependent message of described second network equipment and described service logic information are fed back to described first network equipment explicitly, for the device of business function module described in described first network equipment use.
18. second network equipment according to claim 17, wherein, described second network equipment also comprises:
For when receiving the unloading indication information from first network equipment, delete the device of the business function module of the service logic information corresponding with described unloading indication information.
19. 1 kinds of user's equipment for the computing service that uses first network equipment to provide, wherein, described user's equipment comprises:
For sending to described first network equipment the device that business uses request;
For receiving the device of the operation result information that described first network equipment uses request to feed back based on described business.
20. 1 kinds for being based upon provider's equipment of the computing service on first network equipment, wherein, described provider's equipment comprises:
For sending new service logic information to described first network equipment, perform the device of corresponding operation based on this new service logic information for described first network equipment.
CN201510082856.2A 2015-02-15 2015-02-15 A kind of method and apparatus serviced for providing calculating Active CN104735134B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510082856.2A CN104735134B (en) 2015-02-15 2015-02-15 A kind of method and apparatus serviced for providing calculating

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510082856.2A CN104735134B (en) 2015-02-15 2015-02-15 A kind of method and apparatus serviced for providing calculating

Publications (2)

Publication Number Publication Date
CN104735134A true CN104735134A (en) 2015-06-24
CN104735134B CN104735134B (en) 2018-12-18

Family

ID=53458560

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510082856.2A Active CN104735134B (en) 2015-02-15 2015-02-15 A kind of method and apparatus serviced for providing calculating

Country Status (1)

Country Link
CN (1) CN104735134B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106790182A (en) * 2016-12-30 2017-05-31 广州华多网络科技有限公司 Distributed service service system and its corresponding device of centralized services control method
CN110024356A (en) * 2016-09-27 2019-07-16 迈克菲公司 The network of service is unloaded using chance device
CN113452727A (en) * 2020-03-24 2021-09-28 北京京东尚科信息技术有限公司 Equipment cloudization service processing method and device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102523246A (en) * 2011-11-23 2012-06-27 陈刚 Cloud computation treating system and method
CN102907067A (en) * 2011-12-26 2013-01-30 华为技术有限公司 Cloud platform business delivery method and cloud platform
CN103002044A (en) * 2012-12-18 2013-03-27 武汉大学 Method for improving processing capability of multi-platform intelligent terminal
CN103532932A (en) * 2013-09-25 2014-01-22 华为技术有限公司 Capability opening system, service processing method and equipment
CN103986669A (en) * 2014-05-07 2014-08-13 华东师范大学 Assessment method of resource allocation strategy in cloud computing

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102523246A (en) * 2011-11-23 2012-06-27 陈刚 Cloud computation treating system and method
CN102907067A (en) * 2011-12-26 2013-01-30 华为技术有限公司 Cloud platform business delivery method and cloud platform
CN103002044A (en) * 2012-12-18 2013-03-27 武汉大学 Method for improving processing capability of multi-platform intelligent terminal
CN103532932A (en) * 2013-09-25 2014-01-22 华为技术有限公司 Capability opening system, service processing method and equipment
CN103986669A (en) * 2014-05-07 2014-08-13 华东师范大学 Assessment method of resource allocation strategy in cloud computing

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110024356A (en) * 2016-09-27 2019-07-16 迈克菲公司 The network of service is unloaded using chance device
US11153150B2 (en) 2016-09-27 2021-10-19 Mcafee, Llc Survivable networks that use opportunistic devices to offload services
CN106790182A (en) * 2016-12-30 2017-05-31 广州华多网络科技有限公司 Distributed service service system and its corresponding device of centralized services control method
CN106790182B (en) * 2016-12-30 2020-10-16 广州华多网络科技有限公司 Distributed business service system, centralized service control method and corresponding device thereof
CN113452727A (en) * 2020-03-24 2021-09-28 北京京东尚科信息技术有限公司 Equipment cloudization service processing method and device

Also Published As

Publication number Publication date
CN104735134B (en) 2018-12-18

Similar Documents

Publication Publication Date Title
CN110310034B (en) Service arrangement and business flow processing method and device applied to SaaS
CN111770157B (en) Business processing method and device, electronic equipment and storage medium
CN109996202B (en) Flow charging method and device
CN102841846A (en) Software testing method, device and system based on Hadoop
CN102077543A (en) Method and apparatus for resource sharing between user devices in computer network
CN103577165A (en) Form generation method and form generator
CN103841100A (en) System for having access to flood-prevention early warning service based on Android tablet terminal and construction method
CN111258565A (en) Method, system, server and storage medium for generating small program
CN109428926B (en) Method and device for scheduling task nodes
CN104735134A (en) Method and device for providing computing service
CN104935616A (en) Data processing method, device and ESB system
CN111415062A (en) Crowdsourcing task allocation method and device, electronic equipment and storage medium
CN103475730A (en) Method for selecting web services guided by user certainty degree in Cloud environment
CN112991064B (en) Service processing method, device, computer equipment and storage medium
CN101901421A (en) Service provider management device, service provider management program, and service provider management method
CN103617083A (en) Storage scheduling method and system, job scheduling method and system and management node
US11755379B2 (en) Liaison system and method for cloud computing environment
US11228537B2 (en) Resource processing method and system, storage medium and electronic device
CN113965563B (en) Service processing method and device based on model and server
CN114186161A (en) Page display information configuration method, device, equipment and readable storage medium
CN109726009B (en) Big data computing method, device, equipment and computer readable storage medium
CN113760482A (en) Task processing method, device and system
CN113472638A (en) Edge gateway control method, system, device, electronic equipment and storage medium
CN113741902B (en) Template-based SaaS code generation method and system
CN101834734A (en) Business process sharing and processing system

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