CN106412857A - Method and device for sending multimedia message - Google Patents

Method and device for sending multimedia message Download PDF

Info

Publication number
CN106412857A
CN106412857A CN201610907370.2A CN201610907370A CN106412857A CN 106412857 A CN106412857 A CN 106412857A CN 201610907370 A CN201610907370 A CN 201610907370A CN 106412857 A CN106412857 A CN 106412857A
Authority
CN
China
Prior art keywords
network link
multimedia message
link status
predetermined condition
duration
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
CN201610907370.2A
Other languages
Chinese (zh)
Other versions
CN106412857B (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.)
Nubia Technology Co Ltd
Original Assignee
Nubia 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 Nubia Technology Co Ltd filed Critical Nubia Technology Co Ltd
Priority to CN201610907370.2A priority Critical patent/CN106412857B/en
Publication of CN106412857A publication Critical patent/CN106412857A/en
Application granted granted Critical
Publication of CN106412857B publication Critical patent/CN106412857B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/12Messaging; Mailboxes; Announcements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/50Queue scheduling
    • H04L47/56Queue scheduling implementing delay-aware scheduling
    • H04L47/564Attaching a deadline to packets, e.g. earliest due date first
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/02Traffic management, e.g. flow control or congestion control
    • H04W28/0231Traffic management, e.g. flow control or congestion control based on communication conditions
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Abstract

The invention discloses a method and device for sending a multimedia message. The method comprises the steps of detecting a current network link state; judging whether the network link state satisfies a predetermined condition or not; and sending the multimedia message if the network link state satisfies the predetermined condition. According to the method and the device, unnecessary resource overheads in the multimedia message sending process can be reduced, the power consumption is reduced, and the user experience is improved.

Description

Send the method and device of multimedia message
Technical field
The application is related to computer realm, espespecially a kind of method and device sending multimedia message.
Background technology
Expanded year by year using the user group of double-card mobile phone at present, how more preferably the use scene of double card also gets more and more, Optimization Consumer's Experience, be problem demanding prompt solution, one of them it is simply that during double card non-data service card sending and receiving multimedia message field Scape.In scene used in connection with, there is problems with:Using non-data service card sending and receiving multimedia message, data service cards can be led to certainly Dynamic falling, to 2G, during transmitting-receiving, runs into the poor situation of link-quality, will necessarily result in multimedia message and cannot complete for a long time to receive and dispatch Action, waits network-side signaling feedback always, thus producing occupancy resource and the excessive problem of power consumption because holding lock for a long time.
Content of the invention
In order to solve above-mentioned technical problem, embodiments provide a kind of method and device sending multimedia message.
In order to reach the object of the invention, the embodiment of the present application provides:
A kind of method sending multimedia message, including:
Detect current network link status;
Judge whether described network link status meet predetermined condition;
Send described multimedia message when described network link status meet predetermined condition.
Wherein, after judging whether described network link status meet predetermined condition, also include:
When described network link status are unsatisfactory for described predetermined condition, message queue to be sent is put in described multimedia message.
Wherein, during described transmission multimedia message, also include:
Judge described multimedia message sends whether duration has reached the first predetermined duration threshold value;
When the transmission duration of described multimedia message exceedes described default first duration threshold value, and described multimedia message is put into be sent Message queue.
Wherein, when described network link status are unsatisfactory for described predetermined condition, also include:
Judge that described network link status are unsatisfactory for the duration of described predetermined condition and whether have reached the second predetermined duration Threshold value;
When the duration being unsatisfactory for described predetermined condition in described network link status reaches the second duration threshold value, terminate multimedia message Transmission process;
When the duration being unsatisfactory for described predetermined condition in described network link status is not up to described second duration threshold value, continue Continuous wait.
Wherein, after described termination multimedia message transmission process, also include:Persistently detect network link status, in described network Link State meets and starts described multimedia message during described predetermined condition and send process.
Wherein, described detection network link status, including:The RSSI of detection network link;
Described judge whether described network link status meet predetermined condition, including:Judge whether described RSSI reaches Default RSSI threshold value;
Represent that when the RSSI of network link is not less than described RSSI threshold value described network link status meet predetermined condition;
Represent that described network link status are unsatisfactory for predetermined condition when the RSSI of network link is less than described RSSI threshold value.
A kind of device for sending multimedia message, described device includes:
Detection module, for detecting current network link status;
Judge module, for judging whether described network link status meet predetermined condition;
Sending module, for sending described coloured silk when described judge module judges that network link status meet predetermined condition Letter.
Wherein, also include:
Processing module, for when described judge module judges that network link status are unsatisfactory for described predetermined condition, by institute State multimedia message and put into message queue to be sent.
Wherein, described judge module, is additionally operable to judge the duration that described network link status are unsatisfactory for described predetermined condition Whether reach the second predetermined duration threshold value;
Described processing module, is additionally operable to judge that described network link status are unsatisfactory for described predetermined bar in described judge module When the duration of part reaches the second duration threshold value, terminate multimedia message and send process;And, it is additionally operable to be discontented with described network link status When the duration of the described predetermined condition of foot is not up to described second duration threshold value, continue waiting for.
Wherein, described detection module, is additionally operable to persistently detect net after described processing module terminates multimedia message transmission process Network Link State;Described judge module, is additionally operable to after described processing module terminates multimedia message transmission process, persistently judges described Whether network link status meet predetermined condition;Described processing module, is additionally operable to, after terminating multimedia message transmission process, described sentence Disconnected module judges that network link status meet startup multimedia message during predetermined condition and send process.
Embodiments provide a kind of send multimedia message method and device, can based on state of data link detect into Row multimedia message is received and dispatched, it is possible to decrease unnecessary resource overhead during multimedia message transmitting-receiving, reduces power consumption, lifts Consumer's Experience.
Brief description
Accompanying drawing is used for providing technical solution of the present invention is further understood, and constitutes a part for description, with this The embodiment of application is used for explaining technical scheme together, does not constitute the restriction to technical solution of the present invention.
Fig. 1 is the hardware architecture diagram realizing each optional mobile terminal of embodiment one of the present invention;
Fig. 2 is the wireless communication system schematic diagram of mobile terminal as shown in Figure 1;
The method flow schematic diagram that Fig. 3 sends for embodiment of the present invention multimedia message;
Fig. 4 is used for for the embodiment of the present invention sending the composition structural representation of the device of multimedia message;
Fig. 5 is the another structural representation of Fig. 4 shown device.
The realization of the object of the invention, functional characteristics and advantage will be described further in conjunction with the embodiments referring to the drawings.
Specific embodiment
It should be appreciated that specific embodiment described herein, only in order to explain the present invention, is not intended to limit the present invention.
Realize the mobile terminal of each embodiment of the present invention referring now to Description of Drawings.In follow-up description, use For represent element such as " module ", " part " or " unit " suffix only for being conducive to the explanation of the present invention, itself Not specific meaning.Therefore, " module " and " part " can mixedly use.
Mobile terminal can be implemented in a variety of manners.For example, the terminal described in the present invention can include such as moving Phone, smart phone, notebook computer, digit broadcasting receiver, PDA (personal digital assistant), PAD (panel computer), PMP The mobile terminal of (portable media player), guider etc. and such as numeral TV, desk computer etc. consolidate Determine terminal.Hereinafter it is assumed that terminal is mobile terminal.However, it will be understood by those skilled in the art that, except being used in particular for moving Outside the element of purpose, construction according to the embodiment of the present invention can also apply to the terminal of fixed type.
Fig. 1 is that the hardware configuration realizing each optional mobile terminal of embodiment one of the present invention is illustrated.
Mobile terminal 1 00 can include wireless communication unit 110, A/V (audio/video) input block 120, user input Unit 130, sensing unit 140, output unit 150, memorizer 160, interface unit 170, controller 180 and power subsystem 190 Etc..Fig. 1 shows the mobile terminal with various assemblies, it should be understood that being not required for implementing all groups illustrating Part.More or less of assembly can alternatively be implemented.Will be discussed in more detail below the element of mobile terminal.
Wireless communication unit 110 generally includes one or more assemblies, and it allows mobile terminal 1 00 and wireless communication system Or the radio communication between network.For example, wireless communication unit can include broadcasting the first receiver module 111, mobile communication At least one of module 112, wireless Internet module 113, short range communication module 114 and location information module 115.
Broadcast the first receiver module 111 via broadcast channel from external broadcast management server receive broadcast singal and/or Broadcast related information.Broadcast channel can include satellite channel and/or terrestrial channel.Broadcast management server can be generated simultaneously Before the server of transmission broadcast singal and/or broadcast related information or reception, the broadcast singal generating and/or broadcast are related Information and send it to the server of terminal.Broadcast singal can include TV broadcast singal, radio signals, data Broadcast singal etc..And, broadcast singal may further include the broadcast singal combining with TV or radio signals.Extensively Broadcasting relevant information can also provide via mobile communications network, and in this case, broadcast related information can be by mobile logical Believe module 112 to receive.Broadcast singal can exist in a variety of manners, and for example, it can be with DMB (DMB) The form of electronic program guides (EPG), the electronic service guidebooks (ESG) of digital video broadcast-handheld (DVB-H) etc. and exist. Broadcast the first receiver module 111 to broadcast by using various types of broadcast system receipt signals.Especially, broadcast first Receiver module 111 can by using such as multimedia broadcasting-ground (DMB-T), DMB-satellite (DMB-S), DVB-hand-held (DVB-H), forward link media (MediaFLO@) Radio Data System, received terrestrial digital broadcasting comprehensive The digit broadcasting system closing service (ISDB-T) etc. receives digital broadcasting.Broadcast the first receiver module 111 may be constructed such that It is adapted to provide for the various broadcast systems of broadcast singal and above-mentioned digit broadcasting system.Connect via broadcasting the first receiver module 111 The broadcast singal received and/or broadcast related information can be stored in memorizer 160 (or other types of storage medium).
Mobile communication module 112 sends radio signals to base station (for example, access point, node B etc.), exterior terminal And at least one of server and/or receive from it radio signal.Such radio signal can include voice and lead to Words signal, video calling signal or the various types of data sending and/or receiving according to text and/or Multimedia Message.
Wireless Internet module 113 supports the Wi-Fi (Wireless Internet Access) of mobile terminal.This module can be internally or externally It is couple to terminal.Wi-Fi (Wireless Internet Access) technology involved by this module can include WLAN (WLAN) (Wi-Fi), Wibro (WiMAX), Wimax (worldwide interoperability for microwave accesses), HSDPA (high-speed downlink packet access) etc..
Short range communication module 114 is the module for supporting junction service.Some examples of short-range communication technology include indigo plant ToothTM, RF identification (RFID), Infrared Data Association (IrDA), ultra broadband (UWB), purple honeybeeTMEtc..
Location information module 115 be for check or obtain mobile terminal positional information module.Location information module Typical case be GPS (global positioning system).According to current technology, GPS module 115 calculates and is derived from three or more satellites Range information and correct time information and for the Information application triangulation calculating, thus according to longitude, latitude Highly accurately calculate three-dimensional current location information.Currently, the method for calculating position and temporal information is defended using three Star and the error of the position that calculates by using other satellite correction and temporal information.Additionally, GPS module 115 Can be by Continuous plus current location information in real time come calculating speed information.
A/V input block 120 is used for receiving audio or video signal.A/V input block 120 can include camera 121 He Mike 1220, camera 121 is to the static map being obtained by image capture apparatus in Video Capture pattern or image capture mode The view data of piece or video is processed.Picture frame after process may be displayed on display unit 151.At camera 121 Picture frame after reason can be stored in memorizer 160 (or other storage medium) or carry out via wireless communication unit 110 Send, two or more cameras 1210 can be provided according to the construction of mobile terminal.Mike 122 can be in telephone relation mould Sound (voice data) is received via mike in formula, logging mode, speech recognition mode etc. operational mode, and can be by Such acoustic processing is voice data.Audio frequency (voice) data after process can be changed in the case of telephone calling model For can be sent to the form output of mobile communication base station via mobile communication module 112.Mike 122 can implement all kinds Noise eliminate (or suppression) algorithm with eliminate (or suppression) receive and the noise that produces during sending audio signal or Person disturbs.
User input unit 130 can generate key input data to control each of mobile terminal according to the order of user input Plant operation.User input unit 130 allows the various types of information of user input, and can include keyboard, metal dome, touch Plate (for example, detection due to touched and lead to resistance, pressure, the change of electric capacity etc. sensitive component), roller, rocking bar etc. Deng.Especially, when touch pad is superimposed upon on display unit 151 as a layer, touch screen can be formed.
Sensing unit 140 detect mobile terminal 1 00 current state, (for example, mobile terminal 1 00 open or close shape State), the position of mobile terminal 1 00, user is for the presence or absence of the contact (that is, touch input) of mobile terminal 1 00, mobile terminal 100 orientation, the acceleration or deceleration movement of mobile terminal 1 00 and direction etc., and generate for controlling mobile terminal 1 00 The order of operation or signal.For example, when mobile terminal 1 00 is embodied as sliding-type mobile phone, sensing unit 140 can sense This sliding-type phone opens or cuts out.In addition, sensing unit 140 can detect power subsystem 190 whether provide electric power or Whether person's interface unit 170 is coupled with external device (ED).Sensing unit 140 can include proximity transducer 1410 and will combine below Touch screen this is described.
Interface unit 170 is connected, with mobile terminal 1 00, the interface that can pass through as at least one external device (ED).For example, External device (ED) can include wired or wireless head-band earphone port, external power source (or battery charger) port, wired or nothing Line FPDP, memory card port, the port of device for connection with identification module, audio input/output (I/O) end Mouth, video i/o port, ear port etc..Identification module can be storage for verifying that user uses each of mobile terminal 1 00 Kind of information and subscriber identification module (UIM), client identification module (SIM), Universal Subscriber identification module (USIM) can be included Etc..In addition, the device (hereinafter referred to as " identifying device ") with identification module can take the form of smart card, therefore, know Other device can be connected with mobile terminal 1 00 via port or other attachment means.Interface unit 170 can be used for reception and is derived from The input (for example, data message, electric power etc.) of the external device (ED) and input receiving is transferred in mobile terminal 1 00 One or more elements or can be used for transmission data between mobile terminal and external device (ED).
In addition, when mobile terminal 1 00 is connected with external base, interface unit 170 can serve as allowing by it by electricity Power provides the path of mobile terminal 1 00 from base or can serve as allowing the various command signals from base input to pass through it It is transferred to the path of mobile terminal.May serve as identifying that mobile terminal is from the various command signals of base input or electric power The no signal being accurately fitted within base.Output unit 150 is configured to defeated with the offer of vision, audio frequency and/or tactile manner Go out signal (for example, audio signal, video signal, alarm signal, vibration signal etc.).Output unit 150 can include showing Unit 151, dio Output Modules 152, alarm unit 153 etc..
Display unit 151 may be displayed on the information processing in mobile terminal 1 00.For example, when mobile terminal 1 00 is in electricity During words call mode, display unit 151 can show (for example, text messaging, the multimedia file that communicate with call or other Download etc.) related user interface (UI) or graphic user interface (GUI).When mobile terminal 1 00 is in video calling pattern Or during image capture mode, display unit 151 can show the image of capture and/or the image of reception, illustrate video or figure UI or GUI of picture and correlation function etc..
Meanwhile, when display unit 151 and the touch pad touch screen with formation superposed on one another as a layer, display unit 151 can serve as input equipment and output device.Display unit 151 can include liquid crystal display (LCD), thin film transistor (TFT) In LCD (TFT-LCD), Organic Light Emitting Diode (OLED) display, flexible display, three-dimensional (3D) display etc. at least A kind of.Some in these display may be constructed such that transparence to allow user from outside viewing, and this is properly termed as transparent Display, typical transparent display can be, for example, TOLED (transparent organic light emitting diode) display etc..According to specific The embodiment wanted, mobile terminal 1 00 can include two or more display units (or other display device), for example, moves Dynamic terminal can include outernal display unit (not shown) and inner display unit (not shown).Touch screen can be used for detection and touches Input pressure and touch input position and touch input area.
Dio Output Modules 152 can mobile terminal be in call signal reception pattern, call mode, logging mode, When under the isotypes such as speech recognition mode, broadcast reception mode, that wireless communication unit 110 is received or in memorizer 160 The voice data transducing audio signal of middle storage and be output as sound.And, dio Output Modules 152 can provide and move The audio output (for example, call signal receives sound, message sink sound etc.) of the specific function correlation of terminal 100 execution. Dio Output Modules 152 can include speaker, buzzer etc..
Alarm unit 153 can provide output to notify event to mobile terminal 1 00.Typical event is permissible Including calling reception, message sink, key signals input, touch input etc..In addition to audio or video output, alarm unit 153 can provide output in a different manner with the generation of notification event.For example, alarm unit 153 can be in the form of vibrating Output is provided, enters when communicating (incomingcommunication) when receiving calling, message or some other, alarm list Unit 153 can provide tactile output (that is, vibrating) to notify to user.By providing such tactile output, even if When the mobile phone of user is in the pocket of user, user also can recognize that the generation of various events.Alarm unit 153 The output of the generation of notification event can be provided via display unit 151 or dio Output Modules 152.
Memorizer 160 can store software program of the process being executed by controller 180 and control operation etc., or can Temporarily to store oneself data (for example, telephone directory, message, still image, video etc.) through exporting or will export.And And, memorizer 160 can be to store the vibration of various modes with regard to exporting and audio signal when touching and being applied to touch screen Data.
Memorizer 160 can include the storage medium of at least one type, and described storage medium includes flash memory, hard disk, many Media card, card-type memorizer (for example, SD or DX memorizer etc.), random access storage device (RAM), static random-access storage Device (SRAM), read only memory (ROM), Electrically Erasable Read Only Memory (EEPROM), programmable read only memory (PROM), magnetic storage, disk, CD etc..And, mobile terminal 1 00 can execute memorizer with by network connection The network storage device cooperation of 160 store function.
Controller 180 generally controls the overall operation of mobile terminal.For example, controller 180 execution and voice call, data The related control of communication, video calling etc. and process.In addition, controller 180 can be included for reproducing (or playback) many matchmakers The multi-media module 1810 of volume data, multi-media module 1810 can construct in controller 180, or it is so structured that and control Device 180 processed separates.Controller 180 can be with execution pattern identifying processing, by the handwriting input executing on the touchscreen or figure Piece is drawn input and is identified as character or image.
Power subsystem 190 receives external power or internal power under the control of controller 180 and provides operation each unit Suitable electric power needed for part and assembly.
Various embodiment described herein can be with using such as computer software, hardware or its any combination of calculating Machine computer-readable recording medium is implementing.Hardware is implemented, embodiment described herein can be by using application-specific IC (ASIC), digital signal processor (DSP), digital signal processing device (DSPD), programmable logic device (PLD), scene can Program gate array (FPGA), processor, controller, microcontroller, microprocessor, be designed to execute function described herein At least one in electronic unit implementing, in some cases, can be implemented in controller 180 by such embodiment. Software is implemented, the embodiment of such as process or function can with allow to execute the single of at least one function or operation Software module is implementing.Software code can be come by the software application (or program) write with any suitable programming language Implement, software code can be stored in memorizer 160 and be executed by controller 180.
So far, oneself is through describing mobile terminal according to its function.Below, for the sake of brevity, will describe such as folded form, Slide type mobile terminal in various types of mobile terminals of board-type, oscillating-type, slide type mobile terminal etc. is as showing Example.Therefore, the present invention can be applied to any kind of mobile terminal, and is not limited to slide type mobile terminal.
As shown in Figure 1 mobile terminal 1 00 may be constructed such that using via frame or packet transmission data all if any Line and wireless communication system and satellite-based communication system are operating.
The communication system being wherein operable to according to the mobile terminal of the present invention referring now to Fig. 2 description.
Such communication system can use different air interfaces and/or physical layer.For example, used by communication system Air interface includes such as frequency division multiple access (FDMA), time division multiple acess (TDMA), CDMA (CDMA) and universal mobile communications system System (UMTS) (especially, Long Term Evolution (LTE)), global system for mobile communications (GSM) etc..As non-limiting example, under The description in face is related to cdma communication system, but such teaching is equally applicable to other types of system.
With reference to Fig. 2, cdma wireless communication system can include multiple mobile terminal 1s 00, multiple base station (BS) 270, base station Controller (BSC) 275 and mobile switching centre (MSC) 280.MSC280 is configured to and Public Switched Telephony Network (PSTN) 290 formation interfaces.MSC280 is also structured to and can form interface via the BSC275 that back haul link is couple to base station 270. If back haul link can construct according to any one in the interface that Ganji knows, described interface includes such as E1/T1, ATM, IP, PPP, frame relay, HDSL, ADSL or xDSL.It will be appreciated that system as shown in Figure 2 can include multiple
BSC2750.
Each BS270 can service one or more subregions (or region), by the sky of multidirectional antenna or sensing specific direction Each subregion that line covers is radially away from BS270.Or, each subregion can by for diversity reception two or more Antenna covers.Each BS270 may be constructed such that support multiple frequency distribution, and the distribution of each frequency has specific frequency spectrum (for example, 1.25MHz, 5MHz etc.).
Intersecting that subregion and frequency are distributed can be referred to as CDMA Channel.BS270 can also be referred to as base station transceiver System (BTS) or other equivalent terms.In this case, term " base station " can be used for broadly representing single BSC275 and at least one BS270.Base station can also be referred to as " cellular station ".Or, each subregion of specific BS270 can be claimed For multiple cellular stations.
As shown in Figure 2, broadcast singal is sent to the mobile terminal of operation in system by broadcsting transmitter (BT) 295 100.As shown in Figure 1 broadcast the first receiver module 111 is arranged on and is sent by BT295 with receiving at mobile terminal 1 00 Broadcast singal.In fig. 2 it is shown that several global positioning system (GPS) satellites 300.Satellite 300 helps position multiple movements eventually At least one of end 100.
In fig. 2, depict multiple satellites 300, it is understood that be, it is possible to use any number of satellite obtains useful Location information.GPS module 115 is generally configured to coordinate with satellite 300 to obtain the positioning letter wanted as shown in Figure 1 Breath.Substitute GPS tracking technique or outside GPS tracking technique, it is possible to use other of the position of mobile terminal can be followed the tracks of Technology.In addition, at least one gps satellite 300 can optionally or additionally process satellite dmb transmission.
As a typical operation of wireless communication system, BS270 receives the reverse link from various mobile terminal 1s 00 Signal.Mobile terminal 1 00 generally participates in call, information receiving and transmitting and other types of communication.Each of certain base station 270 reception is anti- Processed in specific BS270 to link signal.The data obtaining is forwarded to the BSC275 of correlation.BSC provides call Resource allocation and the mobile management function of including the coordination of soft switching process between BS270.BSC275 is also by the number receiving According to being routed to MSC280, it provides the extra route service for forming interface with PSTN290.Similarly, PSTN290 with MSC280 forms interface, and MSC and BSC275 form interface, and BSC275 correspondingly controls BS270 with by forward link signals It is sent to mobile terminal 1 00.
Embodiment one
As shown in figure 3, this application provides a kind of method of multimedia message transmission, can apply to static resource server, bag Include:
Step 301, detects current network link status;
Step 302, judges whether described network link status meet predetermined condition;
Step 303, sends described multimedia message when described network link status meet predetermined condition.
Specifically, after judging whether described network link status meet predetermined condition, can also include:In described network When Link State is unsatisfactory for described predetermined condition, message queue to be sent is put in described multimedia message.
In practical application, detect that the mode of network link status has multiple.
For example, it is possible to by the state parameter detecting network link, determine network link according to these state parameters State, these state parameters specifically can include following one or more:Received signal strength indicator (RSSI, Reference Signal Strength Indicator), Reference Signal Received Power (RSRP, Reference Signal Received Power), Signal to Interference plus Noise Ratio (SINR, Signal to Interference plus Noise Ratio), channel Quality instruction (CQI, Channel Quality Indicator), Reference Signal Received Quality (RSRQ, Reference Signal Received Quality) etc.;In practical application, the state parameter of above-mentioned network link can be by terminal and network Side base station or other entity interactions obtaining, for example, it is possible to above-mentioned state ginseng is carried by radio signal quality information by base station Count and be sent to terminal.
Again for example, the mode of detection network link status can also be:Execution network link continuity testing, and according to survey Test result is marked to the connectivity state of network link.
In practical application, described predetermined condition specifically can be determined by way of detecting network link status.For example, If by detecting what state parameter determined during network link status, then this predetermined condition can be these state parameters Restrictive condition, for example, predetermined condition can include following one or more:It is not less than predetermined RSSI threshold value;It is not less than predetermined CQI threshold value;It is not less than predetermined RSRQ etc..If network link status are detected by continuity testing, then institute Stating predetermined condition can be " being labeled as connectivity of link normally (or connectivity of link is good) of connectivity state ".
Additionally, during described transmission multimedia message, can also include:Judge whether the transmission duration of described multimedia message reaches To the first predetermined duration threshold value;When the transmission duration of described multimedia message exceedes described default first duration threshold value, and will be described Message queue to be sent is put in multimedia message.So, within the effective time, multimedia message can be sent, once can not send in time Multimedia message temporarily can be put into message queue to be sent, continue waiting for, retransmit when network link status are good.
In the application, when described network link status are unsatisfactory for described predetermined condition, can also include:
Judge that described network link status are unsatisfactory for the duration of described predetermined condition and whether have reached the second predetermined duration Threshold value;When the duration being unsatisfactory for described predetermined condition in described network link status reaches the second duration threshold value, terminate multimedia message and send out It is sent into journey;When the duration being unsatisfactory for described predetermined condition in described network link status is not up to described second duration threshold value, continue Continuous wait.Wherein, after terminating multimedia message transmission process, can also include:Persistently detect network link status, in described lattice chain Line state meets and starts described multimedia message during described predetermined condition and send process.So, can continue in network link status not good When temporarily cease the transmission process of multimedia message, to reduce resource consumption.
In some implementations, network link status, Ke Yishi are detected:The RSSI of detection network link;Judge described Whether network link status meet predetermined condition, can include:Judge whether described RSSI has reached default RSSI threshold value;? The RSSI of network link represents when being not less than described RSSI threshold value that described network link status meet predetermined condition;In network link RSSI be less than described RSSI threshold value when represent that described network link status are unsatisfactory for predetermined condition.In practical application, RSSI value Positively related with during network link status, it is the parameter being best able to indicate whether network link status are good, its detection means More ripe, therefore, it can determine network link status by this parameter and then send out based on network link status execution multimedia message Send.
The said method of the application, on the one hand the state based on network link carry out the transmission of multimedia message, on the other hand add One overtime testing mechanism, when preventing from occurring the poor situation of network in link-quality dynamic changing process, multimedia message receiving or sending thread Hold the generation of lock situation for a long time.So, the said method of the application can reduce unnecessary resource in multimedia message transmission process and open Pin, reduces power consumption, lifts Consumer's Experience.
Describe the application below as a example non-data service card multimedia message transmitting-receiving when double card in detail realizes process.
In correlation technique, during double card, non-data service card sends multimedia message, and data service cards can fall after rise to 2G state, then carries out The transmission of multimedia message.After treating that multimedia message is sent, original data service cards can be recovered to 4G/3G network state.In this mistake Cheng Zhong, if not data service cards network quality residing at that time is preferably, 3~8s can be sent, if network quality is poor, Following situation occurs:Multimedia message is constantly in transmission state, and application layer waits the network side signaling feedback of communication base station always.By Poor in network quality, signaling cannot be fed back always, and the transmitting-receiving process that multimedia message may be led to related is in for a long time holds lock shape State, takies cpu resource, so that mobile terminal produces the problem of power consumption aspect.
In the application, user clicks on after having edited multimedia message and sends, and terminal can detect network link status at that time, RSSI's Value is proportionate with network link status, when the value of RSSI is not less than more than predetermined RSSI threshold value, represents network quality relatively Well it is allowed to send multimedia message;Otherwise, message queue to be sent is put in multimedia message, carry out the dynamic network link shape of differentiation simultaneously State is monitored, if the value of RSSI, more than RSSI threshold values, the multimedia message in described message queue to be sent is sent, otherwise continues Wait.
In transmission process, can also the duration that send multimedia message be compared with predetermined very first time threshold value simultaneously, Once the duration sending multimedia message is more than described very first time threshold value, then the multimedia message sending can be put into message to be sent Queue, continues waiting for, and retransmits when network link status good (for example, RSSI value is not less than RSSI threshold value).
In the application, also the protocol layer in terminal adds overtime testing mechanism, prevents link-quality dynamic changing process Middle when the poor situation of network, multimedia message receiving or sending thread holds the generation of lock situation for a long time.When the state that network link is poor Duration has exceeded certain time length (the second predetermined duration threshold value) it is determined that failure, the multimedia message sending is put into and treats Send in message queue, and terminate multimedia message and send process, so avoiding MMS, to be stuck in network quality always poor Wait as long under environment, not only save the communication resource and system resource, and also reduce the power consumption of multimedia message transmission.At end Only after multimedia message transmission process, also persistently detect network link status, once network link status meet predetermined condition (for example RSSI value is no longer below RSSI threshold value) then enter the next multimedia message transmitting-receiving cycle, start multimedia message and send process.
In the application, show aspect in the UI of terminal, in multimedia message transmission process, the signal icon change of status bar will not be in Now give user.Detect network link status preferable when just send multimedia message it can be ensured that multimedia message sends out in the short period of time Go, be not in that long-time multimedia message sends the situation that still multimedia message sends process and persistently wait takies resource of not going out, transmission Time is short, 5s about off-network be acceptable for a user.Thus, Consumer's Experience is obviously improved.
In the application, in conjunction with non-data service card multimedia message receiving and dispatching mechanism during double card it is proposed that a kind of be based on network link shape The multimedia message of state detection sends mechanism.It is broadly divided into two aspects in the improvement of the program:In UI layer, because the data that multimedia message leads to is cut Change, be not shown to user, reduce the probability of user's dislike;In protocol layer, add network link shape to non-data service card State testing mechanism, triggers when this mechanism is by sending and receiving multimedia message;Protocol layer is also added into overtime testing mechanism simultaneously, prevents link-quality When the poor situation of network in dynamic changing process, multimedia message receiving or sending thread holds the generation of lock situation for a long time.So, incite somebody to action this The said method of application is applied in non-data service card multimedia message transmitting-receiving during double card, it is possible to decrease unnecessary in multimedia message transmission process Resource overhead, reduces power consumption, lifts Consumer's Experience.
As shown in figure 4, the present embodiment provides a kind of device for sending multimedia message, it may include:
Detection module 41, for detecting current network link status;
Judge module 42, for judging whether described network link status meet predetermined condition;
Sending module 43, for sending described coloured silk when described judge module judges that network link status meet predetermined condition Letter.
As shown in figure 5, said apparatus can also include:Processing module 44, for judging lattice chain in described judge module When line state is unsatisfactory for described predetermined condition, message queue to be sent is put in described multimedia message.
Wherein, described judge module 42, it may also be used for judge that described network link status are unsatisfactory for described predetermined condition Whether duration has reached the second predetermined duration threshold value;
Described processing module 44, it may also be used for judge that described network link status are unsatisfactory in described judge module described pre- When the duration of fixed condition reaches the second duration threshold value, terminate multimedia message and send process;And, it is additionally operable in described network link status Be unsatisfactory for described predetermined condition duration be not up to described second duration threshold value when, continue waiting for.
Wherein, described detection module 41, it may also be used for persistently examine after described processing module terminates multimedia message transmission process Survey network link status;Described judge module 42, it may also be used for after described processing module terminates multimedia message transmission process, continues Judge whether described network link status meet predetermined condition;Described processing module 44, it may also be used for terminate multimedia message send into After journey, described judge module judges that network link status meet startup multimedia message during predetermined condition and send process.So, Ke Yi Network link status temporarily cease the transmission process of multimedia message when continuing good, to reduce resource consumption.
In practical application, it is multiple that detection module 41 detects that the mode of network link status has.
For example, it is possible to by the state parameter detecting network link, determine network link according to these state parameters State, these state parameters specifically can include following one or more:Received signal strength indicator (RSSI, Reference Signal Strength Indicator), Reference Signal Received Power (RSRP, Reference Signal Received Power), Signal to Interference plus Noise Ratio (SINR, Signal to Interference plus Noise Ratio), channel Quality instruction (CQI, Channel Quality Indicator), Reference Signal Received Quality (RSRQ, Reference Signal Received Quality) etc.;In practical application, the state parameter of above-mentioned network link can be by terminal and network Side base station or other entity interactions obtaining, for example, it is possible to above-mentioned state ginseng is carried by radio signal quality information by base station Count and be sent to terminal.
Again for example, the mode of detection network link status can also be:Execution network link continuity testing, and according to survey Test result is marked to the connectivity state of network link.
In practical application, described predetermined condition specifically can be determined by way of detecting network link status.For example, If by detecting what state parameter determined during network link status, then this predetermined condition can be these state parameters Restrictive condition, for example, predetermined condition can include following one or more:It is not less than predetermined RSSI threshold value;It is not less than predetermined CQI threshold value;It is not less than predetermined RSRQ etc..If network link status are detected by continuity testing, then institute Stating predetermined condition can be " being labeled as connectivity of link normally (or connectivity of link is good) of connectivity state ".
Additionally, during described transmission multimedia message, judge module 42, when can be also used for the transmission judging described multimedia message Whether length has reached the first predetermined duration threshold value;Processing module 44 can be additionally used in exceeding in the transmission duration of described multimedia message described During default first duration threshold value, and message queue to be sent is put in described multimedia message.So, can be by coloured silk within the effective time Letter sends, once can not send in time multimedia message can temporarily be put into message queue to be sent, continues waiting for, treats lattice chain Retransmit when line state is good.
In some implementations, detection module 41 is used for detecting network link status, Ke Yishi:Detection network link RSSI;Judge module 42 is used for judging whether described network link status meet predetermined condition, can include:Judge described RSSI Whether reach default RSSI threshold value;Represent described network link when the RSSI of network link is not less than described RSSI threshold value State meets predetermined condition;Represent that described network link status are unsatisfactory for when the RSSI of network link is less than described RSSI threshold value Predetermined condition.In practical application, positively related when RSSI value and network link status, it is to be best able to indicate that network link status are No good parameter, its detection means is also more ripe, therefore, it can determine network link status and then base by this parameter Send in network link status execution multimedia message.
The said apparatus of the application, on the one hand the state based on network link carry out the transmission of multimedia message, on the other hand add One overtime testing mechanism, when preventing from occurring the poor situation of network in link-quality dynamic changing process, multimedia message receiving or sending thread Hold the generation of lock situation for a long time.So, the said apparatus of the application can reduce unnecessary resource in multimedia message transmission process and open Pin, reduces power consumption, lifts Consumer's Experience.
In the application, said apparatus are configurable on all flow processs executing said method in terminal.Wherein, detection module 41st, judge module 42, sending module 43 and processing module 44 can be software, hardware or both combinations respectively.Reality should With in, can by processor and ballistic device etc. realize.In practical application, said apparatus can be by the movement shown in Fig. 1 Terminal is realized, and detection module 41, judge module 42, sending module 43 and processing module 44 can be by mobile whole shown in Fig. 1 The control 180 at end and wireless communication unit 110 are realized.
In addition, present invention also provides a kind of terminal, including:Processor and memorizer, described memory storage has Computer executable instructions, described computer executable instructions are employed during computing device to realize following method:
Detect current network link status;
Judge whether described network link status meet predetermined condition;
Send described multimedia message when described network link status meet predetermined condition.
In some implementations, when described computer executable instructions are employed to realize said method during computing device Can also carry out following operation:After judging whether described network link status meet predetermined condition, in described network link status When being unsatisfactory for described predetermined condition, message queue to be sent is put in described multimedia message.
In some implementations, during described transmission multimedia message, described computer executable instructions are employed to locate Realize during said method, can also carry out following operation during reason device execution:
Judge described multimedia message sends whether duration has reached the first predetermined duration threshold value;
When the transmission duration of described multimedia message exceedes described default first duration threshold value, and described multimedia message is put into be sent Message queue.
In some implementations, when described network link status are unsatisfactory for described predetermined condition, described computer can Execute instruction is employed during computing device to realize can also carry out following operation during said method:
Judge that described network link status are unsatisfactory for the duration of described predetermined condition and whether have reached the second predetermined duration Threshold value;
When the duration being unsatisfactory for described predetermined condition in described network link status reaches the second duration threshold value, terminate multimedia message Transmission process;
When the duration being unsatisfactory for described predetermined condition in described network link status is not up to described second duration threshold value, continue Continuous wait.
In some implementations, after described termination multimedia message transmission process, described computer executable instructions are employed Realize during computing device during said method, can also carry out following operation:Persistently detect network link status, in described lattice chain Line state meets and starts described multimedia message during described predetermined condition and send process.
In practical application, above-mentioned terminal can be the mobile terminal shown in Fig. 1.
Additionally, the embodiment of the present application also provides a kind of computer-readable recording medium, be stored with computer executable instructions, Described computer executable instructions realize following methods when being performed:
Detect current network link status;
Judge whether described network link status meet predetermined condition;
Send described multimedia message when described network link status meet predetermined condition.
Wherein, after judging whether described network link status meet predetermined condition, also include:In described network link shape When state is unsatisfactory for described predetermined condition, message queue to be sent is put in described multimedia message.
Alternatively, above computer readable storage medium storing program for executing can include but is not limited to:USB flash disk, read only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), portable hard drive, magnetic disc or CD etc. is various can be with the medium of store program codes.
It should be noted that herein, term " inclusion ", "comprising" or its any other variant are intended to non-row The comprising of his property, so that including a series of process of key elements, method, article or device not only include those key elements, and And also include other key elements of being not expressly set out, or also include intrinsic for this process, method, article or device institute Key element.In the absence of more restrictions, the key element being limited by sentence "including a ..." is it is not excluded that including being somebody's turn to do Also there is other identical element in the process of key element, method, article or device.
The embodiments of the present invention are for illustration only, do not represent the quality of embodiment.
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 the mode of software plus necessary general hardware platform naturally it is also possible to pass through hardware, but in many cases The former is more preferably embodiment.Based on such understanding, technical scheme is substantially done to prior art in other words Go out partly can embodying in the form of software product of contribution, this computer software product is stored in a storage medium In (as ROM/RAM, magnetic disc, CD), including some instructions with so that a station terminal equipment (can be mobile phone, computer, clothes Business device, air-conditioner, or network equipment etc.) method described in execution each embodiment of the present invention.
These are only the preferred embodiments of the present invention, not thereby limit the present invention the scope of the claims, every using this Equivalent structure or equivalent flow conversion that bright description and accompanying drawing content are made, or directly or indirectly it is used in other related skills Art field, is included within the scope of the present invention.

Claims (10)

1. a kind of method sending multimedia message is it is characterised in that methods described includes:
Detect current network link status;
Judge whether described network link status meet predetermined condition;
Send described multimedia message when described network link status meet predetermined condition.
2. method according to claim 1 is it is characterised in that judge whether described network link status meet predetermined condition Afterwards, also include:
When described network link status are unsatisfactory for described predetermined condition, message queue to be sent is put in described multimedia message.
3. method according to claim 1 is it is characterised in that during described transmission multimedia message, also include:
Judge described multimedia message sends whether duration has reached the first predetermined duration threshold value;
When the transmission duration of described multimedia message exceedes described default first duration threshold value, and message to be sent is put in described multimedia message Queue.
4. method according to claim 1 is it is characterised in that be unsatisfactory for described predetermined condition in described network link status When, also include:
Judge that described network link status are unsatisfactory for the duration of described predetermined condition and whether have reached the second predetermined duration threshold value;
When the duration being unsatisfactory for described predetermined condition in described network link status reaches the second duration threshold value, terminate multimedia message and send Process;
When the duration being unsatisfactory for described predetermined condition in described network link status is not up to described second duration threshold value, continue etc. Treat.
5. method according to claim 4 is it is characterised in that after described termination multimedia message transmission process, also include:
Persistently detect network link status, start described multimedia message when described network link status meet described predetermined condition and send Process.
6. the method according to any one of claim 1 to 5 it is characterised in that
Detection network link status, including:The RSSI of detection network link;
Judge whether described network link status meet predetermined condition, including:
Judge whether described RSSI has reached default RSSI threshold value;
Represent that when the RSSI of network link is not less than described RSSI threshold value described network link status meet predetermined condition;
Represent that described network link status are unsatisfactory for predetermined condition when the RSSI of network link is less than described RSSI threshold value.
7. a kind of device for sending multimedia message is it is characterised in that described device includes:
Detection module, for detecting current network link status;
Judge module, for judging whether described network link status meet predetermined condition;
Sending module, for sending described multimedia message when described judge module judges that network link status meet predetermined condition.
8. device according to claim 7 is it is characterised in that also include:
Processing module, for when described judge module judges that network link status are unsatisfactory for described predetermined condition, by described coloured silk Message queue to be sent put into by letter.
9. device according to claim 8 it is characterised in that
Described judge module, is additionally operable to judge that described network link status are unsatisfactory for the duration of described predetermined condition and whether reach The second predetermined duration threshold value;
Described processing module, is additionally operable to judge that described network link status are unsatisfactory for described predetermined condition in described judge module When duration reaches the second duration threshold value, terminate multimedia message and send process;And, it is additionally operable to be unsatisfactory for institute in described network link status State predetermined condition duration be not up to described second duration threshold value when, continue waiting for.
10. device according to claim 9 it is characterised in that
Described detection module, is additionally operable to persistently detect network link shape after described processing module terminates multimedia message transmission process State;
Described judge module, is additionally operable to, after described processing module terminates multimedia message transmission process, persistently judge described lattice chain Whether line state meets predetermined condition;
Described processing module, is additionally operable to after terminating multimedia message transmission process, and described judge module judges that network link status are full Start multimedia message during sufficient predetermined condition and send process.
CN201610907370.2A 2016-10-18 2016-10-18 Method and device for sending multimedia message Active CN106412857B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610907370.2A CN106412857B (en) 2016-10-18 2016-10-18 Method and device for sending multimedia message

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610907370.2A CN106412857B (en) 2016-10-18 2016-10-18 Method and device for sending multimedia message

Publications (2)

Publication Number Publication Date
CN106412857A true CN106412857A (en) 2017-02-15
CN106412857B CN106412857B (en) 2020-07-07

Family

ID=58012972

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610907370.2A Active CN106412857B (en) 2016-10-18 2016-10-18 Method and device for sending multimedia message

Country Status (1)

Country Link
CN (1) CN106412857B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116887200A (en) * 2023-09-05 2023-10-13 荣耀终端有限公司 Multimedia message sending method, electronic equipment and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20070073034A (en) * 2006-01-03 2007-07-10 주식회사 팬택 Method for transmitting short message service of mobile phone
CN101494834A (en) * 2009-02-24 2009-07-29 宇龙计算机通信科技(深圳)有限公司 Method, system and mobile communication terminal for retransmitting information
CN101854602A (en) * 2010-05-20 2010-10-06 中兴通讯股份有限公司 Method for transmitting and receiving multimedia information and terminal
CN102881303A (en) * 2012-09-10 2013-01-16 青岛海信电器股份有限公司 Play method and play device of multimedia file
CN103139368A (en) * 2011-12-05 2013-06-05 联想(北京)有限公司 Prompt method and device
CN105897564A (en) * 2016-05-31 2016-08-24 努比亚技术有限公司 Photo sharing apparatus and method

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20070073034A (en) * 2006-01-03 2007-07-10 주식회사 팬택 Method for transmitting short message service of mobile phone
CN101494834A (en) * 2009-02-24 2009-07-29 宇龙计算机通信科技(深圳)有限公司 Method, system and mobile communication terminal for retransmitting information
CN101854602A (en) * 2010-05-20 2010-10-06 中兴通讯股份有限公司 Method for transmitting and receiving multimedia information and terminal
CN103139368A (en) * 2011-12-05 2013-06-05 联想(北京)有限公司 Prompt method and device
CN102881303A (en) * 2012-09-10 2013-01-16 青岛海信电器股份有限公司 Play method and play device of multimedia file
CN105897564A (en) * 2016-05-31 2016-08-24 努比亚技术有限公司 Photo sharing apparatus and method

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116887200A (en) * 2023-09-05 2023-10-13 荣耀终端有限公司 Multimedia message sending method, electronic equipment and storage medium
CN116887200B (en) * 2023-09-05 2023-11-10 荣耀终端有限公司 Multimedia message sending method, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN106412857B (en) 2020-07-07

Similar Documents

Publication Publication Date Title
CN106453963A (en) Mobile terminal antenna switching device and method
CN107071760A (en) Data service automatic switching method and mobile terminal
CN106210279A (en) Display screen switching device and method
CN106407088A (en) Method and device for detecting multi-core CPU
CN104777982B (en) Method and device for switching terminal input method
CN106533928A (en) Method and device for updating unread message reminding identifier
CN106453652A (en) Log file uploading method and system
CN106953979A (en) The method and device that a kind of double antenna in call intelligently switches
CN105975052A (en) Screen switching method and device
CN106101455A (en) Page jump management method, device and terminal
CN106993084A (en) The method, device and mobile terminal that a kind of control information is shown
CN106507418A (en) A kind of based on the residence reselecting of signal intensity, device and mobile terminal
CN106683613A (en) Display method and terminal
CN106507460A (en) A kind of intelligent power saving method, terminal
CN106484534A (en) Control method for the mobile terminal of displaying and control device
CN106371704A (en) Fast application layout method for lock screen interface and terminal
CN106686672A (en) Network connection method and terminal
CN106488035A (en) A kind of mobile terminal and control method
CN106161790A (en) A kind of mobile terminal and control method thereof
CN107071161A (en) The aggregation display method and mobile terminal of icon in a kind of status bar
CN106454771A (en) Information sending method and device and terminal
CN106792878A (en) A kind of data traffic monitoring method and device
CN106534498A (en) Control device and method of application folder and mobile terminal
CN106371737A (en) Application closing method and system
CN106792958A (en) A kind of system of selection of Serving cell and mobile terminal

Legal Events

Date Code Title Description
C06 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