[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

CN108848567A - A kind of method and device that content is shared - Google Patents

A kind of method and device that content is shared Download PDF

Info

Publication number
CN108848567A
CN108848567A CN201810420395.9A CN201810420395A CN108848567A CN 108848567 A CN108848567 A CN 108848567A CN 201810420395 A CN201810420395 A CN 201810420395A CN 108848567 A CN108848567 A CN 108848567A
Authority
CN
China
Prior art keywords
terminal
transmission mode
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.)
Granted
Application number
CN201810420395.9A
Other languages
Chinese (zh)
Other versions
CN108848567B (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
Publication of CN108848567A publication Critical patent/CN108848567A/en
Application granted granted Critical
Publication of CN108848567B publication Critical patent/CN108848567B/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 to improve user experience for simplifying operating procedure.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 workable transmission mode is determined according to the current state of object content, local sharing mode includes workable transmission mode;Determine the terminal list comprising supporting the end message of 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 of at least one terminal support is determined from workable transmission mode;Object content is shared at least one terminal using the first transmission mode.

Description

A kind of method and device that 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 technique
With smart phone the application of universal and mobile phone it is abundant, user see beautiful picture, hear it is pleasing to the ear When music, the interesting news of discovery etc., all these contents are shared to other people by terminal device by habit.
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, i.e., by shared content be published on common platform for Other people check;Another kind of is that shared content is sent to specified receiving end by transmitting terminal, in general, this kind of sharing mode is also classified into two kinds Form:One is transmitting terminals to pass through transit server to receiving end for shared content by modes such as information, mails;Another kind is Transmitting terminal by bluetooth, Wireless Fidelity (WiFi, wireless and fidelity), Digital Life Network Alliance (DLNA, Digital Living Network Alliance) etc. mechanicss of communication carry out equipment room short distance P-2-P technology (P2P, Peer to peer) communication, shared content is sent directly to receiving end;
Currently, when transmission end subscriber is want certain contents being shared with specified receiving end in real time in a local network, usually It is shared using bluetooth, WiFi etc. without the P2P communication mode of the short distance of server.Its implementation process can be specific It is:It sends end subscriber and selects shared content;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 end, transmitting terminal will be shared Content is sent to receiving end;As it can be seen that existing sharing mode operating procedure is more, operation is inflexible, in addition, it is desirable to receiving end User, which opens simultaneously this kind of shared communication mode, can establish connection, and versatility is bad, and user experience is bad.
Summary of the invention
The embodiment of the invention provides the method and devices 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 a kind of method and device that content is shared, wherein 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 workable transmission mode is determined according to the current state of the object content, it is described by local total The mode of enjoying includes the workable transmission mode;
Determine the terminal list comprising the information for supporting the terminal of 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;
Terminal corresponding at least one information in the terminal list establishes connection, and from the workable transmission side The first transmission mode that at least one described terminal is supported is determined in formula;
The object content is shared at least one described terminal using first transmission mode.In first aspect In the first possible implementation, the local sharing mode includes bluetooth, Digital Life Network Alliance DLNA, Wireless Display Wifi Display, hypertext transfer protocol HTTP, File Transfer Protocol FTP, expansible communication and presentation protocol XMPP;
The priority that workable transmission mode is determined according to the current state of the object content includes:
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 implementation of with reference to first aspect the first, in the second possible implementation, the determination 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.
In a third possible implementation of the first aspect, described that institute is determined from the workable transmission mode The first transmission mode of at least one terminal support is stated, including:
The workable transmission mode supported according at least one described terminal and the workable transmission mode Priority determines the workable transmission mode supported under current scene and the scene;
It can be used what the workable transmission mode supported under the determining scene and at least one described terminal were supported Transmission mode matched, determine the first transmission mode.
The first or second or the third possible implementation with reference to first aspect, the 4th kind of possible realization side In formula, before the priority that workable transmission mode is determined according to the current state of the object content, further include:
Determine the shared model of the object content, the shared model includes good friend's mode and commonality schemata, described good Friendly mode 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 implementation with reference to first aspect, in a fifth possible implementation, the determination Terminal list comprising supporting the end message of at least one workable transmission mode, including:
When the shared model for determining the object content is good friend's mode:
It determines comprising supporting at least one workable transmission mode, and presetting or labeled as good friend's terminal The terminal list of end message, end message in the terminal list according to support the workable transmission mode it is excellent First grade is ranked up;
When the shared model for determining the object content is commonality schemata:
Determine the terminal list comprising supporting the end message of 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 comprising the information for supporting the terminal of at least one local sharing mode;
At least one purpose terminal is determined from the terminal list;
The first transmission mode is determined according to the current state of the object content, and the local sharing mode includes described the One transmission mode;
The object content is shared at least one described terminal using first transmission mode.
Third aspect present invention provides a kind of content sharing apparatus, which is characterized in that including:
First obtains module, and 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 determining the preferential of workable transmission mode according to the current state of the object content Grade, described by local sharing mode includes the workable transmission mode;
Second determining module, for determining the information comprising supporting the terminal of at least one workable transmission mode Terminal list, the priority for the workable transmission mode that the information is supported according to terminal is ranked up;
Third determining module establishes connection for terminal corresponding at least one information in the terminal list, and from The first transmission mode that at least one described terminal is supported is determined in the workable transmission mode;
First sharing module, for using first transmission mode by the object content share to it is described at least one Terminal.
In the first possible implementation 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 for determining the object content is projection state or does 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.
In conjunction with the first possible implementation of the third aspect, in the second possible implementation, 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 implementation of the third aspect, the third determining module, is specifically used for:
The workable transmission mode supported according at least one described terminal and the workable transmission mode Priority determines the workable transmission mode supported under current scene and the scene;
It can be used what the workable transmission mode supported under the determining scene and at least one described terminal were supported Transmission mode matched, determine the first transmission mode.
In conjunction with the third aspect the first or second or the third possible implementation, 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 mode and commonality schemata, good friend's mode instruction only obtains presetting or terminal letter labeled as good friend's terminal Breath, the commonality schemata instruction obtain the end message of all connectable terminals.
In conjunction with the 4th kind of possible implementation of the third aspect, in a fifth possible implementation, described second Determining module is specifically used for:
When the shared model for determining the object content is good friend's mode:It determines comprising supporting 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 comprising supporting 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 obtains module, and 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 comprising the information for supporting the terminal of 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 using first transmission mode by the object content share to it is described at least one Terminal.
As can be seen from the above technical solutions, the shared method and device of content provided in an embodiment of the present invention has following Advantage:The priority that workable transmission mode is determined according to the current state of object content, to use 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 institute under current scene The transmission mode used dynamically updates terminal list according to the priority of determining transmission mode, so that user is by higher It is shared that the transport protocol and connectable terminal of priority carry out content.
Detailed description of the invention
In order to illustrate the technical solution of the embodiments of the present invention more clearly, will be described below to embodiment required Attached drawing is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the 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.
A kind of Fig. 1 flow diagram for the method that content is shared provided in an embodiment of the present invention;
Another flow diagram of the shared method of Fig. 2 content provided in an embodiment of the present invention;
Another flow diagram of the shared method of Fig. 3 content provided in an embodiment of the present invention;
Another flow diagram of the shared method of Fig. 4 content provided in an embodiment of the present invention;
A kind of Fig. 5 structural schematic diagram of content sharing apparatus provided in an embodiment of the present invention;
Another structural schematic diagram of Fig. 6 content sharing apparatus provided in an embodiment of the present invention;
Another structural schematic diagram of Fig. 7 content sharing apparatus provided in an embodiment of the present invention;
Another structural schematic diagram of Fig. 8 content sharing apparatus provided in an embodiment of the present invention.
Specific embodiment
The embodiment of the invention provides the method and devices that a kind of content is shared, for simplifying operation step when content is shared Suddenly, user experience is improved.
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts all other Embodiment shall fall within the protection scope of the present invention.
It is described in detail separately below.
Embodiment one:
Referring to FIG. 1, Fig. 1 is a kind of flow diagram of the shared method of content provided in an embodiment of the present invention, 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 shared method executing subject of the content can be terminal, and the terminal can be mobile phone or plate 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 for referring to Show and is 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-pressing is slided to the left, three hit (continuously click three times) etc.;It can also be with It is a kind of information (i.e. hand is not in contact with intelligent terminal) of suspension gesture, such as:User's finger suspension stay several seconds 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) etc. pass Defeated agreement proceeds without the sharing mode of the point-to-point P2P communication of equipment room of server;Wherein, P2P communication refers 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 user sharing may be the combination of plurality of kinds of contents, usual one A terminal page (such as webpage) may include link, video, audio, picture, text different types of information it is a kind of or more Kind.User issues the gesture information consistent with preset gesture information on a certain target object in the present terminal page, then Indicate that user wants to share the target object, such as:If user is chaining sending gesture information, then it represents that the user sharing chain It connects, terminal detects the gesture information and shares the link;If user issues gesture information on video, then it represents that user sharing The video, terminal detect the gesture information and share the video;If user issues gesture information in the white space of the page, Indicate the user sharing page, terminal detects the gesture information and shares the page.
S102, the priority that workable transmission mode is determined according to the current state of the object content, it is described to pass through Local sharing mode includes the workable transmission mode;
S103, the terminal list comprising the information for supporting the terminal of at least one workable transmission mode is determined;
Wherein, the priority for the workable transmission mode that the 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 described terminal is supported is determined in transmission mode;
S105, the object content is shared at least one described 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 do not need oneself selection transmission mode type, and by being System is that user selects.User only needs to select local sharing, selection target equipment, to use workable transmission mode Realize that content is shared, simplify it is existing it is middle carry out shared operating procedure, improve user experience.
Technical solution in order to better understand 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 the terminal for executing the method is mobile phone, i.e. mobile phone is shared for content Transmitting terminal, the mobile phone shares determining object content at least one attachable terminal of the mobile phone.
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, include The attachable terminal 203 of at least one of user 201, mobile phone 202, mobile phone, wherein the behaviour shared for more intuitive expression content 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 user 201 only as the signal of work flow diagram, and is not belonging to a part of system.
Wherein, the shared method of the content may include:
S201,201 selection target content of user, and issue gesture information;
The selection target content in the mobile phone page 2021 of user 201, and gesture information is issued on the object content position;
S202, the mobile phone page 2021 obtain the gesture information of user 201;
The gesture information, which is used to indicate, is carried out present terminal (i.e. mobile phone 202) page info by local sharing mode Shared, the gesture information can be a kind of information for gesture that hand common at present is in contact with smart phone, such as:Long-pressing Sliding, three hit (continuously click three times) etc. to the left;Be also possible to a kind of suspension gesture information (i.e. hand not with 202 phase of mobile phone Contact), such as:User's finger suspension stay several seconds 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 in conjunction with mobile phone page info according to the gesture information 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 (such as mobile phone page 2021 is webpage) may include link, video, audio, picture, text difference The one or more of type information.User 201 issued 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 Issue 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 issues 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 issues 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 may include link, video, audio, picture, in text 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 according to the state information, determine the priority of workable transmission mode;
It is understood that the S205 and S206 can make a concrete analysis of it is as follows:
The selected object content of user 201 may have multiple states, in present embodiment, the state of the object content May include:Such as a picture or audio-video document, (it may show/broadcast for Streaming Media when user 201 selects Put) state, it is also possible to for file (do not show/static) state, (i.e. user 201 is only browsed 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 determining 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, can analyze by detecting and determining the status information of the object content 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 first scene is to send Send scene, and second scene is to play Play scene;
Wherein, Send scene refers to the biography for directlying adopt bluetooth, HTTP, FTP, XMPP transmission mode progress object content It is defeated, the target object that user 201 chooses is transferred to by bluetooth, the transmission mode of HTTP, FTP, XMPP and receives terminal (terminal 203);Wherein XMPP protocol mainly corresponds to the transmission (i.e. the URL of transmission objectives content to receive terminal) of URL;Bluetooth, HTTP, FTP mainly corresponds to the transmission of the media files such as picture, video.
Play scene refers to the transmission that object content is carried out using DLNA, Wifi Display transmission mode, and terminal 203 connects It can directly be played out after receiving object content.That is, under Play scene, after terminal 203 receives object content Its content status is broadcast state, such as user 201 shares a video being played on 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 local shared file (picture, video, an audio being played on Deng), then the priority for the transmission mode that system is supported in Play scene in determining workable transmission mode is higher, Send The transmission mode priority supported in scape is lower.Conversely, when user select local shared one it is static, when the file that do not show, The transmission mode priority then supported in Send scene is higher, and the transmission mode priority of the support in Play scene is lower.
For example, working as user 201 in the object content locally selected is file (picture, video, an audio being played on Deng), then System Priority is using Play scene, secondly selection Send scene, accordingly, preferentially uses DLNA, Wifi Display Secondly transmission mode uses bluetooth, the transmission mode of HTTP, FTP, XMPP;When user selects a local shared static text When part, then System Priority use Send scene, secondly use Play scene, accordingly, preferentially using bluetooth, HTTP, FTP, Secondly the transmission mode of XMPP uses DLNA, Wifi Display transmission mode.
It should be noted that may be used also when the embodiment of the present invention is based on detecting and determining the status information of the object content To include the scene of shared APP:
When user selects APP icon to share, first have to carry out local detection, whether detection is local saves the APP Installation file.If the local installation file that the APP is not present, system default share the APP downloading URL (URL by APP is provided);If locally there are the installation file of APP, system determines shared content for URL also after determining reception terminal It is APP installation file, after determining, if receiving, terminal is consistent with end system capabilities are sent, and (system capability unanimously refers to same type System (such as being all Android system)), then system determines that shared content is APP installation file;If receiving terminal and sending eventually End system ability it is inconsistent (such as receive terminal be apple IOS system, transmissions terminal be Android system;Or receive terminal For 2.0 or more Android system, transmission terminal is Android system 2.3), that is to say, that since system version difference installation file cannot Compatible scene, system share the downloading URL of the APP.
S207, mobile phone operating system 2022 determine the terminal comprising supporting at least one workable transmission mode The terminal list of information;
It is understood that mobile phone operating system 2022 after obtaining the ability information of adjacent terminals, is determined and is updated Terminal list comprising connectable terminal may include in some embodiments:
Determine the terminal list comprising the information for supporting the terminal of 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 detection adjacent terminals, according to one supported in Send scene and Play scene and Multiple transmission modes, and determination can at least support that a kind of one or more of transmission mode is adjacent in above-mentioned workable transmission mode The list of devices of nearly terminal (adjacent terminals for having transmittability i.e. in list comprising one or more).For not supporting S206 The adjacent equipment of either type in the workable transmission mode that middle system determines, then system filters this out.
It is possible to further by the information of qualified terminal, according to support transmission mode priority by up to The whole displays of low progress, 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:Currently enable the information of the terminal of transmission mode workable for this kind;The transmission mode even currently enabled When type is a kind of, without considering the priority of transmission mode, directly update terminal list.
Updated terminal list is sent to and shows 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 choose one according to the terminal list of display A terminal 203 also can choose multiple terminals 203, i.e. transmitting terminal and receiving end can be one-to-one mode, or a pair of Multi-mode is not especially limited herein.
S210, mobile phone 202 and at least one terminal 203 establish connection, from the workable transmission mode determine to The first transmission mode that a few terminal is supported;
It can be specifically:
The workable transmission mode supported according at least one described terminal and the workable transmission mode Priority determines the workable transmission mode supported under current scene and the scene;
It can be used what the workable transmission mode supported under the determining scene and at least one described terminal were supported Transmission mode matched, determine the first transmission mode.
It is understood that i.e. the first transmission mode is adopted if System Priority is using Play scene, next selection Send scene With the transmission mode supported in Play scene.If selected reception terminal does not support the transmission mode in Play scene, first is passed Defeated mode is using the transmission mode in Send scene.Similarly, if System Priority uses Send scene, Play scene is secondly selected, That is the first transmission mode is using the transmission mode in Send scene, if selected reception terminal does not support the transmission side in Send scene Formula, then the first transmission mode is using the transmission mode in Play scene.
That is, the first transmission mode can not according to the ability difference for receiving terminal for different reception terminals 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 receive terminal A between the first transmission mode be DLNA;Receive terminal B branch The transmission mode that Wifi Display does not support DLNA is held, then sending terminal and receiving 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 shared request of user content, sets up connection by WiFi Direct platform, i.e., by answering Session connection is established with service platform (ASP, Application Service Platform), and corresponding using the terminal 203 The transport protocol of highest priority to carry out content shared.
Allow the equipment in wireless network without passing through wireless routing it is understood that WiFi Direct standard refers to Device can be connected with each other.ASP is a platform between upper layer application and bottom WiFi Direct, shields upper layer to WiFi Direct is called directly, and provides the function of a unified service discovery and interconnection 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 do not need oneself selection transmission mode type, and by being System is that user selects.User only needs to select local sharing, selection target equipment, to use workable transmission mode Realize that content is shared, simplify it is existing it is middle carry out shared operating procedure, used it is possible to further determine that current scene is lower Transmission mode terminal list is dynamically updated according to the priority of determining transmission mode, so that user passes through higher prior The transport protocol and connectable terminal of grade carry out content and share, and improve user experience.
Embodiment three:
Referring 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, the terminal for executing the method is mobile phone, i.e., mobile phone is the transmitting terminal that content is shared, the hand Machine shares determining 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 increased in example;It wherein, include user 301, mobile phone 302, terminal in the shared system of content 303, for the operating procedure that more intuitive expression content 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 user 301 only as the signal of work flow diagram, and is not belonging to one of system Point.
Wherein, the shared method of the content may include:
S301,301 selection target content of user, and issue 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 in conjunction with mobile phone page info according to the gesture information Object content;
It is understood that S301 to S304 can be with reference to the process of S201 to S204 in a upper embodiment in the embodiment It is implemented, is no longer specifically described herein.
S305, the prompt user 301 of mobile phone operating system 3022 select the shared model of the object content;
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:
The prompt user 301 of mobile phone operating system 3022 selects the shared model of the object content, wherein the shared mould Formula includes good friend's mode and commonality schemata, and good friend's mode 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 transmitted 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 according to the state information, determine the priority of workable transmission mode;
It is understood that S308 to S309 can be with reference 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 determine the terminal comprising supporting at least one workable transmission mode The terminal list of information;
Mobile phone operating system 3022 is in conjunction with the shared model of the object content determined in S307 and the biography of the support The priority of defeated agreement updates terminal list, may include:
When the shared model for determining the object content is good friend's mode:It determines comprising supporting 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, i.e., determination includes 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:Currently enable the information of the terminal of transmission mode workable for this kind;The transmission mode even currently enabled When type is a kind of, without considering the priority of transmission mode, directly update terminal list.
Updated terminal list is sent to and shows 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 establish connection, from the workable transmission mode determine 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 can be with reference 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 do not need oneself selection transmission mode type, and by being System is that user selects.User only needs to select local sharing, selection target equipment, to use workable transmission mode Realize that content is shared, simplify it is existing it is middle carry out shared operating procedure, used it is possible to further determine that current scene is lower Transmission mode terminal list is dynamically updated according to the priority of determining transmission mode, so that user passes through higher prior The transport protocol and connectable terminal of grade carry out content and share, and improve user experience.
Example IV:
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 shared method of the content 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 comprising the information for supporting the terminal of at least one local sharing mode is determined;
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 described terminal using first transmission mode.
It is understood that the difference of the example IV and previous embodiment one to embodiment three is, embodiment one to Embodiment is third is that first determine workable transmission mode (the workable transmission mode has priority), further according to usable Transmission mode selection receive terminal, receive terminal can first be ranked up, will support the higher usable transmission side of priority The reception terminal of formula comes by front position;And example IV is that first selection receives terminal, then determines and receive making for terminal support With transmission mode, the transmission mode of highest priority in the usable transmission mode can choose.
It is another it is contemplated that in the example IV each step detailed analysis, can with reference 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 does not need oneself selection transmission mode type, and is user by system Selection.User only needs to select local sharing, selection target terminal, to realize content using workable transmission mode It is shared, simplify it is existing it is middle carry out shared operating procedure, improve user experience.
For the method shared convenient for better implementation content provided in an embodiment of the present invention, the embodiment of the present invention also provides one Terminal of the kind based on above content sharing method.Wherein the meaning of noun is identical with the above method, and specific implementation details can be with With reference to the explanation in embodiment of the method.
Embodiment five:
Referring to FIG. 5, Fig. 5 is a kind of structural schematic diagram of content sharing apparatus 500 provided in an embodiment of the present invention, In, described device 500 may include:
First obtains module 501, and 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 determining workable transmission mode according to the current state of the object content Priority, described by local sharing mode includes the workable transmission mode;
Second determining module 503, for determining the terminal comprising supporting at least one workable transmission mode The priority of the terminal list of information, the workable transmission mode that the information is supported according to terminal is ranked up;
Third determining module 504 for establishing connection at least one terminal in the terminal list, and makes from described The first transmission mode that at least one described 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 for referring to Show and is 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-pressing is slided to the left, three hit (continuously click three times) etc.;It can also be with It is a kind of information (i.e. hand is not in contact with intelligent terminal) of suspension gesture, such as:User's finger suspension stay several seconds 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 communication of equipment room of server;Wherein, P2P is communicated 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 user sharing may be the combination of plurality of kinds of contents, usual one A terminal page (such as webpage) may include link, video, audio, picture, text different types of information it is a kind of or more Kind.User issues the gesture information consistent with preset gesture information on a certain target object in the present terminal page, then Indicate that user wants to share the target object, such as:If user is chaining sending gesture information, then it represents that the user sharing chain It connects, terminal detects the gesture information and shares the link;If user issues gesture information on video, then it represents that user sharing The video, terminal detect the gesture information and share the video;If user issues gesture information in the white space of the page, Indicate the user sharing 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 does not need oneself selection transmission mode type, and by System is user's selection.User only needs to select local sharing, selection target equipment, to use workable transmission side Formula realizes that content is shared, 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 may include:Such as it for a picture or audio-video document, (may be put for Streaming Media when user selects Reflect/play) state, it is also possible to for file (do not show/static) state, (i.e. user is only browsed 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 be 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 is higher than can be used for the second scene support Transmission mode priority.
That is, can analyze by detecting and determining the status information of the object content 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 to send Send Scene, second scene are to play Play scene;
Wherein, Send scene refers to the biography for directlying adopt bluetooth, HTTP, FTP, XMPP transmission mode progress object content It is defeated, the target object that user 201 chooses is transferred to by bluetooth, the transmission mode of HTTP, FTP, XMPP and receives terminal (terminal 203);Wherein XMPP protocol mainly corresponds to the transmission (i.e. the URL of transmission objectives content to receive terminal) of URL;Bluetooth, HTTP, FTP mainly corresponds to the transmission of the media files such as picture, video.
Play scene refers to the transmission that object content is carried out using DLNA, Wifi Display transmission mode, and terminal 203 connects It can directly be played out after receiving object content.That is, under Play scene, after terminal 203 receives object content Its content status is broadcast state, such as user 201 shares a video being played on 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 local shared file (picture, video, an audio being played on Deng), then the priority for the transmission mode that system is supported in Play scene in determining workable transmission mode is higher, Send The transmission mode priority supported in scape is lower.Conversely, when user select local shared one it is static, when the file that do not show, The transmission mode priority then supported in Send scene is higher, and the transmission mode priority of the support in Play scene is lower.
For example, working as user 201 in the object content locally selected is file (picture, video, an audio being played on Deng), then System Priority is using Play scene, secondly selection Send scene, accordingly, preferentially uses DLNA, Wifi Display Secondly transmission mode uses bluetooth, the transmission mode of HTTP, FTP, XMPP;When user selects a local shared static text When part, then System Priority use Send scene, secondly use Play scene, accordingly, preferentially using bluetooth, HTTP, FTP, Secondly the transmission mode of XMPP uses DLNA, Wifi Display transmission mode.
It should be noted that the first determining module of the embodiment of the present invention, is also used to detect and determines the object content Status information, when detecting the scene of current not shared APP:It is, when user selects APP icon to share, it is first First to carry out local detection, the local installation file for whether saving the APP of detection.If the local installation file that the APP is not present, Then system default shares the downloading URL of the APP (URL is provided by APP);If local there are the installation file of APP, system exists It determines and determines that shared content is URL or APP installation file after receiving terminal, after determining, if receiving terminal and sending terminal System capability is consistent, (system capability unanimously refers to same type system (such as being all Android system)), then system determination is shared Content is APP installation file;If receive terminal and send end system capabilities it is inconsistent (such as receive terminal be apple IOS System, transmission terminal are Android system;Or receiving terminal is 2.0 or more Android system, 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 downloading 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 supporting at least one workable transmission mode 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 detection adjacent terminals, according to one supported in Send scene and Play scene and Multiple transmission modes, and determination can at least support that a kind of one or more of transmission mode is adjacent in above-mentioned workable transmission mode The list of devices of nearly terminal (adjacent terminals for having transmittability i.e. in list comprising one or more).For not supporting system The adjacent equipment of either type in determining workable transmission mode, then system filters this out.
It is possible to further by the information of qualified terminal, according to support transmission mode priority by up to The whole displays of low progress, 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:Currently enable the information of the terminal of transmission mode workable for this kind;The transmission mode even currently enabled When type is a kind of, without considering the priority of transmission mode, directly update terminal list.
Further, the third determining module 503, can be specifically used for:
The workable transmission mode supported according at least one described terminal and the workable transmission mode Priority determines the workable transmission mode supported under current scene and the scene;
It can be used what the workable transmission mode supported under the determining scene and at least one described terminal were supported Transmission mode matched, determine the first transmission mode.
It is understood that user can choose a terminal, it also can choose multiple terminals, i.e. transmitting terminal and receiving end It can be one-to-one mode, or a pair of of multi-mode is not especially limited herein.
Determination about first transmission mode:If System Priority is using Play scene, secondly selection Send scene, i.e., First transmission mode is using the transmission mode supported in Play scene.If selected reception terminal does not support the transmission in Play scene Mode, then the first transmission mode is using the transmission mode in Send scene.Similarly, if System Priority uses Send scene, secondly Play scene is selected, i.e. the first transmission mode is using the transmission mode in Send scene, if selected reception terminal does not support Send Transmission mode in scene, then the first transmission mode is using the transmission mode in Play scene.
That is, the first transmission mode can not according to the ability difference for receiving terminal for different reception terminals 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 receive terminal A between the first transmission mode be DLNA;Receive terminal B branch The transmission mode that Wifi Display does not support DLNA is held, then sending terminal and receiving 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 mode and commonality schemata, and good friend's mode 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 mode:It determines comprising supporting 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 comprising supporting 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 it is workable The type of transmission mode is one kind, then terminal list includes:Currently enable the letter of the terminal of transmission mode workable for 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 can refer to embodiment of the method (embodiment one in described device 500 To embodiment three) each step is implemented in such as Fig. 2 or content sharing method as shown in Figure 3, and 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 does not need oneself selection transmission mode type, and by System is user's selection.User only needs to select local sharing, selection target equipment, to use workable transmission side Formula realizes that content is shared, simplify it is existing it is middle carry out shared operating procedure, made it is possible to further determine that current scene is lower Transmission mode dynamically updates terminal list according to the priority of determining transmission mode, so that user passes through compared with Gao You The transport protocol and connectable terminal of first grade carry out content and share, and improve 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 structural schematic diagram, wherein the content sharing apparatus 600 may include:
Second obtains module 601, and 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 the information comprising supporting the terminal of 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 the difference of the embodiment six and previous embodiment five is, embodiment is fifth is that first determination can make Transmission mode (the workable transmission mode has priority), selects to receive eventually further according to workable transmission mode End, receiving terminal can first be ranked up, and the reception terminal for supporting the higher usable transmission mode of priority be come forward Position;And embodiment sixth is that first selection receive terminal, then determine receive terminal support usable transmission mode, can choose institute 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, aforementioned reality can be referred to 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 does not need oneself selection transmission mode type, and is to use by system Family selection.User only needs to select local sharing, selection target terminal, thus 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, referring to FIG. 7, Fig. 7 provides for the embodiment of the present invention Content sharing apparatus 700 structural schematic diagram, the terminal 700 include the first input unit 701, the first output device 702 With first processor 703, the first processor 703 executes 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 workable transmission mode is determined according to the current state of the object content, it is described to pass through local Sharing mode includes the workable transmission mode;Determine the end comprising supporting at least one workable transmission mode The priority of the terminal list of the information at end, the workable transmission mode that the information is supported according to terminal is arranged Sequence;Establish connection 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 described terminal.
In the above-described embodiments, it all emphasizes particularly on different fields to the description of each embodiment, there is no the portion being described in detail in some embodiment Point, reference can be made to the related descriptions of other embodiments.
The embodiment of the present invention also provides a kind of content sharing apparatus 800, referring to FIG. 8, Fig. 8 provides for the embodiment of the present invention Content sharing apparatus 800 structural schematic diagram, the terminal 800 include the first input unit 801, the first output device 802 With first processor 803, the first processor 803 executes 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 comprising the information for supporting the terminal of at least one local sharing mode;From the end It holds and determines at least one purpose terminal in list;The 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, it all emphasizes particularly on different fields to the description of each embodiment, there is no the portion being described in detail in some embodiment Point, reference can be made to the related descriptions of other embodiments.
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, can refer to corresponding processes in the foregoing method embodiment, and details are not described herein.
In several embodiments provided herein, it should be understood that disclosed system, device and method can be with It realizes by another way.For example, the apparatus embodiments described above are merely exemplary, for example, the unit It divides, only a kind of logical function partition, there may be another division manner in actual implementation, such as multiple units or components It can be combined or can be integrated into another system, or some features can be ignored or not executed.Another point, it is shown or The mutual coupling, direct-coupling or communication connection discussed can be through some interfaces, the indirect coupling of device or unit It closes or communicates to connect, can be electrical property, mechanical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme 's.
It, can also be in addition, the functional units in various embodiments of the present invention may be integrated into one processing unit It is that each unit physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated list Member both can take the form of hardware realization, can also realize in the form of software functional units.
If the integrated unit is realized in the form of SFU software functional unit and sells or use as independent product When, it can store in a computer readable storage medium.Based on this understanding, technical solution of the present invention is substantially The all or part of the part that contributes to existing technology or the technical solution can be in the form of software products in other words It embodies, which is stored in a storage medium, including some instructions are used so that a computer Equipment (can be personal computer, server or the network equipment etc.) executes the complete of each embodiment the method for the present invention Portion or part steps.And storage medium above-mentioned includes:USB flash disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic or disk etc. are various can store journey The medium of sequence code.
The method and device shared to a kind of content provided by the present invention is described in detail above, for this field Those skilled in the art, thought according to an embodiment of the present invention has change in specific embodiments and applications Place, in conclusion the contents of this specification are not to be construed as limiting the invention.

Claims (16)

1. a kind of shared method of content, which is characterized in that including:
Terminal obtains user instruction, and the user instruction is used to indicate the terminal and passes through what local sharing mode selected user Object content is shared, wherein the local sharing mode includes transmission mode and the second scene workable for the first scene Workable transmission mode, transmission mode workable for transmission mode and second scene workable for first scene is not Together;
Workable transmission mode is determined according to the current state of the object content;
If the current state of the object content is state of not showing, the terminal determines the workable transmission mode For transmission mode workable for first scene;
If the current state of the object content is projection state, the terminal determines that the workable transmission mode is Transmission mode workable for second scene;
The terminal determines the workable transmission mode for supporting the determination according to the workable transmission mode of the determination Terminal information terminal list;
Terminal terminal corresponding at least one information in the terminal list establishes connection, and makes from the determination The first transmission mode that at least one described terminal is supported is determined in transmission mode;
The terminal is shared the object content at least one described terminal using first transmission mode.
2. the method according to claim 1, wherein the local sharing mode includes:Digital living network connection At least one of alliance DLNA and Wireless Display Wifi Display transport protocol.
3. method according to claim 1 or 2, which is characterized in that the current state according to the object content is true Before fixed workable transmission mode, further include:
Determine that the shared model of the object content, the shared model include good friend's mode 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.
4. a kind of shared method of content, which is characterized in that including:
Terminal determines the list comprising the information for supporting the terminal of local sharing mode;
At least one purpose terminal is determined from the terminal list;
The terminal is shared the object content that user selects by local sharing mode, wherein the shared side in the local Formula includes at least one of DLNA and Wifi Display transport protocol;
If the current state of the object content is projection state, the terminal determines the from the local sharing mode One transmission mode;
If the current state of the object content is state of not showing, the terminal is determined from the local sharing mode Second transmission mode, wherein first transmission mode is different with second transmission mode;
The terminal is shared the object content to the mesh using first transmission mode or second transmission mode Mark terminal.
5. according to the method described in claim 4, it is characterized in that, the terminal passes through what local sharing mode selected user Object content is shared, and is specifically included:
The terminal obtains the gesture information of user;
The terminal shares the object content that user selects according to the gesture information, by local sharing mode.
6. method according to claim 4 or 5, which is characterized in that the object content includes link, video, audio, figure At least one of piece, text or mobile phone page.
7. method according to claim 4 or 5, which is characterized in that the object content is video.
8. method according to claim 4 or 5, which is characterized in that determine at least one from the terminal list described After a target terminal, further include:
Detect and determine the status information of the object content.
9. a kind of content sharing apparatus, which is characterized in that including:
First obtains module, and for obtaining user instruction, the user instruction is used to indicate the terminal and passes through local shared side Formula shares the object content that user selects, wherein the local sharing mode includes the workable transmission of the first scene Transmission mode workable for mode and the second scene, transmission mode workable for first scene can make with second scene Transmission mode is different;;
First determining module, for determining workable transmission mode according to the current state of the object content;
If the current state of the object content is state of not showing, the terminal determines the workable transmission mode For transmission mode workable for first scene;
If the current state of the object content is projection state, the terminal determines that the workable transmission mode is Transmission mode workable for second scene;;
Second determining module determines for the workable transmission mode according to the determination and supports can be used for the determination Transmission mode terminal information terminal list;
Third determining module establishes connection for terminal terminal corresponding at least one information in the terminal list, And the first transmission mode that at least one described terminal is supported is determined from the workable transmission mode of the determination;
First sharing module, for being shared the object content at least one described end using first transmission mode End.
10. device according to claim 8, which is characterized in that the local sharing mode includes digital living network connection At least one of alliance DLNA and Wireless Display Wifi Display transport protocol.
11. device according to claim 10, which is characterized in that first determining module is according to the object content Current state determine workable transmission mode before, be also used to:
Determine that the shared model of the object content, the shared model include good friend's mode 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.
12. a kind of content sharing apparatus, which is characterized in that including:
5th determining module, for determining the list comprising the information for supporting the terminal of the local sharing mode;
6th determining module, for determining at least one purpose terminal from the terminal list;
Second sharing module, for being shared the object content that user selects by local sharing mode, wherein described Ground sharing mode includes at least one of DLNA and Wifi Display transport protocol;
7th determining module, is used for:If the current state of the object content is projection state, the terminal is from described The first transmission mode is determined in ground sharing mode, or, if the current state of the object content is not show state, it is described Terminal determines the second transmission mode from the local sharing mode, wherein first transmission mode and second transmission Mode is different;
Second sharing module, is also used for first transmission mode or the object content is total to by second transmission mode It enjoys to the target terminal.
13. according to the method for claim 12, which is characterized in that second sharing module is specifically used for:
Obtain the gesture information of user;According to the gesture information, the object content for being selected user by local sharing mode It is shared.
14. method according to claim 12 or 13, which is characterized in that the object content includes link, video, sound Frequently, at least one of picture, text or mobile phone page.
15. method according to claim 12 or 13, which is characterized in that the object content is video.
16. method according to claim 12 or 13, which is characterized in that the 7th determining module is also used to:
Detect and determine the status information of the object content.
CN201810420395.9A 2013-10-31 2013-10-31 Content sharing method and device Active CN108848567B (en)

Priority Applications (1)

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

Applications Claiming Priority (2)

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

Related Parent Applications (1)

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

Publications (2)

Publication Number Publication Date
CN108848567A true CN108848567A (en) 2018-11-20
CN108848567B CN108848567B (en) 2022-10-04

Family

ID=53003366

Family Applications (2)

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

Family Applications Before (1)

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

Country Status (2)

Country Link
CN (2) CN104601205B (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
WO2016200018A1 (en) 2015-06-08 2016-12-15 Samsung Electronics Co., Ltd. Method and apparatus for sharing application
CN104850463B (en) * 2015-06-08 2019-11-15 三星电子(中国)研发中心 Application sharing method and device
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 methods, systems, terminal devices and storage media

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1852551A (en) * 2005-05-20 2006-10-25 华为技术有限公司 Method for realizing multi-cast business data based on mobile network
CN1921689A (en) * 2006-06-19 2007-02-28 Ut斯达康通讯有限公司 System and method for realizing multicast in UTRA TDD HCR system by using descending share channel
CN101771707A (en) * 2010-02-08 2010-07-07 中兴通讯股份有限公司 Method for realizing resource share among terminals, resource processing system and terminals
CN102137163A (en) * 2011-03-22 2011-07-27 Tcl集团股份有限公司 Multimedia file sharing system and method
CN102707880A (en) * 2012-04-24 2012-10-03 华为终端有限公司 File transmission method and terminal
CN102780513A (en) * 2011-05-13 2012-11-14 希姆通信息技术(上海)有限公司 Mobile terminal and method for realizing Bluetooth communication between mobile terminals
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
CN103209248A (en) * 2012-01-11 2013-07-17 三星电子(中国)研发中心 Mobile phone terminal and method for sharing multi-media content
US20130205219A1 (en) * 2012-02-03 2013-08-08 Apple Inc. Sharing services

Family Cites Families (6)

* 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
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
CN102355448B (en) * 2011-06-29 2015-07-01 北京原力创新科技有限公司 Cloud streaming media data transmission method and system
CN102547443B (en) * 2012-01-16 2014-02-12 广州视源电子科技股份有限公司 Multi-terminal system resource sharing and interaction realizing method
CN103279288B (en) * 2013-05-31 2016-08-31 小米科技有限责任公司 Data transmission method, device and terminal unit

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1852551A (en) * 2005-05-20 2006-10-25 华为技术有限公司 Method for realizing multi-cast business data based on mobile network
CN1921689A (en) * 2006-06-19 2007-02-28 Ut斯达康通讯有限公司 System and method for realizing multicast in UTRA TDD HCR system by using descending share channel
CN101771707A (en) * 2010-02-08 2010-07-07 中兴通讯股份有限公司 Method for realizing resource share among terminals, resource processing system and terminals
CN102137163A (en) * 2011-03-22 2011-07-27 Tcl集团股份有限公司 Multimedia file sharing system and method
CN102780513A (en) * 2011-05-13 2012-11-14 希姆通信息技术(上海)有限公司 Mobile terminal and method for realizing Bluetooth communication between mobile terminals
CN103209248A (en) * 2012-01-11 2013-07-17 三星电子(中国)研发中心 Mobile phone terminal and method for sharing multi-media content
US20130205219A1 (en) * 2012-02-03 2013-08-08 Apple Inc. Sharing services
CN102707880A (en) * 2012-04-24 2012-10-03 华为终端有限公司 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

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
崔金红等: "能力共享架构及其在IM和SNS中的应用研究", 《计算机科学》 *

Also Published As

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

Similar Documents

Publication Publication Date Title
CN104601205B (en) The method and device that a kind of content is shared
US7689168B2 (en) Remote user interface for Bluetooth™ device
EP2327198B1 (en) Remote user interface in multiphone environment
CN102981613B (en) terminal and terminal control method
CN112350981B (en) Method, device and system for switching communication protocol
JP6383109B2 (en) Network connection method, network connection device, terminal, communication device, network connection system, program, and recording medium
CN102917326B (en) The communication means of double card bilateral terminal, device and double card bilateral terminal
CN113766477A (en) Device connection method, device, electronic device and computer readable medium
CN105025043A (en) Information sharing method, information sharing device and information sharing system
AU2013269061B2 (en) Short-range wireless communication device
CN103220822A (en) Data transmission method, data transmission device and mobile terminal
EP3476109A1 (en) Wireless audio source switching
CN104852984A (en) Method and system for transmitting data between smart terminals based on multi-screen interaction
JP2016538673A (en) Message transmission method, message transmission device, electronic device, program, and recording medium
CN116709226B (en) Communication relay method, electronic device, communication system, and storage medium
JP6345254B2 (en) Video communication termination method and apparatus
WO2017223165A1 (en) Wireless audio source switching
CN114390500B (en) Device connection method, device and storage medium
CN105472161A (en) Method and device for operating mobile terminal through drive-by-wire
CN115022862A (en) Management method and device of Bluetooth equipment
CN104010017A (en) Terminal device and information processing method applied thereto
KR101455750B1 (en) Mobile telecommunication terminal providing supplementary service during call service and method for providing supplementary service in the mobile telecommunication terminal
CN105704535A (en) Control method and apparatus for audio and video playing system, and audio and video playing system
CN117149128A (en) Audio playback method and related device
CN103200075A (en) Creating method of message board, server and creating system of message board

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information
CB02 Change of applicant information

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

Applicant 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

Applicant before: Huawei terminal (Dongguan) Co.,Ltd.

GR01 Patent grant
GR01 Patent grant