Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the invention, the technical scheme in the embodiment of the invention is clearly and completely described, obviously, described embodiment only is the present invention's part embodiment, rather than whole embodiment.Based on the embodiment among the present invention, those of ordinary skills belong to the scope of protection of the invention not making the every other embodiment that obtains under the creative work prerequisite.
Embodiment of the method one
A kind of video transmission method, the method of the embodiment of the invention is applicable in as shown in Figure 1 the structural system, and video acquisition device (first-class as making a video recording), video display devices (such as TV, display etc.) and user's calling device (such as phone) of first user end and the second user side all is connected with separately optical network device (such as ONU or ONT).The executive agent of the video transmission method in the present embodiment is the second user side optical network device, and flow chart comprises as shown in Figure 2:
The optical network device of step 101, the second user side receives the first-class media information that the first user end sends;
Be appreciated that first-class media information in the present embodiment is after user's calling device of user's calling device of first user end and the second user side is set up session connection, transmits according to session connection.
The optical network device of step 102, the second user side is determined to comprise the first video labeling that identifies the first video information in the described first-class media information, then carries out the prompting that video shows;
Particularly, first-class media information comprises audio/video information and video information and identification information thereof etc., and the first video labeling is the characteristic information of two layers of PON or three layers, particularly, the first video labeling information can include but not limited to following arbitrary information: VLAN (Virtual Local Area Network, VLAN) information, priority information (Priority), network protocol message (IP), medium access control (MediaAccess Control, MAC) information, multicast address, and procotol differentiated services code points territory (Differentiated Services Code Point, DSCP) or the information such as network protocol service type field (Type ofService, TOS).
When carrying out the prompting of video demonstration, can by reporting to the police or flashing light, also can send information to user's calling device, and point out by warning or the flashing light of user's calling device.
The optical network device of step 103, the second user side is resolved described first-class media information and is obtained the first video information, and the video display devices that described the first video information is sent to the second user side shows.
This video display devices is the devices such as display of TV or computer.
As seen, in the video transmission method of embodiments of the invention, receiving terminal at video, if comprise the first video labeling that identifies the first video information in the first-class media information that receives, this first video labeling is the characteristic information of two layers of passive optical-fiber network PON or three layers, then carry out the prompting that video shows, and video display devices such as the devices such as TV or display that the first video information sends to receiving terminal are shown, can receive like this video information of opposite end by optical network device, and the prompting local terminal shows, so that even user's calling device at two ends does not support video reception to show, phone such as two ends is not visual telephone, the video information that also can show the opposite end has reduced the realization requirement of transmission of video.
Embodiment of the method two
A kind of video transmission method, the method of the embodiment of the invention is applicable in as shown in Figure 1 the structural system, and video acquisition device (first-class as making a video recording), video display devices (such as TV, display etc.) and user's calling device (such as phone) of first user end and the second user side all is connected with separately optical network device (such as ONU or ONT).The executive agent of the video transmission method in the present embodiment is first user end optical network device, and flow chart comprises as shown in Figure 3:
Step 201, first user end optical network device receive the first-class media information of the terminal installation collection of first user end;
Be appreciated that first-class media information in the present embodiment is after user's calling device of user's calling device of first user end and the second user side is set up session connection, transmits according to session connection.
Step 202, first user end optical network device are determined to comprise the first video information in the described first-class media information, then add the first video labeling of described the first video information of sign;
The first video labeling is that the information such as the characteristic information of two layers of passive optical-fiber network PON or three layers such as vlan information, priority information, IP information, MAC information, multicast address, IP TOS/DSCP domain information identify.
Particularly, convert first-class media such as audio/video coding to digital signal, and add the characteristic indication position for this digital signal, so just added the first video labeling.
First-class media information behind step 203, first user end optical network device transmission interpolation the first video labeling is to described the second user side, so that the video display devices of described the second user side shows described the first video information.
Be appreciated that the second user side in the first video information that receives after adding the first video labeling, can show according to the video transmission method such as embodiment of the method one the first video information, do not repeat them here.
Need to prove, when first user end and the second user side carry out the transmission of video information by optical network system, when the first medium stream information or the second medium stream information are transferred to OLT equipment in the optical-fiber network, when OLT recognize comprising the first video information or the second video information, can utilize upper abundant business datum service quality (the Quality of Service of OLT, QoS) mechanism, the quality of assurance video calling.
As seen, in the video transmission method of embodiments of the invention, transmitting terminal at video, the first medium stream information that the terminal installation of first user end will gather is (such as local video information, together with voice messaging), send to the optical network device that is connected with the first user end by the conversation connection, this optical network device can add the first video labeling, this first video labeling is the characteristic information of two layers of passive optical-fiber network PON or three layers, and the first medium stream information that adds behind the first video labeling sent to the optical network device that is connected with the second user side, so that the optical network device of the second user side connection points out the second user side to carry out display video information according to the first video labeling.Can realize the visual prompts opposite end is shown by optical network device like this, so that even user's calling device at two ends does not support video reception to show, phone such as two ends is not visual telephone, can show the video information of opposite end yet, has reduced the realization requirement of transmission of video.
Embodiment of the method three
A kind of video transmission method, the method of the embodiment of the invention is applicable in as shown in Figure 1 the structural system, the video acquisition device of first user end and the second user side (first-class as making a video recording), video display devices (such as TV, display etc.) and user's calling device (such as phone) all are connected with separately optical network device, and optical network device is ONT or ONU in the present embodiment.The flow chart of the video transmission method in the present embodiment comprises as shown in Figure 4:
The first-class media information that the ONT/ONU receiver terminal device of step 301, first user end gathers;
Be appreciated that first-class media information is after user's calling device of user's calling device of caller first user end and called first user end is set up session connection, transmits according to session connection.And the video information in the first medium stream information can be gathered by the video acquisition device of first user end, and voice messaging can gather by the calling device of first user end.
The ONT/ONU of step 302, first user end determines to comprise the first video information in the described first-class media information, then add the first video labeling of sign the first video information, and the first-class media information behind transmission interpolation the first video labeling is to the second user side;
Simultaneously, the video display devices that the ONT/ONU of first user end can also send to the first video information the first user end shows, like this video that can the simultaneous display local terminal gathers of first user end.
For ONT, each ONT connects the terminal installation of a user side; And for ONU, each ONU connects the terminal installation of a plurality of user sides, therefore for ONU, need at first search the address information of the second user side, sends the first medium stream information again.
The ONT/ONU of step 303, the second user side receives the first-class media information that the first user end sends, and recognizes the first video labeling, carries out the prompting that video shows;
The ONT/ONU of step 304, the second user side shows the video display devices that the first video information sends to the second user side.
Be appreciated that, in a specific embodiment, the all right execution in step 305 of the ONT/ONU of the second user side, receive the second media information of the terminal installation collection of the second user side, if determine to comprise in the second media information the second video information that the second user side gathers, then add the second video labeling of sign the second video information;
The second video labeling can be to identify with two layers, three layers characteristic information of the second user side optical network device such as the information such as vlan information, priority information, IP information, MAC information and multicast address.
Second media information behind ONT/ONU transmission interpolation second video labeling of step 306, the second user side carries out the demonstration of the second video information to the first user end.
Simultaneously, the video display devices that the ONT/ONU of the second user side can also send to the second video information the second user side shows, the video that such the second user side also can the simultaneous display local terminal gathers.
For ONT, each ONT connects the terminal installation of a user side; And for ONU, each ONU connects the terminal installation of a plurality of user sides, therefore for ONU, need at first search the address information of first user end, sends the first medium stream information again.
Above-mentioned the first video labeling of mentioning and the second video labeling are the characteristic information of two layers of passive optical-fiber network PON or three layers, particularly, can be following arbitrary information: vlan information, priority information, network protocol message, MAC information, multicast address, procotol DSCP domain information and procotol TOS domain information etc.
And first, second video labeling, user side do not represent the relation of order, but in order to distinguish different video labelings or user side.
Need to prove, when first user end and the second user side carry out the transmission of video information by optical network system, when the first medium stream information or the second medium stream information are transferred to OLT equipment in the optical-fiber network, when OLT recognize comprising the first video information or the second video information, can utilize the upper abundant business datum QoS mechanism of OLT, guarantee the quality of video calling.
As seen, in the video transmission method of embodiments of the invention, transmitting terminal at video, the first medium stream information that the terminal installation of first user end will gather is (such as local video information, together with voice messaging), send to the optical network device that is connected with the first user end by the conversation connection, this optical network device can add the first video labeling, the first video labeling is the characteristic information of two layers of passive optical-fiber network PON or three layers, and the first medium stream information that adds behind the first video labeling sent to the optical network device that is connected with the second user side, the optical network device of the second user side connection points out the second user side to carry out display video information according to the first video labeling.Can realize the visual prompts opposite end is shown by optical network device like this, so that even user's calling device at two ends does not support video reception to show, phone such as two ends is not video TV, can show the video information of opposite end yet, has reduced the realization requirement of transmission of video.
Apparatus embodiments one
A kind of optical network device, the optical network device of the present embodiment are ONU or ONT, directly are connected with video display devices, calling device and the video acquisition device of the second user side, and structural representation comprises as shown in Figure 5:
First information receiving element 10 is used for receiving the first-class media information that the first user end sends;
Here first-class media information is after user's calling device of user's calling device of first user end and the second user side is set up session connection, transmits according to session connection.
Tip element 11 is used for determining that the first-class media information that described information receiving unit 10 receives comprises the first video labeling that identifies the first video information, then carries out the prompting that video shows; Described the first video labeling is the characteristic information of two layers of passive optical-fiber network PON or three layers;
Particularly, first-class media information comprises audio/video information and video information and identification information thereof etc., and the first video labeling information can be following arbitrary information: the information such as vlan information, priority information, network protocol message, media access control information, multicast address, procotol DSCP domain information and procotol TOS domain information.Tip element 11 can by reporting to the police or flashing light, also can send information to user's calling device, and point out by warning or the flashing light of user's calling device when carrying out the prompting of video demonstration.
First sends display unit 12, be used for resolving described information receiving unit 10 first-class media informations and obtain the first video information, and the video display devices that described the first video information is sent to the second user side shows.The video display devices here is television set or computer monitor etc.
As seen, in the optical network device of embodiments of the invention, if comprise the first video labeling that identifies the first video information in the first-class media information that first information receiving element 10 receives, the first video labeling is the characteristic information of two layers of passive optical-fiber network PON or three layers, then Tip element 11 carries out the prompting that video shows, first sends display unit 12 shows video display devices such as television set or the display etc. that the first video information sends to receiving terminal, can receive like this video information of opposite end by optical network device, and the prompting local terminal shows, so that even user's calling device at two ends does not support video reception to show, the video information that also can show the opposite end has reduced the realization requirement of transmission of video.
Apparatus embodiments two
A kind of optical network device, the equipment of the present embodiment is compared with the equipment of apparatus embodiments one, has increased the second information receiving unit 13, the first adding device 14 and the second transmission display unit 15, and structural representation comprises as shown in Figure 6:
The second information receiving unit 13 is used for receiving the second media information that described the second user side gathers;
The first adding device 14 is used for determining that the second media information that described the second information receiving unit 13 receives comprises the second video information, then adds the second video labeling of described the second video information of sign; Described the second video labeling is the characteristic information of two layers of passive optical-fiber network PON or three layers;
Particularly, the second media information comprises audio/video information and video information and identification information thereof etc., and the second video labeling is that characteristic information such as the information such as vlan information, priority information, IP information, MAC information and multicast address of two layers of PON or three layers identify.
Second sends display unit 15, is used for sending described the first adding device 14 and adds second media information behind the second video labeling to described first user end, so that described first user end shows described the second video information; And/or the video display devices that described the second video information is sent to described the second user side shows;
Second sends the video display devices that display unit 15 can also send to the second video information the second user side shows, such the second user side can be when showing the video information of first user end, the video that the simultaneous display local terminal gathers.
Be appreciated that, when if the optical network device of the present embodiment is ONU, because ONU is connected with the terminal installation of a plurality of user sides, when first sends display unit 15 and send the first video information to the display device of the second user side, need to obtain first the address information of the second user side; And second send display unit 15 when sending second media information after adding the second video labeling to described first user end, also needs to obtain first the address information of first user end.
The optical network device of the present embodiment, not only can receive the video information that sends from the opposite end user side, show, can also receive the second video information that the second user side gathers by the second information receiving unit 13, behind the first adding device 14 interpolations the second video labeling, second sends display unit 15 sends to the opposite end and points out demonstration adding the second medium stream information behind the second video labeling, or video display devices such as television set or the display etc. that the second video information sends to the second user side are carried out simultaneous display, such the second user side can show the video of opposite end of conversing, also can show the video information of local terminal, the first user end also can show the video of opposite end of conversing.Realized the mutual demonstration of video, and less demanding to the realization of transmission of video.
Apparatus embodiments three
A kind of optical network device, the optical network device of the present embodiment are ONU or ONT, directly are connected with video display devices, calling device and the video acquisition device of first user end, and structural representation comprises as shown in Figure 7:
The 3rd information receiving unit 30 is used for receiving the first-class media information that the first user end gathers;
First-class media information is after user's calling device of user's calling device of first user end and the second user side is set up session connection, transmits according to session connection.Comprise voice messaging, video information and identification information thereof etc.
The second adding device 31 is used for determining that the first-class media information that described the 3rd information receiving unit 30 receives comprises the first video information, then adds the first video labeling of described the first video information of sign; Described the first video labeling is the characteristic information of two layers of passive optical-fiber network PON or three layers;
The first video labeling can be to identify with two layers, three layers characteristic information of first user end optical network device such as the information such as vlan information, priority information, IP information, MAC information and multicast address.
The 3rd sends display unit 32, be used for sending described the second adding device 31 and add first-class media information behind the first video labeling to described the second user side, so that the video display devices of described the second user side shows described the first video information, this video display devices is television set or display.
In a specific embodiment, the equipment of the present embodiment can also comprise:
The 4th sends display unit 33, and the display unit that is used for described the first video information is sent to described first user end shows; By optical network device, the first video information both can send to the first user end and show like this, also can simultaneous display on the display unit of first user end.
And if the optical network device of the present embodiment is when being ONU, because ONU is connected with the terminal installation of a plurality of user sides, the 3rd sends display unit 32 when sending first-class media information after adding the first video labeling to described the second user side, need to obtain first the address information of the second user side.
As seen, in the optical network device of embodiments of the invention, if the 3rd sends in the first-class media information that display unit 32 receives the collection of first user end and comprises the first video information, the second adding device 31 adds sign the first video labeling, send display unit 32 by the 3rd first video information of adding behind the first video labeling is sent to i.e. the second user side of receiving terminal, point out the second user side to show.The video information of local terminal can be sent to the opposite end and shows by optical network device like this, even so that user's calling device at two ends does not support video reception to show, also can send the video of local terminal, reduced the realization requirement of transmission of video.
System embodiment
A kind of Video transmission system, comprise: the first optical network device and the second optical network device, described the first optical network device, such as apparatus embodiments one or apparatus embodiments two described optical network devices, the second optical network device such as apparatus embodiments three described optical network devices.
Particularly, described the first optical network device is used for receiving first-class media information, determines to comprise the first video information in the described first-class media information, then adds the first video labeling of described the first video information of sign; Described the first video labeling is the characteristic information of two layers of passive optical-fiber network PON or three layers; Give described the second optical network device with the first-class media information behind interpolation the first video labeling;
Described the second optical network device is used for receiving first-class media information, determines to comprise the first video labeling that identifies the first video information in the described first-class media information, then carries out the prompting that video shows; Resolve described first-class media information and obtain the first video information, and the video display devices that described the first video information is sent to the second user side shows, described video display devices is TV or display.
Wherein: the second optical network device comprises as shown in Figure 5:
First information receiving element 10 is used for receiving the first-class media information that the first user end sends;
Tip element 11 is used for determining that the first-class media information that described first information receiving element 10 receives comprises the first video labeling that identifies the first video information, then carries out the prompting that video shows; Described the first video labeling is the characteristic information of two layers of passive optical-fiber network PON or three layers;
First sends display unit 12, be used for resolving the first-class media information of described first information receiving element and obtain the first video information, and the video display devices that described the first video information is sent to the second user side shows, described video display devices is television set or display.
The first optical network device comprises as shown in Figure 7:
The 3rd information receiving unit 30 is used for receiving the first-class media information that the first user end gathers;
The second adding device 31 is used for determining that the first-class media information that described the 3rd information receiving unit 31 receives comprises the first video information, then adds the first video labeling of described the first video information of sign; Described the first video labeling is the characteristic information of two layers of passive optical-fiber network PON or three layers;
The 3rd sends display unit 32, is used for sending described the second adding device 31 and adds first-class media information behind the first video labeling to described the second optical network device.
In a concrete application examples, system as shown in Figure 1 comprises:
First user end and the second user side, two ends all comprise video acquisition device such as camera separately; Video shows display unit such as television set or display etc., and user's calling device such as phone reach the optical network device that all is connected with said apparatus, and this also comprises the optical-fiber network for the optical network device communication at two ends.
When video communication is carried out by following method in two ends: user's calling device of first user end is called out the second user side, after two ends connect by optical-fiber network; User's calling device of first user end gathers audio-frequency information, and video acquisition device gathers the video information of first user simultaneously, add the first video labeling by optical network device after, send to the optical network device of the second user side; The optical network device of the second user side is resolved to the first video labeling, and what the video information of first user was sent to the second user side is that video display devices shows.
Equally, the video acquisition device of the second user side also can gather the second user's video information, and the video display devices that sends to according to the method described above the first user end shows.
In addition, after video information of each end of the video acquisition device collection at two ends, optical network device that can be by each end carries out local display video information at video display devices separately.
As seen, in the video transmission method of embodiments of the invention, receiving terminal at video, if comprise the first video labeling that identifies the first video information in the first-class media information that receives, the first video labeling is the characteristic information of two layers of passive optical-fiber network PON or three layers, then carry out the prompting that video shows, and the first video information is sent to the video display devices of receiving terminal such as phone or display show, can receive like this video information of opposite end by optical network device, and the prompting local terminal shows, so that even user's calling device at two ends does not support video reception to show, the video that also can show the opposite end has reduced the realization requirement of transmission of video.
One of ordinary skill in the art will appreciate that all or part of step in the whole bag of tricks of above-described embodiment is to come the relevant hardware of instruction finish by program, this program can be stored in the computer-readable recording medium, and storage medium can comprise: read-only memory (ROM), random access memory (RAM), disk or CD etc.
Above video transmission method, system and the optical network device that the embodiment of the invention is provided, be described in detail, used specific case herein principle of the present invention and execution mode are set forth, the explanation of above embodiment just is used for helping to understand method of the present invention and core concept thereof; Simultaneously, for one of ordinary skill in the art, according to thought of the present invention, all will change in specific embodiments and applications, in sum, this description should not be construed as limitation of the present invention.