CN103856784A - Data sending method, data receiving method and electronic devices - Google Patents

Data sending method, data receiving method and electronic devices Download PDF

Info

Publication number
CN103856784A
CN103856784A CN201210511129.XA CN201210511129A CN103856784A CN 103856784 A CN103856784 A CN 103856784A CN 201210511129 A CN201210511129 A CN 201210511129A CN 103856784 A CN103856784 A CN 103856784A
Authority
CN
China
Prior art keywords
data
transport stream
source data
electronic equipment
source
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
CN201210511129.XA
Other languages
Chinese (zh)
Other versions
CN103856784B (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.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing 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 Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN201210511129.XA priority Critical patent/CN103856784B/en
Publication of CN103856784A publication Critical patent/CN103856784A/en
Application granted granted Critical
Publication of CN103856784B publication Critical patent/CN103856784B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Compression Or Coding Systems Of Tv Signals (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

The invention provides a data sending method, a data receiving method, an electronic device corresponding to the data sending method, and an electronic device corresponding to the data receiving method. The data sending method comprises the steps that first source data are compressed to form a first transmission stream; a second transmission stream is obtained on the basis of second source data; the first transmission stream and the second transmission stream are sent to a receiving device, so that the data are displayed on the receiving device. According to the technical scheme, occupancy of resources of the electronic device for data sending can be reduced, and image quality of the transmitted data is ensured.

Description

Data sending, receiving method and electronic equipment
Technical field
The present invention relates to electronic technology field, more specifically, design a kind of data transmission method for uplink and carry out electronic equipment and the data receive method of data transmission and carry out the electronic equipment of data receiver.
Background technology
Along with the development of electronic technology, various electronic equipments are there are, such as notebook, intelligent communications terminal and personal digital assistant etc.Can displaying video on these electronic equipments, play games, presentation file etc.But, because the screen of electronic equipment is less or the power consumption of electronic equipment and the restriction of performance, need in some cases the certain applications that move on the screen on electronic equipment (showing transmitting apparatus) or electronic equipment to be presented on other the adjacent electronic equipment such as television set, projecting apparatus etc. (showing receiving equipment).
In order to carry out glibly demonstration or the broadcasting of video, game etc., described such as the electronic equipment of television set, projecting apparatus etc. on adopt stack (Overlay) technology.Particularly, show for being sent to the Various types of data that shows or play on receiving equipment, in demonstration transmitting apparatus, utilize mixed cell to mix, then utilize various transmission technologys that mixed data are sent to described demonstration receiving equipment.
For the realization of described mixed cell, can realize by the software stack of central processing unit and/or receiver.Now, in the mode of use software stack, described mixed cell will increase taking of central processing unit; And using in the mode of receiver, can increase hardware cost and increase the expense that shows the system bus in transmitting apparatus.In addition, for encoded video data, utilizing before mixed cell mixes, need this video data decoding, then decoded video data and other to be sent to the data mixing that shows receiving equipment, after mixing, carry out compressed encoding to be sent to demonstration receiving equipment.Visible, described encoded video data has experienced second-compressed, and this has reduced the image quality of video image and has increased extra processing expenditure.
Therefore, expect to provide a kind of data transfer scheme that ensures the image quality of the data that transmit in reducing the resource occupation that shows transmitting apparatus.
Summary of the invention
The embodiment of the present invention provides a kind of data transmission method for uplink and data receive method and corresponding electronic equipment, its can reduce the electronic equipment that carries out data transmission resource occupation, and ensure the image quality of the data that transmit.
On the one hand, provide a kind of data transmission method for uplink for electronic equipment, described data comprise the first source data and the second source data, and described method comprises: by described first source data boil down to the first transport stream;
Obtain the second transport stream based on the second source data; Described the first transport stream and the second transport stream are sent to receiving equipment, to show described data on described receiving equipment.
In described data transmission method for uplink, the described step that obtains the second transport stream based on the second source data can comprise: determine whether described the second source data is the source data of having encoded; If described the second source data is the source data of having encoded, described the second source data is encapsulated as to the second transport stream, if described the second source data is not the source data of having encoded, by described second source data boil down to the second transport stream.
In described data transmission method for uplink, the described step that described the first transport stream and the second transport stream are sent to receiving equipment can comprise: be respectively described the first transport stream and the second transport stream and add the first program identifier and the second program identifier, this first program identifier is different from this second program identifier; Merge the first transport stream and second transport stream of having added program identifier; The first transport stream having merged and the second transport stream are sent to described receiving equipment.
In described data transmission method for uplink, described data also can comprise the 3rd source data, and described method also can comprise: obtain the 3rd transport stream based on the 3rd source data; Described the first transport stream, the second transport stream and the 3rd transport stream are sent to receiving equipment, to show described the first source data, the second source data and the 3rd source data on described receiving equipment.
In described data transmission method for uplink, described data transmission method for uplink carries out based on WiFi Wireless Display technology.
In described data transmission method for uplink, described the first source data can be user interface data, and described the second source data can be vedio data.
On the other hand, provide a kind of data receive method for electronic equipment, having comprised: receiving data stream has also obtained the first transport stream and the second transport stream; The first transport stream is decompressed and obtains the first data; The second transport stream is decompressed and obtains the second data; Described the first data and the second data are obtained by mixing to generated data, to show on described electronic equipment.
In described data receive method, described receiving data stream also obtains the first transport stream and the step of the second transport stream can comprise: receive the transport stream with program identifier; Distinguish the first transport stream and the second transport stream in described transport stream according to described program identifier; Obtain the first transport stream and the second transport stream that are distinguished.
In described data receive method, described the first transport stream is decompressed and the step that obtains the first data can comprise: the first transport stream is carried out to decapsulation; Utilize the first decoding process decode and obtain described the first data the first data flow of decapsulation.
In described data receive method, described the second transport stream is decompressed and the step that obtains the second data can comprise: the second transport stream is carried out to decapsulation; Utilize the second decoding process decode and obtain described the second data the second data flow of decapsulation.
In described data receive method, described the first data can be user interface datas, and described the second data can be vedio datas.
On the other hand, a kind of electronic equipment that carries out data transmission is provided, and described data comprise the first source data and the second source data, and described electronic equipment comprises: compression unit, be used for described first source data boil down to the first transport stream, and obtain the second transport stream based on the second source data; Transmitting element, for described the first transport stream and the second transport stream are sent to receiving equipment, to show described data on described receiving equipment.
On the other hand, provide a kind of electronic equipment that carries out data receiver, having comprised: receiving element, obtains the first transport stream and the second transport stream for receiving data stream; Decompression unit, for the first transport stream is decompressed and obtains the first data, and decompresses and obtains the second data the second transport stream; Mixed cell, for being obtained by mixing generated data to described the first data and the second data, to show on described electronic equipment.
In the technique scheme of the embodiment of the present invention, by carrying out mixed processing at receiving terminal instead of carrying out mixed processing at transmitting terminal, can reduce the resource occupation of the electronic equipment that carries out data transmission.
Brief description of the drawings
In order to be illustrated more clearly in the technical scheme of the embodiment of the present invention, to the accompanying drawing of required use in embodiment or description of the Prior Art be briefly described below, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, do not paying under the prerequisite of creative work, can also obtain according to these accompanying drawings other accompanying drawing.
Fig. 1 has been indicative icon according to the flow chart of the data transmission method for uplink of the embodiment of the present invention;
Fig. 2 has been indicative icon according to the flow chart of the data receive method of the embodiment of the present invention;
Fig. 3 has been indicative icon according to the block diagram of the electronic equipment that carries out data transmission of the embodiment of the present invention;
Fig. 4 has been indicative icon according to the block diagram of the compression unit in the electronic equipment that carries out data transmission of the embodiment of the present invention;
Fig. 5 has been indicative icon according to the block diagram of the transmitting element in the electronic equipment that carries out data transmission of the embodiment of the present invention;
Fig. 6 has been indicative icon according to the block diagram of the electronic equipment that carries out data receiver of the embodiment of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is the present invention's part embodiment, instead of whole embodiment.
Fig. 1 has been indicative icon according to the flow chart of the data transmission method for uplink 100 of the embodiment of the present invention.This data transmission method for uplink 100 can be applicable to electronic equipment, such as notebook, mobile communication terminal and personal digital assistant etc., and the type of the electronic equipment being applied to is not construed as limiting the invention.
The data that this data transmission method for uplink 100 sends can comprise the first source data and the second source data.As example, described the first source data can be user interface data, and described the second source data can be vedio data.Described user interface data refers on the screen of electronic equipment the data that show for background, video and/or view data that this vedio data for example can be when carrying out the needed video file of video playback or play games.The data that described data transmission method for uplink 100 sends can also additionally comprise more source data, for example the 3rd source data.Hereinafter, being respectively user interface data and vedio data taking the first source data and the second source data describes as example.
In addition, described data transmission method for uplink can carry out based on WiFi Wireless Display technology, can also carry out based on wireless high-definition (wirelesHD) technology or ultra broadband (UWB) technology.Hereinafter, describe to send data instance based on WiFi Wireless Display technology.
Described data transmission method for uplink 100 comprises: by described first source data boil down to the first transport stream (S110); Obtain the second transport stream (S120) based on the second source data; Described the first transport stream and the second transport stream are sent to receiving equipment, to show described data (S130) on described receiving equipment.
In S110, by described first source data boil down to the first transport stream.Be in the situation of user interface data in the first source data, the family interface data in electronic equipment is the source data of uncompressed.In order to improve efficiency of transmission, compress described user interface data, and transmit the user interface data after compression.Carrying out in the situation of described data transmission based on WiFi Wireless Display technology, adopt encoding scheme H.264 encode described user interface data, and the user interface data after encapsulation coding then, thereby by described user interface data (i.e. the first source data) boil down to the first transport stream.Be noted that carrying out described data based on wirelesHD technology or UWB technology while sending, corresponding encoding scheme and method for packing also correspondingly change.
In S120, obtain the second transport stream based on the second source data.Be in the situation of vedio data in the second source data, if vedio data is coded data (normally coded data), in this S120, only described video image number is encapsulated and just obtains described the second transport stream; If described vedio data is not coded data, in this S120, described coded data is encoded and encapsulate and obtain described the second transport stream.Described encapsulation is for example transcoding operation.
As the realization example of this S120, determine whether described the second source data is the source data of having encoded; If described the second source data is the source data of having encoded, described the second source data is encapsulated as to the second transport stream, if described the second source data is not the source data of having encoded, by described second source data boil down to the second transport stream.
Preferably, can adopt identical coded system to encode to described the first source data and the second source data, thereby reduce the shared resource of encoding.
If the data that transmit also comprise the 3rd source data, the 3rd source data is carried out with like the second source data class and processed, thereby obtain the 3rd transport stream based on the 3rd source data.
In S130, described the first transport stream and the second transport stream are sent to receiving equipment, to show described data on described receiving equipment.As example, can adopt two reflectors to send respectively described the first transport stream and the second transport stream, can also adopt a reflector send described the first transport stream and the second transport stream the two.In the latter's situation, described the first transport stream and the second transport stream be can be respectively and the first program identifier and the second program identifier added, this first program identifier is different from this second program identifier; Merge the first transport stream and second transport stream of having added program identifier; The first transport stream having merged and the second transport stream are sent to described receiving equipment, thereby utilize a reflector to send.In addition,, in the time adopting a reflector to send described the first transport stream and the second transport stream, can also adopt the mode of socket to merge the first transport stream and the second transport stream, thereby realize the merging of two transport stream in transport layer.In the time sending the transport stream after merging to receiving equipment, can adopt real time transport protocol (RTP, Real-time Transport Protocol) to transmit.
Also having obtained in the situation of the 3rd transport stream, in 130, described the first transport stream, the second transport stream and the 3rd transport stream can be sent to receiving equipment, to show described the first source data, the second source data and the 3rd source data on described receiving equipment, thereby carry out more demonstrations at receiving equipment; In addition, the first transport stream and the second transport stream can also be sent to the first receiving equipment, the first transport stream and the 3rd transport stream are sent to the second receiving equipment, thereby will send picture disply in the terminal equipment of data in different receiving equipments.Now, can adopt above-mentioned technology to realize three transmission to flow to the transmission of receiving equipment.
According in the above-mentioned data transmission method for uplink of the embodiment of the present invention, two transport stream are transferred to respectively to receiving equipment, before sending, do not mix described two source datas, thereby avoid this married operation to the taking of bus or CPU, and then greatly improved the performance of the electronic equipment that carries out data transmission and reduced its power consumption.In addition, be in the situation of packed data in the second source data, in existing technology owing to will mix described two source datas before being sent to receiving equipment, so this second source data of will first decoding, mix, then encode with the first source data mixed source data send to and decode in receiving equipment and show then; But, according in the above-mentioned data transmission method for uplink of the embodiment of the present invention, owing to not carrying out described married operation, so need to be for the decoding of the second source data and encoding operation again, and directly decode in receiving equipment sending to after the data encapsulation after coding and show, thereby image quality reduction and the resource occupation of having avoided secondary coding to cause.
Therefore, according in the above-mentioned data transmission method for uplink of the embodiment of the present invention, by compressing dividually and sending different source datas and do not carry out mixed processing at transmitting terminal, can reduce the electronic equipment that carries out data transmission resource occupation, and ensure the image quality of the data that transmit.
Fig. 2 has been indicative icon according to the flow chart of the data receive method 200 of the embodiment of the present invention.The electronic equipment that this data receive method 200 can be applicable to is for example computer, television set, projecting apparatus etc., and the type of this electronic equipment is not construed as limiting the invention.
This data receive method 200 is corresponding with the data transmission method for uplink 100 of describing in conjunction with Fig. 1.Hereinafter, describe as example to receive the user interface data of compression and vedio data.
This data receive method 200 comprises: receiving data stream also obtains the first transport stream and the second transport stream (S210); The first transport stream is decompressed and obtains the first data (S220); The second transport stream is decompressed and obtains the second data (S230); Described the first data and the second data are obtained by mixing to generated data, to show (S240) on described electronic equipment.
In S210, receiving data stream also obtains the first transport stream and the second transport stream.With send mode (S130 of Fig. 1) for sending described data flow accordingly, receive described data flow and therefrom obtain the first transport stream and the second transport stream.For example, the in the situation that of utilizing program identifier to distinguish described the first transport stream and the second transport stream in the time sending, this S120 can comprise: receive the transport stream with program identifier; Distinguish the first transport stream and the second transport stream in described transport stream according to described program identifier; Obtain the first transport stream and the second transport stream that are distinguished.While utilizing socket to merge described the first transport stream and the second transport stream, in this S210, from the data flow receiving, obtain the first transport stream and the second transport stream according to socket in the time sending described data flow.
In S220, the first transport stream is decompressed and obtains the first data.In the time that the first transport stream is decompressed, while adopting with compression the first transport stream, corresponding technology decompresses.As example, the first transport stream is carried out to decapsulation; Utilize the first decoding process decode and obtain described the first data the first data flow of decapsulation.The mode of described decapsulation and decoding is corresponding with the encapsulation of taking at transmitting terminal and coded system (referring to the S110 of Fig. 1).For example, if adopt H.264 the coding techniques described user interface data (i.e. the first data) of encoding at transmitting terminal, in S220, adopt H.264 decoding technique to decode described the first transport stream and obtain the first data.Be that user image data is compressed the transport stream obtaining in described the first transport stream, obtaining these first data by decompression is described user image datas.
In S230, the second transport stream is decompressed and obtains the second data.As example, this S230 is achieved as follows: the second transport stream is carried out to decapsulation; Utilize the second decoding process decode and obtain described the second data the second data flow of decapsulation.This second decoding process can be identical with described the first decoding process, also can be different from described the first decoding process.
Described decapsulation mode is corresponding with the packaged type of taking at transmitting terminal (referring to the S120 of Fig. 1).In the situation of the second source data being encoded at transmitting terminal, be that described the second source data is not coded data, this second decoding process is corresponding with the coded system of transmitting terminal, and this acquisition by decompression the second data are described second source datas in S120.For example, in the situation of not encoding at transmitting terminal (, described the second source data in S120 is the vedio data of having encoded), this acquisition by decompression the second data be to described the second source data in S120 decode obtain data.
In S240, described the first data and the second data are obtained by mixing to generated data, to show on described electronic equipment.This S240 is used for by different data mixing together, thereby shows as a whole on same display screen.Can adopt any hybrid technology existing or that occur in the future to realize this married operation.In addition, if the data flow receiving also comprises the 3rd transport stream and the 3rd transport stream is decompressed and obtains the 3rd data, in this S240, can mix described the first data, the second data and the 3rd data three and obtain generated data, and show this generated data on described electronic equipment.
According in the above-mentioned data receive method of the embodiment of the present invention, by carrying out mixed processing at receiving terminal instead of carrying out mixed processing at transmitting terminal, can reduce the electronic equipment that carries out data transmission resource occupation, and ensure the image quality of the data that transmit.
Fig. 3 has been indicative icon according to the block diagram of the electronic equipment that carries out data transmission 300 of the embodiment of the present invention.Can be for example notebook, mobile communication terminal and personal digital assistant etc. for this electronic equipment 300 that carries out data transmission, its type be construed as limiting the invention.
The data that electronic equipment 300 sends can comprise the first source data and the second source data, and it can also additionally comprise more source data (for example the 3rd source data).As previously mentioned, described the first source data can be user interface data, and described the second source data can be vedio data, and to be respectively user interface data and vedio data taking the first source data and the second source data describe as example.In addition, described electronic equipment 300 can send data based on any in WiFi Wireless Display technology, wirelesHD technology or UWB technology, hereinafter describes to send data instance based on WiFi Wireless Display technology.
Described electronic equipment 300 comprises: compression unit 310, for by described first source data boil down to the first transport stream, and obtains the second transport stream based on the second source data; Transmitting element 320, for described the first transport stream and the second transport stream are sent to receiving equipment, to show described data on described receiving equipment.
Described compression unit 310 is for compressing for different source datas, to obtain corresponding data flow.When described data also comprise the 3rd source data, described compression unit 310 can obtain the 3rd transport stream based on the 3rd source data.
Be in the situation of user interface data in the first source data, described compression unit 310 compresses described user interface data, to improve efficiency of transmission.Carrying out in the situation of described data transmission based on WiFi Wireless Display technology, described compression unit 310 adopts encoding scheme H.264 encode described user interface data, and the user interface data after encapsulation coding then, thereby by described user interface data boil down to the first transport stream.Be noted that corresponding encoding scheme and method for packing also correspondingly change in the time adopting different technology to carry out described data transmission.
Illustrate that below in conjunction with Fig. 4 described compression unit 310 obtains the operation of the second transport stream based on the second source data.Fig. 4 has been indicative icon according to the block diagram of the compression unit 310 in the electronic equipment that carries out data transmission of the embodiment of the present invention.Described compression unit 310 comprises: determining means 311, for determining whether described the second source data is the source data of having encoded; Addressable part 312, in the time that described the second source data is not the source data of having encoded, encodes to the second source data; Package parts 313, for being encapsulated as the second transport stream by second source data of having encoded.In the situation of the video data of having encoded in the second source data, described determining means 311 determines that described the second source data is the source data of having encoded, and now described vedio data of having encoded is directly offered to described package parts 313 and encapsulates and obtain the second transport stream; If the second source data is uncoded view data, addressable part 312 is first encoded to described uncoded view data, is then encapsulated and is obtained the second transport stream by described package parts 313.The performed encapsulation operation of described package parts 313 is for example transcoding operation.
If the coded system that described the first source data is encoded with the second source data is identical, described compression unit 310 can be by described addressable part 312 first source data of encoding; Similarly, if identical with the packaged type that the second source data encapsulates to described the first source data, described compression unit 310 can encapsulate the first source data with described package parts 313.This is equally applicable to other source data.
Described the first transport stream and the second transport stream are sent to receiving equipment by described transmitting element 320, to show described data on described receiving equipment.As example, transmitting element 320 can adopt two reflectors to send respectively described the first transport stream and the second transport stream, can also adopt a reflector send described the first transport stream and the second transport stream the two.For example, described transmitting element 320 can adopt the mode of socket to merge the first transport stream and the second transport stream, thereby realizes the merging of two transport stream in transport layer.
Fig. 5 has been indicative icon according to the block diagram of the transmitting element 320 in the electronic equipment that carries out data transmission 300 of the embodiment of the present invention.In this realization, adopt a reflector to send transport stream, as shown in Figure 5, described transmitting element 320 comprises: identifier adds parts 321, be used for being respectively described the first transport stream and the second transport stream and add the first program identifier and the second program identifier, this first program identifier is different from this second program identifier; Merge parts 322, for merging the first transport stream and second transport stream of having added program identifier; Transmit block 323, for sending to described receiving equipment by the first transport stream having merged and the second transport stream.This transmit block 323 can adopt RTP technology to send the transport stream after merging.
In addition, can obtain in the situation of the 3rd transport stream based on the 3rd source data at described compression unit 310, transmitting element 320 can send to same receiving equipment by described the first transport stream, the second transport stream and the 3rd transport stream, to show described the first source data, the second source data and the 3rd source data on described receiving equipment; In addition, transmitting element 320 can also send to the first transport stream and the second transport stream the first receiving equipment, the first transport stream and the 3rd transport stream are sent to the second receiving equipment, thus by the picture disply of the terminal equipment for sending data in different receiving equipments.
According in the above-mentioned electronic equipment that carries out data transmission of the embodiment of the present invention, obtain respectively two transport stream based on two source datas, before sending, do not mix described two source datas, thereby avoid this married operation to the taking of the bus in electronic equipment or CPU, and then greatly improved the performance of the electronic equipment that carries out data transmission and reduced its power consumption.In addition, be in the situation of packed data in the second source data, owing to not carrying out described married operation, so need to be for the decoding of the second source data and encoding operation again, and directly decode in receiving equipment sending to after the data encapsulation after coding and show, thereby image quality reduction and the resource occupation of having avoided secondary coding to cause.
Therefore, according in the electronic equipment that carries out data transmission of the embodiment of the present invention, by compressing dividually and sending different source datas and do not carry out mixed processing at transmitting terminal, can reduce the electronic equipment that carries out data transmission resource occupation, and ensure the image quality of the data that transmit.
Fig. 6 has been indicative icon according to the block diagram of the electronic equipment that carries out data receiver 600 of the embodiment of the present invention.This electronic equipment 600 that carries out data receiver can be for example computer, television set, projecting apparatus etc., and the type of this electronic equipment is not construed as limiting the invention.
This electronic equipment 600 is for receiving the data that for example send from the electronic equipment 300 shown in Fig. 3.Hereinafter, receiving the user interface data of compression and vedio data taking electronic equipment 600 describes as example.
This data receive method 200 comprises: receiving data stream also obtains the first transport stream and the second transport stream (S210); The first transport stream is decompressed and obtains the first data (S220); The second transport stream is decompressed and obtains the second data (S230); Described the first data and the second data are obtained by mixing to generated data, to show (S240) on described electronic equipment.
This electronic equipment 600 that carries out data receiver comprises: receiving element 610, obtains the first transport stream and the second transport stream for receiving data stream; Decompression unit 620, for the first transport stream being decompressed and obtaining the first data, and decompresses and obtains the second data the second transport stream; Mixed cell 630, for being obtained by mixing generated data to described the first data and the second data, to show on described electronic equipment.
Described receiving element 610 adopts the mode corresponding with send mode (referring to the description about transmitting element 320 above) for sending described data flow, receives described data flow and also therefrom obtains the first transport stream and the second transport stream.For example, the in the situation that of utilizing program identifier to distinguish described the first transport stream and the second transport stream in the time sending, described receiving element 610 obtains the first transport stream and the second transport stream by following operation: receive the transport stream with program identifier; Distinguish the first transport stream and the second transport stream in described transport stream according to described program identifier; Obtain the first transport stream and the second transport stream that are distinguished.In addition,, while utilizing socket to merge described the first transport stream and the second transport stream in the time sending described data flow, described receiving element 610 will obtain the first transport stream and the second transport stream according to socket from the data flow receiving.
As the example that the first transport stream is decompressed, described decompression unit 620 carries out decapsulation to the first transport stream, and then utilizes the first decoding process decode and obtain described the first data the first data flow of decapsulation.The mode of described decapsulation and decoding is corresponding with the encapsulation of taking at transmitting terminal and coded system (referring to the description of the compression unit 310 about in Fig. 3).For example, if adopt H.264 the coding techniques described user interface data (i.e. the first data) of encoding at transmitting terminal, decompression unit 620 adopts H.264 decoding technique to decode described the first transport stream and obtain the first data.Be that user image data is compressed the transport stream obtaining in described the first transport stream, obtaining these first data by decompression is described user image datas.
As the example that the second transport stream is decompressed, described decompression unit 620 carries out decapsulation to the second transport stream; Utilize the second decoding process decode and obtain described the second data the second data flow of decapsulation.This second decoding process can be identical with described the first decoding process, also can be different from described the first decoding process.Corresponding with the packaged type of taking at transmitting terminal (referring to the description of the compression unit 310 about in Fig. 3) to the decapsulation mode of the second transport stream.In the situation of the second source data being encoded at transmitting terminal (be described the second source data be not coded data), this second decoding process is corresponding with the coded system of transmitting terminal, and this acquisition by decompression the second data are second source datas that compressed unit 310 is processed.For example, in the situation of not encoding at transmitting terminal (, described the second source data is the vedio data of having encoded), this acquisition by decompression the second data are the second source data that compressed unit 310 is processed data that obtain of decoding.
Described mixed cell 630 is obtained by mixing generated data to described the first data and the second data, thereby shows as a whole on same display screen.Can adopt any hybrid technology existing or that occur in the future to realize this married operation.In addition, if the data flow that receiving element 610 receives also comprises the 3rd transport stream and decompression unit 620 the 3rd transport stream is decompressed and obtained the 3rd data, described mixed cell 630 can mix described the first data, the second data and the 3rd data three and obtain generated data, and shows this generated data on described electronic equipment.
According in the above-mentioned electronic equipment that carries out data receiver of the embodiment of the present invention, by carrying out mixed processing at receiving terminal instead of carrying out mixed processing at transmitting terminal, can reduce the electronic equipment that carries out data transmission resource occupation, and ensure the image quality of the data that transmit.
Those skilled in the art can be well understood to, and for convenience and simplicity of description, in the electronic equipment of foregoing description, related unit and the specific implementation of parts, can, with reference to the diagram in preceding method embodiment and operation, not repeat them here.
In the several embodiment that provide in the application, should be understood that disclosed unit, parts and method can realize by another way.For example, device embodiment described above is only that schematically some features of for example discrete cell can be ignored, or do not carry out.In addition, the part steps in said method embodiment can reconfigure, and maybe can change part steps execution sequence before.
The above; be only the specific embodiment of the present invention, but protection scope of the present invention is not limited to this, any be familiar with those skilled in the art the present invention disclose technical scope in; can expect easily changing or replacing, within all should being encompassed in protection scope of the present invention.Therefore, protection scope of the present invention should described be as the criterion with the protection range of claim.

Claims (22)

1. for a data transmission method for uplink for electronic equipment, described data comprise the first source data and the second source data, and described method comprises:
By described first source data boil down to the first transport stream;
Obtain the second transport stream based on the second source data;
Described the first transport stream and the second transport stream are sent to receiving equipment, to show described data on described receiving equipment.
2. according to the described method of claim 1, wherein, the described step that obtains the second transport stream based on the second source data comprises:
Determine whether described the second source data is the source data of having encoded;
If described the second source data is the source data of having encoded, described the second source data is encapsulated as to the second transport stream, if described the second source data is not the source data of having encoded, by described second source data boil down to the second transport stream.
3. according to the described method of claim 1, wherein, the described step that described the first transport stream and the second transport stream are sent to receiving equipment comprises:
Be respectively described the first transport stream and the second transport stream and add the first program identifier and the second program identifier, this first program identifier is different from this second program identifier;
Merge the first transport stream and second transport stream of having added program identifier;
The first transport stream having merged and the second transport stream are sent to described receiving equipment.
4. according to the described method of claim 1, wherein, described data also comprise the 3rd source data, and described method also comprises:
Obtain the 3rd transport stream based on the 3rd source data;
Described the first transport stream, the second transport stream and the 3rd transport stream are sent to receiving equipment, to show described the first source data, the second source data and the 3rd source data on described receiving equipment.
5. according to the described method of claim 1, wherein, described data transmission method for uplink carries out based on WiFi Wireless Display technology.
6. according to the described method of claim 1, wherein, described the first source data is user interface data, and described the second source data is vedio data.
7. for a data receive method for electronic equipment, comprising:
Receiving data stream also obtains the first transport stream and the second transport stream;
The first transport stream is decompressed and obtains the first data;
The second transport stream is decompressed and obtains the second data;
Described the first data and the second data are obtained by mixing to generated data, to show on described electronic equipment.
8. according to the method for claim 7, wherein, described receiving data stream also obtains the first transport stream and the step of the second transport stream comprises:
Reception has the transport stream of program identifier;
Distinguish the first transport stream and the second transport stream in described transport stream according to described program identifier;
Obtain the first transport stream and the second transport stream that are distinguished.
9. according to the method for claim 6, wherein, described the first transport stream is decompressed and the step that obtains the first data comprises:
The first transport stream is carried out to decapsulation;
Utilize the first decoding process decode and obtain described the first data the first data flow of decapsulation.
10. according to the method for claim 9, wherein, described the second transport stream is decompressed and the step that obtains the second data comprises:
The second transport stream is carried out to decapsulation;
Utilize the second decoding process decode and obtain described the second data the second data flow of decapsulation.
11. according to the described method of claim 7, and wherein, described the first data are user interface datas, and described the second data are vedio datas.
12. 1 kinds are carried out the electronic equipment of data transmission, and described data comprise the first source data and the second source data, and described electronic equipment comprises:
Compression unit, for by described first source data boil down to the first transport stream, and obtains the second transport stream based on the second source data;
Transmitting element, for described the first transport stream and the second transport stream are sent to receiving equipment, to show described data on described receiving equipment.
13. according to the electronic equipment of claim 12, and wherein, described compression unit comprises:
Determining means, for determining whether described the second source data is the source data of having encoded;
Addressable part, in the time that described the second source data is not the source data of having encoded, encodes to the second source data;
Package parts, for being encapsulated as the second transport stream by second source data of having encoded.
14. according to the electronic equipment of claim 12, and wherein, described transmitting element comprises:
Identifier adds parts, adds the first program identifier and the second program identifier for being respectively described the first transport stream and the second transport stream, and this first program identifier is different from this second program identifier;
Merge parts, for merging the first transport stream and second transport stream of having added program identifier;
Transmit block, for sending to described receiving equipment by the first transport stream having merged and the second transport stream.
15. according to the electronic equipment of claim 12, and wherein, described data also comprise the 3rd source data, and described compression unit also obtains the 3rd transport stream based on the 3rd source data;
Described the first transport stream, the second transport stream and the 3rd transport stream are sent to receiving equipment by described transmit block, to show described the first source data, the second source data and the 3rd source data on described receiving equipment.
16. according to the electronic equipment of claim 12, and wherein, described electronic equipment carries out data transmission based on WiFi Wireless Display technology.
17. according to the electronic equipment of claim 12, and wherein, described the first source data is user interface data, and described the second source data is vedio data.
18. 1 kinds are carried out the electronic equipment of data receiver, comprising:
Receiving element, obtains the first transport stream and the second transport stream for receiving data stream;
Decompression unit, for the first transport stream is decompressed and obtains the first data, and decompresses and obtains the second data the second transport stream;
Mixed cell, for being obtained by mixing generated data to described the first data and the second data, to show on described electronic equipment.
19. according to the electronic equipment of claim 18, and wherein, described receiving element obtains the first transport stream and the second transport stream by following operation:
Reception has the transport stream of program identifier;
Distinguish the first transport stream and the second transport stream in described transport stream according to described program identifier;
Obtain the first transport stream and the second transport stream that are distinguished.
20. according to the electronic equipment of claim 18, and wherein, described decompression unit obtains the first data by following operation:
The first transport stream is carried out to decapsulation;
Utilize the first decoding process decode and obtain described the first data the first data flow of decapsulation.
21. according to the electronic equipment of claim 20, and wherein, described decompression unit obtains the second data by following operation:
The second transport stream is carried out to decapsulation;
Utilize the second decoding process decode and obtain described the second data the second data flow of decapsulation.
22. according to the electronic equipment of claim 18, and wherein, described the first data are user interface datas, and described the second data are vedio datas.
CN201210511129.XA 2012-12-03 2012-12-03 Data sending, receiving method and electronic equipment Active CN103856784B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210511129.XA CN103856784B (en) 2012-12-03 2012-12-03 Data sending, receiving method and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210511129.XA CN103856784B (en) 2012-12-03 2012-12-03 Data sending, receiving method and electronic equipment

Publications (2)

Publication Number Publication Date
CN103856784A true CN103856784A (en) 2014-06-11
CN103856784B CN103856784B (en) 2019-02-05

Family

ID=50863924

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210511129.XA Active CN103856784B (en) 2012-12-03 2012-12-03 Data sending, receiving method and electronic equipment

Country Status (1)

Country Link
CN (1) CN103856784B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016197863A1 (en) * 2015-06-11 2016-12-15 阿里巴巴集团控股有限公司 Client, smart television system, and corresponding data transmission method
WO2016197865A1 (en) * 2015-06-11 2016-12-15 阿里巴巴集团控股有限公司 Data transmission method and apparatus, and smart television system
CN113079392A (en) * 2021-03-08 2021-07-06 深圳奇迹智慧网络有限公司 Media content playing method and device, computer equipment and storage medium

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1972454A (en) * 2006-11-30 2007-05-30 中兴通讯股份有限公司 Mobile multimedia broadcasting real-time traffic flow packaging method
CN101378384A (en) * 2008-09-24 2009-03-04 中兴通讯股份有限公司 Handhold terminal and method for instantly displaying interface thereof in a computer
CN101742167A (en) * 2008-11-24 2010-06-16 联发科技股份有限公司 Video processing circuit and related method for merging video output streams with graphical stream for transmission
CN101764957A (en) * 2009-12-28 2010-06-30 深圳华为通信技术有限公司 Method and device for inserting picture in conference caption
WO2010125339A1 (en) * 2009-04-27 2010-11-04 Fischinger, Bianca Methods, apparatus and computer programs for transmitting and receiving multistreamed media content in real time, media content package
CN102131097A (en) * 2011-03-21 2011-07-20 中国电信股份有限公司 Method and system for transmitting 3D streaming media
CN102256161A (en) * 2011-08-26 2011-11-23 杭州华三通信技术有限公司 Transmission method and equipment for OSD (On Screen Display) information
CN102301730A (en) * 2011-07-18 2011-12-28 华为技术有限公司 Method, device and system for transmitting and processing multichannel AV
CN102497591A (en) * 2011-11-11 2012-06-13 青岛海信移动通信技术股份有限公司 Terminal and method for realizing wireless screen transmission between terminal and TV
CN102571979A (en) * 2012-02-10 2012-07-11 上海视畅信息科技有限公司 Multi-screen interactive equipment and binding method thereof

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1972454A (en) * 2006-11-30 2007-05-30 中兴通讯股份有限公司 Mobile multimedia broadcasting real-time traffic flow packaging method
CN101378384A (en) * 2008-09-24 2009-03-04 中兴通讯股份有限公司 Handhold terminal and method for instantly displaying interface thereof in a computer
CN101742167A (en) * 2008-11-24 2010-06-16 联发科技股份有限公司 Video processing circuit and related method for merging video output streams with graphical stream for transmission
WO2010125339A1 (en) * 2009-04-27 2010-11-04 Fischinger, Bianca Methods, apparatus and computer programs for transmitting and receiving multistreamed media content in real time, media content package
CN101764957A (en) * 2009-12-28 2010-06-30 深圳华为通信技术有限公司 Method and device for inserting picture in conference caption
CN102131097A (en) * 2011-03-21 2011-07-20 中国电信股份有限公司 Method and system for transmitting 3D streaming media
CN102301730A (en) * 2011-07-18 2011-12-28 华为技术有限公司 Method, device and system for transmitting and processing multichannel AV
CN102256161A (en) * 2011-08-26 2011-11-23 杭州华三通信技术有限公司 Transmission method and equipment for OSD (On Screen Display) information
CN102497591A (en) * 2011-11-11 2012-06-13 青岛海信移动通信技术股份有限公司 Terminal and method for realizing wireless screen transmission between terminal and TV
CN102571979A (en) * 2012-02-10 2012-07-11 上海视畅信息科技有限公司 Multi-screen interactive equipment and binding method thereof

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016197863A1 (en) * 2015-06-11 2016-12-15 阿里巴巴集团控股有限公司 Client, smart television system, and corresponding data transmission method
WO2016197865A1 (en) * 2015-06-11 2016-12-15 阿里巴巴集团控股有限公司 Data transmission method and apparatus, and smart television system
CN106303674A (en) * 2015-06-11 2017-01-04 阿里巴巴集团控股有限公司 Data transmission method, device and intelligent television system
CN106302365A (en) * 2015-06-11 2017-01-04 阿里巴巴集团控股有限公司 A kind of client, intelligent television system and corresponding data transmission method
CN106303674B (en) * 2015-06-11 2019-07-09 阿里巴巴集团控股有限公司 Data transmission method, device and intelligent television system
CN106302365B (en) * 2015-06-11 2019-11-19 阿里巴巴集团控股有限公司 A kind of client, intelligent television system and corresponding data transmission method
CN113079392A (en) * 2021-03-08 2021-07-06 深圳奇迹智慧网络有限公司 Media content playing method and device, computer equipment and storage medium

Also Published As

Publication number Publication date
CN103856784B (en) 2019-02-05

Similar Documents

Publication Publication Date Title
US10979900B2 (en) Information processing device and information processing method
KR101780300B1 (en) Connectionless transport for user input control for wireless display devices
EP2801210B1 (en) Bi-directional tunneling via user input back channel for wireless displays
US20120114047A1 (en) Wireless communication system for transmitting high resolution multimedia data and method thereof
CN101778285B (en) A kind of audio-video signal wireless transmitting system and method thereof
CN104581405A (en) Display content processing method and equipment
CN102710985B (en) Realize TV in family lan and move the method for screen, system and television equipment
KR101582795B1 (en) High definition multimedia interface dongle and control method thereof
CN111386700A (en) Multifunctional receiving device and conference system
CN105721934A (en) Video wireless transmission device and method, video play device and method, and system
CN110636305A (en) Image rendering and encoding method and related device
CN113038200A (en) Device, system and method for realizing wireless screen projection
CN107040498B (en) Same-screen method and terminal
CN106209523B (en) Screen sharing realization method and device and media terminal
CN103856784A (en) Data sending method, data receiving method and electronic devices
CN205105347U (en) Video wireless transmission equipment, video playback devices and system
CN104967917A (en) Instant video coding method and electronic device
CN102972033B (en) For the method and system of the communication of stereoscopic three dimensional video information
CN113015019B (en) Data processing method, device and system
CN102045580B (en) Method and system for processing video
US10582376B2 (en) Information processing apparatus, information processing method, and source apparatus
CN105357450A (en) Video stitching control system
CN111818084A (en) Vehicle machine remote display method and server
CN102957842B (en) A kind of method of video image processing, Apparatus and system
CN114760479A (en) Video transmission method, device and system

Legal Events

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