Embodiment
Please refer to Fig. 1, Fig. 1 is the schematic diagram of the embodiment of the present invention one network system 10.In Fig. 1, network system 10 includes network terminal 1~4.Network terminal 1~4 is compatible with respectively a communication standard, as IEEE1901, IEEE 802.11, IEEE 802.3 or multimedia coaxial cable alliance (Multimedia over Coax Alliance, MoCA).Each communication standard defines a communication mode according to a medium.For instance, IEEE 1901 for power line communication (Power line communications, PLC), IEEE 802.11 for radio communication (being WiFi), IEEE 802.3 for Ethernet, and multimedia coaxial cable alliance is for coaxial cable.Therefore, the unified terminal device in network (unified terminal device, UTDs) is based on a particular intermediaries executive communication (such as the reception/transmission of signal).For example, in network terminal 1, unified terminal device (unified terminal device, UTDs) a1, a2 can communicate by letter mutually by a medium Mediuma.In network terminal 2, unified terminal device b1, b2 can communicate by letter mutually by a medium Medium b, and by that analogy.Unified terminal device a1, a2, b1, b2, c1, c2, d1, d2 can be the electronic installations such as mobile phone, notebook computer, tablet computer, e-book, modulator-demodulator and portable computer system.Further, network system 10 comprises unified terminal device e1~e3.Unified terminal device e1~e3 is compatible with respectively at least two kinds of media, to carry out across multimedia communication.For instance, unified terminal device e1 is compatible with medium Medium a and medium Medium b.Therefore, the unified terminal device a1 that is compatible with medium Medium a can communicate with the unified terminal device b1 that is compatible with medium Medium b by unified terminal device e1, to realize the function across media communication in network system 10.
Please refer to Fig. 2, Fig. 2 is the schematic diagram of the embodiment of the present invention one communicator 20.Communicator 20 can be the unified terminal device in Fig. 1, but is not limited to this.Communicator 20 comprises a processing unit 200, a storage element 210 and a communications interface unit 220.Processing unit 200 can be a microprocessor or an ASIC(Application Specific Integrated Circuit) (application specific integrated circuit, ASIC).Storage element 210 can be arbitrary can processing means the data memory device of 200 access, be used for storing a program code 214, processing unit 200 can read and executive program code 214.For instance, storage element 210 can be subscriber identification module (subscriber identity module, SIM), read-only memory (read-only memory, ROM), flash memory (flash memory), random access memory (random-access memory, RAM), compact disc read-only memory (CD-ROM/DVD-ROM), tape (magnetic tape), hard disk (hard disk) and optical data storage device (optical data storage device) etc., and be not limited to this.Communications interface unit 220 can be a transceiver, and it is used for and another communicator or network terminal exchange signal according to the result of processing unit 200.
It should be noted that main spirits of the present invention is in a multimedia platform, provides user to unify quality of service negoriation experience.In other words, quality of service negoriation is to be carried out in Fig. 1 between each unified terminal device, and each unified terminal device can be used different media to communicate in network system 10.
Please refer to Fig. 3, the flow chart of the flow process 30 that Fig. 3 is the embodiment of the present invention.Flow process 30 is for one first unified terminal device of the network system 10 1 first network ends shown in Fig. 1, to realize across multimedia unified quality of service negoriation.Flow process 30 can be compiled as the program code 214 shown in Fig. 2, and comprises following steps:
Step 300: start.
Step 302: obtain a QoS requirement.
Step 304: by the first media, transmit one second unified terminal device of quality of service negoriation solicited message to second network end that comprises QoS requirement, this second unified terminal device is used one second media communication.
Step 306: when from the second unified terminal device, receive corresponding to quality of service negoriation solicited message a quality of service negoriation return information time, according to quality of service negoriation return information, return a quality of service negoriation object information.
Step 308: finish.
According to flow process 30, user or upper layer application input QoS requirement to the first unified terminal device.The first unified terminal device, by the first medium, is sent to quality of service negoriation solicited message in the second unified terminal device that is compatible with the second medium.If the first unified terminal device receives the quality of service negoriation return information from the second unified terminal device, the first unified terminal device is according to this service quality return information, and return quality of service negoriation result is given user or upper layer application.According to flow process 30, another unified terminal device that unified terminal device can communicate from the different media of use, consulting service quality demand.
According to flow process 30, illustrate as follows.Please refer to Fig. 4, Fig. 4 is the schematic diagram of the quality of service negoriation between embodiment of the present invention device A and device B.Wherein, device A can be the unified terminal device in Fig. 1 with device B.In Fig. 4, device A and device B are used respectively medium Medium 1 and medium Medium 3, and install 1, install 2 and device n be positioned at device A to installing on the data path of B.For instance, install 1 by using medium Medium 1 and medium Medium 2, respectively with device A and install 2 and communicate.Device n, by medium Medium 2 and medium Medium3, communicates with device 2 and device B respectively.Further, please refer to Fig. 5, Fig. 5 is the flow chart of quality of service negoriation in device A.First, device A, from a user or a upper layer application, receives a QoS requirement (step 500), and by device 1, install 2 and device n, transmit include this QoS requirement a quality of service negoriation solicited message to installing B(step 502).It should be noted that device A can, when sending quality of service negoriation solicited message, start a timer.If device A is before this timer timing expires, via device 1, install 2 and device n receive the quality of service negoriation successful information from device B, device A carries out the configuration (step 504, step 506) of QoS parameter.In addition, device A also can return quality of service negoriation and successfully give user or upper layer application (step 508).On the other hand, if device A is before timer timing expires, via device 1, install 2 and device n receive the quality of service negoriation failure information from device B, device A return user or upper layer application quality of service negoriation are carried out unsuccessfully (step 510, step 512).Yet if after timer timing expires, device A does not receive any quality of service negoriation return information yet, install A return quality of service negoriation and unsuccessfully give user or upper layer application (step 514).
From the above, original device (as device A) can be according to quality of service negoriation return information, judgement service quality usefulness (QoS behavior) and the setting of execution service quality.In this embodiment, original device is defined as the device that requires to carry out quality of service negoriation.
Please refer to Fig. 6, the flow chart of the flow process 60 that Fig. 6 is the embodiment of the present invention.Flow process 60, for one first unified terminal device of a first network end of Fig. 1 network system 10, is used for carrying out the unified quality of service negoriation across multimedia platform.Flow process 60 can be compiled as the program code 214 of Fig. 2, and comprises the following step:
Step 600: start.
Step 602: by one first media at least one media, receive one the 3rd unified terminal device in one second unified terminal device to the three network terminal from second network end and include a quality of service negoriation solicited message of a quality of service requirement.
Step 604: detect the first media and whether can support quality of service requirement.
Step 606: when the first media are supported quality of service requirement, by one second media at least one media, turn and pass quality of service negoriation solicited message to the three unified terminal devices.
Step 608: when these first media cannot be supported this quality of service requirement, transmit a quality of service negoriation failure information to this second unified terminal device.
Step 610: finish.
According to flow process 60, when the first unified terminal device receives while being sent to the quality of service negoriation solicited message of the 3rd unified terminal device from the second unified terminal device, the first unified terminal device checks whether itself can support the QoS requirement in quality of service negoriation solicited message by the first medium.When the first unified terminal device judges that the first medium cannot be supported QoS requirement, the first unified terminal device transmits quality of service negoriation failure information to the second terminal installation.On the other hand, when the first unified terminal device judges that the first medium can be supported QoS requirement, the first unified terminal device turns biography quality of service negoriation solicited message to the three unified terminal devices.
According to flow process 60, illustrate as follows.Please again with reference to figure 4, flow process 60 can be applicable to device 1 in Fig. 4, install 2 and device n.About installing 1, install 2 and device n between detailed operation, please refer to Fig. 7, Fig. 7 is device 1, install 2 and device n between the flow chart of a quality of service negoriation flow process.Device 1 is by medium Medium 1, and from device, A receives the quality of service negoriation solicited message (step 700) that comprises QoS requirement.Then, install 1 and judge itself whether for this reason target (step 702) of quality of service negoriation solicited message.When the target of device 1 judgement quality of service negoriation solicited message is itself, installs 1 inspection medium Medium 1 and whether can support QoS requirement (step 703).If medium Medium 1 cannot support QoS requirement, install 1 transmission quality of service negoriation failure information to installing A(step 7031).If medium Medium 1 can support QoS requirement, install 1 transmission quality of service negoriation successful information to installing A, and carry out the setting (step 7032) of QoS parameter.
While it should be noted that the target when itself non-quality of service negoriation solicited message of device 1 judgement, install 1 and can check whether medium Medium 1 can support QoS requirement (704).If medium Medium1 cannot support QoS requirement, install 1 and give up quality of service negoriation solicited message, and return quality of service negoriation failure information to installing A(step 706).On the other hand, if medium Medium 1 can support QoS requirement, install 1 Medium 2 that utilizes the medium, quality of service negoriation solicited message is turned and reaches device 2, and wait for the quality of service negoriation return information (step 708) from destination apparatus B.When device 1 receives the quality of service negoriation successful information (via device 2 and device n) from device B, install 1 and turn this quality of service negoriation successful information of biography to installing A, and carry out the setting (step 710, step 712) of QoS parameter.Otherwise, when device 1 receives the quality of service negoriation failure information from device B, install 1 turn pass this quality of service negoriation failure information to installing A(step 713, step 714).In addition,, if install the 1 quality of service negoriation return information not receiving from device B, install 1 and can not carry out any operation (step 715).Should be noted, step 700~715 can be applicable between device A and device B in device any on data path (install 1, install 2 and install n).About install 2 and device n detailed operation can, with reference to aforementioned, for the sake of clarity, be not repeated herein.
According to aforesaid operations, a device between original device and destination apparatus (device 1 described above, install 2 and device n) can be according to the service quality return information from destination apparatus or the ability of medium (medium capability), judgement service quality usefulness is also carried out the setting of service quality.In this embodiment, destination apparatus refers to that original device wants to carry out with it device of quality of service negoriation.
Please refer to Fig. 8, the flow chart of the flow process 80 that Fig. 8 is the embodiment of the present invention.Flow process 80, for one first unified terminal device of the network system 10 1 first network ends shown in Fig. 1, is used for carrying out the unified quality of service negoriation across multimedia platform.Flow process 80 can be compiled as the program code 214 in Fig. 2, and comprises the following step:
Step 800: start.
Step 802: by the first media, one second unified terminal device from second network end receives a quality of service negoriation solicited message that includes quality of service requirement.The target receiving terminal of this quality of service negoriation solicited message is this first unified terminal device.
These the second unified terminal application of installation second media communicate.
Step 804: judge whether the first media can support quality of service requirement.
Wherein, in one embodiment, this quality of service negoriation solicited message can be sent and is transmitted to the first unified terminal device via the 3rd unified terminal device by the second unified terminal device, wherein, the 3rd unified terminal device is communicated by letter with the second unified terminal device by the second media, and the 3rd unified terminal device is communicated by letter with the first unified terminal device by these first media.
Step 806: according to judged result, transmit quality of service negoriation return information to a second unified terminal device.
Step 808: finish.
According to flow process 80, the first unified terminal devices, from the second unified terminal device, receive the quality of service negoriation solicited message that includes QoS requirement, and whether inspection itself can support this QoS requirement.In addition, according to judging whether the first medium can support the judged result of QoS requirement, the first unified terminal device transmits quality of service negoriation return information (as quality of service negoriation successful information or quality of service negoriation failure information) to the second unified terminal device.
According to flow process 80, illustrate as follows.Please, again with reference to figure 4, flow process 80 can be applicable to the device B in Fig. 4.Detailed operation about device B, please refer to Fig. 9, and Fig. 9 is the flow chart of quality of service negoriation flow process in device B.Device B, by medium Medium 3, receives the quality of service negoriation solicited message (step 900) that includes QoS requirement.Subsequently, device B checks whether medium Medium 3 can support QoS requirement (step 902).If medium Medium 3 cannot support QoS requirement, device B return quality of service negoriation failure information is to installing A(step 906).On the other hand, if medium Medium 3 can support QoS requirement, device B returns quality of service negoriation successful information to installing A, and carries out the setting of QoS parameter.
According to aforesaid operations, destination apparatus (as device B) can be according to the ability of medium (medium capability), judgement service quality usefulness and the setting of execution service quality.
Further, using a RSVP of quality of service negoriation as example.Please refer to Figure 10, the schematic diagram in the unified quality of service negoriation path that Figure 10 is the embodiment of the present invention.The bandwidth of the reserved 2M of user's wish is given file transfer protocol (FTP) (File Transfer Protocol, the FTP) transfer of data between unified terminal device UTD1 and unified terminal device UTD2.Wherein, unified terminal device UTD3 is positioned at unified terminal device UTD1 and unifies on the data path between terminal installation UTD2.In Figure 10, unified terminal device UTD1 is used WiFi to communicate, and unified terminal device UTD2 utilizes power line communication to communicate, and unified terminal device UTD3 can communicate by WiFi and power line communication.In the case, user inputs QoS requirement (the bandwidth of reserved 2M is given file transfer protocol (FTP) transfer of data) in unified terminal device UTD1, thereby unified terminal device UTD1, via unified terminal device UTD3, is sent to unified terminal device UTD2 by QoS requirement.It should be noted that unified terminal device UTD1, UTD2, UTD3 should observe respectively the operating principle of flow process 30,60,80.Further, please refer to Figure 11 and Figure 12, the schematic diagram of the quality of service negoriation burst that wherein Figure 11 provides for one embodiment of the invention, the schematic diagram of the quality of service negoriation burst that Figure 12 provides for another embodiment of the present invention.In Figure 11, a unified service quality module (or being called module) of unified terminal device UTD1 receives the QoS requirement (the bandwidth of reserved 2M is given the file transfer protocol (FTP) transfer of data between unified terminal device UTD1 and unified terminal device UTD2) (step 1102) from user.Unified terminal device UTD1 transmits quality of service negoriation solicited message to unified terminal device UTD3 (step 1104).Subsequently, unified terminal device UTD3 obtains QoS requirement from quality of service negoriation solicited message, and checks whether the WiFi of lower floor can support this QoS requirement (step 1106).If be positioned at the WiFi of unified terminal device UTD3 lower floor, cannot support QoS requirement, unified terminal device UTD3 gives up quality of service negoriation solicited message, and replys quality of service negoriation failure information to unified terminal device UTD1 (step 1108-1110).Thus, the unified service quality module of unified terminal device UTD1 informs that QoS of customer consults unsuccessfully (step 1112).
Be different from Figure 11, the WiFi that is positioned at unified terminal device UTD3 lower floor in Figure 12 can support QoS requirement.Step 1202, step 1204, step 1206 are identical with step 1102, step 1104, step 1106 respectively, repeat no more.Next, unified terminal device UTD3 turns quality of service negoriation solicited message to reach unified terminal device UTD2 (step 1208).After unified terminal device UTD2 receives quality of service negoriation solicited message, a unified service quality module of unified terminal device UTD2 can check whether the power line communication of lower floor can support this QoS requirement (step 1210).If the power line communication of unified terminal device UTD2 lower floor can be supported this QoS requirement, unified terminal device UTD2 can return quality of service negoriation successful information to unified terminal device UTD3 (step 1212), and the unified service quality module of unified terminal device UTD2 is carried out the setting (step 1214) of QoS parameter to the power line communication of lower floor.In addition, in unified terminal device UTD3, after unified terminal device UTD2 receives quality of service negoriation successful information, the unified service quality module of unified terminal device UTD3 is carried out the setting (step 1216) of QoS parameter to the WiFi of lower floor and power line communication.Further, unified terminal device UTD3 can turn the quality of service negoriation successful information receiving to reach unified terminal device UTD1.Then, unified terminal device UTD1 carries out the setting of QoS parameter of the WiFi of lower floor, and informs that QoS of customer consults successfully (step 1218).
On the other hand, if the power line communication of unified terminal device UTD2 lower floor cannot be supported QoS requirement, unified terminal device UTD2 return quality of service negoriation failure information is to unified terminal device UTD3 (step 1220), and the power line communication of the unified service quality module Bu Dui lower floor in unified terminal device UTD2 is carried out the setting of QoS parameter.In addition, in unified terminal device UTD3, after unified terminal device UTD2 receives quality of service negoriation failure information, unified terminal device UTD3 turns quality of service negoriation failure information to reach unified terminal device UTD1 (step 1222).Thereby the unified service quality module of unified terminal device UTD1 informs that QoS of customer consults unsuccessfully (step 1224).
It should be noted that above-mentioned to comprise advised step in steps, can realize by modes such as hardware, firmware (be the combination of hardware unit and computer instruction, the data in hardware unit are read-only software data) or electronic systems.Hardware can comprise simulation, numeral and hybrid circuit (being microcircuit, microchip or silicon).Electronic system can comprise system single chip (system on chip, SOC), system in package (system in package, Sip), computer module (computer on module, COM) and communicator 20.
In sum, the invention provides a kind of method of the unified quality of service negoriation across multimedia platform.Thus, use between the device of different media and can carry out quality of service negoriation, thereby offer the unification that QoS of customer consults, experience is set.
Although the present invention with preferred embodiment openly as above; so it is not in order to limit the present invention, any those skilled in the art, without departing from the spirit and scope of the present invention; when doing a little change and retouching, so protection scope of the present invention is when being as the criterion with claims.