CN105991516A - Method and device of transmitting audios reversely in wireless same-screen system - Google Patents

Method and device of transmitting audios reversely in wireless same-screen system Download PDF

Info

Publication number
CN105991516A
CN105991516A CN201510043973.8A CN201510043973A CN105991516A CN 105991516 A CN105991516 A CN 105991516A CN 201510043973 A CN201510043973 A CN 201510043973A CN 105991516 A CN105991516 A CN 105991516A
Authority
CN
China
Prior art keywords
equipment
transmission
reverse
arranges
parameter
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201510043973.8A
Other languages
Chinese (zh)
Other versions
CN105991516B (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 CN201510043973.8A priority Critical patent/CN105991516B/en
Priority to PCT/CN2015/099927 priority patent/WO2016119563A1/en
Publication of CN105991516A publication Critical patent/CN105991516A/en
Application granted granted Critical
Publication of CN105991516B publication Critical patent/CN105991516B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/40Network security protocols

Abstract

The present invention provides a method and device of transmitting audios reversely in a wireless same-screen system. A method applied to a sending device in the wireless same-screen system comprises the steps of discovering and connecting a receiving device in the wireless same-screen system; carrying out the negotiation of the reverse audio transmission capability from the receiving device to the sending device with the receiving device; after the negotiation is successful, starting the sending device to monitor a reverse audio channel port; and receiving the audio data sent by the receiving device via the reverse audio channel port. According to the method and device provided by the present invention, by arranging a reverse audio transmission channel individually, and under the premise of not influencing a conventional RTSP protocol, the reverse transmission of the audio signals from the receiving device to the sending device is realized, the remolding amount of the device is reduced, and the situation that more device can be upgraded is guaranteed.

Description

The method and device of the reverse transfer audio frequency in wireless same screen system
Technical field
The present invention relates to terminal, wireless, field of data service, particularly relate in a kind of wireless same screen system The method and device of reverse transfer audio frequency.
Background technology
Miracast equipment provides to simplify and finds and arrange, and makes user can transmit video at equipment room rapidly. And the multiple equipment rooms of Miracast protocol definition transmit some machines of multimedia messages by the way of Wifi System and method, in the agreement of Miracast V1.0, it is stipulated that the role of equipment is divided into Source equipment With Sink equipment two kinds, simultaneously, it is stipulated that audio/video flow by Source equipment to Sink device transmission.
But current Miracast V1.0 is wireless with shielding multimedia transport technology, and it is based on RTSP agreement Media stream can only realize from Source equipment to the transmission of Sink equipment, under certain use scene, Have some limitations.Such as, mobile terminal is with screen to during vehicle-mounted, and mobile terminal has phone to connect Entering, existing Miracast agreement can only by mobile terminal originally to the reply of this phone and the pickup of speech The equipment of body is carried out, it is impossible to uses the mike of bodywork system to be used as the input of phone data, gives and drive Member makes troubles.And the another one traditional solution for this problem is: pass through bluetooth telephone TCS-Binary realizes voice flow from Sink equipment to the transmission of Source equipment, but TCS-Binary It is to control bluetooth equipment from application layer, audio signal is transferred directly to baseband layer, makes accepting device to analyze Process audio signal, it is impossible to meet the demand of Miracast V2.0.
Summary of the invention
The technical problem to be solved is, it is provided that the reverse transfer sound in a kind of wireless same screen system The method and device of frequency, by individually offering the passage of a reverse audio transmission, it is achieved audio signal is from reception Equipment is to the reverse transfer of the equipment of transmission.
In order to solve above-mentioned technical problem, the present invention adopts the following technical scheme that
According to one aspect of the present invention, it is provided that the side of the reverse transfer audio frequency in a kind of wireless same screen system Method, is applied to the transmission equipment in described wireless same screen system, and described method includes:
Find the reception equipment in described wireless same screen system, and be connected with the foundation of described reception equipment;
Carry out by the negotiation of the reverse audio transmission ability of reception equipment to transmission equipment with described reception equipment;
After consulting successfully, start the monitoring to reverse voice-grade channel port of the described transmission equipment;
Receive the voice data that described reception equipment is sent by described reverse voice-grade channel port.
Further, described and described reception equipment carries out being passed by the reverse audio frequency of reception equipment to transmission equipment The step of the negotiation of Movement Capabilities, specifically includes:
The request GET_PARAMETER REQUEST message that gets parms is sent to described reception equipment, The described request message that gets parms includes the territory for carrying out reverse audio transmission capability negotiation;
Receive the response GET_PARAMETER RESPONSE that gets parms of described reception equipment feedback Message, described in get parms response message for indicating whether described reception equipment supports reverse audio transmission energy Power;
The response message that gets parms described in if indicate described reception equipment support reverse audio transmission ability, then to Described reception equipment sends first and arranges parameter request SET_PARAMETER REQUEST message, institute State first and parameter request message is set for carrying out the negotiation of audio decoding capabilities with described reception equipment;
Receive described reception equipment feedback first arranges parameter response SET_PARAMETER RESPONSE message, described first arranges parameter response message for indicating whether described reception equipment props up Hold the audio decoding capabilities of described transmission equipment.
Further, when described reception equipment supports reverse audio transmission ability, described in get parms response The IP address information carrying described reception equipment in message and the port of the passage transmitting reverse voice data Number information.
Further, described first arrange parameter request message carries for audio decoding capabilities consult Territory, the described territory consulted for audio decoding capabilities includes: the audio signal that described transmission equipment is supported Format information, corresponding pattern information and Delay.
Further, the described startup described transmission equipment step to the monitoring of reverse voice-grade channel port, tool Body includes:
Sending second to described reception equipment and arrange parameter request message, described second arranges parameter request message In include the territory for controlling reverse audio transmission, the described territory for controlling reverse audio transmission is carried There is the startup described transmission equipment command information to the monitoring of reverse voice-grade channel port;
Receive described reception equipment feedback second arranges parameter response message, and described second arranges parameter response Message carries agreement and opens the described transmission equipment information to the monitoring of reverse audio transmission channel port.
Further, the audio frequency number that described reception equipment is sent is being received by described reverse voice-grade channel port According to afterwards, described method also includes:
Sending the 3rd to described reception equipment and arrange parameter request message, the described 3rd arranges parameter request message In include the territory for controlling reverse audio transmission, the described territory for controlling reverse audio transmission is carried There is the closedown described transmission equipment command information to the monitoring of reverse voice-grade channel port;
Receive described reception equipment feedback the 3rd arranges parameter response message, and the described 3rd arranges parameter response Message carries agreement and closes the described transmission equipment information to the monitoring of reverse audio transmission channel port.
Further, the audio frequency number that described reception equipment is sent is being received by described reverse voice-grade channel port According to afterwards, described method also includes:
Sending the 4th to described reception equipment and arrange parameter request message, the described 4th arranges parameter request message Include the territory for controlling reverse audio transmission, the described territory for controlling reverse audio transmission carries Control command information to voice data;
Receive described reception equipment feedback the 4th arranges parameter response message, and the described 4th arranges parameter response Message is used for indicating described reception equipment to realize described voice data is carried out phase according to described control command The control operation answered.
According to another aspect of the present invention, it is provided that the side of the reverse transfer audio frequency of a kind of wireless same screen system Method, is applied to the reception equipment in described wireless same screen system, and described method includes:
Respond the discovery procedure of described transmission equipment, and be connected with the foundation of described transmission equipment;
Respond the negotiations process of reverse audio transmission ability that described transmission equipment is initiated, and consult successfully it After, respond the initiation of described transmission equipment starts the snoop procedure to described reverse voice-grade channel port;
By described reverse voice-grade channel port, send voice data to described transmission equipment.
Further, the negotiations process of the reverse audio transmission ability that described response described transmission equipment is initiated Step, specifically includes:
The request that the gets parms GET_PARAMETER REQUEST receiving the transmission of described transmission equipment disappears Breath, described in get parms request message in include the territory for carrying out reverse audio transmission capability negotiation;
The response GET_PARAMETER RESPONSE message that gets parms is sent to described transmission equipment, The described response message that gets parms is for indicating whether described reception equipment supports reverse audio transmission ability;
If the response message that gets parms described in indicates described reception equipment to support reverse audio transmission ability, then connect Receive the transmission of described transmission equipment first arranges parameter request SET_PARAMETER REQUEST message, Described first arranges parameter request message for carrying out the negotiation of audio decoding capabilities with described reception equipment;
Sending first to described transmission equipment and arrange parameter response message, described first arranges parameter response message For indicating whether described reception equipment supports the audio decoding capabilities of described transmission equipment.
Further, when described reception equipment supports reverse audio transmission ability, described in get parms response The IP address information carrying described reception equipment in message and the port of the passage transmitting reverse voice data Number information.
Further, described first arrange parameter request message carries for audio decoding capabilities consult Territory, the described territory consulted for audio decoding capabilities includes: the audio signal that described transmission equipment is supported Format information, corresponding pattern information and Delay.
Further, what described response described transmission equipment was initiated starts described reverse voice-grade channel port The step of snoop procedure, specifically includes:
Receive the transmission of described transmission equipment second arranges parameter request message, and described second arranges parameter request Message carries the territory for controlling reverse audio transmission, in the described territory for controlling reverse audio transmission Including starting the described transmission equipment command information to the monitoring of reverse voice-grade channel port;
Sending second to described transmission equipment and arrange parameter response message, described second arranges parameter response message In carry agreement open the described transmission equipment information to the monitoring of reverse audio transmission channel port.
Further, at the equipment of reception after described transmission equipment sends voice data, described method is also wrapped Include:
Receive the transmission of described transmission equipment the 3rd arranges parameter request message, and the described 3rd arranges parameter request Message carries the territory for controlling reverse audio transmission, in the described territory for controlling reverse audio transmission Including closing the described transmission equipment command information to the monitoring of reverse voice-grade channel port;
Sending the 3rd to described transmission equipment and arrange parameter response message, the described 3rd arranges parameter response message In carry agreement close the described transmission equipment information to the monitoring of reverse audio transmission channel port.
Further, at the equipment of reception after described transmission equipment sends voice data, described method is also wrapped Include:
Receive the transmission of described transmission equipment the 4th arranges parameter request message, and the described 4th arranges parameter request Message includes the territory for controlling reverse audio transmission, takes in the described territory for controlling reverse audio transmission With the control command information to voice data;
Sending the 4th to described transmission equipment and arrange parameter response message, the described 4th arranges parameter response message For indicating described reception equipment to realize described voice data is carried out accordingly according to described control command Control operation.
According to another aspect of the present invention, it is provided that the dress of the reverse transfer audio frequency of a kind of wireless same screen system Putting, be applied to the transmission equipment in described wireless same screen system, described device includes:
Discovery module, for the reception equipment finding in described wireless same screen system, and with described reception equipment Set up and connect;
Negotiation module, for carrying out being passed by the reverse audio frequency of reception equipment to transmission equipment with described reception equipment The negotiation of Movement Capabilities;
Start and monitor module, for after consulting successfully, start described transmission equipment to reverse voice-grade channel The monitoring of port;
Receiver module, for receiving the audio frequency that described reception equipment is sent by described reverse voice-grade channel port Data.
Further, described negotiation module includes:
First consults request transmitting unit, for sending, to described reception equipment, the request of getting parms GET_PARAMETER REQUEST message, described in get parms request message in include for entering The territory of the reverse audio transmission capability negotiation of row;
First consults request feedback reception unit, for receiving the response that gets parms of described reception equipment feedback GET_PARAMETER RESPONSE message, described in the response message that gets parms connect described in indicating Whether receiving unit supports reverse audio transmission ability;
Second consults request transmitting unit, if the response message that gets parms described in Yong Yu indicates described reception equipment Support reverse audio transmission ability, then send first to described reception equipment and parameter request is set SET_PARAMETER REQUEST message, described first arranges parameter request message for described Reception equipment carries out the negotiation of audio decoding capabilities;
Second consults request feedback reception unit, arranges parameter for receiving the first of described reception equipment feedback Response SET_PARAMETER RESPONSE message, described first arranges parameter response message for referring to Show whether described reception equipment supports the audio decoding capabilities of described transmission equipment.
Further, when described reception equipment supports reverse audio transmission ability, described in get parms response The IP address information carrying described reception equipment in message and the port of the passage transmitting reverse voice data Number information.
Further, described first arrange parameter request message carries for audio decoding capabilities consult Territory, the described territory consulted for audio decoding capabilities includes: the audio signal that described transmission equipment is supported Format information, corresponding pattern information and Delay.
Further, described startup monitoring unit includes:
Start command sending unit, parameter request message is set for sending second to described reception equipment, institute State second and the territory included in parameter request message for controlling reverse audio transmission is set, described for controlling Reversely the territory of audio transmission carries and start described transmission equipment to the monitoring of reverse voice-grade channel port Command information;
Start order feedback reception unit, parameter response is set for receiving the second of described reception equipment feedback Message, described second arrange parameter response message carries agreement open described transmission equipment to reverse audio frequency The information of the monitoring of transmission channel port.
Further, described device also includes: closes and monitors module, is used for closing described transmission equipment to instead To the monitoring of voice-grade channel port, wherein, described monitoring module of closing includes:
Shutdown command transmitting element, arranges parameter request message for sending the 3rd to described reception equipment, institute State the 3rd and the territory included in parameter request message for controlling reverse audio transmission is set, described for controlling Reversely the territory of audio transmission carries and close described transmission equipment to the monitoring of reverse voice-grade channel port Command information;
Shutdown command feedback reception unit, arranges parameter response for receiving the 3rd of described reception equipment feedback the Message, the described 3rd arrange parameter response message carries agreement close described transmission equipment to reverse audio frequency The information of the monitoring of transmission channel port.
Further, described device also includes: control module, for passing through institute at the described reception equipment of reception After stating the voice data that reverse voice-grade channel port sends, the voice data that described transmission equipment is received Controlling accordingly, wherein, described control module includes:
Control command transmitting element, arranges parameter request message for sending the 4th to described reception equipment, institute State the 4th to arrange parameter request message and include the territory for controlling reverse audio transmission, described be used for controlling Make and the territory of reverse audio transmission carries the control command information to voice data;
Control command feedback reception unit, arranges parameter response for receiving the 4th of described reception equipment feedback the Message, the described 4th arranges parameter response message for indicating described reception equipment according to described control command Realize described voice data is controlled accordingly operation.
According to another aspect of the present invention, it is provided that the dress of the reverse transfer audio frequency of a kind of wireless same screen system Putting, be applied to the reception equipment in described wireless same screen system, described device includes:
Find respond module, for responding the discovery procedure of described transmission equipment, and build with described transmission equipment Vertical connection;
Consult respond module, for responding the negotiation of the reverse audio transmission ability that described transmission equipment is initiated Journey, and after consulting successfully, respond the startup of described transmission equipment initiation to described reverse voice-grade channel end The snoop procedure of mouth;
Sending module, for by described reverse voice-grade channel port, sending audio frequency number to described transmission equipment According to.
Further, described negotiation respond module includes:
First consults request reception unit, receives the request of getting parms that described transmission equipment sends GET_PARAMETER REQUEST message, described in get parms request message in include for entering The territory of the reverse audio transmission capability negotiation of row;
First consults request feedback transmitting element, for sending, to described transmission equipment, the response that gets parms GET_PARAMETER RESPONSE message, described in the response message that gets parms connect described in indicating Whether receiving unit supports reverse audio transmission ability;
Second consults request reception unit, if the response message that gets parms described in Yong Yu indicates described reception equipment Support reverse audio transmission ability, then receive the transmission of described transmission equipment first arranges parameter request SET_PARAMETER REQUEST message, described first arranges parameter request message for described Reception equipment carries out the negotiation of audio decoding capabilities;
Second consults request feedback transmitting element, arranges parameter response for sending first to described transmission equipment Message, described first arranges parameter response message for indicating whether described reception equipment supports that described transmission sets Standby audio decoding capabilities.
Further, when described reception equipment supports reverse audio transmission ability, described in get parms response The IP address information carrying described reception equipment in message and the port of the passage transmitting reverse voice data Number information.
Further, described first arrange parameter request message carries for audio decoding capabilities consult Territory, the described territory consulted for audio decoding capabilities includes: the audio signal that described transmission equipment is supported Format information, corresponding pattern information and Delay.
Further, described negotiation respond module also includes:
Starting order and receive unit, second sent for receiving described transmission equipment arranges parameter request message, Described second arranges the territory carried in parameter request message for controlling reverse audio transmission, described for controlling Make the territory of reverse audio transmission and include starting described transmission equipment to the monitoring of reverse voice-grade channel port Command information;
Start order feedback transmitting element, parameter response message be set for sending second to described transmission equipment, Described second arrange parameter response message carries agreement open described transmission equipment to reverse audio transmission The information of the monitoring of access port.
Further, described device also includes: close respond module, is used for responding described transmission equipment and initiates Close monitoring to reverse voice-grade channel port, wherein, described closedown respond module includes:
Shutdown command receives unit, and the 3rd sent for receiving described transmission equipment arranges parameter request message, Described 3rd arranges the territory carried in parameter request message for controlling reverse audio transmission, described for controlling Make the territory of reverse audio transmission and include closing described transmission equipment to the monitoring of reverse voice-grade channel port Command information;
Shutdown command feedback transmitting element, arranges parameter response message for sending the 3rd to described transmission equipment, Described 3rd arrange parameter response message carries agreement close described transmission equipment to reverse audio transmission The information of the monitoring of access port.
Further, described device also includes: control respond module, for by described reverse voice-grade channel Port, after described transmission equipment sends voice data, responds passing reverse of described transmission equipment initiation Defeated voice data controls accordingly, and wherein, described control respond module includes:
Control command receives unit, and the 4th sent for receiving described transmission equipment arranges parameter request message, Described 4th arranges parameter request message includes the territory for controlling reverse audio transmission, described for controlling Reversely the territory of audio transmission carries the control command information to voice data;
Control command feedback transmitting element, arranges parameter response message for sending the 4th to described transmission equipment, Described 4th arranges parameter response message for indicating described reception equipment to realize according to described control command Described voice data is controlled accordingly operation.
The invention has the beneficial effects as follows: the side of the reverse transfer audio frequency in the wireless same screen system that the present invention provides Method and device, by offering the passage of a reverse audio transmission, on the basis not changing existing RTSP agreement On, utilize RTSP agreement to carry out capability negotiation, and be equipped with corresponding territory and message, it is achieved voice data by Reception equipment is to the reverse transfer of the equipment of transmission.The method and device provided due to the present invention is not set up instead In the case of RTSP services, it is achieved that the reverse transfer of audio frequency, decrease scrap build amount, reduce Expense, meets Miracast V2.0 demand simultaneously.
Accompanying drawing explanation
It is anti-that Fig. 1 represents in the wireless same screen system being applied to send equipment end that the embodiment of the present invention provides Method flow diagram to transmission audio frequency;
Fig. 2 represents the negotiation particular flow sheet of the reverse audio transmission ability that the embodiment of the present invention provides;
Fig. 3 represents the negotiation idiographic flow of reverse audio transmission ability in the example that the embodiment of the present invention provides Figure;
Fig. 4 represents the startup transmission equipment monitoring to reverse voice-grade channel port that the embodiment of the present invention provides Flow chart;
Fig. 5 represents the closedown transmission equipment monitoring to reverse voice-grade channel port that the embodiment of the present invention provides Flow chart;
Fig. 6 represents that starting or close transmission equipment in the example that the embodiment of the present invention provides leads to reverse audio frequency The flow chart of the monitoring of road port;
Fig. 7 represents that the voice data that the transmission equipment interconnection that the embodiment of the present invention provides receives is controlled accordingly The flow chart of system;
Fig. 8 represents that the voice data that in the example that the embodiment of the present invention provides, transmission equipment interconnection receives is carried out The corresponding flow chart controlled;
It is anti-that Fig. 9 represents in the wireless same screen system being applied to receive equipment end that the embodiment of the present invention provides Method flow diagram to transmission audio frequency;
Figure 10 represents the reverse audio transmission ability that the response transmission equipment that the embodiment of the present invention provides initiates Consult particular flow sheet;
Figure 11 represents that startup that the response transmission equipment that the embodiment of the present invention provides initiates is to reverse voice-grade channel The flow chart of the monitoring of port;
Figure 12 represents that closedown that the response transmission equipment that the embodiment of the present invention provides initiates is to reverse voice-grade channel The flow chart of the monitoring of port;
Figure 13 represents the audio frequency number to reverse transfer that the response transmission equipment that the embodiment of the present invention provides is initiated According to the flow chart controlled accordingly;
Figure 14 represents the reverse of the wireless same screen system being applied to send equipment end that the embodiment of the present invention provides The block diagram of transmission audio devices;
Figure 15 represents the negotiation module block diagram that the embodiment of the present invention provides;
Figure 16 represents that module frame chart is monitored in the startup that the embodiment of the present invention provides;
Figure 17 represents that module frame chart is monitored in the closedown that the embodiment of the present invention provides;
Figure 18 represents the control module block diagram that the embodiment of the present invention provides;
Figure 19 represents the reverse of the wireless same screen system being applied to receive equipment end that the embodiment of the present invention provides The block diagram of transmission audio devices;
Figure 20 represents the negotiation respond module block diagram that the embodiment of the present invention provides;
Figure 21 represents the closedown respond module block diagram that the embodiment of the present invention provides;
Figure 22 represents the control respond module block diagram that the embodiment of the present invention provides;
Figure 23 represents the application scenarios schematic diagram of wireless same screen system in prior art;
Figure 24 represents the application scenarios schematic diagram of the wireless same screen system that the embodiment of the present invention provides;
Figure 25 represents this programme general frame figure that the embodiment of the present invention provides.
Detailed description of the invention
It is more fully described the exemplary embodiment of the present invention below with reference to accompanying drawings.Although accompanying drawing shows The exemplary embodiment of the present invention, it being understood, however, that may be realized in various forms the present invention and should be by Embodiments set forth here is limited.On the contrary, it is provided that these embodiments are able to be best understood from this Invention, and complete for the scope of the present invention can be conveyed to those skilled in the art.
An aspect according to the embodiment of the present invention, it is provided that the reverse transfer sound in a kind of wireless same screen system The method of frequency, is applied to the transmission equipment in described wireless same screen system, as it is shown in figure 1, described method bag Include: step S101, the reception equipment found in described wireless same screen system, and build with described reception equipment Vertical connection;Step S102 and described reception equipment are carried out by the reverse audio frequency of reception equipment to transmission equipment The negotiation of transmittability;Step S103, after consulting successfully, start described transmission equipment to reverse sound Frequently the monitoring of access port;Step S104, receive described reception equipment by described reverse voice-grade channel end The voice data that mouth sends.In the method, the equipment that sends is set up with the equipment of reception after being connected, and carries out anti- To the negotiation of audio transmission ability, if the equipment of reception supports reverse audio transmission, then the equipment that receives can be with the most anti- Voice data is transmitted, it is achieved audio frequency is by receiving the equipment reverse transfer to the equipment of transmission to audio transmission channel. To be described respectively for the above four step below.
Step S101, the reception equipment found in described wireless same screen system, and build with described reception equipment Vertical connection;
The step that this step is used when continuing to use common same screen session establishment, first transmission equipment searched for around Whether existence has the same wireless reception equipment with screen function, if existing, setting up with the equipment of reception and being connected.
Step S102 and described reception equipment are carried out by the reverse audio transmission of reception equipment to transmission equipment The negotiation of ability;
This step is that it was consulted in the negotiation completing transmission equipment and reception equipment reverse audio transmission ability Journey completes in M3 and the M4 message of real time streaming transport protocol RTSP agreement, and multiplexing is original for energy The message that power is consulted, reduces the workload of scrap build.
In order to carry out the negotiation of reverse audio transmission ability, the method that the embodiment of the present invention is provided adds For carrying out the territory of reverse audio transmission capability negotiation.Wherein, as in figure 2 it is shown, reverse audio transmission ability Negotiation idiographic flow include:
Step S201, to described reception equipment send get parms request GET_PARAMETER REQUEST message, described in get parms request message in include for carrying out reverse audio transmission ability The territory consulted;
This step is exactly to send equipment to send the request message of reverse audio transmission capability negotiation to reception equipment, This step is to complete in M3 message.Wherein, get parms request GET_PARAMETER REQUEST message is used for the information of getting parms, can table for carrying out the territory of reverse audio transmission capability negotiation It is shown as wfd_rev_audio_capacity.
Step S202, receive described reception equipment feedback the response GET_PARAMETER that gets parms RESPONSE message, described in get parms response message for indicating whether described reception equipment is supported instead To audio transmission ability;
In this step, receive equipment and receive the request of the reverse audio transmission capability negotiation that transmission equipment sends Message, if the equipment of reception supports reverse audio transmission ability, then need to transmit reception equipment in response message The port numbers of the passage of IP address and the reverse voice data of transmission;If reception equipment does not support that reverse audio frequency passes Movement Capabilities, then the content to the response message of the equipment of transmission feedback is empty, i.e. capability negotiation failure, without Continue executing with step S203 and step S204.Wherein, get parms response GET_PARAMETER RESPONSE message is for feeding back parameter information to be obtained.
If getting parms described in step S203, response message indicates described reception equipment to support reverse audio frequency biography Movement Capabilities, then send first to described reception equipment and arrange parameter request SET_PARAMETER REQUEST message, described first arranges parameter request message for carrying out audio frequency solution with described reception equipment The negotiation of code ability;
When the equipment of reception supports reverse audio transmission ability, transmission equipment also to carry out audio frequency with reception equipment The negotiation of decoding capability, popular from the point of view of be exactly, the first relevant information of the audio frequency that regulation transmission equipment is supported, Including the format information of the audio signal supported, such as AAC, ARM etc., corresponding pattern information, as SD, high definition etc. and Delay, after having specified, also to go to judge whether reception equipment is provided that symbol Close the audio frequency required, i.e. carry out the negotiation of audio decoding capabilities with reception equipment.
For completing the negotiation of audio decoding capabilities, add the territory consulted for audio decoding capabilities, can represent For wfd_rev_audio_codes.Wherein, parameter request SET_PARAMETER REQUEST is set Message is used for carrying out parameter setting.This step is to complete in M4 message.
Step S204, receive described reception equipment feedback first parameter response is set SET_PARAMETER RESPONSE message, described first arranges parameter response message for indicating State whether reception equipment supports the audio decoding capabilities of described transmission equipment.
In this step, the equipment that sends receives by the response message of the equipment of reception feedback, according to described response message Judge whether reception equipment supports the audio decoding capabilities of transmission equipment.
In order to be further appreciated by the process of the reverse audio transmission capability negotiation that the embodiment of the present invention provides, below To illustrate.
As it is shown on figure 3, WFD Source represents the transmission equipment through Wi-Fi Direct certification, WFD Sink Representing the reception equipment through Wi-Fi Direct certification, wherein, Wi-Fi Direct standard refers to allow wireless network Equipment in network is without being connected with each other by wireless router, and this standard allows wireless device right with point Point form interconnection, and have than bluetooth in terms of transmission speed with transmission range and significantly promote.Concrete mutual Process is:
1a.Source equipment sends GET_PARAMETER REQUEST message to Sink equipment, should Message includes the territory wfd_rev_audio_capacity for carrying out reverse audio transmission capability negotiation;
If 1b. Sink equipment supports reverse audio transmission ability, then send to Source equipment GET_PARAMETER RESPONSE message includes wfd_rev_audio_capacity, in this territory In also include the IP address Reverse_audio_ip=192.168.1.12 of Sink equipment and for transmitting reversely Port numbers Reverse_audio_port0=2002 of the passage of audio frequency, Reverse_audio_port0=2003, Needing exist for explanation, in the embodiment of the present invention, the port of reverse audio transmission channel includes: monitor end Mouth and FPDP, whether listening port has voice data to need transmission for monitoring, if having, then by counting According to port, voice data is transferred to Source equipment;
If Sink equipment does not support reverse audio transmission ability, then send to Source equipment GET_PARAMETER RESPONSE message is the content in none, i.e. message be empty, so far assist Business's failure;
2a. is when Sink equipment supports reverse audio transmission ability, and Source equipment also needs to set with Sink The standby negotiation carrying out audio decoding capabilities, first Source equipment sends to Sink equipment SET_PARAMETER REQUEST message, includes in this message for carrying out sound with Sink equipment The territory wfd_rev_audio_codes of the negotiation of decoding capability frequently, includes Source equipment support in this domain Code encoding/decoding mode Codec=LPCM, corresponding pattern Modes=00000003 and time delay The information such as Latency=00;
If 2b. Sink equipment is supported and Source equipment audio decoding capabilities, then send to Source equipment SET_PARAMETER RESPONSE message in comprise OK information, if not supporting, in this message Comprise NO information.
It should be noted that this example is only to carry out by being further appreciated by method that the embodiment of the present invention provided Description, message, parameter, the expression in territory and the particular content etc. in this example, not and be only limitted to this.
Step S103, after consulting successfully, start described transmission equipment to reverse voice-grade channel port Monitor;
After capability negotiation success, to carry out the transmission of reverse audio frequency, also need to open transmission equipment to reversely The monitoring of voice-grade channel port, its essence is and makes the port of reverse voice-grade channel be in open mode, in order to Carry out the transmission of audio frequency.As shown in Figure 4, it implements process and is:
Step S401, sending second to described reception equipment and arrange parameter request message, described second is arranged Parameter request message includes the territory for controlling reverse audio transmission, described for controlling reverse audio frequency biography Defeated territory carries the startup described transmission equipment command information to the monitoring of reverse voice-grade channel port;
Step S402, receive the second of described reception equipment feedback parameter response message is set, described second Arrange and parameter response message carries the agreement described transmission equipment of unlatching to reverse audio transmission channel port The information of monitoring.
Further, the method that the embodiment of the present invention provides also includes closing transmission equipment to reverse voice-grade channel The step of the monitoring of port, as it is shown in figure 5, it implements process be:
Step S501, sending the 3rd to described reception equipment and arrange parameter request message, the described 3rd is arranged Parameter request message includes the territory for controlling reverse audio transmission, described for controlling reverse audio frequency biography Defeated territory carries the closedown described transmission equipment command information to the monitoring of reverse voice-grade channel port;
Step S502, receive the 3rd of described reception equipment feedback parameter response message is set, the described 3rd Arrange and parameter response message carries the agreement described transmission equipment of closedown to reverse audio transmission channel port The information of monitoring.
In order to be further appreciated by the process of the reverse audio transmission capability negotiation that the embodiment of the present invention provides, below To illustrate, as shown in Figure 6.
1a. first Source equipment sends SET_PARAMETER REQUEST message to Sink equipment, This message includes the territory wfd_rev_audio_setting for controlling reverse audio transmission, this territory is taken With starting Source equipment command information enable to the monitoring of reverse voice-grade channel port;
If 1b. Sink equipment agree to open the monitoring to reverse voice-grade channel port of the Source equipment, then to The SET_PARAMETER RESPONSE message that Source equipment sends carries OK information.
2a. to close the monitoring to reverse voice-grade channel port of the Source equipment, then Source equipment to The SET_PARAMETER REQUEST message that Sink equipment sends includes Wfd_rev_audio_setting, and close the Source equipment life to the monitoring of reverse voice-grade channel port Make information disable;
If 2b. Sink equipment agree to close the monitoring to reverse voice-grade channel port of the Source equipment, then to The SET_PARAMETER RESPONSE message that Source equipment sends carries OK information.
It should be noted that this example is only to carry out by being further appreciated by method that the embodiment of the present invention provided Description, message, order, the expression in territory and the particular content etc. in this example, not and be only limitted to this.
Step S104, receive described reception equipment by described reverse voice-grade channel port send audio frequency number According to.
After opening the monitoring to reverse voice-grade channel port of the transmission equipment, it is possible to receive and sent by the equipment of reception The audio frequency come over.
Further, the audio frequency number that described reception equipment is sent is being received by described reverse voice-grade channel port According to afterwards, the method that the embodiment of the present invention provides also includes: the voice data receiving described transmission equipment Control accordingly, as it is shown in fig. 7, its concrete control process includes:
Step S701, sending the 4th to described reception equipment and arrange parameter request message, the described 4th is arranged Parameter request message includes the territory for controlling reverse audio transmission, described for controlling reverse audio transmission Territory in carry the control command information to voice data;
Step S702, receive the 4th of described reception equipment feedback parameter response message is set, the described 4th Parameter response message is set for indicating described reception equipment to realize described sound according to described control command Frequency is according to controlling operation accordingly.
The voice data that the transmission equipment interconnection provided to be further appreciated by the embodiment of the present invention receives is carried out Control process accordingly, will be exemplified below, as shown in Figure 8.
1a.Source equipment sends SET_PARAMETER REQUEST message to Sink equipment, should Message includes the territory wfd_rev_audio_setting for controlling reverse audio transmission, this territory is carried There are control information play to audio stream, i.e. play command;
After 1b.Sink equipment end has performed play command, complete to Source equipment feedback control manipulation executed The message finished: SET_PARAMETER RESPONSE, carries OK information in this message;
2a.Source equipment sends SET_PARAMETER REQUEST message to Sink equipment, should Message includes the territory wfd_rev_audio_setting for controlling reverse audio transmission, this territory is carried There are control information pause to audio stream, i.e. pause command;;
After 2b.Sink equipment end has performed pause command, complete to Source equipment feedback control manipulation executed The message finished: SET_PARAMETER RESPONSE, carries OK information in this message.
Another aspect according to the embodiment of the present invention, it is provided that the reverse transfer sound of a kind of wireless same screen system The method of frequency, is applied to the reception equipment in described wireless same screen system, as it is shown in figure 9, described method bag Include: step S901, respond the discovery procedure of described transmission equipment, and set up with described transmission equipment and be connected; Step S902, respond the negotiations process of reverse audio transmission ability that described transmission equipment is initiated, and in association After business's success, respond the initiation of described transmission equipment starts the monitoring to described reverse voice-grade channel port Journey;Step S903, by described reverse voice-grade channel port, send voice data to described transmission equipment. In the method, receive the discovery procedure of equipment response transmission equipment, and be connected with the equipment foundation of transmission, enter Row capability negotiation, and transmission voice data, thus realize the reverse transfer of audio frequency.Below will for more than Described three steps are described respectively.
Step S901, respond the discovery procedure of described transmission equipment, and set up with described transmission equipment and be connected.
The response that step S101 is carried out by this step by reception equipment, the discovery procedure of response transmission equipment, And be connected with the equipment foundation of transmission.
Step S902, respond the negotiations process of reverse audio transmission ability that described transmission equipment is initiated, and After consulting successfully, respond the initiation of described transmission equipment starts the prison to described reverse voice-grade channel port Listen process.
The response that step S102 and step S103 are carried out by this step by reception equipment, with the equipment of transmission Carry out capability negotiation, and according to performing the unlatching transmission equipment snoop command to reverse voice-grade channel port.
Wherein, in order to carry out the negotiation of reverse audio transmission ability, in the method that the embodiment of the present invention is provided Add the territory for carrying out reverse audio transmission capability negotiation.Wherein, as shown in Figure 10, response is reversely The negotiation idiographic flow of audio transmission ability includes:
Step S1001, receive described transmission equipment send get parms request GET_PARAMETER REQUEST message, described in get parms request message in include for carrying out reverse audio transmission ability The territory consulted;
Step S1002, send to described transmission equipment and get parms response GET_PARAMETER RESPONSE message, described in get parms response message for indicating whether described reception equipment is supported instead To audio transmission ability;
If getting parms described in step S1003, response message indicates described reception equipment to support reverse audio frequency biography Movement Capabilities, then receive the transmission of described transmission equipment first arranges parameter request SET_PARAMETER REQUEST message, described first arranges parameter request message for carrying out audio frequency solution with described reception equipment The negotiation of code ability;
Step S1004, sending first to described transmission equipment and arrange parameter response message, described first is arranged Parameter response message is for indicating whether described reception equipment supports the audio decoding capabilities of described transmission equipment.
Above-mentioned steps S1001~S1004 correspondence step S201~S204, simply step S201~S204 be from The angle of transmission equipment goes to describe, and step S1001~S1004 are that the angle from the equipment of reception goes to describe, this Place no longer carries out too much redundancy description.
After capability negotiation success, to carry out the transmission of reverse audio frequency, also need to open transmission equipment to reversely The monitoring of voice-grade channel port, its essence is and makes the port of reverse voice-grade channel be in open mode, in order to Carry out the transmission of audio frequency.As shown in figure 11, it implements process and is:
Step S1101, receive that described transmission equipment sends second arrange parameter request message, and described second The territory carried in parameter request message for controlling reverse audio transmission is set, described for controlling reverse sound Keep pouring in the command information that defeated territory includes starting described transmission equipment to the monitoring of reverse voice-grade channel port;
Step S1102, sending second to described transmission equipment and arrange parameter response message, described second is arranged Parameter response message carries agreement and opens the described transmission equipment prison to reverse audio transmission channel port The information listened.
Above-mentioned steps S1101~S1102 correspondence step S401~S402, simply step S401~S402 be from The angle of transmission equipment goes to describe, and step S1101~S1102 are that the angle from the equipment of reception goes to describe, herein No longer carry out too much redundancy description.
Further, the method that the embodiment of the present invention provides also includes responding the closedown that described transmission equipment is initiated Step to the monitoring of reverse voice-grade channel port, as shown in figure 12, it implements process and is:
Step S1201, receive that described transmission equipment sends the 3rd arrange parameter request message, and the described 3rd The territory carried in parameter request message for controlling reverse audio transmission is set, described for controlling reverse sound Keep pouring in the command information that defeated territory includes closing described transmission equipment to the monitoring of reverse voice-grade channel port;
Step S1201, sending the 3rd to described transmission equipment and arrange parameter response message, the described 3rd is arranged Parameter response message carries agreement and closes the described transmission equipment prison to reverse audio transmission channel port The information listened.
Above-mentioned steps S1201~S1202 correspondence step S501~S502, simply step S501~S502 be from The angle of transmission equipment goes to describe, and step S1201~S1202 are that the angle from the equipment of reception goes to describe, this Place no longer carries out too much redundancy description.
Step S903, by described reverse voice-grade channel port, send voice data to described transmission equipment.
After opening the monitoring to reverse voice-grade channel port of the transmission equipment, it is possible to send audio frequency to the equipment of transmission Data.
Further, by described reverse voice-grade channel port, to described transmission equipment send voice data it After, the method that the embodiment of the present invention is provided also includes: respond described transmission equipment initiate to reverse transfer Voice data control accordingly, as shown in figure 13, it specifically controls process and includes:
Step S1301, receive that described transmission equipment sends the 4th arrange parameter request message, and the described 4th Parameter request message is set and includes the territory for controlling reverse audio transmission, described for controlling reverse audio frequency The territory of transmission carries the control command information to voice data;
Step S1302, sending the 4th to described transmission equipment and arrange parameter response message, the described 4th is arranged Parameter response message is used for indicating described reception equipment to realize described audio frequency number according to described control command According to controlling operation accordingly.
Above-mentioned steps S1301~S1302 correspondence step S701~S702, simply step S701~S702 be from The angle of transmission equipment goes to describe, and step S1301~S1302 are that the angle from the equipment of reception goes to describe, this Place no longer carries out too much redundancy description.
Further, when the equipment of reception supports reverse audio transmission ability, the response message that gets parms is taken With the IP address information of the equipment of reception with transmit the port number information of passage of reverse voice data.
Further, first arranges the territory carried in parameter request message for audio decoding capabilities negotiation, The described territory consulted for audio decoding capabilities includes: the form letter of the audio signal that transmission equipment is supported Breath, corresponding pattern information and Delay.
Another aspect according to the embodiment of the present invention, it is provided that the reverse transfer sound of a kind of wireless same screen system The device of frequency, is applied to the transmission equipment in described wireless same screen system, as shown in figure 14, described device Including:
Discovery module 1401, for finding the reception equipment in described wireless same screen system, and connects with described Receiving unit is set up and is connected;
Negotiation module 1402, for carrying out by reverse to transmission equipment of reception equipment with described reception equipment The negotiation of audio transmission ability;
Start and monitor module 1403, for after consulting successfully, start described transmission equipment to reverse sound Frequently the monitoring of access port;
Receiver module 1404, is used for receiving described reception equipment and is sent by described reverse voice-grade channel port Voice data.
Further, as shown in figure 15, described negotiation module 1402 includes:
First consults request transmitting unit 1501, for sending, to described reception equipment, the request of getting parms GET_PARAMETER REQUEST message, described in get parms request message in include for entering The territory of the reverse audio transmission capability negotiation of row;
First consults request feedback reception unit 1502, for receiving the acquisition ginseng of described reception equipment feedback Number response GET_PARAMETER RESPONSE message, described in get parms response message for referring to Show whether described reception equipment supports reverse audio transmission ability;
Second consults request transmitting unit 1503, connects described in the instruction of response message if getting parms described in Yong Yu Receiving unit supports reverse audio transmission ability, then send first to described reception equipment and arrange parameter request SET_PARAMETER REQUEST message, described first arranges parameter request message for described Reception equipment carries out the negotiation of audio decoding capabilities;
Second consults request feedback reception unit 1504, sets for receiving the first of described reception equipment feedback Putting parameter response SET_PARAMETER RESPONSE message, described first arranges parameter response message For indicating whether described reception equipment supports the audio decoding capabilities of described transmission equipment.
Further, when described reception equipment supports reverse audio transmission ability, described in get parms response The IP address information carrying described reception equipment in message and the port of the passage transmitting reverse voice data Number information.
Further, described first arrange parameter request message carries for audio decoding capabilities consult Territory, the described territory consulted for audio decoding capabilities includes: the audio signal that described transmission equipment is supported Format information, corresponding pattern information and Delay.
Further, as shown in figure 16, the described monitoring module 1403 that starts includes:
Start command sending unit 1601, disappear for arranging parameter request to described reception equipment transmission second Breath, described second arranges the territory included in parameter request message for controlling reverse audio transmission, described use The described transmission equipment of startup is carried to reverse voice-grade channel port in the territory controlling reverse audio transmission The command information monitored;
Start order feedback reception unit 1602, ginseng is set for receiving the second of described reception equipment feedback Number response message, described second arrange parameter response message carries agreement open described transmission equipment to instead Information to the monitoring of audio transmission channel port.
Further, as shown in figure 14, described device also includes: closes and monitors module 1406, is used for closing Close the monitoring to reverse voice-grade channel port of the described transmission equipment, wherein, as shown in figure 17, described closedown Monitor mould 1406 to include:
Shutdown command transmitting element 1701, disappears for arranging parameter request to described reception equipment transmission the 3rd Breath, the described 3rd arranges the territory included in parameter request message for controlling reverse audio transmission, described use The described transmission equipment of closedown is carried to reverse voice-grade channel port in the territory controlling reverse audio transmission The command information monitored;
Shutdown command feedback reception unit 1702, arranges ginseng for receiving the 3rd of described reception equipment feedback the Number response message, the described 3rd arrange parameter response message carries agreement close described transmission equipment to instead Information to the monitoring of audio transmission channel port.
Further, as shown in figure 14, described device also includes: control module 1405, for receiving After the described reception equipment voice data by the transmission of described reverse voice-grade channel port, described transmission is set The standby voice data received controls accordingly, wherein, as shown in figure 18, and described control module 1405 Including:
Control command transmitting element 1801, disappears for arranging parameter request to described reception equipment transmission the 4th Breath, the described 4th arranges parameter request message includes the territory for controlling reverse audio transmission, described is used for Control the territory of reverse audio transmission carries the control command information to voice data;
Control command feedback reception unit 1802, arranges ginseng for receiving the 4th of described reception equipment feedback the Number response message, the described 4th arranges parameter response message for indicating described reception equipment according to described control System order realizes controlling described voice data accordingly operation.
It should be noted that this device is to be applied to as described above in the wireless same screen system of transmission equipment The device that the method for reverse transfer audio frequency is corresponding, in said method embodiment, all implementations are all applicable to this In the embodiment of device, also can reach identical technique effect.
Another aspect according to the embodiment of the present invention, it is provided that the reverse transfer sound of a kind of wireless same screen system The device of frequency, is applied to the reception equipment in described wireless same screen system, as shown in figure 19, described device Including:
Find respond module 1901, for responding the discovery procedure of described transmission equipment, and with described transmission Equipment is set up and is connected;
Consult respond module 1902, for responding the reverse audio transmission ability of described transmission equipment initiation Negotiations process, and after consulting successfully, respond the startup of described transmission equipment initiation to described reverse audio frequency The snoop procedure of access port;
Sending module 1903, for by described reverse voice-grade channel port, sending to described transmission equipment Voice data.
Further, as shown in figure 20, described negotiation respond module 1902 includes:
First consults request reception unit 2001, receives the request of getting parms that described transmission equipment sends GET_PARAMETER REQUEST message, described in get parms request message in include for entering The territory of the reverse audio transmission capability negotiation of row;
First consults request feedback transmitting element 2002, should for getting parms to the transmission of described transmission equipment Answer GET_PARAMETER RESPONSE message, described in get parms response message for indicating State whether reception equipment supports reverse audio transmission ability;
Second consults request reception unit 2003, connects described in the instruction of response message if getting parms described in Yong Yu Receiving unit supports reverse audio transmission ability, then receive the transmission of described transmission equipment first arranges parameter request SET_PARAMETER REQUEST message, described first arranges parameter request message for described Reception equipment carries out the negotiation of audio decoding capabilities;
Second consults request feedback transmitting element 2004, arranges ginseng for sending first to described transmission equipment Number response message, whether described first to arrange parameter response message described for indicating described reception equipment to support The audio decoding capabilities of transmission equipment.
Further, when described reception equipment supports reverse audio transmission ability, described in get parms response The IP address information carrying described reception equipment in message and the port of the passage transmitting reverse voice data Number information.
Further, described first arrange parameter request message carries for audio decoding capabilities consult Territory, the described territory consulted for audio decoding capabilities includes: the audio signal that described transmission equipment is supported Format information, corresponding pattern information and Delay.
Further, as shown in figure 20, described negotiation respond module 1902 also includes:
Starting order and receive unit 2005, second sent for receiving described transmission equipment arranges parameter please Seeking message, described second arranges the territory carried in parameter request message for controlling reverse audio transmission, institute State and include for the territory controlling reverse audio transmission starting described transmission equipment to reverse voice-grade channel port The command information of monitoring;
Start order feedback transmitting element 2006, should for arranging parameter to described transmission equipment transmission second Answering message, described second arranges and carries agreement in parameter response message and open described transmission equipment to reverse sound Keep pouring in the information of the monitoring of defeated access port.
Further, as shown in figure 19, described device also includes: closes respond module 1905, is used for ringing Should described transmission equipment initiate close monitoring to reverse voice-grade channel port, wherein, as shown in figure 21, Described closedown respond module 1905 includes:
Shutdown command receives unit 2101, and the 3rd sent for receiving described transmission equipment arranges parameter please Seeking message, the described 3rd arranges the territory carried in parameter request message for controlling reverse audio transmission, institute State and include for the territory controlling reverse audio transmission closing described transmission equipment to reverse voice-grade channel port The command information of monitoring;
Shutdown command feedback transmitting element 2102, should for arranging parameter to described transmission equipment transmission the 3rd Answering message, the described 3rd arranges and carries agreement in parameter response message and close described transmission equipment to reverse sound Keep pouring in the information of the monitoring of defeated access port.
Further, as shown in figure 19, described device also includes: controls respond module 1904, is used for leading to Cross described reverse voice-grade channel port, after described transmission equipment sends voice data, respond described transmission The voice data to reverse transfer that equipment is initiated controls accordingly, wherein, as shown in figure 22, and institute State control respond module 1904 to include:
Control command receives unit 2201, and the 4th sent for receiving described transmission equipment arranges parameter please Seeking message, the described 4th arranges parameter request message includes the territory for controlling reverse audio transmission, described The control command information to voice data is carried in the territory controlling reverse audio transmission;
Control command feedback transmitting element 2202, should for arranging parameter to described transmission equipment transmission the 4th Answering message, the described 4th arranges parameter response message for indicating described reception equipment to control life according to described Order realizes controlling described voice data accordingly operation.
It should be noted that this device is the device corresponding with above-mentioned service rate adaptive approach, said method is real Execute all implementations in example and, all be applicable to the embodiment of this device, also can reach identical technique effect.
It should be noted that this device is to be applied to as described above in the wireless same screen system of reception equipment The device that the method for reverse transfer audio frequency is corresponding, in said method embodiment, all implementations are all applicable to this In the embodiment of device, also can reach identical technique effect.
From wireless same screen system, to sum up send the method and device that the angle of equipment and the equipment of reception describes, this Inventive embodiments overcomes the wireless same screen system sound intermediate frequency data of prior art can only be by transmission equipment to connecing The transmission of receiving unit, by individually offering one group of port, provides passage for reverse voice, enters on that channel Row RTP or the media flow transmission of other encapsulation format, the major advantage of the program is, does not affect existing The ability of RTSP service, meanwhile, reduce the transformation amount of equipment, thus ensure that more equipment can be with association View upgrading, as shown in figure 23 and figure 24, the prior art provided for the embodiment of the present invention should with this programme Use scene schematic diagram, in the middle of prior art, audio/video flow can only from Source device transmission to Sink equipment, And can not reverse transfer, in this programme, then can realize audio frequency from reverse to Source equipment of Sink equipment Transmission, has widened the range of application of wireless same screen system.As shown in figure 25, provide for the embodiment of the present invention This programme general frame figure, this programme difference from prior art be exactly individually offered one group reverse The port of audio transmission, the existing agreement of multiplexing, reduce the workload of scrap build.
Above-described is the preferred embodiment of the present invention, it should be pointed out that for the ordinary people of the art For Yuan, some improvements and modifications can also be made under without departing from principle premise of the present invention, these Improvements and modifications are the most within the scope of the present invention.

Claims (28)

1. a method for the reverse transfer audio frequency in wireless same screen system, is applied to the transmission equipment in described wireless same screen system, it is characterised in that described method includes:
Find the reception equipment in described wireless same screen system, and be connected with the foundation of described reception equipment;
Carry out by the negotiation of the reverse audio transmission ability of reception equipment to transmission equipment with described reception equipment;
After consulting successfully, start the monitoring to reverse voice-grade channel port of the described transmission equipment;
Receive the voice data that described reception equipment is sent by described reverse voice-grade channel port.
2. the method for claim 1, it is characterised in that the described step carrying out the negotiation by the reverse audio transmission ability of reception equipment to transmission equipment with described reception equipment, specifically includes:
To described reception equipment send get parms request GET_PARAMETER REQUEST message, described in get parms request message in include the territory for carrying out reverse audio transmission capability negotiation;
Receive described reception equipment feedback the response GET_PARAMETER RESPONSE message that gets parms, described in get parms response message for indicating whether described reception equipment supports reverse audio transmission ability;
If the response message that gets parms described in indicates described reception equipment to support reverse audio transmission ability, then sending first to described reception equipment and arrange parameter request SET_PARAMETER REQUEST message, described first arranges parameter request message for carrying out the negotiation of audio decoding capabilities with described reception equipment;
Receive described reception equipment feedback first arranges parameter response SET_PARAMETERRESPONSE message, and described first arranges parameter response message for indicating whether described reception equipment supports the audio decoding capabilities of described transmission equipment.
3. method as claimed in claim 2, it is characterized in that, when described reception equipment supports reverse audio transmission ability, described in get parms the IP address information carrying described reception equipment in response message and the port number information of passage transmitting reverse voice data.
4. method as claimed in claim 2, it is characterized in that, described first arranges the territory carried in parameter request message for audio decoding capabilities negotiation, and the described territory consulted for audio decoding capabilities includes: the format information of the audio signal that described transmission equipment is supported, corresponding pattern information and Delay.
5. the method for claim 1, it is characterised in that the described startup described transmission equipment step to the monitoring of reverse voice-grade channel port, specifically includes:
Send second to described reception equipment and parameter request message is set, described second arranges the territory included in parameter request message for controlling reverse audio transmission, carries the startup described transmission equipment command information to the monitoring of reverse voice-grade channel port in the described territory for controlling reverse audio transmission;
Receive described reception equipment feedback second arranges parameter response message, and described second arranges and carry agreement in parameter response message and open the described transmission equipment information to the monitoring of reverse audio transmission channel port.
6. the method for claim 1, it is characterised in that after receiving the voice data that described reception equipment is sent by described reverse voice-grade channel port, described method also includes:
Send the 3rd to described reception equipment and parameter request message is set, described 3rd arranges the territory included in parameter request message for controlling reverse audio transmission, carries the closedown described transmission equipment command information to the monitoring of reverse voice-grade channel port in the described territory for controlling reverse audio transmission;
Receive described reception equipment feedback the 3rd arranges parameter response message, and the described 3rd arranges and carry agreement in parameter response message and close the described transmission equipment information to the monitoring of reverse audio transmission channel port.
7. the method for claim 1, it is characterised in that after receiving the voice data that described reception equipment is sent by described reverse voice-grade channel port, described method also includes:
Sending the 4th to described reception equipment and arrange parameter request message, the described 4th arranges parameter request message includes the territory for controlling reverse audio transmission, carries the control command information to voice data in the described territory for controlling reverse audio transmission;
Receiving the 4th of described reception equipment feedback and arrange parameter response message, the described 4th arranges parameter response message for indicating described reception equipment to realize controlling described voice data accordingly operation according to described control command.
8. a method for the reverse transfer audio frequency in wireless same screen system, is applied to the reception equipment in described wireless same screen system, it is characterised in that described method includes:
Respond the discovery procedure of described transmission equipment, and be connected with the foundation of described transmission equipment;
Respond the negotiations process of the reverse audio transmission ability that described transmission equipment is initiated, and after consulting successfully, respond the initiation of described transmission equipment starts the snoop procedure to described reverse voice-grade channel port;
By described reverse voice-grade channel port, send voice data to described transmission equipment.
9. method as claimed in claim 8, it is characterised in that the step of the negotiations process of the reverse audio transmission ability that described response described transmission equipment is initiated, specifically includes:
Receive described transmission equipment send get parms request GET_PARAMETER REQUEST message, described in get parms request message in include the territory for carrying out reverse audio transmission capability negotiation;
Send to described transmission equipment and get parms response GET_PARAMETER RESPONSE message, described in get parms response message for indicating whether described reception equipment supports reverse audio transmission ability;
If the response message that gets parms described in indicates described reception equipment to support reverse audio transmission ability, then receive the transmission of described transmission equipment first arranges parameter request SET_PARAMETER REQUEST message, and described first arranges parameter request message for carrying out the negotiation of audio decoding capabilities with described reception equipment;
Sending first to described transmission equipment and arrange parameter response message, described first arranges parameter response message for indicating whether described reception equipment supports the audio decoding capabilities of described transmission equipment.
10. method as claimed in claim 9, it is characterized in that, when described reception equipment supports reverse audio transmission ability, described in get parms the IP address information carrying described reception equipment in response message and the port number information of passage transmitting reverse voice data.
11. methods as claimed in claim 9, it is characterized in that, described first arranges the territory carried in parameter request message for audio decoding capabilities negotiation, and the described territory consulted for audio decoding capabilities includes: the format information of the audio signal that described transmission equipment is supported, corresponding pattern information and Delay.
12. methods as claimed in claim 8, it is characterised in that the step starting the snoop procedure to described reverse voice-grade channel port that described response described transmission equipment is initiated, specifically include:
Receive the transmission of described transmission equipment second arranges parameter request message, described second arranges the territory carried in parameter request message for controlling reverse audio transmission, and the described territory for controlling reverse audio transmission includes the command information starting described transmission equipment to the monitoring of reverse voice-grade channel port;
Sending second to described transmission equipment and arrange parameter response message, described second arranges and carries agreement in parameter response message and open the described transmission equipment information to the monitoring of reverse audio transmission channel port.
13. methods as claimed in claim 8, it is characterised in that at the equipment of reception after described transmission equipment sends voice data, described method also includes:
Receive the transmission of described transmission equipment the 3rd arranges parameter request message, described 3rd arranges the territory carried in parameter request message for controlling reverse audio transmission, and the described territory for controlling reverse audio transmission includes the command information closing described transmission equipment to the monitoring of reverse voice-grade channel port;
Sending the 3rd to described transmission equipment and arrange parameter response message, the described 3rd arranges and carries agreement in parameter response message and close the described transmission equipment information to the monitoring of reverse audio transmission channel port.
14. methods as claimed in claim 8, it is characterised in that at the equipment of reception after described transmission equipment sends voice data, described method also includes:
Receive the transmission of described transmission equipment the 4th arranges parameter request message, and the described 4th arranges parameter request message includes the territory for controlling reverse audio transmission, carries the control command information to voice data in the described territory for controlling reverse audio transmission;
Sending the 4th to described transmission equipment and arrange parameter response message, the described 4th arranges parameter response message for indicating described reception equipment to realize controlling described voice data accordingly operation according to described control command.
The device of the reverse transfer audio frequency in 15. 1 kinds of wireless same screen systems, is applied to the transmission equipment in described wireless same screen system, it is characterised in that described device includes:
Discovery module, for finding the reception equipment in described wireless same screen system, and is connected with the foundation of described reception equipment;
Negotiation module, for carrying out by the negotiation of the reverse audio transmission ability of reception equipment to transmission equipment with described reception equipment;
Start and monitor module, for after consulting successfully, start the monitoring to reverse voice-grade channel port of the described transmission equipment;
Receiver module, for receiving the voice data that described reception equipment is sent by described reverse voice-grade channel port.
16. devices as claimed in claim 15, it is characterised in that described negotiation module includes:
First consult request transmitting unit, for described reception equipment send get parms request GET_PARAMETER REQUEST message, described in get parms request message in include the territory for carrying out reverse audio transmission capability negotiation;
First consult request feedback reception unit, for receive described reception equipment feedback the response GET_PARAMETER RESPONSE message that gets parms, described in get parms response message for indicating whether described reception equipment supports reverse audio transmission ability;
Second consults request transmitting unit, if getting parms described in for, response message indicates described reception equipment to support reverse audio transmission ability, then sending first to described reception equipment and arrange parameter request SET_PARAMETER REQUEST message, described first arranges parameter request message for carrying out the negotiation of audio decoding capabilities with described reception equipment;
Second consults request feedback reception unit, arranging parameter response SET_PARAMETER RESPONSE message for receiving the first of described reception equipment feedback, described first arranges parameter response message for indicating whether described reception equipment supports the audio decoding capabilities of described transmission equipment.
17. devices as claimed in claim 16, it is characterized in that, when described reception equipment supports reverse audio transmission ability, described in get parms the IP address information carrying described reception equipment in response message and the port number information of passage transmitting reverse voice data.
18. devices as claimed in claim 16, it is characterized in that, described first arranges the territory carried in parameter request message for audio decoding capabilities negotiation, and the described territory consulted for audio decoding capabilities includes: the format information of the audio signal that described transmission equipment is supported, corresponding pattern information and Delay.
19. devices as claimed in claim 15, it is characterised in that described startup monitoring unit includes:
Start command sending unit, for sending second to described reception equipment, parameter request message is set, described second arranges the territory included in parameter request message for controlling reverse audio transmission, carries the startup described transmission equipment command information to the monitoring of reverse voice-grade channel port in the described territory for controlling reverse audio transmission;
Starting order feedback reception unit, arrange parameter response message for receiving the second of described reception equipment feedback, described second arranges and carries agreement in parameter response message and open the described transmission equipment information to the monitoring of reverse audio transmission channel port.
20. methods as claimed in claim 15, it is characterised in that described device also includes: close and monitor module, for closing the monitoring to reverse voice-grade channel port of the described transmission equipment, wherein, described monitoring module of closing includes:
Shutdown command transmitting element, for sending the 3rd to described reception equipment, parameter request message is set, described 3rd arranges the territory included in parameter request message for controlling reverse audio transmission, carries the closedown described transmission equipment command information to the monitoring of reverse voice-grade channel port in the described territory for controlling reverse audio transmission;
Shutdown command feedback reception unit, arranges parameter response message for receiving the 3rd of described reception equipment feedback the, and the described 3rd arranges and carry agreement in parameter response message and close the described transmission equipment information to the monitoring of reverse audio transmission channel port.
21. methods as claimed in claim 15, it is characterized in that, described device also includes: control module, for after receiving the voice data that described reception equipment is sent by described reverse voice-grade channel port, the voice data receiving described transmission equipment controls accordingly, wherein, described control module includes:
Control command transmitting element, for sending the 4th to described reception equipment, parameter request message is set, described 4th arranges parameter request message includes the territory for controlling reverse audio transmission, carries the control command information to voice data in the described territory for controlling reverse audio transmission;
Control command feedback reception unit, arranging parameter response message for receiving the 4th of described reception equipment feedback the, the described 4th arranges parameter response message for indicating described reception equipment to realize controlling described voice data accordingly operation according to described control command.
The device of the reverse transfer audio frequency in 22. 1 kinds of wireless same screen systems, is applied to the reception equipment in described wireless same screen system, it is characterised in that described device includes:
Find respond module, for responding the discovery procedure of described transmission equipment, and be connected with the foundation of described transmission equipment;
Consulting respond module, for responding the negotiations process of the reverse audio transmission ability that described transmission equipment is initiated, and after consulting successfully, respond the initiation of described transmission equipment starts the snoop procedure to described reverse voice-grade channel port;
Sending module, for by described reverse voice-grade channel port, sending voice data to described transmission equipment.
23. devices as claimed in claim 22, it is characterised in that described negotiation respond module includes:
First consult request reception unit, receive described transmission equipment send get parms request GET_PARAMETER REQUEST message, described in get parms request message in include the territory for carrying out reverse audio transmission capability negotiation;
First consults request feedback transmitting element, gets parms response GET_PARAMETER RESPONSE message for sending to described transmission equipment, described in get parms response message for indicating whether described reception equipment supports reverse audio transmission ability;
Second consults request reception unit, if getting parms described in for, response message indicates described reception equipment to support reverse audio transmission ability, then receive the transmission of described transmission equipment first arranges parameter request SET_PARAMETER REQUEST message, and described first arranges parameter request message for carrying out the negotiation of audio decoding capabilities with described reception equipment;
Second consults request feedback transmitting element, arranges parameter response message for sending first to described transmission equipment, and described first arranges parameter response message for indicating whether described reception equipment supports the audio decoding capabilities of described transmission equipment.
24. devices as claimed in claim 23, it is characterized in that, when described reception equipment supports reverse audio transmission ability, described in get parms the IP address information carrying described reception equipment in response message and the port number information of passage transmitting reverse voice data.
25. devices as claimed in claim 23, it is characterized in that, described first arranges the territory carried in parameter request message for audio decoding capabilities negotiation, and the described territory consulted for audio decoding capabilities includes: the format information of the audio signal that described transmission equipment is supported, corresponding pattern information and Delay.
26. devices as claimed in claim 22, it is characterised in that described negotiation respond module also includes:
Start order and receive unit, second sent for receiving described transmission equipment arranges parameter request message, described second arranges the territory carried in parameter request message for controlling reverse audio transmission, and the described territory for controlling reverse audio transmission includes the command information starting described transmission equipment to the monitoring of reverse voice-grade channel port;
Starting order feedback transmitting element, arrange parameter response message for sending second to described transmission equipment, described second arranges and carries agreement in parameter response message and open the described transmission equipment information to the monitoring of reverse audio transmission channel port.
27. devices as claimed in claim 22, it is characterised in that described device also includes: close respond module, are used for the closedown responding the initiation of the described transmission equipment monitoring to reverse voice-grade channel port, and wherein, described closedown respond module includes:
Shutdown command receives unit, the 3rd sent for receiving described transmission equipment arranges parameter request message, described 3rd arranges the territory carried in parameter request message for controlling reverse audio transmission, and the described territory for controlling reverse audio transmission includes the command information closing described transmission equipment to the monitoring of reverse voice-grade channel port;
Shutdown command feedback transmitting element, arranges parameter response message for sending the 3rd to described transmission equipment, and the described 3rd arranges and carry agreement in parameter response message and close the described transmission equipment information to the monitoring of reverse audio transmission channel port.
28. devices as claimed in claim 22, it is characterized in that, described device also includes: control respond module, for by described reverse voice-grade channel port, after described transmission equipment sends voice data, the voice data to reverse transfer responding the initiation of described transmission equipment controls accordingly, and wherein, described control respond module includes:
Control command receives unit, the 4th sent for receiving described transmission equipment arranges parameter request message, described 4th arranges parameter request message includes the territory for controlling reverse audio transmission, carries the control command information to voice data in the described territory for controlling reverse audio transmission;
Control command feedback transmitting element, arranging parameter response message for sending the 4th to described transmission equipment, the described 4th arranges parameter response message for indicating described reception equipment to realize controlling described voice data accordingly operation according to described control command.
CN201510043973.8A 2015-01-28 2015-01-28 Wirelessly with the method and device of the reverse transfer audio in screen system Active CN105991516B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201510043973.8A CN105991516B (en) 2015-01-28 2015-01-28 Wirelessly with the method and device of the reverse transfer audio in screen system
PCT/CN2015/099927 WO2016119563A1 (en) 2015-01-28 2015-12-30 Method and device for reverse transmission of audio in wireless same-screen system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510043973.8A CN105991516B (en) 2015-01-28 2015-01-28 Wirelessly with the method and device of the reverse transfer audio in screen system

Publications (2)

Publication Number Publication Date
CN105991516A true CN105991516A (en) 2016-10-05
CN105991516B CN105991516B (en) 2019-06-25

Family

ID=56542366

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510043973.8A Active CN105991516B (en) 2015-01-28 2015-01-28 Wirelessly with the method and device of the reverse transfer audio in screen system

Country Status (2)

Country Link
CN (1) CN105991516B (en)
WO (1) WO2016119563A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115220670A (en) 2021-04-16 2022-10-21 广州视源电子科技股份有限公司 Screen projection control method, storage medium and communication equipment

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103314366A (en) * 2011-01-14 2013-09-18 三星电子株式会社 Method and apparatus for transmitting user input from a sink device to a source device in a Wi-Fi direct communication system
CN103702436A (en) * 2013-12-11 2014-04-02 东软集团股份有限公司 Miracast reverse control method and system
US20140334381A1 (en) * 2013-05-08 2014-11-13 Qualcomm Incorporated Video streaming in a wireless communication system
CN104205889A (en) * 2012-04-13 2014-12-10 索尼公司 Wireless communication device, information processing device, and communication method
CN104202461A (en) * 2014-08-11 2014-12-10 苏州易动智能科技有限公司 Connected smart phone function synchronizing automotive sound system
US20140365611A1 (en) * 2013-06-07 2014-12-11 Qualcomm Incorporated Method and system for using wi-fi display transport mechanisms to accomplish voice and data communications
US20150026357A1 (en) * 2013-07-22 2015-01-22 Abhijeet Kolekar Coordinated content distribution to multiple display receivers

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8116223B2 (en) * 2006-11-09 2012-02-14 Ivt Technology Inc. System and method for supporting automatic establishing and disconnecting several wireless connections
CN103648015A (en) * 2013-11-18 2014-03-19 乐视致新电子科技(天津)有限公司 Data display method and apparatus
CN104219551A (en) * 2014-09-29 2014-12-17 武汉诚迈科技有限公司 Method for screen sharing and remote control of intelligent device

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103314366A (en) * 2011-01-14 2013-09-18 三星电子株式会社 Method and apparatus for transmitting user input from a sink device to a source device in a Wi-Fi direct communication system
CN104205889A (en) * 2012-04-13 2014-12-10 索尼公司 Wireless communication device, information processing device, and communication method
CN104247474A (en) * 2012-04-13 2014-12-24 索尼公司 Wireless communication device, information processing device, and communication method
US20140334381A1 (en) * 2013-05-08 2014-11-13 Qualcomm Incorporated Video streaming in a wireless communication system
US20140365611A1 (en) * 2013-06-07 2014-12-11 Qualcomm Incorporated Method and system for using wi-fi display transport mechanisms to accomplish voice and data communications
US20150026357A1 (en) * 2013-07-22 2015-01-22 Abhijeet Kolekar Coordinated content distribution to multiple display receivers
CN103702436A (en) * 2013-12-11 2014-04-02 东软集团股份有限公司 Miracast reverse control method and system
CN104202461A (en) * 2014-08-11 2014-12-10 苏州易动智能科技有限公司 Connected smart phone function synchronizing automotive sound system

Also Published As

Publication number Publication date
WO2016119563A1 (en) 2016-08-04
CN105991516B (en) 2019-06-25

Similar Documents

Publication Publication Date Title
US20210218785A1 (en) System for audio communication using LTE
CN104126310B (en) Screen mirror image method and its device
US9197680B2 (en) Establishing and controlling audio and voice back channels of a Wi-Fi display connection
EP3130127B1 (en) Streaming control for real-time transport protocol
EP3005755B1 (en) Method and system for using wi-fi display transport mechanisms to accomplish voice and data communications
US10425454B2 (en) Device and method for transferring the rendering of multimedia content
WO2017031864A1 (en) Playing control method and apparatus for multimedia playing device
JP4459253B2 (en) Communication terminal
WO2015062454A1 (en) Audio and video call method, device and system
CN111049709B (en) Bluetooth-based interconnected loudspeaker box control method, equipment and storage medium
CN102231734A (en) Method, device and system for realizing audio transcoding of TTS (Text To Speech)
US11818185B2 (en) Audio streaming from host Bluetooth device to multiple receiving Bluetooth devices
CN115396407B (en) Wireless audio/video device and wireless communication method
CN105991516A (en) Method and device of transmitting audios reversely in wireless same-screen system
JP2015002394A (en) Information processing apparatus and computer program
KR102044523B1 (en) Apparatus and method for providing short-range wireless communication
CA3069023C (en) Gateway function control via telephony/voice service
JP2008283570A (en) Information processor
KR101149642B1 (en) Contents common system and control method thereof
KR20140126955A (en) System and method for handing over multimedia streams among heterogenous devices for n-screen service
KR20190125963A (en) Apparatus and method for providing short-range wireless communication

Legal Events

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