CN103379471A - System and method for reducing packet transmission - Google Patents
System and method for reducing packet transmission Download PDFInfo
- Publication number
- CN103379471A CN103379471A CN2012101256478A CN201210125647A CN103379471A CN 103379471 A CN103379471 A CN 103379471A CN 2012101256478 A CN2012101256478 A CN 2012101256478A CN 201210125647 A CN201210125647 A CN 201210125647A CN 103379471 A CN103379471 A CN 103379471A
- Authority
- CN
- China
- Prior art keywords
- communication device
- described communication
- broken string
- package
- current
- 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
Links
Images
Abstract
A system for reducing packet transmission comprises a determining module, a judging module, an inspecting module and a controlling module. The determining module is used for determining an application program sending out updating packets to be an updating program when a communication device is in a data connection state. The judging module is used for judging whether disconnecting information is sent out by a user or not when the communication device receives the disconnecting information. The inspecting module is used for inspecting whether the communication device has signals or not at present. The controlling module is used for controlling the communication device to wait for signal restoration and to be connected with a network again and not informing the updating program of the fact that the communication device is disconnected within preset time when the communication device does not have the signals at present. The invention further provides a method for reducing the packet transmission. Through the system and method for reducing the packet transmission, the situation that the communication device sends the same updating packets repeatedly after being connected is reduced.
Description
Technical field
The present invention relates to Network Connection, relate in particular to a kind of system and method that package transmits that when of short duration disconnection network connectivity, reduces.
Background technology
Usually, communication device (for example, mobile phone) when temporary transient loss signal and the data bus connection of wireless base station might not break immediately.Based on existing design (for example, based on the design architecture of present Android itself), when communication device was set up data bus connection, the application program in this communication device can be sent the Data Update package via the modulator-demodulator in this communication device to the wireless base station.Then, when the communication device loss signal, this modulator-demodulator can send broken string information to described application program via different levels, and after signal recovers, sends the notice that line recovers to described application program again.Described application program can after receiving the notice that line recovers, be sent the Data Update package of repetition again to the wireless base station by described modulator-demodulator.So, both cause the burden of wireless base station, also consumed the electric weight of described communication device.
Summary of the invention
In view of above content, be necessary to provide a kind of system and method that package transmits that reduces, can be when causing data bus connection to disconnect because of loss signal identifying communication device, wouldn't notification application, thus avoid signal recover and data bus connection recover after described application program again send the package of repetition.
A kind of system that reduces the package transmission, be applied in the communication device, this communication device is equipped with various application programs, and this system comprises: determination module, be used for when described communication device is in the data bus connection state, determine that sending the application program of upgrading package is refresh routine; Judge module, be used for after described communication device receives broken string information, judge whether to receive the broken string operation of user on described communication device, and when not receiving the broken string operation of user on described communication device, determine that this broken string information is not to be sent by the user; Checking module is used for checking that described communication device is current whether signal arranged; And control module, be used in that described communication device is current when not having signal, control that described communication device waiting signal in Preset Time recovers and interconnection network again, and in Preset Time, do not notify this communication device of refresh routine to break.
A kind of method that reduces the package transmission, be applied in the communication device, this communication device is equipped with various application programs, and the method comprises the steps: when described communication device is in the data bus connection state, determines that sending the application program of upgrading package is refresh routine; After described communication device receives broken string information, judge whether to receive the broken string operation of user on described communication device; If do not receive the broken string operation of user on described communication device, determine that this broken string information is not to be sent by the user; Whether check that described communication device is current has a signal; And if described communication device is current does not have a signal, controls that described communication device waiting signal in Preset Time recovers and interconnection network again, and in Preset Time, do not notify this communication device of refresh routine to break.
Compared to prior art, the system and method that described minimizing package transmits, can be when causing data bus connection to disconnect because of loss signal identifying communication device, wouldn't notification application, thus avoid signal recover and data bus connection recover after described application program again send the package of repetition.So, the system and method that utilizes described minimizing package to transmit can reduce the package amount received the wireless base station and the power consumption of described communication device.
Description of drawings
Fig. 1 is the hardware structure diagram that the present invention reduces the preferred embodiments of the system that package transmits.
Fig. 2 is the functional block diagram that the present invention reduces the preferred embodiments of the system that package transmits.
Fig. 3 is the hierarchical relationship schematic diagram that the present invention reduces the system of package transmission.
Fig. 4 is the flow chart that the present invention reduces the preferred embodiments of the method that package transmits.
Fig. 5 is the refinement flow chart of the step S12 of the present invention's preferred embodiments of reducing the method that package transmits.
The main element symbol description
Communication device | 1 |
Reduce the system that package transmits | 10 |
|
102 |
|
104 |
|
106 |
|
108 |
Processor | 11 |
|
12 |
The phone ccf layer | 13 |
|
14 |
Modulator- |
15 |
Following embodiment further specifies the present invention in connection with above-mentioned accompanying drawing.
Embodiment
As shown in Figure 1, be the hardware structure diagram that the present invention reduces the preferred embodiments of the system that package transmits.The system 10 that described minimizing package transmits is applied in the communication device 1, being used for identifying is when causing the data bus connection of described communication device 1 to disconnect because of described communication device 1 loss signal, control described communication device 1 and in Preset Time, do not notify each application program in this communication device 1, so that described application program does not repeat to send the renewal package after data bus connection recovers.
Described communication device 1 can be the devices such as mobile phone, personal digital assistant (PDA, Personal Digital Assistant).This communication device 1 comprises described processor 11 and storage device 12.
Described processor 11 is used for carrying out system 10 that described minimizing package transmits and the types of applications program of described communication device 1 interior installation, such as operating system etc.Described storage device 12, can be the internal memory of described communication device 1, can also be the storage card that can be external in this communication device 1, such as SM card (Smart Media Card, smart media card), SD card (Secure Digital Card, safe digital card) etc.Described storage device 12 is used for the storage Various types of data, for example, and the information such as data that picture, mail, the system 10 that utilizes described minimizing package to transmit arrange, obtain.
This communication device 1 further comprises phone framework (Telephony Framework) layer 13, radio interface layer (RIL, Radio Interface Layer) 14 and modulator-demodulator 15.With reference to as shown in Figure 3 hierarchical relationship schematic diagram, that can realize data between described phone ccf layer 13, radio interface layer 14 and the modulator-demodulator (Modem) 15 carries out dependent instruction alternately.For example, after the data bus connection of described communication device 1 disconnected, described modulator-demodulator 15 can send broken string information to application program via hierarchical relationship as shown in Figure 3.
As shown in Figure 2, be the functional block diagram that the present invention reduces the preferred embodiments of the system that package transmits.In the present embodiment, the system 10 that described minimizing package transmits comprises a plurality of functional modules, is respectively: determination module 102, judge module 104, checking module 106 and control module 108.
Described determination module 102 is used for when described communication device 1 is in the data bus connection state, determines that sending the application program of upgrading package is refresh routine.For example, in the mobile phone that Android (Android) operating system is installed, after this mobile phone had been set up data bus connection at every turn, the application program of installing in the mobile phone sends by this data bus connection upgraded package to relevant server, thereby realizes the renewal of application program.In addition, the mail software in the mobile phone also can send and upgrade package and go to judge whether described mobile phone has receives new mail.
Described judge module 104 is used for judging whether this broken string information is sent by the user after described communication device 1 receives broken string information.For example, this broken string information can be that described modulator-demodulator 15 sends to described phone ccf layer 13.For example, this broken string information can be " intent==ACTION_ANY_DATA_CONNECTION_STATE_CHANGE ﹠amp; ﹠amp; Intent state==DISCONNECTED ".
Whether described judge module 104 operates to identify broken string information and is sent by the user by judging whether to receive the broken string of user on described communication device 1.If do not receive the broken string operation of user on described communication device, then described judge module 104 determines that this broken string information is not to be sent by the user.If receive the broken string operation of user on described communication device, then described judge module 104 determines that this broken string information is to be sent by the user.
Described checking module 106, being used in definite broken string information is not to check that described communication device 1 is current when being sent by the user whether signal arranged.
Described control module 108, be used in that described communication device 1 is current when not having signal, control described communication device 1 and recover also again interconnection network at the interior waiting signal of Preset Time (for example, 2 seconds), and in Preset Time, do not notify this communication device 1 of refresh routine to break.In the present embodiment, recover for fear of of short duration the losing again of signal, perhaps when being in the signal that receives when signal covers rate variance regional, described communication device 1 cuts in and out, must cause refresh routine to disconnect at the data bus connection of described communication device 1 and can repeatedly send identical renewal package when reconnecting to the problem of unlimited base station, described control module 108 can be because when not having signal to cause data bus connection to disconnect identifying described communication device 1, in Preset Time, broken string information is not issued refresh routine, namely give described communication device 1 one buffer time, send the quantity of upgrading package thereby after described communication device 1 recovers data bus connection again, reduce.
In addition, if should broken string information be sent by the user, if perhaps described communication device 1 is current signal arranged, described control module 108 is the broken string state for the current state of revising described communication device 1 also, and notify this communication device 1 of described refresh routine to break, so that described refresh routine sends the renewal package behind described communication device 1 again line.That is, described control module 108 is just not send broken string information to refresh routine because there being signal during the turn-off data line at described communication device 1.
Further, described control module 108 is used in also that Preset Time has arrived and described communication device 1 when still being in the broken string state, notify this communication device 1 of described refresh routine to break, so that described refresh routine sends the renewal package behind described communication device 1 again line.
In other embodiments, described checking module 106 also is used for when described communication device 1 receives service state and changes notice, and whether check that described communication device 1 is current has signal, and records the current signal condition of described communication device 1.For example, this service state change notice can be " intent:ACTION_SERVICE_STATE_CHANGED ".
As shown in Figure 4, be the flow chart that the present invention reduces the preferred embodiments of the method that package transmits.At first, step S2, when described communication device 1 was in the data bus connection state, described determination module 102 determined that sending the application program of upgrading package is refresh routine.
Step S4, described communication device 1 receives broken string information.
Step S6, described judge module 104 judge whether this broken string information is sent by the user.Whether described judge module 104 operates to identify broken string information and is sent by the user by judging whether to receive the broken string of user on described communication device 1.
If should broken string information be to be sent by the user, in step S8, the current state that described control module 108 is revised described communication device 1 be the broken string state, and notifies this communication device 1 of described refresh routine to break, then, and process ends.
If should broken string information not be to be sent by the user, in step S10, whether described checking module 106 checks that described communication device 1 is current a signal.If described communication device 1 is current signal is arranged, then flow process goes to step S8.
There is not signal if described communication device 1 is current, in step S12, the described communication device 1 of described control module 108 controls at Preset Time (for example, 2 seconds) interior waiting signal recovers also again interconnection network, and in Preset Time, do not notify this communication device 1 of refresh routine to break, then, process ends.
As shown in Figure 5, be the refinement flow chart of the step S12 of the present invention's preferred embodiments of reducing the method that package transmits.At first, step S120, described control module 108 judges whether Preset Time arrives.
If Preset Time not yet arrives, in step S122, described communication device 1 waiting signal of described control module 108 controls recovers also again interconnection network, and does not notify this communication device 1 of refresh routine to break, and then, flow process goes to step S120.
If Preset Time arrives, in step S124, described control module 108 judges whether described communication device 1 still is in the broken string state.
If described communication device 1 still is in the broken string state, in step S126, described control module 108 notifies this communication device 1 of described refresh routine to break, so that described refresh routine sends the renewal package behind described communication device 1 again line, then, process ends.
If described communication device 1 is not to be in broken string state, then process ends.
Above execution mode is only unrestricted in order to technical scheme of the present invention to be described, although with reference to above preferred embodiments the present invention is had been described in detail, those of ordinary skill in the art should be appreciated that and can make amendment or be equal to the spirit and scope that replacement should not break away from technical solution of the present invention technical scheme of the present invention.
Claims (10)
1. one kind is reduced the system that package transmits, and is applied in the communication device, and this communication device is equipped with various application programs, it is characterized in that, this system comprises:
Determination module is used for when described communication device is in the data bus connection state, determines that sending the application program of upgrading package is refresh routine;
Judge module, be used for after described communication device receives broken string information, judge whether to receive the broken string operation of user on described communication device, and when not receiving the broken string operation of user on described communication device, determine that this broken string information is not to be sent by the user;
Checking module is used for checking that described communication device is current whether signal arranged; And
Control module is used in that described communication device is current when not having signal, controls that described communication device waiting signal in Preset Time recovers and interconnection network again, and does not notify this communication device of refresh routine to break in Preset Time.
2. the system that transmits of minimizing package as claimed in claim 1, it is characterized in that, described control module also is used for having arrived and described communication device when still being in the broken string state at Preset Time, notify this communication device of described refresh routine to break, so that described refresh routine sends the renewal package behind described communication device again line.
3. the system that transmits of minimizing package as claimed in claim 1, it is characterized in that, described control module also is used for having when receiving the broken string operation of user on described communication device, the current state of revising described communication device is the broken string state, and notifies this communication device of described refresh routine to break.
4. the system that transmits of minimizing package as claimed in claim 1, it is characterized in that, described control module also is used in that described communication device is current when signal is arranged, and the current state of revising described communication device is the broken string state, and notifies this communication device of described refresh routine to break.
5. the system that transmits of minimizing package as claimed in claim 1, it is characterized in that, described checking module also is used for when described communication device receives service state and changes notice, and whether check that described communication device is current has signal, and records the current signal condition of described communication device.
6. one kind is reduced the method that package transmits, and is applied in the communication device, and this communication device is equipped with various application programs, it is characterized in that, the method comprises the steps:
When described communication device is in the data bus connection state, determine that sending the application program of upgrading package is refresh routine;
After described communication device receives broken string information, judge whether to receive the broken string operation of user on described communication device;
If do not receive the broken string operation of user on described communication device, determine that this broken string information is not to be sent by the user;
Whether check that described communication device is current has a signal; And
Do not have signal if described communication device is current, control that described communication device waiting signal in Preset Time recovers and interconnection network again, and in Preset Time, do not notify this communication device of refresh routine to break.
7. the method that transmits of minimizing package as claimed in claim 6 is characterized in that the method also comprises:
If Preset Time has arrived and described communication device when still being in the broken string state, notify this communication device of described refresh routine to break, so that described refresh routine sends the renewal package behind described communication device again line.
8. the method that transmits of minimizing package as claimed in claim 6 is characterized in that the method also comprises:
Receive the broken string operation of user on described communication device if having, the current state of revising described communication device is the broken string state, and notifies this communication device of described refresh routine to break.
9. the method that transmits of minimizing package as claimed in claim 6 is characterized in that the method also comprises:
If described communication device is current signal is arranged, the current state of revising described communication device is the broken string state, and notifies this communication device of described refresh routine to break.
10. the method that transmits of minimizing package as claimed in claim 6 is characterized in that the method also comprises:
When described communication device received service state and changes notice, whether had signal, and record the current signal condition of described communication device if checking that described communication device is current.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210125647.8A CN103379471B (en) | 2012-04-26 | 2012-04-26 | Reduce the system and method for package transmission |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210125647.8A CN103379471B (en) | 2012-04-26 | 2012-04-26 | Reduce the system and method for package transmission |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103379471A true CN103379471A (en) | 2013-10-30 |
CN103379471B CN103379471B (en) | 2018-03-20 |
Family
ID=49463932
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201210125647.8A Expired - Fee Related CN103379471B (en) | 2012-04-26 | 2012-04-26 | Reduce the system and method for package transmission |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103379471B (en) |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1200609A (en) * | 1997-05-23 | 1998-12-02 | 富士通株式会社 | Communications system and communications method |
US20070297368A1 (en) * | 2006-06-23 | 2007-12-27 | Nec Infrontia Corporation | VoIP COMMUNICATION CONTROL METHOD AND ACCESS POINT APPARATUS |
US20080229017A1 (en) * | 2007-03-12 | 2008-09-18 | Robert Plamondon | Systems and Methods of Providing Security and Reliability to Proxy Caches |
-
2012
- 2012-04-26 CN CN201210125647.8A patent/CN103379471B/en not_active Expired - Fee Related
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1200609A (en) * | 1997-05-23 | 1998-12-02 | 富士通株式会社 | Communications system and communications method |
US20070297368A1 (en) * | 2006-06-23 | 2007-12-27 | Nec Infrontia Corporation | VoIP COMMUNICATION CONTROL METHOD AND ACCESS POINT APPARATUS |
US20080229017A1 (en) * | 2007-03-12 | 2008-09-18 | Robert Plamondon | Systems and Methods of Providing Security and Reliability to Proxy Caches |
Also Published As
Publication number | Publication date |
---|---|
CN103379471B (en) | 2018-03-20 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR101882426B1 (en) | Software updating method, system, and device | |
CN101578832B (en) | For the apparatus and method to wireless device transfer system state information change | |
CN101951626B (en) | Method, device and system for processing configuration updating failure | |
US20090270132A1 (en) | Base station | |
US20220191279A1 (en) | IoT Device Data Management Method, Apparatus, and System | |
CN103401896A (en) | Multi-Android-client service sharing method and system | |
CN109525420A (en) | Fault data based on vehicle mounted communication module transfers method and apparatus | |
CN103763725A (en) | Mobile terminal centralized control test and management method and device | |
CN103092663B (en) | A kind of method of set up applications in the terminal and device | |
CN102592444A (en) | Taxi service system and method based on two-dimensional codes | |
CN106550438A (en) | Limit method and system, the mobile device of periodic wakeup | |
CN101827006B (en) | Method, home gateway and system for controlling digital subscriber line terminal to access network | |
CN103138850B (en) | The adjusting, measuring method of communication terminal and device | |
CN106537973B (en) | Service management method and device | |
CN101686081A (en) | Method for reestablishing synchronous connection, device and system thereof | |
CN110582063A (en) | method for sending short message in intranet environment | |
CN101014049B (en) | Method for managing timer of terminal wireless communication protocol stack software | |
CN103379471A (en) | System and method for reducing packet transmission | |
CN103188536A (en) | Intelligent television remote control device based on module card | |
CN102149040A (en) | Paging method, system and device for machine type communication device | |
CN105049519B (en) | A kind of message route method and system based on soap protocol | |
CN108989467B (en) | Centralized addressing method | |
CN102377243B (en) | Collocation method of 101 protocol parameter, collocation device thereof and collocation system thereof | |
CN102158832A (en) | Method and device for self-adaptively coding short message | |
CN102882698A (en) | Management method and system for virtual machine |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20180320 Termination date: 20210426 |
|
CF01 | Termination of patent right due to non-payment of annual fee |