CN103491114A - Method and system for integrating machine-to-machine application and third-party service, and application agent - Google Patents
- ️Wed Jan 01 2014
Info
-
Publication number
- CN103491114A CN103491114A CN201210190852.2A CN201210190852A CN103491114A CN 103491114 A CN103491114 A CN 103491114A CN 201210190852 A CN201210190852 A CN 201210190852A CN 103491114 A CN103491114 A CN 103491114A Authority
- CN
- China Prior art keywords
- internet
- service
- things application
- party
- things Prior art date
- 2012-06-11 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
Links
Images
Landscapes
- Telephonic Communication Services (AREA)
Abstract
The invention discloses a method and a system for integrating a machine-to-machine application and a third-party service, and an application agent. The method comprises the following steps: the machine-to-machine application agent judges whether communication with the third-party service is needed according to the service requirements inside a machine-to-machine system; and the machine-to-machine application agent communicates with the third-party service if communication with the third-party service is needed, or the machine-to-machine application agent sends the service requirements to a machine-to-machine application platform for processing. With the method, the system and the application agent, the effects of enhancing the capability of accessing the machine-to-machine application into the third-party service and simplifying the development of the machine-to-machine application can be achieved.
Description
Technical field
The present invention relates to the communications field, in particular to integrated approach, system and the application proxy of a kind of Internet of Things application and third party's service.
Background technology
Internet of Things (Machine-to-Machine, referred to as M2M) is specially to refer to the type of service of communicating by letter between machine and machine.The client that Internet of Things is industry-by-industry provides a kind of total solution of gathering data acquisition, transmission, processing and service management.Typical Internet of things system is comprised of sensing layer (mainly comprising the sensor internet-of-things terminal), podium level (mainly referring to platform of internet of things) and application layer (mainly referring to various Internet of Things application).
Fig. 1 is the structural representation according to a kind of typical Internet of things system of correlation technique.As shown in Figure 1, this system is comprised of M2M terminal, M2M platform and M2M application, and wherein, the M2M application directly is connected with the M2M platform, and the capability of Internet of things interface provided by call the M2M platform in applied logic, for the M2M terminal provides service.
Fig. 2 is the structural representation according to the another kind typical case Internet of things system of correlation technique.As shown in Figure 2, this system is comprised of M2M terminal, M2M platform, M2M application platform and M2M application controls platform, and wherein, the M2M application platform can load and carry out the M2M application flow.In this canonical system, the M2M application controls platform of the superiors mainly completes the triggering of M2M application flow and the M2M application data is safeguarded.
M2M system shown in Fig. 2 is that the encapsulation of carrying out capability component on the basis of the M2M system shown in Fig. 1 forms afterwards, thereby can reduce the difficulty that the developer develops the M2M application.But the system of this structure exists following limitation and deficiency:
(1) application flow and external system is mutual, must carrying out from regular according to the M2M application platform.Third-Party Service is from serving the needs of itself, carrying out the definition of reciprocal process, service process and message format.In actual conditions, there is ability and the unmatched situation of third party's service interface of M2M application platform access external system.
(2) agreement that must be definite according to certain (for example, WebService) triggers the M2M application flow.When trigger process must be logic carry out as a result the time, this logical process must rise to the M2M application controls platform the inside on upper strata and carry out.Now, just increased the difficulty of M2M application controls platform exploitation.
Summary of the invention
The invention provides integrated approach, system and the application proxy of a kind of Internet of Things application and third party's service, at least one of to address the above problem.
According to an aspect of the present invention, provide the integrated approach of a kind of Internet of Things application and third party's service, comprising: the Internet of Things application proxy judges whether to communicate with third party's service according to the business demand of Internet of things system inside; In the situation that judgment result is that and be, Internet of Things application proxy and third party's service communicate, otherwise the Internet of Things application proxy sends to the Internet of Things application platform to be processed business demand.
Preferably, business demand is: from the first business demand of Internet of Things application proxy or, from the second business demand of Internet of Things application platform, wherein, the second business demand sends to the Internet of Things application platform by the user by Internet of Things application controls platform.
Preferably, when business demand is the first business demand, the Internet of Things application proxy judges whether to communicate with third party's service according to the first business demand, comprise: the Internet of Things application proxy judges in the Internet of Things application proxy whether exist for triggering the applied logic of Internet of Things application flow when predetermined instant arrives, wherein, applied logic is corresponding to the first business demand; In the situation that there is not applied logic, the Internet of Things application proxy judges whether to communicate with third party's service; Internet of Things application proxy and third party's service communicate, and comprising: in the situation that the Internet of Things application proxy judges and need to communicate with third party's service, the direct and third party's service of Internet of Things application proxy communicates.
Preferably, when business demand is the second business demand, the Internet of Things application proxy judges whether to communicate with third party's service according to the second business demand, comprising: the Internet of Things application proxy judges whether business corresponding to the second business demand meets default and type of service third party's service interaction; Internet of Things application proxy and third party's service communicate, comprise: in the situation that business corresponding to the second business demand meets type of service, the Internet of Things application proxy directly communicates with third party's service, or assistance Internet of Things application platform and third party's service communicate.
According to a further aspect in the invention, provide a kind of Internet of Things application proxy, having comprised: judge module judges whether to communicate with third party's service for the business demand according to Internet of things system inside; Executive Module, in the situation that judgment result is that of judge module be, with third party's service, communicate, otherwise, send to the Internet of Things application platform to be processed business demand.
Preferably, business demand is: from the first business demand of Internet of Things application proxy or, from the second business demand of Internet of Things application platform, wherein, the second business demand sends to the Internet of Things application platform by the user by Internet of Things application controls platform.
Preferably, judge module comprises: the first judging unit, for judging whether when predetermined instant arrives, exist for triggering the applied logic of Internet of Things application flow, and wherein, applied logic is corresponding to the first business demand; The second judging unit, in the situation that there is not applied logic, judge whether to communicate with third party's service; Executive Module comprises: the first communication unit, in the situation that judgment result is that of the second judging unit be, directly and third party's service communicate.
Preferably, judge module comprises: whether the 3rd judging unit meets default and type of service third party's service interaction for judging business corresponding to the second business demand; Executive Module comprises: the second communication unit in the situation that business corresponding to the second business demand meets type of service, directly with third party's service, communicate, or assistance Internet of Things application platform and third party's service communicates.
According to a further aspect in the invention, the integrated system of a kind of Internet of Things application and third party's service is provided, comprise above-mentioned Internet of Things application proxy, also comprise: Internet of Things application controls platform, be handed down to the Internet of Things application platform for the second business demand by user's input; The Internet of Things application platform, for sending to the Internet of Things application proxy by the second business demand; With in the situation that business corresponding to the second business demand meets the type of service of default Internet of Things application proxy and third party's service interaction, accepted thing working application agency's assistance and third party's service communicate, in the situation that business corresponding to the second business demand do not meet type of service, trigger the Internet of Things application flow of oneself; And, in the situation that the Internet of Things application proxy exists for triggering the applied logic of Internet of Things application flow, trigger the Internet of Things application flow of oneself, wherein, applied logic is corresponding to the first business demand.
Preferably, the Internet of Things application platform, also for after triggering the Internet of Things application flow of oneself, be handed down to platform of internet of things after being encapsulated corresponding to the first business information of the first business demand or corresponding to the second business information of the second business demand; This system also comprises: platform of internet of things, and for receiving and issue the first business information and the second business information after the Internet of Things application platform encapsulates.
By the present invention, the mode that employing is set up an Internet of Things application proxy between existing Internet of things system and third party's service, the Internet of Things application proxy determines whether communicate with third party's service according to intrasystem business demand, thereby Internet of things system and third party's service are organically combined, having solved ability and third party's service interface of Internet of Things application platform access external system in the prior art does not mate, the larger problem of development difficulty of Internet of Things application, and then reached the ability that has strengthened Internet of Things application access third party service, simplified the effect of the exploitation of Internet of Things application.
The accompanying drawing explanation
Accompanying drawing described herein is used to provide a further understanding of the present invention, forms the application's a part, and schematic description and description of the present invention the present invention does not form inappropriate limitation of the present invention for explaining.In the accompanying drawings:
Fig. 1 is the structural representation according to a kind of typical Internet of things system of correlation technique;
Fig. 2 is the structural representation according to the another kind typical case Internet of things system of correlation technique;
Fig. 3 is the integrated approach flow chart according to Internet of Things application and third party's service of the embodiment of the present invention;
Fig. 4 is the development process figure according to the Internet of Things application of the embodiment of the present invention;
Fig. 5 is the integrated approach flow chart according to Internet of Things application and third party's service of the preferred embodiment of the present invention one;
Fig. 6 is the integrated approach flow chart according to Internet of Things application and third party's service of the preferred embodiment of the present invention two;
Fig. 7 is the structured flowchart according to the Internet of Things application proxy of the embodiment of the present invention;
Fig. 8 is the structured flowchart of Internet of Things application proxy according to the preferred embodiment of the invention;
Fig. 9 is the structured flowchart according to the integrated system of the Internet of Things application of the embodiment of the present invention and third party's service;
Figure 10 is the structural representation of the integrated system of Internet of Things application according to the preferred embodiment of the invention and third party's service;
Figure 11 is the structural representation according to the integrated system of the Internet of Things application of a preferred implementation of the embodiment of the present invention and third party's service;
Figure 12 is the structural representation according to the integrated system of the Internet of Things application of another preferred implementation of the embodiment of the present invention and third party's service;
Figure 13 is the structural representation according to the integrated system of the Internet of Things application of another preferred implementation of the embodiment of the present invention and third party's service;
Figure 14 is the structural representation according to the integrated system of the Internet of Things application of another preferred implementation of the embodiment of the present invention and third party's service.
Embodiment
Hereinafter with reference to accompanying drawing, also describe the present invention in detail in conjunction with the embodiments.It should be noted that, in the situation that do not conflict, embodiment and the feature in embodiment in the application can combine mutually.
Fig. 3 is that as shown in Figure 3, the method mainly comprises the following steps (step S302-step S304) according to the integrated approach flow chart of Internet of Things application and third party's service of the embodiment of the present invention:
Step S302, the Internet of Things application proxy judges whether to communicate with third party's service according to the business demand of Internet of things system inside.
Step S304, in the situation that judgment result is that and be, Internet of Things application proxy and third party's service communicate, otherwise the Internet of Things application proxy sends to the Internet of Things application platform to be processed business demand.
In the present embodiment, business demand can be from the first business demand of Internet of Things application proxy or from the second business demand of Internet of Things application platform, wherein, the second business demand sends to the Internet of Things application platform by the user by Internet of Things application controls platform.
In the present embodiment, when business demand is the first business demand,
Judge whether to communicate for this step with third party's service according to the first business demand for the Internet of Things application proxy, can implement by following implementation step:
(1) the Internet of Things application proxy judges in the Internet of Things application proxy whether exist for triggering the applied logic of Internet of Things application flow, wherein, applied logic is corresponding to the first business demand when predetermined instant arrives;
(2), in the situation that there is not applied logic, the Internet of Things application proxy judges whether to communicate with third party's service;
Based on this, for Internet of Things application proxy and third party's service communicate this step, can realize by following execution mode:
In the situation that the Internet of Things application proxy judges and need to communicate with third party's service, the direct and third party's service of Internet of Things application proxy communicates.
In the present embodiment, when business demand is the second business demand,
Judge whether to communicate for this step with third party's service according to the second business demand for the Internet of Things application proxy, can realize by following execution mode:
The Internet of Things application proxy judges whether business corresponding to the second business demand meets default and type of service third party's service interaction; That is to say, when in the second business demand, corresponding business meets this type of service, just judge that the Internet of Things application proxy need to communicate with third party's service, when corresponding business does not meet this type of service in the second business demand, just judge that the Internet of Things application proxy does not need to communicate with third party's service;
Based on this, for Internet of Things application proxy and third party's service communicate this step, can realize by following execution mode: in the second business demand, corresponding business meets in the situation (being also that Internet of Things application proxy needs communicate with third party's service) of type of service, the Internet of Things application proxy directly communicates with third party's service, or assistance Internet of Things application platform and third party's service communicate.
In actual applications; in order to realize the integrated approach of above-mentioned Internet of Things application and third party's service; need to adopt an implementation system; the Internet of Things application proxy and Internet of Things application platform related in this system, usually also need Internet of Things application controls platform and platform of internet of things in said method.Wherein, Internet of Things application proxy, Internet of Things application platform and platform of internet of things can be collectively referred to as the Internet of Things application, it should be noted that, in order to facilitate the realization of said method, can develop the Internet of Things application in advance.
Below in conjunction with the development process to the Internet of Things application, simply introduce.
Fig. 4 is that as shown in Figure 4, this development process mainly comprises the following steps (step S402-step S416) according to the development process figure of the Internet of Things application of the embodiment of the present invention:
Step S402, developer D1 carries out the developing plug in the M2M application proxy, and wherein, this plug-in unit can be realized the mutual and interrelated logic processing between M2M application controls platform and third party's service and M2M application platform, execution step S404;
Step S404, the plug-in unit that developer D1 completes exploitation is loaded in the M2M application proxy, and now, the M2M application proxy possesses the ability communicated with corresponding third party service and M2M application platform, and can provide interface to call for M2M application controls platform, execution step S410;
Step S406, developer D2, in the M2M application platform, is used the application build environment to carry out the exploitation of M2M application flow, execution step S408;
Step S408, the M2M application flow that developer D1 completes exploitation is loaded in application execution environment, and now, the M2M application platform possesses provides a concrete M2M application flow to carry out and service ability, execution step S410;
Step S410, judge whether the M2M application proxy possesses external service ability, be whether M2M application flow and M2M application proxy plug-in unit be all in can Access status (or service state can be provided), if judgment result is that "Yes", enter step S414, otherwise, continue again to carry out subsequent step after wait condition possesses;
Step S412, developer D3 exploitation M2M application controls platform, enter step S414;
Optionally, this step can with step S402 executed in parallel, converged wait before step S410, when step S410 judgment result is that "Yes" the time, enter step S414;
Step S414, M2M application controls platform, M2M application proxy plug-in unit and M2M application flow are carried out uniting and adjustment, after uniting and adjustment complete, enter step S416.
Step S416, development process finishes, and now, the M2M application can externally provide complete service, also can carry out the M2M terminal and dispose and M2M application on-line running.
Integrated approach below in conjunction with the preferred embodiment shown in Fig. 5, Fig. 6 to above-mentioned Internet of Things application and third party's service is elaborated.
Fig. 5 is that as shown in Figure 5, this flow process mainly comprises the following steps (step S502-step S514) according to the integrated approach flow chart of Internet of Things application and third party's service of the preferred embodiment of the present invention one:
Step S502, the terminal use logs in M2M application controls platform, is operated, and operation information is sent to the M2M application proxy;
Step S504, after the M2M application proxy receives message, trigger the Message Processing flow process in the M2M application plug-in;
It should be noted that, the M2M application proxy can be in the situation that do not receive the message that M2M application controls platform sends, and the plug-in unit logical definition according in the M2M application proxy, trigger handling process automatically, carries out with third party's service or M2M application platform mutual;
Step S506, the M2M application proxy is judged, if message belongs to triggering M2M application flow, send to the M2M application platform after just message further being processed, enter step S510, carry out alternately if message belongs to needs and third party's service, the M2M application proxy is after further processing so, with the interface and the third party's service that provide be provided by the third party carry out interacting message, enter step S508;
Step S508, the message that third party's service reception sends over to the M2M application proxy, carry out relevant treatment to message, and result is returned to the M2M application proxy;
Step S510, the M2M application platform is carried out corresponding Internet of Things application flow after receiving the message of M2M application proxy transmission, and wherein, needs and M2M platform carry out interacting message;
Step S512, the M2M platform is processed after receiving the message of M2M application platform transmission accordingly, if need to send to terminal, sends a message to terminal, if do not need to send to terminal, in M2M application platform inside, completes processing;
Step S514, the M2M terminal, according to the message received, completes assigned operation.
Fig. 6 is that in the present embodiment, third party's service can provide based on HTTPS authentication service and timed events configuration service according to the integrated approach flow chart of Internet of Things application and third party's service of the preferred embodiment of the present invention two.As shown in Figure 6, this flow process mainly comprises the following steps (step S602-step S626):
Step S602, the terminal use logs in M2M application controls platform;
Step S604, the terminal use is operated, and in the HTTP mode, the operation information mode is sent to the M2M application proxy;
Step S606, after the M2M application proxy receives message, trigger plug-in unit corresponding to M2M application proxy, and message is processed;
Step S608, plug-in unit in the M2M application proxy is after processing messages, judge whether message needs to access third party's service, if message belongs to needs and third party's service is carried out mutual, enter step S610, if message does not belong to third party's service interaction, just after further processing, send a message to the M2M application platform, enter step S620;
Step S610, the M2M application proxy is based on HTTPS, authentication rules according to third party's service, complete the authentication process with third party's service, then be redirected to third party's service, perhaps with carry out information interaction with the third party together with the Internet of Things application platform matches, and the operation interface of third party's service is returned to the M2M application controls platform that the user is operating in the mode of http response, enter step S612;
Step S612, the user logs on third party's service, carries out the configuration of M2M application flow clocked flip event, enters step S626;
Step S614, the plug-in unit timer-controlled self-inspection in the M2M application proxy, enter step S616;
Step S616, the plug-in unit of M2M application proxy judges whether to need the triggering M2M application flow task started, if having, enters step S620, if do not have, enters step S618;
Step S617, judging whether needs the access third party, if so, enters step S618, otherwise, enter step S614;
Step S618, the plug-in unit in the M2M application proxy, according to the rule of third party's service, is obtained the timed events list of configuration from third party's service, and processes the clocked flip task that in formation M2M application proxy, plug-in unit can be identified, and enters step S614;
Step S620, the M2M application proxy is processed the information received, and again is assembled into the WebService message that triggers the M2M application flow, is sent, and enters step S622;
Step S622, the M2M platform is processed after receiving the message of M2M application platform transmission accordingly, then sends a message to the M2M terminal, enters step S624;
Step S624, the M2M terminal, according to the message received, completes assigned operation, and flow process finishes, and enters step S626;
Step S626, flow process finishes.
The Internet of Things application that adopts above-described embodiment to provide and the integrated approach of third party's service, the Internet of Things application proxy can determine whether communicate with third party's service according to intrasystem business demand, thereby Internet of things system and third party's service are organically combined, having solved ability and third party's service interface of Internet of Things application platform access external system in the prior art does not mate, the larger problem of development difficulty of Internet of Things application, and then reached the ability that has strengthened Internet of Things application access third party service, simplified the effect of the exploitation of Internet of Things application.
The Internet of Things application proxy embodiment of the present invention provided below in conjunction with Fig. 7 and Fig. 8 is elaborated.
Fig. 7 is the structured flowchart according to the Internet of Things application proxy of the embodiment of the present invention, as shown in Figure 7, this Internet of Things application proxy mainly comprises:
judge module10 judges whether to communicate with third party's service for the business demand according to Internet of things system inside;
Executive Module20, be connected to judge
module10, in the situation that judgment result is that of judge module be, with third party's service, communicate, otherwise, send to the Internet of Things application platform to be processed business demand.
In the present embodiment, business demand is: from the first business demand of Internet of Things application proxy or from the second business demand of Internet of Things application platform, wherein, the second business demand sends to the Internet of Things application platform by the user by Internet of Things application controls platform.
Fig. 8 is the structured flowchart of Internet of Things application proxy according to the preferred embodiment of the invention, as shown in Figure 8, in the Internet of Things application proxy provided in the preferred embodiment,
judge module10 can comprise: the first judging unit 12, for judging whether when predetermined instant arrives, exist for triggering the applied logic of Internet of Things application flow, wherein, applied logic is corresponding to the first business demand; The second judging unit 14, be connected to the first judging unit 12, in the situation that there is not applied logic, judges whether to communicate with third party's service;
Executive Module20 can comprise: the first communication unit 22, in the situation that judgment result is that of the second judging unit be, directly and third party's service communicate.
In the Internet of Things application proxy provided in the preferred embodiment,
judge module10 can also comprise: whether the 3rd judging unit 16 meets default and type of service third party's service interaction for judging business corresponding to the second business demand;
Executive Module20 can also comprise: second communication unit 24 in the situation that business corresponding to the second business demand meets type of service, directly with third party's service, communicate, or assistance Internet of Things application platform and third party's service communicates.
The Internet of Things application proxy that adopts above-described embodiment to provide, can determine whether communicate with third party's service according to intrasystem business demand, thereby Internet of things system and third party's service are organically combined, solved the larger problem of development difficulty that ability and third party's service interface do not mate, Internet of Things is applied of Internet of Things application platform access external system in the prior art, and then reached the ability that has strengthened Internet of Things application access third party service, simplified the effect of the exploitation of Internet of Things application.
The Internet of Things application embodiment of the present invention provided below in conjunction with Fig. 9 to Figure 14 and the integrated system of third party's service are in detail.
Fig. 9 is the structured flowchart according to the integrated system of the Internet of Things application of the embodiment of the present invention and third party's service, the integrated approach that Internet of Things is applied and the third party serves that this system provides in order to realize above-described embodiment, system comprises that the Internet of Things application proxy shown in Fig. 7 and Fig. 8 is (in Fig. 9, it is numbered to 92), as shown in Figure 9, this system mainly comprises: Internet of Things application proxy 92, Internet of Things application controls platform 94 and Internet of Things application platform 96.Wherein, the major function of Internet of Things application proxy 92 is described in detail in the above-mentioned explanation for the Internet of Things application proxy, therefore no longer repeated at this, mainly for Internet of Things application controls platform 94 and Internet of Things application platform 96, is stressed.Internet of Things application controls platform 94, be handed down to Internet of Things application platform 96 for the second business demand by user's input; Internet of Things application platform 96, for sending to Internet of Things application proxy 92 by the second business demand; With in the situation that business corresponding to the second business demand meets the type of service of default Internet of Things application proxy 92 and third party's service interaction, accepted thing working application agency 92 assistance and third party's service communicate, in the situation that business corresponding to the second business demand do not meet type of service, trigger the Internet of Things application flow of oneself; And, in the situation that Internet of Things application proxy 92 exists for triggering the applied logic of Internet of Things application flow, trigger the Internet of Things application flow of oneself, wherein, applied logic is corresponding to the first business demand.
Figure 10 is the structural representation of the integrated system of Internet of Things application according to the preferred embodiment of the invention and third party's service, as shown in figure 10, the all right platform of internet of
things98 of the system of the preferred embodiment, in the system of the preferred embodiment, Internet of
Things application platform96, also for after triggering the Internet of Things application flow of oneself, after being encapsulated corresponding to the first business information of the first business demand or corresponding to the second business information of the second business demand, be handed down to platform of internet of
things98; Platform of internet of
things98, for receiving and issue the first business information and the second business information after the Internet of Things application platform encapsulates.
Certainly, the integrated system of the application of Internet of Things shown in Fig. 9, Figure 10 and third party's service be only a kind of preferred embodiment, be not limited to this, in actual applications, the integrated system of above-mentioned Internet of Things application and third party's service can also be realized by other constituted mode.
For example, also can adopt Figure 11 to form the integrated system of above-mentioned Internet of Things application and third party's service to mode illustrated in fig. 14.
Figure 11 is the structural representation according to the integrated system of the Internet of Things application of a preferred implementation of the embodiment of the present invention and third party's service, as shown in figure 11, this system mainly comprises: M2M terminal, M2M platform, M2M application platform, third party's service, M2M application proxy and M2M application controls platform.
Wherein, the M2M terminal is connected with the M2M platform, for the perception environmental information and and the M2M platform carry out information interaction, the M2M terminal is also managed and application data for receiving and dispatching.
The M2M platform is connected with M2M terminal, M2M application platform, for M2M terminal, M2M application platform are managed, can also be as the data channel between M2M terminal and M2M application platform, the M2M platform can also be supported registration and the state-detection of M2M terminal, M2M application platform, the M2M platform can also provide service interface for the M2M application platform, so that thing M2M ability to be provided, and then the M2M application platform can be undertaken by service interface and the M2M terminal of calling the M2M platform alternately.
In the present embodiment, M2M application platform, third party's service, M2M application proxy and M2M application controls platform can form complete M2M application jointly.
M2M application platform and M2M platform, the M2M application proxy is connected, for and the M2M platform between communication based on the M2M agreement, the application flow trigger message sent for receiving the M2M application proxy, at least one in M2M communication capacity, IT ability, telecommunication capability, operational capability, external system access ability can be packaged into to assembly, the M2M platform provides the assembly capacity of arranging movements, forms the M2M application flow after the assembly layout, and the M2M application platform is for management and carry out the M2M application flow; Application flow in the M2M application platform, can according to the M2M application platform from regular access third party service, then according to from the regular triggering that realizes application flow.Here, own implication has two kinds: (1) interaction protocol is determined, i.e. certain definite regular (for example, BPEL, WebService, HTTP etc.); (2) mutual process is determined; In the M2M application platform, the application build environment is mainly used in applying layout, and application execution environment is mainly used in loading and the execution of application.
Wherein, M2M application proxy and M2M application controls platform, third party's service, the M2M application platform is connected, succession for Internet of Things application and third party's service, the M2M application proxy can be expanded the function of M2M application platform, comprising: M2M application controls platform is undertaken alternately by M2M application proxy and third party's service; M2M application controls platform triggers the application flow in the M2M application platform by the M2M application proxy; M2M application controls platform is mutual by M2M application proxy and M2M application platform.
Figure 12 is the structural representation according to the integrated system of the Internet of Things application of another preferred implementation of the embodiment of the present invention and third party's service, in the system shown in Figure 12, can load and carry out several plug-in units in the M2M application proxy, a plug-in unit and an Internet of Things application controls platform correspondence, plug-in unit and M2M application controls platform, third party's service, the M2M application platform connects.Plug-in unit possesses self-defining logic executive capability, the third party serves the disposal ability of return data, the disposal ability of M2M application flow return data and the ability of third party's communication for service, with abilities such as communicating by letter of M2M application platform.M2M application controls platform is by plug-in unit and third party's service, and the M2M application platform is mutual.
Figure 13 is the structural representation according to the integrated system of the Internet of Things application of another preferred implementation of the embodiment of the present invention and third party's service, in the system shown in Figure 13, can load and carry out several plug-in units in the M2M application proxy, a plug-in unit and an Internet of Things application controls platform correspondence, plug-in unit and M2M application controls platform, third party's service, the M2M application platform connects; M2M application controls platform can be by plug-in unit and third party's service, and the M2M application platform is mutual; A plurality of M2M application controls platforms can carry out information interaction by plug-in unit.
Figure 14 is the structural representation according to the integrated system of the Internet of Things application of another preferred implementation of the embodiment of the present invention and third party's service, in the system shown in Figure 14, load and carry out several plug-in units in the M2M application proxy, a plug-in unit and a M2M application controls platform correspondence, plug-in unit and application controls platform message processing module, third party's service message processing module, the platform message processing module is connected, the M2M application proxy can carry out interacting message by application controls platform message processing module and M2M application controls platform, also can carry out interacting message by third party's service message processing module and third party's service, also can carry out interacting message by platform message processing module and M2M application platform.By this embodiment, the M2M application proxy externally provides unified interacting message mode, has reduced the development difficulty of plug-in unit simultaneously.
Wherein, M2M application controls platform can be for sending instructions under M2M application or Third-Party Service, be used for representing or safeguarding the M2M application data, M2M application controls platform can be for being used the user management M2M application of M2M terminal, browsing the interface application of M2M application data, is the operation interface of man-machine interaction in the M2M application.M2M application controls platform can show as WEB, mobile terminal application, IPTV operation interface, the forms such as pc client operation interface.
The Internet of Things application that adopts above-described embodiment to provide and the integrated system of third party's service, the Internet of Things application proxy can determine whether communicate with third party's service according to intrasystem business demand, thereby Internet of things system and third party's service are organically combined, having solved ability and third party's service interface of Internet of Things application platform access external system in the prior art does not mate, the larger problem of development difficulty of Internet of Things application, and then reached the ability that has strengthened Internet of Things application access third party service, simplified the effect of the exploitation of Internet of Things application.
From above description, can find out, the present invention has realized following technique effect: between existing Internet of things system and third party's service, set up an Internet of Things application proxy, the Internet of Things application proxy can determine whether communicate with third party's service according to intrasystem business demand, thereby Internet of things system and third party's service are organically combined, having solved ability and third party's service interface of Internet of Things application platform access external system in the prior art does not mate, the larger problem of development difficulty of Internet of Things application, can obtain following effect: (1) has strengthened the ability of M2M application access third party service, (2) by layering, dispose, simplified the exploitation of M2M application controls platform, can be according to actual conditions, adopt different team to develop respectively M2M application controls platform, the plug-in unit in the M2M application proxy, M2M application flow, especially when needs access third party serves, M2M application controls platform developer, can be according to terminal use's needs, the various M2M application controls of fast Development platform, (3) by the processing logic that the M2M application flow is triggered, be encapsulated in the plug-in unit of M2M application proxy, further simplified the exploitation of M2M application controls platform.And then reached the ability that has strengthened Internet of Things application access third party service, simplify the purpose of the exploitation of Internet of Things application.
Obviously, those skilled in the art should be understood that, above-mentioned each module of the present invention or each step can realize with general calculation element, they can concentrate on single calculation element, perhaps be distributed on the network that a plurality of calculation elements form, alternatively, they can be realized with the executable program code of calculation element, thereby, they can be stored in storage device and be carried out by calculation element, and in some cases, can carry out step shown or that describe with the order be different from herein, perhaps they are made into respectively to each integrated circuit modules, perhaps a plurality of modules in them or step being made into to the single integrated circuit module realizes.Like this, the present invention is not restricted to any specific hardware and software combination.
The foregoing is only the preferred embodiments of the present invention, be not limited to the present invention, for a person skilled in the art, the present invention can have various modifications and variations.Within the spirit and principles in the present invention all, any modification of doing, be equal to replacement, improvement etc., within all should being included in protection scope of the present invention.
Claims (10)
1. the integrated approach that Internet of Things application and third party serve, is characterized in that, comprising:
The Internet of Things application proxy judges whether to communicate with third party's service according to the business demand of Internet of things system inside;
In the situation that judgment result is that and be, described Internet of Things application proxy and described third party's service communicate, otherwise described Internet of Things application proxy sends to the Internet of Things application platform to be processed described business demand.
2. method according to claim 1, it is characterized in that, described business demand is: from the first business demand of described Internet of Things application proxy or from the second business demand of described Internet of Things application platform, wherein, described the second business demand sends to described Internet of Things application platform by the user by Internet of Things application controls platform.
3. method according to claim 2, is characterized in that, when described business demand is described the first business demand, described Internet of Things application proxy judges whether to communicate with third party's service according to described the first business demand, comprising:
Described Internet of Things application proxy judges in described Internet of Things application proxy whether exist for triggering the applied logic of Internet of Things application flow, wherein, described applied logic is corresponding to described the first business demand when predetermined instant arrives;
In the situation that there is not described applied logic, described Internet of Things application proxy judges whether to communicate with described third party's service;
Described Internet of Things application proxy and described third party's service communicate, and comprising:
In the situation that described Internet of Things application proxy is judged, need to communicate with described third party's service, described Internet of Things application proxy directly communicates with described third party's service.
4. method according to claim 2, is characterized in that, when described business demand is described the second business demand,
Described Internet of Things application proxy judges whether to communicate with third party's service according to described the second business demand, comprising:
Described Internet of Things application proxy judges whether business corresponding to described the second business demand meets default and type of service third party's service interaction;
Described Internet of Things application proxy and described third party's service communicate, and comprising:
In the situation that business corresponding to described the second business demand meets described type of service, described Internet of Things application proxy directly communicates with described third party's service, or assists Internet of Things application platform and described third party's service to communicate.
5. an Internet of Things application proxy, is characterized in that, comprising:
Judge module, judge whether to communicate with third party's service for the business demand according to Internet of things system inside;
Executive Module, in the situation that judgment result is that of described judge module be, with described third party's service, communicate, otherwise, send to the Internet of Things application platform to be processed described business demand.
6. Internet of Things application proxy according to claim 5, it is characterized in that, described business demand is: from the first business demand of described Internet of Things application proxy or from the second business demand of described Internet of Things application platform, wherein, described the second business demand sends to described Internet of Things application platform by the user by Internet of Things application controls platform.
7. Internet of Things application proxy according to claim 6, is characterized in that,
Described judge module comprises:
The first judging unit, exist for triggering the applied logic of Internet of Things application flow for judging whether when predetermined instant arrives, and wherein, described applied logic is corresponding to described the first business demand;
The second judging unit, in the situation that there is not described applied logic, judge whether to communicate with described third party's service;
Described Executive Module comprises:
The first communication unit, in the situation that judgment result is that of described the second judging unit is directly to communicate with described third party's service.
8. Internet of Things application proxy according to claim 6, is characterized in that,
Described judge module comprises:
Whether the 3rd judging unit, meet default and type of service third party's service interaction for judging business corresponding to described the second business demand;
Described Executive Module comprises:
The second communication unit, in the situation that business corresponding to described the second business demand meets described type of service, directly communicate with described third party's service, or assist Internet of Things application platform and described third party's service to communicate.
9. the integrated system that Internet of Things application and third party serve, comprise the described Internet of Things application proxy of any one in claim 5 to 8, it is characterized in that, also comprises:
Internet of Things application controls platform, be handed down to the Internet of Things application platform for the second business demand by user's input;
Described Internet of Things application platform, for sending to described Internet of Things application proxy by described the second business demand; With
Be used in the situation that business corresponding to described the second business demand meets default described Internet of Things application proxy and the type of service of third party's service interaction, assistance and the described third party's service of accepting described Internet of Things application proxy communicate, in the situation that business corresponding to described the second business demand do not meet described type of service, trigger the Internet of Things application flow of oneself; And
For in the situation that described Internet of Things application proxy exists for triggering the applied logic of described Internet of Things application flow, trigger the described Internet of Things application flow of oneself, wherein, described applied logic is corresponding to described the first business demand.
10. system according to claim 9, is characterized in that,
Described Internet of Things application platform, also for after triggering the described Internet of Things application flow of oneself, after being encapsulated corresponding to the first business information of described the first business demand or corresponding to the second business information of described the second business demand, be handed down to described platform of internet of things;
Described system also comprises:
Described platform of internet of things, for receiving and issue described the first business information and described the second business information after described Internet of Things application platform encapsulates.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210190852.2A CN103491114B (en) | 2012-06-11 | 2012-06-11 | Integrated approach, system and the application proxy of Internet of Things application and third party's service |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210190852.2A CN103491114B (en) | 2012-06-11 | 2012-06-11 | Integrated approach, system and the application proxy of Internet of Things application and third party's service |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103491114A true CN103491114A (en) | 2014-01-01 |
CN103491114B CN103491114B (en) | 2018-12-04 |
Family
ID=49831071
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201210190852.2A Active CN103491114B (en) | 2012-06-11 | 2012-06-11 | Integrated approach, system and the application proxy of Internet of Things application and third party's service |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103491114B (en) |
Cited By (2)
* Cited by examiner, † Cited by third partyPublication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106790588A (en) * | 2016-12-28 | 2017-05-31 | 珠海国芯云科技有限公司 | A kind of platform of internet of things based on cloud computing creates system and method |
CN109842654A (en) * | 2017-11-27 | 2019-06-04 | 阿里巴巴集团控股有限公司 | A kind for the treatment of method and apparatus of API service |
Citations (4)
* Cited by examiner, † Cited by third partyPublication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2011112683A1 (en) * | 2010-03-09 | 2011-09-15 | Interdigital Patent Holdings, Inc. | Method and apparatus for supporting machine-to-machine communications |
CN102202089A (en) * | 2010-02-15 | 2011-09-28 | 埃森哲环球服务有限公司 | Machine to machine architecture |
CN102263776A (en) * | 2010-05-26 | 2011-11-30 | 魏星 | Intelligent household remote control system and intelligent household server |
TW201206132A (en) * | 2010-03-01 | 2012-02-01 | Interdigital Patent Holdings | Machine-to-machine gateway architecture and functionality |
-
2012
- 2012-06-11 CN CN201210190852.2A patent/CN103491114B/en active Active
Patent Citations (4)
* Cited by examiner, † Cited by third partyPublication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102202089A (en) * | 2010-02-15 | 2011-09-28 | 埃森哲环球服务有限公司 | Machine to machine architecture |
TW201206132A (en) * | 2010-03-01 | 2012-02-01 | Interdigital Patent Holdings | Machine-to-machine gateway architecture and functionality |
WO2011112683A1 (en) * | 2010-03-09 | 2011-09-15 | Interdigital Patent Holdings, Inc. | Method and apparatus for supporting machine-to-machine communications |
CN102263776A (en) * | 2010-05-26 | 2011-11-30 | 魏星 | Intelligent household remote control system and intelligent household server |
Cited By (2)
* Cited by examiner, † Cited by third partyPublication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106790588A (en) * | 2016-12-28 | 2017-05-31 | 珠海国芯云科技有限公司 | A kind of platform of internet of things based on cloud computing creates system and method |
CN109842654A (en) * | 2017-11-27 | 2019-06-04 | 阿里巴巴集团控股有限公司 | A kind for the treatment of method and apparatus of API service |
Also Published As
Publication number | Publication date |
---|---|
CN103491114B (en) | 2018-12-04 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105540361B (en) | 2017-11-10 | Intelligence calls terraced control method and system together |
KR101392868B1 (en) | 2014-05-09 | Method for Providing Internet of Things Service |
CN103973769A (en) | 2014-08-06 | Virtual item transmitting method, receiving method, device and system |
CN106686070A (en) | 2017-05-17 | Database data migration method, device, terminal and system |
CN104142862A (en) | 2014-11-12 | Overload protection method and device for server |
CN104618217A (en) | 2015-05-13 | Method, terminal, server and system for sharing resource |
CN105871666A (en) | 2016-08-17 | Method and device for adding ZigBee device |
CN103052169B (en) | 2015-05-27 | System and method for mobile terminal conversation interaction and mobile terminal |
CN106471465A (en) | 2017-03-01 | Service enabler function |
CN105162591A (en) | 2015-12-16 | Equipment registration method and device |
CN107992498B (en) | 2021-10-22 | Method and system for importing data into data warehouse |
CN101651943A (en) | 2010-02-17 | Method and system for downloading service terminal, mobile terminal and terminal theme |
US20150256544A1 (en) | 2015-09-10 | Method and Device for Gateway Managing Terminal |
CN105530222A (en) | 2016-04-27 | Method for establishing connection among terminals, and device and system |
CN103491114A (en) | 2014-01-01 | Method and system for integrating machine-to-machine application and third-party service, and application agent |
CN111201804B (en) | 2023-09-08 | Method, apparatus and computer readable storage medium for enabling data continuity services |
CN103581295A (en) | 2014-02-12 | Mobile integration client side system based on multi-service multi-network framework |
CN107463395B (en) | 2020-10-09 | Component calling method and device |
CN105429884A (en) | 2016-03-23 | Method and system of managing routers in different networks through terminal |
KR101975291B1 (en) | 2019-05-07 | Managing resource links in the service layer |
WO2014067319A1 (en) | 2014-05-08 | Method, apparatus, and gateway for deregistering terminal peripheral in machine type communication system |
US9992638B1 (en) | 2018-06-05 | System and method of facilitating management of common channel based services |
CN104133664B (en) | 2016-03-02 | A kind of informing generation method and device |
CN106572226A (en) | 2017-04-19 | Contact person sharing method, address list sharing terminal and address list receiving terminal |
KR20170025550A (en) | 2017-03-08 | Gateway and control method thereof |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
2014-01-01 | C06 | Publication | |
2014-01-01 | PB01 | Publication | |
2014-12-10 | C10 | Entry into substantive examination | |
2014-12-10 | SE01 | Entry into force of request for substantive examination | |
2018-10-16 | TA01 | Transfer of patent application right | |
2018-10-16 | TA01 | Transfer of patent application right |
Effective date of registration: 20180921 Address after: 210012 No. 68 Bauhinia Road, Yuhuatai District, Jiangsu, Nanjing Applicant after: Nanjing Zhongxing New Software Co., Ltd. Address before: No. 55, Nanshan District science and technology road, Nanshan District, Shenzhen, Guangdong Applicant before: ZTE Corporation |
2018-12-04 | GR01 | Patent grant | |
2018-12-04 | GR01 | Patent grant | |
2019-12-13 | TR01 | Transfer of patent right | |
2019-12-13 | TR01 | Transfer of patent right |
Effective date of registration: 20191122 Address after: 518057 Nanshan District science and technology, Guangdong Province, South Road, No. 55, No. Patentee after: ZTE Communications Co., Ltd. Address before: Yuhuatai District of Nanjing City, Jiangsu province 210012 Bauhinia Road No. 68 Patentee before: Nanjing Zhongxing New Software Co., Ltd. |