A kind of based on the mutual M2M system of IMTechnical field
The present invention relates to a kind ofly, belong to network communications technology field based on the mutual M2M system of IM.
Background technology
Along with development of Communication Technique, traditional the Internet is just towards the direction evolution of moving Internet of Things (M2M).M2M is meant communicating by letter between machine and the machine, is the principal mode of present stage Internet of Things.Most important link is the M2M terminal part in M2M uses, and the major function at M2M terminal is exactly to carry out the transmission of business datum through wired or wireless data network, realizes remote monitoring and control.Common M2M terminal traffic has that the transducer class is professional, multimedia class is professional, location-based service class business and expanding peripherals control are type professional, and the professional data of transducer class generally have temperature, humidity, pressure, rotating speed, voltage, electric current, frequency etc.; The professional data of multimedia class generally have voice, image, video flowing etc.; The professional data of location-based service class generally have global positioning satellite information (GNSS is like GPS, GLONASS, the Big Dipper etc.), location information of cell (CPS) etc.; Expanding peripherals control generally can be connected to the control unit of equipment or vehicle through common interfaces such as 232 serial ports, 485 buses, CAN bus, OBD, realizes the remote monitoring to peripheral hardware.
Existing M2M terminal operating mode generally is based on the M2M platform communications protocol of appointment, and the data that collect are reported to the M2M platform, carries out data parsing by the M2M application services again, the corresponding sector application of final thus realization.This M2M platform generally adopts B/S or C/S framework to form a whole set of sector application system.
Therefore, existing M2M only can realize proprietary communications protocol in data transmission in the terminal, need build special M2M platform earlier and can use.And this type M2M platform also need be built special-purpose server; Be equipped with special-purpose broadband network environment; And develop a series of service end and client software, exploitation and implementation cost are higher, are unfavorable for application and the popularization of M2M end product to little customers such as individual, medium-sized and small enterprises.
Summary of the invention
The present invention is for solving in existing M2M terminal technology, existence only can be through proprietary communications protocol realization transfer of data, exploitation and implementation cost problem of higher.Provide a kind of, having comprised based on the mutual M2M system of IM:
The IM client after being used for connecting through IM server and M2M terminal, is sent data message to said M2M terminal, and receives the local state information that send at said M2M terminal;
The M2M terminal after being used for connecting through IM server and IM terminal, receives the data message that said IM client is sent, and said data message is resolved and carried out control commands corresponding, and local state information is sent to said IM client;
The IM server is used to set up being connected of said IM client and said M2M terminal.
M2M provided by the invention system through setting up being connected of IM client and M2M terminal, has realized mutual under the situation of not building or do not use special-purpose M2M platform having reduced the application cost of little customers such as individual, medium-sized and small enterprises.
Description of drawings
Fig. 1 is the structural representation based on the mutual M2M system of IM that embodiment of the present invention provides.
Embodiment
It is a kind of based on the mutual M2M system of IM that embodiment of the present invention provides; This M2M system is on the basis of realization and the communication of IM platform; Directly machine information is translated into text or the multimedia messages of being convenient to man-machine interaction; Make the user need not to install the M2M platform or the client software of appointment, can connect and monitoring M2M terminal through the IM client.Through this mode, greatly reduced system hardware and software lower deployment costs such as server, network, it is more convenient to use, and has also solved the maximum platform of puzzlement personal user and SME users simultaneously and has used problem.
For clearer this embodiment of explanation provide based on the mutual M2M system of IM, combine Figure of description that this method is elaborated at present, as shown in Figure 1, specifically can comprise:
IM client 11 after being used for connecting throughIM server 13 andM2M terminal 12, is sent data messages to saidM2M terminal 12, and is received the local state information that send at saidM2M terminal 12;
M2M terminal 12 after being used for connecting throughIM server 13 andIM terminal 11, receives the data message that saidIM client 11 is sent, and said data message is resolved and carried out control commands corresponding, and local state information is sent toIM client 11;
IM server 13 is used to set up being connected ofIM client 11 andM2M terminal 12.
Concrete; In Fig. 1; The M2M terminal at first connects through general IM communications protocol and IM server; When the user logins theIM client 11 ofIM server 13, can send data message toM2M terminal 12 through the dialog box ofIM client 11 like this, corresponding data information can be literal, picture or multimedia file etc.AfterM2M terminal 12 receives corresponding data information system; Can control commands corresponding resolved and carried out to this data message, control commands corresponding can be for carrying out that toM2M terminal 12 remote upgrade, parameter setting, peripheral hardware control or video/audio play content are provided with etc.Simultaneously; The M2M terminal can also initiatively send toIM client 11 with local state information; Corresponding local state information can comprise sensor states, GPS position, peripheral hardware state, ambient video audio frequency or M2M terminal self statistical information etc., and send mode can be to send after corresponding local state information is resolved to literal, picture or multimedia file.And the user ofIM client 11 can obtain sensor states, GPS position, peripheral hardware state, ambient video audio frequency or M2M terminal self statistical information ofknowledge M2M terminal 12 place ends etc. intuitively in the dialog box ofIM client 11.
Wherein, the M2M client include but not limited to sensor type DTU terminal, align_type the GPS terminal or look in the DVR terminal of audio frequency control types any one or a few.
This embodiment is through setting up being connected of IM client and M2M terminal; Made things convenient for installing and using of individual or SME users; Need not to build or dock special-purpose M2M platform; Only need in general IM dialog box, can monitor in real time, greatly reduce system deployment and operating cost the M2M terminal.
The above; Be merely the preferable embodiment of the present invention, but protection scope of the present invention is not limited thereto, any technical staff who is familiar with the present technique field is in the technical scope that the present invention discloses; The variation that can expect easily or replacement all should be encompassed within protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion with the protection range of claims.