CN104426895A - Information processing method and terminal equipment - Google Patents

Information processing method and terminal equipment Download PDF

Info

Publication number
CN104426895A
CN104426895A CN201310407628.9A CN201310407628A CN104426895A CN 104426895 A CN104426895 A CN 104426895A CN 201310407628 A CN201310407628 A CN 201310407628A CN 104426895 A CN104426895 A CN 104426895A
Authority
CN
China
Prior art keywords
data
terminal equipment
channel
content
specific 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.)
Granted
Application number
CN201310407628.9A
Other languages
Chinese (zh)
Other versions
CN104426895B (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 Ltd filed Critical Lenovo Beijing Ltd
Priority to CN201310407628.9A priority Critical patent/CN104426895B/en
Publication of CN104426895A publication Critical patent/CN104426895A/en
Application granted granted Critical
Publication of CN104426895B publication Critical patent/CN104426895B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention provides an information processing method and terminal equipment. The information processing method is applied to first terminal equipment and comprises the following steps: establishing a first data path of a content dedicated server based on a first network protocol; creating a first channel on the content dedicated server through the first data path based on a first communication protocol, wherein the first channel is used for N second terminal equipment which is capable of subscribing the first channel through a second data path established by the first network protocol and the content dedicated server based on the first communication protocol; sending the first data to the first channel of the content dedicated server through the first data path through the first communication protocol so that each second terminal equipment can obtain the first data from the first channel of the content dedicated server based on the first communication protocol through a second data path and display the first data in a browser of the second terminal equipment. Therefore, the data communication among terminal equipment is realized, the user convenience is prompted, and the communication performance is enhanced.

Description

Information processing method and terminal equipment
Technical field
The present invention relates to information processing method and terminal equipment.
Background technology
At present, the kind of the terminal equipment of individual is original more, such as phone, panel computer, desktop computer, TV, digital camera etc., and it is also more and more general that user has multiple terminal equipment.In this case, user may wish that the demand using a terminal equipment of individual to visit other terminal equipment gets more and more, and equally, user accesses the terminal equipment of other users demand by the terminal equipment of its people exists too.
Therefore, need a kind of information processing method, make it possible to the data not obtained the transmission of other terminal equipment by terminal equipment via direct communication each other.
Summary of the invention
Therefore, the present invention is made for above-mentioned problems of the prior art and demand.
The object of the embodiment of the present invention is to provide a kind of information processing method and terminal equipment, can obtain the data of other terminal equipment to make terminal equipment by content-specific server to other terminal equipment distributing data.
According to an aspect of the embodiment of the present invention, provide a kind of information processing method, be applied to first terminal equipment, described method comprises: the first data channel setting up content-specific server based on first network agreement; On described content-specific server, create the first channel by described first data channel based on the first communication protocol, the second data channel that described first channel is set up by described first network agreement and described content-specific server based on described first communication protocol for N number of second terminal equipment can subscribe to described first channel; And, by described first data channel, the first data are sent to described first channel of described content-specific server based on described first communication protocol, obtain described first data by described second data channel from described first channel of described content-specific server based on described first communication protocol to make each second terminal equipment in described N number of second terminal equipment and in the browser of described second terminal equipment, show described first data.
In above-mentioned information processing method, describedly on described content-specific server, create the first channel by described first data channel based on described first communication protocol, described first channel can be subscribed to described first channel based on described first communication protocol by the second data channel that described first network agreement and described content-specific server are set up for N number of second terminal equipment and specifically comprise: the second identification information of the first identification information of described content-specific server and described first channel is sent to generic server, second identification information of the first identification information and described first channel that obtain described content-specific server from described generic server to make described N number of second terminal equipment sends to generic server, wherein, described N number of second terminal equipment uses the first identification information of described content server to set up described second data channel based on described first communication protocol by described first network agreement and described content-specific server, and described N number of second terminal equipment uses the second identification information of described first channel to make described second data channel can subscribe to described first channel.
In above-mentioned information processing method, described first terminal equipment has first user identification information, and described second terminal equipment has the second user totem information, and described first user identification information is identical with described second user totem information.
In above-mentioned information processing method, described second terminal equipment is created the second channel by described second data channel based on described first communication protocol and by described second data channel, the second data is sent to described second channel of described content-specific server based on described first communication protocol on described content-specific server, and described method comprises further: described first terminal equipment obtains described second data by described first data channel from described second channel of described content-specific server based on described first communication protocol and in the browser of described first terminal equipment, shows described second data.
In above-mentioned information processing method, comprise further: be the 3rd data by described first Data Update; With described first channel by described first data channel, described 3rd data being sent to described content-specific server based on described first communication protocol, obtain described three data by described second data channel from described first channel of described content-specific server based on described first communication protocol to make each second terminal equipment in described N number of second terminal equipment and in the browser of described second terminal equipment, show described 3rd data.
In above-mentioned information processing method, described first network agreement is for simulating the long procotol be connected with described content-specific server.
In above-mentioned information processing method, described first communication protocol is for sending data to be distributed to other terminal equipment and to make other terminal equipment subscription data to obtain the communication protocol of data from described content-specific server to described content-specific server.
In above-mentioned information processing method, describedly make each second terminal equipment in described N number of second terminal equipment in the browser of described second terminal equipment, show described first data specifically to comprise: described second terminal equipment runs the system program of described second terminal equipment this locality, to create a display interface in the browser of described second terminal equipment; The system program of described second terminal equipment this locality resolves described first data, to play up in described display interface and to show the content of described first data.
According to the another aspect of the embodiment of the present invention, provide a kind of terminal equipment, comprising: Path Setup unit, be configured to the first data channel setting up content-specific server based on first network agreement; Channel sets up unit, be configured on described content-specific server, create the first channel by described first data channel based on the first communication protocol, the second data channel that described first channel is set up by described first network agreement and described content-specific server based on described first communication protocol for other terminal equipment N number of can subscribe to described first channel; And, data publication unit, be configured to described first channel by described first data channel, the first data being sent to described content-specific server based on described first communication protocol, obtain described first data by described second data channel from described first channel of described content-specific server based on described first communication protocol to make other terminal equipment each in described other terminal equipment N number of and in the browser of described second terminal equipment, show described first data.
In above-mentioned terminal equipment, described channel is set up unit and is specifically comprised: information transmitting unit, be configured to the second identification information of the first identification information of described content-specific server and described first channel to send to generic server, the second identification information of the first identification information and described first channel that obtain described content-specific server from described generic server to make described other terminal equipment N number of sends to generic server; Wherein, described other terminal equipment N number of uses the first identification information of described content server to set up described second data channel based on described first communication protocol by described first network agreement and described content-specific server, and described N number of second terminal equipment uses the second identification information of described first channel to make described second data channel can subscribe to described first channel.
In above-mentioned terminal equipment, there is first user identification information further, and other terminal equipment described has the second user totem information, and described first user identification information is identical with described second user totem information.
In above-mentioned terminal equipment, other terminal equipment described is created the second channel by described second data channel based on described first communication protocol and by described second data channel, the second data is sent to described second channel of described content-specific server based on described first communication protocol on described content-specific server, described terminal equipment obtains described second data by described first data channel from described second channel of described content-specific server based on described first communication protocol and in the browser of described terminal equipment, shows described second data.
In above-mentioned terminal equipment, comprise further: data updating unit, being configured to described first Data Update is the 3rd data; And, described data publication unit is further configured to described first channel by described first data channel, described 3rd data being sent to described content-specific server based on described first communication protocol, obtains described 3rd data and in the browser of described second terminal equipment, show described 3rd data to make other terminal equipment each in described other terminal equipment N number of based on described first communication protocol by described second data channel from described first channel of described content-specific server.
In above-mentioned terminal equipment, described first network agreement is for simulating the long procotol be connected with described content-specific server.
In above-mentioned terminal equipment, described first communication protocol is for sending data to be distributed to other terminal equipment and to make other terminal equipment subscription data to obtain the communication protocol of data from described content-specific server to described content-specific server.
In above-mentioned terminal equipment, comprise further: data receipt unit, be configured to obtain described second data by described first data channel from described second channel of described content-specific server based on described first communication protocol; Interface creating unit, is configured to the system program running described terminal equipment this locality, to create a display interface in the browser of described terminal equipment; And indicative control unit, be configured to run local system program to resolve described second data, to play up in described display interface and to show the content of described second data.
By according to the information processing method of the embodiment of the present invention and terminal equipment, each terminal equipment can use content-specific server to carry out distributing data to other terminal equipment or from other terminal equipment subscription data, thus the data communication achieved between each terminal equipment, facilitate user's facility, and enhance communication performance.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, be briefly described to the accompanying drawing used required in embodiment or description of the prior art below, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 is the indicative flowchart of the information processing method according to the embodiment of the present invention;
Fig. 2 is the schematic diagram of an example of the application scenarios of information processing method according to the embodiment of the present invention;
Fig. 3 is the schematic diagram of another example of the application scenarios of information processing method according to the embodiment of the present invention;
Fig. 4 is the schematic block diagram of the terminal equipment according to the embodiment of the present invention.
Embodiment
Below, by the information processing method described in detail by reference to the accompanying drawings according to the embodiment of the present invention and terminal equipment.
According to an aspect of the embodiment of the present invention, provide a kind of information processing method, be applied to first terminal equipment, described method comprises: the first data channel setting up content-specific server based on first network agreement; On described content-specific server, create the first channel by described first data channel based on the first communication protocol, the second data channel that described first channel is set up by described first network agreement and described content-specific server based on described first communication protocol for N number of second terminal equipment can subscribe to described first channel; By described first data channel, the first data are sent to described first channel of described content-specific server based on described first communication protocol, obtain described first data by described second data channel from described first channel of described content-specific server based on described first communication protocol to make each second terminal equipment in described N number of second terminal equipment and in the browser of described second terminal equipment, show described first data.
By the information processing method according to the embodiment of the present invention, first terminal equipment does not need to set up direct data cube computation with other N number of second terminal equipment, but the data communication that can be realized by content-specific server between the second terminal equipment, thus solve the problem that cannot realize data interchange in prior art between each terminal equipment, enhance its communication ability of terminal equipment, and greatly facilitate the facility of user's use.
Fig. 1 is the indicative flowchart of the information processing method according to the embodiment of the present invention.As shown in Figure 1, according to the information processing method of the embodiment of the present invention, be applied to first terminal equipment, the method comprises: S1, sets up the first data channel of content-specific server based on first network agreement; S2, on described content-specific server, create the first channel by described first data channel based on the first communication protocol, the second data channel that described first channel is set up by described first network agreement and described content-specific server based on described first communication protocol for N number of second terminal equipment can subscribe to described first channel; S3, by described first data channel, the first data are sent to described first channel of described content-specific server based on described first communication protocol, obtain described first data by described second data channel from described first channel of described content-specific server based on described first communication protocol to make each second terminal equipment in described N number of second terminal equipment and in the browser of described second terminal equipment, show described first data.
Below, composition graphs 2 is described in detail the application scenarios of the information processing method according to the embodiment of the present invention.
Fig. 2 is the schematic diagram of an example of the application scenarios of information processing method according to the embodiment of the present invention.As shown in Figure 2, first terminal equipment 100 can carry out data communication with content-specific server 200, and N number of second terminal equipment 300-1 to 300-N also can carry out data communication with content-specific server 200.When first terminal equipment 100 wishes to issue the data of first terminal equipment 100 this locality to other N number of second terminal equipment 300-1 to 300-N, first terminal equipment 100 is established to the first data channel 101 of content-specific server 200 based on first network agreement, and based on the first communication protocol, on content-specific server 200, the first channel 102 is created by described first data channel, similarly, N number of second terminal equipment 300-1 to 300-N also can based on same first network agreement, be established to the second data channel 301-1 to 301-N of content-specific server 200, and, based on the first same communication protocol, on content-specific server 200, the second channel 302-1 to 302-N is created by the second data channel 301-1 to 301-N.In fig. 2, clear in order to what describe, illustrate only N number of second terminal equipment 300-1 to 300-N set up to the second data channel 301-1 in the second data channel of content-specific server 200, and the second channel 302-1 in the second channel 302-1 to the 302-N created, and other the second data communication and the second channel are not shown.But, it will be appreciated by those skilled in the art that, when having N number of second terminal equipment, each second terminal equipment can be established to the second data channel of content-specific server 200 based on first network agreement, and based on the first communication protocol, on content-specific server 200, create corresponding second channel by the second data channel.
Like this, when first terminal equipment and the second terminal equipment create corresponding first channel and the second channel on content-specific server, the first data channel 101 that first terminal equipment 100 is set up can subscribe to the second channel 302-1 that the second terminal equipment 300-1 creates, further, the second data channel 301-1 that the second terminal equipment 300-1 sets up also can subscribe to the first channel 102 that first terminal equipment 100 creates.In an embodiment of the present invention, term " subscription " refers to the data communication between the channel set up on data channel and content-specific server, makes it possible to obtain data by data channel from the channel of content-specific server.
Afterwards, when the first data are sent to the first channel 102 of content-specific server 200 based on the first communication protocol by the first data channel 101 by first terminal equipment 100, each second terminal equipment in second terminal equipment 300-1 to 300-N can based on the first identical communication protocol, pass through the second set up data channel 301-1 to 301-N and obtain this first data from the first channel 102 of content-specific server 200, and in the browser of the second terminal equipment 300-1 to 300-N, show these first data further.Like this, first data can be shared with other the second terminal equipment 300-1 to 300-N by first terminal equipment 100 by content-specific server 200, thus make the second terminal equipment 300-1 to 300-N in the browser of its equipment itself, show these first data.
In above-mentioned information processing method, describedly on described content-specific server, create the first channel by described first data channel based on described first communication protocol, described first channel can be subscribed to described first channel based on described first communication protocol by the second data channel that described first network agreement and described content-specific server are set up for N number of second terminal equipment and specifically comprise: the second identification information of the first identification information of described content-specific server and described first channel is sent to generic server, second identification information of the first identification information and described first channel that obtain described content-specific server from described generic server to make described N number of second terminal equipment sends to generic server, wherein, described N number of second terminal equipment uses the first identification information of described content server to set up described second data channel based on described first communication protocol by described first network agreement and described content-specific server, and described N number of second terminal equipment uses the second identification information of described first channel to make described second data channel can subscribe to described first channel.
According in the information processing method of the embodiment of the present invention, due to cannot direct data communication be carried out between first terminal equipment and the second terminal equipment, when first terminal equipment sets up data channel with distributing data on content-specific server, second terminal equipment needs to know first terminal equipment establishes data channel on which content-specific server, and establishes which data channel on this content-specific server.Therefore, the first identification information that first terminal equipment is set up the content-specific server of data channel sends to generic server with the second identification information of the data channel set up, like this, second terminal equipment can obtain the information of the data channel that first terminal equipment is set up from generic server, obtain the data of first terminal equipment issue with the data channel set up from first terminal equipment.
Fig. 3 is the schematic diagram of another example of the application scenarios of information processing method according to the embodiment of the present invention.As shown in Figure 3, clear in order to what describe, illustrate only second terminal equipment 600 in figure 3.With similar in Fig. 2, first terminal equipment 400 is based on first network agreement, establish the first data channel 401 of content-specific server 500, and based on the first communication protocol, on content-specific server 500, create the first channel 402 by the first data channel 401.Further, the second identification information of the first identification information of content-specific server 500 and the first channel 402 is sent to generic server 700 by first terminal equipment 400.Second terminal equipment 600, from after generic server 700 obtains the first identification information of content-specific server 500 and the second identification information of the first channel 402, just knows the data channel needing to be established to content server 500.Therefore, the second terminal equipment 600 based on first network agreement, can be established to the second data channel 601 of content-specific server 500.Further, when obtaining the second identification information of the first channel 402, the second data channel 601 of the second terminal equipment 600 subscribes to the first channel 402 on this content-specific server 500.
Here, it will be appreciated by those skilled in the art that, chosen content private server and the communication server should be come according to concrete network environment, and use corresponding first network agreement and the first communication protocol to carry out the above-mentioned information processing method according to the embodiment of the present invention.Such as, content-specific server can be the XMPP server of standard, such as Gtalk, first network agreement can be Bosh agreement, BOSH(Bidirectional-streams Over Synchronous HTTP) be a kind of technology of being carried out client and server two-way communication between client and server end by the request/response of HTTP, define in the XEP-0124 of BOSH in XMPP series of canonical, its application scenario is the client-access XMPP server based on browser.And the first communication protocol can be the Sub/Pub(publish/subscribe of XMPP) mechanism.Further, generic server can be other server of the public connection of each terminal equipment in network, and such as, Legend Company is used for the public Lenovo server of each terminal equipment.
Certainly, those skilled in the art are appreciated that first terminal equipment also may not need the identification information of content-specific server and the identification information of the channel created to inform to the second terminal equipment equally.Such as, when having arranged the certain content private server used and the channel created between each terminal equipment, the data channel that the second terminal equipment is set up directly can subscribe to the channel of this agreement from the content-specific server of agreement.
Here, the exploitation that the appearance of HTML 5 makes terminal equipment apply has a very large change, it makes the application of each terminal equipment can use same development language to develop, like this, all use the environment of HTML 5 at each terminal equipment under, just can utilize the data interchange carrying out between each terminal equipment according to the information processing method of the embodiment of the present invention, such as, when the resource of a terminal equipment or service there occurs change, other terminal equipment can be notified.
In addition, how the Pub/Sub model definition in network is issued and subscribe message to a content node, and these nodes are commonly referred to as theme (topic).Theme can be considered to the transmission intermediary of message, and publisher (publisher) gives out information theme, and subscriber (subscriber) is from theme subscribe message.Further, theme makes message subscribing person and message issuer keep mutual independence, do not need to contact the transmission that can ensure message.
According in the information processing method of the embodiment of the present invention, suppose under the environment of HTML 5, terminal equipment carries out data by Bosh agreement, the issue of such as resource status, thus (namely foundation be exclusively used in the channel of data publication in XMPP server, above-mentioned theme), and adopt the Pub/Sub mechanism of the standard of XMPP by data publication to this XMPP server.Like this, other terminal equipment also can be established to the data channel of XMPP server equally by Bosh agreement, and subscribes to this channel, to obtain the data that this terminal equipment is issued.
Adopt the information processing method according to the embodiment of the present invention, only need development on the terminal device, and do not need the exploitation carrying out particular server, and, in the environment of HTML 5, the use of applying under also just meeting HTML 5 environment without the need to modifying to Webkit core, thus greatly saved development cost.
In above-mentioned information processing method, described first terminal equipment has first user identification information, and described second terminal equipment has the second user totem information, and described first user identification information is identical with described second user totem information.
As previously mentioned, according in the information processing method of the embodiment of the present invention, each terminal equipment can be the different terminal equipment of same user, also can the terminal equipment of different user, such as, first terminal equipment and the second terminal equipment can be mobile phone and the panel computer of same user A, and first terminal equipment and the second terminal equipment also can be the mobile phones of different user A and B, or the panel computer of the mobile phone of user A and user B.Like this, at first terminal equipment, there is the first user identification information for identifying its user, and the second terminal equipment is when having the second user totem information for identifying its user, first user identification information may be identical with the second user totem information, that is, represent that first terminal equipment and the second terminal equipment belong to same user.
In above-mentioned information processing method, when described second terminal equipment creates the second channel by described second data channel based on described first communication protocol and the second data is sent to described second channel of described content-specific server based on described first communication protocol by described second data channel on described content-specific server, described first terminal equipment obtains described second data by described first data channel from described second channel of described content-specific server based on described first communication protocol and in the browser of described first terminal equipment, shows described second data.
As mentioned above, according in the information processing method of the embodiment of the present invention, under embody rule scene, each terminal equipment both can be the publisher of data, also can be the subscriber of data.Later with reference to figure 2, at N number of second terminal equipment 300-1 to 300-N based on first network agreement, establish the second data channel 301-1 to 301-N of content-specific server 200, and, based on the first communication protocol, when creating the second channel 302-1 to 302-N by the second data channel 301-1 to 301-N on content-specific server 200.First data channel 101 of first terminal equipment 100 also can subscribe to second channel 302-1 to the 302-N of other second terminal equipment 300-1 to 300-N, thus obtains corresponding data from the second channel 302-1 to 302-N.Further, each second data channel 301-1 to 301-N of each second terminal equipment 300-1 to 300-N also can according to actual needs subscription the second channel 302-1 to 302-N each other.It will be understood by those skilled in the art that the embodiment of the present invention is not intended to limit arbitrarily this.
In above-mentioned information processing method, comprise further: be the 3rd data by described first Data Update; With described first channel by described first data channel, described 3rd data being sent to described content-specific server based on described first communication protocol, obtain described three data by described second data channel from described first channel of described content-specific server based on described first communication protocol to make each second terminal equipment in described N number of second terminal equipment and in the browser of described second terminal equipment, show described 3rd data.
As mentioned above, when the change of resource and service occurs in a terminal equipment, wish that other terminal equipment also can know the change of this resource and service.Therefore, dynamically updating according to the same supported data of the information processing method of the embodiment of the present invention.That is, when the data in first terminal equipment change, the data after upgrading are issued by data channel by first terminal equipment, and other terminal equipment that have subscribed data channel just can obtain the data after the renewal of this issue.
In above-mentioned information processing method, described first network agreement is for simulating the long procotol be connected with described content-specific server.
Specifically, in the XMPP server that content-specific server can be standard, such as Gtalk, first network agreement is Bosh agreement, and the first communication protocol is the Sub/Pub(publish/subscribe of XMPP) mechanism when, this first network agreement is used for long connection the with http protocol simulation Transmission Control Protocol, thus realizes the XMPP server that first terminal equipment is established to standard, the data channel of such as Gtalk.
Described first communication protocol is for sending data to be distributed to other terminal equipment and to make other terminal equipment subscription data to obtain the communication protocol of data from described content-specific server to described content-specific server.
According to the Pub/Sub model in above-described network, first channel is actually the content publisher node that first terminal equipment is set up on content-specific server, and, other second data channel to content-specific server of the second terminal equipment by setting up, this content publisher node can be subscribed to, just be equivalent to utilize this second data channel to monitor this first channel, to obtain the data content that first terminal equipment is issued from the first channel.
In above-mentioned information processing method, describedly make each second terminal equipment in described N number of second terminal equipment in the browser of described second terminal equipment, show described first data specifically to comprise: described second terminal equipment runs the system program of described second terminal equipment this locality, to create a display interface in the browser of described second terminal equipment; The system program of described second terminal equipment this locality resolves described first data, to play up in described display interface and to show the content of described first data.
Such as, in the environment of HTML 5 as described above, because Bosh is the issue being carried out data by the mechanism of webpage, the second terminal equipment can run local Javascript script, thus in the browser of this locality, create the display interface for showing received data.Further, after received the data that first terminal equipment issues in the first channel by the second data channel, these data can be resolved thus play up in above-mentioned display interface and show the content of these data.Like this, user can check by browser the data that other terminal equipment is issued, such as, and the change in resources situation of terminal equipment.
As mentioned above, suppose under the environment of HTML 5, terminal equipment realizes carrying based on the XMPP message of HTML 5 by Bosh agreement, and utilizes the Pub/Sub mechanism of the standard of XMPP, realizes resource to the issue of XMPP server, subscription and state notifying.By expanding XMPP, thus be supported in the description of XMPP layer to resource status, other terminal equipment can subscribe to the node of publish resource, with Real-time Obtaining change in resources situation.Such as, complete agreement describe and flow process as follows:
First, user A creates a publish resource node in XMPP server.
Then, user B subscribes to this node, the change in resources situation with user in real A:
User A may issue, upgrades or delete a resource.
Specifically, issue a resource at user A, as user A issue one piece of storage resources, a print service etc. time:
Or, when user A upgrades a resource, when the storage resources size as user A issue there occurs change:
By or, when user A deletes a resource, as user A no longer issue storage resources time:
Like this, user B obtains resource updates message:
By the information processing method according to the embodiment of the present invention, different terminal equipment by data interchange each other between content-specific server, thus can realize data sharing when not having direct data communication each other.
According to the another aspect of the embodiment of the present invention, provide a kind of terminal equipment, comprising: Path Setup unit, be configured to the first data channel setting up content-specific server based on first network agreement; Channel sets up unit, be configured on described content-specific server, create the first channel by described first data channel based on the first communication protocol, the second data channel that described first channel is set up by described first network agreement and described content-specific server based on described first communication protocol for other terminal equipment N number of can subscribe to described first channel; With described first channel by described first data channel, the first data being sent to described content-specific server based on described first communication protocol, obtain described first data by described second data channel from described first channel of described content-specific server based on described first communication protocol to make other terminal equipment each in described other terminal equipment N number of and in the browser of described second terminal equipment, show described first data.
Fig. 4 is the schematic block diagram of the terminal equipment according to the embodiment of the present invention.As shown in Figure 4, the terminal equipment 10 according to the embodiment of the present invention comprises: Path Setup unit 11, is configured to the first data channel setting up content-specific server based on first network agreement; Channel sets up unit 12, be configured on described content-specific server, create the first channel by described first data channel based on the first communication protocol, the second data channel that described first channel is set up by described first network agreement and described content-specific server based on described first communication protocol for other terminal equipment N number of can subscribe to described first channel; With data publication unit 13, be configured to described first channel by described first data channel, the first data being sent to described content-specific server based on described first communication protocol, obtain described first data by described second data channel from described first channel of described content-specific server based on described first communication protocol to make other terminal equipment each in described other terminal equipment N number of and in the browser of described second terminal equipment, show described first data.
In above-mentioned terminal equipment, described channel is set up unit and is specifically comprised: information transmitting unit, be configured to the second identification information of the first identification information of described content-specific server and described first channel to send to generic server, the second identification information of the first identification information and described first channel that obtain described content-specific server from described generic server to make described other terminal equipment N number of sends to generic server; Wherein, described other terminal equipment N number of uses the first identification information of described content server to set up described second data channel based on described first communication protocol by described first network agreement and described content-specific server, and described N number of second terminal equipment uses the second identification information of described first channel to make described second data channel can subscribe to described first channel.
In above-mentioned terminal equipment, there is first user identification information further, and other terminal equipment described has the second user totem information, and described first user identification information is identical with described second user totem information.
In above-mentioned terminal equipment, when other terminal equipment described creates the second channel by described second data channel based on described first communication protocol and the second data is sent to described second channel of described content-specific server based on described first communication protocol by described second data channel on described content-specific server, described terminal equipment obtains described second data by described first data channel from described second channel of described content-specific server based on described first communication protocol and in the browser of described terminal equipment, shows described second data.
In above-mentioned terminal equipment, comprise further: data updating unit, being configured to described first Data Update is the 3rd data; And, described data publication unit is further configured to described first channel by described first data channel, described 3rd data being sent to described content-specific server based on described first communication protocol, obtains described 3rd data and in the browser of described second terminal equipment, show described 3rd data to make other terminal equipment each in described other terminal equipment N number of based on described first communication protocol by described second data channel from described first channel of described content-specific server.
In above-mentioned terminal equipment, described first network agreement is for simulating the long procotol be connected with described content-specific server.
In above-mentioned terminal equipment, described first communication protocol is for sending data to be distributed to other terminal equipment and to make other terminal equipment subscription data to obtain the communication protocol of data from described content-specific server to described content-specific server.
In above-mentioned terminal equipment, comprise further: data receipt unit, be configured to obtain described second data by described first data channel from described second channel of described content-specific server based on described first communication protocol; Interface creating unit, is configured to the system program running described terminal equipment this locality, to create a display interface in the browser of described terminal equipment; And indicative control unit, be configured to run local system program to resolve described second data, to play up in described display interface and to show the content of described second data.
Here, it will be understood by those skilled in the art that according to other details of the terminal equipment of the embodiment of the present invention identical according to the corresponding part in the information processing method of the embodiment of the present invention with above-described, therefore, for the sake of simplicity, just repeat no more here.
By according to the information processing method of the embodiment of the present invention and terminal equipment, each terminal equipment can use content-specific server to carry out distributing data to other terminal equipment or from other terminal equipment subscription data, thus the data communication achieved between each terminal equipment, facilitate user's facility, and enhance communication performance.
The present invention has been described in detail with reference to specific embodiment.But clearly, when not deviating from spirit of the present invention, those skilled in the art can perform change to embodiment and replace.In other words, the form that the present invention illustrates is open, instead of explains with being limited.Judge main idea of the present invention, appended claim should be considered.

Claims (16)

1. an information processing method, is applied to first terminal equipment, and described method comprises:
The first data channel of content-specific server is set up based on first network agreement;
On described content-specific server, create the first channel by described first data channel based on the first communication protocol, the second data channel that described first channel is set up by described first network agreement and described content-specific server based on described first communication protocol for N number of second terminal equipment can subscribe to described first channel;
By described first data channel, the first data are sent to described first channel of described content-specific server based on described first communication protocol, obtain described first data by described second data channel from described first channel of described content-specific server based on described first communication protocol to make each second terminal equipment in described N number of second terminal equipment and in the browser of described second terminal equipment, show described first data.
2. information processing method according to claim 1, wherein, describedly creates the first channel by described first data channel based on described first communication protocol and specifically comprises on described content-specific server:
Second identification information of the first identification information of described content-specific server and described first channel is sent to generic server, second identification information of the first identification information and described first channel that obtain described content-specific server from described generic server to make described N number of second terminal equipment sends to generic server
Wherein, described N number of second terminal equipment uses the first identification information of described content server to set up described second data channel based on described first communication protocol by described first network agreement and described content-specific server, and
Described N number of second terminal equipment uses the second identification information of described first channel to make described second data channel can subscribe to described first channel.
3. information processing method according to claim 1, wherein, described first terminal equipment has first user identification information, and described second terminal equipment has the second user totem information, further, described first user identification information is identical with described second user totem information.
4. information processing method according to claim 1, wherein, described second terminal equipment is created the second channel by described second data channel based on described first communication protocol and by described second data channel, the second data is sent to described second channel of described content-specific server based on described first communication protocol on described content-specific server
Described method comprises further:
Described first terminal equipment obtains described second data by described first data channel from described second channel of described content-specific server based on described first communication protocol and in the browser of described first terminal equipment, shows described second data.
5. information processing method according to claim 1, comprises further,
Be the 3rd data by described first Data Update; With
By described first data channel, described 3rd data are sent to described first channel of described content-specific server based on described first communication protocol, obtain described three data by described second data channel from described first channel of described content-specific server based on described first communication protocol to make each second terminal equipment in described N number of second terminal equipment and in the browser of described second terminal equipment, show described 3rd data.
6. information processing method according to claim 1, wherein,
Described first network agreement is for simulating the long procotol be connected with described content-specific server.
7. information processing method according to claim 1, wherein,
Described first communication protocol is for sending data to be distributed to other terminal equipment and to make other terminal equipment subscription data to obtain the communication protocol of data from described content-specific server to described content-specific server.
8. information processing method according to claim 1, wherein,
Describedly make each second terminal equipment in described N number of second terminal equipment in the browser of described second terminal equipment, show described first data specifically to comprise:
Described second terminal equipment runs the system program of described second terminal equipment this locality, to create a display interface in the browser of described second terminal equipment;
The system program of described second terminal equipment this locality resolves described first data, to play up in described display interface and to show the content of described first data.
9. a terminal equipment, comprising:
Path Setup unit, is configured to the first data channel setting up content-specific server based on first network agreement,
Channel sets up unit, be configured on described content-specific server, create the first channel by described first data channel based on the first communication protocol, the second data channel that described first channel is set up by described first network agreement and described content-specific server based on described first communication protocol for other terminal equipment N number of can subscribe to described first channel;
Data publication unit, be configured to described first channel by described first data channel, the first data being sent to described content-specific server based on described first communication protocol, obtain described first data by described second data channel from described first channel of described content-specific server based on described first communication protocol to make other terminal equipment each in described other terminal equipment N number of and in the browser of described second terminal equipment, show described first data.
10. terminal equipment according to claim 9, wherein, described channel is set up unit and is specifically comprised:
Information transmitting unit, the second identification information of the first identification information of described content-specific server and described first channel is configured to send to generic server, second identification information of the first identification information and described first channel that obtain described content-specific server from described generic server to make described other terminal equipment N number of sends to generic server
Wherein, described other terminal equipment N number of uses the first identification information of described content server to set up described second data channel based on described first communication protocol by described first network agreement and described content-specific server, and described N number of second terminal equipment uses the second identification information of described first channel to make described second data channel can subscribe to described first channel.
11. terminal equipments according to claim 9, have first user identification information further, and other terminal equipment described has the second user totem information, and described first user identification information is identical with described second user totem information.
12. terminal equipments according to claim 9, wherein, when other terminal equipment described creates the second channel by described second data channel based on described first communication protocol and the second data is sent to described second channel of described content-specific server based on described first communication protocol by described second data channel on described content-specific server
Described terminal equipment obtains described second data by described first data channel from described second channel of described content-specific server based on described first communication protocol further and in the browser of described terminal equipment, shows described second data.
13. terminal equipments according to claim 9, comprise further,
Data updating unit, being configured to described first Data Update is the 3rd data; With
Described data publication unit is further configured to described first channel by described first data channel, described 3rd data being sent to described content-specific server based on described first communication protocol, obtains described 3rd data and in the browser of described second terminal equipment, show described 3rd data to make other terminal equipment each in described other terminal equipment N number of based on described first communication protocol by described second data channel from described first channel of described content-specific server.
14. terminal equipments according to claim 9, wherein,
Described first network agreement is for simulating the long procotol be connected with described content-specific server.
15. terminal equipments according to claim 9, wherein,
Described first communication protocol is for sending data to be distributed to other terminal equipment and to make other terminal equipment subscription data to obtain the communication protocol of data from described content-specific server to described content-specific server.
16. terminal equipments according to claim 12, comprise further:
Data receipt unit, is configured to obtain described second data by described first data channel from described second channel of described content-specific server based on described first communication protocol;
Interface creating unit, is configured to the system program running described terminal equipment this locality, to create a display interface in the browser of described terminal equipment; With
Indicative control unit, is configured to run local system program to resolve described second data, to play up in described display interface and to show the content of described second data.
CN201310407628.9A 2013-09-09 2013-09-09 Information processing method and terminal device Active CN104426895B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310407628.9A CN104426895B (en) 2013-09-09 2013-09-09 Information processing method and terminal device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310407628.9A CN104426895B (en) 2013-09-09 2013-09-09 Information processing method and terminal device

Publications (2)

Publication Number Publication Date
CN104426895A true CN104426895A (en) 2015-03-18
CN104426895B CN104426895B (en) 2018-07-03

Family

ID=52974841

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310407628.9A Active CN104426895B (en) 2013-09-09 2013-09-09 Information processing method and terminal device

Country Status (1)

Country Link
CN (1) CN104426895B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106330744A (en) * 2016-08-23 2017-01-11 上海创景计算机系统有限公司 Network-based topic subscription system
WO2017054456A1 (en) * 2015-09-30 2017-04-06 深圳市先河系统技术有限公司 A method and device for network communications
CN108376153A (en) * 2018-02-07 2018-08-07 厦门集微科技有限公司 A kind of Webpage production method and device
CN110445614A (en) * 2019-07-05 2019-11-12 阿里巴巴集团控股有限公司 Certificate request method, apparatus, terminal device, gateway and server
US11095460B2 (en) 2019-07-05 2021-08-17 Advanced New Technologies Co., Ltd. Certificate application operations

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101212474A (en) * 2006-12-31 2008-07-02 中国科学院声学研究所 Instant messaging based file publishing method
CN102438027A (en) * 2012-01-17 2012-05-02 深圳市乐唯科技开发有限公司 System and method for expanding extensible messaging and presence protocol (XMPP) server open platform
CN102508722A (en) * 2011-12-02 2012-06-20 中科方德软件有限公司 Inter-process communication method under embedded environment
US20120221650A1 (en) * 2011-02-24 2012-08-30 International Business Machines Corporation Broker facilitated peer-to-peer publisher collaboration in a publish-subscription environment
US20120296939A1 (en) * 2011-05-18 2012-11-22 International Business Machines Corporation Preserving event data for lazily-loaded macro components in a publish/subscribe system
CN103107981A (en) * 2011-11-14 2013-05-15 无锡南理工科技发展有限公司 Safe content issuing/subscribing service system

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101212474A (en) * 2006-12-31 2008-07-02 中国科学院声学研究所 Instant messaging based file publishing method
US20120221650A1 (en) * 2011-02-24 2012-08-30 International Business Machines Corporation Broker facilitated peer-to-peer publisher collaboration in a publish-subscription environment
US20120296939A1 (en) * 2011-05-18 2012-11-22 International Business Machines Corporation Preserving event data for lazily-loaded macro components in a publish/subscribe system
CN103107981A (en) * 2011-11-14 2013-05-15 无锡南理工科技发展有限公司 Safe content issuing/subscribing service system
CN102508722A (en) * 2011-12-02 2012-06-20 中科方德软件有限公司 Inter-process communication method under embedded environment
CN102438027A (en) * 2012-01-17 2012-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
PETER MILLARD等: "XEP-0060", 《HTTP://WIKI.JABBERCN.ORG/INDEX.PHP?TITLE=XEP-0060&OLDID=3400》 *

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017054456A1 (en) * 2015-09-30 2017-04-06 深圳市先河系统技术有限公司 A method and device for network communications
CN106330744A (en) * 2016-08-23 2017-01-11 上海创景计算机系统有限公司 Network-based topic subscription system
CN106330744B (en) * 2016-08-23 2019-08-16 上海创景信息科技有限公司 Network-based theme ordering system
CN108376153A (en) * 2018-02-07 2018-08-07 厦门集微科技有限公司 A kind of Webpage production method and device
CN110445614A (en) * 2019-07-05 2019-11-12 阿里巴巴集团控股有限公司 Certificate request method, apparatus, terminal device, gateway and server
US11095460B2 (en) 2019-07-05 2021-08-17 Advanced New Technologies Co., Ltd. Certificate application operations

Also Published As

Publication number Publication date
CN104426895B (en) 2018-07-03

Similar Documents

Publication Publication Date Title
CN104394191A (en) Method, control terminal, and system for remotely controlling mobile terminal
WO2015032277A1 (en) Transmission method and device for media stream in video conference
CN103650458A (en) Transmission method, device and system of media streams
CN104253856A (en) Scalable Web Real-Time Communications (WebRTC) media engines, and related method and system
CN104426895A (en) Information processing method and terminal equipment
JP2015520436A (en) Enabling web clients to provide web services
CN105407369A (en) Web application based terminal communication method and device
EP2933982B1 (en) Media stream transfer method and user equipment
CN105142011A (en) Web-based television terminal multi-screen interaction method and device
US20130275504A1 (en) Community of interest networks
US20130035079A1 (en) Method and system for establishing data commuication channels
CN106209966A (en) Management and control end updates the method for equipment state, the treating method and apparatus of service end
Khakimov et al. Investigation of methods for remote control IoT-devices based on cloud platforms and different interaction protocols
CN103167031A (en) Communication between Web applications
US10817137B2 (en) Method and system for communication between web browsers, using a unified communication environment
CN103812900A (en) Data synchronization method, device and system
CN101860549A (en) Access session data processing method under Web Service and device
CN104394067A (en) Local area network communication method and device
CN109644191A (en) System and method for configuring connected equipment connection
Hou et al. Design and implementation of application programming interface for Internet of things cloud
CN107835445B (en) MQTT protocol-based television control method, mobile terminal and television
CN102594886B (en) Method and device for direct communication between browsers, and communication system
KR20130065777A (en) Apparatus and method for sharing web contents using inspector script
CN104932452A (en) Method used for aviation bus tester remote control and system used for aviation bus tester remote control
JP6393475B2 (en) Communication adapter device, communication system, tunnel communication method, and program

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