CN109561340A - Multimedia service processing method, equipment, multimedia service group and storage medium - Google Patents

Multimedia service processing method, equipment, multimedia service group and storage medium Download PDF

Info

Publication number
CN109561340A
CN109561340A CN201710872974.2A CN201710872974A CN109561340A CN 109561340 A CN109561340 A CN 109561340A CN 201710872974 A CN201710872974 A CN 201710872974A CN 109561340 A CN109561340 A CN 109561340A
Authority
CN
China
Prior art keywords
multimedia
equipment
multimedia service
multimedia equipment
access point
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
CN201710872974.2A
Other languages
Chinese (zh)
Other versions
CN109561340B (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.)
Bird Innovation Beijing Technology Co ltd
Original Assignee
Beijing Xiaoniao Tingting Technology 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 Beijing Xiaoniao Tingting Technology Co Ltd filed Critical Beijing Xiaoniao Tingting Technology Co Ltd
Priority to CN201710872974.2A priority Critical patent/CN109561340B/en
Publication of CN109561340A publication Critical patent/CN109561340A/en
Application granted granted Critical
Publication of CN109561340B publication Critical patent/CN109561340B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/436Interfacing a local distribution network, e.g. communicating with another STB or one or more peripheral devices inside the home
    • H04N21/4363Adapting the video stream to a specific local network, e.g. a Bluetooth® network
    • H04N21/43637Adapting the video stream to a specific local network, e.g. a Bluetooth® network involving a wireless protocol, e.g. Bluetooth, RF or wireless LAN [IEEE 802.11]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/41Structure of client; Structure of client peripherals
    • H04N21/4104Peripherals receiving signals from specially adapted client devices
    • H04N21/4122Peripherals receiving signals from specially adapted client devices additional display device, e.g. video projector
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/60Network structure or processes for video distribution between server and client or between remote clients; Control signalling between clients, server and network components; Transmission of management data between server and client, e.g. sending from server to client commands for recording incoming content stream; Communication details between server and client 
    • H04N21/63Control signaling related to video distribution between client, server and network components; Network processes for video distribution between server and clients or between remote clients, e.g. transmitting basic layer and enhancement layers over different transmission paths, setting up a peer-to-peer communication via Internet between remote STB's; Communication protocols; Addressing
    • H04N21/64Addressing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/60Network structure or processes for video distribution between server and client or between remote clients; Control signalling between clients, server and network components; Transmission of management data between server and client, e.g. sending from server to client commands for recording incoming content stream; Communication details between server and client 
    • H04N21/63Control signaling related to video distribution between client, server and network components; Network processes for video distribution between server and clients or between remote clients, e.g. transmitting basic layer and enhancement layers over different transmission paths, setting up a peer-to-peer communication via Internet between remote STB's; Communication protocols; Addressing
    • H04N21/64Addressing
    • H04N21/6405Multicasting
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/60Network structure or processes for video distribution between server and client or between remote clients; Control signalling between clients, server and network components; Transmission of management data between server and client, e.g. sending from server to client commands for recording incoming content stream; Communication details between server and client 
    • H04N21/63Control signaling related to video distribution between client, server and network components; Network processes for video distribution between server and clients or between remote clients, e.g. transmitting basic layer and enhancement layers over different transmission paths, setting up a peer-to-peer communication via Internet between remote STB's; Communication protocols; Addressing
    • H04N21/643Communication protocols

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The present invention provides a kind of multimedia service processing method, equipment, multimedia service group and storage mediums;Method includes: to access WLAN by wireless lan interfaces, determines at least one second multimedia equipment;It is connect by wireless access point interface at least one second multimedia equipment, forms multimedia service group;According to the QoS parameter for realizing multimedia service in multimedia service group, the network parameter of multimedia service group is adapted to;The multimedia service for meeting network parameter is realized in multimedia service group.The technical issues of implementation present invention, quality is restricted when being able to solve wireless local network multimedia service.

Description

Multimedia service processing method, equipment, multimedia service group and storage medium
Technical field
The present invention relates to the communication technology more particularly to a kind of multimedia service processing method, equipment, multimedia service groups And storage medium.
Background technique
With the continuous universal and intelligence of multimedia equipment such as sound equipment, TV etc., presently, there are set multiple multimedias The demand of multimedia service is completed in standby collaboration, for example, being played using the sound field that multiple stereo sets form multichannel, multiple TVs Combination forms bigger screen and shows.
In the sample application scene that multimedia equipment collaboration uses, multimedia equipment accesses the nothing of family, company's environment Multimedia is carried out in line local area network, data source can be the terminal device such as smart phone and electricity of access WLAN Depending on being also possible to be deployed in the multimedia database of internet.
The quality of multimedia is limited by WLAN in above-mentioned application scenarios, especially transmits high code rate Audio data/high-resolution video data when, it is unbalanced due to WLAN ability, will inevitably broadcast The case where delay and Caton etc. influence the quality of multimedia service is put, while because of routing during realizing multimedia service The participation of device leads to the larger load of router.
In conclusion being directed to the current unbalanced situation of WLAN ability, the ability of WLAN how is solved There is technical issues that the relevant technologies there is no effective scheme with the quality for realizing multimedia service.
Summary of the invention
The embodiment of the present invention provides a kind of multimedia service processing method, equipment, multimedia service group and storage medium, The technical issues of quality receives limitation when being able to solve wireless local network multimedia service.
The technical solution of the embodiment of the present invention is achieved in that
In a first aspect, the embodiment of the present invention provides a kind of multimedia service processing method, it is applied to the first multimedia equipment; The described method includes:
WLAN is accessed by wireless lan interfaces, determines at least one second multimedia equipment;
It is connect by wireless access point interface at least one described second multimedia equipment, forms multimedia service group Group;
According to the QoS parameter for realizing multimedia service in the multimedia service group, to the multimedia service The network parameter of group is adapted to;
The multimedia service for meeting the network parameter is realized in the multimedia service group.
In above scheme, the ability information that the broadcast that the basis receives carries, at least one described more than second matchmaker Body equipment carries out ability comparison, comprising:
By first multimedia equipment, the energy at least one at least one following dimension of the second multimedia equipment Power carries out priority ranking: computing capability, network communications capability and cruising ability.
In above scheme, further includes:
When first multimedia equipment was in the validity period of master status, and detects no longer to meet and be set as master When standby ability condition, the election operation of main equipment is initiated with the new main equipment of determination and from equipment.
It is described by the wireless access point interface in above scheme, in from described in equipment state at least one Second multimedia equipment provides access, comprising:
The DHCP service provided from the router of the WLAN, with obtaining IP idle in the WLAN Location, and it is allocated to the wireless access point interface;
By the bridge joint between the wireless lan interfaces and the wireless access point interface, to it is described at least one Two multimedia equipments provide the DHCP service of the router, described wireless for the configuration of at least one described second multimedia equipment The free IP addresses of local area network.
In above scheme, the bridge joint by between the wireless lan interfaces and the wireless access point interface, The DHCP service of the router is provided at least one described second multimedia equipment, comprising:
In the DHCP stage of second multimedia equipment,
When receiving the data packet of the second multimedia equipment broadcast by the wireless access point interface, institute is modified The source M AC MAC Address that received data packet carries is the MAC Address of the wireless lan interfaces, and by described Bridge joint is sent to the WLAN;
When receiving the data packet of the wireless local area networks broadcast by the wireless lan interfaces, received number is modified It is the MAC Address of the wireless access point interface according to the source MAC that packet carries, is sent to more than described second by the bridge joint Media device.
In above scheme, the QoS parameter according to realization multimedia service in the multimedia service group, The network parameter of the multimedia service group is adapted to, comprising:
Prolonged according to the minimum transmission rate and/or maximum of realizing multimedia service requirement in the multimedia service group Late, at least one the following network parameter for adjusting the multimedia service group is adapted to:
Multicast rate in the multimedia service group;
Broadcast rate in the multimedia service group;
Transmission bandwidth in the multimedia service group.
In above scheme, the multimedia service for meeting the network parameter, packet are realized in the multimedia service group It includes:
When broadcast source accesses first multimedia equipment by the wireless access point interface,
By the audio data of the broadcast source via the wireless access point interface, it is forwarded to the multimedia service group In, it is handled at least one described second multimedia equipment.
It is described that the multimedia clothes for meeting the network parameter are realized in the multimedia service group in above scheme Business, comprising:
When terminal device accesses the WLAN, pass through the wireless lan interfaces and the wireless access point Bridge joint between interface, Xiang Suoshu terminal device provide the discovery feature of the multimedia service;
When receiving the multimedia service request of the terminal device by the wireless lan interfaces, by described Bridge joint sends the multimedia service request into the multimedia service group, at least one described second multimedia equipment It is handled;
When responding by described access point interface to multimedia service, the multimedia is sent by the bridge joint Terminal device of the service response into the WLAN.
In above scheme, the bridge joint by between the WLAN and the wireless access point interface, to institute It states terminal device and the discovery feature of the multimedia service is provided, comprising:
Multimedia service is found into data packet, broadcast or multicast is carried out by described bridge to the WLAN;
Wherein, multimedia service discovery data packet is with carrying in the multimedia service group IP of multimedia equipment The type of location and provided multimedia service.
It is described that the multimedia service request is sent to the multimedia service group by the bridge joint in above scheme In, comprising:
According to the purpose IP address that the multimedia service request of unicast fashion carries, inquires first multimedia and set Standby Address Resolution Protocol ARP table;
When query result be first multimedia equipment wireless access point interface when, by it is described bridge joint and via The wireless access point interface forwards the multimedia service request to configure the destination IP into the multimedia service group Second multimedia equipment of address.
In above scheme, further includes:
When in ARP request stage of the terminal device for the IP address of second multimedia equipment,
By the ARP data packet between terminal device described in the bridges forward and second multimedia equipment, formed Forwarding-table item in first multimedia equipment;
Wherein, the forwarding-table item includes:
For the ARP forwarding-table item of the IP address of second multimedia equipment, and the IP for the terminal device The ARP forwarding-table item of address.
In above scheme, the ARP by between terminal device described in the bridges forward and the second multimedia equipment Data packet forms the forwarding-table item in first multimedia equipment, comprising:
The terminal device is responded for the ARP request of the IP address of second multimedia equipment, in the multimedia The ARP request is broadcasted in service group;
The source MAC that arp reply carries is replaced with into the MAC Address of first multimedia equipment, and is forwarded to institute Terminal device is stated, the mapping of source MAC and source IP address that the arp reply carries is established, as second multimedia The ARP entry of equipment;
The mapping for establishing source MAC and source IP address that the ARP request carries, as the correspondence terminal device ARP entry.
It is described that the multimedia service request is sent to the multimedia service group by the bridge joint in above scheme In, comprising:
According to the purpose multicast ip address of the multimedia service request of multicast form, multicast mac address, modification are calculated Entrained target MAC (Media Access Control) address is the multicast mac address;
By the wireless access point interface, multimedia service request institute into the multimedia service group is forwarded State the corresponding multimedia equipment of purpose multicast ip address.
Second aspect, the embodiment of the present invention provide a kind of multimedia equipment, as the first multimedia equipment;More than described first Media device includes:
Wireless local area net unit, for by wireless lan interfaces access WLAN, determine at least one second Multimedia equipment;
Multimedia service group of cells, for passing through wireless access point interface and at least one described second multimedia equipment Connection forms multimedia service group;
Adaptation unit, it is right for the QoS parameter according to realization multimedia service in the multimedia service group The network parameter of the multimedia service group is adapted to;
Multimedia Serving Element, for realizing the multimedia for meeting the network parameter in the multimedia service group Service.
In above scheme, the wireless local area net unit, specifically for what is provided from the router of the WLAN Dynamic host configuration protocol DHCP service obtains Internet protocol IP address idle in the WLAN, and is allocated to institute State wireless lan interfaces.
In above scheme, the wireless local area net unit, specifically for being received according to by the wireless lan interfaces Broadcast carry identity information and connected state, identify at least one described more than second matchmaker for accessing the WLAN Body equipment;
According to the identity information and connected state carried by the received broadcast of the wireless access point interface, identifies and connect Enter at least one described second multimedia equipment of the wireless access point interface.
In above scheme, the multimedia service group of cells operates true specifically for the election by initiating main equipment Fixed first multimedia equipment is main equipment, at least one described second multimedia equipment is from equipment;
By the wireless access point interface, mentioned to being in from least one second multimedia equipment described in equipment state For access.
In above scheme, the multimedia service group of cells is specifically used for:
When the connected state of second multimedia equipment is access WLAN, triggers second multimedia and set The connection of standby release and the wireless lan interfaces, and access the wireless access point interface;
When the connected state of second multimedia equipment is to access the wireless access point interface, triggering keeps access The wireless access point interface.
In above scheme, the multimedia service group of cells, specifically for the ability carried according to the broadcast received Information, compared at least one described second multimedia equipment carries out ability;
First multimedia equipment that the ability of determination meets condition is main equipment, at least one described second multimedia is set It is standby for from equipment when, it is master status that first multimedia equipment, which is arranged,;
It broadcasts first multimedia equipment and is in master status, be arranged at least one described second multimedia equipment For from equipment state.
In above scheme, the multimedia service group of cells, be specifically used for by first multimedia equipment, with it is described The ability of at least one at least one following dimension of the second multimedia equipment carries out priority ranking: computing capability, network communication Ability and cruising ability.
In above scheme, the multimedia service group of cells is specifically used for being in master when first multimedia equipment In the validity period of equipment state, and detect that the election for initiating main equipment is grasped when no longer meeting the ability condition as main equipment Make with the new main equipment of determination and from equipment.
In above scheme, the multimedia service group of cells, specifically for being mentioned from the router of the WLAN The DHCP service of confession obtains IP address idle in the WLAN, and is allocated to the wireless access point interface;
Pass through the bridge joint between the wireless lan interfaces and the wireless access point interface, the second multimedia of Xiang Suoshu Equipment provides the DHCP service of the router, with configuring the idle IP of the WLAN for second multimedia equipment Location.
In above scheme, the multimedia service group of cells, specifically for the DHCP in second multimedia equipment Stage,
When receiving the data packet of the second multimedia equipment broadcast by the wireless access point interface, institute is modified The source M AC MAC Address that received data packet carries is the MAC Address of the wireless lan interfaces, and by described Bridge joint is sent to the WLAN;
When receiving the data packet of the wireless local area networks broadcast by the wireless lan interfaces, received number is modified It is the MAC Address of the wireless access point interface according to the source MAC that packet carries, is sent to more than described second by the bridge joint Media device.
In above scheme, the adaptation unit is specifically used for according to realization multimedia clothes in the multimedia service group Be engaged in desired minimum transmission rate and/or maximum delay, adjust the following network parameter of the multimedia service group at least it One is adapted to:
Multicast rate in the multimedia service group;
Broadcast rate in the multimedia service group;
Transmission bandwidth in the multimedia service group.
In above scheme, the Multimedia Serving Element is specifically used for passing through the wireless access point interface when broadcast source When accessing first multimedia equipment, by the audio data of the broadcast source via the wireless access point interface, it is forwarded to In the multimedia service group, handled at least one described second multimedia equipment.
In above scheme, the Multimedia Serving Element is specifically used for when terminal device accesses the WLAN, By the bridge joint between the wireless lan interfaces and the wireless access point interface, Xiang Suoshu terminal device provides described more The discovery feature of media services;
When receiving the multimedia service request of the terminal device by the wireless lan interfaces, by described Bridge joint, forwards the multimedia service request into the multimedia service group, sets at least one described second multimedia It is standby to be handled;
When responding by described access point interface to multimedia service, the multimedia is sent by the bridge joint Terminal device of the service response into the WLAN.
In above scheme, the Multimedia Serving Element, specifically for multimedia service is found data packet, by described It bridges to the WLAN and carries out broadcast or multicast;
Wherein, multimedia service discovery data packet is with carrying in the multimedia service group IP of multimedia equipment The type of location and provided multimedia service.
In above scheme, the Multimedia Serving Element, specifically for being asked according to the multimedia service of unicast fashion The purpose IP address of carrying is sought, the Address Resolution Protocol ARP table of first multimedia equipment is inquired;
When query result is the wireless access point interface of first multimedia equipment, connect by the wireless access point Mouthful, forward the second multimedia of purpose IP address described in the multimedia service request to the multimedia service group to set It is standby.
In above scheme, the Multimedia Serving Element is also used to work as in the terminal device for more than described second When the ARP request stage of the IP address of media device, pass through terminal device described in the bridges forward and second multimedia ARP data packet between equipment forms the forwarding-table item in first multimedia equipment;
Wherein, the forwarding-table item includes: the ARP forwarding-table item for the IP address of second multimedia equipment, with And the ARP forwarding-table item of the IP address for the terminal device.
In above scheme, the Multimedia Serving Element is also used to respond the terminal device for more than second matchmaker The ARP request of the IP address of body equipment broadcasts the ARP request in the multimedia service group;
The source MAC that arp reply carries is replaced with into the MAC Address of first multimedia equipment, and is forwarded to institute Terminal device is stated, the mapping of source MAC and source IP address that the arp reply carries is established, as second multimedia The ARP entry of equipment;
The mapping for establishing source MAC and source IP address that the ARP request carries, as the correspondence terminal device ARP entry.
In above scheme, the Multimedia Serving Element, specifically for being asked according to the multimedia service of multicast form The purpose multicast ip address asked calculates multicast mac address, and modifying entrained target MAC (Media Access Control) address is the multicast mac address;
By the wireless access point interface, multimedia service request institute into the multimedia service group is forwarded State the corresponding multimedia equipment of purpose multicast ip address.
The third aspect, the embodiment of the present invention provide a kind of multimedia equipment, as the first multimedia equipment, comprising:
Memory, for storing executable program;
Processor realizes that the embodiment of the present invention provides when for executing the executable program of the memory storage Multimedia service processing method.
Fourth aspect, the embodiment of the present invention provide a kind of multimedia service group, comprising: provided in an embodiment of the present invention One multimedia equipment and at least one second multimedia equipment.
5th aspect, the embodiment of the present invention provides a kind of storage medium, is stored with executable program, when being executed by processor Realize multimedia service processing method provided in an embodiment of the present invention.
The embodiment of the present invention has the advantages that
1) wireless communication ability for utilizing the first multimedia equipment is based on wireless access point interface by the first multimedia equipment Access is provided to the second multimedia equipment, is different from and is directly accessed wirelessly using the wireless communication ability of Wireless LAN router The scheme of local area network realizes the technical effect of the communication decoupling between multimedia service group and Wireless LAN router;
2) it based on the decoupling communicated between multimedia service group and the router of WLAN, can be taken in multimedia It is engaged in configuring the network parameter independently of WLAN in group, so that the network parameter of multimedia service group being capable of root It is adapted to according to the mass parameter of the multimedia service to be realized, realizes the adaptive different quality requirement of multimedia service group Application scenarios technical effect, overcome multimedia equipment and realize the quality of multimedia service by nothing in a wireless local area network The problem of line LAN router restricts;
3) the first multimedia equipment utilizes the double nip scheme of radio access node and wireless lan interfaces, on the one hand logical Crossing wireless lan interfaces ensure that the first multimedia equipment can be communicated with access WLAN, on the other hand will be real The relevant treatment of existing multimedia service is realized under wireless access point interface, that is, utilizes the channel radio of the first multimedia equipment itself Letter ability is realized, the dependence to Wireless LAN router is reduced, and reduces the resource occupation to the router of WLAN.
Detailed description of the invention
Fig. 1 is an optional hardware structural diagram of multimedia equipment provided in an embodiment of the present invention;
Fig. 2 is an optional flow diagram of multimedia service processing method provided in an embodiment of the present invention
Fig. 3 is an optional structural schematic diagram of multimedia service group 200 provided in an embodiment of the present invention;
Fig. 4-1 is an optional flow diagram of multimedia service processing method provided in an embodiment of the present invention;
Fig. 4-2 is an optional flow diagram of multimedia service processing method provided in an embodiment of the present invention;
Fig. 4-3 is the first multimedia equipment provided in an embodiment of the present invention by the function of bridge joint to the second multimedia equipment One optional flow diagram of DHCP service is provided;
Fig. 4-4 is an optional flow diagram of multimedia service processing method provided in an embodiment of the present invention;
Fig. 5 is an optional illustrative view of functional configuration of multimedia equipment provided in an embodiment of the present invention;
Fig. 6 is an optional configuration diagram of multi-track radio sound system provided in an embodiment of the present invention;
Fig. 7 is an optional configuration diagram of multi-track radio sound system provided in an embodiment of the present invention;
Fig. 8 is another optional configuration diagram of multi-track radio sound system provided in an embodiment of the present invention;
Fig. 9 is the package structure diagram of DHCP Discover data packet provided in an embodiment of the present invention.
Specific embodiment
The present invention is further described in detail below with reference to the accompanying drawings and embodiments.It should be appreciated that described herein Specific embodiment is only used to explain the present invention, is not intended to limit the present invention.
Before the present invention will be described in further detail, noun involved in the embodiment of the present invention and term are said Bright, noun involved in the embodiment of the present invention and term are suitable for following explanation.
1) multimedia service group herein refers to the combination of at least two multimedia equipments, can be based on subnet or void The independent broadcast field techniques such as quasi- subnet are realized, for collaboration or separate responses multimedia service request, such as each multimedia The multimedia service of differentiation may be implemented in equipment, such as plays video data/audio data all the way, to realize multichannel/more pictures The result of broadcast in face.
2) multimedia service request is used to indicate the required information for realizing multimedia service, can use multimedia Data form, including audio data or video data can also use uniform resource locator (URL, Uniform Resource Locator) form, played out for multimedia equipment according to the corresponding multi-medium data of URL request.
3) multimedia service, multimedia equipment is according to itself functional response multimedia service request, the multimedia of realization It plays, the relevant function such as inquiry/feedback of broadcast state.
4) multimedia equipment herein refers to the equipment that intelligent sound, smart television etc. have ability to play multi-media, tool There is the communication capacity of WLAN, distinguished from the functional localization realized, may include main equipment below and from equipment two Seed type, multimedia equipment (can be pre-configured with multimedia equipment according to pre-configuration during carrying out equipment discovery Master status and from equipment state) determine main equipment and from equipment;Alternatively, (such as while accessing wireless office by being in communication with each other The router of domain net) and realize and communicate with one another, alternatively, providing wireless access point interface by a multimedia equipment supplies other more matchmakers The access of body equipment and realize and communicate with one another, will be illustrated respectively to main equipment and from equipment.
4.1) main equipment safeguards the operation of multimedia service group entirety, and the function including running wireless access point passes through Corresponding wireless access point interface supply from equipment access so that access wireless access point interface equipment (such as multimedia equipment, when So, it can also include as broadcast source equipment);The function of the bridge joint of wireless access point interface and wireless lan interfaces is provided Can, to support to establish from equipment to the link the router of WLAN, forward the multimedia service of WLAN It requests to be handled from equipment;Certainly, according to demand, main equipment itself can also respond multimedia service request.
4.2) from equipment, for being set by the terminal of the link between WLAN, response access WLAN Standby multimedia service request, by being distinguished in multimedia service group independently of the network parameter of WLAN setting In the transmission performance of access WLAN, the related data for realizing multimedia service is transmitted between main equipment.
5) service discovery, the multimedia equipment in multimedia service group find each other other side Internet protocol (IP, Internet Protocol) address and provided multimedia service type.
As the example of multimedia service type, the role that has in the multimedia service realized including multimedia equipment or Function, such as audio broadcasting-L channel, audio broadcasting-right channel, video playing-distant view, video playing-wide-angle etc..
6) QoS parameter indicates the service quality (QoS, Quality of Service) of multimedia service in difference Dimension various forms of demands as possessed by bandwidth, transmission rate, including Minimum requirements, such as minimum bandwidth, minimum transfer speed Rate etc. also may indicate that value of the service quality in different dimensions satisfaction as required for bandwidth, transmission rate of multimedia service Space;The corresponding QoS parameter of the QoS of different stage can be with different from.
7) network parameter indicates the performance-relevant parameter with wireless transmission that the router of WLAN is realized, such as Bandwidth, delay, communications band and transmission rate etc..
8) router is herein referred to for various equipment to be accessed WLAN (WLAN, Local Area Network it) realizes the equipment communicated in WLAN, uses operation state host configuration (DHCP, Dynamic Host Configuration Protocol) server-side mode, be that the equipment of access to LAN distributes Internet protocol (IP) Location.
As optional function, router can also run certification/authentication protocol such as (RADIUS, Remote Authentication Dial In User Service) client, to access WLAN terminal device provide to because The access authentication of spy's net, will realize the Internet traffic of terminal device after the authentication is passed in the server-side of internet.
9) WLAN (WLAN, Local Area Network) refers to and is led in a certain region by multiple middle equipment Cross shared radio frequency transmission medium interconnect composed by close network, can be and be made of the terminal device of several households Network is also possible to the enterprise network that hundreds of computer and server are constituted.
10) subnet herein refers to that the network that the access device of WLAN is formed to a more small range will be accessed, As independent broadcast domain, local area network can divide to form one or more subnets, and certainly, local area network can also include not drawing Assign to the equipment in any subnet.Unless otherwise instructed, the documented equipment (access device including WLAN herein And multimedia equipment) it is in the same subnet of WLAN, subnet herein also could alternatively be virtual subnet.
11) wireless lan interfaces, multimedia equipment access network interface used in WLAN, pass through hardware layer Wireless network card cooperation driver and wireless lan client realize.
12) wireless access point interface, the wireless network card based on multimedia equipment use the virtual wireless access of software technology Interface provided by point (AP, Access Point), is also possible to realize using double netcard technology, i.e., wireless lan interfaces and Wireless access.
The embodiment of the present invention provide multimedia service processing method, implement multi-media processing method multimedia equipment, with And storage medium for executing multimedia service processing method is stored, it will be illustrated respectively.
Illustrate the multimedia equipment for realizing the embodiment of the present invention first, is provided in an embodiment of the present invention referring to Fig. 1, Fig. 1 One optional hardware structural diagram of multimedia equipment, multimedia equipment 100 shown in FIG. 1 include: at least one processing Device 101, memory 102, at least one wireless network card 104 and user interface 103.Various components in multimedia equipment 100 are logical Bus system 105 is crossed to be coupled.It is understood that bus system 105 is for realizing the connection communication between these components.Bus System 105 further includes power bus, control bus and status signal bus in addition in addition to including data/address bus.But in order to clear For the sake of explanation, various buses are all designated as bus system 105 in Fig. 1.
Wherein, user interface 103 may include key, button, touch-sensitive plate and touch screen etc..
It is appreciated that memory 102 can be volatile memory or non-volatile memory, volatibility may also comprise Both with nonvolatile memory.Wherein, nonvolatile memory can be read-only memory (ROM, Read Only Memory), programmable read only memory (PROM, Programmable Read-Only Memory).Volatile memory can be with It is random access memory (RAM, Random Access Memory), is used as External Cache.By exemplary but not It is restricted explanation, the RAM of many forms is available.The memory 102 of description of the embodiment of the present invention is intended to include but is not limited to this A little and any other suitable type memory.
Wireless network card 104, including module is (also referred to as embedded radio Fidelity (WiFi, Wireless Fidelity) For wireless network card) and dual-mode antenna for the communication of wireless mode between multimedia equipment 100 and other equipment make multimedia Equipment 100 can access the WLAN based on communication standard, such as WiFi network, be worked according to demand in 2.4GHz or 5GHz Frequency range.
Memory 102 is for storing various types of data to support the operation of multimedia equipment 100.These data are shown Example includes: any computer program for operating on multimedia equipment 100, such as operating system 1021 and application program 1022;Audio;Video etc..Wherein, operating system 1021 includes various system programs, such as ccf layer, core library layer and driving Layer etc., for realizing various basic businesses and the hardware based task of processing.Application program 1022 may include various applications Program, such as media player etc., for realizing various applied business.Realize multimedia service of embodiment of the present invention processing method Program may be embodied in application program 1022.
The multimedia service processing method that the embodiments of the present invention provide can be applied in processor 101, Huo Zheyou Processor 101 is realized.Processor 101 may be a kind of IC chip, the processing capacity with signal.In the process of realization In, each step of the above method can pass through the integrated logic circuit of the hardware in processor 101 or the instruction of software form It completes.Above-mentioned processor 101 can be general processor, digital signal processor (DSP, Digital Signal Processor) either other programmable logic device, discrete gate or transistor logic, discrete hardware components etc..Place Reason device 101 may be implemented or execute each method, step and the logic diagram of the offer in the embodiment of the present invention.General processor It can be microprocessor or any conventional processor etc..It, can be in conjunction with provided by the embodiment of the present invention the step of method Be embodied directly in hardware decoding processor and execute completion, or in decoding processor hardware and software module combination executed At.Software module can be located in storage medium, which is located at memory 102, and processor 101 reads memory 102 In information, in conjunction with its hardware complete preceding method the step of.
In the exemplary embodiment, multimedia equipment 100 can by one or more application specific integrated circuit (ASIC, Application Specific Integrated Circuit), DSP, programmable logic device (PLD, Programmable Logic Device), Complex Programmable Logic Devices (CPLD, Complex Programmable Logic Device), scene Programmable gate array (FPGA, Field-Programmable Gate Array), general processor, controller, microcontroller (MCU, Micro Controller Unit), microprocessor (Microprocessor) or other electronic components are realized, are used for Execute multimedia service processing method provided in an embodiment of the present invention.
In the following, by by taking the first multimedia equipment implements hardware configuration according to multimedia equipment shown in fig. 1 as an example, explanation First multimedia equipment implements multimedia service processing method provided in an embodiment of the present invention, for the ease of distinguishing, hereinafter will It is known as the second multimedia equipment with the multimedia equipment of the first multimedia equipment composition multimedia service group, it will be understood that the Two multimedia equipments can be a multimedia equipment in addition to the first multimedia equipment, can also be except the first multimedia equipment Except multiple multimedia equipments.
In addition, it is necessary to point out, " second " of the second multimedia equipment is only used for distinguishing with the first multimedia equipment, no (stereo set in this way is still electric there are difference for the limitation (such as can be one or more) for representing quantity and the type of equipment Depending on), such as the first multimedia equipment and the second multimedia equipment can be the equipment such as multimedia loudspeaker box of same type, can also be with It is different types of equipment, such as the first multimedia equipment is supper bass stereo set, and the second multimedia equipment is that high pitch sound equipment is set It is standby.
In addition, for the hardware configuration (reflecting its ability) of the first multimedia equipment and the second multimedia equipment, this hair It is identical or the case where have differences that bright embodiment is not excluded for hardware configuration.
Referring to fig. 2, Fig. 2 is an optional process signal of multimedia service processing method provided in an embodiment of the present invention Figure, comprising the following steps:
Step 101, WLAN is accessed by wireless lan interfaces, determines at least one second multimedia equipment;
Step 102, it is connect by wireless access point interface at least one second multimedia equipment, forms multimedia service Group;
Step 103, according to the QoS parameter for realizing multimedia service in multimedia service group, to multimedia service The network parameter of group is adapted to;
Step 104, the multimedia service for meeting the network parameter is realized in multimedia service group.
The wireless communication ability for utilizing the first multimedia equipment is provided in alternative embodiment of the present invention, is set with the second multimedia It is standby to establish multimedia service group, realize the decoupling with the communication of WLAN;According to the matter of the multimedia service to be realized Amount, provides the network parameter of multimedia service group adaptive scheme.
It is carried out continuing with Fig. 3 structure for implementing the multimedia service group of multimedia service processing method shown in Fig. 2 Illustrate, Fig. 3 is an optional structural schematic diagram of multimedia service group 200 provided in an embodiment of the present invention, including first Multimedia equipment 300 and the second multimedia equipment 400;It is below main equipment with the first multimedia equipment 300, the second multimedia is set Standby 400 be to be illustrated from equipment to the process for realizing multimedia service.
First multimedia equipment 300 determines for accessing WLAN by wireless lan interfaces and accesses the nothing At least one second multimedia equipment of line local area network;Pass through wireless access point interface and at least one second multimedia equipment 400 connections, form multimedia service group 200;According to the service quality ginseng for realizing multimedia service in multimedia service group Number, is adapted to the network parameter of multimedia service group;It is realized in multimedia service group and meets the more of network parameter Media services.
Second multimedia equipment 400, for passing through the wireless access point interface of the first multimedia equipment 300 and more than first matchmaker The connection of body equipment 300 forms multimedia service group, and the multimedia clothes for meeting network parameter are realized in multimedia service group Business.
In alternative embodiment of the present invention, the first multimedia equipment 300 is specifically used for mentioning from the router of WLAN The DHCP service of confession obtains IP address idle in WLAN, and is allocated to wireless lan interfaces.
In alternative embodiment of the present invention, the first multimedia equipment 300 is specifically used for basis and passes through wireless lan interfaces The identity information and connected state that received broadcast carries identify that at least one second multimedia of access WLAN is set Standby 400;According to the identity information and connected state carried by the received broadcast of wireless access point interface, identify that access is wireless Access at least one second multimedia equipment 400 of point interface.
In alternative embodiment of the present invention, the first multimedia equipment 300 is specifically used for the election behaviour by initiating main equipment Make to determine that the first multimedia equipment is main equipment, at least one second multimedia equipment 400 is from equipment;Pass through wireless access point Interface provides access to being in from least one second multimedia equipment 400 of equipment state.
In alternative embodiment of the present invention, the first multimedia equipment 300 is specifically used for:
When the connected state of the second multimedia equipment 400 is access WLAN, the second multimedia equipment 400 is triggered The connection of release and WLAN, and access the wireless access point interface of the first multimedia equipment 300;When the second multimedia is set When standby 400 connected state is access wireless access point interface, triggering keeps the wireless access of the first multimedia equipment 300 of access Point interface.
In alternative embodiment of the present invention, the first multimedia equipment 300 is specifically used for according to the broadcast carrying received Ability information, compared at least one second multimedia equipment 400 carries out ability;The ability of determination meets the first multimedia of condition Equipment is main equipment, and when at least one second multimedia equipment 400 is from equipment, the first multimedia equipment of setting is main equipment shape State;It broadcasts the first multimedia equipment and is in master status, be set as at least one second multimedia equipment 400 from equipment shape State.
In alternative embodiment of the present invention, the first multimedia equipment 300 is specifically for by the first multimedia equipment and at least The ability of at least one one 400 or less dimension of the second multimedia equipment carries out priority ranking: computing capability, network communication energy Power and cruising ability.
In alternative embodiment of the present invention, the first multimedia equipment 300 is specifically used for being in when the first multimedia equipment 300 In the validity period of master status, and detect that main equipment is initiated in triggering when no longer meeting the ability condition as main equipment Election operation is with the new main equipment of determination and from equipment.
In alternative embodiment of the present invention, the first multimedia equipment 300 is specifically used for mentioning from the router of WLAN The DHCP service of confession obtains IP address idle in WLAN, and is allocated to wireless access point interface;Pass through wireless local area Bridge joint between network interface and wireless access point interface provides the DHCP service of router to the second multimedia equipment 400, is supplied to The free IP addresses of few second multimedia equipment 400 configuration WLAN.
In alternative embodiment of the present invention, the first multimedia equipment 300 is specifically used for:
In the DHCP stage of the second multimedia equipment 400,
When receiving the data packet of the second multimedia equipment 400 broadcast by wireless access point interface, modification is received The source MAC that data packet carries is the MAC Address of wireless lan interfaces, and is sent to WLAN by bridge joint;
When receiving the data packet of wireless local area networks broadcast by wireless lan interfaces, modification received data packet is carried Source MAC be wireless access point interface MAC Address, by bridge joint be sent to the second multimedia equipment 400.
In alternative embodiment of the present invention, the first multimedia equipment 300 is specifically used for according to real in multimedia service group The minimum transmission rate and/or maximum delay that existing multimedia service requires, adjust the following network parameter of multimedia service group At least one be adapted to: the multicast rate in multimedia service group;Broadcast rate in multimedia service group;Multimedia Service the transmission bandwidth in group.
In alternative embodiment of the present invention, the first multimedia equipment 300 is specifically used for passing through wireless access point when broadcast source When interface accesses the first multimedia equipment, by the audio data of broadcast source via wireless access point interface, it is forwarded to multimedia clothes It is engaged in group, is handled at least one second multimedia equipment 400.
In alternative embodiment of the present invention, the first multimedia equipment 300 is specifically used for accessing wireless local area when terminal device When net, by the bridge joint between wireless lan interfaces and wireless access point interface, multimedia service is provided to terminal device Discovery feature;When receiving the multimedia service request of terminal device by wireless lan interfaces, by bridge joint, forward more Media service request is handled into multimedia service group at least one second multimedia equipment 400;It is accessed when passing through When point interface receives multimedia service response, the terminal into WLAN is responded by bridge joint transmission multimedia service and is set It is standby.
In alternative embodiment of the present invention, the first multimedia equipment 300 is specifically used for multimedia service finding data packet, Broadcast or multicast is carried out to WLAN by bridge joint;Wherein, multimedia service discovery data packet carries multimedia service group The IP address of multimedia equipment and the type of provided multimedia service in group.
In alternative embodiment of the present invention, the first multimedia equipment 300 is specifically used for being taken according to the multimedia of unicast fashion The purpose IP address that business request carries, inquires the ARP table of the first multimedia equipment;When query result is the first multimedia equipment When wireless access point interface, pass through wireless access point interface, repeating multimedia service request purpose into multimedia service group Second multimedia equipment 400 of IP address.
In alternative embodiment of the present invention, the first multimedia equipment 300 is also used to work as in terminal device for more than second When the ARP request stage of the IP address of media device 400, by bridges forward terminal device and the second multimedia equipment 400 it Between ARP data packet, formed the first multimedia equipment in forwarding-table item;Wherein, forwarding-table item includes: for the second multimedia The ARP forwarding-table item of the IP address of equipment 400, for the ARP forwarding-table item of the IP address of terminal device.
In alternative embodiment of the present invention, the first multimedia equipment 300 is also used to respond terminal device for more than second matchmaker The ARP request of the IP address of body equipment 400, the broadcast ARP request in multimedia service group;The source MAC that arp reply is carried Address replaces with the MAC Address of the first multimedia equipment, and is forwarded to terminal device, establishes the source MAC of arp reply carrying With the mapping of source IP address, ARP entry as the second multimedia equipment 400;Establish ARP request carrying source MAC with The mapping of source IP address, the ARP entry as counterpart terminal equipment.
In alternative embodiment of the present invention, the first multimedia equipment 300 is specifically used for being taken according to the multimedia of multicast form The purpose multicast ip address of business request, calculates multicast mac address, and modifying entrained target MAC (Media Access Control) address is multicast mac address; By wireless access point interface, repeating multimedia service request purpose multicast ip address into multimedia service group is corresponding more Media device.
To be further illustrated in conjunction with Fig. 4-1 and Fig. 4-2, referring to fig. 4-1 and Fig. 4-2, Fig. 4-1 and Fig. 4-2 be of the invention real The optional flow diagram for applying the multimedia service processing method of example offer, will be according to Fig. 4-1 for the first multimedia equipment Multimedia service group is formed at least one second multimedia equipment and realizes that the process of multimedia service is illustrated.
Multimedia service group provided in an embodiment of the present invention includes main equipment and from equipment, is realizing multimedia service In the process, establishing in main equipment has wireless access point interface, accesses wireless access point interface from equipment and is formed with main equipment more Media services group.
In alternative embodiment of the present invention, the side of the first multimedia equipment and the second multimedia equipment access WLAN Formula is communicated, and the election process of main equipment is completed, and later, the access of Wireless LAN router can be discharged into from equipment, And access the wireless access point interface of main equipment and form multimedia service group, realize the communication capacity for utilizing WLAN The technical effect for quickly completing main equipment election, in conjunction with step 201a to step 205a to the election process explanation of main equipment.
Step 201a, the first multimedia equipment and the second multimedia equipment access nothing by respective wireless lan interfaces The router of line local area network.
By taking the first multimedia equipment accesses WLAN as an example, the second multimedia equipment accesses the mode of WLAN Similar, the first multimedia equipment runs the client of DHCP, and the server-side of the router operation DHCP service of WLAN is led to DHCP discovery, dhcp response, DHCP request and DHCP confirmation four-stage, the first multimedia equipment is crossed to obtain in WLAN Idle IP address, and it is allocated to wireless lan interfaces.
It in alternative embodiment of the present invention, provides and initiates to elect by multimedia equipment, and by comparing multimedia equipment Ability automatically determines main equipment and the scheme from equipment, will be illustrated according to step 202 and step 203.
Step 202a, the first multimedia equipment and the second multimedia equipment initiate main equipment election, determine main equipment and from Equipment.
In alternative embodiment of the present invention, access WLAN multimedia equipment (including the first multimedia equipment and At least one second multimedia equipment), broadcast following information: 1) connected state of multimedia equipment is used to indicate multimedia and sets The router of standby access WLAN, or the wireless access point interface of access main equipment;2) the identity letter of multimedia equipment Breath, for being identified as same category of device for other multimedia equipments, can be the word with type identification effect made an appointment Symbol.The broadcast of first multimedia equipment monitoring wireless lan interfaces, can identify can form with the first multimedia equipment Second multimedia equipment of multimedia service group, and initiate main equipment election.
In alternative embodiment of the present invention, is provided during the selection of main equipment and determine that master sets by comparing ability information Standby scheme, the first multimedia equipment and the second multimedia equipment, which listen to after other side broadcasts itself ability information, to be compared The first multimedia equipment for meeting condition compared with, the ability of determination is main equipment, and the second multimedia equipment for not meeting condition is from setting It is standby.
For example, main equipment and the election process from equipment this can be implemented so that the first multimedia equipment and more than second matchmaker Body equipment carries out priority ranking in different dimensions, and the selection highest multimedia equipment of priority ranking is main equipment.
For example with regard to dimension, it may include: 1) computing capability, such as the core amounts and dominant frequency of processor;2) network is logical Letter ability, the maximum uplink/downlink transmission rate such as supported, the WiFi communication frequency range of support;3) cruising ability, power line supply Electricity, battery power (maximum electricity or remaining capacity).
As soon as priority ranking can be by the way of any of the above dimension or the combination of multiple dimensions, multiple dimension combinations It carries out for priority ranking, can be arranged accordingly in each dimension according to different situations according to the ability of multimedia equipment Score is ranked up using the weighting of the score of different dimensions as priority ranking.
As combining the score weighting of multiple dimensions to carry out the example of priority ranking, in conjunction with computing capability and cruising ability Priority ranking is carried out, can guarantee that the main equipment chosen completes the timely processing of multimedia service request, and will not be because of Cruise duration is short and leads to the interruption of multimedia service, guarantees the stability of multimedia service.
As the example for using a dimension to carry out priority ranking, priority ranking is carried out using network communications capability, It chooses and supports that the multimedia equipment of WiFi double frequency is main equipment, in this way, the wireless lan interfaces of main equipment are communicated and wirelessly connect The case where different frequency ranges can be used in access point interface communication, effectively avoids co-channel interference.
It is carried out for priority ranking in addition, being combined with regard to multiple dimensions, specific time according to multiple dimensions can also be taken Sequence sequentially chooses the scheme that a dimension carries out priority ranking from certain order;If according to the ability of the dimension of selection It can be realized the priority ranking of multimedia equipment differentiation, then do not continue to read next dimension from certain order, due to The ability for not needing the whole dimensions of comparison can determine main equipment, therefore can be obviously improved the efficiency of main equipment election.
Wherein, certain order can according in practical application realize multimedia service in different dimensions ability it is important Degree is correspondingly arranged, such as the significance level of computing capability is higher than the significance level of cruising ability when realizing multimedia service When, then certain order can be denoted as: computing capability -> cruising ability, wherein " -> " indicates the descending of ability, that is, computing capability position Before cruising ability.
For example with the above-mentioned certain order provided, compare the first multimedia equipment and the second multimedia equipment first Whether computing capability, the score of the computing capability of quantization exceed minimum score required for realizing media services, what score exceeded For main equipment, without departing from being from equipment;If can not determine master/slave arrangement according to computing capability, continue comparing cell communication Ability supports that the multimedia equipment of dual band communication (2.4Ghz frequency range and 5GHz frequency range) is main equipment, does not support to be from equipment; If can not determine master/slave arrangement according to network communications capability, continue to compare cruising ability, the media of preferred power line power supply are set Standby is main equipment, if being power line power supply, it is determined that the most media device of remaining capacity is main equipment.
Certainly, the dimension of priority ranking is not limited to this, can also be according to the difference of multimedia equipment in practical application Change factor chooses sequence dimension.
Hereinafter, using determine the first multimedia equipment as main equipment, the second multimedia equipment be continue for equipment into Row explanation, it will be understood that the first multimedia equipment and the second multimedia equipment are opposite concept, based on the second multimedia equipment When equipment realize multimedia service processing, can according to the first multimedia equipment hereafter recorded be main equipment the case where and reality It applies.
In alternative embodiment of the present invention, determining main equipment is chosen every time and can also be had from equipment specific effective Phase, for example, main equipment and/or initiating election from device periodically and redefining main equipment and from equipment, it is ensured that the energy of main equipment Power is enough to maintain the timeliness of multimedia service.
In addition, the main equipment determined in each election can also broadcast the master of oneself by taking the first multimedia equipment as an example Equipment state and validity period, the second multimedia equipment can be set to after the broadcast for receiving the first multimedia equipment from equipment State will not initiate the election process of main equipment again before validity period reaches, and the election for frequently initiating main equipment is avoided to lead Cause the unnecessary consumption of the communication resource.
In alternative embodiment of the present invention, the first multimedia equipment, can also timing inspection within the validity period as main equipment The basic ability condition for whether meeting main equipment is surveyed, including, less than distance threshold, powering using battery at a distance from equipment When remaining capacity beyond predetermined power threshold/proportion threshold value etc.;The election operation that main equipment is re-initiated when no longer meeting, is protected Demonstrate,prove the normal operation of multimedia service, the case where avoiding accidental interruption.
Step 203a, the first multimedia equipment are set as master status, and according to the networking shape of the second multimedia equipment Using corresponding interface, (for example, in Fig. 4-1, the second multimedia equipment accesses Wireless LAN router to state, then more than first matchmaker Body equipment passes through wireless lan interfaces) broadcast the first multimedia equipment be in master status, at least one more than second matchmaker Body equipment is set as from equipment state.
In alternative embodiment of the present invention, the second multimedia equipment re-initiates main equipment also according to the triggering of specific event Election, to ensure the normal operation of multimedia service.
For example, when the remaining capacity of main equipment can not safeguard the normal operation of multimedia service lower than predetermined threshold, touching Hair main equipment re-elects process;The heartbeat message of main equipment, explanation are not received by from equipment when time-out time is reached Main equipment may occur mobile or other unexpected states and be in the state that can not be communicated.
In alternative embodiment of the present invention, in addition to the handling capacity that above-mentioned steps provide relatively determines main equipment and from equipment Scheme can be according to the preconfigured main equipment of multimedia equipment as determining main equipment and from the alternative of equipment With from equipment state, determine main equipment/from equipment;That is, according to the first multimedia equipment, at least one the second multimedia equipment About main equipment/from the configuration of equipment (such as human configuration in initialization or use process), for example, determining the first multimedia equipment For main equipment, the second multimedia equipment is that it is more to be particularly suitable for the multimedia equipment foundation that multiple same hardwares configure from equipment The case where media services group, this mode can be realized the technology effect for efficiently establishing multimedia service group, alternatively, being suitable for The case where needing flexible configuration (such as according to position) main equipment/from equipment according to demand, realizes master/slave arrangement state according to reality The configurable technical effect of border application demand.
For example, multimedia equipment provides hardware switch or software switch configuration (e.g., is matched by the connection of the terminals such as mobile phone Set, or configured by the human-computer interaction interface of multimedia equipment itself) by way of, such as main equipment, from equipment and automatic three kinds of shapes The switch of state, a point situation illustrate.
1) switch is in auto state
The mode that can be compared according to aforementioned capabilities determines master/slave arrangement, establishes wireless access point by main equipment, pass through to It provides from equipment to the mode that wireless access point accesses and establishes multimedia service group.
2) switch is in master/slave arrangement state
The master/slave state for supporting user's each multimedia equipment of manual configuration according to demand, still with the first multimedia equipment For the second multimedia equipment, the first multimedia equipment and the second multimedia equipment broadcast the state being configured, by main equipment It establishes wireless access point and provides access to from equipment to establish multimedia service group.
For example, the first multimedia equipment broadcast configuration is master status, the second multimedia equipment broadcast configuration is from setting Standby state establishes wireless access point from the first multimedia equipment and provides access to the second multimedia equipment to establish multimedia service Group;For special circumstances, the state configuration having the same of such as the first multimedia equipment and the second multimedia equipment (is each configured to Main equipment or from equipment), the prompt that can carry out reporting an error reconfigures, or the size of the random number generated according to more each equipment Determine main equipment/from equipment, or, main equipment/from equipment is determined according to the scheme that ability compares according to above-mentioned;Practical application The processing mode of middle use can receive user configuration or in advance using default configuration.
Below in conjunction with step 204a to step 205a to the process for establishing multimedia service group after determining master/slave arrangement It is illustrated.
Step 204a opens the function of wireless access point as the first multimedia equipment of main equipment, establishes wireless access The bridge joint of point interface and wireless lan interfaces.
In alternative embodiment of the present invention, wireless access point interface is used for the access provided from equipment to wireless access point.
As an example, wireless access point, which uses, is different from the communications band that Wireless LAN router uses, such as work as nothing When the communications band of line local area network is 2.4GHz, the communications band of wireless access point can use 5GHz, with WLAN Parallel processing is without interfering;As another example, when main equipment only supports the currently used communication frequency of WLAN It, can be by the way of being different from channel used in the router of WLAN, with most when section such as 2.4GHz communications band Big degree reduces co-channel interference.
Step 205a, as what is had built up from the router of the release of the second multimedia equipment of equipment and WLAN Connection, and the wireless access point interface of the first multimedia equipment is accessed, multimedia service group is formed with main equipment.
In alternative embodiment of the present invention, when completing main equipment election and the first multimedia equipment is main equipment, for the The connected state of two multimedia equipments is to access the state of WLAN, and the first multimedia equipment can trigger more than described second The connection of media device release and the router of the WLAN, and the wireless access point for accessing the first multimedia equipment connects Mouthful;In the access to the wireless access point interface of main equipment is used from the second multimedia equipment of equipment state, it is substituted into nothing The access of the router of line local area network, that is, from equipment by way of wireless access point, that is, interface that access main equipment provides, with The first multimedia equipment as main equipment forms multimedia service group.
In alternative embodiment of the present invention, the multimedia equipment of multimedia service group to be connected into, i.e. the first multimedia For equipment and at least one second multimedia equipment, the function of wireless access point is opened by the first multimedia equipment, by right The wireless access point interface answered provides access to the second multimedia equipment, to realize the communication between multimedia equipment, then The election process for carrying out main equipment, by taking the first multimedia equipment is main equipment as an example, then the second multimedia equipment is kept and first The access of the wireless access point of multimedia equipment, to form multimedia service group;It is appreciated that being set for the second multimedia The case where for being main equipment, then connecing for the wireless access point interface of the first multimedia equipment is discharged by the second multimedia equipment Enter, while the second multimedia equipment establishes the function of wireless access point, by corresponding wireless access point interface to more than first matchmaker Body equipment provides access, so that connection forms multimedia service group.It will be according to the step 201b to step 205b shown in Fig. 4-2 It is illustrated.
Step 201b, the first multimedia equipment open the function of wireless access point.
Step 202b provides access to the second multimedia equipment by corresponding wireless access point interface.
In alternative embodiment of the present invention, accessing the multimedia equipment of wireless access point interface, (including the first multimedia is set Standby and at least one multimedia equipment), broadcast following information: 1) connected state of multimedia equipment is used to indicate multimedia and sets The router of standby access WLAN, or the wireless access point interface of access main equipment;2) the identity letter of multimedia equipment Breath, for being identified as same category of device for other multimedia equipments, can be the word with type identification effect made an appointment Symbol.First multimedia equipment monitoring wireless accesses the broadcast of point interface, more it is found that form with the first multimedia equipment Second multimedia equipment of media services group, and initiate main equipment election.
Step 203b, the first multimedia equipment and the second multimedia equipment number initiate the election of main equipment, determine main equipment With from equipment.
The election process of main equipment can understand according to the record of abovementioned steps 202a, hereinafter it is assumed that the result of election Are as follows: the first multimedia equipment is main equipment, and the second multimedia equipment is from equipment.
Step 204b, the first multimedia equipment are set as master status, and according to the networking shape of the second multimedia equipment Using corresponding interface, (for example, in Fig. 4-2, the second multimedia equipment accesses the wireless access point of the first multimedia equipment to state Interface, then the first multimedia equipment passes through wireless access point interface) broadcast the first multimedia equipment be in master status, be supplied to Few second multimedia equipment is set as from equipment state.
In alternative embodiment of the present invention, when completing main equipment election and the first multimedia equipment is main equipment, for the The connected state of two multimedia equipments is to access the state of the wireless access point interface of the first multimedia equipment, and the first multimedia is set It is standby to trigger (for example, above-mentioned the first multimedia equipment of broadcast is in master status) described second multimedia equipment release With the connection of the router of the WLAN, and access the first multimedia equipment wireless access point interface.
Step 205b, the first multimedia equipment as main equipment establish wireless access point interface and wireless lan interfaces Bridge joint.
According to above-mentioned steps 201b to step 205b, main equipment election is carried out using the communication capacity of multimedia equipment itself Technical effect be conducive to quickly determine main equipment to establish multimedia service group independent of the router of WLAN Group.
Below in conjunction with the step 206 shown in Fig. 4-1 and Fig. 4-2 and the step 2061 shown in Fig. 4-3 to step 2064, it is illustrated to by bridging to access the process of the slave device configuration IP address of wireless access point.
Step 206, the first multimedia equipment (as main equipment) is provided the DHCP service of WLAN using bridge joint To the second multimedia equipment, the free IP addresses of WLAN are obtained for the second multimedia equipment and are configured.
DHCP server side is hereinafter run with the router of WLAN, the second multimedia equipment runs dhcp client For, the second multimedia equipment accesses after wireless access point, needs to obtain the free IP addresses in WLAN and is matched Set with realize with the communication of equipment in wireless local land area, dhcp process is initiated by dhcp client to obtain IP address, first Multimedia equipment is by the function of bridge joint, by the dhcp client of the second multimedia equipment, with Wireless LAN router DHCP server side is docked, and is obtained the free IP addresses of WLAN from DHCP server side for dhcp client and is matched It sets, thus, it is possible to establish link by the terminal device that the router of WLAN accesses WLAN, realizes multimedia The transmission of service stage related data.
For the docking in DHCP stage, in terms of being related to following two:
1) when the first multimedia equipment is by wireless access point interface, the data packet of the second multimedia equipment broadcast is received When, received data packet is broadcasted in a wireless local area network via bridge joint, by wireless lan interfaces, and by wireless It is wireless office that the entrained source M AC address (MAC, Media Access Control) is modified when lan interfaces The MAC Address of domain network interface;
Since source MAC is replaced by the MAC Address of the wireless lan interfaces of the first multimedia equipment, road When being received by device from the data packet of the second multimedia equipment, according to the second of the DHCP request carrying carried in DHCP protocol The relevant information of multimedia equipment, router can perceive the presence of the second multimedia equipment, therefore can be according to DHCP protocol It is handled, it is ensured that the second multimedia equipment can obtain the IP address in WLAN.
2) when receiving the data packet of router broadcast of WLAN by wireless lan interfaces, institute is received Data packet, modification are wireless access point interface by the source MAC that data packet transmitted by wireless access point interface carries MAC Address via bridge joint, is sent to the second multimedia equipment by wireless access point interface.
Due to the bridging functionality of the first multimedia equipment, the first multimedia equipment be able to be using the DHCP function of router Second multimedia equipment is configured with IP address, and for the second multimedia equipment, can equally perceive is by the first multimedia Equipment distributes IP address.
Above-mentioned two aspect is illustrated below with reference to four steps in DHCP stage, referring to fig. 4-3, Fig. 4-3 is this The first multimedia equipment that inventive embodiments provide provides the one of DHCP service to the second multimedia equipment by the function of bridge joint A optional flow diagram, be related to DHCP discovery (Discover), DHCP provide (Offer), DHCP request (Request) and DHCP confirms (ACK), is illustrated respectively.
Step 2061, the second multimedia equipment broadcasts DHCP Discover data packet, and the first multimedia equipment passes through bridge joint The DHCP Discover data packet of first multimedia equipment is passed through into router broadcast to WLAN.
Second multimedia equipment broadcasts DHCP and finds (Discover) data packet, and the first multimedia equipment passes through wireless access The DHCP that point interface receives the broadcast of the second multimedia equipment has found that data packet, modification institute DHCP Discover data packet carry Source MAC is the MAC Address of wireless lan interfaces, via bridge joint, passes through wireless lan interfaces in a wireless local area network Broadcast, according to DHCP, the router for running DHCP server side will be responded.
Step 2062, the router of WLAN issues not used IP address by DHCP Offer data packet, the DHCP Offer data packet is broadcast to multimedia service group by bridge joint by one multimedia equipment.
The router of WLAN receives DHCP Discover data packet, inquiry address resolution association (ARP, Address Resolution Protocol) table, if it find that the address MA C of the field of DHCP Discover data packet does not have There is distribution IP address, then take out not used IP address from address pool, provides Offer data packet broadcast by DHCP.
First multimedia equipment receives DHCP Offer data packet by wireless lan interfaces, modifies DHCP Offer number It is the MAC Address of wireless access point interface according to the entrained destination-mac address of packet, via bridging, pass through wireless access point interface In multimedia service, group is broadcasted, and is configured for the second multimedia equipment request selecting.
Step 2063, the second multimedia equipment broadcasts DHCP Request data packet, and the first multimedia equipment passes through bridge joint By DHCP Request data packet broadcast to WLAN.
Second multimedia equipment broadcasts DHCP Request data packet, carries the IP address for requesting configuration, more than first matchmaker Body equipment receives the DHCP request data packet of the second multimedia equipment broadcast by wireless access point interface, modifies DHCP request number It is the MAC Address of wireless lan interfaces according to the source MAC that packet carries, via bridge joint, passes through wireless lan interfaces in nothing It is broadcasted in line local area network.
Step 2064, the router of WLAN requests the IP address of configuration for DHCP Request data packet, DHCP ack msg packet is broadcasted, IP address and configuration parameter including requesting configuration, the first multimedia equipment will by bridge joint DHCP ack msg packet is sent to the second multimedia equipment.
So far it is appreciated that multimedia service group provided in an embodiment of the present invention includes at least: as main equipment One multimedia equipment and as the second multimedia equipment from equipment;Certainly, multimedia service group can be in some cases Including other equipment, such as the broadcast source (including such as TV and mobile phone terminal device) of Wireless LAN router is accessed, It can be discharged into the access of router, and access wireless access point to become the member of multimedia service group;In this way, playing The network parameters such as transmission rate can be configured according to the actual conditions of own hardware between source and multimedia equipment, overcome road By the limitation of device;Wireless access point interface is accessed for these equipment and configures the realization of the free IP addresses of WLAN, The processing of IP address can be configured with reference to above-mentioned second multimedia equipment and implement.
Step 207, the first multimedia equipment is joined according to the service quality for realizing multimedia service in multimedia service group Number, is adapted to the network parameter of multimedia service group.
In alternative embodiment of the present invention, the first multimedia equipment is set by creation wireless access point and to the second multimedia The mode group that standby and other equipment (such as broadcast source, mobile phone terminal device) provide access builds up multimedia service group, makes Obtaining multimedia service group has following characteristics.
Characteristic 1) it is used as independent broadcast domain, realize that the relevant data of multimedia service may be limited to multimedia service group Group internal transmission, avoids causing the consumption of the communication resource in entire wireless local area networks broadcast.
Characteristic 2) it can be in multimedia service group internal separate configurations network parameter, in general, multimedia equipment sheet For the wireless network card of body in order to guarantee service quality, bandwidth, transmission speed and the delay supported are better than the road of WLAN By device, due to can be independently of WLAN Configuration network parameter, so as to according to the service quality of multimedia service (QoS, Quality of Service) parameter carries out adaptation adjustment to the network parameter of multimedia service group, guarantees multimedia The quality of service.
It for example with regard to adaptation adjustment, can be according to the most brief biography for realizing that multimedia service requires in multimedia service group At least one the following network parameter of defeated rate and/or maximum delay, adjustment multimedia service group is adapted to: multimedia clothes The broadcast rate being engaged in group, such as multimedia service need the feelings of the armamentarium cooperative achievement in multimedia service group Condition;Multicast rate in multimedia service group, such as multimedia service need the armamentarium in multimedia service group to assist The case where with realizing;Transmission bandwidth in multimedia service group.To which the relevant data of multimedia service can be in multimedia Service group more rapidly, low latency transmit compared with WLAN, particularly with the audio data and high-resolution of high code rate The transmission of the video data of rate effectively overcomes WLAN own net parameter to limitation caused by transmission.
Next the multimedia service group of following topological structure is realized that the realization process of multimedia service is illustrated:
Topological structure 1) it include the first multimedia equipment and the second multimedia equipment in multimedia service group;Access is wireless The multimedia service that the terminal device (such as mobile phone) of LAN router uses multimedia service group to provide, it will be understood that more Media data can come from access Wireless LAN router in terminal device (for example, carrying in multimedia service request more Media data), it can be from internet (for example, providing multi-medium data in multimedia service request by terminal device Broadcast address).
Referring to fig. 4-4, Fig. 4-4 is an optional process of multimedia service processing method provided in an embodiment of the present invention Schematic diagram combines step 208 to step 211 first, is based on structure 1) pass through wireless lan interfaces and wireless access point interface Bridge joint, in multimedia service group realize meet network parameter multimedia service realization process.
Step 208, the first multimedia equipment provides multimedia by terminal device of the bridge joint into access WLAN The discovery feature of service.
In alternative embodiment of the present invention, multimedia equipment is provided by configuring various optional service agreements, service agreement In discovery different multimedia equipment and its mechanism of provided multimedia service, including each apparatus for media playing with multicast or wide The mode broadcast sends multimedia service discovery data packet, the type and IP address of provided multimedia service is carried, in this way, more Each equipment in media services group knows the IP address of other multimedia equipments and the class of provided multimedia service Type.
It, can be using such as Digital Life Network Alliance (DLNA, Digital Living for the service agreement configured Network Alliance), multicast domain name service (mDNS, multicast Domain Name System) agreement, simple clothes Business discovery agreement (SSDP, Simple Service Discovery Protocol) and Bonjour agreement etc., are not excluded for certainly Use privately owned service discovery protocol.
For example, in the stage of service discovery, the first multimedia equipment can be monitored in multimedia service group broadcast Or the multimedia service of multicast finds data packet, via bridge joint and by wireless lan interfaces, into access WLAN Terminal device multicast, in this way, the terminal device for accessing WLAN is just made to know IP address and the institute of each multimedia equipment The type of the multimedia service of offer.
Again by taking multimedia equipment is intelligent sound as an example, multimedia service finds that data packet carries provided by intelligent sound The type of multimedia service, include in an example of type played such as bass, middle pitch plays or high pitch plays.
Step 209, the terminal device for accessing WLAN is sent out by wireless lan interfaces to the first multimedia equipment Send multimedia service request.
In alternative embodiment of the present invention, the terminal device for accessing WLAN finds data according to multimedia service is monitored Packet, can know the type of the multimedia function of the IP address and its offer of each media device in multimedia service group;According to Demand, the multimedia service provided using one or more multimedia equipments, the corresponding multimedia for sending unicast or multicast form Service request.
Step 210, the first multimedia equipment is asked by the multimedia service that wireless lan interfaces receive access device It asks, via bridging and passing through wireless access point interface, realizes that multimedia service needs multimedia equipment to be used as needed, It is handled with the second multimedia equipment that unicast, multicast or broadcast mode are sent to multimedia service group.
In alternative embodiment of the present invention, the case where there are unicast or multicasts for the data packet of multimedia request, in order to protect Card realizes data packet in the correct forwarding of data link layer when being forwarded to multimedia service group, need according to the received more matchmakers of institute The type of the data packet of body service request, it is corresponding more in multimedia service group for modifying target MAC (Media Access Control) address entrained by data packet The MAC Address of media device, is illustrated respectively.
Situation 1) terminal device send unicast multimedia service request when, the multimedia service request of unicast is turned Hair.
Terminal device for realize multimedia service when be intended to using the second multimedia equipment initiate ARP request, more than first Media device forwards the related data packets of ARP process by way of bridge joint between the second multimedia equipment and terminal device, And the replacement of MAC Address is carried out, the ARP entry of the first multimedia equipment study to the IP address for the second multimedia equipment, And the ARP entry of the IP address for terminal device.
The IP address of the second multimedia equipment is mapped to the first multimedia equipment in the ARP entry that terminal device learns Wireless lan interfaces (i.e. the MAC Address of wireless lan interfaces), in the ARP entry that the first multimedia equipment learns, The IP address of two multimedia equipments maps wireless access point interface (i.e. the MAC Address of wireless access point interface).
First multimedia equipment, can be between terminal device and the second multimedia equipment based on the ARP entry learnt Data are transmitted, including multimedia service request is forwarded to use required for realizing multimedia service via the first multimedia equipment The second multimedia equipment, and will from the multimedia service of the second multimedia equipment respond be transferred to terminal device, in conjunction under Step 2101a to step 2106a is stated to be illustrated.
Step 2101a, terminal device find data packet by monitoring multimedia service, know each in multimedia service group The IP address of multimedia equipment and the type of provided multimedia service, when needing using one of multimedia equipment When the multimedia service that (hereinafter referred to as the second multimedia equipment) provides, when such as using a stereo set playing audio-fequency data, Need to request the MAC Address of the second multimedia equipment to the first multimedia equipment by ARP request (Request) first, then Just encapsulate multimedia service request, i.e., it is corresponding to realize multimedia service according to the MAC Address and IP address of the second multimedia equipment Request the encapsulation in data link layer and network layer.
Step 2102a, the first multimedia equipment request the second multimedia by wireless lan interfaces receiving terminal apparatus The ARP request of the MAC Address of equipment, the source MAC (i.e. the MAC Address of terminal device) for replacing carrying is that the first multimedia is set The MAC Address of standby wireless access point interface via bridge joint, is broadcast to multimedia service group by wireless access point interface.
Step 2103a, the second multimedia equipment broadcast arp response (ACK) carry the MAC Address of the second multimedia equipment, First multimedia equipment listens to arp reply by wireless access point interface, replaces the source MAC of arp reply (i.e. more than second The MAC Address of media device) it is the MAC Address of wireless lan interfaces, and broadcasted via bridge joint, by wireless lan interfaces To WLAN;Meanwhile first multimedia equipment the ARP table for the second multimedia equipment is established in the ARP table of itself Item, as<second IP address of multimedia equipment, wireless access point interface>.
Step 2104a, terminal device is with listening to the MAC for the second multimedia equipment of broadcast carried according to arp reply The MAC Address that WLAN connects (is revised as by the first multimedia equipment) in location, establishes in the ARP table of terminal device ARP entry: the IP address of the<the second multimedia equipment, the wireless lan interfaces of the first multimedia equipment>.
Step 2105a, the MAC Address that terminal device has obtained the second multimedia equipment (are set by the first multimedia It is standby to be revised as the MAC Address that WLAN connects), the multimedia service request for using unicast is issued, carrying purpose IP address is The IP address of second multimedia equipment, target MAC (Media Access Control) address are the MAC Address of the wireless lan interfaces of the first multimedia equipment.
Step 2106a, the first multimedia equipment receives multimedia service request by wireless lan interfaces, according to carrying Purpose IP address (i.e. the IP address of the second multimedia equipment) search ARP table, obtain query result be the first multimedia equipment Wireless access point interface, it is determined that need to forward by wireless access point interface, replacement multimedia service request carry After target MAC (Media Access Control) address is the MAC Address of the second multimedia equipment, it is sent to wireless access point interface via bridge joint, by wireless Access point interface is forwarded to the second multimedia equipment.
When the data packet of multimedia service request reaches the link layer of the second multimedia equipment, the second multimedia equipment exists After data link layer recognizes MAC Address of the target MAC (Media Access Control) address of carrying for itself, decapsulated, by the number after decapsulation Network layer is transmitted to according to message to encapsulate after continued access, and is transmitted to application layer and is realized that the application of multimedia service is handled, thus Realize the data packet of network request from WLAN to the transmission of multimedia service group.
2) when terminal device sends the multimedia service request of multicast, the multimedia service request of multicast is forwarded
Terminal device, which exists, provides the demand of service simultaneously using multiple second multimedia equipments in multimedia service group, The multimedia service request of multicast is sent, the first multimedia equipment receives multimedia service request from wireless lan interfaces;Root (according to RFC1112) multicast mac address is calculated according to multicast packet purpose IP address (i.e. multicast ip address) is corresponding, modification is taken The target MAC (Media Access Control) address of band is multicast mac address, is forwarded to purpose multicast ip address by wireless access point interface and corresponds to multiple the Two multimedia equipments, the data link layer of the second multimedia equipment determine that the MAC Address of itself belongs to the target MAC (Media Access Control) address of multicast Range, the data message that data packet connects after encapsulation is transmitted to network layer and continues to decapsulate, and is eventually transferred to application layer Multimedia service application is handled, and so far, the data packet for completing multimedia service request takes from WLAN to multimedia The transmission of business group.
Step 211, the first multimedia equipment by access point interface to multimedia service respond when, via bridge, And multimedia service is sent by wireless lan interfaces and responds the terminal device into WLAN.
In alternative embodiment of the present invention, multimedia service response can be multimedia equipment processing multimedia service request Feedback, the real-time status including processing (broadcasting), such as progress and volume that audio plays, the various display parameters of video playing (contrast and brightness), furthermore it is also possible to the reason of include multimedia service processing failure and error code etc..
For multimedia service response, multimedia equipment active transmission can be, alternatively, according to terminal device for more The inquiry response of media service request, or, according to the particular event in multimedia service, (such as network jitter, broadcast source is fallen Line), specific time (such as every 5 minutes be period) or specific progress (such as the 10%/50% of multimedia service progress) triggering response, The effect of the real-time status of multimedia service can be known in terminal device by realizing.
For the type of the unicast or multicast of the multimedia service request responded, it can be for responding the more of unicast Media service request unicast multimedia service response, or the multicast multimedia of the multimedia service request for responding multicast Service response.
As the example of multimedia service request, the data packet of multimedia service request carries the address of multi-medium data, Alternatively, multi-medium data (such as can be the multi-medium data that terminal device is locally stored) to be processed is carried, more than first Media device obtains data according to address and handle or handle received multi-medium data, according to multimedia request Purpose IP address the case where being unicast address, multicast address or broadcast address, it is corresponding to be turned in the form of unicast, multicast or broadcast It is dealt into multimedia service group, the multimedia equipment for receiving multi-medium data is handled.
As another example of multimedia service request, the data packet of multimedia service request takes multimedia to be processed Data obtain data according to address for the first multimedia equipment and are handled such as audio data or the slice file of video data, The case where purpose IP address according to multimedia request is unicast address, multicast address or broadcast address, it is corresponding with unicast, multicast Or the form of broadcast is forwarded in multimedia service group, the multimedia equipment for receiving multi-medium data is handled.
Next just following topological multimedia service group realizes that the realization process of multimedia service is illustrated.
Topological structure 2) it include the first multimedia equipment, the second multimedia equipment and broadcast source in multimedia service group, Multimedia equipment plays the multi-medium data provided by broadcast source.In other words, the second multimedia equipment, broadcast source access first The wireless access point that multimedia equipment is established, it will be understood that broadcast source can be to provide the arbitrary equipment of multi-medium data, such as electricity Depending on and mobile phone etc..
With regard to realizing multimedia service for example, when broadcast source accesses multimedia service group by wireless access point interface Wireless access point after, can be turned by the audio data of broadcast source via wireless access point interface with the sending method of multicast It is dealt into multimedia service group, plays out processing for the second multimedia equipment, such as can use and play, periodically broadcast immediately It puts and the modes such as loop play;Since the transmission of data during realizing multimedia service is handled without router, keep away Exempt from the resource consumption to router, meanwhile, it is adaptive also to support that multimedia service group carries out according to the service quality to be realized Ground adaptation.
According to Fig. 4-1, the multimedia equipment that the embodiment of the present invention is provided for realizing multimedia service processing method, referring to Fig. 5, Fig. 5 are an optional illustrative view of functional configuration of multimedia equipment provided in an embodiment of the present invention, it is to be appreciated that ability Field technique personnel are according to understanding Fig. 5, it is possible to implement the functional structure of the multimedia equipment of other modes, such as to shown in Fig. 5 The functional structure of multimedia equipment carries out further division or merging, is regarded as setting multimedia provided in an embodiment of the present invention The equivalent replacement of standby functional structure.
In Fig. 5, by taking multimedia equipment provided in an embodiment of the present invention is the first multimedia equipment 300 as an example, including nothing Line local net unit 301, multimedia service group of cells 302, adaptation unit 303 and Multimedia Serving Element 304, carry out respectively Explanation.
Wireless local area net unit 301 determines for accessing WLAN by wireless lan interfaces and accesses wireless office At least one second multimedia equipment of domain net;
Multimedia service group of cells 302, for passing through wireless access point interface and at least one second multimedia equipment Connection forms multimedia service group;
Adaptation unit 303, for the QoS parameter according to realization multimedia service in multimedia service group, to more The network parameter of media services group is adapted to;
Multimedia Serving Element 304, for realizing the multimedia service for meeting network parameter in multimedia service group.
In alternative embodiment of the present invention, wireless local area net unit 301, specifically for being mentioned from the router of WLAN The DHCP service of confession obtains IP address idle in WLAN, and is allocated to wireless lan interfaces.
In alternative embodiment of the present invention, wireless local area net unit 301 is specifically used for according to by the WLAN The identity information and connected state that the broadcast of interface carries, identify the access WLAN it is described at least one Second multimedia equipment;The identity information carried and connected state are broadcasted according to by the way that the wireless access point interface is received, Identify at least one described second multimedia equipment for accessing the wireless access point interface.
In alternative embodiment of the present invention, multimedia service group of cells 302, specifically for the choosing by initiating main equipment It lifts operation and determines that first multimedia equipment is main equipment, at least one described second multimedia equipment is from equipment;Pass through The wireless access point interface provides access to being in from least one second multimedia equipment described in equipment state.
In alternative embodiment of the present invention, the multimedia service group of cells 302 is specifically used for: more than described second When the connected state of media device is access WLAN, the second multimedia equipment release and the wireless local area are triggered The connection of network interface, and access the wireless access point interface;When the connected state of second multimedia equipment is access institute When stating wireless access point interface, triggering keeps accessing the wireless access point interface.
In alternative embodiment of the present invention, multimedia service group of cells 302, specifically for being taken according to the broadcast received The ability information of band, compared at least one described second multimedia equipment carries out ability;The ability of determination meets the described of condition First multimedia equipment is main equipment, and when at least one described second multimedia equipment is from equipment, more than first matchmaker is arranged Body equipment is master status;Broadcast first multimedia equipment and be in master status, for it is described at least one more than second Media device is set as from equipment state.
In alternative embodiment of the present invention, multimedia service group of cells 302 is specifically used for the first multimedia equipment 300, priority ranking: computing capability, net is carried out with the ability of at least one at least one following dimension of the second multimedia equipment Network communication capacity and cruising ability.
In alternative embodiment of the present invention, multimedia service group of cells 302 is specifically used for when the first multimedia equipment In 300 validity periods in master status, and detect that master is initiated in triggering when no longer meeting the ability condition as main equipment The election operation of equipment is with the new main equipment of determination and from equipment.
In alternative embodiment of the present invention, multimedia service group of cells 302, specifically for the routing from WLAN The DHCP service that device provides obtains IP address idle in WLAN, and is allocated to wireless access point interface;By wireless Bridge joint between lan interfaces and wireless access point interface, the second multimedia equipment provide the DHCP service of router, for the The free IP addresses of two multimedia equipments configuration WLAN.
In alternative embodiment of the present invention, multimedia service group of cells 302, specifically in the second multimedia equipment The DHCP stage, when receiving the data packet of the second multimedia equipment broadcast by the wireless access point interface, modification The source M AC MAC Address that received data packet carries is the MAC Address of the wireless lan interfaces, and passes through institute It states bridge joint and is sent to the WLAN;When the number for receiving the wireless local area networks broadcast by the wireless lan interfaces When according to packet, the source MAC that modification received data packet carries is the MAC Address of the wireless access point interface, by described Bridge joint is sent to second multimedia equipment.
In alternative embodiment of the present invention, adaptation unit 303, specifically for according to realizing more matchmakers in multimedia service group The minimum transmission rate and/or maximum delay of body service request, adjust multimedia service group following network parameter at least it One is adapted to: the multicast rate in multimedia service group;Broadcast rate in the multimedia service group;Multimedia clothes The transmission bandwidth being engaged in group.
In alternative embodiment of the present invention, Multimedia Serving Element 304, specifically for wirelessly being connect when broadcast source by described When entering point interface access first multimedia equipment, the audio data of the broadcast source is connect via the wireless access point Mouthful, it is forwarded in the multimedia service group, is handled at least one described second multimedia equipment.
In alternative embodiment of the present invention, Multimedia Serving Element 304 is specifically used for when terminal device access is described wireless When local area network, pass through the bridge joint between the wireless lan interfaces and the wireless access point interface, Xiang Suoshu terminal device The discovery feature of the multimedia service is provided;As the more matchmakers for receiving the terminal device by the wireless lan interfaces When body service request, by the bridge joint, forward the multimedia service request into the multimedia service group, for described At least one second multimedia equipment is handled;When being responded by described access point interface to multimedia service, lead to It crosses the bridge joint transmission multimedia service and responds the terminal device into the WLAN.
In alternative embodiment of the present invention, Multimedia Serving Element 304, specifically for multimedia service is found data Packet carries out broadcast or multicast by described bridge to the WLAN;Wherein, the multimedia service discovery data packet is taken With the IP address of multimedia equipment in the multimedia service group and the type of provided multimedia service.
In alternative embodiment of the present invention, Multimedia Serving Element 304, specifically for more matchmakers according to unicast fashion The purpose IP address that body service request carries inquires the Address Resolution Protocol ARP table of first multimedia equipment;When inquiry is tied When fruit is the wireless access point interface of first multimedia equipment, by the wireless access point interface, more matchmakers are forwarded Second multimedia equipment of purpose IP address described in body service request to the multimedia service group.
In alternative embodiment of the present invention, Multimedia Serving Element 304 is also used to work as in the terminal device for institute When stating the ARP request stage of the IP address of the second multimedia equipment, pass through terminal device described in the bridges forward and described the ARP data packet between two multimedia equipments forms the forwarding-table item in first multimedia equipment;Wherein, the forwarding List item includes: the ARP forwarding-table item for the IP address of second multimedia equipment, for the IP address of the terminal device ARP forwarding-table item.
In alternative embodiment of the present invention, Multimedia Serving Element 304 is also used to respond the terminal device for described The ARP request of the IP address of second multimedia equipment broadcasts the ARP request in the multimedia service group;ARP is answered The source MAC for answering carrying replaces with the MAC Address of first multimedia equipment, and is forwarded to the terminal device, establishes The mapping of source MAC and source IP address that the arp reply carries, the ARP entry as second multimedia equipment;It builds Found the mapping of source MAC and source IP address that the ARP request carries, the ARP entry as the correspondence terminal device.
In alternative embodiment of the present invention, Multimedia Serving Element 304, specifically for more matchmakers according to multicast form The purpose multicast ip address of body service request calculates multicast mac address, and modifying entrained target MAC (Media Access Control) address is the multicast MAC Address;By the wireless access point interface, multimedia service request institute into the multimedia service group is forwarded State the corresponding multimedia equipment of purpose multicast ip address.
The storage medium for realizing the embodiment of the present invention is continued to explain, storage medium provided in an embodiment of the present invention can be implemented For various nonvolatile memories above-mentioned, CD etc., wherein executable program or installation kit are stored, as an example, storage When executable code processor in medium executes, causes processor to execute such as Fig. 1, Fig. 4-1 to Fig. 4-4 either figure and provide Multimedia service processing method.
It is intelligent sound below with reference to multimedia equipment, the application scenarios for constructing multi-track radio sound system are said Multichannel (such as 5.1 sound channels and 7.1 sound channels) wireless sound system that is bright, being realized based on WiFi technology.WiFi wireless technology is used for When stereo set, the constraint of cable, not can be realized flexible arrangement.Home theater will reach perfect audiovisual experience, need The delay of enough bandwidth and very little is kept in the transmission on audio road.
It is an optional framework signal of multi-track radio sound system provided in an embodiment of the present invention referring to Fig. 6, Fig. 6 Figure, stereo set 1-3 access WLAN by router respectively, and it is (same that stereo set and TV are in WLAN One subnet) in.No matter the audio data that stereo set plays comes from TV or internet, require to turn by router Hair, transmission rate, bandwidth and delay are all limited by router ability itself, can not carry out spirit according to the demand of play quality Customization living, while also leading to the biggish load of router.
Aiming at the problem that play quality for the multi-track radio sound system that Fig. 6 illustrates is restricted, referring to figs. 7 and 8, Fig. 7 is an optional configuration diagram of multi-track radio sound system provided in an embodiment of the present invention, and Fig. 8 is of the invention real Another optional configuration diagram of the multi-track radio sound system of example offer is provided.
Stereo set 1 is used as main equipment, and for stereo set 2-3 as the framework from equipment, main equipment creation is real based on software Existing wireless access point (i.e. SoftAP) provides access to from equipment and TV (broadcast source) by wireless access point interface AP0, It is in same subnet as the television set of broadcast source and from the wireless access point that equipment access main equipment is established, forms more matchmakers Body services group, and Internet traffic may be implemented by wireless lan interfaces WLAN0 connection router in main equipment;In main equipment Also set up the bridge joint between wireless access point interface AP0 and wireless lan interfaces WLAN0.
The realization of multimedia service is related to the following aspects:
1) subnet is formed from the wireless access point that sound equipment access main equipment creates, the mode of main equipment multicast, which forwards, to be come from The audio data of router, for being handled from equipment, the transmission of audio data reduces the negative of router without router Lotus, promoting transmission rate reduce delay;
2) wireless access point of the TV as broadcast source access main equipment creation, collectively constitutes son with main equipment, from equipment Net, TV send audio data, and the wireless access point interface for passing through main equipment to main equipment by wireless access point interface AP0 AP0 is forwarded in a manner of multicast in subnet, and for handling from equipment, the transmission of audio data is not routed without router The limitation of device, promoting transmission rate simultaneously reduce delay;
3) router sends audio data to main equipment, and main equipment is via bridge joint, by wireless access point interface AP0 with group The mode broadcast forwards, and is handled for the audio data received from equipment interconnection, and the audio data that router is sent can come from hand Machine or internet.
According to general networking device protocol hierarchical mode and address allocation rule, it is assumed that the IP address of each equipment in Fig. 7 It is as follows with MAC Address:
Table 1
Mobile phone is associated with router, and TV, stereo set 2/3 are associated with the AP0 of stereo set 1, stereo set 1 It is connected by the way of bridge joint between WLAN0 and AP0.WLAN0 is assigned MAC Address MAC3 and IP address IP3, AP0 distribution There are MAC Address MAC4 and IP address IP4.
Due to the limitation of basic schema (Infrastructure Mode) network architecture of WiFi AP, only and router The website (Station) for establishing incidence relation can just be sent to the data packet that router 802.11 encapsulates and arrive, and receives and come from road Data packets by 802.11 encapsulation of device as stereo set 2, the 3 associated AP0 from equipment are soft AP that main equipment is started, There is no and router establish incidence relation, therefore stereo set 2,3 can not and router communication, C can not receiving router it is wide It broadcasts and unicast data, it also can not be with the mobile communication of couple in router.
The embodiment of the present invention realizes that the communication between equipment and mobile phone is realized by following steps:
Step 301, by the DHCP service on router, IP address is obtained from equipment.
Mobile phone accesses the router of wireless network and stereo set 1 passes through WLAN0 in the router of access wireless network Afterwards, the IP address that the same subnet can be obtained by the DHCP service that router provides, involves the steps of 3011 to step 3014。
Step 3011, from the dhcp client of equipment, active transmission DHCP Discover data packet, for finding DHCP Server-side;Wherein, the source MAC of DHCP Discover data packet is the MAC Address from equipment, and purpose MAC is FFFF.FFFF.FFFF, representative are sent in the form of broadcast.
By taking 2 equipment of stereo set as an example, for transmitted DHCP Discover data packet:
Source IP is 0.0.0.0 (there are no configuration of IP for stereo set 2, just use all zeros address), and destination IP is 255.255.255.255 three layers broadcast.
Because the dhcp client of stereo set 2 is not known by the IP address of DHCP server side, found using broadcast, The DHCP Discover data packet of broadcast can be flooded in entire WLAN;For the DHCP sent from equipment Discover data packet, data packet when by stereo set 1, due under WiFi AP only with the data packet of associated STA It can transmit, the MAC that stereo set 1 is distributed the source MAC of DHCP Discover data packet as WLAN0 interface Location (MAC3), to realize smoothly transmission.
Step 3012, the DHCP server side of router receives the DHCP Discover number sent out from the dhcp client of equipment After packet, router can be inquired in address pool the address (IP5) that do not distribute and matched parameter (such as: mask, DNS, Gateway, domain name, rental period etc.), it then carries in DHCP Offer packet broadcast.
The address of DHCP Offer data packet is as follows:
Source MAC is the MAC Address i.e. MAC1 of DHCP server side, and purpose MAC is the broadcast address of FFFF.FFFF.FFFF;
Source IP address is the IP address of DHCP server side, and purpose IP address is broadcast address: 255.255.255.255.
The type (i.e. broadcast or unicast) of DHCP Offer data packet, depends on phase in DHCP Discover data packet The setting (flasg) of pass, it is corresponding anti-with DHCP Discover data packet and DHCP Request data packet in the embodiment of the present invention The type of the data packet (that is: DHCP Offer data packet and DHCP ack msg packet) of feedback be broadcast for be illustrated, for example, The dhcp client of stereo set 2 there is no IP address, DHCP server side also can not location client end, so with broadcast come It responds.For DHCP Offer data packet when by stereo set 1, the subnet to be forwarded to where AP0 needs to modify source MAC Address is the MAC Address (MAC4) of AP0.
Step 3013, after the dhcp client of stereo set 2 receives DHCP Offer data packet, a DHCP can be issued again Request data packet applies for the address (IP5) that this DHCP Offer data packet includes to router.At this point, due to sound There are no assignable addresses entrained by formal configuration DHCP Offer data packet for the dhcp client of sound equipment 2, so also Need the DHCP server side application to router.
The source IP address or 0.0.0.0 of the dhcp client of stereo set 2, purpose IP address is still 255.255.255.255, source MAC is the MAC Address (MAC5) of stereo set 2, and purpose MAC is the broadcast of FFFF.FFFF.FFFF Address.Using method identical with step 3031, the source MAC DHCP Request data packet is needed to be revised as WLAN0 The MAC Address (MAC3) of interface.
Step 3014, the DHCP server side of router receives the DHCP Request number of the dhcp client of stereo set 2 After packet, a DHCP ack msg packet can be issued and be used to confirm that this IP address (IP5) can distribute to stereo set 2 Dhcp client.
The dhcp client of stereo set 2 receives DHCP ack msg packet, configures IP address, that is, IP5.DHCP ack msg Packet is when by stereo set 1, using processing mode identical with step 3032, with modifying the source MAC of DHCP ack msg packet Location is the MAC Address (MAC) of AP0, and such stereo set 2 can smoothly obtain IP address by the bridge joint of WLAN0 and AP0.
The execution of the DHCP protocol of server-side is because there is no using DHCP data packet ethernet packet header in DHCP protocol In the MAC Address DHCP message that obtains IP address from DHCP server side as index, but use in the MAC Address word that responds Duan Zuowei index go inquiry whether be the MAC Address host assignment IP address, referring to Fig. 9, Fig. 9 be implementation of the present invention The package structure diagram for the DHCP Discover data packet that example provides, DHCP server side inquire DHCP Discover data packet Chaddr field can be from initial from equipment in this way, the source MAC in the packet header of DHCP Discover data packet MAC Address is modified to the MAC Address of WLAN0, to achieve the purpose that and router interaction data.
By this step, stereo set 2 has been assigned to IP address from router and has used for subsequent communications.
Step 302, stereo set is found mutually.
Mutual discovery agreement between sound equipment is transmitted by the way of multicast or broadcast, it is necessary first to realize WLAN0 and AP0 it Between broadcast and multicast mutual forwarding, need to calculate the MAC Address of multicast according to multicast ip address, computation rule referring to RFC1112。
Step 303, ARP entry is established in ARP mapping list for the transmission of unicast data.
For example, mobile phone knows that address is that the stereo set of IP5 is capable of providing required service, if mobile phone knows sound The MAC Address for ringing equipment 2, can be with 2 direct communication of stereo set of configuration of IP 5;If mobile phone is not known by stereo set 2 MAC Address then needs to service by ARP, obtains the corresponding MAC Address of IP5.
The corresponding stereo set of IP5 is not known by for mobile phone to obtain this service, mobile phone and the stereo set 2 with IP5 Between communication process it is as follows:
Step 3031, mobile phone passes through router broadcast ARP Request data packet, the host of the address request analysis IP5 MAC Address.
Step 3032, after WLAN0 receives ARP Request data packet, it is transmitted to AP0, in ARP Request data packet Source MAC, that is, mobile phone MAC Address (MAC3), replace with the MAC Address (MAC4) of AP0;Subnet broadcast at AP0 ARP Request data packet, after stereo set 2 receives ARP Request data packet, loopback ARP Reply data packet is arrived AP0, stereo set 1 continue to forward ARP after the source address in ARP Reply data packet being replaced with the MAC Address of WLAN0 Reply notifies that the MAC Address of the equipment of mobile phone A configuration of IP 5 is the MAC Address (MAC3) that WLAN0 is configured, mobile phone to mobile phone Add ARP entry<IP5 in the ARP table of itself, MAC3>, stereo set 1 add in the ARP table of itself correspondence mobile phone ARP entry<IP2, MAC3>, and ARP entry<IP5 of corresponding stereo set 2, MAC4>.
Step 3033, after mobile phone receives the MAC Address (MAC3) that ARP Reply data packet carries WLAN0, it is believed that MAC3 is The data packet that subsequent destination address is the audio playing request of IP5 is all sent to WLAN0, is sent out by the IP address of 5 equipment of configuration of IP The source address MAC Address for the data packet sent is MAC2, and source IP address is IP2.
Step 3034, after the WLAN0 of stereo set 1 receives the data packet of mobile phone, discovery be matched to ARP mapping (IP2, MAC2), i.e., by the bridges forward with AP0 to AP0, the target MAC (Media Access Control) address in data packet is substituted for stereo set 2 by AP0 MAC Address (MAC5) is transmitted to stereo set 2 with destination address (MAC5, IP5).
It may be noted that stereo set 1 receives number relevant to DHCP or ARP by either interface in WLAN0 and AP According to packet, can all forward between both interfaces, as long as it is, the target MAC (Media Access Control) address of data packet is not the MAC Address of interface itself, Another interface will be forwarded to.
It is appreciated that such as sending the data of multimedia service response from the equipment such as needs of stereo set 2 and router communication Packet can use the inversely processing process of above-mentioned replacement MAC Address, realize by the communication from equipment to mobile phone.
The network layer of network model has been arrived by learning on step 302 stereo set 1 from equipment (including 2 He of stereo set Stereo set 3) IP address and its corresponding interface, when data packet is destined for IP address in forwarding table, by searching for forwarding Table finds the corresponding port of IP address and is forwarded.
Step 304, multicast packet is improved in the transmission rate of physical layer for audio stream.
In figures 7 and 8, standard of the router due to low rates such as 802.11abg to be compatible with, the rate of broadcast and multicast It is typically provided to 1Mbps, is unable to satisfy demand for hope is broadcasted or multicast mode transmits multimedia audio stream.
And from the subnet formed between stereo set, due to being same equipment, stereo set 1 can be wide by improving It broadcasts or the transmission rate of multicast achievees the purpose that high-speed synchronous transmits audio data;In addition, the also conduct when TV accesses AP0 The member of subnet, if audio data has TV offer, the whole process that audio plays can be realized independently of router, pass Defeated rate and bandwidth can be adjusted flexibly according to actual needs, and stereo set 1 can use the higher bandwidth of router with into one Step improves the transmission rate of physical layer
With stereo set 1 in figures 7 and 8 for main equipment, stereo set 2 and stereo set 3 be from description of equipment, under Realization process in face of determining main equipment and from equipment is illustrated.
Multimedia equipment carries out automatic learning router setting, elects a stereo set as main equipment, other sounds It rings equipment to be used as from equipment, by the wireless access point established from equipment by being connected to main equipment.
The initial phase of stereo set, all stereo set couple in routers, firstly, stereo set can pass through nothing Then the selection process that line local area network communication completes main equipment is discharged into the access of router from equipment, and access main equipment and build Vertical wireless access point is related to following steps.
Step 401, stereo set couple in router broadcasts connected state and identity information and ability information.
Connected state identifies whether to be connected to the wireless access point that main equipment is established, and ability information includes the operation of CPU Ability;Networked capabilities include the bandwidth supported and communications band;Capacity of power includes power supply mode (by power line power supply or electricity Pond power supply);The remaining capacity etc. of battery when battery is powered.
Step 402, according to information automatically select the equipment that best-fit does main equipment.
For example, firstly, selection meets the multimedia equipment of the following conditions: CPU operational capability is greater than operational capability threshold value, and The stereo set for having the ability that two frequency bands of 2.4G and 5G work at the same time;Power line is selected to supply from the multimedia equipment of selection The stereo set of electricity is main equipment, if not provided, selecting main equipment by the sequence of battery capacity.
Step 403, main equipment notifies the notice from equipment as main equipment, notify in stipulated time section (with TransactionID is identified) master status is effective, upon receipt of a notification from equipment, will not be sent out within defined validity period Play new main equipment election.
Step 404, main equipment starts wireless access point, wireless bridging mode is switched to, using different communications bands pair Router should be connected and from equipment.
With starting wireless access point, establish the bridge joint of wireless access point interface and wireless lan interfaces, when using difference The communications band of router.And pass through router advertisement from equipment in frequency range and BSSID where wireless access point, use routing The same encryption authentication mode of device connects wireless access point.
Step 405, all slave equipment that main equipment group is added update the connected state of oneself, that is, have accessed main equipment and built Vertical wireless access point.
Step 406, main equipment cannot meet when continuing the condition as main equipment, and main equipment device role is exited in initiation Request, other equipment re-initiate main equipment election after receiving the request.
For example, when main equipment is exhausted because of electricity lower than power threshold, or when connection disconnection (such as being caused by movement), from Equipment is discharged into the access of the wireless access point of main equipment foundation, and the connection initiation main equipment of couple in router was elected again Journey determines new main equipment and from equipment.
As it can be seen that only select the role stage and the terminal device of main equipment are on access road realizing that audio playing process chooses When needing to initiate audio playing request in the case where by device, the resource consumption of router just will cause;In the process that audio plays In, the participation of router is not necessarily to if audio data is from TV, if audio data comes from internet, router is only Stereo set 1 (main equipment) need to be transmitted data to, the significant resource occupation saved to router, meanwhile, stereo set is in subnet In audio data transmission do not limited by router, the transmission speed of the broadcast/group broadcast rate of data link layer and physical layer Rate can require be adapted to according to play quality, delay, realize network parameter according to the dynamic of the quality requirement of multimedia service State adaptively adjusts.
In conclusion the embodiment of the present invention has the advantages that
1) wireless communication ability for utilizing the first multimedia equipment, realizes multimedia service group and wireless local area network By the technical effect of the communication decoupling of device;Main equipment only needs multicast or broadcast that each needs of audio data arrival can just connect In the slave equipment received, the load of router is not only alleviated in this way, also reduces the delay that data are transmitted between multimedia equipment.
2) low latency is established between multimedia equipment and supports the bridge joint of multicast/broadcast, is configured independently of WLAN Network parameter so that the multimedia equipment in the local area network by bridge joint efficiently, transmit data in time, solve the upper of bridge joint Capable and down channel interference problem;
3) the IP address assignment problem from equipment is solved, is made in subnet to provide DHCP service from equipment by bridge joint Multimedia equipment can smoothly be communicated with the equipment of couple in router.
4) it supports broadcast source to access multimedia service group, realizes that the related data of multimedia can be all in more matchmakers Body is serviced in group and is realized, eliminates the case where causing load to router in playing process, is utmostly reduced multimedia and is set The delay of data transmission between standby.
5) when forming multimedia service group, multimedia service, packet can be provided the terminal device of couple in router It includes and plays the audio data from terminal device or the audio data from internet, while promoting multimedia service quality And support various application scenarios, there is good compatible performance.
The above description is merely a specific embodiment, but scope of protection of the present invention is not limited thereto, any Those familiar with the art in the technical scope disclosed by the present invention, can easily think of the change or the replacement, and should all contain Lid is within protection scope of the present invention.Therefore, protection scope of the present invention should be based on the protection scope of the described claims.

Claims (10)

1. a kind of multimedia service processing method, which is characterized in that be applied to the first multimedia equipment;The described method includes:
WLAN is accessed by wireless lan interfaces, determines at least one second multimedia equipment;
It is connect by wireless access point interface at least one described second multimedia equipment, forms multimedia service group;
According to the QoS parameter for realizing multimedia service in the multimedia service group, to the multimedia service group Network parameter be adapted to;
The multimedia service for meeting the network parameter is realized in the multimedia service group.
2. the method according to claim 1, wherein described access wireless local area by wireless lan interfaces Net, comprising:
The dynamic host configuration protocol DHCP service provided from the router of the WLAN, obtains the WLAN The Internet protocol IP address of middle free time, and it is allocated to the wireless lan interfaces.
3. the method according to claim 1, wherein at least one second multimedia equipment of the determination, comprising:
Identity information and connected state are carried according to by the received broadcast of the wireless lan interfaces, is identified described in access At least one described second multimedia equipment of WLAN;
Identity information and connected state are carried according to by the received broadcast of the wireless access point interface, is identified described in access At least one described second multimedia equipment of wireless access point interface.
4. the method according to claim 1, wherein it is described by wireless access point interface and at least one second Multimedia equipment connection, forms multimedia service group, comprising:
Election operation by initiating main equipment determines that first multimedia equipment is main equipment, it is described at least one more than second Media device is from equipment;
By the wireless access point interface, connect to being in from the offer of at least one second multimedia equipment described in equipment state Enter.
5. according to the method described in claim 4, it is characterized in that, described by the wireless access point interface, in from At least one described second multimedia equipment of equipment state provides access, comprising:
When the connected state of second multimedia equipment is access WLAN, triggers second multimedia equipment and release The connection with the wireless lan interfaces is put, and accesses the wireless access point interface;
When the connected state of second multimedia equipment is to access the wireless access point interface, triggering is kept described in access Wireless access point interface.
6. according to the method described in claim 4, it is characterized in that, described in the election operation by initiating main equipment is determining First multimedia equipment is main equipment, at least one described second multimedia equipment is from equipment, comprising:
According to the ability information that the broadcast received carries, compared at least one described second multimedia equipment carries out ability;
First multimedia equipment that the ability of determination meets condition is main equipment, at least one described second multimedia equipment is When from equipment, it is master status that first multimedia equipment, which is arranged,;
Broadcast first multimedia equipment and be in master status, at least one described second multimedia equipment be set as from Equipment state.
7. a kind of multimedia equipment, which is characterized in that as the first multimedia equipment;First multimedia equipment includes:
Wireless local area net unit determines at least one more than second matchmaker for accessing WLAN by wireless lan interfaces Body equipment;
Multimedia service group of cells, for being connected by wireless access point interface and at least one described second multimedia equipment It connects, forms multimedia service group;
Adaptation unit, for the QoS parameter according to realization multimedia service in the multimedia service group, to described The network parameter of multimedia service group is adapted to;
Multimedia Serving Element, for realizing the multimedia clothes for meeting the network parameter in the multimedia service group Business.
8. a kind of multimedia equipment characterized by comprising
Memory, for storing executable program;
Processor realizes any one of claim 1 to 7 institute when for executing the executable program of the memory storage The multimedia service processing method stated.
9. a kind of multimedia service group characterized by comprising the first multimedia as described in any one of claim 1 to 7 Equipment and at least one second multimedia equipment.
10. a kind of readable storage medium storing program for executing, which is characterized in that be stored with executable program, realize that right is wanted when being executed by processor Seek 1 to 7 described in any item multimedia service processing methods.
CN201710872974.2A 2017-09-25 2017-09-25 Multimedia service processing method, device, multimedia service group and storage medium Active CN109561340B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710872974.2A CN109561340B (en) 2017-09-25 2017-09-25 Multimedia service processing method, device, multimedia service group and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710872974.2A CN109561340B (en) 2017-09-25 2017-09-25 Multimedia service processing method, device, multimedia service group and storage medium

Publications (2)

Publication Number Publication Date
CN109561340A true CN109561340A (en) 2019-04-02
CN109561340B CN109561340B (en) 2021-08-10

Family

ID=65862615

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710872974.2A Active CN109561340B (en) 2017-09-25 2017-09-25 Multimedia service processing method, device, multimedia service group and storage medium

Country Status (1)

Country Link
CN (1) CN109561340B (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110855539A (en) * 2019-11-18 2020-02-28 北京小米移动软件有限公司 Device discovery method, device and storage medium
CN111065018A (en) * 2019-12-20 2020-04-24 晨诚兴科技深圳有限公司 WIFI audio amplifier combination of low-, medium-, and high-audio frequency
CN112752048A (en) * 2019-10-31 2021-05-04 华为技术有限公司 Cooperative work method, device, storage medium and cooperative system
CN113647115A (en) * 2019-04-08 2021-11-12 索尼集团公司 Apparatus, computer program and method
CN114650299A (en) * 2022-03-09 2022-06-21 博思数采科技发展有限公司 Networking method for rapidly configuring station of bidding evaluation site
WO2022142795A1 (en) * 2020-12-31 2022-07-07 展讯通信(上海)有限公司 Device recognition method and device

Citations (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20060080607A (en) * 2005-01-05 2006-07-10 엘지전자 주식회사 Streaming system and adaptive bandwidth allocation method
CN102201846A (en) * 2011-05-27 2011-09-28 珠海市魅族科技有限公司 Wireless data transmission system and method based on soft AP (access point) technology
CN102316419A (en) * 2011-09-22 2012-01-11 华为技术有限公司 Method for developing multimedia service in wireless local area network, device and system
CN104244455A (en) * 2014-09-01 2014-12-24 小米科技有限责任公司 Wireless local area network access information sharing method and device
CN104394067A (en) * 2014-12-11 2015-03-04 北京奇虎科技有限公司 Local area network communication method and device
CN104584059A (en) * 2012-08-24 2015-04-29 三星电子株式会社 Electronic device and content sharing method
CN104717214A (en) * 2008-04-24 2015-06-17 高通股份有限公司 Local IP access scheme
CN104902424A (en) * 2015-04-07 2015-09-09 广东欧珀移动通信有限公司 Control method, device and system for wireless intelligent equipment
CN105357116A (en) * 2015-10-23 2016-02-24 上海斐讯数据通信技术有限公司 Method of multiple terminals for accessing server and intelligent terminal
CN105578391A (en) * 2015-12-18 2016-05-11 小米科技有限责任公司 Information processing method, device and system and terminal equipment
CN105610866A (en) * 2016-02-18 2016-05-25 四川长虹电器股份有限公司 System and method for automatically accessing intelligent equipment to home wireless local area network
CN105656602A (en) * 2015-12-31 2016-06-08 小米科技有限责任公司 Data transmission method and apparatus
CN106102077A (en) * 2016-07-29 2016-11-09 北京小米移动软件有限公司 Realize the method and device of wireless relay
US20160329954A1 (en) * 2012-02-06 2016-11-10 Maxlinear, Inc. Method and system for mobile delivery of broadcast content
CN106358189A (en) * 2016-09-05 2017-01-25 北京小米移动软件有限公司 Device and method for accessing wireless local area network

Patent Citations (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20060080607A (en) * 2005-01-05 2006-07-10 엘지전자 주식회사 Streaming system and adaptive bandwidth allocation method
CN104717214A (en) * 2008-04-24 2015-06-17 高通股份有限公司 Local IP access scheme
CN102201846A (en) * 2011-05-27 2011-09-28 珠海市魅族科技有限公司 Wireless data transmission system and method based on soft AP (access point) technology
CN102316419A (en) * 2011-09-22 2012-01-11 华为技术有限公司 Method for developing multimedia service in wireless local area network, device and system
US20160329954A1 (en) * 2012-02-06 2016-11-10 Maxlinear, Inc. Method and system for mobile delivery of broadcast content
CN104584059A (en) * 2012-08-24 2015-04-29 三星电子株式会社 Electronic device and content sharing method
CN104244455A (en) * 2014-09-01 2014-12-24 小米科技有限责任公司 Wireless local area network access information sharing method and device
CN104394067A (en) * 2014-12-11 2015-03-04 北京奇虎科技有限公司 Local area network communication method and device
CN104902424A (en) * 2015-04-07 2015-09-09 广东欧珀移动通信有限公司 Control method, device and system for wireless intelligent equipment
CN105357116A (en) * 2015-10-23 2016-02-24 上海斐讯数据通信技术有限公司 Method of multiple terminals for accessing server and intelligent terminal
CN105578391A (en) * 2015-12-18 2016-05-11 小米科技有限责任公司 Information processing method, device and system and terminal equipment
CN105656602A (en) * 2015-12-31 2016-06-08 小米科技有限责任公司 Data transmission method and apparatus
CN105610866A (en) * 2016-02-18 2016-05-25 四川长虹电器股份有限公司 System and method for automatically accessing intelligent equipment to home wireless local area network
CN106102077A (en) * 2016-07-29 2016-11-09 北京小米移动软件有限公司 Realize the method and device of wireless relay
CN106358189A (en) * 2016-09-05 2017-01-25 北京小米移动软件有限公司 Device and method for accessing wireless local area network

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113647115A (en) * 2019-04-08 2021-11-12 索尼集团公司 Apparatus, computer program and method
CN113647115B (en) * 2019-04-08 2024-01-30 索尼集团公司 Apparatus, method and computer readable storage medium for monitoring network
CN112752048A (en) * 2019-10-31 2021-05-04 华为技术有限公司 Cooperative work method, device, storage medium and cooperative system
CN112752048B (en) * 2019-10-31 2022-04-12 华为技术有限公司 Cooperative work method, device, storage medium and cooperative system
CN110855539A (en) * 2019-11-18 2020-02-28 北京小米移动软件有限公司 Device discovery method, device and storage medium
CN110855539B (en) * 2019-11-18 2021-11-23 北京小米移动软件有限公司 Device discovery method, device and storage medium
CN111065018A (en) * 2019-12-20 2020-04-24 晨诚兴科技深圳有限公司 WIFI audio amplifier combination of low-, medium-, and high-audio frequency
WO2022142795A1 (en) * 2020-12-31 2022-07-07 展讯通信(上海)有限公司 Device recognition method and device
CN114650299A (en) * 2022-03-09 2022-06-21 博思数采科技发展有限公司 Networking method for rapidly configuring station of bidding evaluation site

Also Published As

Publication number Publication date
CN109561340B (en) 2021-08-10

Similar Documents

Publication Publication Date Title
CN109561340A (en) Multimedia service processing method, equipment, multimedia service group and storage medium
US11070970B2 (en) Apparatus and method for providing universal plug and play service based on Wi-Fi direct connection in portable terminal
JP4068094B2 (en) Method for realizing dynamic network configuration and resource sharing between devices
US8001223B2 (en) Automatic switching network points based on configuration profiles
US11201814B2 (en) Configuration of networks using switch device access of remote server
JP4452283B2 (en) Method and system for optimizing data transfer between network devices
US8103784B2 (en) Communication device and communication control method using efficient echonet address determination scheme
CN101299671B (en) Method and device for transmitting and receiving multicast data packet
CN104717603B (en) A kind of Bluetooth Low Energy networking simultaneously supports the method and system of convenient interconnection
JP2005526450A6 (en) Method for realizing dynamic network configuration and resource sharing between devices
US9813291B2 (en) Shortest path bridging (SPB) configuration of networks using client device access of remote
US20100085916A1 (en) Systems and Methods for Hybrid Wired and Wireless Universal Access Networks
CN106341468B (en) Remote awakening method, device and system of intelligent equipment
WO2014015730A1 (en) Device and service discovery method, and device middleware
CN108206772A (en) A kind of dispatching method, system and controller
WO2018001089A1 (en) Service processing method and apparatus, and storage medium
CN114449602A (en) Handover method, storage medium, and wireless communication device
US7953041B2 (en) Method for optimizing a wireless distribution system
TWM312845U (en) Mesh network and apparatus for transmitting packets
CN102006266A (en) Method for configuring service quality parameter, remote access server and system
WO2013189130A1 (en) Communication system and communication method based on ad hoc network
WO2024149336A1 (en) Communication method and apparatus
CN106304119B (en) Wi-Fi coverage system and method based on wireless multi-hop self-organizing network
CN117319427A (en) Internet of things architecture and Internet of things system
US20140115171A1 (en) Electronic apparatus, network system and method for establishing private network

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20220926

Address after: Room R2172, 2nd Floor, Building 3, No. 18, Keyuan Road, Economic Development Zone, Daxing District, Beijing 100176

Patentee after: Bird innovation (Beijing) Technology Co.,Ltd.

Address before: 100191 room 1801, block D, Zhizhen building, 7 Zhichun Road, Haidian District, Beijing

Patentee before: BEIJING XIAONIAO TINGTING TECHNOLOGY Co.,Ltd.

TR01 Transfer of patent right