CN101227636B - Information sharing method - Google Patents
Information sharing method Download PDFInfo
- Publication number
- CN101227636B CN101227636B CN2007100627910A CN200710062791A CN101227636B CN 101227636 B CN101227636 B CN 101227636B CN 2007100627910 A CN2007100627910 A CN 2007100627910A CN 200710062791 A CN200710062791 A CN 200710062791A CN 101227636 B CN101227636 B CN 101227636B
- Authority
- CN
- China
- Prior art keywords
- terminal
- media data
- information
- ability
- transmission direction
- 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.)
- Expired - Fee Related
Links
Images
Abstract
The invention relates to an information sharing process, which comprises that the first terminal and the second terminal conduct the exchange capacity to judge whether the opposite side has the media sharing capacity, the whole sharing process is finished if don't have, and the first terminal sends the sharing request message which carries the transport direction information to the second terminal if have, the second terminal replies the sharing confirmation message and transmits the media data according to the transport direction information which is carried by the sharing request message, wherein the media data not only is transmitted, but also is received. Therefore, the invention not only realizes that the sharing initiator of the first terminal shares the data to the sharing receiver of the second terminal, but also that the sharing receiver of the second terminal shares the data to the sharing initiator of the first terminal. The two sides can conduct the capability exchange before the sharing operation is carried out, and the sharing process is stopped when one side has not the media sharing capability, thereby avoiding the waste of the data stream, and increasing the efficiency of the data transport.
Description
Technical field
The present invention relates to a kind of information sharing method, relate in particular to a kind of by initiator's terminal initiation sharing request, to obtain the information sharing method of reciever terminal media data.
Background technology
The medium technology of sharing is meant the media data information in side's terminal is offered the technology that the opposing party's terminal is used, and needs both sides' terminal of shared data at first to set up media transmission channel, then media data is sent to Correspondent Node.Shared content can be video, audio frequency, picture etc.But the defective of prior art is: existing medium technology of sharing is only supported unidirectional media data sharing operation, be that media data can only be transferred to shared reciever from the initiator of sharing operation, the media data of sharing reciever can not be visited and share the initiator, therefore the needs that the user shares medium can not be satisfied fully.For example, the user need receive the video file of preserving in the camera-shooting and recording device by a mobile terminal remote, just can't realize this application by prior art.
In addition, the media data of having preserved in can only shared terminal in the prior art, and in the application that has, the user wishes to share the media data of real-time generation.For example, the user need obtain the video file that generates in real time in the camera-shooting and recording device by a mobile terminal remote, also can't realize by prior art.
Summary of the invention
The object of the present invention is to provide a kind of information sharing method, make that sharing the initiator can either provide the media data that need share to sharing reciever, can obtain the media data of sharing in the reciever again.
For achieving the above object, the invention provides a kind of information sharing method, comprise the steps:
Step 1, first terminal send the ability probe message that carries first terminal ability information to second terminal;
Step 2, second terminal judge according to first terminal ability information whether first terminal has medium and share ability, if have, then reply the ability probe response message that carries with corresponding second terminal ability information of first terminal ability information to first terminal, otherwise, reply the ability probe response message that does not carry second terminal ability information to first terminal;
Whether the ability probe response message that step 3, first terminal judges come from second terminal carries and corresponding second terminal ability information of first terminal ability information, be then to send the sharing request message that carries transmission direction information to second terminal, otherwise, finish the processing procedure of first terminal;
After step 4, second terminal are received sharing request message, reply and share acknowledge message.And according to the transmission direction information transmission media data of carrying in the sharing request message.
Owing to carry out both sides' terminal of sharing operation according to the transmission direction information transmission media data of carrying in the sharing request message in this method, therefore both can realize by shared initiator's first terminal also can realizing by shared reciever second terminal to shared initiator's first terminal shared data to the shared reciever second terminal shared data.And both sides' terminal was also carried out capabilities exchange before carrying out sharing operation, do not stop shared procedure when a certain side's terminal does not possess the media delivery ability, had avoided the waste of data traffic, had improved the efficient of transfer of data.
Below by drawings and Examples, technical scheme of the present invention is described in further detail.
Description of drawings
Fig. 1 is the information sharing method flow chart of the embodiment of the invention 1;
Fig. 2 is the information sharing method flow chart of the embodiment of the invention 2;
Fig. 3 is the information sharing method flow chart of the embodiment of the invention 3.
Embodiment
Embodiment 1
Present embodiment provides a kind of information sharing side that is initiated existing file among the shared terminal B by terminal A
Present embodiment provides a kind of information sharing method of being initiated existing file among the shared terminal B by terminal A.As shown in Figure 1,
Step 101, terminal A sends the ability probe message that carries terminal A ability information to terminal B.Wherein, terminal A ability information is meant information such as medium type that terminal A supports to transmit, coded format, host-host protocol, is used to offer the terminal B ability of carrying out and judges.
Step 102, terminal B judges according to the ability information of terminal A whether terminal A has medium and share ability, if having, then execution in step 110, otherwise execution in step 140.
Step 110, terminal B replys the ability probe response message that carries with terminal A ability information relevant terminal B ability information to terminal A, is used to offer the terminal A ability of carrying out and judges.Wherein, correspondingly be meant correspondingly with the kind of terminal A ability information, for example, if terminal A comprises code capacity information in the ability information that terminal B sends, then terminal B also will reply code capacity information to terminal A.And, terminal B can also inquire about the Share Permissions tabulation in this terminal, inquire and to offer the media data information that terminal A shares, this media data is for being kept at the media data among the terminal B, for example, terminal B can be a portable terminal, and media data is the video file of wherein preserving.Terminal B is carried on the ability information of the media data identifier of the media data that inquires and media data type and terminal B jointly and replies to terminal A in the ability probe response message, need to select the media data of sharing for terminal A.By the tabulation of inquiry Share Permissions, terminal B can provide different Share Permissions at different shared initiation terminals, specified file is shared given the terminal that authority is arranged.
Step 140, terminal B replys the ability probe response message that does not carry terminal B ability information to terminal A, and finishes the processing procedure of terminal B.
Step 111, terminal A judges whether the ability probe response information come from terminal B carries the ability information with the ability information relevant terminal B of terminal A, is execution in step 120 then, otherwise execution in step 150, finishes the processing procedure of terminal A.
Step 120, entrained media data identifier and media data type select to require the media data shared in the ability probe response message that terminal A sends according to terminal B, and the media data identifier of selected media data and media data type and transmission direction information is carried on jointly sends to terminal B in the sharing request message.Because terminal A initiates to want the media data of shared terminal B, therefore transmission direction is set to B to A, and promptly media data sends to A by B.
Step 121, after terminal B receives the sharing request message of terminal A transmission, reply shared acknowledge message to terminal A, and select the media data that to share according to the media data identifier that carries in this sharing request message and media data type, and send selected media data to terminal A according to transmission direction information, be about to the media data that terminal A requires to share and send to terminal A.
Step 122, after terminal A receives the shared acknowledge message of terminal B answer, the beginning receiving media data.
By above-mentioned steps, can realize that terminal A initiates the function of the media data stored among the shared terminal B.And the data of being shared have only terminal A to have the data of authority visit just can share to A through the terminal B authentication of tabling look-up, and therefore can guarantee the safety of data.In addition,, when a certain side of both sides' terminal does not possess the media delivery ability, do not stop shared procedure, avoided the waste of data traffic, improved the efficient of transfer of data because terminal A also will carry out capabilities exchange with terminal B before sending sharing request.
Embodiment 2
A kind of information sharing method of being initiated existing media data among the shared terminal B by terminal A is provided among the embodiment 1.Present embodiment provides a kind of information sharing method of being initiated the real-time media data that generates among the shared terminal B by terminal A.As shown in Figure 2,
Embodiment 3
Embodiment 1,2 has realized being initiated by terminal A the function of the media data of shared terminal B.Belong to a kind of method of oppositely sharing.In fact, this method can also be applicable to because terminal A initiates the function of the media data among the shared terminal A.As shown in Figure 3,
By above-mentioned steps, realized initiating function, and the data of being shared to be through the terminal A authentication of tabling look-up to terminal B shared data by terminal A, the data of having only terminal B to have authority to visit just can be shared to B, so can guarantee the safety of data.In addition,, when both sides' terminal does not possess the media delivery ability, do not stop shared procedure, avoided the waste of data traffic, improved the efficient of transfer of data because terminal A also will carry out capabilities exchange with terminal B before sending sharing request.
It should be noted last that, above embodiment is only unrestricted in order to technical scheme of the present invention to be described, although the present invention is had been described in detail with reference to preferred embodiment, those of ordinary skill in the art is to be understood that, can make amendment or be equal to replacement technical scheme of the present invention, and not break away from the spirit and scope of technical solution of the present invention.
Claims (13)
1. information sharing method comprises:
After second terminal receives the ability probe message that comes from first terminal, judge according to first terminal ability information that carries in this message whether first terminal has medium and share ability, if have, then reply the ability probe response message that carries second terminal ability information to first terminal, otherwise, reply the ability probe response message that does not carry second terminal ability information to first terminal; Wherein said second terminal ability information is corresponding with first terminal ability information;
After first terminal receives the ability probe response message, judge whether this message carries and corresponding second terminal ability information of first terminal ability information, be then to send the sharing request message carry transmission direction information to second terminal, otherwise, the processing procedure of first terminal finished;
Second terminal is replied shared acknowledge message after receiving sharing request message;
First terminal receive share after the acknowledge message with second terminal according to the transmission direction information transmission media data of carrying in the sharing request message.
2. information sharing method according to claim 1, wherein saidly comprise according to the transmission direction information transmission media data of carrying in the sharing request message: transmission direction information for by second terminal to first terminal transmission, second terminal sends media data according to this transmission direction information to first terminal.
3. information sharing method according to claim 2, wherein saidly reply the ability probe response message carry second terminal ability information to first terminal and draw together: the Share Permissions tabulation of preserving in second this terminal of terminal inquiry, the media data identifier of the media data that can share for first terminal and media data type and second terminal ability information are carried on jointly and reply to first terminal in the ability probe response message.
4. information sharing method according to claim 3, wherein said ability probe response message also comprises after replying to first terminal: after first terminal receives the ability probe response message that comes from second terminal, select to require the media data shared according to media data identifier entrained in this ability probe response message and media data type, and the media data identifier of selected media data and media data type and transmission direction information is carried on jointly sends to second terminal in the sharing request message.
5. information sharing method according to claim 4, wherein said second terminal send media data according to this transmission direction information to first terminal and comprise: second terminal sends media data identifier and media data type media data pointed according to transmission direction information to first terminal.
6. information sharing method according to claim 5 wherein saidly also comprises after first terminal sends media data identifier and media data type media data pointed: first terminal receives the media data that comes from second terminal according to transmission direction information.
7. according to each described information sharing method among the claim 2-6, wherein said second terminal sends media data according to this transmission direction information to first terminal and also comprises: second terminal generates media data in real time, sends the media data that generates in real time to first terminal according to this transmission direction information.
8. information sharing method according to claim 1, wherein saidly comprise according to the transmission direction information transmission media data of carrying in the sharing request message: transmission direction information for by first terminal to second terminal transmission, first terminal sends media data according to this transmission direction information to second terminal.
9. information sharing method according to claim 8, wherein saidly send the sharing request message carry transmission direction information to second terminal and comprise: the Share Permissions tabulation of preserving in first this terminal of terminal inquiry, the media data identifier of the media data that can share for second terminal and media data type are carried on and send to second terminal in the sharing request message.
10. information sharing method according to claim 9, wherein said second terminal is received to reply after the sharing request message and shared acknowledge message and comprise: second terminal is selected the media data that will share according to the media data identifier that carries in this sharing request message and media data type, the media data identifier of selected media data and media data type is carried on to share in the acknowledge message reply to terminal first terminal.
11. information sharing method according to claim 10, wherein said first terminal send media data according to this transmission direction information to second terminal and comprise: first terminal sends media data identifier and media data type media data pointed according to the shared acknowledge message that receives to second terminal.
12. information sharing method according to claim 11 wherein saidly also comprises after second terminal sends media data identifier and media data type media data pointed: second terminal receives the media data that comes from first terminal according to transmission direction information.
13. each described information sharing method according to Claim 8-12, wherein said first terminal sends media data according to this transmission direction information to second terminal and also comprises: first terminal generates media data in real time, sends the media data that generates in real time to second terminal according to this transmission direction information.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2007100627910A CN101227636B (en) | 2007-01-17 | 2007-01-17 | Information sharing method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2007100627910A CN101227636B (en) | 2007-01-17 | 2007-01-17 | Information sharing method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN101227636A CN101227636A (en) | 2008-07-23 |
CN101227636B true CN101227636B (en) | 2010-10-13 |
Family
ID=39859353
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2007100627910A Expired - Fee Related CN101227636B (en) | 2007-01-17 | 2007-01-17 | Information sharing method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN101227636B (en) |
Families Citing this family (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101651931B (en) * | 2009-09-11 | 2012-11-21 | 华为终端有限公司 | Method and device for managing multimedia information |
CN103812907B (en) * | 2012-11-14 | 2018-01-16 | 华为技术有限公司 | A kind of methods, devices and systems for determining terminal to be shared |
CN103118068B (en) * | 2012-12-26 | 2016-05-25 | 珠海金山办公软件有限公司 | Obtained the method and system of data from other data-source device by current application equipment |
CN103561281B (en) * | 2013-10-25 | 2017-10-20 | Tcl集团股份有限公司 | A kind of shared method and device of multi-medium data |
CN105282681A (en) * | 2014-07-21 | 2016-01-27 | 上海贝尔股份有限公司 | Method and service for supporting ProSe services in LTE system |
KR20170045101A (en) * | 2015-10-16 | 2017-04-26 | 삼성전자주식회사 | Electronic device and Method for sharing content thereof |
US11361148B2 (en) | 2015-10-16 | 2022-06-14 | Samsung Electronics Co., Ltd. | Electronic device sharing content with an external device and method for sharing content thereof |
CN105847272A (en) * | 2016-04-21 | 2016-08-10 | 乐视控股(北京)有限公司 | Method and device for personal information exchange |
CN106303679B (en) * | 2016-08-30 | 2020-07-31 | 腾讯科技(深圳)有限公司 | Media playing control method and media playing client |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1852105A (en) * | 2005-09-15 | 2006-10-25 | 华为技术有限公司 | Method and system for realizing end-to-end data sharing |
CN1859596A (en) * | 2005-09-30 | 2006-11-08 | 华为技术有限公司 | System and its method for mutual access shared storage space between mobile terminals |
-
2007
- 2007-01-17 CN CN2007100627910A patent/CN101227636B/en not_active Expired - Fee Related
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1852105A (en) * | 2005-09-15 | 2006-10-25 | 华为技术有限公司 | Method and system for realizing end-to-end data sharing |
CN1859596A (en) * | 2005-09-30 | 2006-11-08 | 华为技术有限公司 | System and its method for mutual access shared storage space between mobile terminals |
Non-Patent Citations (1)
Title |
---|
JP特开2005-176047A 2005.06.30 |
Also Published As
Publication number | Publication date |
---|---|
CN101227636A (en) | 2008-07-23 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101227636B (en) | Information sharing method | |
US7904521B2 (en) | Method for transferring chat messages by establishing chat room data transfer channel | |
US7962126B2 (en) | Multimedia-messaging-service (MMS) system and the service method thereof | |
CN105100137B (en) | A kind of method and electronic equipment of service discovery | |
US9794307B2 (en) | Apparatus, and associated method, for notifying, delivering, and deleting media bursts communicated in a push-to-talk over cellular communication system | |
CN103428168A (en) | Method, system and signaling gateway for SIP client side to visit RTSP media resource | |
CN101867586B (en) | Method and system for realizing cross network segment signaling interworking of videoconference system | |
CN101227490B (en) | Network storage method and system | |
CN101656947B (en) | Establishing method, device and system of cross-heterogeneous-network service sharing | |
EP1883256A1 (en) | A method, system and device for realizing the record of the speech data in semi-duplex talking | |
EP1972082A1 (en) | Processing media data for sip based session service | |
CN1997069B (en) | A method and terminal for special service | |
US20120011260A1 (en) | Method and system for transmitting large message mode converged IP messaging | |
CN101257646A (en) | Medium sharing transfer method | |
CN105007448A (en) | System and method for recording video conference | |
CN113472827B (en) | Data transmission method, data transmission device and data transmission system | |
CN101610384A (en) | A kind of method and system that in wireless wide band video conference, realize information sharing | |
CN100574282C (en) | Point-to-point information transferring method, system and gateway unit | |
CN101321259B (en) | Multimedia equipment control system, control data transmission and processing equipment and method thereof | |
CN102075884A (en) | System and method for network storage and query of short messages | |
CN109792459B (en) | Method for transmitting data to at least one device, data transmission control server, storage server, processing server and system | |
CN103139735B (en) | SMS processing, system and media exchange center | |
US20160242100A1 (en) | Wireless network free push data | |
WO2024027614A1 (en) | Communication method and communication device | |
CN101729494B (en) | Method and system for realizing message interaction, and session and message server |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20101013 Termination date: 20220117 |