CN108881775A - A kind of video communication method and mobile terminal - Google Patents

A kind of video communication method and mobile terminal Download PDF

Info

Publication number
CN108881775A
CN108881775A CN201810539234.1A CN201810539234A CN108881775A CN 108881775 A CN108881775 A CN 108881775A CN 201810539234 A CN201810539234 A CN 201810539234A CN 108881775 A CN108881775 A CN 108881775A
Authority
CN
China
Prior art keywords
image
target frame
frame image
data packet
preset
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
CN201810539234.1A
Other languages
Chinese (zh)
Other versions
CN108881775B (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.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication 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 Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201810539234.1A priority Critical patent/CN108881775B/en
Publication of CN108881775A publication Critical patent/CN108881775A/en
Application granted granted Critical
Publication of CN108881775B publication Critical patent/CN108881775B/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/141Systems for two-way working between two video terminals, e.g. videophone
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/60Network structure or processes for video distribution between server and client or between remote clients; Control signalling between clients, server and network components; Transmission of management data between server and client, e.g. sending from server to client commands for recording incoming content stream; Communication details between server and client 
    • H04N21/63Control signaling related to video distribution between client, server and network components; Network processes for video distribution between server and clients or between remote clients, e.g. transmitting basic layer and enhancement layers over different transmission paths, setting up a peer-to-peer communication via Internet between remote STB's; Communication protocols; Addressing
    • H04N21/647Control signaling between network components and server or clients; Network processes for video distribution between server and clients, e.g. controlling the quality of the video stream, by dropping packets, protecting content from unauthorised alteration within the network, monitoring of network load, bridging between two different networks, e.g. between IP and wireless
    • H04N21/64784Data processing by the network
    • H04N21/64792Controlling the complexity of the content stream, e.g. by dropping packets

Landscapes

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

Abstract

The invention discloses a kind of video communication method and mobile terminal, the method includes:The image data packet of video calling opposite end transmission is received, determines frame image corresponding with described image data packet;The frame image that the image data packet of loss will be present is determined as target frame image;According to the target frame image, the relevant parameter between the image data packet lost in the target frame image and the target frame image is determined;When the relevant parameter meets the first preset condition, then the target frame image is abandoned;When the relevant parameter meets the second preset condition, then the target frame image is played.The present invention can reduce Huaping phenomenon, avoid Caton phenomenon excessively frequent, promote user experience.

Description

A kind of video communication method and mobile terminal
Technical field
The present invention relates to field of terminal more particularly to a kind of video communication methods and mobile terminal.
Background technique
With popularizing for mobile terminal, user can be contacted by mobile terminal with different communication modes, wherein Video communication can be applied between two mobile terminals, Huo Zheduo as a kind of connection type contacted between user is established Between a mobile terminal, thus make two even more than between user and meanwhile establish video connection, promoted exchange real-time and Convenience.
Video communication is to be packaged audio and coded image data and encapsulation, is given out a contract for a project mode by network packet, by data Packet be sent to corresponding mobile terminal, which is decoded after received data packet, according to data packet sequence recombination with Audio, video data is restored, to realize information exchange.
Due to the limitation of mobile terminal upstream rate, when video communication sends audio, video data, it is understood that there may be lose figure As the case where data packet, and mobile terminal receives incomplete image data packet, error when will lead to reconstructed picture data packet. Data packet continues to play the frame image of the mistake when malfunctioning, can show as video Huaping phenomenon;Data packet is not broadcast when malfunctioning The frame image for putting the mistake, then can show as video cardton phenomenon.Accordingly, it is possible to which it is excessive to will lead to video Huaping phenomenon, or block Phenomenon of pausing is excessive, influences user experience.
Summary of the invention
The purpose of the embodiment of the present invention is that a kind of video communication method and mobile terminal are provided, to solve current video communication When the Huaping phenomenon or more problem of Caton phenomenon.
In order to solve the above-mentioned technical problem, the invention is realized in this way:
In a first aspect, providing a kind of video communication method, this method includes:
The image data packet of video calling opposite end transmission is received, determines frame image corresponding with described image data packet;
The frame image that the image data packet of loss will be present is determined as target frame image;
According to the target frame image, the image data packet and the target frame figure lost in the target frame image are determined Relevant parameter as between;
When the relevant parameter meets the first preset condition, then the target frame image is abandoned;
When the relevant parameter meets the second preset condition, then the target frame image is played.
Second aspect provides a kind of mobile terminal, which includes:
Frame image determining module, for receiving the image data packet of video calling opposite end transmission, determining and described image The corresponding frame image of data packet;
Target image determining module is determined as target frame figure for the frame image of image data packet of loss to will be present Picture;
Parameter determination module, for determining the picture number lost in the target frame image according to the target frame image According to the relevant parameter between packet and the target frame image;
Discard module, for abandoning the target frame image when the relevant parameter meets the first preset condition;
Playing module, for playing the target frame image when the relevant parameter meets the second preset condition.
The third aspect provides a kind of mobile terminal, which includes processor, memory and be stored in described deposit On reservoir and the computer program that can run on the processor, the computer program are realized when being executed by the processor The step of method as described in relation to the first aspect.
Fourth aspect provides a kind of computer readable storage medium, which is characterized in that the computer-readable storage medium Computer program is stored in matter, and the step of method as described in relation to the first aspect is realized when the computer program is executed by processor Suddenly.
In embodiments of the present invention, terminal is after receiving image data packet, being decoded to image data packet and When recombination, if it is determined that corresponding frame image has the image data packet lost, then determines it as target frame image;For mesh Frame image is marked, can determine the relevant parameter between the image data packet lost in target frame image and the target frame image, root According to the relevant parameter, mobile terminal can determine discarding or play the target frame image;It is right as a result, when carrying out video communication In there is the target frame image for losing image data packet, further can determining discarding by relevant parameter or playing, to reduce The frequency of Huaping phenomenon avoids Caton phenomenon excessively frequent, promotes user experience.
Detailed description of the invention
The drawings described herein are used to provide a further understanding of the present invention, constitutes a part of the invention, this hair Bright illustrative embodiments and their description are used to explain the present invention, and are not constituted improper limitations of the present invention.In the accompanying drawings:
Fig. 1 is the flow chart of the video communication method of one embodiment of the present of invention;
Fig. 2 is the structure chart of the mobile terminal of one embodiment of the present of invention;
Fig. 3 is the structure chart of the mobile terminal of another embodiment of the invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description, it is clear that described embodiments are some of the embodiments of the present invention, instead of all the embodiments.Based on this hair Embodiment in bright, every other implementation obtained by those of ordinary skill in the art without making creative efforts Example, shall fall within the protection scope of the present invention.
Fig. 1 is the flow chart of the video communication method of one embodiment of the present of invention.As shown in Figure 1, this method includes:
Step 110, the image data packet of video calling opposite end transmission is received, determines frame figure corresponding with image data packet Picture.
The image data packet of video calling opposite end transmission, when can be two or more mobile terminals progress video calling The image data packet of transmission.During two or more mobile terminals carry out audio/video communication mutually, the shifting of sender Dynamic terminal can encode audio and image data and encapsulation is packaged, in such a way that network packet is given out a contract for a project, by audio, video data Packet is sent to the mobile terminal of recipient.The mobile terminal of recipient is decoded received data packet, according to data packet Sequence recombination reduction audio, video data.
The mobile terminal of recipient, can be according to the sequence of image data packet to image data after receiving image data packet Packet is recombinated, and each frame image is restored.
Step 120, the frame image that the image data packet of loss will be present is determined as target frame image.
Mobile terminal, for each frame image that needs play, can detecte every during playing frame image One frame image is with the presence or absence of the image data packet lost.Specifically, mobile terminal is being gone back firstly the need of original digital image data packet is gone back In former process, if it find that a certain frame image has the image data packet lost, target frame image can be determined it as.
It is understood that multiple images data packet, only all picture numbers may be corresponded to for a frame image In the presence of Bao Jun, which is only completely.For complete frame image, mobile terminal is directly played, and for There are the frame image of the data packet of loss, mobile terminal can then determine it as target frame image, and carry out subsequent processing.
Step 130, according to target frame image, determine the image data packet lost in target frame image and target frame image it Between relevant parameter.
Relevant parameter can associate the image data packet lost in target frame image with the target frame image.Association Parameter can have one or more.
Step 140, when relevant parameter meets the first preset condition, then target frame image is abandoned.
Step 150, when relevant parameter meets the second preset condition, then target frame image is played.
In embodiments of the present invention, terminal is after receiving image data packet, being decoded to image data packet and When recombination, if it is determined that corresponding frame image has the image data packet lost, then determines it as target frame image;For mesh Frame image is marked, can determine the relevant parameter between the image data packet lost in target frame image and the target frame image, root According to the relevant parameter, mobile terminal can determine discarding or play the target frame image;It is right as a result, when carrying out video communication In there is the target frame image for losing image data packet, further can determining discarding by relevant parameter or playing, to reduce The frequency of Huaping phenomenon avoids Caton phenomenon excessively frequent, promotes user experience.
In one implementation of the present embodiment, relevant parameter include colored screen image area and target frame image area it Between ratio.Further, step 130 can be implemented as:
According to the image data packet lost in target frame image, the image data packet pair in target frame image with loss is determined The flower screen image answered;
Obtain the ratio between the area of flower screen image and the area of target frame image.
It is understood that the image data packet lost will form flower in target frame image in target frame image Screen image.Flower screen image, which can be, the striped different from normal color, spot or color lump on the screen of mobile terminal, or has position top , situations such as entanglement, screen shake, distortion.
Based on flower screen image, the area of colored screen image can be calculated, and further calculate the area of colored screen image with Ratio between the area of corresponding target frame image.
Wherein, the first preset condition can be ratio more than or equal to preset value.When the ratio is greater than or equal to preset value When, mobile terminal can abandon the target frame image.Herein, ratio is greater than preset value, indicates that the area of flower screen image compares Greatly, the display for having influenced entire target frame image will lead to target frame image and show imperfect, causes user basic It can not see the picture in the target frame image, or can only see the profile in target frame image, but the picture that user is seen Face information for a user, can be ignored.
In the terminal, the size of usual screen is fixed, therefore, in another implementation, can also basis The size of screen determines the area for the frame image that screen is shown, then determines the size of a preset colored panel product, this is default Flower panel product guarantee the area of its frame image show with screen less than above-mentioned ratio.In this way, can be directly by flower panel product It is compared with the preset colored panel product, if the former spends panel, product is larger, abandons corresponding target frame image.
Wherein, the second preset condition can be ratio less than preset value.In one case, it when spending panel product smaller, leads When causing ratio to be less than preset value, or flower panel product being caused to be less than above-mentioned preset colored panel product, mobile terminal then can be straight It connects and plays corresponding target frame image.
But in another case, the display that the position of flower panel product may cause corresponding target frame image generates Huge difference.For example, when flower panel product is located at the positions such as eye, mouth of portrait in target frame image, if mobile terminal Showing the target frame image, the major part that will lead to user's direct viewing to portrait is incomplete, lead to picture serious distortion, thus Discomfort is caused to user.
Based on the above, relevant parameter further includes colored screen image in target frame image in another implementation of embodiment Coordinate parameters.Mobile terminal is when displaying an image, it will usually the position that image is shown is determined with fixed coordinate-system, thus Guarantee that picture that user sees and original picture are identical.Based on the above coordinate-system, mobile terminal can determine colored screen Coordinate parameters of the image in target frame image.
In another implementation of the present embodiment, the first preset condition can be ratio less than preset value, and by Hua Pingtu As the registration between the flower screen image and preset image that the coordinate parameters in target frame image calculate is greater than target value.
When above-mentioned ratio is less than preset value, mobile terminal can position preset image from target frame image first. Wherein, preset image comprises at least one of the following:Face characteristic image, eye feature image, mouth feature image, nose are special Levy image.In the presence of mobile terminal determines preset image, coordinate of the preset image in target frame image can be determined Parameter, further, according to flower screen image in target frame image coordinate parameters and preset image in target frame image Coordinate parameters, can determine the registration between colored screen image and preset image;When registration is greater than target value, indicate Flower screen image has seriously affected the display of pre-set image, will lead to pre-set image and does not meet completely with original image, this When, mobile terminal can abandon target frame image.
Registration can be by flower screen image coordinate parameters and preset image coordinate parameters determine it is between the two Quantity accounting of the coordinate parameters of intersection in the coordinate parameters of preset image.
In an implementation of the present embodiment, when registration is greater than target value, mobile terminal can also be intelligentized Target frame image is repaired, for example, mobile terminal can be modified corresponding pre- when pre-set image is eye feature image If image, when mobile terminal judgement repair after target frame image meet display require when, the target frame image can be played. It should be pointed out that this only reduces a kind of specific mode of flower screen image phenomenon, the present embodiment is not limited to other differences Mode reduce colored screen image phenomenon.
In another implementation of the present embodiment, the second preset condition can be ratio and be less than preset value, and mobile terminal Determine that preset image is not present.Second preset condition is also possible to ratio less than preset value, and mobile terminal determines preset figure As existing, and registration is less than target value.
When above-mentioned ratio is less than preset value, mobile terminal can position preset image from target frame image first. Wherein, preset image comprises at least one of the following:Face characteristic image, eye feature image, mouth feature image, nose are special Levy image.It, then can be with live play target frame image in the absence of mobile terminal determines preset image.When mobile terminal is true In the presence of fixed preset image, coordinate parameters of the preset image in target frame image can be determined, further, according to flower Screen image can determine flower in the coordinate parameters of coordinate parameters and preset image in target frame image in target frame image Registration between screen image and preset image;When registration is less than target value, it is default to indicate that flower screen image will not influence The display of image will not cause preset image not meet completely with original image, less will lead to user even if influencing The distortion of viewing, at this point, mobile terminal can play target frame image.
It is understood that mobile terminal further passes through association after determining target frame missing image image data packet Parameter determines whether that play target frame image directly determines relative to after judging target frame missing image image data packet Play or abandon target frame image for, can to avoid the frequent generation of Huaping phenomenon, meanwhile, can also avoid Caton phenomenon mistake It is more.
Wherein, preset image is not limited to the above face characteristic image, eye feature image, mouth feature image, nose Characteristic image, preset image can be added or delete according to specific requirement.For example, preset image is also possible to move Eyes or the characteristic image of mouth of object etc. are also possible to certain characteristic images of plant.Preset image can be according to need Want intelligentized selection.
When mobile terminal positions preset image from target frame image, can from target frame image locating human face's feature At least one of all images such as image, eye feature image, mouth feature image and nose characteristic image.
It is understood that mobile terminal can be played simultaneously audio-frequency information therein, regard sound when playing frame image Frequency picture keeps synchronizing.
The method that the embodiment of the present invention is described in detail is combined above.Shifting according to an embodiment of the present invention is described below in detail Dynamic terminal.Fig. 2 is the structure chart of the mobile terminal of one embodiment of the invention, as shown in Fig. 2, mobile terminal 200 includes:
Frame image determining module 210, for receiving the image data packet of video calling opposite end transmission, the determining and figure As the corresponding frame image of data packet;
Target image determining module 220 is determined as target for the frame image of image data packet of loss to will be present Frame image;
Parameter determination module 230, for determining the image lost in the target frame image according to the target frame image Relevant parameter between data packet and the target frame image;
Discard module 240, for abandoning the target frame image when the relevant parameter meets the first preset condition;
Playing module 250, for playing the target frame image when the relevant parameter meets the second preset condition.
In embodiments of the present invention, terminal is after receiving image data packet, being decoded to image data packet and When recombination, if it is determined that corresponding frame image has the image data packet lost, then determines it as target frame image;For mesh Frame image is marked, can determine the relevant parameter between the image data packet lost in target frame image and the target frame image, root According to the relevant parameter, mobile terminal can determine discarding or play the target frame image;It is right as a result, when carrying out video communication In there is the target frame image for losing image data packet, further can determining discarding by relevant parameter or playing, to reduce The frequency of Huaping phenomenon avoids Caton phenomenon excessively frequent, promotes user experience.
Optionally, as one embodiment, the relevant parameter includes the area and the target frame image of colored screen image Area between ratio;
The parameter determination module 230 is used for:
According to the image data packet lost in the target frame image, determine in the target frame image with the loss The corresponding colored screen image of image data packet;
Obtain the ratio between the area of the colored screen image and the area of the target frame image.
Optionally, as one embodiment, the discard module 240 is used for:
When the ratio is greater than preset value, the target frame image is abandoned;
The playing module 250 is used for:
When the ratio is less than the preset value, the target frame image is played.
Optionally, as one embodiment, the relevant parameter further includes the colored screen image in the target frame image In coordinate parameters;
The discard module 240 is used for:
When the ratio is less than the preset value, preset image is positioned from the target frame image;
In the presence of the preset image, according to coordinate parameters of the flower screen image in the target frame image and described Coordinate parameters of the preset image in the target frame image, determine between the colored screen image and the preset image Registration;
When the registration is greater than target value, the target frame image is abandoned.
Optionally, as one embodiment, the preset image is comprised at least one of the following:Face characteristic image, eye Portion's characteristic image, mouth feature image, nose characteristic image;
The discard module is used for:
The face characteristic image, eye feature image, mouth feature image and nose are positioned from the target frame image At least one of portion's characteristic image.
Mobile terminal provided in an embodiment of the present invention can mobile terminal is realized in above method embodiment each process, To avoid repeating, which is not described herein again.
A kind of hardware structural diagram of Fig. 3 mobile terminal of each embodiment to realize the present invention, the mobile terminal 300 Including but not limited to:Radio frequency unit 301, audio output unit 303, input unit 304, sensor 305, is shown network module 302 Show the components such as unit 306, user input unit 307, interface unit 308, memory 309, processor 310 and power supply 311. It will be understood by those skilled in the art that mobile terminal structure shown in Fig. 3 does not constitute the restriction to mobile terminal, it is mobile whole End may include perhaps combining certain components or different component layouts than illustrating more or fewer components.In the present invention In embodiment, mobile terminal includes but is not limited to mobile phone, tablet computer, laptop, palm PC, car-mounted terminal, can wear Wear equipment and pedometer etc..
Wherein, processor 310 are used for:
The image data packet of video calling opposite end transmission is received, determines frame image corresponding with described image data packet;
The frame image that the image data packet of loss will be present is determined as target frame image;
According to the target frame image, the image data packet and the target frame figure lost in the target frame image are determined Relevant parameter as between;
When the relevant parameter meets the first preset condition, then the target frame image is abandoned;
When the relevant parameter meets the second preset condition, then the target frame image is played.
In embodiments of the present invention, terminal is after receiving image data packet, being decoded to image data packet and When recombination, if it is determined that corresponding frame image has the image data packet lost, then determines it as target frame image;For mesh Frame image is marked, can determine the relevant parameter between the image data packet lost in target frame image and the target frame image, root According to the relevant parameter, mobile terminal can determine discarding or play the target frame image;It is right as a result, when carrying out video communication In there is the target frame image for losing image data packet, further can determining discarding by relevant parameter or playing, to reduce The frequency of Huaping phenomenon avoids Caton phenomenon excessively frequent, promotes user experience.
It should be understood that the embodiment of the present invention in, radio frequency unit 301 can be used for receiving and sending messages or communication process in, signal Send and receive, specifically, by from base station downlink data receive after, to processor 310 handle;In addition, by uplink Data are sent to base station.In general, radio frequency unit 301 includes but is not limited to antenna, at least one amplifier, transceiver, coupling Device, low-noise amplifier, duplexer etc..In addition, radio frequency unit 301 can also by wireless communication system and network and other set Standby communication.
Mobile terminal provides wireless broadband internet by network module 302 for user and accesses, and such as user is helped to receive It sends e-mails, browse webpage and access streaming video etc..
Audio output unit 303 can be received by radio frequency unit 301 or network module 302 or in memory 309 The audio data of storage is converted into audio signal and exports to be sound.Moreover, audio output unit 303 can also be provided and be moved The relevant audio output of specific function that dynamic terminal 300 executes is (for example, call signal receives sound, message sink sound etc. Deng).Audio output unit 303 includes loudspeaker, buzzer and receiver etc..
Input unit 304 is for receiving audio or video signal.Input unit 304 may include graphics processor (Graphics Processing Unit, GPU) 3041 and microphone 3042, graphics processor 3041 is in video acquisition mode Or the image data of the static images or video obtained in image capture mode by image capture apparatus (such as camera) carries out Reason.Treated, and picture frame may be displayed on display unit 306.Through graphics processor 3041, treated that picture frame can be deposited Storage is sent in memory 309 (or other storage mediums) or via radio frequency unit 301 or network module 302.Mike Wind 3042 can receive sound, and can be audio data by such acoustic processing.Treated audio data can be The format output that mobile communication base station can be sent to via radio frequency unit 301 is converted in the case where telephone calling model.
Mobile terminal 300 further includes at least one sensor 305, such as optical sensor, motion sensor and other biographies Sensor.Specifically, optical sensor includes ambient light sensor and proximity sensor, wherein ambient light sensor can be according to environment The light and shade of light adjusts the brightness of display panel 3061, and proximity sensor can close when mobile terminal 300 is moved in one's ear Display panel 3061 and/or backlight.As a kind of motion sensor, accelerometer sensor can detect in all directions (general For three axis) size of acceleration, it can detect that size and the direction of gravity when static, can be used to identify mobile terminal posture (ratio Such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap);It passes Sensor 305 can also include fingerprint sensor, pressure sensor, iris sensor, molecule sensor, gyroscope, barometer, wet Meter, thermometer, infrared sensor etc. are spent, details are not described herein.
Display unit 306 is for showing information input by user or being supplied to the information of user.Display unit 306 can wrap Display panel 1061 is included, liquid crystal display (Liquid Crystal Display, LCD), Organic Light Emitting Diode can be used Forms such as (Organic Light-Emitting Diode, OLED) configure display panel 3061.
User input unit 307 can be used for receiving the number or character information of input, and generate the use with mobile terminal Family setting and the related key signals input of function control.Specifically, user input unit 307 include touch panel 3071 and Other input equipments 3072.Touch panel 3071, also referred to as touch screen collect the touch operation of user on it or nearby (for example user uses any suitable objects or attachment such as finger, stylus on touch panel 3071 or in touch panel 3071 Neighbouring operation).Touch panel 3071 may include both touch detecting apparatus and touch controller.Wherein, touch detection Device detects the touch orientation of user, and detects touch operation bring signal, transmits a signal to touch controller;Touch control Device processed receives touch information from touch detecting apparatus, and is converted into contact coordinate, then gives processor 310, receiving area It manages the order that device 310 is sent and is executed.Furthermore, it is possible to more using resistance-type, condenser type, infrared ray and surface acoustic wave etc. Seed type realizes touch panel 3071.In addition to touch panel 3071, user input unit 307 can also include other input equipments 3072.Specifically, other input equipments 3072 can include but is not limited to physical keyboard, function key (such as volume control button, Switch key etc.), trace ball, mouse, operating stick, details are not described herein.
Further, touch panel 3071 can be covered on display panel 3061, when touch panel 3071 is detected at it On or near touch operation after, send processor 310 to determine the type of touch event, be followed by subsequent processing device 310 according to touching The type for touching event provides corresponding visual output on display panel 3061.Although in Fig. 3, touch panel 3071 and display Panel 3061 is the function that outputs and inputs of realizing mobile terminal as two independent components, but in some embodiments In, can be integrated by touch panel 3071 and display panel 3061 and realize the function that outputs and inputs of mobile terminal, it is specific this Place is without limitation.
Interface unit 308 is the interface that external device (ED) is connect with mobile terminal 300.For example, external device (ED) may include having Line or wireless head-band earphone port, external power supply (or battery charger) port, wired or wireless data port, storage card end Mouth, port, the port audio input/output (I/O), video i/o port, earphone end for connecting the device with identification module Mouthful etc..Interface unit 308 can be used for receiving the input (for example, data information, electric power etc.) from external device (ED) and By one or more elements that the input received is transferred in mobile terminal 300 or can be used in 300 He of mobile terminal Data are transmitted between external device (ED).
Memory 309 can be used for storing software program and various data.Memory 309 can mainly include storing program area The storage data area and, wherein storing program area can (such as the sound of application program needed for storage program area, at least one function Sound playing function, image player function etc.) etc.;Storage data area can store according to mobile phone use created data (such as Audio data, phone directory etc.) etc..In addition, memory 309 may include high-speed random access memory, it can also include non-easy The property lost memory, a for example, at least disk memory, flush memory device or other volatile solid-state parts.
Processor 310 is the control centre of mobile terminal, utilizes each of various interfaces and the entire mobile terminal of connection A part by running or execute the software program and/or module that are stored in memory 309, and calls and is stored in storage Data in device 309 execute the various functions and processing data of mobile terminal, to carry out integral monitoring to mobile terminal.Place Managing device 310 may include one or more processing units;Preferably, processor 310 can integrate application processor and modulatedemodulate is mediated Manage device, wherein the main processing operation system of application processor, user interface and application program etc., modem processor is main Processing wireless communication.It is understood that above-mentioned modem processor can not also be integrated into processor 310.
Mobile terminal 300 can also include the power supply 311 (such as battery) powered to all parts, it is preferred that power supply 311 Can be logically contiguous by power-supply management system and processor 310, to realize management charging by power-supply management system, put The functions such as electricity and power managed.
In addition, mobile terminal 300 includes some unshowned functional modules, details are not described herein.
Preferably, the embodiment of the present invention also provides a kind of mobile terminal, including processor 310, and memory 309 is stored in On memory 309 and the computer program that can run on the processor 310, the computer program are executed by processor 310 Each process of Shi Shixian above method embodiment, and identical technical effect can be reached, it is no longer superfluous here to avoid repeating It states.
The embodiment of the present invention also provides a kind of computer readable storage medium, and meter is stored on computer readable storage medium Calculation machine program, realizes each process of above method embodiment when which is executed by processor, and can reach identical Technical effect, to avoid repeating, which is not described herein again.Wherein, the computer readable storage medium, such as read-only memory (Read-Only Memory, abbreviation ROM), random access memory (Random Access Memory, abbreviation RAM), magnetic disk Or CD etc..
It should be noted that, in this document, the terms "include", "comprise" or its any other variant are intended to non-row His property includes, so that the process, method, article or the device that include a series of elements not only include those elements, and And further include other elements that are not explicitly listed, or further include for this process, method, article or device institute it is intrinsic Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including being somebody's turn to do There is also other identical elements in the process, method of element, article or device.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side Method can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but in many cases The former is more preferably embodiment.Based on this understanding, technical solution of the present invention substantially in other words does the prior art The part contributed out can be embodied in the form of software products, which is stored in a storage medium In (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that a terminal (can be mobile phone, computer, service Device, air conditioner or network equipment etc.) execute method described in each embodiment of the present invention.
The embodiment of the present invention is described with above attached drawing, but the invention is not limited to above-mentioned specific Embodiment, the above mentioned embodiment is only schematical, rather than restrictive, those skilled in the art Under the inspiration of the present invention, without breaking away from the scope protected by the purposes and claims of the present invention, it can also make very much Form belongs within protection of the invention.

Claims (12)

1. a kind of video communication method, which is characterized in that the method includes:
The image data packet of video calling opposite end transmission is received, determines frame image corresponding with described image data packet;
The frame image that the image data packet of loss will be present is determined as target frame image;
According to the target frame image, determine the image data packet lost in the target frame image and the target frame image it Between relevant parameter;
When the relevant parameter meets the first preset condition, then the target frame image is abandoned;
When the relevant parameter meets the second preset condition, then the target frame image is played.
2. the method according to claim 1, wherein the relevant parameter include colored screen image area with it is described Ratio between the area of target frame image;
It is described according to the target frame image, determine the image data packet lost in the target frame image and the target frame figure Relevant parameter as between, including:
According to the image data packet lost in the target frame image, the image in the target frame image with the loss is determined The corresponding colored screen image of data packet;
Obtain the ratio between the area of the colored screen image and the area of the target frame image.
3. according to the method described in claim 2, it is characterized in that, described when the relevant parameter meets the first preset condition When, then the target frame image is abandoned, including:
When the ratio is more than or equal to preset value, the target frame image is abandoned;
It is described then to play the target frame image when the relevant parameter meets the second preset condition, including:
When the ratio is less than the preset value, the target frame image is played.
4. according to the method described in claim 2, it is characterized in that, the relevant parameter further includes the colored screen image described Coordinate parameters in target frame image;
It is described then to abandon the target frame image when the relevant parameter meets the first preset condition, including:
When the ratio is less than the preset value, preset image is positioned from the target frame image;
In the presence of the preset image, according to coordinate parameters of the flower screen image in the target frame image and described default Coordinate parameters of the image in the target frame image, determine the coincidence between the colored screen image and the preset image Degree;
When the registration is greater than target value, the target frame image is abandoned.
5. according to the method described in claim 4, it is characterized in that, the preset image comprises at least one of the following:Face Characteristic image, eye feature image, mouth feature image, nose characteristic image;
It is described to position preset image from the target frame image, including:
It is special that the face characteristic image, eye feature image, mouth feature image and nose are positioned from the target frame image Levy at least one of image.
6. a kind of mobile terminal, which is characterized in that including:
Frame image determining module, for receiving the image data packet of video calling opposite end transmission, determining and described image data Wrap corresponding frame image;
Target image determining module is determined as target frame image for the frame image of image data packet of loss to will be present;
Parameter determination module, for determining the image data packet lost in the target frame image according to the target frame image With the relevant parameter between the target frame image;
Discard module, for abandoning the target frame image when the relevant parameter meets the first preset condition;
Playing module, for playing the target frame image when the relevant parameter meets the second preset condition.
7. mobile terminal according to claim 6, which is characterized in that the relevant parameter include colored screen image area with Ratio between the area of the target frame image;
The parameter determination module is used for:
According to the image data packet lost in the target frame image, the image in the target frame image with the loss is determined The corresponding colored screen image of data packet;
Obtain the ratio between the area of the colored screen image and the area of the target frame image.
8. mobile terminal according to claim 7, which is characterized in that the discard module is used for:
When the ratio is greater than preset value, the target frame image is abandoned;
The playing module is used for:
When the ratio is less than the preset value, the target frame image is played.
9. mobile terminal according to claim 7, which is characterized in that the relevant parameter further includes that the colored screen image exists Coordinate parameters in the target frame image;
The discard module is used for:
When the ratio is less than the preset value, preset image is positioned from the target frame image;
In the presence of the preset image, according to coordinate parameters of the flower screen image in the target frame image and described default Coordinate parameters of the image in the target frame image, determine the coincidence between the colored screen image and the preset image Degree;
When the registration is greater than target value, the target frame image is abandoned.
10. mobile terminal according to claim 9, which is characterized in that the preset image comprises at least one of the following: Face characteristic image, eye feature image, mouth feature image, nose characteristic image;
The strategy determining module is used for:
It is special that the face characteristic image, eye feature image, mouth feature image and nose are positioned from the target frame image Levy at least one of image.
11. a kind of mobile terminal, which is characterized in that including:It memory, processor and is stored on the memory and can be in institute The computer program run on processor is stated, such as claim 1 to 5 is realized when the computer program is executed by the processor Any one of described in method the step of.
12. a kind of computer readable storage medium, which is characterized in that be stored with computer on the computer readable storage medium Program, the step of method as described in any one of claims 1 to 5 is realized when the computer program is executed by processor.
CN201810539234.1A 2018-05-30 2018-05-30 Video communication method and mobile terminal Active CN108881775B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810539234.1A CN108881775B (en) 2018-05-30 2018-05-30 Video communication method and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810539234.1A CN108881775B (en) 2018-05-30 2018-05-30 Video communication method and mobile terminal

Publications (2)

Publication Number Publication Date
CN108881775A true CN108881775A (en) 2018-11-23
CN108881775B CN108881775B (en) 2021-05-28

Family

ID=64335639

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810539234.1A Active CN108881775B (en) 2018-05-30 2018-05-30 Video communication method and mobile terminal

Country Status (1)

Country Link
CN (1) CN108881775B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111601178A (en) * 2020-05-26 2020-08-28 维沃移动通信有限公司 Video data processing method and device and electronic equipment
CN114511694A (en) * 2022-01-28 2022-05-17 北京百度网讯科技有限公司 Image recognition method, image recognition device, electronic equipment and medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101068210A (en) * 2007-06-20 2007-11-07 中兴通讯股份有限公司 Multimedia data transmitting method
CN102223544A (en) * 2011-06-02 2011-10-19 福州瑞芯微电子有限公司 Method for processing error after detecting error in H264 video stream
CN102223539A (en) * 2011-06-24 2011-10-19 武汉长江通信产业集团股份有限公司 Processing method for splash screen caused by picture coding frame loss
CN106303693A (en) * 2015-05-25 2017-01-04 北京视联动力国际信息技术有限公司 A kind of method and device of video data decoding
CN106791997A (en) * 2016-12-29 2017-05-31 Tcl集团股份有限公司 The processing method and system of a kind of stream medium data in receiving terminal, television terminal
CN107749055A (en) * 2017-09-20 2018-03-02 广东方纬科技有限公司 A kind of fault detection method, system and the device of LED traffic guidances screen

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101068210A (en) * 2007-06-20 2007-11-07 中兴通讯股份有限公司 Multimedia data transmitting method
CN102223544A (en) * 2011-06-02 2011-10-19 福州瑞芯微电子有限公司 Method for processing error after detecting error in H264 video stream
CN102223539A (en) * 2011-06-24 2011-10-19 武汉长江通信产业集团股份有限公司 Processing method for splash screen caused by picture coding frame loss
CN106303693A (en) * 2015-05-25 2017-01-04 北京视联动力国际信息技术有限公司 A kind of method and device of video data decoding
CN106791997A (en) * 2016-12-29 2017-05-31 Tcl集团股份有限公司 The processing method and system of a kind of stream medium data in receiving terminal, television terminal
CN107749055A (en) * 2017-09-20 2018-03-02 广东方纬科技有限公司 A kind of fault detection method, system and the device of LED traffic guidances screen

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111601178A (en) * 2020-05-26 2020-08-28 维沃移动通信有限公司 Video data processing method and device and electronic equipment
CN114511694A (en) * 2022-01-28 2022-05-17 北京百度网讯科技有限公司 Image recognition method, image recognition device, electronic equipment and medium
CN114511694B (en) * 2022-01-28 2023-05-12 北京百度网讯科技有限公司 Image recognition method, device, electronic equipment and medium

Also Published As

Publication number Publication date
CN108881775B (en) 2021-05-28

Similar Documents

Publication Publication Date Title
CN107770438A (en) A kind of photographic method and mobile terminal
CN108492246A (en) A kind of image processing method, device and mobile terminal
CN108418950B (en) Message prompt method and mobile terminal
CN107911445A (en) A kind of information push method, mobile terminal and storage medium
CN108320263A (en) A kind of method, device and mobile terminal of image procossing
CN108513067A (en) A kind of filming control method and mobile terminal
CN109542572A (en) A kind of interface display method and mobile terminal
CN109803110A (en) A kind of image processing method, terminal device and server
CN109831359A (en) A kind of detection method and its terminal device of data network connection state
CN108683980A (en) A kind of transmission method and mobile terminal of audio signal
CN109033912A (en) A kind of recognition methods of identification code and mobile terminal
CN110290277A (en) Method of controlling antenna and terminal
CN108881775A (en) A kind of video communication method and mobile terminal
CN109729336A (en) A kind of display methods and device of video image
CN109743454A (en) A kind of call handling method and mobile terminal
CN109302207A (en) A kind of parameter setting method and mobile terminal
CN109802945A (en) A kind of data transmission method and terminal device
CN108718360A (en) A kind of charging method and mobile terminal
CN108536513A (en) A kind of picture display direction method of adjustment and mobile terminal
CN109005297A (en) A kind of display methods and mobile terminal of navigation application
CN108419283A (en) A kind of method and mobile terminal of WIFI hot spot scanning
CN108540951A (en) A kind of recharge method and mobile terminal
CN107977947A (en) A kind of image processing method, mobile terminal
CN110312274A (en) A kind of method for building up and electronic equipment of wireless access point
CN109379575A (en) A kind of white balancing treatment method and move end

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