Movatterモバイル変換


[0]ホーム

URL:


CN104426895B - Information processing method and terminal device - Google Patents

Information processing method and terminal device
Download PDF

Info

Publication number
CN104426895B
CN104426895BCN201310407628.9ACN201310407628ACN104426895BCN 104426895 BCN104426895 BCN 104426895BCN 201310407628 ACN201310407628 ACN 201310407628ACN 104426895 BCN104426895 BCN 104426895B
Authority
CN
China
Prior art keywords
data
channel
content
terminal equipment
server
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.)
Active
Application number
CN201310407628.9A
Other languages
Chinese (zh)
Other versions
CN104426895A (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.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Lenovo Beijing LtdfiledCriticalLenovo Beijing Ltd
Priority to CN201310407628.9ApriorityCriticalpatent/CN104426895B/en
Publication of CN104426895ApublicationCriticalpatent/CN104426895A/en
Application grantedgrantedCritical
Publication of CN104426895BpublicationCriticalpatent/CN104426895B/en
Activelegal-statusCriticalCurrent
Anticipated expirationlegal-statusCritical

Links

Landscapes

Abstract

Provide information processing method and terminal device.The information processing method is applied to first terminal equipment, including:The first data channel of content-specific server is established based on first network agreement;First channel is created in content private server by the first data channel based on the first communication protocol, which can subscribe to first channel based on the first communication protocol for N number of second terminal equipment by the second data channel that first network agreement and content-specific server are established;First data are sent to the first channel of content-specific server based on the first communication protocol by the first data channel, so that each second terminal equipment obtains the first data from the first channel of content-specific server by the second data channel based on the first communication protocol and the first data are shown in the browser of second terminal equipment.In this way, realizing the data communication between each terminal device, user's facility is promoted, and enhance communication performance.

Description

Information processing method and terminal device
Technical field
The present invention relates to information processing methods and terminal device.
Background technology
At present, the type of personal terminal device was originally more, such as phone, tablet computer, desktop computer, TV, numberCamera etc., also, to possess multiple terminal devices also more and more common by a user.In this case, user may wishHope that a terminal device using individual is more and more to access the demand of other terminal devices, equally, user passes throughThe demand that the terminal device of its people accesses the terminal device of other users similarly exists.
Therefore, it is necessary to a kind of information processing methods so that can be obtained by terminal device not via mutual direct communicationObtain the data that other terminal devices are sent.
Invention content
Therefore, for the above-mentioned prior art the problem of and demand make the present invention.
The purpose of the embodiment of the present invention is to provide a kind of information processing method and terminal device, so that terminal device can be withData are issued to other terminal devices by content-specific server and obtain the data of other terminal devices.
One side according to embodiments of the present invention provides a kind of information processing method, applied to first terminal equipment,The method includes:The first data channel of content-specific server is established based on first network agreement;Based on the first communication protocolsView creates the first channel by first data channel on the content-specific server, and first channel is for N number ofSecond terminal equipment is based on first communication protocol and is established by the first network agreement and the content-specific serverThe second data channel can subscribe to first channel;And first data are passed through based on first communication protocolFirst data are sent to first channel of the content-specific server by channel, so that N number of second terminal is setEach second terminal equipment in standby is based on first communication protocol by second data channel from the content-specificFirst channel of server obtains first data and in the browser of the second terminal equipment described in displayFirst data.
It is described to be based on first communication protocol by first data channel in institute in above- mentioned information processing methodIt states and the first channel is created on content-specific server, first channel is based on described first for N number of second terminal equipment and leads toLetter agreement can be subscribed to described by the second data channel that the first network agreement and the content-specific server are establishedFirst channel specifically includes:The first flag information of the content-specific server and the second identifier of first channel are believedBreath is sent to generic server, so that N number of second terminal equipment obtains the content-specific from the generic serverThe first flag information of server and the second identifier information of first channel are sent to generic server;Wherein, it is described N number ofSecond terminal equipment passes through described first using the first flag information of the content server based on first communication protocolProcotol establishes second data channel with the content-specific server, and N number of second terminal equipment uses instituteThe second identifier information for stating the first channel enables second data channel to subscribe to first channel.
In above- mentioned information processing method, the first terminal equipment has the first user identity information, and described second eventuallyEnd equipment has second user identification information, also, first user identity information and the second user identification information phaseTogether.
In above- mentioned information processing method, the second terminal equipment passes through described second based on first communication protocolData channel creates the second channel and based on first communication protocol by described the on the content-specific serverSecond data are sent to second channel of the content-specific server by two data channel, and the method is further wrappedIt includes:The first terminal equipment is based on first communication protocol by first data channel from the content-specific serviceSecond channel of device obtains second data and shows described second in the browser of the first terminal equipmentData.
In above- mentioned information processing method, further comprise:It is third data by first data update;With based on instituteState the institute that the third data are sent to the content-specific server by first data channel by the first communication protocolThe first channel is stated, so that each second terminal equipment in N number of second terminal equipment is based on first communication protocolBy second data channel from first channel of the content-specific server obtain the third data andThe display third data in the browser of the second terminal equipment.
In above- mentioned information processing method, the first network agreement is for simulating and the content-specific serverThe procotol of long connection.
In above- mentioned information processing method, first communication protocol is for sending number to the content-specific serverIt is distributed to other terminal devices according to this and so that other terminal device subscriptions obtain number from the content-specific server according to thisAccording to communication protocol.
In above- mentioned information processing method, each second terminal equipment caused in N number of second terminal equipmentShow that first data specifically include in the browser of the second terminal equipment:Described in the second terminal equipment operationThe system program of second terminal equipment local, to create a display interface in the browser of the second terminal equipment;It is describedThe system program of second terminal equipment local parses first data, described the is rendered and shown in the display interfaceThe content of one data.
Another aspect according to embodiments of the present invention provides a kind of terminal device, including:Path Setup unit, configurationTo establish the first data channel of content-specific server based on first network agreement;Channel establishes unit, is configured toOne communication protocol creates the first channel, first channel by first data channel on the content-specific serverThe first network agreement and the content-specific service are passed through based on first communication protocol for N number of other terminal devicesThe second data channel that device is established can subscribe to first channel;And data publication unit, it is configured to described firstFirst data are sent to first channel of the content-specific server by first data channel by communication protocol,So that each other terminal devices in N number of other terminal devices pass through described second based on first communication protocolData channel obtains first data and in the second terminal from first channel of the content-specific serverDisplay first data in the browser of equipment.
In above-mentioned terminal device, the channel is established unit and is specifically included:Information transmitting unit, being configured to will be described interiorHold the first flag information of private server and the second identifier information of first channel is sent to generic server, so thatN number of other terminal devices obtain the first flag information of the content-specific server and described from the generic serverThe second identifier information of first channel is sent to generic server;Wherein, N number of other terminal devices are taken using the contentThe first flag information of business device passes through the first network agreement and the content-specific service based on first communication protocolDevice establishes second data channel, and N number of second terminal equipment is made using the second identifier information of first channelFirst channel can be subscribed to by obtaining second data channel.
In above-mentioned terminal device, further with the first user identity information, and other terminal devices have theTwo user identity informations, also, first user identity information is identical with the second user identification information.
In above-mentioned terminal device, other terminal devices pass through second data based on first communication protocolChannel is created the second channel on the content-specific server and is counted based on first communication protocol by described secondSecond data are sent to second channel of the content-specific server according to channel, the terminal device is based on described theOne communication protocol obtains described second by first data channel from second channel of the content-specific serverData and second data are shown in the browser of the terminal device.
In above-mentioned terminal device, further comprise:Data updating unit, it is the to be configured to first data updateThree data;And the data publication unit is further configured to pass through first data based on first communication protocolThe third data are sent to first channel of the content-specific server by channel, so that N number of other endsEach other terminal devices in end equipment are based on first communication protocol by second data channel from the contentFirst channel of private server obtains the third data and is shown in the browser of the second terminal equipmentThe third data.
In above-mentioned terminal device, the first network agreement is to connect for simulating with the long of the content-specific serverThe procotol connect.
In above-mentioned terminal device, first communication protocol be for the content-specific server transmission data withIt is distributed to other terminal devices and so that other terminal device subscriptions obtains data from the content-specific server according to thisCommunication protocol.
In above-mentioned terminal device, further comprise:Data receipt unit is configured to first communication protocol and leads toIt crosses first data channel and obtains second data from second channel of the content-specific server;Interface creatingUnit is configured to run the system program of the terminal device local, aobvious to create one in the browser of the terminal deviceShow interface;And display control unit, the local system program of operation is configured to parse second data, in the displayThe content of second data is rendered and shown in interface.
By information processing method and terminal device according to embodiments of the present invention, each terminal device can use contentPrivate server come issue data to other terminal devices or from other terminal devices subscribe to data, it is achieved thereby that each endData communication between end equipment, promotes user's facility, and enhance communication performance.
Description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, to embodiment or will show belowThere is attached drawing needed in technology description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only thisSome embodiments of invention, for those of ordinary skill in the art, without having to pay creative labor, may be used alsoTo obtain other attached drawings according to these attached drawings.
Fig. 1 is the schematic flow chart of information processing method according to embodiments of the present invention;
Fig. 2 is an exemplary schematic diagram of the application scenarios of information processing method according to embodiments of the present invention;
Fig. 3 is another exemplary schematic diagram of the application scenarios of information processing method according to embodiments of the present invention;
Fig. 4 is the schematic block diagram of terminal device according to embodiments of the present invention.
Specific embodiment
In the following, it will be described in detail with reference to accompanying drawings information processing method and terminal device according to embodiments of the present invention.
One side according to embodiments of the present invention provides a kind of information processing method, applied to first terminal equipment,The method includes:The first data channel of content-specific server is established based on first network agreement;Based on the first communication protocolsView creates the first channel by first data channel on the content-specific server, and first channel is for N number ofSecond terminal equipment is based on first communication protocol and is established by the first network agreement and the content-specific serverThe second data channel can subscribe to first channel;It will by first data channel based on first communication protocolFirst data are sent to first channel of the content-specific server, so that in N number of second terminal equipmentEach second terminal equipment is based on first communication protocol by second data channel from the content-specific serverFirst channel obtain first data and first number shown in the browser of the second terminal equipmentAccording to.
By information processing method according to embodiments of the present invention, first terminal equipment does not need to and other N number of secondTerminal device establishes direct data connection, but can be realized by content-specific server between second terminal equipmentData communicate, and so as to solve the problems, such as can not to realize data interchange between each terminal device in the prior art, enhance endThe communication ability of end equipment, and it is greatly promoted the facility that user uses.
Fig. 1 is the schematic flow chart of information processing method according to embodiments of the present invention.As shown in Figure 1, according to this hairThe information processing method of bright embodiment, applied to first terminal equipment, this method includes:S1 is established based on first network agreementFirst data channel of content-specific server;S2, based on the first communication protocol by first data channel described interiorHold and the first channel is created in private server, first channel is based on first communication protocols for N number of second terminal equipmentView can subscribe to described first by the second data channel that the first network agreement and the content-specific server are establishedChannel;First data are sent to the content-specific by S3 based on first communication protocol by first data channelFirst channel of server, so that each second terminal equipment in N number of second terminal equipment is based on described theOne communication protocol obtains described first by second data channel from first channel of the content-specific serverData and first data are shown in the browser of the second terminal equipment.
In the following, the application scenarios that Fig. 2 detailed descriptions information processing method according to embodiments of the present invention will be combined.
Fig. 2 is an exemplary schematic diagram of the application scenarios of information processing method according to embodiments of the present invention.Such as Fig. 2 institutesShow, first terminal equipment 100 can be with content-specific server 200 into row data communication, also, N number of second terminal equipment300-1 to 300-N can also be with content-specific server 200 into row data communication.When first terminal equipment 100 is wished to otherN number of second terminal equipment 300-1 to 300-N publication 100 local data of first terminal equipment when, first terminal equipment 100The first data channel 101 to content-specific server 200 is established, and based on the first communication protocols based on first network agreementView, the first channel 102 is created by first data channel in content private server 200, and similarly, N number of second eventuallyEnd equipment 300-1 to 300-N can also be based on same first network agreement, establish second to content-specific server 200Data channel 301-1 to 301-N, also, based on same first communication protocol, pass through the second data channel 301-1 to 301-NThe second channel 302-1 to 302-N is created in content private server 200.In fig. 2, it is clear for description, it illustrates onlyThe second number in the second data channel to content-specific server 200 that N number of second terminal equipment 300-1 to 300-N is establishedAccording to the second channel 302-1 in channel 301-1 and the second channel 302-1 to the 302-N created, and do not show otherThe second data communication and the second channel.But it will be understood by those skilled in the art that with N number of second terminal equipmentIn the case of, each second terminal equipment can establish the second number to content-specific server 200 based on first network agreementAccording to channel, and based on the first communication protocol, corresponding the is created in content private server 200 by the second data channelTwo channels.
In this way, corresponding first frequency is created in content private server in first terminal equipment and second terminal equipmentIn the case of road and the second channel, the first data channel 101 that first terminal equipment 100 is established can subscribe to second terminal equipmentThe second channel 302-1 that 300-1 is created, also, the second data channel 301-1 that second terminal equipment 300-1 is established also may be usedTo subscribe to the first channel 102 that first terminal equipment 100 is created.In an embodiment of the present invention, term " subscription " refers toThe data established between data channel and the channel on content-specific server communicate so that can be special from content by data channelData are obtained with the channel of server.
Later, first data are sent out by the first data channel 101 when first terminal equipment 100 is based on the first communication protocolWhen being sent to the first channel 102 of content-specific server 200, each second terminal in second terminal equipment 300-1 to 300-NEquipment can be based on the first identical communication protocol, by the second data channel 301-1 to 301-N for being established from content-specificFirst channel 102 of server 200 obtains first data, and further in the clear of second terminal equipment 300-1 to 300-NDevice of looking at is interior to show first data.In this way, the first data can be passed through content-specific server 200 by first terminal equipment 100Other second terminal equipment 300-1 to 300-N are shared with, so that second terminal equipment 300-1 to 300-N is in its equipmentFirst data are shown in the browser of itself.
It is described to be based on first communication protocol by first data channel in institute in above- mentioned information processing methodIt states and the first channel is created on content-specific server, first channel is based on described first for N number of second terminal equipment and leads toLetter agreement can be subscribed to described by the second data channel that the first network agreement and the content-specific server are establishedFirst channel specifically includes:The first flag information of the content-specific server and the second identifier of first channel are believedBreath is sent to generic server, so that N number of second terminal equipment obtains the content-specific from the generic serverThe first flag information of server and the second identifier information of first channel are sent to generic server;Wherein, it is described N number ofSecond terminal equipment passes through described first using the first flag information of the content server based on first communication protocolProcotol establishes second data channel with the content-specific server, and N number of second terminal equipment uses instituteThe second identifier information for stating the first channel enables second data channel to subscribe to first channel.
In information processing method according to embodiments of the present invention, due between first terminal equipment and second terminal equipmentDirect data communication can not be carried out, when first terminal equipment establishes data channel to issue data in content private serverWhen, second terminal equipment need to know first terminal equipment established on which content-specific server data channel andWhich data channel established on the content-specific server.Therefore, first terminal equipment is established in data channelThe second identifier information of data channel held the first flag information of private server and established is sent to generic server, thisSample, second terminal equipment can obtain the information for the data channel that first terminal equipment is established from generic server, with fromThe data channel that one terminal device is established obtains the data of first terminal equipment publication.
Fig. 3 is another exemplary schematic diagram of the application scenarios of information processing method according to embodiments of the present invention.Such as Fig. 3It is shown, it is clear for description, a second terminal equipment 600 is illustrated only in figure 3.Similar with Fig. 2, first terminal is setStandby 400, based on first network agreement, establish the first data channel 401 of content-specific server 500, and based on firstCommunication protocol creates the first channel 402 by the first data channel 401 in content private server 500.Also, first eventuallyThe second identifier information of the first flag information of content-specific server 500 and the first channel 402 is sent to logical by end equipment 400With server 700.Second terminal equipment 600 obtains the first flag letter of content-specific server 500 from generic server 700After the second identifier information of breath and the first channel 402, the data channel for needing to establish to content server 500 is just known.CauseThis, second terminal equipment 600 can be based on first network agreement, establish the second data channel to content-specific server 500601.Also, in the case of the second identifier information for obtaining the first channel 402, the second data of second terminal equipment 600Channel 601 subscribes to the first channel 402 on the content-specific server 500.
Here, it will be understood by those skilled in the art that content-specific service should be selected according to specific network environmentDevice and the communication server, and carried out using corresponding first network agreement and the first communication protocol above-mentioned according to of the invention realApply the information processing method of example.For example, content-specific server can be the XMPP server of standard, such as Gtalk, the first netNetwork agreement can be Bosh agreements, BOSH(Bidirectional-streams Over Synchronous HTTP)It is a kind ofThe technology of client and server two-way communication is carried out by the request/response of HTTP between client and server end,Defined in XEP-0124 of the BOSH in XMPP series of canonical, application scenario accesses XMPP clothes for the client based on browserBusiness device.And the first communication protocol can be the Sub/Pub of XMPP(Publish/subscribe)Mechanism.Also, generic server can beThe commonly connected other servers of each terminal device in network, for example, Legend Company is for the public of each terminal deviceLenovo servers.
Certainly, those skilled in the art are not it is also understood that first terminal equipment may also need to take content-specificThe identification information of business device and the identification information of channel created notify to give second terminal equipment.For example, in each terminal deviceBetween arranged used specific content private server and the channel that is created in the case of, second terminal equipment is establishedData channel directly can subscribe to the channel of the agreement from the content-specific server of agreement.
Here, the appearance of HTML 5 causes the exploitation of terminal device application to have changed a lot, and causes each endThe application of end equipment can be developed using same development language, in this way, using HTML 5 in each terminal deviceIn the environment of, it is possible to carry out the data between each terminal device using information processing method according to embodiments of the present inventionIntercommunication for example, when variation has occurred in the resource of terminal device or service, can notify other terminal devices.
In addition, the Pub/Sub models in network define how to a content node publication and subscribe to message, these sectionsPoint is commonly referred to as theme(topic).Theme is considered the transmission intermediary of message, publisher(publisher)PublicationMessage is to theme, subscriber(subscriber)Message is subscribed to from theme.Also, theme causes message subscribing person and news releasePerson keeps independent mutually, and the transmission of message can be ensured by not needing to contact.
In information processing method according to embodiments of the present invention, it is assumed that in the environment of HTML 5, terminal device passes throughBosh agreements carry out data, such as the publication of resource status, so as to establish the frequency for being exclusively used in data publication in XMPP serverRoad(That is, above-mentioned theme), and using XMPP standard Pub/Sub mechanism by data publication to the XMPP server.In this way, itsIts terminal device can also establish the data channel to XMPP server again by Bosh agreements, and subscribe to the channel, to obtainObtain the data of terminal device publication.
Using information processing method according to embodiments of the present invention, it is only necessary to development on the terminal device is completed,Without carrying out the exploitation of particular server, also, in the environment of HTML 5, modify without to Webkit coresThe use applied under 5 environment of HTML is just met, so as to greatly save development cost.
In above- mentioned information processing method, the first terminal equipment has the first user identity information, and described second eventuallyEnd equipment has second user identification information, also, first user identity information and the second user identification information phaseTogether.
As previously mentioned, in information processing method according to embodiments of the present invention, each terminal device can be same useThe different terminal equipment at family can also be different the terminal device of user, for example, first terminal equipment and second terminal equipment can be withIt is the mobile phone and tablet computer of same user A, and first terminal equipment and second terminal equipment can also be different user A and BMobile phone or the mobile phone of user A and the tablet computer of user B.In this way, have to identify its user in first terminal equipmentThe first user identity information, and second terminal equipment has a case that the second user identification information for identifying its userUnder, the first user identity information is identical with second user identification information possibility, that is, represents that first terminal equipment and second terminal are setIt is standby to belong to same user.
In above- mentioned information processing method, first communication protocol is based on by described the in the second terminal equipmentTwo data channel are created the second channel on the content-specific server and are passed through based on first communication protocol describedIn the case that second data are sent to second channel of the content-specific server by the second data channel, described firstTerminal device is based on first communication protocol by first data channel from described the of the content-specific serverTwo channels obtain second data and second data are shown in the browser of the first terminal equipment.
As described above, in information processing method according to embodiments of the present invention, under concrete application scene, each terminalEquipment is either the publisher of data or the subscriber of data.Fig. 2 is referred back to, in N number of second terminal equipment300-1 to 300-N is based on first network agreement, and the second data channel 301-1 for establishing content-specific server 200 is arrived301-N, also, based on the first communication protocol, by the second data channel 301-1 to 301-N in content private server 200In the case of creating the second channel 302-1 to 302-N.First data channel 101 of first terminal equipment 100 can also subscribe toThe second channel 302-1 to 302-N of other second terminal equipment 300-1 to 300-N, thus from the second channel 302-1 to 302-NObtain corresponding data.Also, each second data channel 301-1 to 301- of each second terminal equipment 300-1 to 300-NN can also subscribe to mutual second channel 302-1 to 302-N according to actual needs.It will be understood by those skilled in the art that this hairBright embodiment is not intended to this arbitrary limitation of progress.
In above- mentioned information processing method, further comprise:It is third data by first data update;With based on instituteState the institute that the third data are sent to the content-specific server by first data channel by the first communication protocolThe first channel is stated, so that each second terminal equipment in N number of second terminal equipment is based on first communication protocolBy second data channel from first channel of the content-specific server obtain the third data andThe display third data in the browser of the second terminal equipment.
As described above, when the variation that resource and service occur in a terminal device, it is desirable to which other terminal devices also may be usedTo know the variation of this resource and service.Therefore, information processing method according to embodiments of the present invention equally supports dataDynamic updates.That is, when the data in first terminal equipment change, updated data are passed through number by first terminal equipmentIt is issued according to channel, and the other terminal devices for having subscribed data channel are obtained with the updated data of the publication.
In above- mentioned information processing method, the first network agreement is for simulating and the content-specific serverThe procotol of long connection.
Specifically, can be the XMPP server of standard, such as Gtalk in content private server, first network associationView is Bosh agreements, and the first communication protocol is the Sub/Pub of XMPP(Publish/subscribe)In the case of mechanism, first netNetwork agreement is used for long the connecting with http protocol simulation Transmission Control Protocol, and the XMPP to standard is established so as to fulfill first terminal equipmentServer, such as the data channel of Gtalk.
First communication protocol is for being set to the content-specific server transmission data with being distributed to other terminalsIt is standby and other terminal device subscriptions is caused to obtain the communication protocol of data from the content-specific server according to this.
Pub/Sub models in network described above, the first channel are actually first terminal equipment in contentThe content publisher node established in private server, also, other second terminal equipment are taken by foundation to content-specificBe engaged in the second data channel of device, the content publisher node can be subscribed to, be equivalent to using second data channel monitor thisOne channel, to obtain the data content that first terminal equipment issued from the first channel.
In above- mentioned information processing method, each second terminal equipment caused in N number of second terminal equipmentShow that first data specifically include in the browser of the second terminal equipment:Described in the second terminal equipment operationThe system program of second terminal equipment local, to create a display interface in the browser of the second terminal equipment;It is describedThe system program of second terminal equipment local parses first data, described the is rendered and shown in the display interfaceThe content of one data.
For example, in the environment of HTML 5 as described above, since Bosh is to carry out data by the mechanism of webpagePublication, second terminal equipment can run local Javascript scripts, so as to create to show in local browserShow the display interface of received data.Also, first terminal equipment is being received in the first channel by the second data channelAfter the data of interior publication, the data can be parsed so as to which the content of the data is rendered and shown in above-mentioned display interface.ThisSample, user can check the data that other terminal devices are issued by browser, for example, the change in resources feelings of terminal deviceCondition.
As described above, it is assumed that in the environment of HTML 5, terminal device is realized by Bosh agreements based on HTML's 5XMPP message carry, and using XMPP standard Pub/Sub mechanism, realize resource to XMPP server publication, subscription withAnd state notifying.By being extended to XMPP, so as to support that, in description of the XMPP protocol layer to resource status, other terminals are setThe standby node that can subscribe to resource publication, to obtain change in resources situation in real time.For example, a complete agreement description and flowIt is as follows:
First, user A creates a resource publisher node in XMPP server.
Then, user B subscribes to the node, with the change in resources situation of user in real A:
User A may issue, update or delete a resource.
Specifically, a resource is issued in user A, such as user A issues one piece of storage resource, a print serviceWhen:
Alternatively, when user A updates a resource, when variation has occurred such as the user A storage resource sizes issued:
By alternatively, when user A deletes a resource, when no longer issuing storage resource such as user A:
In this way, user B obtains resource updates message:
By information processing method according to embodiments of the present invention, different terminal equipment can pass through content-specific serverBetween between data interchange, so as to realizing data sharing in the case of the direct data communication without between.
Another aspect according to embodiments of the present invention provides a kind of terminal device, including:Path Setup unit, configurationTo establish the first data channel of content-specific server based on first network agreement;Channel establishes unit, is configured toOne communication protocol creates the first channel, first channel by first data channel on the content-specific serverThe first network agreement and the content-specific service are passed through based on first communication protocol for N number of other terminal devicesThe second data channel that device is established can subscribe to first channel;It is counted with based on first communication protocol by described firstFirst data are sent to first channel of the content-specific server according to channel, so that N number of other terminalsIt is special from the content by second data channel that each other terminal devices in equipment are based on first communication protocolFirst data are obtained with first channel of server and show institute in the browser of the second terminal equipmentState the first data.
Fig. 4 is the schematic block diagram of terminal device according to embodiments of the present invention.As shown in figure 4, implemented according to the present inventionThe terminal device 10 of example includes:Path Setup unit 11 is configured to first network agreement and establishes content-specific serverFirst data channel;Channel establishes unit 12, is configured to the first communication protocol by first data channel describedThe first channel is created on content-specific server, first channel is based on the described first communication for N number of other terminal devicesAgreement can subscribe to described the by the second data channel that the first network agreement and the content-specific server are establishedOne channel;With data release unit 13, first communication protocol is configured to by first data channel by firstData are sent to first channel of the content-specific server, so that each in N number of other terminal devicesOther terminal devices are based on first communication protocol by second data channel from the institute of the content-specific serverThe first channel is stated to obtain first data and show first data in the browser of the second terminal equipment.
In above-mentioned terminal device, the channel is established unit and is specifically included:Information transmitting unit, being configured to will be described interiorHold the first flag information of private server and the second identifier information of first channel is sent to generic server, so thatN number of other terminal devices obtain the first flag information of the content-specific server and described from the generic serverThe second identifier information of first channel is sent to generic server;Wherein, N number of other terminal devices are taken using the contentThe first flag information of business device passes through the first network agreement and the content-specific service based on first communication protocolDevice establishes second data channel, and N number of second terminal equipment is made using the second identifier information of first channelFirst channel can be subscribed to by obtaining second data channel.
In above-mentioned terminal device, further with the first user identity information, and other terminal devices have theTwo user identity informations, also, first user identity information is identical with the second user identification information.
In above-mentioned terminal device, counted in other terminal devices based on first communication protocol by described secondThe second channel is created on the content-specific server and be based on first communication protocol by described second according to channelIn the case that second data are sent to second channel of the content-specific server by data channel, the terminal deviceIt is obtained based on first communication protocol by first data channel from second channel of the content-specific serverIt obtains second data and second data is shown in the browser of the terminal device.
In above-mentioned terminal device, further comprise:Data updating unit, it is the to be configured to first data updateThree data;And the data publication unit is further configured to pass through first data based on first communication protocolThe third data are sent to first channel of the content-specific server by channel, so that N number of other endsEach other terminal devices in end equipment are based on first communication protocol by second data channel from the contentFirst channel of private server obtains the third data and is shown in the browser of the second terminal equipmentThe third data.
In above-mentioned terminal device, the first network agreement is to connect for simulating with the long of the content-specific serverThe procotol connect.
In above-mentioned terminal device, first communication protocol be for the content-specific server transmission data withIt is distributed to other terminal devices and so that other terminal device subscriptions obtains data from the content-specific server according to thisCommunication protocol.
In above-mentioned terminal device, further comprise:Data receipt unit is configured to first communication protocol and leads toIt crosses first data channel and obtains second data from second channel of the content-specific server;Interface creatingUnit is configured to run the system program of the terminal device local, aobvious to create one in the browser of the terminal deviceShow interface;And display control unit, the local system program of operation is configured to parse second data, in the displayThe content of second data is rendered and shown in interface.
Here, it will be understood by those skilled in the art that other details of terminal device according to embodiments of the present invention with it is upperCorresponding part in the information processing method according to embodiments of the present invention of face description is identical, therefore, for simplicity, here justIt repeats no more.
By information processing method and terminal device according to embodiments of the present invention, each terminal device can use contentPrivate server come issue data to other terminal devices or from other terminal devices subscribe to data, it is achieved thereby that each endData communication between end equipment, promotes user's facility, and enhance communication performance.
The present invention is described in detail by reference to specific embodiment.It may be evident, however, that in the essence without departing substantially from the present inventionIn the case of god, those skilled in the art can perform embodiment change and replace.In other words, the shape that the present invention illustratesFormula is disclosed rather than by limiting is explained.Judge the gist of the invention, it is contemplated that appended claim.

Claims (16)

CN201310407628.9A2013-09-092013-09-09Information processing method and terminal deviceActiveCN104426895B (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN201310407628.9ACN104426895B (en)2013-09-092013-09-09Information processing method and terminal device

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN201310407628.9ACN104426895B (en)2013-09-092013-09-09Information processing method and terminal device

Publications (2)

Publication NumberPublication Date
CN104426895A CN104426895A (en)2015-03-18
CN104426895Btrue CN104426895B (en)2018-07-03

Family

ID=52974841

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN201310407628.9AActiveCN104426895B (en)2013-09-092013-09-09Information processing method and terminal device

Country Status (1)

CountryLink
CN (1)CN104426895B (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN105227659B (en)*2015-09-302018-12-28深圳市先河系统技术有限公司A kind of network communication method and equipment
CN106330744B (en)*2016-08-232019-08-16上海创景信息科技有限公司Network-based theme ordering system
CN108376153A (en)*2018-02-072018-08-07厦门集微科技有限公司A kind of Webpage production method and device
IT201800011108A1 (en)*2018-12-142020-06-14Telecom Italia Spa METHOD AND SYSTEM FOR PROVIDING DEDICATED SERVICES RESERVED TO A PREDEFINED SERVICE AREA
US11095460B2 (en)2019-07-052021-08-17Advanced New Technologies Co., Ltd.Certificate application operations
CN110445614B (en)*2019-07-052021-05-25创新先进技术有限公司Certificate application method and device, terminal equipment, gateway equipment and server
CN115915089A (en)*2021-09-222023-04-04维沃移动通信有限公司 Communication method, device, core network equipment and communication equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN101212474A (en)*2006-12-312008-07-02中国科学院声学研究所 A method for publishing files based on instant messaging technology
CN102438027A (en)*2012-01-172012-05-02深圳市乐唯科技开发有限公司System and method for expanding extensible messaging and presence protocol (XMPP) server open platform
CN102508722A (en)*2011-12-022012-06-20中科方德软件有限公司Inter-process communication method under embedded environment
CN103107981A (en)*2011-11-142013-05-15无锡南理工科技发展有限公司Safe content issuing/subscribing service system

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
US8725814B2 (en)*2011-02-242014-05-13International Business Machines CorporationBroker facilitated peer-to-peer publisher collaboration in a publish-subscription environment
US9760414B2 (en)*2011-05-182017-09-12International Business Machines CorporationPreserving event data for lazily-loaded macro components in a publish/subscribe system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN101212474A (en)*2006-12-312008-07-02中国科学院声学研究所 A method for publishing files based on instant messaging technology
CN103107981A (en)*2011-11-142013-05-15无锡南理工科技发展有限公司Safe content issuing/subscribing service system
CN102508722A (en)*2011-12-022012-06-20中科方德软件有限公司Inter-process communication method under embedded environment
CN102438027A (en)*2012-01-172012-05-02深圳市乐唯科技开发有限公司System and method for expanding extensible messaging and presence protocol (XMPP) server open platform

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
XEP-0060;Peter Millard等;《http://wiki.jabbercn.org/index.php?title=XEP-0060&oldid=3400》;20100712;正文第1-121页*

Also Published As

Publication numberPublication date
CN104426895A (en)2015-03-18

Similar Documents

PublicationPublication DateTitle
CN104426895B (en)Information processing method and terminal device
JP5898980B2 (en) Method, system, and storage medium for managing multiple queues of non-persistent messages in a network environment
CN106161814B (en)A kind of sound mixing method and device of Multi-Party Conference
US9037678B2 (en)Distribution of messages in system landscapes
WO2015032277A1 (en)Transmission method and device for media stream in video conference
CN109152094B (en)Wireless network connection method for terminal
US20130275504A1 (en)Community of interest networks
CN102291243A (en)Service processing server, system and method
EP3298806A1 (en)Methods and apparatus for analyzing and grouping service layer subscriptions and notifications for enhanced efficiency
CN104956649A (en)Calling an unready terminal
US10817137B2 (en)Method and system for communication between web browsers, using a unified communication environment
JP2012522326A (en) How to achieve peer-to-peer communication on the web
CN106209966A (en)Management and control end updates the method for equipment state, the treating method and apparatus of service end
Hou et al.Design and implementation of application programming interface for Internet of things cloud
CN105376194B (en)Real-time communication method, system and platform device
WO2014169736A1 (en)Terminal device and method for sharing web page among multiple screens
CN108702373A (en)Content between relevant device is shared
KR20150043533A (en)Web-based over-the-air provisioning and activation of mobile terminals
CN104219132A (en)Method and system of implementing multi-party communication as well as information server
CN112231606A (en)Webpage processing method and device
JP5877470B2 (en) Commercial communication system and method
CN115941778B (en) A method, device and storage medium for providing services
CN103856395A (en)Method and system for calling friends and making discussion on webpage
JP6532159B2 (en) Real time video communication quality evaluation method and system
JP2015118478A (en)Communication adapter device, communication system, tunnel communication method and program

Legal Events

DateCodeTitleDescription
C06Publication
PB01Publication
C10Entry into substantive examination
SE01Entry into force of request for substantive examination
GR01Patent grant
GR01Patent grant

[8]ページ先頭

©2009-2025 Movatter.jp