CN103582165B - Connection method for building up, equipment and system, data transmission method, equipment and system - Google Patents

Connection method for building up, equipment and system, data transmission method, equipment and system Download PDF

Info

Publication number
CN103582165B
CN103582165B CN201210278324.2A CN201210278324A CN103582165B CN 103582165 B CN103582165 B CN 103582165B CN 201210278324 A CN201210278324 A CN 201210278324A CN 103582165 B CN103582165 B CN 103582165B
Authority
CN
China
Prior art keywords
transmitting terminal
receiving terminal
terminal
receiving
network mode
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201210278324.2A
Other languages
Chinese (zh)
Other versions
CN103582165A (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.)
China Mobile Communications Group Co Ltd
Original Assignee
China Mobile Communications Group 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 China Mobile Communications Group Co Ltd filed Critical China Mobile Communications Group Co Ltd
Priority to CN201210278324.2A priority Critical patent/CN103582165B/en
Publication of CN103582165A publication Critical patent/CN103582165A/en
Application granted granted Critical
Publication of CN103582165B publication Critical patent/CN103582165B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Mobile Radio Communication Systems (AREA)

Abstract

The invention discloses one kind connection method for building up, equipment and system, data transmission method, equipment and system, connection method for building up includes step:Main transmitting terminal is based on the connection set up under WFD patterns with receiving terminal, network mode handoff notification message is sent to the receiving terminal, to notify the receiving terminal by WFD pattern switchings to network mode;The main transmitting terminal, to network mode, and is set up under network mode with the receiving terminal and is connected by WFD pattern switchings;Need with main transmitting terminal to be connected while being connected at least one of the receiving terminal and being set up under network mode with the receiving terminal from transmitting terminal.Technical solution of the present invention can be applied to one application scenarios of receiving terminal of multiple transmitting terminal correspondences.

Description

Connection method for building up, equipment and system, data transmission method, equipment and system
Technical field
The present invention relates to communication technical field, more particularly to a kind of connection method for building up, equipment and system, transmission side data Method, equipment and system.
Background technology
The transmission of mobile terminal radio multimedium is a kind of application emerging on mobile terminals at present.At present, it is the most frequently used Scheme is by Wireless Fidelity(WiFi, Wireless-Fidelity)The Wireless Fidelity high definition that alliance releases(WFD, WiFi Display)Technology.Many expansion schemes are also derived based on this technology, for example, the nothing of some Function Extensions has been increased based on WFD Line high definition(WiDi, Wireless Display).
The Floor layer Technology of WFD is direct-connected Wireless Fidelity(WiFi Direct), WiFi Direct are one kind point-to-point certainly Hoc network architecture, can be with direct communication, without by access point between each equipment in network(AP, Access Point)Equipment is relayed and route.In WFD technologies, comprising transmitting terminal and the two kinds of equipment of receiving terminal, transmitting terminal can Think the equipment such as computer, mobile phone, receiving terminal can be the equipment such as TV, audio amplifier, projecting apparatus.When transmitting terminal needs to be broadcast in receiving terminal When putting the audio, video data of itself, the audio, video data of itself can be transferred to by receiving terminal by WiFi technology, receiving terminal is broadcast Put the audio, video data for receiving.In WFD technologies, only one of which transmitting terminal and a receiving terminal, receiving terminal can include one Individual or two terminal devices, if comprising two terminal devices, second terminal device is that audio amplifier etc. receives voice data Equipment, in order to meet the demand of stereo speaker, its data transmission principle is as shown in Figure 1.
The design original intention of the WiFi Direct technologies that WFD is based on is exactly to meet the point-to-point connection between equipment Demand, the complexity and expense of network are increased without equipment as AP.In the WiFi Direct network architectures, only One equipment serves as management and group person(Group Owner)Role, similar to basis(Infrastructure)AP in framework Equipment, the miscellaneous equipment in management network, miscellaneous equipment access network receives the management of Group Owner.In WFD technologies, Transmitting terminal is used as source(source)Role, serves as Group Owner, and receiving terminal is used as storehouse(sink)Role, receives and plays hair The audio, video data of sending end transmission.
At present, WFD technologies include two kinds of data-transmission modes, respectively DLNA(DLNA, Digital Living Network Alliance)Pattern and WFD patterns, user operate on the interface of transmitting terminal, transmitting terminal and receiving terminal Connection is set up under WFD patterns, when transmitting terminal runs Photo Browser, music player, video player etc. to be applied, is sent End can be based on DLNA patterns, and the files in stream media such as the picture of broadcasting, audio, video are sent into receiving terminal, and receiving terminal is played The files in stream media for receiving;When transmitting terminal running game etc. is applied, transmitting terminal can be based on WFD patterns, the trip that will be run The audio, video data of the applications such as play is sent to receiving terminal, and receiving terminal plays the audio, video data for receiving.That is, transmitting terminal Connection is set up under WFD patterns and receiving terminal between, but can be based on DLNA patterns transmission data, it is also possible to based on WFD Pattern transmits data.
Wherein, user can be pre-selected data-transmission mode, if for example, user wants to run picture browsing in transmitting terminal Device, music player, video player etc. are applied, then user selects DLNA patterns to transmit data, if user wants sending End running game etc. is applied, then user selects WFD patterns to transmit data.In addition it is also possible in advance by different data transfers The application that pattern and transmitting terminal are run is bound, by DLNA patterns and Photo Browser, music player, video player Deng application bound, by WFD patterns with game etc. application bound, if transmitting terminal operation application be Photo Browser, Music player, video player etc. are applied, then transmitting terminal is based on transmitting data between DLNA patterns and receiving terminal, if hair The application of sending end operation is the application such as game, then transmitting terminal is based on transmitting data between WFD patterns and receiving terminal.
The need for the WFD technologies of prior art can meet general family, but the application such as multiplayer can not be met The need for, when the hand-held multiple terminals of multiple users play multiplayer, if it is desired to show the audio frequency and video of the game in certain receiving terminal Data, then need this multiple terminal as transmitting terminal while being connected to receiving terminal, and prior art can only realize a transmitting terminal A receiving terminal is accessed, one application scenarios of receiving terminal of multiple transmitting terminal correspondences are not particularly suited for.
The content of the invention
The embodiment of the present invention provides a kind of connection method for building up, equipment and system, data transmission method, equipment and system, It is used to propose a kind of suitable for multiple transmitting terminals one technical scheme of the application scenarios of receiving terminal of correspondence.
Embodiment of the present invention technical scheme is as follows:
One kind connection method for building up, the method comprising the steps of:Main transmitting terminal is based on receiving terminal in Wireless Fidelity high definition WFD The connection set up under pattern, sends network mode handoff notification message, to notify the receiving terminal by WFD moulds to the receiving terminal Formula is switched to network mode;The main transmitting terminal by WFD pattern switchings to network mode, and with the receiving terminal in network mode It is lower to set up connection;Need with main transmitting terminal to exist with the receiving terminal from transmitting terminal while being connected at least one of the receiving terminal Connection is set up under network mode.
A kind of sending ending equipment, including:First notification message transmitting element, for based on the sending ending equipment and reception The connection set up under Wireless Fidelity high definition WFD patterns is held, network mode handoff notification message is sent to the receiving terminal, with logical Know the receiving terminal by WFD pattern switchings to network mode;First mode switch unit, for sending single in the first notification message Unit is sent after network mode handoff notification message, by WFD pattern switchings to network mode;Connection establishment unit, for institute State receiving terminal and connection is set up under network mode.
A kind of sending ending equipment, including:Connection confirmation unit, for being confirmed whether to need with main transmitting terminal while being connected to Receiving terminal;Connection establishment unit, for connect confirmation unit confirm need with main transmitting terminal simultaneously be connected to receiving terminal when, with The receiving terminal sets up connection under network mode.
A kind of receiving device, including:First notification message receiving unit, is based on being connect with described for receiving main transmitting terminal The network mode handoff notification message transmitted by connection that receiving end equipment is set up under Wireless Fidelity high definition WFD patterns;First mould Formula switch unit, after receiving network mode handoff notification message in the first notification message receiving unit, by WFD patterns It is switched to network mode;First connection establishment unit, is connected for being set up under network mode with the main transmitting terminal;Second connects Connect and set up unit, for need and main transmitting terminal is connected at least one of the receiving terminal from transmitting terminal in network mould simultaneously Connection is set up under formula.
One kind connection sets up system, including main transmitting terminal, at least one from transmitting terminal and receiving terminal, wherein:The main hair Sending end, for based on the connection set up under Wireless Fidelity high definition WFD patterns with receiving terminal, network mould being sent to the receiving terminal Formula handoff notification message, and by WFD pattern switchings to network mode, and with the receiving terminal under network mode the company of foundation Connect;It is described from transmitting terminal, be connected for being set up under network mode with the receiving terminal;The receiving terminal, for receiving net After network pattern switching notification message, by WFD pattern switchings to network mode, and built under network mode with the main transmitting terminal Vertical connection, is connected with respectively being set up under network mode from transmitting terminal.
A kind of data transmission method, the method comprising the steps of:At least two transmitting terminals are respectively with receiving terminal in network mode It is lower to set up connection;At least one of each transmitting terminal transmitting terminal be based on the connection between the receiving terminal, by itself play Voice data and video data are sent to the receiving terminal, indicate the receiving terminal to play the sound for receiving depending on data and regard Frequency evidence.
A kind of sending ending equipment, including:Connection establishment unit, is connected for being set up under network mode with receiving terminal;Number According to transmitting element, for based on the connection between the receiving terminal, the voice data and video data transmitting that itself is played The receiving terminal is given, is indicated the receiving terminal to play the sound for receiving and is regarded data and video data.
A kind of receiving device, including:Connection establishment unit, for at least two transmitting terminals respectively under network mode Set up connection;Data receipt unit, is based on and the receiving device for receiving at least one of each transmitting terminal transmitting terminal Between linkup transmit voice data and video data;Data playback unit, receives for played data receiving unit Sound regard data and video data.
A kind of data transmission system, including, at least two transmitting terminals and receiving terminal, wherein:The transmitting terminal, for connect Receiving end sets up connection under network mode, and based on the connection between the receiving terminal, the voice data that itself will be played with And video data is sent to the receiving terminal;The receiving terminal, data and video data are regarded for playing the sound for receiving.
In embodiment of the present invention technical scheme, main transmitting terminal is established under WFD patterns with receiving terminal and is connected, that is to say, that Now main transmitting terminal and receiving terminal are WFD patterns, when main transmitting terminal needs and other transmitting terminals access the receiving terminal simultaneously, Main transmitting terminal can be primarily based on the connection between receiving terminal, and network mode handoff notification message is sent to the receiving terminal, with The receiving terminal is notified by WFD pattern switchings to network mode, then main transmitting terminal by WFD pattern switchings to network mode, and with The receiving terminal sets up connection, it is necessary to main transmitting terminal while being connected at least one of the receiving terminal from transmission under network mode End, to network mode, and is set up under network mode with the receiving terminal and be connected by WFD pattern switchings such that it is able to which realization multiple is sent out Sending end accesses a receiving terminal under network mode;In at least two transmitting terminals(Comprising main transmitting terminal and at least one from transmission End)Set up under network mode with receiving terminal respectively after being connected, at least one of each transmitting terminal transmitting terminal can be based on and this Connection between receiving terminal, the voice data and video data that itself is played is sent to the receiving terminal, and the receiving terminal can be with The sound that broadcasting is received regards data and video data.Therefore, the embodiment of the present invention not only proposes the multiple transmissions of realization Scheme for receiving terminal is accessed simultaneously in end, it was also proposed that multiple transmitting terminals access a transmission side data during receiving terminal simultaneously Case, therefore the technical scheme that the embodiment of the present invention is proposed is applied to one application scenarios of receiving terminal of multiple transmitting terminal correspondences.
Brief description of the drawings
Fig. 1 is the data transfer schematic diagram between transmitting terminal and receiving terminal in the prior art;
Fig. 2 be the embodiment of the present invention one in, connect method for building up schematic flow sheet;
Fig. 3 be the embodiment of the present invention one in, each transmitting terminal under network mode with receiving terminal set up be connected implement Method flow schematic diagram;
During Fig. 4 is the embodiment of the present invention one, each transmitting terminal disconnects with receiving terminal the tool set up under network mode and be connected Body implementation method schematic flow sheet;
Fig. 5 be the embodiment of the present invention three in, sending ending equipment structural representation one;
Fig. 6 be the embodiment of the present invention three in, sending ending equipment structural representation two;
Fig. 7 be the embodiment of the present invention three in, receiving device structural representation;
Fig. 8 is in the embodiment of the present invention three, system structure diagram is set up in connection;
Fig. 9 be the embodiment of the present invention four in, data transmission method schematic flow sheet;
Figure 10 be the embodiment of the present invention five in, sending ending equipment structural representation;
Figure 11 be the embodiment of the present invention five in, receiving device structural representation;
Figure 12 be the embodiment of the present invention five in, data transmission system structural representation.
Specific embodiment
With reference to each accompanying drawing to the main realization principle of embodiment of the present invention technical scheme, specific embodiment and its Beneficial effect to that should be able to reach is set forth in.
The embodiment of the present invention includes multiple transmitting terminals and is connected to the scheme and transmitting terminal of receiving terminal by audio, video data The scheme that receiving terminal is played out is transferred to, is introduced separately below.
Embodiment one
As shown in Fig. 2 being the connection method for building up flow chart of the proposition of the embodiment of the present invention one, its concrete processing procedure is such as Under:
Step 21, main transmitting terminal is based on the connection set up under Wireless Fidelity high definition WFD patterns with receiving terminal, is connect to described Receiving end sends network mode handoff notification message.
Main transmitting terminal and receiving terminal set up connection under WFD patterns in advance(The connection can be connected for WiFi), that is, Say that now main transmitting terminal and receiving terminal are in WFD patterns.
The embodiment of the present invention one is proposed, on the basis of DLNA patterns and WFD patterns, increases a kind of new data transfer mould Formula, i.e. network mode, can not only set up connection, it is also possible in network mode under WFD patterns between transmitting terminal and receiving terminal It is lower to set up connection.Relative to the Peer to Peer Architecture of WFD patterns, network mode can be realized mutual between multiple equipment in network It is logical, multiple transmitting terminals can be allowed while accessing receiving terminal, i.e., multiple equipment functions simultaneously as the role of transmitting terminal.
If being wanted using the user of main transmitting terminal and other users carrying out multiplayer, i.e., main transmitting terminal needs to run many people The application such as game, then main transmitting terminal needs and other transmitting terminals access the receiving terminal simultaneously.The embodiment of the present invention one proposes two Planting the main transmitting terminal of triggering carries out the mode of network mode switching, specially:
The first triggering mode:" passing screen client " program can be installed in main transmitting terminal in advance, the program can be use Family provides user interface(UI, User Interface)When configuration interface, the desired operation multiplayer of user etc. are applied, Ke Yi Selection is switched to network mode on UI configuration interfaces, then " passing screen client " will be based on main transmitting terminal and receiving terminal in WFD The connection set up under pattern, network mode handoff notification message is sent to receiving terminal, and instruction receiving terminal is from WFD pattern switching to net Network pattern;
Second triggering mode:" pass screen client " and multiplayer etc. can be applied in advance and be bound, that is, Say, " passing screen client " can provide application programming interface(API, Application Programming Interface)It is called for the application such as multiplayer, when main transmitting terminal operation multiplayer etc. is applied, the application of operation Can be by API Calls " biography screen client " program, " passing screen client " will be based on main transmitting terminal and receiving terminal under WFD patterns The connection of foundation, network mode handoff notification message is sent to receiving terminal, indicates receiving terminal from WFD pattern switchings to network mould Formula.
Be can be, but not limited to comprising default net in the network mode handoff notification message that main transmitting terminal is sent to receiving terminal The corresponding network mode authentication information of network pattern.Network mode authentication information can include network mode authentication mode information and net Network pattern authentication password, it is also possible to only include network mode authentication password, if only including network mode authentication password, rear continued access Receiving end can be authenticated when being authenticated to each transmitting terminal using default network mode authentication mode.
Wherein, network mode authentication information can be configured by user by main transmitting terminal, if for example, network mode is recognized Card information only includes network mode authentication password, then main transmitting terminal to receiving terminal send network mode handoff notification message it Before, user input authentication password can be pointed out, and carry the authentication password of user input as network mode authentication password Receiving terminal is sent in network mode handoff notification message;If network mode authentication information includes network mode authentication mode information With network mode authentication password, then main transmitting terminal, can respectively before network mode handoff notification message is sent to receiving terminal The mark for planting authentication mode is supplied to user, user to select a kind of mark of authentication mode, and input authentication password, main transmitting terminal Using the corresponding authentication mode information of authentication mode of user's selection as network mode authentication mode information, by recognizing for user input Card password is carried in net network mode authentication mode information and network mode authentication password as network mode authentication password Receiving terminal is sent in network pattern switching notification message.
In the embodiment of the present invention one, authentication mode can be, but not limited to be Wired Equivalent Privacy(WEP, Wired Equivalent Privacy), Wi-Fi protection access(WPA, Wi-Fi Protected Access)、WPA2.
Step 22, receiving terminal is received after network mode handoff notification message, by WFD pattern switchings to network mode.
The embodiment of the present invention one proposes, receiving terminal by WFD pattern switchings to network mode when, can first close itself WiFi module, deletes the configuration of WFD patterns, then restarts WiFi module, and according to the configuration mode of default network mode, match somebody with somebody Put the WiFi module of itself.Receiving terminal configures the WiFi module of itself and can be, but not limited to specifically include:Load networks pattern pair The WiFi firmwares answered, and start the corresponding WiFi drivings of network mode.
Additionally, receiving terminal can also store the network mode certification carried in the network mode handoff notification message for receiving Information.
Receiving terminal by WFD pattern switchings be network mode after, as AP role.
Step 23, main transmitting terminal, to network mode, and is set up with the receiving terminal by WFD pattern switchings under network mode Connection.
Main transmitting terminal by WFD pattern switchings to network mode when, " pass screen client " can first close main transmitting terminal WiFi module, deletes the configuration of WFD patterns, then restarts WiFi module, and according to the configuration mode of default network mode, match somebody with somebody Put WiFi module.Configuration WiFi module can be, but not limited to specifically include:The corresponding WiFi firmwares of load networks pattern, Yi Jiqi The corresponding WiFi of network mode is moved to drive.
Main transmitting terminal by WFD pattern switchings be network mode after, as operating desk(station)Role.
After main transmitting terminal is by WFD pattern switchings to network mode, above-mentioned receiving terminal is may search for, and connect this is searched After receiving end, request is set up to receiving terminal transmission connection, after receiving terminal receives connection foundation request, the main transmitting terminal is entered Row certification, if certification passes through, sets up and the connection between the main transmitting terminal.
Wherein, when main transmitting terminal and receiving terminal set up connection under WFD patterns, main transmitting terminal can obtain the receiving terminal Mark.Receipt of subsequent end can periodically send detectable signal after by WFD pattern switchings to network mode, the detection The mark of the receiving terminal is carried in signal, main transmitting terminal after by WFD pattern switchings to network mode, believe by reconnaissance probe Number, and judge whether carry the mark of the receiving terminal in the detectable signal for searching, and if judging to carry, should by sending The receiving terminal of detectable signal confirms as needing the receiving terminal of search.
In the embodiment of the present invention one, receiving terminal, can be according to the network mould for receiving when being authenticated to main transmitting terminal The network mode authentication information carried in formula handoff notification message, is authenticated to main transmitting terminal.If network mode switching notice The network mode authentication information carried in message only includes network mode authentication password, then receiving terminal is according to the network mode certification Password and default authentication mode are authenticated to main transmitting terminal, if the network mode carried in network mode handoff notification message Authentication information includes network mode authentication mode information and network mode authentication password, then receiving terminal is according to the network mode certification Password authentication mode corresponding with the network mode authentication mode information is authenticated to main transmitting terminal.
Specific authentication mode is illustrated by taking WEP authentication modes as an example below.
After receiving terminal receives the connection foundation request that main transmitting terminal sends, first can send one to main transmitting terminal and preset Clear data, then main transmitting terminal prompting user input authentication password, main transmitting terminal is right according to the authentication password of user input The plaintext for receiving carries out data and is encrypted, and by the data is activation after encryption to receiving terminal, receiving terminal is according to network mode The network mode authentication password carried in handoff notification message, the data to receiving are decrypted, then will be obtained after decryption Data be compared with the default clear data, if comparative result is consistent, certification passes through, if comparative result is not for Unanimously, then authentification failure.
Step 24 with main transmitting terminal, it is necessary to be connected at least one of the receiving terminal from transmitting terminal and the reception simultaneously Connection is set up at end under network mode.
In the embodiment of the present invention one, and main transmitting terminal simultaneously access receiving terminal transmitting terminal be properly termed as from transmitting terminal, its In, at least one accesses receiving terminal simultaneously from transmitting terminal and main transmitting terminal.
If being now in network mode from transmitting terminal, can directly be set up under network mode with receiving terminal and be connected, It is first network mode by WFD pattern switchings, then again with receiving terminal in network if being now in WFD patterns from transmitting terminal Connection is set up under pattern.
If carrying out multiplayer using desired and using main transmitting terminal the user of the user from transmitting terminal, i.e., from transmitting terminal The applications such as operation multiplayer are needed, is then needed from transmitting terminal and main transmitting terminal is accessed receiving terminal simultaneously.If from transmitting terminal now WFD patterns are in, then need first to be switched to network mode, it is similar with the mode that main transmitting terminal triggering network mode switches, from Transmitting terminal can also be triggered according to above-mentioned the first triggering mode, i.e., " passing screen client " journey is being installed from transmitting terminal in advance When sequence, the desired operation multiplayer of user etc. are applied, selection is switched to network mode on UI configuration interfaces, then " pass screen objective Family end " will by from transmitting terminal by WFD pattern switchings to network mode;Can also be according to above-mentioned second triggering side from transmitting terminal Formula is triggered, i.e., in advance bound the application such as " pass screen client " and multiplayer, is swum when many people are run from transmitting terminal Play etc. is when applying, and the application of operation can be by API Calls " passing screen client " program, and " passing screen client " will be by from transmitting terminal By WFD pattern switchings to network mode.
From transmitting terminal by WFD pattern switchings to network mode when, " pass screen client " can be first closed from transmitting terminal WiFi module, deletes the configuration of WFD patterns, then restarts WiFi module, and according to the configuration mode of default network mode, match somebody with somebody Put WiFi module.Configuration WiFi module can be, but not limited to specifically include:The corresponding WiFi firmwares of load networks pattern, Yi Jiqi The corresponding WiFi of network mode is moved to drive.
Set up under network mode with receiving terminal from transmitting terminal when being connected, may search for above-mentioned receiving terminal, and searching After the receiving terminal, send connection to the receiving terminal and set up request, receiving terminal is received after connection sets up request, to this from transmission End is authenticated, if certification passes through, sets up and is somebody's turn to do from the connection between transmitting terminal.
Wherein, the mark of the user input receiving terminal that needs are accessed can be pointed out from transmitting terminal, the use from transmitting terminal is used Family is input into after the mark of the receiving terminal is obtained from main transmitting terminal, then the mark of the receiving terminal can be just obtained from transmitting terminal Know, set up under network mode with receiving terminal subsequently from transmitting terminal when being connected, reconnaissance probe signal, and the detection that judgement is searched Whether the mark of the receiving terminal is carried in signal, if judging to carry, the receiving terminal that will send the detectable signal confirms To need the receiving terminal of search.
In the embodiment of the present invention one, receiving terminal, can be according to the network mould for receiving when to being authenticated from transmitting terminal The network mode authentication information carried in formula handoff notification message, to being authenticated from transmitting terminal.If network mode switching notice The network mode authentication information carried in message only includes network mode authentication password, then receiving terminal is according to the network mode certification Password and default authentication mode from transmitting terminal to being authenticated, if the network mode carried in network mode handoff notification message Authentication information includes network mode authentication mode information and network mode authentication password, then receiving terminal is according to the network mode certification Password authentication mode corresponding with the network mode authentication mode information from transmitting terminal to being authenticated.
Specific authentication mode is illustrated by taking WEP authentication modes as an example below.
After receiving terminal receives the connection foundation request sent from transmitting terminal, first can be preset to one from transmitting terminal transmission Clear data, then from transmitting terminal point out user input authentication password, can be from main transmitting terminal using the user from transmitting terminal Place obtains the authentication password of the user's setting for using main transmitting terminal, and is input into the authentication password of acquisition, from transmitting terminal according to user The authentication password of input, the plaintext to receiving carries out data and is encrypted, and the data is activation after encryption is connect to receiving terminal Receiving end is decrypted according to the network mode authentication password carried in network mode handoff notification message, the data to receiving, Then the data obtained after decryption are compared with the default clear data, if comparative result is consistent, certification is led to Cross, if comparative result is inconsistent, authentification failure.
If additionally, the embodiment of the present invention one is also, it has been proposed that using the user of main transmitting terminal and using the user from transmitting terminal not Want to carry out multiplayer again, then main transmitting terminal and no longer needed from transmitting terminal simultaneously access receiving terminal, at this point it is possible to by main hair Sending end triggers the switching of WFD patterns from transmitting terminal, specifically:
Main transmitting terminal or the connection for being based on being set up under network mode with receiving terminal from transmitting terminal send WFD moulds to receiving terminal Formula handoff notification message, receiving terminal is switched to WFD patterns after WFD pattern switching notification messages are received by network mode, The transmitting terminal for sending WFD pattern switching notification messages is switched to WFD patterns by network mode.
Wherein, user can select to be switched to WFD patterns on the UI configuration interfaces of transmitting terminal, then " the biography of transmitting terminal Screen client " will be based on the connection that the transmitting terminal is set up with receiving terminal under network mode, and sending WFD patterns to receiving terminal cuts Notification message is changed, indicates receiving terminal to be switched to WFD patterns from network mode;In addition it is also possible to working as transmitting terminal closes multiplayer During etc. applying, the application of closing by API Calls " passing screen client " program, " passing screen client " will based on the transmitting terminal with The connection that receiving terminal is set up under network mode, WFD pattern switching notification messages are sent to receiving terminal, indicate receiving terminal from network Pattern switching is to WFD patterns.
When receiving terminal is switched to WFD patterns by network mode, the WiFi module of receiving terminal can be first closed, delete network mould The configuration of formula, then restarts WiFi module, and according to the configuration mode of default WFD patterns, configures WiFi module.Configuration WiFi Module can be, but not limited to specifically include:The corresponding WiFi firmwares of loading WFD patterns, and start the corresponding WiFi of WFD patterns Drive.
Receiving terminal is switched to after WFD patterns by network mode, used as sink role.
When the transmitting terminal for sending WFD pattern switching notification messages is switched to WFD patterns by network mode, " passing screen client " The WiFi module of transmitting terminal can be first closed, the configuration of network mode is deleted, WiFi module is then restarted, and according to default The configuration mode of WFD patterns, configures WiFi module.Configuration WiFi module can be, but not limited to specifically include:Loading WFD patterns pair The WiFi firmwares answered, and start the corresponding WiFi drivings of WFD patterns.
The transmitting terminal is switched to after WFD patterns by network mode, used as source role.
If receiving terminal is switched to WFD patterns by network mode, built under network mode between receiving terminal and each transmitting terminal Vertical connection will disconnect, and other each transmitting terminals in addition to the above-mentioned transmitting terminal that WFD patterns are switched to by network mode can be with Continue to reside in network mode, it is also possible to after detecting the connection between receiving terminal and disconnecting, cut by network mode automatically Change to WFD patterns.
Receipt of subsequent end can be set up under WFD patterns with transmitting terminal and be connected, and transmit data based on the connection set up, its In, when setting up connection under WFD patterns, receiving terminal can be authenticated to transmitting terminal, and be set up and the hair after certification passes through Connection between sending end.
Wherein, be can be, but not limited to comprising default WFD patterns pair in the WFD pattern switching notification messages that transmitting terminal sends The WFD pattern authentication informations answered.WFD patterns authentication information can be close comprising WFD pattern authentication mode information and WFD pattern certifications Code, it is also possible to only include WFD pattern authentication passwords, if only including WFD pattern authentication passwords, receipt of subsequent end is to transmitting terminal When being authenticated, can be authenticated using default authentication mode.
WFD patterns authentication information can be configured by user by transmitting terminal, if for example, WFD patterns authentication information Comprising WFD pattern authentication passwords, then transmitting terminal can point out to use before WFD pattern switching notification messages are sent to receiving terminal Family input authentication password, and carried the authentication password of user input as WFD patterns authentication password in WFD pattern switchings notice Receiving terminal is sent in message;If WFD patterns authentication information includes WFD pattern authentication mode information and WFD pattern authentication passwords, Then can be supplied to for the mark of various authentication modes before WFD pattern switching notification messages are sent to receiving terminal by transmitting terminal User, user selects a kind of mark of authentication mode, and input authentication password, the authentication mode correspondence that transmitting terminal selects user Authentication mode information as WFD pattern authentication mode information, the authentication password of user input is close as WFD pattern certifications Code, and WFD pattern authentication mode information and the carrying of WFD patterns authentication password are sent in WFD pattern switching notification messages Receiving terminal.Receiving terminal is received after WFD pattern switching notification messages, can store carrying in WFD pattern switching notification messages WFD pattern authentication informations.
When receipt of subsequent end is authenticated to the transmitting terminal, can be according to the WFD carried in WFD pattern switching notification messages Pattern authentication information is authenticated, and specific authenticating step is consistent with prior art, repeat no more here.
Multiple transmitting terminals that the embodiment of the present invention one is proposed are connected to a scheme for receiving terminal, to the change of transmitting terminal very It is small, it is not necessary to the change of hardware, just with the existing ability of software, reconfigured, can be achieved with WFD patterns and network Pattern is taken over seamlessly, and WFD abilities are extended and lifted, and solves the deficiency of current Specification Design, is met New application scenarios., it is necessary to be improved to protocol stack for receiving terminal, burse mode is supported, can allow for multiple transmissions The access at end.Switch speed between network mode and WFD patterns is fast, safe, after pattern switching, can quickly build Vertical connection.
In the prior art, transmitting terminal and receiving terminal need to set up connection under WFD patterns, but can be based on DLNA moulds Formula transmits data, it is also possible to transmit data based on WFD patterns.In the embodiment of the present invention one, transmitting terminal and receiving terminal can be in WFD Connection is set up under pattern, now both data can be transmitted based on DLNA patterns, it is also possible to which data are transmitted based on WFD patterns, sent End and receiving terminal can set up connection under network mode, now both can transmit data based on DLNA patterns, it is also possible to be based on Network mode transmits data.The switching between DLNA patterns and WFD patterns is not needed, it is not required that DLNA patterns and network mode Between switching.
More specifically implementation method is given below.
Embodiment two
As shown in figure 3, being the proposition of the embodiment of the present invention two, each transmitting terminal is set up with receiving terminal under network mode and is connected Concrete methods of realizing flow chart, its specific handling process is as follows:
Step 31, when being applied using desired operation multiplayer of the user of main transmitting terminal etc., is configured in the UI of main transmitting terminal Selection is switched to network mode on interface;
Step 32, main transmitting terminal is based on the connection set up under WFD patterns with receiving terminal, and network mode is sent to receiving terminal Handoff notification message, carries the corresponding network mode certification letter of default network mode in the network mode handoff notification message Breath;
Step 33, receiving terminal is received after network mode handoff notification message, closes WiFi module, deletes WFD patterns Configuration, restart WiFi module, according to the configuration mode of default network mode, configure WiFi module, by WFD pattern switchings to Network mode;
Step 34, main transmitting terminal closes WiFi module, deletes the configuration of WFD patterns, WiFi module is restarted, according to default The configuration mode of network mode, configures WiFi module, by WFD pattern switchings to network mode;
Step 35, after main transmitting terminal is by WFD pattern switchings to network mode, searches for above-mentioned receiving terminal, and searching After the receiving terminal, send connection to the receiving terminal and set up request;
Step 36, after receiving terminal receives connection foundation request, according in the network mode handoff notification message for receiving The network mode authentication information of carrying, is authenticated to main transmitting terminal;
Step 37, if certification passes through, sets up and the connection between the main transmitting terminal.
Step 38, when multiplayer is carried out using desired and using main transmitting terminal the user of the user from transmitting terminal, if It is WFD patterns from transmitting terminal, then the user is switched to network mode in the selection from the UI configuration interfaces of transmitting terminal;
Step 39, WiFi module is closed from transmitting terminal, deletes the configuration of WFD patterns, WiFi module is restarted, according to default The configuration mode of network mode, configures WiFi module, by WFD pattern switchings to network mode;
Step 310, from transmitting terminal by WFD pattern switchings to network mode after, search for above-mentioned receiving terminal, and searching After the receiving terminal, send connection to the receiving terminal and set up request;
Step 311, after receiving terminal receives connection foundation request, according in the network mode handoff notification message for receiving The network mode authentication information of carrying, to being authenticated from transmitting terminal;
Step 312, if certification passes through, sets up and is somebody's turn to do from the connection between transmitting terminal.
As shown in figure 4, being the proposition of the embodiment of the present invention two, each transmitting terminal disconnects to be set up with receiving terminal under network mode Connection concrete methods of realizing flow chart, its specific handling process is as follows:
Step 41, if carrying out multiplayer using the user of main transmitting terminal and using being no longer desired from the user of transmitting terminal, Then select to be switched to WFD patterns on the UI configuration interfaces of the transmitting terminal using main transmitting terminal or from the user of transmitting terminal;
Step 42, the transmitting terminal is based on the connection set up under network mode with receiving terminal, and WFD patterns are sent to receiving terminal Handoff notification message, carries the corresponding WFD patterns authentication information of default WFD patterns in the WFD pattern switching notification messages;
Step 43, receiving terminal closes WiFi module after WFD pattern switching notification messages are received, and deletes network mould The configuration of formula, restarts WiFi module, according to the configuration mode of default WFD patterns, configures WiFi module, is switched by network mode To WFD patterns;
Step 44, the transmitting terminal closes WiFi module, deletes the configuration of network mode, restarts WiFi module, according to default WFD patterns configuration mode, configure WiFi module, WFD patterns are switched to by network mode;
Step 45, receipt of subsequent end is set up under WFD patterns with the transmitting terminal and is connected, and transmits number based on the connection set up According to.
Embodiment three
Corresponding with the main transmitting terminal in the embodiment of the present invention one, the embodiment of the present invention three provides a kind of sending ending equipment, its Structure as shown in figure 5, including:
First notification message transmitting element 51, for being set up under WFD patterns based on the sending ending equipment and receiving terminal Connection, to the receiving terminal send network mode handoff notification message, to notify the receiving terminal by WFD pattern switchings to net Network pattern;
First mode switch unit 52, disappears for sending network mode switching notice in the first notification message transmitting element 51 After breath, by WFD pattern switchings to network mode;
Connection establishment unit 53, is connected for being set up under network mode with the receiving terminal.
It is preferred that described connecing sets up unit 53, specifically for searching for the receiving terminal, and the receiving terminal is being searched Afterwards, to the receiving terminal send connection set up request, after the receiving terminal passes through to the sending ending equipment certification, set up with Connection between the receiving terminal.
It is preferred that the sending ending equipment also includes:
Second notification message transmitting element, for being built under network mode with the receiving terminal based on the sending ending equipment Vertical connection, sends WFD pattern switching notification messages, to notify that the receiving terminal is switched to by network mode to the receiving terminal WFD patterns;
Second mode switch unit, for second notification message transmitting element send WFD pattern switchings notification messages it Afterwards, WFD patterns are switched to by network mode.
With it is corresponding from transmitting terminal in the embodiment of the present invention one, the embodiment of the present invention three provides a kind of sending ending equipment, its Structure as shown in fig. 6, including:
Connection confirmation unit 61, for being confirmed whether to need with main transmitting terminal while being connected to receiving terminal;
Connection establishment unit 62, for confirming to need in connection confirmation unit 61 to be connected to receiving terminal simultaneously with main transmitting terminal When, set up under network mode with the receiving terminal and be connected.
It is preferred that the sending ending equipment also includes:
First mode switch unit, is connected for being set up under network mode with the receiving terminal in connection establishment unit 62 Before, judge it is described whether be in WFD patterns from transmitting terminal, and judge it is described be in WFD patterns from transmitting terminal when, by WFD pattern switchings are network mode.
It is preferred that the connection establishment unit 62, specifically for searching for the receiving terminal, and is searching the receiving terminal Afterwards, to the receiving terminal send connection set up request, after the receiving terminal passes through to the sending ending equipment certification, set up with Connection between the receiving terminal.
It is preferred that the sending ending equipment also includes:
Notification message transmitting element, for based on the connection set up under network mode with the receiving terminal, being connect to described Receiving end sends WFD pattern switching notification messages, to notify that the receiving terminal is switched to WFD patterns by network mode;
Second mode switch unit, after sending WFD pattern switching notification messages in notification message transmitting element, by Network mode is switched to WFD patterns.
Corresponding with the receiving terminal in the embodiment of the present invention one, the embodiment of the present invention three provides a kind of receiving device, its knot Structure as shown in fig. 7, comprises:
First notification message receiving unit 71, is based on the receiving device in WFD patterns for receiving main transmitting terminal Network mode handoff notification message transmitted by the connection of lower foundation;
First mode switch unit 72, for receiving network mode switching notice in the first notification message receiving unit 71 After message, by WFD pattern switchings to network mode;
First connection establishment unit 73, is connected for being set up under network mode with the main transmitting terminal;
Second connection establishment unit 74, for being connected at least one of the receiving terminal simultaneously with main transmitting terminal with needs Connection is set up under network mode from transmitting terminal.
It is preferred that first connection establishment unit 73, specifically for receiving the connection that the main transmitting terminal sends After setting up request, the main transmitting terminal is authenticated, and after certification passes through, set up and the company between the main transmitting terminal Connect.
It is preferred that second connection establishment unit 74, specifically for receiving the connection foundation sent from transmitting terminal After request, being authenticated from transmitting terminal for request is set up to sending the connection, and after certification passes through, set up and be somebody's turn to do from transmitting terminal Between connection.
It is preferred that the receiving device also includes:
Second notification message receiving unit, exists for receiving main transmitting terminal or being based on from transmitting terminal with the receiving device The WFD pattern switching notification messages transmitted by connection set up under network mode;
Second mode switch unit, for receiving WFD pattern switching notification messages in second notification message receiving unit Afterwards, WFD patterns are switched to by network mode.
Additionally, the embodiment of the present invention three also proposes that system is set up in a kind of connection, its structure is as shown in figure 8, including main transmission 81, at least one is held from transmitting terminal 82 and receiving terminal 83, wherein:
The main transmitting terminal 81, for based on the connection set up under WFD patterns with receiving terminal 83, to the receiving terminal 83 Network mode handoff notification message is sent, and by WFD pattern switchings to network mode, and with the receiving terminal 83 in network mould Connection is set up under formula;
It is described from transmitting terminal 82, be connected for being set up under network mode with the receiving terminal 83;
The receiving terminal 83, for receiving network mode handoff notification message after, by WFD pattern switchings to network mould Formula, and set up under network mode with the main transmitting terminal 81 and be connected, it is connected with respectively being set up under network mode from transmitting terminal 82.
Example IV
As shown in figure 9, being the data transmission method flow chart of the offer of the embodiment of the present invention four, its specific handling process is such as Under:
Step 91, at least two transmitting terminals are set up under network mode with receiving terminal be connected respectively.
At least two transmitting terminals are based on the connection method for building up that the embodiment of the present invention one is proposed, respectively with receiving terminal in network Connection is set up under pattern, wherein, comprising a main transmitting terminal and at least one from transmitting terminal at least two transmitting terminals.
Wherein, when each transmitting terminal is set up with receiving terminal and is connected, receiving terminal, can in order to distinguish the data transmitted by each transmitting terminal It is attached with each transmitting terminal with by different ports, that is to say, that each transmitting terminal port different from receiving terminal is set up Connection, for example, transmitting terminal 1(Main transmitting terminal)Set up with the port 1 of receiving terminal and be connected, transmitting terminal 2(From transmitting terminal)With receiving terminal Port 2 set up connection.
At least one of step 92, each transmitting terminal transmitting terminal be based on the connection between the receiving terminal, itself is broadcast The voice data and video data put are sent to the receiving terminal.
Using the user of main transmitting terminal and using the user from transmitting terminal when multiplayer is carried out, each transmitting terminal is broadcast The audio frequency and video put may be identical, it is also possible to different.For example, each user's handheld terminal is when the game such as many people's racing cars is carried out, each The corresponding video of role and audio that the user is controlled are played in the terminal that user uses, the sound now played in each terminal is regarded Frequency is different, or each user's handheld terminal is when the game such as many people's battles is carried out, broadcasting in the terminal that each user uses The corresponding video of role and audio that each user is controlled, the audio frequency and video now played in each terminal are identicals.
The embodiment of the present invention four is proposed, if the audio frequency and video played on each transmitting terminal are different, each transmitting terminal can distinguish base Connection between the receiving terminal, the audio, video data that itself is played(Comprising voice data and video data)Send To the receiving terminal, so that receiving terminal can play the audio, video data of each transmitting terminal.
If the audio frequency and video played on each transmitting terminal are identical, only can be based between receiving terminal by one of transmitting terminal Connection, the audio, video data that itself is played(Comprising voice data and video data)The receiving terminal is sent to, is received Play the audio, video data that the transmitting terminal sends in end.
Wherein, after each transmitting terminal and receiving terminal are set up under the network mode and are connected, can be with using the user of each transmitting terminal Consult which transmitting terminal sends audio, video data to receiving terminal in advance, and the result after negotiation is notified to receiving terminal, then connect Receiving end just can in advance know which transmitting terminal can be sent to audio, video data.
If only one of which transmitting terminal sends audio, video data to receiving terminal, the transmitting terminal is periodically played itself Audio frequency and video carry out grasping manipulation, then according to receiving terminal display device video resolution, by this cycle crawl obtain Video data encoded, the form of the voice data that can be played according to receiving terminal will capture the sound for obtaining in this cycle According to being encoded, transmitting terminal is based on the connection set up under network mode with receiving terminal to frequency, by the voice data after coding with Video data is sent to receiving terminal.
Wherein, transmitting terminal can prestore the video resolution and receiving terminal of the display device of receiving terminal and can play Voice data form, directly according to the video resolution can will subsequently capture the video data for obtaining and be encoded, with And according to the form, the voice data for obtaining will be captured and encoded;In addition it is also possible to be set up under network mode with receiving terminal After connection, the form of the video resolution of display device and the voice data that can be played is notified to transmission by receiving terminal End.
If there is at least two transmitting terminals to send audio, video data to receiving terminal, each transmitting terminal is with receiving terminal in network mode Lower to set up after connection, receiving terminal first determines to send each transmitting terminal of voice data and video data to the receiving terminal(Can be with Consult which transmitting terminal sends audio, video data to receiving terminal in advance from the user using each transmitting terminal, and by the result after negotiation Notify to receiving terminal), receiving terminal in the display space of the display device of itself, for each transmitting terminal determined is respectively allocated phase The displaying block answered, it is then determined that the video resolution of each displaying block, for each transmitting terminal determined, receiving terminal will be respectively this The video resolution of the displaying block of transmitting terminal distribution is sent to the transmitting terminal, and each transmitting terminal of audio, video data is sent to receiving terminal The audio frequency and video that periodically itself is played carry out grasping manipulation, then according to the video resolution for receiving, by this cycle The interior video data for obtaining that captures is encoded, and the form of the voice data that can be played according to receiving terminal will be grabbed in this cycle The voice data for obtaining is encoded, and each transmitting terminal is based on the connection set up under network mode with receiving terminal, after coding Voice data and video data be sent to receiving terminal.
Wherein, transmitting terminal can prestore the form of the voice data that receiving terminal can be played, subsequently can directly and According to the form, the voice data for obtaining will be captured and encoded;In addition it is also possible to receiving terminal under network mode the company of foundation After connecing, the form of the voice data for being possible to play by receiving terminal is notified to transmitting terminal.
For example, if two users carry out two-player game, the audio frequency and video that the transmitting terminal that each user is used is played are different, Two transmitting terminals take the half display space of the display of receiving terminal respectively, that is to say, that display is divided into two by receiving terminal Individual displaying block, is respectively allocated to two transmitting terminals, and receiving terminal notifies the video resolution of each displaying block, to each transmitting terminal, to send End will be sent to be sent to receiving terminal after the video data of receiving terminal is encoded according to the video resolution for receiving.
In the embodiment of the present invention five, after transmitting terminal is encoded to video data and voice data, can respectively to video Data and voice data are encrypted, and the voice data and video data after encryption then are sent into receiving terminal again.
Wherein, the Crypted password being encrypted to voice data can be with the Crypted password phase being encrypted to video data Together.Additionally, the Crypted password can also be identical with the network mode authentication password mentioned in the embodiment of the present invention one, main hair is used The user of sending end was input to main transmitting terminal, rear continued access before main transmitting terminal sends network mode handoff notification message to receiving terminal Receiving end is authenticated using the password to each transmitting terminal, and main transmitting terminal subsequently can be using the password to voice data and video counts According to being encrypted, after the password is obtained from main transmitting terminal from each user of transmitting terminal, can subsequently be utilized from transmitting terminal The password is encrypted to voice data and video data.
Step 93, the receiving terminal plays the sound for receiving and regards data and video data.
If a transmitting terminal sends voice data and video data to receiving terminal, receiving terminal receives voice data and regards After, the video resolution of the display device according to itself, the video data to receiving is decoded frequency, then plays solution Video data after code, and the voice data that can be played according to itself form, the voice data that will be received solved Code, the then voice data after broadcast decoder.
If at least two transmitting terminals to receiving terminal send voice data and video data, then receiving terminal will receive to The voice data that few two transmitting terminals send, the form of the voice data that receiving terminal be able to can be played according to itself will be received To the voice data that sends of each transmitting terminal decoded respectively, the audio number that each transmitting terminal for then will being obtained after decoding sends According to broadcasting is overlapped, additionally, in order to improve audio result of broadcast, each transmitting terminal that receiving terminal can also be obtained after the decoding is sent out In the voice data for sending, the voice data that one transmitting terminal of selection sends is played out, wherein, receiving terminal can be, but not limited to choosing The voice data for selecting main transmitting terminal transmission is played out.
If at least two transmitting terminals to receiving terminal send voice data and video data, then receiving terminal will receive to The video data that few two transmitting terminals send, the video data that receiving terminal sends for each transmitting terminal, basis is the transmission respectively The video resolution of the displaying block of distribution is held, the video data that the transmitting terminal sends is decoded, and by being the transmitting terminal The displaying block of distribution shows decoded video data.
Therefore, the receiving terminal in the embodiment of the present invention five allows multiple transmitting terminals to access simultaneously, and protocol stack is supported simultaneously Hair, can support multipath decoding.
Additionally, if the data that transmitting terminal sends are the data after encryption, receiving terminal is also needed after being decoded to data Played after being decrypted to decoded data.Wherein, receiving terminal can be, but not limited to the network sent according to main transmitting terminal The network mode authentication password carried in pattern switching notification message is decrypted.
In the embodiment of the present invention five, should if setting up each transmitting terminal operation identical being connected under network mode with receiving terminal With then each transmitting terminal can be based respectively on the connection between receiving terminal, will be sent to for the control command of the application Other each transmitting terminals.Wherein, if this is using being the application such as game, the control command for the application can be directed to trip for user The control command of certain role in play.
For example, using the user of each transmitting terminal when the game such as many people's battles is carried out, each transmitting terminal has run the game Corresponding application, a role in the game of each user's control, user passes through used transmitting terminal, by what is controlled itself The control command of role is first sent to receiving terminal, and the control command is sent to other each transmitting terminals by receiving terminal, transmitting terminal according to The control command for receiving is controlled to corresponding role in game, and now, the audio frequency and video played on each transmitting terminal are identical 's.
From above-mentioned processing procedure, in embodiment of the present invention technical scheme, main transmitting terminal is with receiving terminal under WFD patterns Connection is established, that is to say, that now main transmitting terminal and receiving terminal are WFD patterns, when main transmitting terminal needs and other transmitting terminals When accessing the receiving terminal simultaneously, main transmitting terminal can be primarily based on the connection between receiving terminal, and network is sent to the receiving terminal Pattern switching notification message, to notify the receiving terminal by WFD pattern switchings to network mode, then main transmitting terminal is by WFD patterns Network mode is switched to, and is set up under network mode with the receiving terminal and is connected, it is necessary to be connect while being connected to this with main transmitting terminal At least one of receiving end from transmitting terminal by WFD pattern switchings to network mode, and with the receiving terminal under network mode the company of foundation Connect such that it is able to realize that multiple transmitting terminals access a receiving terminal under network mode;In at least two transmitting terminals(Comprising main hair Sending end and at least one is from transmitting terminal)Set up under network mode with receiving terminal respectively after being connected, in each transmitting terminal at least one Individual transmitting terminal can be based on being sent to this with the connection between the receiving terminal, the voice data and video data that itself is played Receiving terminal, the receiving terminal can play the sound for receiving and regard data and video data.Therefore, the embodiment of the present invention is not only Propose the multiple transmitting terminals of realization and access a scheme for receiving terminal simultaneously, it was also proposed that multiple transmitting terminals access one and connect simultaneously Data transmission scheme during receiving end, therefore the technical scheme that proposes of the embodiment of the present invention is applied to multiple transmitting terminals correspondences one and connects The application scenarios of receiving end.
Embodiment five
Corresponding with the transmitting terminal in the embodiment of the present invention four, the embodiment of the present invention five provides a kind of sending ending equipment, its knot Structure is as shown in Figure 10, including:
Connection establishment unit 101, is connected for being set up under network mode with receiving terminal;
Data transmission unit 102, for based on the connection between the receiving terminal, the voice data that itself will be played with And video data is sent to the receiving terminal, indicates the receiving terminal to play the sound for receiving and regard data and video data.
It is preferred that the sending ending equipment also includes:
Video resolution receiving unit, for the voice data and video of playing itself in data transmission unit 102 Data is activation is to the video resolution for before the receiving terminal, receiving the receiving terminal transmission;
The data transmission unit 102, specifically for the video resolution received according to video resolution receiving unit, The video data that transmitting terminal will be sent to is encoded, and the video data after coding is sent into the receiving terminal.
Corresponding with the receiving terminal in the embodiment of the present invention four, the embodiment of the present invention five provides a kind of receiving device, its knot Structure is as shown in figure 11, including:
Connection establishment unit 111, is connected for being set up under network mode respectively with least two transmitting terminals;
Data receipt unit 112, is based on being set with the receiving terminal for receiving at least one of each transmitting terminal transmitting terminal The voice data and video data of the linkup transmit between standby;
Data playback unit 113, data and video data are regarded for the sound that played data receiving unit 113 is received.
If it is preferred that data receipt unit 112 receives at least two transmitting terminals being based between the receiving device Linkup transmit voice data and video data, then the equipment also include:
Transmitting terminal determining unit, end group is sent for receiving at least one of each transmitting terminal in data receipt unit 112 Before the voice data and video data of the linkup transmit between the receiving device, it is determined that send voice data with And each transmitting terminal of video data;
Displaying block allocation unit, in the display space of the display device of the receiving device, being true transmitting terminal Each transmitting terminal that order unit determines is respectively allocated corresponding displaying block;
Resolution ratio determining unit, the video resolution for determining each displaying block;
Resolution ratio transmitting element, for each transmitting terminal determined for resolution ratio determining unit, respectively by displaying block point Video resolution with the displaying block that unit is transmitting terminal distribution is sent to the transmitting terminal.
More preferably, the data playback unit 113, specifically for the video data sent for each transmitting terminal, difference root According to the video resolution of the displaying block distributed for the transmitting terminal, the video data that the transmitting terminal sends is decoded, and pass through For the displaying block of transmitting terminal distribution shows decoded video data.
If it is preferred that data receipt unit 112 receives at least two transmitting terminals being based between the receiving device Linkup transmit voice data and video data, then the data playback unit 113, specifically for being sent in each transmitting terminal Voice data in, the voice data that one transmitting terminal of selection sends is played out.
Additionally, the data transmission method proposed based on the embodiment of the present invention four, the embodiment of the present invention five provides a kind of data Transmission system, its structure is as shown in figure 12, including at least two transmitting terminals 121 and receiving terminal 122, wherein:
The transmitting terminal 121, is connected for being set up under network mode with receiving terminal 122, and based on the receiving terminal Connection between 122, the voice data and video data that itself is played is sent to the receiving terminal 122;
The receiving terminal 122, data and video data are regarded for playing the sound for receiving.
Wherein, not only comprising the main transmitting terminal in the embodiment of the present invention one in the transmitting terminal 122 in the embodiment of the present invention five 81, also comprising at least one from transmitting terminal 82.
, but those skilled in the art once know basic creation although preferred embodiments of the present invention have been described Property concept, then can make other change and modification to these embodiments.So, appended claims are intended to be construed to include excellent Select embodiment and fall into having altered and changing for the scope of the invention.
Obviously, those skilled in the art can carry out various changes and modification without deviating from essence of the invention to the present invention God and scope.So, if these modifications of the invention and modification belong to the scope of the claims in the present invention and its equivalent technologies Within, then the present invention is also intended to comprising these changes and modification.

Claims (36)

1. it is a kind of to connect method for building up, it is characterised in that including:
Main transmitting terminal is based on the connection set up under Wireless Fidelity high definition WFD patterns with receiving terminal, and net is sent to the receiving terminal Network pattern switching notification message, to notify the receiving terminal by WFD pattern switchings to network mode;
The main transmitting terminal, to network mode, and is set up under network mode with the receiving terminal and is connected by WFD pattern switchings;
Need with main transmitting terminal be connected to simultaneously at least one of the receiving terminal from transmitting terminal with the receiving terminal in network mould Connection is set up under formula.
2. the method for claim 1, it is characterised in that from transmitting terminal with the receiving terminal company of foundation under network mode Before connecing, also include:
If being in WFD patterns from transmitting terminal, described is network mode by WFD pattern switchings from transmitting terminal.
3. method as claimed in claim 2, it is characterised in that by WFD pattern switchings to network mode, specifically include:
Close the Wireless Fidelity WiFi module of itself;
Restart WiFi module, and according to the configuration mode of default network mode, configure the WiFi module.
4. method as claimed in claim 3, it is characterised in that according to the configuration mode of default network mode, configuration is described WiFi module, specifically includes:
The corresponding WiFi firmwares of load networks pattern, and start the corresponding WiFi drivings of network mode.
5. the method for claim 1, it is characterised in that the main transmitting terminal is built with the receiving terminal under network mode Vertical connection, specifically includes:
The main transmitting terminal searches for the receiving terminal;And
After the receiving terminal is searched, send connection to the receiving terminal and set up request;
The receiving terminal is authenticated to the main transmitting terminal, and after certification passes through, sets up and the main transmitting terminal between Connection.
6. method as claimed in claim 5, it is characterised in that taken in the network mode handoff notification message that main transmitting terminal sends With the corresponding network mode authentication information of default network mode;
The receiving terminal is authenticated to the main transmitting terminal, specifically includes:
The receiving terminal according in network mode handoff notification message carry network mode authentication information, to the main transmitting terminal It is authenticated.
7. the method for claim 1, it is characterised in that from transmitting terminal with the receiving terminal company of foundation under network mode Connect, specifically include:
The receiving terminal is searched for from transmitting terminal;And
After the receiving terminal is searched, send connection to the receiving terminal and set up request;
The receiving terminal is authenticated to described from transmitting terminal, and after certification passes through, sets up and described between transmitting terminal Connection.
8. method as claimed in claim 7, it is characterised in that taken in the network mode handoff notification message that main transmitting terminal sends With the corresponding network mode authentication information of default network mode;
The receiving terminal is authenticated to described from transmitting terminal, specifically includes:
The receiving terminal according in network mode handoff notification message carry network mode authentication information, to described from transmitting terminal It is authenticated.
9. the method for claim 1, it is characterised in that also include:
Main transmitting terminal or the connection for being based on being set up under network mode with the receiving terminal from transmitting terminal, send to the receiving terminal WFD pattern switching notification messages, to notify that the receiving terminal is switched to WFD patterns by network mode;And
Itself is switched to WFD patterns by network mode.
10. method as claimed in claim 9, it is characterised in that WFD patterns are switched to by network mode, are specifically included:
Close the WiFi module of itself;
Restart WiFi module, and according to the configuration mode of default WFD patterns, configure the WiFi module.
11. methods as claimed in claim 10, it is characterised in that according to the configuration mode of default WFD patterns, configuration is described WiFi module, specifically includes:
The corresponding WiFi firmwares of loading WFD patterns, and start the corresponding WiFi drivings of WFD patterns.
12. methods as claimed in claim 9, it is characterised in that carried in the WFD pattern switchings notification message default The corresponding WFD patterns authentication information of WFD patterns.
A kind of 13. sending ending equipments, it is characterised in that including:
First notification message transmitting element, for based on the sending ending equipment and receiving terminal in Wireless Fidelity high definition WFD patterns The connection of lower foundation, sends network mode handoff notification message, to notify that the receiving terminal is cut by WFD patterns to the receiving terminal Change to network mode;
First mode switch unit, after sending network mode handoff notification message in the first notification message transmitting element, By WFD pattern switchings to network mode;
Connection establishment unit, is connected for being set up under network mode with the receiving terminal.
14. equipment as claimed in claim 13, it is characterised in that the connection establishment unit, specifically for being connect described in search Receiving end, and after the receiving terminal is searched, send connection to the receiving terminal and set up request, in the receiving terminal to the hair After sending end device authentication passes through, set up and the connection between the receiving terminal.
15. equipment as claimed in claim 13, it is characterised in that also include:
Second notification message transmitting element, for what is set up under network mode based on the sending ending equipment and the receiving terminal Connection, sends WFD pattern switching notification messages, to notify that the receiving terminal is switched to WFD by network mode to the receiving terminal Pattern;
Second mode switch unit, after sending WFD pattern switching notification messages in second notification message transmitting element, by Network mode is switched to WFD patterns.
A kind of 16. sending ending equipments, it is characterised in that including:
Connection confirmation unit, for being confirmed whether to need with main transmitting terminal while being connected to receiving terminal;
Connection establishment unit, for when connection confirmation unit confirms to need to be connected to receiving terminal simultaneously with main transmitting terminal, with institute State receiving terminal and connection is set up under network mode;
Also include:First mode switch unit, for connection establishment unit with the receiving terminal company of foundation under network mode Before connecing, whether judge from transmitting terminal in Wireless Fidelity high definition WFD patterns, and judging described to be in WFD from transmitting terminal It is network mode by WFD pattern switchings during pattern.
17. equipment as claimed in claim 16, it is characterised in that the connection establishment unit, specifically for being connect described in search Receiving end, and after the receiving terminal is searched, send connection to the receiving terminal and set up request, in the receiving terminal to the hair After sending end device authentication passes through, set up and the connection between the receiving terminal.
18. equipment as claimed in claim 16, it is characterised in that also include:
Notification message transmitting element, for based on the connection set up under network mode with the receiving terminal, to the receiving terminal WFD pattern switching notification messages are sent, to notify that the receiving terminal is switched to WFD patterns by network mode;
Second mode switch unit, after sending WFD pattern switching notification messages in notification message transmitting element, by network Pattern switching is to WFD patterns.
A kind of 19. receiving devices, it is characterised in that including:
First notification message receiving unit, is based on the receiving device in Wireless Fidelity high definition for receiving main transmitting terminal The network mode handoff notification message transmitted by connection set up under WFD patterns;
First mode switch unit, for the first notification message receiving unit receive network mode handoff notification message it Afterwards, by WFD pattern switchings to network mode;
First connection establishment unit, is connected for being set up under network mode with the main transmitting terminal;
Second connection establishment unit, for need and main transmitting terminal is connected at least one of the receiving terminal from transmission simultaneously Connection is set up at end under network mode.
20. equipment as claimed in claim 19, it is characterised in that first connection establishment unit, specifically for receiving After request is set up in the connection sent to the main transmitting terminal, the main transmitting terminal is authenticated, and after certification passes through, set up With the connection between the main transmitting terminal.
21. equipment as claimed in claim 19, it is characterised in that second connection establishment unit, specifically for receiving After setting up request to the connection sent from transmitting terminal, being authenticated from transmitting terminal for request is set up to sending the connection, and recognizing After card passes through, set up and be somebody's turn to do from the connection between transmitting terminal.
22. equipment as claimed in claim 19, it is characterised in that also include:
Second notification message receiving unit, for receiving main transmitting terminal or being based on the receiving device in network from transmitting terminal The WFD pattern switching notification messages transmitted by connection set up under pattern;
Second mode switch unit, for after second notification message receiving unit receives WFD pattern switching notification messages, by Network mode is switched to WFD patterns.
System is set up in a kind of 23. connections, it is characterised in that including main transmitting terminal, at least one from transmitting terminal and receiving terminal, its In:
The main transmitting terminal, for based on the connection set up under Wireless Fidelity high definition WFD patterns with receiving terminal, to the reception End sends network mode handoff notification message, and by WFD pattern switchings to network mode, and with the receiving terminal in network mould Connection is set up under formula;
It is described from transmitting terminal, be connected for being set up under network mode with the receiving terminal;
The receiving terminal, for receiving network mode handoff notification message after, by WFD pattern switchings to network mode, and Set up under network mode with the main transmitting terminal and be connected, be connected with respectively being set up under network mode from transmitting terminal.
A kind of data transmission method that a kind of 24. connection method for building up based on described in claim 1 are realized, it is characterised in that Including:
At least two transmitting terminals are set up under network mode with receiving terminal be connected respectively;
At least one of each transmitting terminal transmitting terminal is based on and the connection between the receiving terminal, the voice data that itself is played And video data is sent to the receiving terminal, the receiving terminal is indicated to play the voice data and video data for receiving.
25. methods as claimed in claim 24, it is characterised in that if at least two transmitting terminals in each transmitting terminal are based on and institute The connection between receiving terminal is stated, the voice data and video data that itself is played are sent to the receiving terminal, then transmitting terminal Based on the connection between the receiving terminal, the voice data and video data that itself is played be sent to the receiving terminal it Before, also include:
Receiving terminal determines to send each transmitting terminal of voice data and video data to the receiving terminal;
In the display space of display device, for each transmitting terminal determined is respectively allocated corresponding displaying block, and determine each aobvious Show the video resolution of block;
For each transmitting terminal determined, the video resolution of the displaying block distributed for the transmitting terminal is sent to the transmission respectively End.
26. methods as claimed in claim 25, it is characterised in that transmitting terminal is based on and the connection between the receiving terminal, general The video data itself played is sent to the receiving terminal, specifically includes:
Transmitting terminal is encoded according to the video resolution for receiving, the video data that will be sent to transmitting terminal;And
Video data after coding is sent to the receiving terminal.
27. methods as claimed in claim 26, it is characterised in that the receiving terminal plays the video data for receiving, specifically Including:
The video data that the receiving terminal sends for each transmitting terminal, respectively according to the video of the displaying block for transmitting terminal distribution Resolution ratio, decodes to the video data that the transmitting terminal sends, and shows decoding by the displaying block distributed for the transmitting terminal Video data afterwards.
28. methods as claimed in claim 24, it is characterised in that if at least two transmitting terminals in each transmitting terminal are based on and institute The connection between receiving terminal is stated, the voice data and video data that itself is played are sent to the receiving terminal, then described to connect Receiving end plays the voice data for receiving, and specifically includes:
The receiving terminal selects a voice data for transmitting terminal transmission in the voice data that each transmitting terminal for receiving sends Play out.
29. methods as claimed in claim 24, it is characterised in that also include:
If each transmitting terminal operation identical application being connected, each transmitting terminal difference base are set up under network mode with receiving terminal Connection between receiving terminal, will be sent to other each transmitting terminals for the control command of the application.
The sending ending equipment that a kind of 30. connection method for building up based on described in claim 1 are realized, it is characterised in that including:
Connection establishment unit, is connected for being set up under network mode with receiving terminal;
Data transmission unit, for based on the connection between the receiving terminal, the voice data and video that itself is played Data is activation gives the receiving terminal, indicates the receiving terminal to play the voice data and video data for receiving.
31. equipment as claimed in claim 30, it is characterised in that also include:
Video resolution receiving unit, voice data and video data for itself will be played in data transmission unit send Before the receiving terminal, the video resolution that the receiving terminal sends is received;
The data transmission unit, specifically for the video resolution received according to video resolution receiving unit, will be pending The video data for giving transmitting terminal is encoded, and the video data after coding is sent into the receiving terminal.
The receiving device that a kind of 32. connection method for building up based on described in claim 1 are realized, it is characterised in that including:
Connection establishment unit, is connected for being set up under network mode respectively with least two transmitting terminals;
Data receipt unit, is based between the receiving device for receiving at least one of each transmitting terminal transmitting terminal The voice data and video data of linkup transmit;
Data playback unit, for voice data and video data that played data receiving unit is received.
33. equipment as claimed in claim 32, it is characterised in that if data receipt unit receives at least two transmission end groups The voice data and video data of the linkup transmit between the receiving device, then the equipment also include:
Transmitting terminal determining unit, for data receipt unit receive at least one of each transmitting terminal transmitting terminal be based on it is described Before the voice data and video data of the linkup transmit between receiving device, it is determined that sending voice data and video counts According to each transmitting terminal;
Displaying block allocation unit, in the display space of the display device of the receiving device, being that transmitting terminal determines single Each transmitting terminal that unit determines is respectively allocated corresponding displaying block;
Resolution ratio determining unit, the video resolution for determining each displaying block;
Resolution ratio transmitting element, for each transmitting terminal determined for resolution ratio determining unit, distributes single by displaying block respectively Unit is sent to the transmitting terminal for the video resolution of the displaying block of transmitting terminal distribution.
34. equipment as claimed in claim 33, it is characterised in that the data playback unit, specifically for for each transmission The video data for sending is held, respectively according to the video resolution of the displaying block for transmitting terminal distribution, the transmitting terminal is sent Video data is decoded, and shows decoded video data by for the displaying block that the transmitting terminal is distributed.
35. equipment as claimed in claim 32, it is characterised in that if data receipt unit receives at least two transmission end groups The voice data and video data of the linkup transmit between the receiving device, then the data playback unit, has Body is used in the voice data that each transmitting terminal sends, and the voice data that one transmitting terminal of selection sends is played out.
The data transmission system that a kind of 36. connection methods based on described in claim 1 are realized, it is characterised in that including at least Two transmitting terminals and receiving terminal, wherein:
The transmitting terminal, is connected for being set up under network mode with receiving terminal, and based on the connection between the receiving terminal, The voice data and video data that itself is played are sent to the receiving terminal;
The receiving terminal, for playing the voice data and video data that receive.
CN201210278324.2A 2012-08-07 2012-08-07 Connection method for building up, equipment and system, data transmission method, equipment and system Active CN103582165B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210278324.2A CN103582165B (en) 2012-08-07 2012-08-07 Connection method for building up, equipment and system, data transmission method, equipment and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210278324.2A CN103582165B (en) 2012-08-07 2012-08-07 Connection method for building up, equipment and system, data transmission method, equipment and system

Publications (2)

Publication Number Publication Date
CN103582165A CN103582165A (en) 2014-02-12
CN103582165B true CN103582165B (en) 2017-05-31

Family

ID=50052805

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210278324.2A Active CN103582165B (en) 2012-08-07 2012-08-07 Connection method for building up, equipment and system, data transmission method, equipment and system

Country Status (1)

Country Link
CN (1) CN103582165B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105722037B (en) * 2014-12-03 2019-04-23 ***通信集团公司 A kind of method and apparatus that wlan device is interacted with WFD equipment
CN107431725B (en) * 2015-03-13 2021-01-29 三星电子株式会社 Method for maintaining a persistent miracast session over a wireless link
CN105069967A (en) * 2015-07-28 2015-11-18 Tcl集团股份有限公司 Alarming method and system against straying based on WIFI direct connection technology
CN105578227B (en) * 2015-12-07 2019-08-16 努比亚技术有限公司 Multi-screen method for controlling projection, system and terminal device
CN105871863A (en) * 2016-04-18 2016-08-17 袁斌 Method for terminal interaction based on network security and relevant device thereof
CN106792024B (en) * 2016-12-19 2020-07-03 北京小米移动软件有限公司 Multimedia information sharing method and device

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102572578A (en) * 2011-12-30 2012-07-11 Tcl王牌电器(惠州)有限公司 Method for displaying pictures of mobile terminal on television screen and screen-transmitting system
CN102595239A (en) * 2012-02-24 2012-07-18 深圳创维-Rgb电子有限公司 Multi-screen interactive method, device and intelligent television for terminal system

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10117157B2 (en) * 2009-11-17 2018-10-30 Samsung Electronics Co., Ltd. Method and device for investigating WiFi display service in a WiFi direct network

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102572578A (en) * 2011-12-30 2012-07-11 Tcl王牌电器(惠州)有限公司 Method for displaying pictures of mobile terminal on television screen and screen-transmitting system
CN102595239A (en) * 2012-02-24 2012-07-18 深圳创维-Rgb电子有限公司 Multi-screen interactive method, device and intelligent television for terminal system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
基于DLNA协议的智能家庭网络研究;宋祥、陈全;《科技咨询》;20111013;全文 *

Also Published As

Publication number Publication date
CN103582165A (en) 2014-02-12

Similar Documents

Publication Publication Date Title
CN103582165B (en) Connection method for building up, equipment and system, data transmission method, equipment and system
WO2018090829A1 (en) Method and apparatus for allowing intelligent terminal device to access internet
US8494164B2 (en) Method for connecting wireless communications, wireless communications terminal and wireless communications system
CN106464954B (en) For transmitting the device and method of the rendering to multimedia content
CN102456347B (en) Realization system and method for split-type multi-channel synchronous play for multimedia file based on wireless transmission technology
CN107371163A (en) A kind of method and apparatus for controlling access wireless network
US10841165B2 (en) Information processing apparatus, and information processing method that change data transmission roles of different devices
CN105830457A (en) Information processing device and information processing method
US20090274065A1 (en) Method and apparatus for setting wireless local area network by using button
WO2014067053A1 (en) Communication connection establishment method and terminal
JP2003188885A (en) Communication system, server device, client device, method for controlling them, programs for performing them, and computer readable storage medium stored with the programs
CN103595775B (en) The sharing method and system of media file
CN105472699A (en) Access method and system of smart home device
CN106031121A (en) Media content sharing method and apparatus
CN105227397B (en) Method for discovering equipment, main equipment, slave device and corresponding system
WO2017115515A1 (en) Information processing device, information processing method and program
KR20090012945A (en) Method for switching channels through which contenst data is received in zigbee network system and the zigbee network system
WO2014169641A1 (en) Method and device for establishing convenient wireless connection
KR20130084900A (en) Method and apparatus for establishing wireless local network link between portable terminals
CN105636041A (en) Networking method and apparatus for intelligent device
CN104066083A (en) Method and device used for accessing wireless local area network
CN106105376A (en) For the method managing the node association in the communication network of Wireless Personal Area
KR20110096831A (en) The ip-settop with function for playing media contents of individual portable device via wireless network
US9065633B2 (en) Wireless communication apparatus for setting frequency band for wireless communications using encryption key information to predetermined frequency band
KR101072717B1 (en) Wireless internet sharing method and system using by local network

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant