CN104601205B - The method and device that a kind of content is shared - Google Patents

The method and device that a kind of content is shared Download PDF

Info

Publication number
CN104601205B
CN104601205B CN201310533331.7A CN201310533331A CN104601205B CN 104601205 B CN104601205 B CN 104601205B CN 201310533331 A CN201310533331 A CN 201310533331A CN 104601205 B CN104601205 B CN 104601205B
Authority
CN
China
Prior art keywords
transmission mode
terminal
workable
object content
shared
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
CN201310533331.7A
Other languages
Chinese (zh)
Other versions
CN104601205A (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.)
Huawei Device Co Ltd
Original Assignee
Huawei Device Dongguan Co 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 Huawei Device Dongguan Co Ltd filed Critical Huawei Device Dongguan Co Ltd
Priority to CN201810420395.9A priority Critical patent/CN108848567B/en
Priority to CN201310533331.7A priority patent/CN104601205B/en
Priority to PCT/CN2014/089810 priority patent/WO2015062512A1/en
Publication of CN104601205A publication Critical patent/CN104601205A/en
Application granted granted Critical
Publication of CN104601205B publication Critical patent/CN104601205B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/40Connection management for selective distribution or broadcast

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Information Transfer Between Computers (AREA)
  • Telephone Function (AREA)

Abstract

The embodiment of the invention discloses the method and devices that a kind of content is shared, and for simplifying operating procedure, improve user experience.The embodiment of the present invention includes:User instruction is obtained, user instruction, which is used to indicate, is shared the object content that user selects by local sharing mode;The priority of transmission mode according to workable for determining the current state of object content, local sharing mode include workable transmission mode;Determine the terminal list for including the end message for supporting at least one workable transmission mode, the priority for the workable transmission mode that information is supported according to terminal is ranked up;Terminal corresponding at least one information in terminal list establishes connection, and the first transmission mode that at least one terminal is supported is determined from workable transmission mode;Object content is shared at least one terminal using the first transmission mode.

Description

The method and device that a kind of content is shared
Technical field
The present invention relates to field of communication technology, the method and device shared more particularly, to a kind of content.
Background technology
With the popularization of smart mobile phone and mobile phone apply it is abundant, user see beautiful picture, hear it is pleasing to the ear During interesting news of music, discovery etc., all these contents are shared to other people by custom by terminal device.
There are many shared modes, generally speaking there is two classes:One kind is to initiate shared terminal device(Abbreviation transmitting terminal) Shared by common platforms such as such as Sina weibo, Tencent's microbloggings, the content that will be shared be published on common platform for Other people check;Another kind of is that shared content is sent to specified receiving terminal by transmitting terminal, in general, this kind of sharing mode is also classified into two kinds Form:One kind be transmitting terminal by modes such as information, mails by shared content by transit server to receiving terminal;Another kind is Transmitting terminal passes through bluetooth, Wireless Fidelity(WiFi, wireless and fidelity), Digital Life Network Alliance(DLNA, Digital Living Network Alliance)Etc. mechanicss of communication carry out equipment room P-2-P technology closely(P2P, peer to peer)Communication, receiving terminal is sent directly to by shared content;
At present, when transmission end subscriber is want some contents being shared with specified receiving terminal in real time in a local network, usually It is shared using bluetooth, WiFi etc. without the P2P communication modes closely of server.It realizes that flow can be specific It is:Send the shared content of end subscriber selection;Selection is sent or shared, system pop-up sharing mode list;Select a kind of communication party Formula is shared;System opens the communication modes, sends end subscriber and is configured;It sends end subscriber selection and searches equipment, be Target device is found in the list of devices for feedback of uniting, and is selected;Connection is established between transmitting terminal and receiving terminal, transmitting terminal will be shared Content is sent to receiving terminal;As it can be seen that existing sharing mode operating procedure is more, underaction is operated, in addition, it is desirable to receiving terminal User, which opens simultaneously this kind of shared communication mode, can establish connection, and versatility is bad, and user experience is bad.
The content of the invention
An embodiment of the present invention provides the method and device that a kind of content is shared, for simplifying operation step when content is shared Suddenly, user experience is improved.
In view of this, first aspect present invention provides the method and device that a kind of content is shared, wherein, it may include:
User instruction is obtained, and the user instruction is used to indicate the object content for user being selected by local sharing mode It is shared;
The priority of transmission mode according to workable for determining the current state of the object content, it is described by local common Enjoying mode includes the workable transmission mode;
Determine the terminal list of the information comprising the terminal for supporting at least one workable transmission mode, the letter The priority for the workable transmission mode that breath is supported according to terminal is ranked up;
Corresponding at least one information in terminal list terminal establishes connection, and from the workable transmission side The first transmission mode that at least one terminal is supported is determined in formula;
The object content is shared at least one terminal using first transmission mode.
In the first possible realization method of first aspect, the local sharing mode includes bluetooth, digital living It is network alliance DLNA, Wireless Display Wifi Display, hypertext transfer protocol HTTP, File Transfer Protocol FTP, expansible logical News and presentation protocol XMPP;
The priority of transmission mode includes workable for the current state according to the object content determines:
The current state of the object content is determined as projection state or does not show state;
According to the current state of the object content, used transmission mode under current scene is determined, wherein, first The workable transmission mode supported under scene is bluetooth and/or HTTP and/or FTP and/or XMPP, under the second scene The workable transmission mode supported is DLNA and/or Wifi Display.
The possible realization method of with reference to first aspect the first, it is described to determine in second of possible realization method Used transmission mode under current scene, including:
If the current state of the object content is projection state, it is determined that the workable transmission side that the second scene is supported The priority of formula is higher than the priority for the workable transmission mode that the first scene is supported;
If the current state of the object content is not show state, it is determined that the workable transmission that the first scene is supported The priority of mode is higher than the priority for the workable transmission mode that the second scene is supported.
It is described that institute is determined from the workable transmission mode in the third possible realization method of first aspect The first transmission mode that at least one terminal is supported is stated, including:
The workable transmission mode supported according at least one terminal and it is described workable for transmission mode Priority determines the workable transmission mode supported under current scene and the scene;
The workable transmission mode supported under the definite scene can be used with what at least one terminal was supported Transmission mode matched, determine the first transmission mode.
The first or second or the third possible realization method with reference to first aspect, the 4th kind of possible realization side In formula, before the priority of transmission mode workable for the current state according to the object content determines, further include:
Determine the shared model of the object content, the shared model includes good friend's pattern and commonality schemata, described good Friendly pattern instruction only obtains end message presetting or labeled as good friend's terminal, and the commonality schemata instruction acquisition is all can Connect the end message of terminal.
The 4th kind of possible realization method with reference to first aspect, it is described to determine in the 5th kind of possible realization method The terminal list for the end message for supporting at least one workable transmission mode is included, including:
When the shared model for determining the object content is good friend's pattern:
It determines to include and supports at least one workable transmission mode, and it is presetting or labeled as good friend's terminal The terminal list of end message, the end message in the terminal list is according to the excellent of the workable transmission mode of support First grade is ranked up;
When the shared model for determining the object content is commonality schemata:
Determine the terminal list for including the end message for supporting at least one workable transmission mode, the terminal End message in list is ranked up according to the priority of the workable transmission mode of support.
Second aspect of the present invention provides a kind of method that content is shared, which is characterized in that including:
User instruction is obtained, and the user's operation is used to indicate the object content for user being selected by local sharing mode It is shared;
Determine the terminal list of the information comprising the terminal for supporting at least one local sharing mode;
At least one purpose terminal is determined from the terminal list;
First transmission mode is determined according to the current state of the object content, the local sharing mode includes described the One transmission mode;
The object content is shared at least one terminal using first transmission mode.
Third aspect present invention provides a kind of content sharing apparatus, which is characterized in that including:
First acquisition module, for obtaining user instruction, the user instruction is used to indicate will by local sharing mode The object content of user's selection is shared;
First determining module, for the preferential of transmission mode workable for being determined according to the current state of the object content Grade, it is described that the workable transmission mode is included by local sharing mode;
Second determining module, for determining to include the information for the terminal for supporting at least one workable transmission mode Terminal list, the priority for the workable transmission mode that described information is supported according to terminal is ranked up;
3rd determining module is established for terminal corresponding at least one information in the terminal list and connected, and from The first transmission mode that at least one terminal is supported is determined in the workable transmission mode;
First sharing module, for being shared the object content to described at least one using first transmission mode Terminal.
In the first possible realization method of the third aspect, the local sharing mode includes bluetooth, digital living It is network alliance DLNA, Wireless Display Wifi Display, hypertext transfer protocol HTTP, File Transfer Protocol FTP, expansible logical News and presentation protocol XMPP;
First determining module, is specifically used for:The current state of the object content is determined as projection state or is not put Reflect state;According to the current state of the object content, used transmission mode under current scene is determined, wherein, first The workable transmission mode supported under scene is bluetooth and/or HTTP and/or FTP and/or XMPP, under the second scene The workable transmission mode supported is DLNA and/or Wifi Display.
With reference to the first possible realization method of the third aspect, in second of possible realization method, described first Determining module, for determining used transmission mode under current scene, including:
If the current state of the object content is projection state, it is determined that the workable transmission side that the second scene is supported The priority of formula is higher than the priority for the workable transmission mode that the first scene is supported;If the current state of the object content Not show state, it is determined that the priority for the workable transmission mode that the first scene is supported can higher than the support of the second scene The priority of the transmission mode used.
In the third possible realization method of the third aspect, the 3rd determining module is specifically used for:
The workable transmission mode supported according at least one terminal and it is described workable for transmission mode Priority determines the workable transmission mode supported under current scene and the scene;
The workable transmission mode supported under the definite scene can be used with what at least one terminal was supported Transmission mode matched, determine the first transmission mode.
With reference to the third aspect the first or second or the third possible realization method, the 4th kind of possible realization side In formula, described device further includes the 4th determining module, is used for:Determine the shared model of the object content, the shared model Including good friend's pattern and commonality schemata, good friend's pattern instruction only obtains terminal letter presetting or labeled as good friend's terminal Breath, the commonality schemata instruction obtain the end message of all connectable terminals.
With reference to the 4th kind of possible realization method of the third aspect, in the 5th kind of possible realization method, described second Determining module is specifically used for:
When the shared model for determining the object content is good friend's pattern:It determines to include and supports to make described at least one Transmission mode, and the terminal list of end message presetting or labeled as good friend's terminal, in the terminal list End message is ranked up according to the priority of the workable transmission mode of support;
When the shared model for determining the object content is commonality schemata:It determines to include and supports to make described at least one The terminal list of the end message of transmission mode, the end message in the terminal list can be used according to the described of support The priority of transmission mode be ranked up.
Fourth aspect present invention provides a kind of content sharing apparatus, which is characterized in that including:
Second acquisition module, for obtaining user instruction, the user's operation is used to indicate will by local sharing mode The object content of user's selection is shared;
5th determining module, for determining the end of the information comprising the terminal for supporting at least one local sharing mode Hold list;
6th determining module, for determining at least one purpose terminal from the terminal list;
7th determining module, for determining the first transmission mode, the local according to the current state of the object content Sharing mode includes first transmission mode;
Second sharing module, for being shared the object content to described at least one using first transmission mode Terminal.
As can be seen from the above technical solutions, the method and device that content provided in an embodiment of the present invention is shared has following Advantage:The priority of transmission mode according to workable for determining the current state of object content, thereby using workable transmission Mode realizes that content is shared, simplify it is existing it is middle carry out shared operating procedure, it is possible to further determine current scene under institute The transmission mode used according to the priority of definite transmission mode, dynamically updates terminal list, so as to user pass through it is higher The transport protocol of priority carries out content with connectable terminal and shares.
Description of the drawings
In order to illustrate the technical solution of the embodiments of the present invention more clearly, embodiment will be described below required Attached drawing is briefly described, it should be apparent that, the accompanying drawings in the following description is only some embodiments of the present invention, for ability For the those of ordinary skill of domain, without creative efforts, it can also be obtained according to these attached drawings other attached Figure.
The flow diagram for the method that a kind of Fig. 1 contents provided in an embodiment of the present invention are shared;
Another flow diagram for the method that Fig. 2 contents provided in an embodiment of the present invention are shared;
Another flow diagram for the method that Fig. 3 contents provided in an embodiment of the present invention are shared;
Another flow diagram for the method that Fig. 4 contents provided in an embodiment of the present invention are shared;
A kind of Fig. 5 structure diagrams of content sharing apparatus provided in an embodiment of the present invention;
Another structure diagram of Fig. 6 content sharing apparatus provided in an embodiment of the present invention;
Another structure diagram of Fig. 7 content sharing apparatus provided in an embodiment of the present invention;
Another structure diagram of Fig. 8 content sharing apparatus provided in an embodiment of the present invention.
Specific embodiment
An embodiment of the present invention provides the method and device that a kind of content is shared, for simplifying operation step when content is shared Suddenly, user experience is improved.
Below in conjunction with the attached drawing in the embodiment of the present invention, the technical solution in the embodiment of the present invention is carried out clear, complete Site preparation describes, it is clear that described embodiment is only part of the embodiment of the present invention, instead of all the embodiments.It is based on Embodiment in the present invention, those of ordinary skill in the art are obtained all other without creative efforts Embodiment belongs to the scope of protection of the invention.
It is described in detail individually below.
Embodiment one:
It please referring to Fig.1, Fig. 1 is the flow diagram for the method that a kind of content provided in an embodiment of the present invention is shared, wherein, The method may include:
S101, user instruction is obtained, the user instruction is used to indicate the mesh for user being selected by local sharing mode Mark content is shared;
Wherein, the method executive agent that the content is shared can be terminal, and the terminal can be mobile phone or tablet electricity Brain etc., is not especially limited herein.
It should be noted that the gesture information can be set in advance in the terminal, the gesture information is used to refer to Show and shared the object content that user selects by local sharing mode.The gesture information can be hand common at present A kind of information of the gesture contacted with intelligent terminal, such as:Long-press is slided to the left, three hit(Continuously click on three times)Deng;It can also It is a kind of information of suspension gesture(I.e. hand is not in contact with intelligent terminal), such as:Several seconds of user's finger suspension stay etc..
It is understood that the local sharing mode refers to support by including bluetooth, Digital Life Network Alliance (DLNA, Digital Living Network Alliance), Wireless Display Wifi Display, hypertext transfer protocol (HTTP, Hypertext Transport Protocol), File Transfer Protocol(FTP, File Transfer Protocol)、 Expansible communication and presentation protocol(XMPP, The Extensible Messaging and Presence Protocol)Deng biography Defeated agreement proceeds without the sharing mode of the point-to-point P2P communications of equipment room of server;Wherein, P2P communications refer to point-to-point logical Letter, directly sends the other end to by one end.
It is understood that the terminal page where the content of users to share may be the combination of plurality of kinds of contents, usual one A terminal page(Such as webpage)The a kind of or more of the different types of information such as link, video, audio, picture, word can be included Kind.User sends the gesture information consistent with preset gesture information on a certain target object in the present terminal page, then Represent that user wants to share the target object, such as:If user sends gesture information chaining, then it represents that the users to share chain It connects, terminal detects the gesture information and shares the link;If user sends gesture information on video, then it represents that users to share The video, terminal detect the gesture information and share the video;If user sends gesture information in the white space of the page, Represent the users to share page, terminal detects the gesture information and shares the page.
S102, according to workable for determining the current state of the object content transmission mode priority, it is described to pass through Local sharing mode includes the workable transmission mode;
S103, the terminal list for determining the information comprising the terminal for supporting at least one workable transmission mode;
Wherein, the priority for the workable transmission mode that described information is supported according to terminal is ranked up.
S104, terminal corresponding at least one information in the terminal list establish connection, and from described workable The first transmission mode that at least one terminal is supported is determined in transmission mode;
S105, the object content is shared at least one terminal using first transmission mode.
It can be seen from the above, the method that content provided in an embodiment of the present invention is shared, true according to the current state of object content The priority of fixed workable transmission mode, for a user, user oneself need not select transmission mode type, and by being It unites and is selected for user.User only needs selection is local to share, selection target equipment, thereby using workable transmission mode Realize content share, simplify it is existing it is middle carry out shared operating procedure, improve user experience.
In order to be better understood from technical solution of the present invention, below with a specific embodiment to provided in an embodiment of the present invention interior Hold shared method to be analyzed:
Embodiment two:
Under embodiment as shown in Figure 2, it is assumed that perform the terminal of the method as mobile phone, i.e. mobile phone is shared for content Transmitting terminal, the mobile phone shares definite object content at least one attachable terminal of the mobile phone.
It please referring to Fig.2, Fig. 2 is another flow diagram for the method that content provided in an embodiment of the present invention is shared, comprising User 201, mobile phone 202, at least one attachable terminal 203 of mobile phone, wherein, the behaviour shared for expression content more directly perceived Make step, the mobile phone 202 can be divided into the mobile phone page 2021 and mobile phone operating system 2022(OS, Operating System), in addition, it will be apparent that signal of the user 201 only as work flow diagram, and it is not belonging to a part for system.
Wherein, the method that the content is shared can include:
S201,201 selection target content of user, and send gesture information;
The selection target content in the mobile phone page 2021 of user 201, and send gesture information on the object content position;
S202, the mobile phone page 2021 obtain the gesture information of user 201;
The gesture information is used to indicate present terminal through local sharing mode(That is mobile phone 202)Page info carries out Shared, the gesture information can be a kind of information for gesture that hand common at present is in contact with smart mobile phone, such as:Long-press It slides to the left, three hit(Continuously click on three times)Deng;Can also be a kind of information of suspension gesture(I.e. hand not with 202 phase of mobile phone Contact), such as:Several seconds of user's finger suspension stay etc.;It is described local sharing mode include bluetooth, DLNA, Wifi Display, At least one of transport protocol of HTTP, FTP, XMPP.
Gesture information and mobile phone page info are sent to mobile phone operating system 2022 by S203, the mobile phone page 2021;
S204, mobile phone operating system 2022 determine what user selected according to the gesture information with reference to mobile phone page info Object content;
It is understood that the mobile phone page where the content that user 201 shares may be the combination of plurality of kinds of contents, usually One mobile phone page 2021(If the mobile phone page 2021 is webpage)The differences such as link, video, audio, picture, word can be included The one or more of type information.User 201 sent on a certain target object in the current phone page 2021 with it is preset The consistent gesture information of gesture information, then it represents that user 201 wants to share the target object, such as:If user 201 is chaining Send gesture information, then it represents that user 201 shares the link, and mobile phone operating system 2022 detects the gesture information and shares and is somebody's turn to do Link;If user 201 sends gesture information on video, then it represents that user 201 shares the video, and mobile phone operating system 2022 is examined It measures the gesture information and shares the video;If user 201 sends gesture information, table in the white space of the mobile phone page 2021 Show that user 201 shares the page, mobile phone operating system 2022 detects the gesture information and shares the page.
In the present embodiment, the object content of user's selection can include in link, video, audio, picture, word It is at least one.
S205, mobile phone operating system 2022 detect and determine the status information of the object content;
S206, mobile phone operating system 2022 are according to the status information, the priority of transmission mode workable for determining;
It is understood that the S205 and S206 can make a concrete analysis of it is as follows:
201 selected object content of user may have multiple states, in present embodiment, the state of the object content It can include:Such as may be Streaming Media when user 201 selects for a picture or audio-video document(It shows/broadcasts It puts)State, it is also possible to be file(Do not show/static)State(I.e. user 201 simply browses in file, does not carry out it He operates).
Based on this, the S205 and S206 can be specifically included:
The current state of the object content is determined as projection state or does not show state;According to working as the object content Preceding state determines used transmission mode under current scene, wherein, the workable transmission supported under the first scene Mode is bluetooth and/or HTTP and/or FTP and/or XMPP, and the workable transmission mode supported under the second scene is DLNA and/or Wifi Display;
It is further preferred that used transmission mode under the definite current scene, can specifically include:
If the current state of the object content is projection state, it is determined that the workable transmission side that the second scene is supported The priority of formula is higher than the priority for the workable transmission mode that the first scene is supported;
If the current state of the object content is not show state, it is determined that the workable transmission that the first scene is supported The priority of mode is higher than the priority for the workable transmission mode that the second scene is supported.
That is, it can analyze by detecting and determining the object content status information and simultaneously determine current goal Which kind of scene is content belong to, and the priority of workable transmission mode under the scene is determined with this.It is described in present embodiment Scene may include the first scene and the second scene, and for first scene to send Send scenes, second scene is broadcasting Play scenes;
Wherein, Send scenes refer to the biography that object content is directly carried out using bluetooth, HTTP, FTP, XMPP transmission mode It is defeated, the target object that user 201 chooses is transferred to reception terminal by bluetooth, the transmission mode of HTTP, FTP, XMPP(Terminal 203);Wherein XMPP protocol mainly corresponds to the transmission of URL(That is the URL of transmission objectives content is to receiving terminal);Bluetooth, HTTP, FTP mainly corresponds to the transmission of the media files such as picture, video.
Play scenes refer to the transmission that object content is carried out using DLNA, Wifi Display transmission modes, and terminal 203 connects It can directly be played out after receiving object content.That is, under Play scenes, after terminal 203 receives object content Its content status is broadcast state, such as user 201 shares a video played to terminal 203, and terminal 203 receives The video can be directly played after the video, what is be presented to the user is also a kind of broadcast state.
In embodiments of the present invention, when user selects a local shared file played(Picture, video, audio Deng), then the priority for the transmission mode that system is supported in workable transmission mode is determined in Play scenes it is higher, Send The transmission mode priority supported in scape is relatively low.Conversely, when user select local shared one it is static, during the file do not shown, The transmission mode priority then supported in Send scenes is higher, and the transmission mode priority of the support in Play scenes is relatively low.
For example, when user 201 the object content locally selected be a file played(Picture, video, audio Deng), then System Priority is using Play scenes, secondly selection Send scenes, accordingly, preferentially using DLNA, Wifi Display Secondly transmission mode uses bluetooth, the transmission mode of HTTP, FTP, XMPP;When user selects a local shared static text During part, then System Priority uses Send scenes, secondly using Play scenes, accordingly, preferentially using bluetooth, HTTP, FTP, Secondly the transmission mode of XMPP uses DLNA, Wifi Display transmission modes.
It should be noted that when the embodiment of the present invention is based on the status information of detection and the definite object content, may be used also To include the scene of shared APP:
When user selects APP icons to carry out shared, first have to carry out local detection, whether detection is local preserves the APP Installation file.If the local installation file that the APP is not present, system default share the download URL of the APP(The URL by APP is provided);If the local installation file there are APP, system determines shared content for URL also after determining to receive terminal It is APP installation files, after determining, if reception terminal is consistent with end system capabilities are sent,(System capability unanimously refers to same type System(Such as it is all Android system)), then system determine shared content be APP installation files;If it receives terminal and sends eventually End system ability is inconsistent(Such as the IOS systems that terminal is apple are received, transmission terminal is Android system;Or receive terminal For Android system more than 2.0, transmission terminal is Android system 2.3), that is to say, that since system version difference installation file cannot Compatible scene, system share the download URL of the APP.
S207, mobile phone operating system 2022 are determined comprising the terminal for supporting at least one workable transmission mode The terminal list of information;
It is understood that mobile phone operating system 2022 after the ability information of adjacent terminals is obtained, is determined and updated Terminal list comprising connectable terminal in some embodiments, can include:
Determine the terminal list of the information comprising the terminal for supporting at least one workable transmission mode, the end End message in the list of end is ranked up according to the priority of the workable transmission mode of support.
That is, the ability of system detectio adjacent terminals, according to one supported in Send scenes and Play scenes and Multiple transmission modes, and determine at least support that a kind of one or more of transmission mode in above-mentioned workable transmission mode is adjacent Nearly terminal(Possess the adjacent terminals of transmittability i.e. in list comprising one or more)List of devices.For not supporting S206 The adjacent equipment of either type in the workable transmission mode that middle system determines, then system filter this out.
It is possible to further by the information of qualified terminal, according to support transmission mode priority by up to It is low to carry out whole displays, can also support transmission mode according to priority ranking after, the highest transmission of display priority The end message of the corresponding terminal 203 of agreement, is not especially limited herein.
It is understood that if the type for the workable transmission mode that current adjacent terminals are supported is one kind, terminal List includes:The information of the terminal of transmission mode workable for currently enabling this kind;The transmission mode even currently enabled When type is a kind of, without considering the priority of transmission mode, terminal list is directly updated.
Updated terminal list is sent to and is shown on the mobile phone page 2021 by S208, mobile phone operating system 2022 Show;
Updated terminal list is shown on the mobile phone page 2021 to user 201.
S209, user 201 select at least one terminal 203 in terminal list;
User 201 selects at least one terminal 203, that is to say, that user can select one according to the terminal list of display A terminal 203 can also select multiple terminals 203, i.e. transmitting terminal and receiving terminal can be one-to-one pattern, or a pair of Multi-mode is not especially limited herein.
S210, mobile phone 202 and at least one terminal 203, which are established, to be connected, determined from the workable transmission mode to The first transmission mode that a few terminal is supported;
It can be specifically:
The workable transmission mode supported according at least one terminal and it is described workable for transmission mode Priority determines the workable transmission mode supported under current scene and the scene;
The workable transmission mode supported under the definite scene can be used with what at least one terminal was supported Transmission mode matched, determine the first transmission mode.
It is understood that if System Priority is using Play scenes, secondly selection Send scenes, i.e. the first transmission mode are adopted With the transmission mode supported in Play scenes.If selected reception terminal does not support the transmission mode in Play scenes, first passes Defeated mode uses the transmission mode in Send scenes.Similarly, if System Priority uses Send scenes, Play scenes are secondly selected, That is the first transmission mode uses the transmission mode in Send scenes, if selected reception terminal does not support the transmission side in Send scenes Formula, then the first transmission mode is using the transmission mode in Play scenes.
That is, for different reception terminals, the first transmission mode can not according to the ability difference for receiving terminal Together.For example, user's current shared content is the picture shown, receives terminal A and DLNA is supported not support Wifi Display Transmission mode, then send terminal(Mobile phone)And the first transmission mode received between terminal A is DLNA;Receive terminal B branch Hold the transmission mode that Wifi Display do not support DLNA, then send terminal and receive the first transmission mode between terminal B For Wifi Display.
S211, mobile phone 202 are shared the object content to the terminal 203 by first transmission mode.
Terminal 203 receives the request that user content is shared, and connection is set up by WiFi Direct platforms, i.e., by answering Use service platform(ASP, Application Service Platform)Session connection is established, and is corresponded to using the terminal 203 Highest priority transport protocol carry out content share.
It is understood that WiFi Direct standards refer to allow the equipment in wireless network that need not pass through wireless routing Device can be connected with each other.ASP is a platform between upper layer application and bottom WiFi Direct, shields upper strata to WiFi Direct is directly invoked, and the function of a unified service discovery and interconnection is provided to upper layer application.
It can be seen from the above, the method that content provided in an embodiment of the present invention is shared, true according to the current state of object content The priority of fixed workable transmission mode, for a user, user oneself need not select transmission mode type, and by being It unites and is selected for user.User only needs selection is local to share, selection target equipment, thereby using workable transmission mode Realize that content is shared, simplify it is existing it is middle carry out shared operating procedure, it is possible to further determine that current scene is lower is used Transmission mode, according to the priority of definite transmission mode, terminal list is dynamically updated, so that user passes through higher prior The transport protocol of grade carries out content with connectable terminal and shares, and improves user experience.
Embodiment three:
It please refers to Fig.3, Fig. 3 is another flow diagram for the method that content provided in an embodiment of the present invention is shared, such as Under embodiment shown in Fig. 3, perform the terminal of the method as mobile phone, i.e., the transmitting terminal that mobile phone is shared for content, the hand Machine shares definite object content at least one connectable terminal of the mobile phone.Unlike a upper embodiment, the reality Apply the considerations of selection sharing model is added in example;Wherein, user 301, mobile phone 302, terminal are included in the system that content is shared 303, for the operating procedure that expression content more directly perceived is shared, the mobile phone 302 can be divided into the mobile phone page 3021 and mobile phone behaviour Make system 3022, in addition, it will be apparent that signal of the user 301 only as work flow diagram, and it is not belonging to one of system Point.
Wherein, the method that the content is shared can include:
S301,301 selection target content of user, and send gesture information;
S302, the mobile phone page 3021 obtain the gesture information of user 301;
Gesture information and mobile phone page info are sent to mobile phone operating system 3022 by S303, the mobile phone page 3021;
S304, mobile phone operating system 3022 determine what user selected according to the gesture information with reference to mobile phone page info Object content;
It is understood that S301 to S304 may be referred to the process of S201 to S204 in a upper embodiment in the embodiment It is implemented, is no longer specifically described herein.
S305, mobile phone operating system 3022 prompt the shared model for selecting the object content of user 301;
S306, user 301 select a kind of shared model;
S307, mobile phone operating system 3022 determine the shared model of the object content according to the selection of user 301;
It is understood that the S305 to S307 can be specially:
Mobile phone operating system 3022 prompts the shared model that user 301 selects the object content, wherein, the shared mould Formula includes good friend's pattern and commonality schemata, and good friend's pattern instruction only obtains terminal presetting or labeled as good friend's terminal Information, the commonality schemata instruction obtain the end message of all connectable terminals.User 301 selects a kind of shared model, hand Its selection result is transferred to mobile phone operating system 3022 by the machine page 3021, and mobile phone operating system 3022 is determined in the target The shared model of appearance.
S308, mobile phone operating system 3022 detect and determine the status information of the object content;
S309, mobile phone operating system 3022 are according to the status information, the priority of transmission mode workable for determining;
It is understood that S308 to S309 may be referred to the process of S205 to S206 in a upper embodiment in the embodiment It is implemented, is no longer specifically described herein.
S310, mobile phone operating system 3022 are determined comprising the terminal for supporting at least one workable transmission mode The terminal list of information;
Mobile phone operating system 3022 is with reference to the shared model of the object content and the biography of the support determined in S307 The priority of defeated agreement updates terminal list, can include:
When the shared model for determining the object content is good friend's pattern:It determines to include and supports to make described at least one Transmission mode, and the terminal list of end message presetting or labeled as good friend's terminal, in the terminal list Information is ranked up according to the priority of the workable transmission mode of support.
When the shared model for determining the object content is commonality schemata, ibid described in an embodiment, that is, determine to include Support the terminal list of the information of the terminal of at least one workable transmission mode, the terminal in the terminal list Information is ranked up according to the priority of the workable transmission mode of support.
It is understood that under both shared models, can by the end message of qualified terminal 303, Whole displays are carried out from high to low according to the priority of transmission mode, it can also be after transmission mode be according to priority ranking, only The end message of the corresponding terminal 303 of the highest transmission mode of display priority, is not especially limited herein.
It is understood that if the type for the workable transmission mode that current adjacent terminals are supported is one kind, terminal List includes:The information of the terminal of transmission mode workable for currently enabling this kind;The transmission mode even currently enabled When type is a kind of, without considering the priority of transmission mode, terminal list is directly updated.
Updated terminal list is sent to and is shown on the mobile phone page 3021 by S311, mobile phone operating system 3022 Show;
S312, user 301 select at least one terminal 303 in terminal list;
S313, mobile phone 302 and at least one terminal 303, which are established, to be connected, determined from the workable transmission mode to The first transmission mode that a few terminal is supported;
S314, mobile phone 302 are shared the object content to the terminal 303 by first transmission mode.
It is understood that S311 to S314 may be referred to the process of S208 to S211 in a upper embodiment in the embodiment It is implemented, is no longer specifically described herein.
It can be seen from the above, the method that content provided in an embodiment of the present invention is shared, true according to the current state of object content The priority of fixed workable transmission mode, for a user, user oneself need not select transmission mode type, and by being It unites and is selected for user.User only needs selection is local to share, selection target equipment, thereby using workable transmission mode Realize that content is shared, simplify it is existing it is middle carry out shared operating procedure, it is possible to further determine that current scene is lower is used Transmission mode, according to the priority of definite transmission mode, terminal list is dynamically updated, so that user passes through higher prior The transport protocol of grade carries out content with connectable terminal and shares, and improves user experience.
Example IV:
It please referring to Fig.4, Fig. 4 is another flow diagram for the method that content provided in an embodiment of the present invention is shared, wherein, The method that the content is shared includes:
S401, user instruction is obtained, the user's operation is used to indicate the mesh for user being selected by local sharing mode Mark content is shared;
S402, the terminal list for determining the information comprising the terminal for supporting at least one local sharing mode;
S403, at least one purpose terminal is determined from the terminal list;
S404, the first transmission mode is determined according to the current state of the object content, the local sharing mode includes First transmission mode;
S405, the object content is shared at least one terminal using first transmission mode.
It is understood that the example IV and previous embodiment one to embodiment three difference lies in, embodiment one to Embodiment three is first definite workable transmission mode(The workable transmission mode possesses priority), further according to usable Transmission mode selection receive terminal, receiving terminal can first be ranked up, and will support the higher usable transmission side of priority The reception terminal of formula is come by front position;And example IV is first selection reception terminal, then determine to receive making for terminal support With transmission mode, the transmission mode of highest priority in the usable transmission mode can be selected.
It is another it is contemplated that in the example IV each step detailed analysis, may be referred to previous embodiment one to The description of three correlation step of embodiment is implemented, and is no longer illustrated herein.
It can be seen from the above, the method that content provided in an embodiment of the present invention is shared, according to the current shape of the object content State determines the first transmission mode, and for a user, user oneself need not select transmission mode type, and be user by system Selection.User only needs selection is local to share, selection target terminal, and content is realized thereby using workable transmission mode It is shared, simplify it is existing it is middle carry out shared operating procedure, improve user experience.
For ease of preferably implementing the method that content provided in an embodiment of the present invention is shared, the embodiment of the present invention also provides one Terminal of the kind based on the above sharing method.Wherein the meaning of noun is identical with the above method, and specific implementation details can be with Explanation in reference method embodiment.
Embodiment five:
Fig. 5 is refer to, Fig. 5 is a kind of structure diagram of content sharing apparatus 500 provided in an embodiment of the present invention, In, described device 500 can include:
First acquisition module 501, for obtaining user instruction, the user instruction is used to indicate through local sharing mode The object content that user selects is shared;
First determining module 502, for transmission mode workable for being determined according to the current state of the object content Priority, it is described that the workable transmission mode is included by local sharing mode;
Second determining module 503, for determining comprising the terminal for supporting at least one workable transmission mode The terminal list of information, the priority for the workable transmission mode that described information is supported according to terminal are ranked up;
3rd determining module 504 is connected for being established at least one terminal in the terminal list, and made from described The first transmission mode that at least one terminal is supported is determined in transmission mode;
First sharing module 505, for using first transmission mode by the object content share to it is described at least One terminal.
Wherein, the content sharing apparatus 400 can be mobile phone or tablet computer etc., be not especially limited herein.
It should be noted that the gesture information can be set in advance in the terminal, the gesture information is used to refer to Show and shared the object content that user selects by local sharing mode.The gesture information can be hand common at present A kind of information of the gesture contacted with intelligent terminal, such as:Long-press is slided to the left, three hit(Continuously click on three times)Deng;It can also It is a kind of information of suspension gesture(I.e. hand is not in contact with intelligent terminal), such as:Several seconds of user's finger suspension stay etc..
It is understood that the local sharing mode refers to support by including bluetooth, Digital Life Network Alliance DLNA, Wireless Display Wifi Display, hypertext transfer protocol HTTP, File Transfer Protocol FTP, expansible communication and expression The transport protocols such as agreement XMPP proceed without the sharing mode of the point-to-point P2P communications of equipment room of server;Wherein, P2P communicates Refer to point-to-point communication, the other end is directly sent to by one end.
It is understood that the terminal page where the content of users to share may be the combination of plurality of kinds of contents, usual one A terminal page(Such as webpage)The a kind of or more of the different types of information such as link, video, audio, picture, word can be included Kind.User sends the gesture information consistent with preset gesture information on a certain target object in the present terminal page, then Represent that user wants to share the target object, such as:If user sends gesture information chaining, then it represents that the users to share chain It connects, terminal detects the gesture information and shares the link;If user sends gesture information on video, then it represents that users to share The video, terminal detect the gesture information and share the video;If user sends gesture information in the white space of the page, Represent the users to share page, terminal detects the gesture information and shares the page.
It can be seen from the above, the device 500 that content provided in an embodiment of the present invention is shared, according to the current state of object content Determine the priority of workable transmission mode, for a user, user, which is not required, oneself selects transmission mode type, and by System selects for user.User only needs selection is local to share, selection target equipment, thereby using workable transmission side Formula realize content share, simplify it is existing it is middle carry out shared operating procedure, improve user experience.
It is understood that the selected object content of user may have multiple states, and in present embodiment, the target The state of content can include:Such as may be Streaming Media when user selects for a picture or audio-video document(It puts It reflects/plays)State, it is also possible to be file(Do not show/static)State(I.e. user simply browses in file, does not carry out Other operations).
Further, first determining module 502, can be specifically used for:Determine the current state of the object content State is not shown for projection state or;According to the current state of the object content, used transmission under current scene is determined Mode, wherein, the workable transmission mode supported under the first scene for bluetooth and/or HTTP and/or FTP and/or XMPP, the workable transmission mode supported under the second scene is DLNA and/or Wifi Display.
Wherein, first determining module 502 can be wrapped specifically for determining used transmission mode under current scene It includes:If the current state of the object content is projection state, it is determined that the workable transmission mode that the second scene is supported Priority is higher than the priority for the workable transmission mode that the first scene is supported;If the current state of the object content is not Projection state, it is determined that the priority for the workable transmission mode that the first scene is supported can be used higher than what the second scene was supported Transmission mode priority.
That is, it can analyze by detecting and determining the object content status information and simultaneously determine current goal Which kind of scene is content belong to, and the priority of workable transmission mode under the scene is determined with this.
In present embodiment, the scene may include the first scene and the second scene, and first scene is transmission Send Scene, second scene are broadcasting Play scenes;
Wherein, Send scenes refer to the biography that object content is directly carried out using bluetooth, HTTP, FTP, XMPP transmission mode It is defeated, the target object that user 201 chooses is transferred to reception terminal by bluetooth, the transmission mode of HTTP, FTP, XMPP(Terminal 203);Wherein XMPP protocol mainly corresponds to the transmission of URL(That is the URL of transmission objectives content is to receiving terminal);Bluetooth, HTTP, FTP mainly corresponds to the transmission of the media files such as picture, video.
Play scenes refer to the transmission that object content is carried out using DLNA, Wifi Display transmission modes, and terminal 203 connects It can directly be played out after receiving object content.That is, under Play scenes, after terminal 203 receives object content Its content status is broadcast state, such as user 201 shares a video played to terminal 203, and terminal 203 receives The video can be directly played after the video, what is be presented to the user is also a kind of broadcast state.
In embodiments of the present invention, when user selects a local shared file played(Picture, video, audio Deng), then the priority for the transmission mode that system is supported in workable transmission mode is determined in Play scenes it is higher, Send The transmission mode priority supported in scape is relatively low.Conversely, when user select local shared one it is static, during the file do not shown, The transmission mode priority then supported in Send scenes is higher, and the transmission mode priority of the support in Play scenes is relatively low.
For example, when user 201 the object content locally selected be a file played(Picture, video, audio Deng), then System Priority is using Play scenes, secondly selection Send scenes, accordingly, preferentially using DLNA, Wifi Display Secondly transmission mode uses bluetooth, the transmission mode of HTTP, FTP, XMPP;When user selects a local shared static text During part, then System Priority uses Send scenes, secondly using Play scenes, accordingly, preferentially using bluetooth, HTTP, FTP, Secondly the transmission mode of XMPP uses DLNA, Wifi Display transmission modes.
It should be noted that the first determining module of the embodiment of the present invention, is additionally operable to detect and determines the object content Status information, when detecting the scene of current not shared APP:It is, when user selects APP icons to carry out shared, it is first First to carry out local detection, the local installation file for whether preserving the APP of detection.If the local installation file that the APP is not present, Then system default shares the download URL of the APP(The URL is provided by APP);If the local installation file there are APP, system exists It determines to determine shared content after receiving terminal as URL or APP installation files, after determining, if receiving terminal and sending terminal System capability is consistent,(System capability unanimously refers to same type system(Such as it is all Android system)), then system determine shared Content is APP installation files;If it receives terminal and transmission end system capabilities is inconsistent(Such as receive the IOS that terminal is apple System, transmission terminal are Android system;Or it is Android system more than 2.0 to receive terminal, transmission terminal is Android system 2.3), That is due to the scene that system version difference installation file cannot be compatible with, system shares the download URL of the APP.
In the embodiment of the present invention, object content state and transmission mode are analyzed based on above-mentioned first determining module 502 On the basis of, second determining module 503 is specifically used for:It determines comprising transmission mode workable for supporting at least one described End message terminal list, the information of the terminal in the terminal list according to support the workable transmission mode Priority be ranked up.
That is, the ability of system detectio adjacent terminals, according to one supported in Send scenes and Play scenes and Multiple transmission modes, and determine at least support that a kind of one or more of transmission mode in above-mentioned workable transmission mode is adjacent Nearly terminal(Possess the adjacent terminals of transmittability i.e. in list comprising one or more)List of devices.For not supporting system The adjacent equipment of either type in definite workable transmission mode, then system filter this out.
It is possible to further by the information of qualified terminal, according to support transmission mode priority by up to It is low to carry out whole displays, can also support transmission mode according to priority ranking after, the highest transmission of display priority The information of the corresponding terminal of agreement, is not especially limited herein.
It is understood that if the type for the workable transmission mode that current adjacent terminals are supported is one kind, terminal List includes:The information of the terminal of transmission mode workable for currently enabling this kind;The transmission mode even currently enabled When type is a kind of, without considering the priority of transmission mode, terminal list is directly updated.
Further, the 3rd determining module 503, can be specifically used for:
The workable transmission mode supported according at least one terminal and it is described workable for transmission mode Priority determines the workable transmission mode supported under current scene and the scene;
The workable transmission mode supported under the definite scene can be used with what at least one terminal was supported Transmission mode matched, determine the first transmission mode.
It is understood that user can select a terminal, multiple terminals, i.e. transmitting terminal and receiving terminal can also be selected Can be one-to-one pattern, or a pair of of multi-mode is not especially limited herein.
On determining for first transmission mode:If System Priority uses Play scenes, secondly selection Send scenes, i.e., First transmission mode uses the transmission mode supported in Play scenes.If selected reception terminal does not support the transmission in Play scenes Mode, then the first transmission mode is using the transmission mode in Send scenes.Similarly, if System Priority uses Send scenes, secondly Play scenes are selected, i.e. the first transmission mode uses the transmission mode in Send scenes, if selected reception terminal does not support Send Transmission mode in scene, then the first transmission mode is using the transmission mode in Play scenes.
That is, for different reception terminals, the first transmission mode can not according to the ability difference for receiving terminal Together.For example, user's current shared content is the picture shown, receives terminal A and DLNA is supported not support Wifi Display Transmission mode, then send terminal(Mobile phone)And the first transmission mode received between terminal A is DLNA;Receive terminal B branch Hold the transmission mode that Wifi Display do not support DLNA, then send terminal and receive the first transmission mode between terminal B For Wifi Display.
Preferably, in some embodiments, described device 500 can also include the 4th determining module, be used for:Determine institute The shared model of object content is stated, the shared model includes good friend's pattern and commonality schemata, and good friend's pattern instruction only obtains End message presetting or labeled as good friend's terminal is taken, the commonality schemata instruction obtains the terminal of all connectable terminals Information.
Then under this kind of embodiment, second determining module 503 can be specifically used for:
When the shared model for determining the object content is good friend's pattern:It determines to include and supports to make described at least one Transmission mode, and the terminal list of end message presetting or labeled as good friend's terminal, in the terminal list End message is ranked up according to the priority of the workable transmission mode of support;
When the shared model for determining the object content is commonality schemata:It determines to include and supports to make described at least one The terminal list of the end message of transmission mode, the end message in the terminal list can be used according to the described of support The priority of transmission mode be ranked up.
It similarly, can be by the information of qualified terminal, according to transmission mode under both shared models Priority carries out whole displays from high to low, can also be after transmission mode is according to priority ranking, display priority highest The corresponding terminal of transmission mode information, be not especially limited herein.In addition, if current adjacent terminals support is workable The type of transmission mode is one kind, then terminal list includes:The letter of the terminal of transmission mode workable for currently enabling this kind Breath;When the type of the transmission mode even currently enabled is a kind of, without considering the priority of transmission mode, directly more new terminal List.
It is understood that the function of each modular unit may be referred to embodiment of the method in described device 500(Embodiment one To embodiment three)If each step is implemented in Fig. 2 or content sharing method as shown in Figure 3, details are not described herein again.
It can be seen from the above, the device 500 that content provided in an embodiment of the present invention is shared, according to the current state of object content Determine the priority of workable transmission mode, for a user, user, which is not required, oneself selects transmission mode type, and by System selects for user.User only needs selection is local to share, selection target equipment, thereby using workable transmission side Formula realizes that content is shared, simplify it is existing it is middle carry out shared operating procedure, it is possible to further determine that current scene is lower is made Transmission mode according to the priority of definite transmission mode, dynamically updates terminal list, so that user passes through compared with Gao You The transport protocol of first grade carries out content with connectable terminal and shares, and improves user experience.
Embodiment six:
The embodiment of the present invention also provides a kind of content sharing apparatus 600, can refer to Fig. 6, and Fig. 6 is the content sharing apparatus 600 structure diagram, wherein, the content sharing apparatus 600 may include:
Second acquisition module 601, for obtaining user instruction, the user's operation is used to indicate through local sharing mode The object content that user selects is shared;
5th determining module 602, for determining to include the information for the terminal for supporting at least one local sharing mode Terminal list;
6th determining module 603, for determining at least one purpose terminal from the terminal list;
7th determining module 604, for determining the first transmission mode according to the current state of the object content, described Ground sharing mode includes first transmission mode;
Second sharing module 605, for using first transmission mode by the object content share to it is described at least One terminal.
It is understood that difference lies in embodiment five is first definite makes for the embodiment six and previous embodiment five Transmission mode(The workable transmission mode possesses priority), select to receive eventually further according to workable transmission mode End, receiving terminal can first be ranked up, and the reception terminal for the usable transmission mode for supporting priority higher be come forward Position;And embodiment six is first selection reception terminal, then determine to receive the usable transmission mode that terminal is supported, institute can be selected State the transmission mode of highest priority in usable transmission mode.
It is another it is contemplated that in the embodiment six each functional unit block detailed analysis, may be referred to foregoing reality It applies the description of five correlation function module of example to be implemented, no longer illustrate herein.
It can be seen from the above, the device 600 that content provided in an embodiment of the present invention is shared, according to the current of the object content State determines the first transmission mode, and for a user, user oneself need not select transmission mode type, and be use by system Family selects.User only needs selection is local to share, selection target terminal, thereby using in the realization of workable transmission mode Hold it is shared, simplify it is existing it is middle carry out shared operating procedure, improve user experience.
The embodiment of the present invention also provides a kind of content sharing apparatus 700, refer to Fig. 7, and Fig. 7 provides for the embodiment of the present invention Content sharing apparatus 700 structure diagram, the terminal 700 include the first input unit 701, the first output device 702 With first processor 703, the first processor 703 performs following steps:
User instruction is obtained, and the user instruction is used to indicate the object content for user being selected by local sharing mode It is shared;The priority of transmission mode, described to pass through local according to workable for determining the current state of the object content Sharing mode includes the workable transmission mode;It determines comprising the end for supporting at least one workable transmission mode The terminal list of the information at end, the priority for the workable transmission mode that described information is supported according to terminal are arranged Sequence;Establish and connect at least one terminal in the terminal list, and determine from the workable transmission mode it is described to The first transmission mode that the corresponding terminal of an information is supported less;The object content is shared using first transmission mode To at least one terminal.
In the above-described embodiments, all emphasize particularly on different fields to the description of each embodiment, there is no the portion being described in detail in some embodiment Point, it may refer to the associated description of other embodiment.
The embodiment of the present invention also provides a kind of content sharing apparatus 800, refer to Fig. 8, and Fig. 8 provides for the embodiment of the present invention Content sharing apparatus 800 structure diagram, the terminal 800 include the first input unit 801, the first output device 802 With first processor 803, the first processor 803 performs following steps:
User instruction is obtained, and the user's operation is used to indicate the object content for user being selected by local sharing mode It is shared;Determine the terminal list of the information comprising the terminal for supporting at least one local sharing mode;From the end It holds and at least one purpose terminal is determined in list;First transmission mode is determined according to the current state of the object content, it is described Local sharing mode includes first transmission mode;The object content is shared to described using first transmission mode At least one terminal.
In the above-described embodiments, all emphasize particularly on different fields to the description of each embodiment, there is no the portion being described in detail in some embodiment Point, it may refer to the associated description of other embodiment.
It is apparent to those skilled in the art that for convenience and simplicity of description, the system of foregoing description, The specific work process of device and unit may be referred to the corresponding process in preceding method embodiment, and details are not described herein.
In several embodiments provided herein, it should be understood that disclosed system, apparatus and method can be with It realizes by another way.For example, the apparatus embodiments described above are merely exemplary, for example, the unit Division is only a kind of division of logic function, can there is other dividing mode, such as multiple units or component in actual implementation It may be combined or can be integrated into another system or some features can be ignored or does not perform.It is another, it is shown or The mutual coupling, direct-coupling or communication connection discussed can be the indirect coupling by some interfaces, device or unit It closes or communicates to connect, can be electrical, machinery or other forms.
The unit illustrated as separating component may or may not be physically separate, be shown as unit The component shown may or may not be physical location, you can be located at a place or can also be distributed to multiple In network element.Some or all of unit therein can be selected to realize the mesh of this embodiment scheme according to the actual needs 's.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, it can also That unit is individually physically present, can also two or more units integrate in a unit.Above-mentioned integrated list The form that hardware had both may be employed in member is realized, can also be realized in the form of SFU software functional unit.
If the integrated unit is realized in the form of SFU software functional unit and is independent production marketing or use When, it can be stored in a computer read/write memory medium.Based on such understanding, technical scheme is substantially The part to contribute in other words to the prior art or all or part of the technical solution can be in the form of software products It embodies, which is stored in a storage medium, is used including some instructions so that a computer Equipment(Can be personal computer, server or the network equipment etc.)Perform the complete of each embodiment the method for the present invention Portion or part steps.And foregoing storage medium includes:USB flash disk, mobile hard disk, read-only memory(ROM, Read-Only Memory), random access memory(RAM, Random Access Memory), magnetic disc or CD etc. are various can store journey The medium of sequence code.
The method and device shared above to a kind of content provided by the present invention is described in detail, for this field Those skilled in the art, according to the embodiment of the present invention thought, have change in specific embodiments and applications Place, in conclusion this specification content should not be construed as limiting the invention.

Claims (14)

1. a kind of method that content is shared, which is characterized in that including:
User instruction is obtained, and the user instruction is used to indicate the object content for user being selected by local sharing mode and carries out It is shared;
The priority of transmission mode according to workable for determining the current state of the object content, the local sharing mode bag The workable transmission mode is included, the current state is projection state or does not show state;
Determine the terminal list of the information comprising the terminal for supporting at least one workable transmission mode, described information is pressed It is ranked up according to the priority of the workable transmission mode of terminal support;
Terminal corresponding at least one information in the terminal list establishes connection, and from the workable transmission mode Determine the first transmission mode that at least one terminal is supported;
The object content is shared at least one terminal using first transmission mode.
2. according to the method described in claim 1, it is characterized in that, the local sharing mode includes bluetooth, digital living net Network alliance DLNA, Wireless Display Wifi Display, hypertext transfer protocol HTTP, File Transfer Protocol FTP, expansible communication With presentation protocol XMPP;
The priority of transmission mode includes workable for the current state according to the object content determines:
The current state of the object content is determined as projection state or does not show state;
According to the current state of the object content, used transmission mode under current scene is determined, wherein, in the first scene The workable transmission mode of lower support is bluetooth and/or HTTP and/or FTP and/or XMPP, is supported under the second scene The workable transmission mode be DLNA and/or Wifi Display.
3. according to the method described in claim 2, it is characterized in that, used transmission mode under the definite current scene, Including:
If the current state of the object content is projection state, it is determined that the workable transmission mode that the second scene is supported Priority is higher than the priority for the workable transmission mode that the first scene is supported;
If the current state of the object content is not show state, it is determined that the workable transmission mode that the first scene is supported Priority higher than the second scene support workable transmission mode priority.
It is 4. according to the method described in claim 1, it is characterized in that, described definite described from the workable transmission mode The first transmission mode that at least one terminal is supported, including:
The workable transmission mode supported according at least one terminal and it is described workable for transmission mode it is preferential Grade, determines the workable transmission mode supported under current scene and the scene;
The workable biography that the workable transmission mode supported under the definite scene is supported at least one terminal Defeated mode is matched, and determines the first transmission mode.
5. according to claim 2 to 4 any one of them method, which is characterized in that described according to the current of the object content Before state determines the priority of workable transmission mode, further include:
Determine the shared model of the object content, the shared model includes good friend's pattern and commonality schemata, good friend's mould Formula instruction only obtains end message presetting or labeled as good friend's terminal, and the commonality schemata instruction obtains all connect The end message of terminal.
6. according to the method described in claim 5, it is characterized in that, described determine workable for comprising supporting that at least one is described The terminal list of the end message of transmission mode, including:
When the shared model for determining the object content is good friend's pattern:
It determines comprising transmission mode workable for supporting at least one described, and terminal presetting or labeled as good friend's terminal The terminal list of information, end message in the terminal list according to the workable transmission mode of support priority It is ranked up;
When the shared model for determining the object content is commonality schemata:
Determine the terminal list for including the end message for supporting at least one workable transmission mode, the terminal list In end message be ranked up according to the priority of the workable transmission mode of support.
7. a kind of method that content is shared, which is characterized in that including:
User instruction is obtained, and the user's operation is used to indicate the object content for user being selected by local sharing mode and carries out It is shared;
Determine the terminal list of the information comprising the terminal for supporting at least one local sharing mode;
At least one purpose terminal is determined from the terminal list;
First transmission mode is determined according to the current state of the object content, the local sharing mode includes described first and passes Defeated mode, wherein, the current state is projection state or does not show state;
The object content is shared at least one terminal using first transmission mode.
8. a kind of content sharing apparatus, which is characterized in that including:
First acquisition module, for obtaining user instruction, the user instruction is used to indicate user through local sharing mode The object content of selection is shared;
First determining module, for the priority of transmission mode workable for being determined according to the current state of the object content, Described to include the workable transmission mode by local sharing mode, the current state is projection state or does not show shape State;
Second determining module, for determining the end of the information comprising the terminal for supporting at least one workable transmission mode List is held, the priority for the workable transmission mode that described information is supported according to terminal is ranked up;
3rd determining module is established for terminal corresponding at least one information in the terminal list and connected, and from described The first transmission mode that at least one terminal is supported is determined in workable transmission mode;
First sharing module, for being shared the object content at least one end using first transmission mode End.
9. device according to claim 8, which is characterized in that the local sharing mode includes bluetooth, digital living net Network alliance DLNA, Wireless Display Wifi Display, hypertext transfer protocol HTTP, File Transfer Protocol FTP, expansible communication With presentation protocol XMPP;
First determining module, is specifically used for:The current state of the object content is determined as projection state or does not show shape State;According to the current state of the object content, used transmission mode under current scene is determined, wherein, in the first scene The workable transmission mode of lower support is bluetooth and/or HTTP and/or FTP and/or XMPP, is supported under the second scene The workable transmission mode be DLNA and/or Wifi Display.
10. device according to claim 9, which is characterized in that first determining module, for determining under current scene Used transmission mode, including:
If the current state of the object content is projection state, it is determined that the workable transmission mode that the second scene is supported Priority is higher than the priority for the workable transmission mode that the first scene is supported;If the current state of the object content is not Projection state, it is determined that the priority for the workable transmission mode that the first scene is supported can be used higher than what the second scene was supported Transmission mode priority.
11. device according to claim 8, which is characterized in that the 3rd determining module is specifically used for:
The workable transmission mode supported according at least one terminal and it is described workable for transmission mode it is preferential Grade, determines the workable transmission mode supported under current scene and the scene;
The workable biography that the workable transmission mode supported under the definite scene is supported at least one terminal Defeated mode is matched, and determines the first transmission mode.
12. according to claim 9 to 11 any one of them device, which is characterized in that described device further includes the 4th and determines mould Block is used for:Determine the shared model of the object content, the shared model includes good friend's pattern and commonality schemata, described good Friendly pattern instruction only obtains end message presetting or labeled as good friend's terminal, and the commonality schemata instruction acquisition is all can Connect the end message of terminal.
13. device according to claim 12, which is characterized in that second determining module is specifically used for:
When the shared model for determining the object content is good friend's pattern:It determines at least one described workable comprising supporting Transmission mode, and the terminal list of end message presetting or labeled as good friend's terminal, the terminal in the terminal list Information is ranked up according to the priority of the workable transmission mode of support;
When the shared model for determining the object content is commonality schemata:It determines at least one described workable comprising supporting The terminal list of the end message of transmission mode, end message in the terminal list workable are passed according to the described of support The priority of defeated mode is ranked up.
14. a kind of content sharing apparatus, which is characterized in that including:
Second acquisition module, for obtaining user instruction, the user's operation is used to indicate user through local sharing mode The object content of selection is shared;
5th determining module, for determining the terminal row of the information comprising the terminal for supporting at least one local sharing mode Table;
6th determining module, for determining at least one purpose terminal from the terminal list;
7th determining module, for determining the first transmission mode according to the current state of the object content, the local is shared Mode includes first transmission mode, wherein, the current state is projection state or does not show state;
Second sharing module, for being shared the object content at least one end using first transmission mode End.
CN201310533331.7A 2013-10-31 2013-10-31 The method and device that a kind of content is shared Active CN104601205B (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
CN201810420395.9A CN108848567B (en) 2013-10-31 2013-10-31 Content sharing method and device
CN201310533331.7A CN104601205B (en) 2013-10-31 2013-10-31 The method and device that a kind of content is shared
PCT/CN2014/089810 WO2015062512A1 (en) 2013-10-31 2014-10-29 Content sharing method and apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310533331.7A CN104601205B (en) 2013-10-31 2013-10-31 The method and device that a kind of content is shared

Related Child Applications (1)

Application Number Title Priority Date Filing Date
CN201810420395.9A Division CN108848567B (en) 2013-10-31 2013-10-31 Content sharing method and device

Publications (2)

Publication Number Publication Date
CN104601205A CN104601205A (en) 2015-05-06
CN104601205B true CN104601205B (en) 2018-06-05

Family

ID=53003366

Family Applications (2)

Application Number Title Priority Date Filing Date
CN201810420395.9A Active CN108848567B (en) 2013-10-31 2013-10-31 Content sharing method and device
CN201310533331.7A Active CN104601205B (en) 2013-10-31 2013-10-31 The method and device that a kind of content is shared

Family Applications Before (1)

Application Number Title Priority Date Filing Date
CN201810420395.9A Active CN108848567B (en) 2013-10-31 2013-10-31 Content sharing method and device

Country Status (2)

Country Link
CN (2) CN108848567B (en)
WO (1) WO2015062512A1 (en)

Families Citing this family (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104850463B (en) * 2015-06-08 2019-11-15 三星电子(中国)研发中心 Application sharing method and device
WO2016200018A1 (en) 2015-06-08 2016-12-15 Samsung Electronics Co., Ltd. Method and apparatus for sharing application
CN106411980B (en) * 2015-07-31 2020-02-14 腾讯科技(深圳)有限公司 Sharing method and sharing device of digital content
CN105430459B (en) * 2015-11-16 2019-09-06 深圳Tcl数字技术有限公司 Audio data play method, device and intelligent TV set
CN105847274A (en) * 2016-04-27 2016-08-10 努比亚技术有限公司 Terminal device and file transmission method thereof
CN105847408B (en) * 2016-05-05 2019-07-12 北京奇虎科技有限公司 A kind of method, device and equipment that data are synchronous
CN106302631B (en) * 2016-07-21 2019-04-26 三星电子(中国)研发中心 A kind of method and system of sharing contents
CN107045540A (en) * 2017-02-14 2017-08-15 阿里巴巴集团控股有限公司 Data processing method and device, server and data handling system
US10764738B2 (en) 2017-03-14 2020-09-01 Huawei Technologies Co., Ltd. Wireless communication connection method and terminal
CN108510312B (en) * 2018-03-07 2021-06-29 创新先进技术有限公司 Service recall method, system and server under multi-service sharing recall mode
CN109144703B (en) * 2018-09-10 2021-03-23 维沃移动通信有限公司 Multitask processing method and terminal equipment thereof
CN109194571B (en) * 2018-09-26 2020-11-13 深圳市云歌人工智能技术有限公司 Method, apparatus and storage medium for distributing information based on priority
CN111107405A (en) * 2019-12-27 2020-05-05 北京比利信息技术有限公司 Screen projection method, server, screen projection system and storage medium
CN116320590B (en) 2020-08-27 2024-03-22 荣耀终端有限公司 Information sharing method, system, terminal equipment and storage medium

Family Cites Families (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1549613A (en) * 2003-05-19 2004-11-24 �ʼҷ����ֵ��ӹɷ����޹�˾ Method and apparatus for soft switching between P2P communication mode and traditional communication mode in radio communication system
CN100421515C (en) * 2005-05-20 2008-09-24 华为技术有限公司 Method for realizing multi-cast business data based on mobile network
CN1921689B (en) * 2006-06-19 2010-05-26 Ut斯达康通讯有限公司 System and method for realizing multicast in UTRA TDD HCR system by using descending share channel
CN101677328A (en) * 2008-09-19 2010-03-24 中兴通讯股份有限公司 Content-fragment based multimedia distributing system and content-fragment based multimedia distributing method
JP5347403B2 (en) * 2008-09-22 2013-11-20 ソニー株式会社 Information processing apparatus and method, program, and information processing system
CN101771707B (en) * 2010-02-08 2015-08-12 中兴通讯股份有限公司 Realize the method for terminal room resource-sharing, resource processing system and terminal
CN102137163B (en) * 2011-03-22 2015-08-05 Tcl集团股份有限公司 A kind of method of multimedia file shared system and shared multimedia file thereof
CN102780513A (en) * 2011-05-13 2012-11-14 希姆通信息技术(上海)有限公司 Mobile terminal and method for realizing Bluetooth communication between mobile terminals
CN102355448B (en) * 2011-06-29 2015-07-01 北京原力创新科技有限公司 Cloud streaming media data transmission method and system
CN103209248B (en) * 2012-01-11 2014-12-10 三星电子(中国)研发中心 Mobile phone terminal and method for sharing multi-media content
CN102547443B (en) * 2012-01-16 2014-02-12 广州视源电子科技股份有限公司 Multi-terminal system resource sharing and interaction realizing method
US9448700B2 (en) * 2012-02-03 2016-09-20 Apple Inc. Sharing services
CN102707880B (en) * 2012-04-24 2015-01-07 华为终端有限公司 File transmission method and terminal
CN102833365A (en) * 2012-08-23 2012-12-19 Tcl集团股份有限公司 File playing method and system based on DLNA (Digital Living Network Alliance) and driving and driven DLNA equipment
CN103036962A (en) * 2012-12-06 2013-04-10 惠州Tcl移动通信有限公司 File sharing method and handheld device
CN103279288B (en) * 2013-05-31 2016-08-31 小米科技有限责任公司 Data transmission method, device and terminal unit

Also Published As

Publication number Publication date
CN104601205A (en) 2015-05-06
CN108848567A (en) 2018-11-20
CN108848567B (en) 2022-10-04
WO2015062512A1 (en) 2015-05-07

Similar Documents

Publication Publication Date Title
CN104601205B (en) The method and device that a kind of content is shared
US10621681B1 (en) Method and device for automatically generating tag from a conversation in a social networking website
JP2019537356A (en) Method of updating location area of user terminal, access network entity, user terminal and core network entity
EP2930898B1 (en) Method for sharing file and handheld device
KR20130052751A (en) Terminal and method for arranging icon thereof
CN104219791A (en) Universal environment extender
CN105139877A (en) Method for connecting multimedia play devices, main device, control terminal and system
US20100323752A1 (en) Mobile device having messenger function and related supporting method
CN108184164A (en) Audio frequency playing method, smart television and computer readable storage medium
KR20140031468A (en) Mobile device and method for sharing contents for the mobile device
CN103220822A (en) Data transmission method, data transmission device and mobile terminal
CN113766477A (en) Device connection method, device, electronic device and computer readable medium
CN110881080A (en) Electronic device mainly relying on physical keys to interact with programs
JP2017531974A (en) Network connection method, device, system, program, and recording medium
CN104584490A (en) Data transmitting method and device
CN104469475A (en) Information interactive method, device and system and smart television
CN103888826A (en) Television desktop system and desktop switching method based on android
CN104158854B (en) Resource share method and device
CN105871897B (en) A kind of method, relevant apparatus and system controlling media play
CN105704106B (en) A kind of visualization IVR implementation method and mobile terminal
KR20070014408A (en) Avatar management method and system
EP2933957B1 (en) Method and mobile terminal for displaying dlna equipment
CN101854421A (en) Mobile terminal and multimedia content downloading method thereof
CN104052801B (en) A kind of information processing method and electronic equipment
CN104092720A (en) Playlist sharing method and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right

Effective date of registration: 20171101

Address after: Metro Songshan Lake high tech Industrial Development Zone, Guangdong Province, Dongguan City Road 523808 No. 2 South Factory (1) project B2 -5 production workshop

Applicant after: HUAWEI terminal (Dongguan) Co., Ltd.

Address before: 518129 Longgang District, Guangdong, Bantian HUAWEI base B District, building 2, building No.

Applicant before: Huawei Device Co., Ltd.

TA01 Transfer of patent application right
GR01 Patent grant
GR01 Patent grant
CP01 Change in the name or title of a patent holder

Address after: 523808 Southern Factory Building (Phase I) Project B2 Production Plant-5, New Town Avenue, Songshan Lake High-tech Industrial Development Zone, Dongguan City, Guangdong Province

Patentee after: Huawei Device Co., Ltd.

Address before: 523808 Southern Factory Building (Phase I) Project B2 Production Plant-5, New Town Avenue, Songshan Lake High-tech Industrial Development Zone, Dongguan City, Guangdong Province

Patentee before: HUAWEI terminal (Dongguan) Co., Ltd.

CP01 Change in the name or title of a patent holder