CN107612881A - Method, apparatus, terminal and the storage medium of picture are transmitted when transmitting file - Google Patents

Method, apparatus, terminal and the storage medium of picture are transmitted when transmitting file Download PDF

Info

Publication number
CN107612881A
CN107612881A CN201710650436.9A CN201710650436A CN107612881A CN 107612881 A CN107612881 A CN 107612881A CN 201710650436 A CN201710650436 A CN 201710650436A CN 107612881 A CN107612881 A CN 107612881A
Authority
CN
China
Prior art keywords
image frame
picture
terminal
cut out
file
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
CN201710650436.9A
Other languages
Chinese (zh)
Other versions
CN107612881B (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.)
Guangzhou Shiyuan Electronics Thecnology Co Ltd
Guangzhou Shizhen Information Technology Co Ltd
Original Assignee
Guangzhou Shiyuan Electronics Thecnology Co Ltd
Guangzhou Shizhen Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangzhou Shiyuan Electronics Thecnology Co Ltd, Guangzhou Shizhen Information Technology Co Ltd filed Critical Guangzhou Shiyuan Electronics Thecnology Co Ltd
Priority to CN201710650436.9A priority Critical patent/CN107612881B/en
Priority to PCT/CN2017/116634 priority patent/WO2019024387A1/en
Publication of CN107612881A publication Critical patent/CN107612881A/en
Application granted granted Critical
Publication of CN107612881B publication Critical patent/CN107612881B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N7/00Television systems
    • H04N7/14Systems for two-way working
    • H04N7/15Conference systems

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses a kind of method that picture is transmitted when transmitting file, including:When detecting the process to first terminal transmission file during transmitting picture to first terminal, the first image frame of current transmission is obtained;The first predetermined cut out areas on first image frame is cut out, generates the second image frame;Second image frame is sent to the first terminal, to cause the first terminal after second image frame is received, the the first filling content locally to prestore is read, the 3rd image frame for display is generated according to the described first filling content and second image frame.The invention also discloses device, terminal and the computer-readable recording medium for transmitting picture when transmitting file, while image quality, picture transmission speed and file transfer speed is not influenceed file can be realized with being transmitted while picture.

Description

Method, apparatus, terminal and the storage medium of picture are transmitted when transmitting file
Technical field
The present invention relates to field of data transmission, more particularly to a kind of method that picture is transmitted when transmitting file, system and Terminal.
Background technology
The popularization of internet and network technology and develop and bring revolutionary change to the live and work of people, pass through Internet and network technology, people can realize shopping at network and network office in the case of home-confined, the work to people Brought great convenience as life.For example, carrying out teleconference or video conference based on network can make way for differently The people of point, by communication equipment and network, the meeting to be talked face to face, realize the trans-regional purpose held a meeting.
Teleconference is general to refer to video conference, voice and video image remote is interacted shared.For teleconference, its Overriding concern be language and video image transmission whether in time, video image display whether clear and smooth.But long-range In meeting, due to often also needing to carry out the transmission of data file, during transmitting data file, picture transmission can be taken Bandwidth, and then cause picture interim card, image quality decline or file to transmit the problem of interrupted.
The content of the invention
In view of the above-mentioned problems, it is an object of the invention to provide it is a kind of when transmitting file transmit picture method, apparatus, Terminal and computer-readable recording medium, can while image quality, picture transmission speed and file transfer speed is not influenceed, Realize file with being transmitted while picture.
The invention provides a kind of method that picture is transmitted when transmitting file, including:
When detecting the process to first terminal transmission file during transmitting picture to first terminal, obtain Take first image frame of the current transmission to first terminal;
The first predetermined cut out areas on first image frame is cut out, generates the second image frame;
Second image frame is sent to the first terminal, to cause the first terminal receiving second picture After frame, the first filling content locally to prestore is read, generates and is used for according to the described first filling content and second image frame 3rd image frame of display.
Preferably, the size of first cut out areas is by current network conditions, the size of the file of transmission and transmission The definition of picture determines.
Preferably, the method that picture is transmitted when transmitting file also includes:
When receiving the picture and file from second terminal at the same time, extract be currently received from described second eventually 4th image frame at end;
Obtain the second cut out areas that the 4th image frame is tailored;Wherein, the 4th image frame has and is tailored The second cut out areas;
According to second cut out areas of the 4th image frame described in the described second filling fills, generate for showing The 5th image frame.
Preferably, the second filling content is the second cut out areas shape size identical with the 4th image frame Pop-up, the pop-up at least show one of herein below:When the title of the file transmitted, the progress of transmission, residue transmission Between.
Preferably, second cut out areas of the 4th image frame according to the described second filling fills, The 5th image frame for display is generated, is specially:
Obtain the positional information of the second cut out areas of the 4th image frame;Wherein, the second of the 4th image frame The positional information of cut out areas is sent by second terminal;Or the positional information of second cut out areas is by reading local deposit The positional information of the acquiescence of storage obtains;Or the positional information of second cut out areas to the 4th image frame by carrying out Parsing obtains;
Wash with watercolours is carried out according to the described second filling content, the positional information of second cut out areas and the 4th image frame Dye, generate the 5th image frame.
Present invention also offers a kind of method that picture is transmitted when transmitting file, including:
When receiving the picture and file from third terminal at the same time, extract be currently received from the described 3rd eventually 6th image frame at end;Wherein, the 6th image frame has the 3rd cut out areas being tailored;
Read the 3rd filling content locally to prestore;
According to the 3rd cut out areas of the 6th image frame described in the described 3rd filling fills, generate for showing The 7th image frame.
Preferably, the 3rd filling content is the 3rd cut out areas shape size identical with the 6th image frame Pop-up, the pop-up at least show one of herein below:When the title of the file transmitted, the progress of transmission, residue transmission Between.
Preferably, the 3rd cut out areas of the 6th image frame according to the described 3rd filling fills, generation For the 8th image frame of display, it is specially:
Obtain the positional information of the 3rd cut out areas of the 6th image frame;Wherein, the 3rd of the 6th image frame The positional information of cut out areas is synchronously sent by third terminal when sending six image frame;Or the described 3rd cut out area The positional information in domain is obtained by reading the positional information for the acquiescence being locally stored;Or the position letter of the 3rd cut out areas Breath to the 6th image frame by carrying out parsing acquisition;
Wash with watercolours is carried out according to the described 3rd filling content, the positional information of the 3rd cut out areas and the 6th image frame Dye, generates the 7th image frame for display.
Preferably, the method that picture is transmitted when transmitting file also includes:
When detecting the process to the 4th terminal transmission file during to the 4th terminal transmission picture, obtain Take eightth image frame of the current transmission to the 4th terminal;
The 4th predetermined cut out areas on 8th image frame is cut out, generates the 9th image frame;
The 9th image frame is sent to the 4th terminal, to cause the 4th terminal receiving the 9th picture After frame, the 4th filling content locally to prestore is read, generates and is used for according to the described 4th filling content and the 9th image frame Tenth image frame of display.
Present invention also offers a kind of method that picture is transmitted when transmitting file, including:
Sending terminal:
When detecting the process to receiving terminal transmission file during transmitting picture to receiving terminal, obtain Take ten one image frame of the current transmission to the receiving terminal;
5th cut out areas of the 11st image frame is cut out, generates the 12nd image frame;
The 12nd image frame is sent to the receiving terminal;
In receiving terminal:
Receive the 12nd image frame that the transmission terminal is sent;
The filling content locally to prestore is read, is generated according to the filling content and the 12nd image frame for showing The 13rd image frame.
Preferably, the filling content is the cut out areas shape size identical pop-up with the 11st image frame, The pop-up at least shows one of herein below:The title of the file transmitted, the progress of transmission, residue transmission time.
Present invention also offers a kind of device that picture is transmitted when transmitting file, including:
First image frame acquiring unit, for being detected when during picture is transmitted to first terminal to described first During the process of terminal transmission file, first image frame of the current transmission to first terminal is obtained;
Scene cuts unit, for being cut out to the first predetermined cut out areas on first image frame, generation Second image frame;
Picture transmitting element, for sending second image frame to first terminal, to cause the first terminal connecing After receiving second image frame, the first filling content locally to prestore is read, according to the described first filling content and described second Image frame generates the 3rd image frame for display.
Present invention also offers a kind of device that picture is transmitted when transmitting file, including:
Picture extraction unit, for when receiving the picture and file from third terminal at the same time, extracting current receive The 6th image frame from third terminal arrived;Wherein, the 6th image frame has the 3rd cut out areas being tailored;
Content reading unit is filled, for reading the locally prestore the 3rd filling content;
Fills unit, for the 6th image frame according to the described 3rd filling fills the described 3rd cuts out area Domain, generate the 7th image frame for display.
Present invention also offers a kind of terminal, including processor, memory and the computer being stored in the memory Program;Wherein, the computer program can transmit picture when transmitting file described above by the computing device to realize The method in face.
Present invention also offers a kind of computer-readable recording medium, the computer-readable recording medium includes storage Computer program, wherein, equipment where controlling the computer-readable recording medium when the computer program is run performs The method for transmitting picture when transmitting file described above.
It is provided in an embodiment of the present invention that the method, apparatus of picture, terminal are transmitted when transmitting file and computer-readable is deposited Storage media, when carrying out picture transmission and file transmission at the same time, one end as transmission is cut to the first image frame of transmission Cut out, the second image frame of generation is sent to receiving terminal, reduces the bandwidth resources needed for transmission image frame, and then can utilize this Fractional bandwidth resource carries out file transmission.One end as reception according to second image frame and is stored in local filling Appearance is rendered, and generates complete 3rd image frame., can when carrying out picture transmission and file transmission at the same time based on the present invention To take into account picture transmission quality, picture transmission speed, file transfer speed and user's visual experience, meet the use need of user Ask.
Brief description of the drawings
In order to illustrate more clearly of technical scheme, the required accompanying drawing used in embodiment will be made below Simply introduce, it should be apparent that, drawings in the following description are only some embodiments of the present invention, general for this area For logical technical staff, on the premise of not paying creative work, other accompanying drawings can also be obtained according to these accompanying drawings.
Fig. 1 is the schematic flow sheet for the method that picture is transmitted when transmitting file that first embodiment of the invention provides.
Fig. 2 is the schematic diagram being cut out to the first image frame that first embodiment of the invention provides.
Fig. 3 is to be rendered to obtain the schematic diagram of the 3rd image frame according to the second image frame and filling content.
Fig. 4 is a kind of schematic diagram for the first filling content that first embodiment of the invention provides.
Fig. 5 is the schematic flow sheet for the method that picture is transmitted when transmitting file that second embodiment of the invention provides.
Fig. 6 is the schematic flow sheet for the method that picture is transmitted when transmitting file that third embodiment of the invention provides.
Fig. 7 is the schematic flow sheet for the method that picture is transmitted when transmitting file that fourth embodiment of the invention provides.
Fig. 8 is the schematic flow sheet for the method that picture is transmitted when transmitting file that fifth embodiment of the invention provides.
Fig. 9 is the structural representation for the device that picture is transmitted when transmitting file that sixth embodiment of the invention provides.
Figure 10 is the structural representation for the device that picture is transmitted when transmitting file that seventh embodiment of the invention provides.
Figure 11 is the structural representation for the terminal that eighth embodiment of the invention provides.
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 carried out clear, complete Site preparation describes, it is clear that described embodiment is only part of the embodiment of the present invention, rather than whole embodiments.It is based on Embodiment in the present invention, those of ordinary skill in the art are obtained every other under the premise of creative work is not made Embodiment, belong to the scope of protection of the invention.
The invention provides a kind of method, apparatus, terminal and computer-readable storage that picture is transmitted when transmitting file Medium, when being transmitted for carrying out picture transmission and file at the same time, the image frame of transmission is cut out, to reduce transmission picture Required bandwidth, so as to take into account picture transmission and file transmission.It is described in detail individually below.
Referring to Fig. 1, the flow for the method that picture is transmitted when transmitting file that Fig. 1, which is first embodiment of the invention, to be provided Schematic diagram, it can be performed by the device that picture is transmitted when transmitting file, and be comprised the following steps:
S101, when to first terminal transmit picture during detect to the first terminal transmission file process When, obtain first image frame of the current transmission to first terminal.
In the present embodiment, the device (hereinafter referred to as device) that picture is transmitted when transmitting file can be notebook electricity Brain, desktop computer, smart mobile phone, Intelligent flat computer etc., the present invention is not specifically limited.
In the present embodiment, the first terminal equally can be flat for notebook computer, desktop computer, smart mobile phone, intelligence Plate computer etc., the present invention is not specifically limited.
In the present embodiment, for example, the user of the user of described device and the first terminal carry out Video chat or Person carries out video conference, and now, described device gathers the related picture (personal images or meeting document of such as user by real-time Picture etc.), and the first terminal is issued by network, the first terminal receives the picture and shown.
In a practical situation, the user of described device it may also be desirable to send user of some files to first terminal, example Such as meeting related data, then now, when described device detects while sends picture and file to the first terminal, obtain Take the first image frame of current transmission.
It should be noted that in the present embodiment, the quantity of the first terminal can be one or more, that is, allow Described device is not specifically limited to multiple first terminal simultaneous transmission pictures and simultaneous transmission file, the present invention simultaneously.
S102, the first predetermined cut out areas on first image frame is cut out, generates the second image frame.
As shown in Fig. 2 in the present embodiment, described device detects the process of transmission file in picture transmission process When, first image frame A of the current transmission to first terminal can be obtained, and the first cut out areas C of the first image frame A is entered Row is cut out, and generates the second image frame B.
In the present embodiment, the first cut out areas C can be to preset, and such as be located at the first image frame A lower right corner Position, certainly, it is necessary to which explanation, in other embodiments of the invention, the first cut out areas C can also be other positions Put, such as the upper left corner, the lower left corner, the upper right corner or upper and lower, left and right side position, the present invention are not specifically limited.
In addition, the first cut out areas C can also be according to the useful information of the first image frame A regional to determine It is fixed.For example, the transmission terminal 100 can carry out image zooming-out to the first image frame A, the first image frame A is obtained Non-critical areas (such as some background environment regions), and these non-critical areas are arranged to cut out areas, these schemes are all Within protection scope of the present invention, it will not be described here.
In the present embodiment, the size dimension of the first clipping region C can be it is pre-defined or according to The definition of the picture of current network conditions, the size of the file transmitted and transmission determines, for example, current network conditions are relatively good When, can set a little bit smaller by the size of the first clipping region C, can be with when current network conditions are poor The size of the first clipping region C is set more greatly.The Documents Comparison of transmission can be cut out when small by described first The size for cutting region C sets a little bit smaller, can be by the size of the first clipping region C when the Documents Comparison of transmission is big Set more greatly.The size of the first clipping region C can be set small by one by the definition of the picture of transmission when relatively low Point, can the size of the first clipping region C be set more greatly when the definition of the picture of transmission is higher, these schemes Within protection scope of the present invention, it will not be described here.
S103, second image frame is sent to first terminal, to cause the first terminal receiving second picture After the frame of face, the first filling content locally to prestore is read, is used according to the described first filling content and second image frame generation In the 3rd image frame of display.
In the present embodiment, as shown in figure 3, for first terminal, it can read after the second image frame B is received Take locally prestore first to fill content D, and drawn according to the described first filling content D and the second image frame B generations the 3rd Face frame E, and shown.
In the present embodiment, the first filling content D can be a static images, the prompting in a loading, Can be pop-up associated with the file, its size shape and the first cut out areas C are completely the same.Wherein it is preferred to such as Fig. 4 institutes Show, the first filling content D can be a first cut out areas C-shape size identical with the first image frame A Pop-up, the pop-up at least show one of herein below:When the title of the file transmitted, the progress of transmission, residue transmission Between.
In embodiments of the present invention, the first terminal is given birth to according to the described first filling content D and the second image frame B It is specially into the 3rd image frame E:First, the first terminal obtains the cut out areas C of the first image frame A position letter Breath, wash with watercolours is carried out then according to the filling content D, the positional information of the first cut out areas C and the second image frame B Dye, generate the 3rd image frame E.Wherein, the positional information of the first cut out areas C can be sent to by described device it is described First terminal or the first terminal are obtained by reading the positional information for the acquiescence being locally stored, and can also be passed through Parsing acquisition is carried out to second image frame, the present invention is not specifically limited.
In the present embodiment, adding the first filling content D has two benefits, and one is held in what first terminal was shown Image frame it is complete, be unlikely to produce bad user's visual experience;Second, by showing that file passes on the first filling content D Defeated information, the user of first terminal can be caused to obtain the progress msg of file transmission in time, such as the file transmitted Title, the progress of transmission, residue transmission time etc..Simultaneously as the first filling content D is stored in first terminal local , thus its render process will not take network bandwidth.
In summary, the method that picture is transmitted when transmitting file that first embodiment of the invention provides, is carried out at the same time When picture transmission and file transmit, by being cut out to the first image frame of transmission, the second image frame of generation is sent to first Terminal, the bandwidth resources needed for transmission image frame are reduced, and then file transmission can be carried out using this fractional bandwidth resource.Base In the present embodiment, carry out picture transmission at the same time and when file transmits, can take into account picture transmission quality, picture transmission speed, File transfer speed and user's visual experience, meet the use demand of user.
Referring to Fig. 5, the flow for the method that picture is transmitted when transmitting file that Fig. 5, which is second embodiment of the invention, to be provided Schematic diagram.
On the basis of first embodiment, the present embodiment still further comprises following steps:
S201, when receiving the picture and file from second terminal at the same time, extract the 4th picture being currently received Frame;Wherein, the 4th image frame has the second cut out areas being tailored.
S203, read the second filling content locally to prestore.
S204, according to second cut out areas of the 4th image frame described in the described second filling fills, generation is used In the 5th image frame of display.
In the first embodiment, described device is as picture and the transmitting terminal of file, in some cases, described device It can also serve as the receiving terminal of picture and file.For example, in the present embodiment, in the user of described device and the use of second terminal Family is during Video chat and video conference is carried out, if the user of the second terminal sends phase to the user of described device The information paper answered, now, the second terminal are cut out to obtain the 4th image frame to the picture of current transmission, and will cut out The 4th image frame afterwards is sent to described device, and described device obtains the second cut out areas that the 4th image frame is tailored, Then the second filling content locally to prestore is read, further according to described in the 4th image frame described in the described second filling fills Second cut out areas, generate the 5th image frame for display.
It should be noted that the second terminal in the present embodiment can be whole with the first terminal identical of first embodiment End, can also be different, and these schemes will not be described here within protection scope of the present invention.
The method that picture is transmitted when transmitting file that second embodiment of the invention provides, receives picture and file at the same time When, the 4th image frame of reception is filled according to the second filling content being locally stored and rendered, generation the complete 5th is drawn Face frame.Based on the present embodiment, when carrying out picture transmission and file transmission at the same time, picture transmission quality can be taken into account, picture passes Defeated speed, file transfer speed and user's visual experience, meet the use demand of user.
Referring to Fig. 6, the flow for the method that picture is transmitted when transmitting file that Fig. 6, which is third embodiment of the invention, to be provided Schematic diagram.It can be performed by the device (hereinafter referred to as device) that picture is transmitted when transmitting file, and be comprised the following steps:
S301, when receiving the picture and file from third terminal at the same time, extract be currently received come from the 3rd 6th image frame of terminal.
In the present embodiment, described device can be notebook computer, desktop computer, smart mobile phone, Intelligent flat computer etc., The present invention is not specifically limited.
In the present embodiment, the third terminal equally can be flat for notebook computer, desktop computer, smart mobile phone, intelligence Plate computer etc., the present invention is not specifically limited.
In the present embodiment, when the third terminal sends picture and file to described device simultaneously, the described 3rd eventually End can be cut out to the 3rd cut out areas of the image frame of current transmission, obtain the 6th image frame.
S302, read the 3rd filling content locally to prestore.
Wherein, the 3rd filling content can be identical with the 3rd cut out areas shape size of the 6th image frame Pop-up, the pop-up at least shows one of herein below:The title of the file transmitted, the progress of transmission, residue transmission Time.
S303, according to the 3rd cut out areas of the 6th image frame described in the described 3rd filling fills, generation is used In the 7th image frame of display.
Wherein, in filling, the positional information of the 3rd cut out areas of the 6th image frame need to first be obtained, the described 3rd The positional information of cut out areas can synchronously be sent by third terminal when sending six image frame, can also pass through reading The positional information for the acquiescence that described device is locally stored is taken to obtain;It can also be obtained by carrying out parsing to the 6th image frame , the present invention is not specifically limited.
After the positional information is obtained, described device can be cut out according to the described 3rd filling content, the described 3rd The positional information in region and the 6th image frame are rendered, and generate the 7th image frame for display.
The method that picture is transmitted when transmitting file that third embodiment of the invention provides, receives picture and file at the same time When, the 6th image frame of reception is filled according to the 3rd filling content being locally stored and rendered, generation the complete 7th is drawn Face frame.Based on the present embodiment, when carrying out picture transmission and file transmission at the same time, picture transmission quality can be taken into account, picture passes Defeated speed, file transfer speed and user's visual experience, meet the use demand of user.
Referring to Fig. 7, the flow for the method that picture is transmitted when transmitting file that Fig. 7, which is fourth embodiment of the invention, to be provided Schematic diagram.
On the basis of first embodiment, the present embodiment still further comprises following steps:
S401, when detecting the process to the 4th terminal transmission file during to the 4th terminal transmission picture When, obtain the 8th image frame of current transmission.
S402, the 4th predetermined cut out areas on the 8th image frame is cut out, generates the 9th image frame.
S403, the 9th image frame is sent to the 4th terminal, to cause the 4th terminal receiving described the After nine image frames, the 4th filling content locally to prestore is read, is given birth to according to the described 4th filling content and the 9th image frame Into the tenth image frame for display.
Wherein, the 4th filling content is and the 4th cut out areas shape size identical pop-up, the bullet Window at least shows one of herein below:The title of the file transmitted, the progress of transmission, residue transmission time.
In above-mentioned 3rd embodiment, described device is as receiving terminal, and in the case of once, described device can also be used as hair Sending end, it is implemented, and principle is similar with the content described in first embodiment of the invention, and the present invention is not specifically limited herein.
Referring to Fig. 8, the flow for the method that picture is transmitted when transmitting file that Fig. 8, which is fifth embodiment of the invention, to be provided Schematic diagram.It includes:
Sending terminal:
S501, when to receiving terminal transmit picture during detect to the receiving terminal transmission file process When, obtain the 11st image frame of current transmission;
S502, the 5th cut out areas of the 11st image frame is cut out, generates the 12nd image frame;
S503, the 12nd image frame is sent to the receiving terminal;
In receiving terminal:
S504, receive the 12nd image frame for sending terminal and sending;
S505, the filling content locally to prestore is read, used according to the filling content and the 12nd image frame generation In the 13rd image frame of display.
Wherein, the content of filling is the cut out areas shape size identical pop-up with the 11st image frame, institute State pop-up and at least show one of herein below:The title of the file transmitted, the progress of transmission, residue transmission time.
Fifth embodiment of the invention provide when transmit file transmit picture method, at the same time carry out picture transmission with When file transmits, by being cut out to the 11st image frame of transmission, the 12nd image frame of generation is sent to receiving terminal, subtracts Bandwidth resources needed for small transmission image frame, and then the progress file transmission of this fractional bandwidth resource can be utilized.Meanwhile connecing End is received, the 12nd image frame is filled using content is filled, generates complete 13rd image frame.Based on this implementation Example, when carrying out picture transmission and file transmission at the same time, picture transmission quality, picture transmission speed, file transmission can be taken into account Speed and user's visual experience, meet the use demand of user.
Referring to Fig. 9, the structure for the device that picture is transmitted when transmitting file that Fig. 9, which is sixth embodiment of the invention, to be provided Schematic diagram.The device 600 that picture is transmitted when transmitting file includes:
First image frame acquiring unit 610, for being detected when during picture is transmitted to first terminal to described When first terminal transmits the process of file, the first image frame of current transmission is obtained.
Scene cuts unit 620, it is raw for being cut out to the first predetermined cut out areas on first image frame Into the second image frame.
Picture transmitting element 630, for sending second image frame to first terminal, to cause the first terminal to exist After receiving second image frame, the first filling content locally to prestore is read, according to the described first filling content and described the Two image frames generate the 3rd image frame for display.
Wherein it is preferred to the size of first cut out areas is by current network conditions, the size and biography of the file of transmission The definition of defeated picture determines.
Preferably, the device 600 that picture is transmitted when transmitting file also includes:
4th image frame receiving unit, for when receiving the picture and file from second terminal at the same time, extraction to be worked as Before the 4th image frame that receives;
Second cut out areas obtaining unit, the second cut out areas being tailored for obtaining the 4th image frame;
Second filling content reading unit, for reading the locally prestore second filling content;
Fills unit, described second for the 4th image frame according to the described second filling fills cuts out area Domain, generate the 5th image frame for display.
Preferably, the second filling content is the second cut out areas shape size identical with the 4th image frame Pop-up, the pop-up at least show one of herein below:When the title of the file transmitted, the progress of transmission, residue transmission Between.
Preferably, the fills unit specifically includes:
Position information acquisition module, the positional information of the second cut out areas for obtaining the 4th image frame;Wherein, The positional information of second cut out areas of the 4th image frame is sent by second terminal;Or the position of second cut out areas Confidence breath is obtained by reading the positional information for the acquiescence being locally stored;Or the positional information of second cut out areas passes through Parsing acquisition is carried out to the 4th image frame;
Rendering module, for according to the described second filling content, the positional information of second cut out areas and described the Four image frames are rendered, and generate the 5th image frame.
Referring to Fig. 10, the knot for the device that picture is transmitted when transmitting file that Figure 10, which is seventh embodiment of the invention, to be provided Structure schematic diagram.The device 700 that picture is transmitted when transmitting file includes:
Picture extraction unit 710, for when receiving the picture and file from third terminal at the same time, extraction currently to connect The 6th image frame received.Wherein, the 6th image frame has the 3rd cut out areas being tailored.
Content reading unit 720 is filled, for reading the locally prestore the 3rd filling content.
Fills unit 730, for the 6th image frame according to the described 3rd filling fills the described 3rd cuts out Region, generate the 7th image frame for display.
Described 3rd fills content as the 3rd cut out areas shape size identical pop-up with the 6th image frame, institute State pop-up and at least show one of herein below:The title of the file transmitted, the progress of transmission, residue transmission time.
Preferably, the fills unit 730 is specifically used for, and obtains the position of the 3rd cut out areas of the 6th image frame Information;Wherein, the positional information of the 3rd cut out areas of the 6th image frame is sending the 6th picture by third terminal Synchronously sent during frame;Or the positional information of the 3rd cut out areas is obtained by reading the positional information for the acquiescence being locally stored ;Or the positional information of the 3rd cut out areas to the 6th image frame by carrying out parsing acquisition;
Wash with watercolours is carried out according to the described 3rd filling content, the positional information of the 3rd cut out areas and the 6th image frame Dye, generates the 7th image frame for display.
Preferably, in addition to:
8th image frame acquiring unit, detected for working as during to the 4th terminal transmission picture to the described 4th During the process of terminal transmission file, the 8th image frame of current transmission is obtained;
4th cut out areas cuts unit, for being cut to the 4th predetermined cut out areas on the 8th image frame Cut out, generate the 9th image frame;
9th image frame transmitting element, for sending the 9th image frame to the 4th terminal, to cause described Four terminals read the 4th filling content locally to prestore, according to the described 4th filling content after the 9th image frame is received And the 9th image frame generates the tenth image frame for display.
Refer to Figure 11, eighth embodiment of the invention additionally provides a kind of terminal, including processor 801, memory 802 and It is stored in computer program 803 in the memory 802;Wherein, the computer program 803 can be by the processor 801 Perform, to realize above-mentioned first embodiment to the method described in fourth embodiment.
It should be noted that in the present embodiment, it can be also stored with picture transmission function and text in the memory The application software 804 of part transfer function, such as QQ, the computer program 803 can be deposited as the plug-in unit of the application software 804 .
In the present embodiment, the terminal may also include at least one network interface 807 or other users interface 806 to A few communication bus 805.Communication bus 805 is used to realize the connection communication between these components.Wherein, user interface 806 USB interface and other standards interface, wireline interface can optionally be included.Network interface 807 can optionally include Wi-Fi Interface and other wave points.
The terminal that the present embodiment provides, when carrying out picture transmission at the same time and file transmits, the image frame of transmission is entered Row is cut out, and reduces the bandwidth resources needed for transmission image frame, and then can carry out file transmission using this fractional bandwidth resource. When carrying out picture reception and file reception, the filling content locally to prestore is read, and connect according to the filling content and currently The image frame of receipts is rendered, and generates the complete picture frame for display.Based on the embodiment of the present invention, picture biography is carried out at the same time During the transmission of defeated and file, picture transmission quality, picture transmission speed, file transfer speed and user's visual experience can be taken into account, Meet the use demand of user.
Ninth embodiment of the invention additionally provides a kind of computer-readable recording medium, the computer-readable recording medium Computer program including storage, wherein, the computer-readable recording medium institute is controlled when the computer program is run The method described in first to fourth embodiment as described above is performed in equipment.
The above disclosed power for being only a kind of preferred embodiment of the present invention, the present invention can not being limited with this certainly Sharp scope, one of ordinary skill in the art will appreciate that realizing all or part of flow of above-described embodiment, and weighed according to the present invention Profit requires made equivalent variations, still falls within and invents covered scope.
One of ordinary skill in the art will appreciate that realize all or part of flow in above-described embodiment method, being can be with The hardware of correlation is instructed to complete by computer program, described program can be stored in a computer read/write memory medium In, the program is upon execution, it may include such as the flow of the embodiment of above-mentioned each method.Wherein, described storage medium can be magnetic Dish, CD, read-only memory (Read-Only Memory, ROM) or random access memory (Random Access Memory, RAM) etc..

Claims (15)

  1. A kind of 1. method that picture is transmitted when transmitting file, it is characterised in that including:
    When detecting the process to first terminal transmission file during transmitting picture to first terminal, obtain and work as Before be transferred to the first image frame of first terminal;
    The first predetermined cut out areas on first image frame is cut out, generates the second image frame;
    Second image frame is sent to the first terminal, to cause the first terminal receiving second image frame Afterwards, the first filling content locally to prestore is read, is generated according to the described first filling content and second image frame for showing The 3rd image frame shown.
  2. 2. the method according to claim 1 that picture is transmitted when transmitting file, it is characterised in that described first cuts out area The size in domain is determined by the definition of the picture of current network conditions, the size of the file of transmission and transmission.
  3. 3. the method according to claim 1 that picture is transmitted when transmitting file, it is characterised in that described in transmission file When transmit picture method also include:
    When receiving the picture and file from second terminal at the same time, extract be currently received from the second terminal 4th image frame;Wherein, the 4th image frame has the second cut out areas being tailored;
    Read the second filling content locally to prestore;
    According to second cut out areas of the 4th image frame described in the described second filling fills, for display is generated Five image frames.
  4. 4. the method according to claim 3 that picture is transmitted when transmitting file, it is characterised in that
    Described second fills content as the second cut out areas shape size identical pop-up with the 4th image frame, the bullet Window at least shows one of herein below:The title of the file transmitted, the progress of transmission, residue transmission time.
  5. 5. the method according to claim 3 that picture is transmitted when transmitting file, it is characterised in that described according to described the Second cut out areas of the 4th image frame, generates the 5th image frame for display, specifically described in two filling fills For:
    Obtain the positional information of the second cut out areas of the 4th image frame;Wherein, the second of the 4th image frame is cut out The positional information in region is sent by second terminal;Or the positional information of second cut out areas is locally stored by reading The positional information of acquiescence obtains;Or the positional information of second cut out areas to the 4th image frame by parsing Obtain;
    Rendered according to the described second filling content, the positional information of second cut out areas and the 4th image frame, Generate the 5th image frame.
  6. A kind of 6. method that picture is transmitted when transmitting file, it is characterised in that including:
    When receiving the picture and file from third terminal at the same time, extract be currently received from the third terminal 6th image frame;Wherein, the 6th image frame has the 3rd cut out areas being tailored;
    Read the 3rd filling content locally to prestore;
    According to the 3rd cut out areas of the 6th image frame described in the described 3rd filling fills, for display is generated Seven image frames.
  7. 7. the method according to claim 6 that picture is transmitted when transmitting file, it is characterised in that
    Described 3rd fills content as the 3rd cut out areas shape size identical pop-up with the 6th image frame, the bullet Window at least shows one of herein below:The title of the file transmitted, the progress of transmission, residue transmission time.
  8. 8. the method according to claim 7 that picture is transmitted when transmitting file, it is characterised in that described according to described the The 3rd cut out areas of the 6th image frame, generates the 8th image frame for display, is specially described in three filling fills:
    Obtain the positional information of the 3rd cut out areas of the 6th image frame;Wherein, the 3rd of the 6th image frame cuts out The positional information in region is synchronously sent by third terminal when sending six image frame;Or the 3rd cut out areas Positional information is obtained by reading the positional information for the acquiescence being locally stored;Or the positional information of the 3rd cut out areas is led to Cross and parsing acquisition is carried out to the 6th image frame;
    Rendered according to the described 3rd filling content, the positional information of the 3rd cut out areas and the 6th image frame, Generate the 7th image frame for display.
  9. 9. the method according to claim 6 that picture is transmitted when transmitting file, it is characterised in that described in transmission file When transmit picture method also include:
    When detecting the process to the 4th terminal transmission file during to the 4th terminal transmission picture, obtain and work as Before be transferred to the 8th image frame of the 4th terminal;
    The 4th predetermined cut out areas on 8th image frame is cut out, generates the 9th image frame;
    The 9th image frame is sent to the 4th terminal, to cause the 4th terminal receiving the 9th image frame Afterwards, the 4th filling content locally to prestore is read, is generated according to the described 4th filling content and the 9th image frame for showing The tenth image frame shown.
  10. A kind of 10. method that picture is transmitted when transmitting file, it is characterised in that including:
    Sending terminal:
    When detecting the process to receiving terminal transmission file during transmitting picture to receiving terminal, obtain and work as Before be transferred to the 11st image frame of the receiving terminal;
    5th cut out areas of the 11st image frame is cut out, generates the 12nd image frame;
    The 12nd image frame is sent to the receiving terminal;
    In receiving terminal:
    Receive the 12nd image frame that the transmission terminal is sent;
    The filling content that locally prestores is read, for display is generated according to the filling content and the 12nd image frame 13 image frames.
  11. 11. the method according to claim 10 that picture is transmitted when transmitting file, it is characterised in that
    The filling content is the cut out areas shape size identical pop-up with the 11st image frame, and the pop-up is at least Show one of herein below:The title of the file transmitted, the progress of transmission, residue transmission time.
  12. A kind of 12. device that picture is transmitted when transmitting file, it is characterised in that including:
    First image frame acquiring unit, for being detected when during picture is transmitted to first terminal to the first terminal When transmitting the process of file, first image frame of the current transmission to first terminal is obtained;
    Scene cuts unit, for being cut out to the first predetermined cut out areas on first image frame, generation second Image frame;
    Picture transmitting element, for sending second image frame to first terminal, to cause the first terminal receiving institute After stating the second image frame, the first filling content locally to prestore is read, according to the described first filling content and second picture Frame generates the 3rd image frame for display.
  13. A kind of 13. device that picture is transmitted when transmitting file, it is characterised in that including:
    Picture extraction unit, for when receiving the picture and file from third terminal at the same time, extracting what is be currently received The 6th image frame from third terminal;Wherein, the 6th image frame has the 3rd cut out areas being tailored;
    Content reading unit is filled, for reading the locally prestore the 3rd filling content;
    Fills unit, it is raw for the 3rd cut out areas of the 6th image frame according to the described 3rd filling fills Into the 7th image frame for display.
  14. 14. a kind of terminal, it is characterised in that including processor, memory and the computer program being stored in the memory; Wherein, the computer program can by the computing device, with realize as described in claim 1 to 9 any one Transmit the method for transmitting picture during file.
  15. 15. a kind of computer-readable recording medium, it is characterised in that the computer-readable recording medium includes the calculating of storage Machine program, wherein, equipment where controlling the computer-readable recording medium when the computer program is run is performed as weighed Profit requires the method for transmitting picture described in 1 to 9 any one when transmitting file.
CN201710650436.9A 2017-08-01 2017-08-01 Method, device, terminal and storage medium for transmitting picture during file transmission Active CN107612881B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201710650436.9A CN107612881B (en) 2017-08-01 2017-08-01 Method, device, terminal and storage medium for transmitting picture during file transmission
PCT/CN2017/116634 WO2019024387A1 (en) 2017-08-01 2017-12-15 Method and apparatus for transmitting image during file transmission, terminal, and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710650436.9A CN107612881B (en) 2017-08-01 2017-08-01 Method, device, terminal and storage medium for transmitting picture during file transmission

Publications (2)

Publication Number Publication Date
CN107612881A true CN107612881A (en) 2018-01-19
CN107612881B CN107612881B (en) 2020-07-28

Family

ID=61064137

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710650436.9A Active CN107612881B (en) 2017-08-01 2017-08-01 Method, device, terminal and storage medium for transmitting picture during file transmission

Country Status (2)

Country Link
CN (1) CN107612881B (en)
WO (1) WO2019024387A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114866446A (en) * 2022-04-15 2022-08-05 西安广和通无线通信有限公司 Data transmission rate testing method, system, electronic device and storage medium

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114245177B (en) * 2021-12-17 2024-01-23 智道网联科技(北京)有限公司 Smooth display method and device of high-precision map, electronic equipment and storage medium

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101547183A (en) * 2008-03-27 2009-09-30 田园 Method for online watching of multimedia files
CN101645880A (en) * 2008-08-06 2010-02-10 华为技术有限公司 Method and device for forwarding data frame based on line bundle
CN102368247A (en) * 2011-09-16 2012-03-07 杭州典能科技有限公司 Method for executing SWF (Small Web Format) file on handheld terminal
CN102546768A (en) * 2011-12-23 2012-07-04 深圳市同洲电子股份有限公司 Content sharing method, device and system
JP5102552B2 (en) * 2007-07-25 2012-12-19 イーストマン コダック カンパニー Image processing system, imaging device, and output device
CN103036980A (en) * 2012-12-13 2013-04-10 北京奇虎科技有限公司 Data transmission equipment and method used for remote service
CN103313120A (en) * 2012-03-08 2013-09-18 深圳市腾讯计算机***有限公司 Method, mobile terminal, cloud terminal and system for displaying frame
CN103458220A (en) * 2012-06-04 2013-12-18 联想(北京)有限公司 Image processing method and electronic equipment
CN104954812A (en) * 2014-03-27 2015-09-30 腾讯科技(深圳)有限公司 Video synchronized playing method, device and system

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7428000B2 (en) * 2003-06-26 2008-09-23 Microsoft Corp. System and method for distributed meetings
CN100463521C (en) * 2004-10-26 2009-02-18 大竑企业股份有限公司 Method for improving image and sound data imaging effect and transmission rate in Internet network
CN101309390B (en) * 2007-05-17 2012-05-23 华为技术有限公司 Visual communication system, apparatus and subtitle displaying method
CN102104766A (en) * 2009-12-18 2011-06-22 深圳富泰宏精密工业有限公司 Privacy protecting system and method in video call
CN102123213A (en) * 2010-01-07 2011-07-13 彭凤琴 Videophone multimedia intelligent communication system
CN102595096A (en) * 2012-02-28 2012-07-18 律典(上海)信息技术有限公司 Cross-platform conference system based on graphic image synchronization

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5102552B2 (en) * 2007-07-25 2012-12-19 イーストマン コダック カンパニー Image processing system, imaging device, and output device
CN101547183A (en) * 2008-03-27 2009-09-30 田园 Method for online watching of multimedia files
CN101645880A (en) * 2008-08-06 2010-02-10 华为技术有限公司 Method and device for forwarding data frame based on line bundle
CN102368247A (en) * 2011-09-16 2012-03-07 杭州典能科技有限公司 Method for executing SWF (Small Web Format) file on handheld terminal
CN102546768A (en) * 2011-12-23 2012-07-04 深圳市同洲电子股份有限公司 Content sharing method, device and system
CN103313120A (en) * 2012-03-08 2013-09-18 深圳市腾讯计算机***有限公司 Method, mobile terminal, cloud terminal and system for displaying frame
CN103458220A (en) * 2012-06-04 2013-12-18 联想(北京)有限公司 Image processing method and electronic equipment
CN103036980A (en) * 2012-12-13 2013-04-10 北京奇虎科技有限公司 Data transmission equipment and method used for remote service
CN104954812A (en) * 2014-03-27 2015-09-30 腾讯科技(深圳)有限公司 Video synchronized playing method, device and system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114866446A (en) * 2022-04-15 2022-08-05 西安广和通无线通信有限公司 Data transmission rate testing method, system, electronic device and storage medium

Also Published As

Publication number Publication date
CN107612881B (en) 2020-07-28
WO2019024387A1 (en) 2019-02-07

Similar Documents

Publication Publication Date Title
US10068364B2 (en) Method and apparatus for making personalized dynamic emoticon
CN107534704B (en) Information processing method, device and medium connected via communication network
CN108173742B (en) Image data processing method and device
CN109670427B (en) Image information processing method and device and storage medium
CN101484886A (en) Methods and apparatuses for dynamically sharing a portion of a display for application based screen sampling
CN100566306C (en) A kind of sectional drawing method and apparatus based on IM
US10673911B2 (en) Displaying regions of user interest in sharing sessions
US8132102B2 (en) Messaging interface systems and methods
EP3068070A1 (en) Method and device for initiating network conference
CN102855059A (en) Terminal and information sharing method
TW201249144A (en) Sending and receiving method and terminal of instant communication base on manuscript original handwriting
CN111507352B (en) Image processing method and device, computer equipment and storage medium
CN105430317B (en) A kind of video background setting method and terminal device
CN105988790B (en) Information processing method, sending terminal and receiving terminal
US10897435B2 (en) Instant messaging method and system, and electronic apparatus
CN108235100A (en) Multi-display method, apparatus and system
CN107612881A (en) Method, apparatus, terminal and the storage medium of picture are transmitted when transmitting file
CN112817671A (en) Image processing method, device, equipment and computer readable storage medium
CN105578110A (en) Video call method, device and system
CN105407313A (en) Video calling method, equipment and system
CN105407148A (en) Client side-based network data synchronization method, device and system
CN109766315A (en) Document presentation method and terminal, computer storage medium, computer equipment
CN104683217A (en) Multimedia information transmission method and instant messaging client
CN108322691A (en) Video meeting implementing method, device and system, computer readable storage medium
CN104753759A (en) Method and device for displaying contact person information in instant messaging (IM) system

Legal Events

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