CN104506414A - System and method for realizing comprehensive informationized application based on instant message mode - Google Patents

System and method for realizing comprehensive informationized application based on instant message mode Download PDF

Info

Publication number
CN104506414A
CN104506414A CN201410785541.XA CN201410785541A CN104506414A CN 104506414 A CN104506414 A CN 104506414A CN 201410785541 A CN201410785541 A CN 201410785541A CN 104506414 A CN104506414 A CN 104506414A
Authority
CN
China
Prior art keywords
message
synchronous
terminal
server
xmpp
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
CN201410785541.XA
Other languages
Chinese (zh)
Other versions
CN104506414B (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.)
Beijing University of Posts and Telecommunications
Original Assignee
Beijing University of Posts and Telecommunications
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing University of Posts and Telecommunications filed Critical Beijing University of Posts and Telecommunications
Priority to CN201410785541.XA priority Critical patent/CN104506414B/en
Publication of CN104506414A publication Critical patent/CN104506414A/en
Application granted granted Critical
Publication of CN104506414B publication Critical patent/CN104506414B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Mobile Radio Communication Systems (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention provides a system and a method for realizing comprehensive informationized application based on an instant message mode, and belongs to the field of Internet. The system comprises a resource synchronization server, a message pushing server, a control terminal and a synchronous terminal, wherein the control terminal and the synchronous terminal are used for realizing message communication through an XMPP (Extensible Messaging and Presence Protocol) mechanism of Openfire; the control terminal is used for sending a message with special message fields to the resource synchronization server through an application, and then the message pushing server is used for pushing the message to the synchronous terminal; the application of the synchronous terminal is used for analyzing corresponding fields and carrying out corresponding actions according to the results of analysis.

Description

A kind of system and method realizing roundupization application based on instant message pattern
Technical field
The invention belongs to internet arena, be specifically related to a kind of system and method realizing roundupization application based on instant message pattern.
Background technology
Extensively universal along with the fast development of information industry and the Internet, people also reach peak period in the last few years for the demand of relevant hardware devices, and it is predicted, the network interconnection device in the whole world in 2015 will more than 15,000,000,000.The power that people have been accustomed to single device is the various conveniences that it brings, as network connection anywhere or anytime, mobile payment, file synchronization etc., and along with the development of mobile device, be that the mobile terminal product of representative has had the trend slowly replacing PC with mobile phone.
The more and more convenient lifting making user be not content with the powerful of single device aspect of performance or experience that but the exponential type of networked devices quantity increases and equipment carries, they more wish can communicate between the multiple devices in oneself hand, thus reach the function of information sharing or Long-distance Control.The Main Means of present communication between devices is the communication that the hardware attributes carried by equipment carries out information, such as bluetooth, infrared etc.These two kinds of modes can meet user to a certain extent and use many equipment to carry out the demand communicated, but also there is corresponding problem, as the requirement to hardware configuration, distance problem etc.Traditional devices communicating method, as shown in Figure 1.Traditional source synchronous mode adopts bluetooth or infrared mode, there is the problem of device hardware support and distance, and this mode can only solve the synchronous problem of resource, the demand of carrying out Long-distance Control by information communication between different terminals is not well met.
In sum, the means of current equipment room communication cannot meet people completely for the demand of communication instantaneity with other such as Distance geometry hardware configuration aspect, and people need the communication between a kind of better method solution distinct device.
Summary of the invention
The object of the invention is to solve the difficult problem existed in above-mentioned prior art, a kind of system and method realizing roundupization application based on instant message pattern is provided, based on existing instant message framework, utilize the Internet resources of the Internet as message carrier, a kind of mechanism of dissimilar equipment room point-to-point communication is provided, the instantaneity that the client-side program that developer utilizes this mechanism to develop can well communicate between support equipment and distance, hardware configuration independence, provide the effective solution of communication between devices.
The present invention is achieved by the following technical solutions:
Realize a system for roundupization application based on instant message pattern, comprise source synchronous server, message push server, control terminal and synchronous terminal;
Control terminal and synchronous terminal realize message communicating by the XMPP mechanism of Openfire;
Control terminal by application the information with particular message field is sent to source synchronous server, then message push server again by this message push to synchronous terminal; The application of synchronous terminal is resolved corresponding field, and the result according to resolving performs corresponding action.
When needs source synchronous, control terminal will need synchronous uploading resource to source synchronous server, source synchronous server generates URL address for this resource, and send it to message push server, then the URL address of acquisition is sent to synchronous terminal by the mode of XMPP by message push server, and synchronous terminal obtains isochronous resources from source synchronous server.
When needs Long-distance Control, operational order and URL address (namely linking) are sent to message push server by XMPP by control terminal, information is sent to synchronous terminal by message push server, and synchronous terminal by connecting down loading network resource, and performs corresponding operation.
The method realizing roundupization application based on instant message pattern utilizing said system to realize, comprising:
(1) first judge that this time operation is isochronous resources or Long-distance Control, if Long-distance Control, then jump to step (4), isochronous resources in this way, then go to step (2);
(2) resource that need be synchronous is uploaded to source synchronous server;
(3) source synchronous server generates URL address corresponding to resource;
(4) URL address or remote control command and URL address are sent to message push server by XMPP;
(5) message is sent to synchronous terminal by XMPP by message push server;
(6) synchronous terminal executable operations down loading network resource.
The operation field of the message in the XMPP in described step (5) is the remote control command (i.e. aforesaid " information with particular message field ") carried in message, and para is the parameter of this remote control command;
Described remote control command comprises:
One click represents single-click operation;
Double click represents two-machine operation;
Keep click represents long by operation;
Up represents and moves up;
Down represents and moves down;
Left represents and is moved to the left;
Right represents and moves right;
Up slide represents upward sliding
Down slide represents slide downward;
Left screen slide represents the screen that slides left;
Right screen slide represents the screen that slides to the right;
Shrink represents contraction screen;
Expand represents expansion screen;
Wherein, the parameter of up slide and down slide is numeral, and in units of px, the parameter of other operational order is nothing.
The data field of the message in the XMPP in described step (5) is the URL address that synchronous terminal is downloaded the URL address of isochronous resources or needs and opened.
Compared with prior art, the invention has the beneficial effects as follows:
1) this method is the terminal room communication solution that user provides almost hardware independent, and the enforcement of the program only needs mutual terminal to be connected to the Internet, and popularizing along with wireless network covering, this puts nearly all equipment and all can support.Bluetooth or infrared mode must be supported compared to equipment before, solve the problem of propagation distance on the one hand, also improve the scope of application of technology on the other hand.
2) on the basis of this method source synchronous between original many equipment, add powerful remote control function, this makes an intelligent terminal can control an other terminal equipment easily, and type and the model of this and equipment are all irrelevant.Mutual kind abundant in addition can allow this control more convenient, user can well be moved to another device end easily for a kind of interactive mode of interactive device.
Accompanying drawing explanation
Fig. 1 traditional solution
Fig. 2 instant message model of the present invention solution
Fig. 3 present system generic structure model
Fig. 4 present system flow chart.
Embodiment
Below in conjunction with accompanying drawing, the present invention is described in further detail:
The invention belongs to internet arena, is a kind of method realizing communication between devices.Specifically, be a kind of mechanism realizing point-to-point communication between plurality of devices based on instant message pattern, profit can well realize the intercommunication mutually between equipment in this way, thus meets user for the interaction demand between hardware device.Communication between current terminal equipment is mainly in order to the synchronous or bipartite interchange of information, but the increase of the terminal equipment quantity can networked along with movement, the particularly increase of mobile terminal quantity, user is not only satisfied with for the communication between equipment and exchanges and information synchronous, and they more wish to obtain and a kind of more effectively equal synchronous and remote-operated function more.
The roundupization application that the present invention is based on instant message pattern is the mechanism of the intercommunication of a kind of client set up by the framework of instant message.The instant messaging framework used is Openfire, defines the relevant field for communicating between client on this, thus the more complicated information transmission making the framework of this cover instant messaging can support between different clients.By resolving the information entrained by these fields, the demand of some real scenes in people's actual life can be met, as information sharing, Long-distance Control etc., because its carrier utilizing the Internet to transmit as information, so there is not the problem of hardware supports and distance, simultaneously because have employed the framework of instant message, it also has the feature of instantaneity.
Roundupization application based on instant message just provides this realization mechanism, make can carry out message communicating between multi-client by the original XMPP mechanism of Openfire, simultaneously to the redesign of protocol fields, increase amount of information entrained by message, by being parsed terminal to the control to other-end equipment to message field.
For the control of mobile device for PC equipment, as shown in Figure 2.
Information with particular message field is sent to the server built in the Internet, because server program is based on instant communication message framework, so this message can be sent to smoothly the application program of synchronous terminal by application by control terminal.The application of synchronous terminal side is resolved corresponding field, and the result according to resolving performs corresponding action, as clicked, double-clicking, page slip, the operation such as convergent-divergent and resource the behavior such as download displaying.
One, system generic structure
System generic structure model of the present invention as shown in Figure 3,
In this model, realize the function of source synchronous and Long-distance Control between two station terminals.
Source synchronous: control terminal will need synchronous uploading resource source synchronous server, source synchronous server generates URL address for this resource, the URL address of acquisition is sent to synchronous terminal by the mode of XMPP by message push server, and synchronous terminal obtains isochronous resources from source synchronous server.
Long-distance Control: operational order and connection are sent to message push server by XMPP by control terminal, and information is sent to synchronous terminal by message push server, synchronous terminal by connecting down loading network resource, and performs corresponding operation.
Two, system flow
The schematic flow sheet of this system as shown in Figure 4, comprising:
1, first judge that this time operation is in order to isochronous resources or Long-distance Control, if be Long-distance Control, jump to step 4;
(7) resource that need be synchronous is uploaded to source synchronous server;
(8) source synchronous server generates URL corresponding to resource;
(9) control command and URL are sent to message push server by XMPP;
(10) message is sent to synchronous terminal by XMPP;
(11) synchronous terminal executable operations down loading network resource.
Three, message field design
In the present invention, the message content transmitted by XMPP is not carried by existing protocol fields, needs the particular content for message to redesign new message field, the design of message field and being described as follows.
<message from=" source client address "
To=" object client address "
Id=" message id numbering " >
<operation para=”1000”>one click</operation>
<data>
The URL address of resource
</data>
</message>
Explanation of field:
Operation field: the operation instruction information of carrying in message, para is the parameter declaration of a certain operation.
The type of message instruction and illustrate as shown in table 1:
Instruction Explanation Parameter
one click Single-click operation Nothing
double click Two-machine operation Nothing
keep click Long by operation Nothing
up Move up Nothing
down Move down Nothing
left Be moved to the left Nothing
right Move right Nothing
up slide Upward sliding Numeral, in units of px
down slide Slide downward Numeral, in units of px
left screen slide Slide left screen Nothing
right screen slide Slide to the right screen Nothing
shrink Shrink screen Nothing
expand Expand screen Nothing
Table 1
Data field: for transmitting the URL address that synchronous terminal is downloaded or needs are opened.
The present invention's first time proposition realizes the communication between distinct device by the mode of instant message application framework, with Internet resource for carrier, instead of the mode realized by device hardware support alternately between original mobile device, improve the scope of application of scheme; The present invention has redesigned the XMPP field for connection server and device end, for the redesign of field mainly in order to make invention can provide more interactive operation, as clicked generic operation, slip generic operation, convergent-divergent generic operation etc., this can allow the operating habit of user in a kind of terminal well move to the terminal equipment of another kind of type.
Technique scheme is one embodiment of the present invention, for those skilled in the art, on the basis that the invention discloses application process and principle, be easy to make various types of improvement or distortion, and the method be not limited only to described by the above-mentioned embodiment of the present invention, therefore previously described mode is just preferred, and does not have restrictive meaning.

Claims (6)

1. realize a system for roundupization application based on instant message pattern, it is characterized in that: described system comprises source synchronous server, message push server, control terminal and synchronous terminal;
Control terminal and synchronous terminal realize message communicating by the XMPP mechanism of Openfire;
Control terminal by application the information with particular message field is sent to source synchronous server, then message push server again by this message push to synchronous terminal; The application of synchronous terminal is resolved corresponding field, and the result according to resolving performs corresponding action.
2. the system realizing roundupization application based on instant message pattern according to claim 1, it is characterized in that: when needs source synchronous, control terminal will need synchronous uploading resource to source synchronous server, source synchronous server generates URL address for this resource, and send it to message push server, then the URL address of acquisition is sent to synchronous terminal by the mode of XMPP by message push server, and synchronous terminal obtains isochronous resources from source synchronous server.
3. the system realizing roundupization application based on instant message pattern according to claim 1, it is characterized in that: when needs Long-distance Control, operational order and URL address are sent to message push server by XMPP by control terminal, information is sent to synchronous terminal by message push server, synchronous terminal by connecting down loading network resource, and performs corresponding operation.
4. the method realizing roundupization application based on instant message pattern utilizing the arbitrary described system of claim 1 to 3 to realize, comprising:
(1) first judge that this time operation is isochronous resources or Long-distance Control, if Long-distance Control, then jump to step (4), isochronous resources in this way, then go to step (2);
(2) resource that need be synchronous is uploaded to source synchronous server;
(3) source synchronous server generates URL address corresponding to resource;
(4) URL address or remote control command and URL address are sent to message push server by XMPP;
(5) message is sent to synchronous terminal by XMPP by message push server;
(6) synchronous terminal executable operations down loading network resource.
5. method according to claim 4, is characterized in that: the operation field of the message in the XMPP in described step (5) is the remote control command carried in message, and para is the parameter of this remote control command;
Described remote control command comprises:
One click represents single-click operation;
Double click represents two-machine operation;
Keep click represents long by operation;
Up represents and moves up;
Down represents and moves down;
Left represents and is moved to the left;
Right represents and moves right;
Up slide represents upward sliding
Down slide represents slide downward;
Left screen slide represents the screen that slides left;
Right screen slide represents the screen that slides to the right;
Shrink represents contraction screen;
Expand represents expansion screen;
Wherein, the parameter of up slide and down slide is numeral, and in units of px, the parameter of other operational order is nothing.
6. method according to claim 4, is characterized in that: the data field of the message in the XMPP in described step (5) is the URL address that synchronous terminal is downloaded the URL address of isochronous resources or needs and opened.
CN201410785541.XA 2014-12-17 2014-12-17 A kind of system and method that roundupization application is realized based on instant message pattern Active CN104506414B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410785541.XA CN104506414B (en) 2014-12-17 2014-12-17 A kind of system and method that roundupization application is realized based on instant message pattern

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410785541.XA CN104506414B (en) 2014-12-17 2014-12-17 A kind of system and method that roundupization application is realized based on instant message pattern

Publications (2)

Publication Number Publication Date
CN104506414A true CN104506414A (en) 2015-04-08
CN104506414B CN104506414B (en) 2017-10-13

Family

ID=52948129

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410785541.XA Active CN104506414B (en) 2014-12-17 2014-12-17 A kind of system and method that roundupization application is realized based on instant message pattern

Country Status (1)

Country Link
CN (1) CN104506414B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107645567A (en) * 2017-11-14 2018-01-30 中国科学院声学研究所 A kind of method of remote control intelligent terminal
CN108989186A (en) * 2018-07-28 2018-12-11 北京旺马科技有限公司 Vehicle-mounted voice method, car-mounted terminal, hand-control device, system and storage medium
CN110535904A (en) * 2019-07-19 2019-12-03 浪潮电子信息产业股份有限公司 A kind of asynchronous push method, system and device

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101163087A (en) * 2006-10-13 2008-04-16 风网科技(北京)有限公司 System and method for sharing mobile terminal video document
US7543034B2 (en) * 2004-06-08 2009-06-02 Sharp Laboratories Of America, Inc. Instant messenger reflector
CN101677319A (en) * 2008-09-19 2010-03-24 华为技术有限公司 Method, apparatus and system for service access on the basis of XMPP protocol
CN102143444A (en) * 2010-09-02 2011-08-03 华为技术有限公司 Method, relevant equipment and system for pushing service delivery platform message
CN202421859U (en) * 2011-12-27 2012-09-05 上海下一代广播电视网应用实验室有限公司 Safe real-time remote smart multimedia home system
CN102932439A (en) * 2012-10-26 2013-02-13 华为终端有限公司 Method and device for synchronizing content
CN103067259A (en) * 2012-12-24 2013-04-24 符晓友 Method and device used for sending and display and execution of special message instructions and based on instant messaging

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7543034B2 (en) * 2004-06-08 2009-06-02 Sharp Laboratories Of America, Inc. Instant messenger reflector
CN101163087A (en) * 2006-10-13 2008-04-16 风网科技(北京)有限公司 System and method for sharing mobile terminal video document
CN101677319A (en) * 2008-09-19 2010-03-24 华为技术有限公司 Method, apparatus and system for service access on the basis of XMPP protocol
CN102143444A (en) * 2010-09-02 2011-08-03 华为技术有限公司 Method, relevant equipment and system for pushing service delivery platform message
CN202421859U (en) * 2011-12-27 2012-09-05 上海下一代广播电视网应用实验室有限公司 Safe real-time remote smart multimedia home system
CN102932439A (en) * 2012-10-26 2013-02-13 华为终端有限公司 Method and device for synchronizing content
CN103067259A (en) * 2012-12-24 2013-04-24 符晓友 Method and device used for sending and display and execution of special message instructions and based on instant messaging

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107645567A (en) * 2017-11-14 2018-01-30 中国科学院声学研究所 A kind of method of remote control intelligent terminal
CN108989186A (en) * 2018-07-28 2018-12-11 北京旺马科技有限公司 Vehicle-mounted voice method, car-mounted terminal, hand-control device, system and storage medium
CN110535904A (en) * 2019-07-19 2019-12-03 浪潮电子信息产业股份有限公司 A kind of asynchronous push method, system and device
CN110535904B (en) * 2019-07-19 2022-02-18 浪潮电子信息产业股份有限公司 Asynchronous pushing method, system and device

Also Published As

Publication number Publication date
CN104506414B (en) 2017-10-13

Similar Documents

Publication Publication Date Title
CN103024504B (en) Based on the intelligent remote control system of digital TV set-top box
CN104023050B (en) Equipment collaboration Multi-screen interaction system and its method under a kind of equipment cloud environment
CN104702665B (en) Information sharing method and information sharing apparatus
JP6849612B2 (en) Methods and devices for transmitting business objects
CN104506907A (en) A method and a system for interactive operation between a controlling end and multiple remote controlled terminals
CN101022398A (en) Method for realizing scrapbook sharing in multinode intelligent network application service system
CN103024503A (en) System and method for achieving remote control through mobile communication equipment terminal
CN105637472B (en) The frame of screen content shared system with the description of broad sense screen
CN105282587A (en) Synchronous visualized intelligent television control method based on mobile phone
CN104965637A (en) Interface operation implementing method and device
CN104506414B (en) A kind of system and method that roundupization application is realized based on instant message pattern
CN107179890A (en) A kind of method and system for synchronizing operation to mobile terminal by PC ends
CN101155174B (en) Remote subscriber interface service implementing method based on common protocol
CN103686287A (en) Method and system for achieving smart television touch screen
CN108616643A (en) The method, apparatus and system of mobile phone are controlled by computing device
Ha et al. N-screen service using I/O virtualization technology
CN104717135A (en) Realization method and device of intelligent home gateway
CN104506718A (en) System and method for remote assistance between smart phones
CN104602108A (en) Method and system for transferring files of mobile phone and set-top box
CN106663118B (en) Method for networking cooperative work and machine applying same
CN102223610B (en) Method and the mobile device of exchanges data is carried out between mobile device
CN107291834A (en) A kind of data inputting method based on code-reading, equipment and terminal
CN102244822A (en) Remote broadcast control method in IPTV (Internet Protocol Television) system, device and system thereof
CN101887559A (en) Technology for recommending commodities in mobile business
CN205384459U (en) Intelligence house cloud processing platform based on thing networking

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