CN104579813A - Detection method and terminal - Google Patents

Detection method and terminal Download PDF

Info

Publication number
CN104579813A
CN104579813A CN201310522405.7A CN201310522405A CN104579813A CN 104579813 A CN104579813 A CN 104579813A CN 201310522405 A CN201310522405 A CN 201310522405A CN 104579813 A CN104579813 A CN 104579813A
Authority
CN
China
Prior art keywords
application
packet
terminal
message
site
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
CN201310522405.7A
Other languages
Chinese (zh)
Other versions
CN104579813B (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.)
Huawei Device Co Ltd
Original Assignee
Huawei Device 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 Huawei Device Co Ltd filed Critical Huawei Device Co Ltd
Priority to CN201310522405.7A priority Critical patent/CN104579813B/en
Publication of CN104579813A publication Critical patent/CN104579813A/en
Application granted granted Critical
Publication of CN104579813B publication Critical patent/CN104579813B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Mobile Radio Communication Systems (AREA)

Abstract

The invention relates to a detection method and a terminal. The method comprises the following steps: a terminal determines a first application with an undetermined application type of the applications which are operating on the terminal, wherein the application type comprises a long online application and a non-long online application; the terminal detects data packets which are transmitted by the first application when user input does not exist; the terminal determines that at least one of the detected data packets is a heartbeat message; the terminal determines that the application type of the first application is the long online application according to that at least one of the detected data packets is the heartbeat message; the terminal provides an application information report, wherein the application information report comprises the information which indicates that the application type of the first application is the long online application. According to the detection method and the terminal, the information of the long online application can be reported to the network dynamically in time; the information of a new application can also be reported to the network dynamically in time.

Description

Detection method and terminal
Technical field
The present invention relates to network communication technology field, particularly relate to a kind of detection method and terminal.
Background technology
Operate in the permanent application on site (English full name: Always-onlineapplications) in terminal; such as MSN, QQ, Facebook etc.; require that the applications client (English full name: application client) in terminal sends heartbeat message (English full name: keep-alive message to application server (English full name: application server); also keep-alive message is claimed), to keep the communication connection between application server and applications client.Heartbeat message intervals is generally several seconds, tens seconds to a few minutes; In order to send heartbeat message, terminal needs to carry out Signalling exchange, to set up and to discharge communication connection with communication network.Like this, the heartbeat message of the permanent application on site of great amount of terminals produces a large amount of signaling, brings very large signaling traffic load to carrier network, i.e. " signaling storm (English full name: signallingstorm) ", causes network congestion even to paralyse.
If network can know the information of permanent application on site in terminal, just can carry out network resource scheduling better, thus reduce or avoid the generation of above-mentioned " signaling storm ".The existing method of permanent application on site information that provides is: a pre-configured list needing to report the permanent application on site of application message in terminal, terminal periodically whether inquiry terminal can have one or more permanent application on site in this list in operation, if any, then the information of corresponding permanent application on site is reported to communication network.
But the list of application reporting application message that needs pre-configured in terminal is a kind of static mode, namely to need when terminal is dispatched from the factory configuration and/or by operator's regularly (such as every half a year, 1 year) Reconfigurations.And new permanent application on site continues to bring out in current terminal, if new permanent application on site is not in pre-configured list, terminal can not report the information of this permanent application on site in time to network, that is: the information of new permanent application on site cannot be reported to network by mode in time, dynamically that rely on static allocation list.
Summary of the invention
The object of this invention is to provide a kind of detection method and terminal, can in time, dynamically by the information reporting of permanent application on site to network, the information for new application also can be reported to network in time, dynamically.
For achieving the above object, first aspect present invention provides a kind of detection method, and described method comprises:
Terminal determines to exist in the application that described terminal is being run the first application not determining application type, and described application type comprises: permanent application on site and non-permanent application on site;
Described terminal detects described first and is applied in the packet sent when no user inputs;
Described terminal determine described at least one is heartbeat message in the packet that detects;
Described terminal according to described at least one determines that the application type of described first application is permanent application on site for heartbeat message in the packet that detects;
Described terminal provides application message to report, the application type comprising described first application in described application message report is the information of permanent application on site.
In conjunction with first aspect, in the first execution mode of first aspect, described terminal determine described at least one is heartbeat message in the packet that detects, comprising:
The characteristic value of the packet detected described in described terminal obtains, described characteristic value at least comprises following one: data packet length, transmitting time or header data;
Described terminal according to described in the packet that detects part or all of packet there is the identical data packet length being no more than predetermined threshold value, in the packet detected described in determining, at least one is heartbeat message;
And/or,
Described terminal according to described in the packet that detects part or all of packet there is identical header data, in the packet detected described in determining, at least one is heartbeat message;
And/or,
Described terminal according to described in the packet that detects part or all of packet there is identical transmission time interval, in the packet detected described in determining, at least one is heartbeat message.
In conjunction with the first execution mode of first aspect or first aspect, in the second execution mode of first aspect, provide before or after application message reports in described terminal, described method also comprises:
The application type of described first application is labeled as permanent application on site by described terminal.
In conjunction with the first execution mode or the second execution mode of first aspect or first aspect, in the third execution mode of first aspect, provide after application message reports in described terminal, described method also comprises:
Described terminal receives the first message, comprises and whether require that described terminal continues the instruction of the information providing described first application in described first message;
According to described first message, determine whether the information that described first application is provided.
Second aspect, present invention also offers a kind of terminal, and described terminal comprises: the first determining unit, detecting unit, the second determining unit, the 3rd determining unit and report providing unit;
Described first determining unit is for determining to exist in the application that terminal is being run the first application not determining application type, and described application type comprises: permanent application on site and non-permanent application on site;
Described detecting unit determine for detecting described first determining unit described first be applied in no user input time send packet.
Described second determining unit is for determining that in the packet that described detecting unit detects, at least one is heartbeat message.
Described 3rd determining unit be used for according to described at least one determines that the described first application type applied is permanent application on site for heartbeat message in the packet that detects.
Described report providing unit is used for providing application message to report, the application type comprising described first application in described application message report is the information of permanent application on site.
In conjunction with second aspect, in the first possible execution mode of second aspect, the characteristic value of the packet detected described in described second determining unit obtains, described characteristic value at least comprises following one: data packet length, transmitting time or header data;
Described second determining unit according to described in the packet that detects part or all of packet there is the identical data packet length being no more than predetermined threshold value, in the packet detected described in determining, at least one is heartbeat message;
And/or,
Described second determining unit according to described in the packet that detects part or all of packet there is identical header data, in the packet detected described in determining, at least one is heartbeat message;
And/or,
Described second determining unit according to described in the packet that detects part or all of packet there is identical transmission time interval, in the packet detected described in determining, at least one is heartbeat message.
In conjunction with the first possible execution mode of second aspect or second aspect, in the execution mode that the second of second aspect is possible, described device also comprises: indexing unit, for the application type of described first application is labeled as permanent application on site.
In conjunction with the first possible execution mode of second aspect or second aspect or the possible execution mode of the second, in the third possible execution mode of second aspect, described terminal also comprises:
Receiving element, for receiving the first message, comprising in described first message and whether requiring that described terminal continues the instruction of the information providing described first application;
4th determining unit, for described first message received according to described receiving element, determines whether the information providing described first application.
The third aspect, present invention also offers a kind of terminal, and described terminal comprises: processor and transceiver, described processor and transceiver couples;
Described processor, for determining to exist in the application that described terminal is being run the first application not determining application type, described application type comprises: permanent application on site and non-permanent application on site; Detect described first and be applied in the packet sent when no user inputs; In the packet detected described in determining, whether at least one is heartbeat message, according in the described packet detected at least one for heartbeat message determine described first application application type be permanent application on site;
Described transceiver is used for providing application message to report, the application type comprising described first application in described application message report is the information of permanent application on site.
In conjunction with the third aspect, in the first possible execution mode of the third aspect, described processor determine described at least one is heartbeat message in the packet that detects, comprising:
The characteristic value of the packet detected described in described processor obtains, described characteristic value at least comprises following one: data packet length, transmitting time or header data;
Described processor according to described in the packet that detects part or all of packet there is the identical data packet length being no more than predetermined threshold value, in the packet detected described in determining, at least one is heartbeat message.
In conjunction with the first possible execution mode of the third aspect or the third aspect, in the execution mode that the second of the third aspect is possible, described processor determine described at least one is heartbeat message in the packet that detects, comprising:
The characteristic value of the packet detected described in described processor obtains, described characteristic value at least comprises following one: data packet length, transmitting time or header data;
Described processor according to described in the packet that detects part or all of packet there is identical header data, in the packet detected described in determining, at least one is heartbeat message.
In conjunction with the first possible execution mode of the third aspect or the third aspect, in the third possible execution mode of the third aspect, described processor determine described at least one is heartbeat message in the packet that detects, comprising:
The characteristic value of the packet detected described in described processor obtains, described characteristic value at least comprises following one: data packet length, transmitting time or header data;
Described processor according to described in the packet that detects part or all of packet there is identical transmission time interval, in the packet detected described in determining, at least one is heartbeat message.
In conjunction with the first or the second or the third possible execution mode of the third aspect or the third aspect, in the 4th kind of possible execution mode of the third aspect, described processor also for, before or after described transceiver provides application message report, the application type of described first application is labeled as permanent application on site.
In conjunction with the first of the third aspect or the third aspect to the 4th kind of possible execution mode, in the 5th kind of possible execution mode of the third aspect, described transceiver, also for receiving the first message, comprising in described first message and whether requiring that described terminal continues the instruction of the information providing described first application;
Described first message of described processor also for arriving according to described transceivers, determines whether the information providing described first application.
Detection method provided by the invention and terminal, do not need at the pre-configured list of application of terminal or can combine as preset list of application mode, can in time, dynamically by the information reporting of permanent application on site to network, information for new application also can be reported to network in time, dynamically, network management/scheduling of resource can be implemented better, reduce or avoid the signaling storm that the permanent application on site of terminal causes.
Accompanying drawing explanation
The detection method flow chart that Fig. 1 provides for the embodiment of the present invention one;
A kind of terminal schematic diagram that Fig. 2 provides for the embodiment of the present invention two;
The structural representation of the another kind of terminal that Fig. 3 provides for the embodiment of the present invention three;
The composition structural representation of another terminal that Fig. 4 provides for the embodiment of the present invention four.
Embodiment
Below by drawings and Examples, technical scheme of the present invention is described in further detail.
The detection method that the embodiment of the present invention provides, is applicable to the terminal being provided with permanent application on site (such as MSN, QQ, Facebook etc.), also can be applied in the terminal needing to detect heartbeat message.
Embodiment one
Fig. 1 is the detection method flow chart that the present embodiment provides, and as shown in Figure 1, detection method of the present invention comprises:
S101, terminal determine to exist in the application that described terminal is being run the first application not determining application type.
Described application type comprises: permanent application on site and non-permanent application on site.
S102, described terminal detect described first and are applied in the packet sent when no user inputs.
This terminal detect user to described first application incoming event after very first time threshold value in no user input time, or this terminal enter screen lock state after very first time threshold value in no user input time, or described first application enter background operation state after very first time threshold value in no user input time, this terminal determine described first application be in no user input state.
This terminal determining described first application be in no user input state, this terminal in the second time threshold subsequently or on detecting once user input before, detect described first application send at least one packet.
Usually, this terminal is detecting the incoming event of user to described first application, or described terminal enters screen lock state, or when described application enters background operation state, this terminal starts or resets the first timer of described first application.Arrive when first timer or when exceeding very first time threshold value, determine no user input in this very first time threshold value, this terminal detects at least one packet that described first application sends.Very first time threshold value is the time threshold preset, such as 2 minutes or 5 minutes.
Obtain the characteristic value of the multiple packets in the second time threshold.Second time threshold is that default terminal starts the time judged, is realized determining, such as 1,2,4 or 8 hour etc. by terminal.When the time interval not yet arrives the second time threshold, the packet that described in terminal duplicate detection, the first application sends.S103, this terminal determine described at least one is heartbeat message in the packet that detects.
Particularly, the characteristic value of the packet detected described in this terminal obtains, described characteristic value at least comprises following one: data packet length, transmitting time or header data.
This terminal according to described in the packet that detects part or all of packet there is the identical data packet length (such as 2000 bytes) being no more than predetermined threshold value, in the packet detected described in determining, at least one is heartbeat message; And/or,
This terminal according to described in the packet that detects part or all of packet there is identical header data, in the packet detected described in determining, at least one is heartbeat message; And/or,
This terminal according to described in the packet that detects part or all of packet there is identical transmission time interval, in the packet detected described in determining, at least one is heartbeat message.
S104, this terminal according to described at least one determines that the application type of described first application is permanent application on site for heartbeat message in the packet that detects.
Like this, in the absence of user input, first application sends the packet of this first application, by carrying out bag detection to the packet that this first application sends within a period of time, obtain multiple described packet characteristic of correspondence value, the characteristic value of the multiple described packet in a period of time is judged, this terminal according to described at least one determines that the application type of described first application is permanent application on site for heartbeat message in the packet that detects.
S105, this terminal provide application message to report, the application type comprising described first application in described application message report is the information of permanent application on site.
Described application message report comprises application identities or Apply Names, the information such as heartbeat message transmission interval and heartbeat message bag size, application type etc. of described first application.Wherein, application type is permanent application on site.
If this terminal saves the list of application needing to report application message, then can also comprise the instruction that request " increases this first application " in permanent application on site list in the report of this application message.
After network reception is reported to this application message that terminal sends, according to carrier policy (whether such as operator wishes that the report of this application message of network utilisation is optimized control/management), network, to the testing result of this first application, (packet of such as network to this first application received carries out deep-packet detection, judge the feature of this first application) etc., determine whether require that SS later continues to report the information of this first application.
Optionally, before or after described terminal provides application message report, also comprise: the application type of described first application is labeled as permanent application on site by this terminal.
Optionally, after described terminal provides application message report, described method also comprises:
This terminal receives the first message, comprises and whether require that described terminal continues the instruction of the information providing described first application in described first message.
This terminal, according to described first message, determines whether the information providing described first application.
Network sends the first message to this terminal.Network can be comprised in this first message and whether require that this SS later continues to provide the instruction of this first application message.If this SS later of network requirement continues the information providing this first application, relevant parameter is comprised, the event that such as report cycle and/or triggering report, application parameter (such as heartbeat message sends interval and/or heartbeat message bag size) etc. in this first message.
This terminal receives the first message that network sends, and according to described first message, determines the follow-up information whether providing described first application.
If this first message indicates the information that this SS later of network requirement continues to provide this first application, then terminal is by according to the relevant parameter in this first message, and follow-up continuation reports the information of this first application to network.
If this first message indicates network and do not require that SS later continues to provide this first application message, then SS later can not continue to provide this first application message to network.SS later no longer carries out detecting the heartbeat message of this first application.
If this first message does not comprise the instruction that this SS later of network requirement continues to provide or do not provide this first application message, then this terminal also can determine the follow-up information whether providing to network or do not provide this first application according to this locality configuration.
If contain the instruction that terminal request " increases this first application " in permanent application on site list in the report of described application message, network can also be comprised in this first message to the confirmation whether " increasing this first application in permanent application on site list ".Usually, continue to report this first application message if this first message indicates network requirement SS later, then network confirms as "Yes" to " increase in permanent application on site list this first application "; If this first message indicates network and do not require that SS later continues to report this first application message, then network confirms as "No" to " increase in permanent application on site list this first application "; Vice versa.Therefore, if contain the confirmation that network " increases this first application " to whether in permanent application on site list in the first message, then can not comprise network and whether require that SS later continues to provide the instruction of this first application message.
If do not comprise the instruction that terminal request " increases this first application " in permanent application on site list in described application message report, the request that network request " increases this first application " in permanent application on site list in this first message, can be comprised.Like this, when this terminal receives this first message, this terminal increase in existing permanent application on site list this first application, or the newly-built permanent application on site list of terminal and increase in this newly-built permanent application on site list this first application.
Continue to provide this first application message if this first message indicates network requirement SS later, when arriving report cycle, or when the particular event triggering and report being detected, this terminal reports the information of this first application to network, the application parameter (such as heartbeat message sends interval and/or heartbeat message bag size) etc. that packets of information of this first application reports containing application identities or Apply Names, the requirement of this first application.This terminal can determine the parameter of this first application.Application message report transmission first message that network can send this SS later, to acknowledge receipt of the report of this application message.
The detection method that the embodiment of the present invention provides, can not need in the pre-configured permanent application on site list of terminal or can combine as preset permanent application on site list mode, can in time, dynamically by the information reporting of permanent application on site to network, the information for new application also can be reported to network in time, dynamically.
Be more than the detailed description that detection method provided by the present invention is carried out, below checkout gear provided by the invention and terminal be described in detail.
Embodiment two
Fig. 2 is the schematic diagram of a kind of terminal that the present embodiment provides, and as shown in Figure 2, described terminal comprises: the first determining unit 201, detecting unit 202, second determining unit 203, the 3rd determining unit 204 and report providing unit 205.
Described first determining unit 201 is for determining to exist in the application that terminal is being run the first application not determining application type.
Described application type comprises: permanent application on site and non-permanent application on site.
Described detecting unit 202 determine for detecting described first determining unit 201 described first be applied in no user input time send packet.
Described detecting unit 202 detect user to described first application incoming event after very first time threshold value in no user input time, or described terminal enter screen lock state after very first time threshold value in no user input time, or described first application enter background operation state after very first time threshold value in no user input time, described detecting unit 202 determine described first application be in no user input state.
Described detecting unit 202 is determining that described first application is in no user input state, before once user inputs in the second time threshold subsequently or on detecting, detects at least one packet that described first application sends.
Usually, described detecting unit 202 is detecting the incoming event of user to described first application, or described terminal enters screen lock state, or when described application enters background operation state, starts or reset the first timer of described first application.Arrive when first timer or when exceeding very first time threshold value, determine no user input in this very first time threshold value, described detecting unit 202 detects at least one packet that described first application sends.Very first time threshold value is the time threshold preset, such as 2 minutes or 5 minutes.
Described detecting unit 202 obtains the characteristic value of the multiple packets in the second time threshold.Second time threshold is that default terminal starts the time judged, is realized determining, such as 1,2,4 or 8 hour etc. by terminal.When the time interval not yet arrives the second time threshold, the packet that described in described detecting unit 202 duplicate detection, the first application sends.
Described second determining unit 203 is for determining that in the packet that described detecting unit 202 detects, at least one is heartbeat message.
The characteristic value of the packet detected described in described second determining unit 203 obtains, described characteristic value at least comprises following one: data packet length, transmitting time or header data.
Described second determining unit 203 has the identical data packet length (such as 2000 bytes) being no more than predetermined threshold value according to part or all of packet in the described packet detected, in the packet detected described in determining, at least one is heartbeat message; And/or described second determining unit 203 has identical header data according to part or all of packet in the described packet detected, in the packet detected described in determining, at least one is heartbeat message; And/or described second determining unit 203 has identical transmission time interval according to part or all of packet in the described packet detected, in the packet detected described in determining, at least one is heartbeat message.
Described 3rd determining unit 204 is in the packet that detects described in determining according to described second determining unit 203, at least one determines that the application type of described first application is permanent application on site for heartbeat message.
Described report providing unit 205 is reported for providing application message, and the application type comprising described first application in described application message report is the information of permanent application on site.
Described application message report comprises application identities or Apply Names, the information such as heartbeat message transmission interval and heartbeat message bag size, application type etc. of described first application.Wherein, application type is permanent application on site.
If this terminal saves the list of application needing to report application message, then can also comprise the instruction that request " increases this first application " in permanent application on site list in the report of this application message.
Like this, in the absence of user input, this the first application sends the packet of this first application, by carrying out bag detection to the packet that this first application sends within a period of time, obtain multiple described packet characteristic of correspondence value, the characteristic value of the multiple described packet in a period of time is judged, this terminal according to described at least one determines that the application type of described first application is permanent application on site for heartbeat message in the packet that detects.
After network reception is reported to this application message that terminal sends, according to carrier policy (whether such as operator wishes that the report of this application message of network utilisation is optimized control/management), network, to the testing result of this first application, (packet of such as network to this first application received carries out deep-packet detection, judge the feature of this first application) etc., determine whether require that SS later continues to report the information of this first application.
Optionally, described terminal can also comprise: indexing unit, receiving element and the 4th determining unit.
Described indexing unit is used for before or after providing application message report, and the application type of described first application is labeled as permanent application on site.
Described receiving element, for receiving the first message, comprises in described first message and whether requires that described terminal continues the instruction of the information providing described first application.
Described 4th determining unit is used for described first message received according to described receiving element, determines whether the information providing described first application.
Network sends the first message to this terminal.Network can be comprised in this first message and whether require that this SS later continues to provide the instruction of this first application message.If this SS later of network requirement continues the information providing this first application, relevant parameter is comprised, the event that such as report cycle and/or triggering report, application parameter (such as heartbeat message sends interval and/or heartbeat message bag size) etc. in this first message.
Described receiving element receives the first message that network sends, and described 4th determining unit, according to described first message, determines the follow-up information whether providing described first application.
If this first message indicates the information that this SS later of network requirement continues to provide this first application, then this terminal is by according to the relevant parameter in this first message, and follow-up continuation reports the information of this first application to network.
If this first message indicates network and do not require that SS later continues to provide this first application message, then SS later can not continue to provide this first application message to network.SS later no longer carries out detecting the heartbeat message of this first application.
If this first message does not comprise the instruction that this SS later of network requirement continues to provide or do not provide this first application message, then this terminal also can determine the follow-up information whether providing to network or do not provide this first application according to this locality configuration.
If contain the instruction that terminal request " increases this first application " in permanent application on site list in the report of described application message, network can also be comprised in this first message to the confirmation whether " increasing this first application in permanent application on site list ".Usually, continue to report this first application message if this first message indicates network requirement SS later, then network confirms as "Yes" to " increase in permanent application on site list this first application "; If this first message indicates network and do not require that SS later continues to report this first application message, then network confirms as "No" to " increase in permanent application on site list this first application "; Vice versa.Therefore, if contain the confirmation that network " increases this first application " to whether in permanent application on site list in the first message, then can not comprise network and whether require that SS later continues to provide the instruction of this first application message.
If do not comprise the instruction that terminal request " increases this first application " in permanent application on site list in described application message report, the request that network request " increases this first application " in permanent application on site list in this first message, can be comprised.Like this, when this terminal receives this first message, this terminal increase in existing permanent application on site list this first application, or the newly-built permanent application on site list of terminal and increase in this newly-built permanent application on site list this first application.
Continue to provide this first application message if this first message indicates network requirement SS later, when arriving report cycle, or when the particular event triggering and report being detected, this terminal reports the information of this first application to network, the application parameter (such as heartbeat message sends interval and/or heartbeat message bag size) etc. that packets of information of this first application reports containing application identities or Apply Names, the requirement of this first application.This terminal can determine the parameter of this first application.Application message report transmission first message that network can send this SS later, to acknowledge receipt of the report of this application message.
Embodiment three
Fig. 3 is the structural representation of the terminal that the present embodiment provides, and as shown in Figure 3, described terminal comprises: processor 301 and transceiver 302.Processor 301 is coupled with transceiver 302.
Processor 301 is for determining to exist in the application that described terminal is being run the first application not determining application type, and described application type comprises: permanent application on site and non-permanent application on site; Detect described first and be applied in the packet sent when no user inputs; In the packet detected described in determining, whether at least one is heartbeat message, according in the described packet detected at least one for heartbeat message determine described first application application type be permanent application on site.
Transceiver 302 is reported for providing application message, and the application type comprising described first application in described application message report is the information of permanent application on site.
Processor 301 detect user to described first application incoming event after very first time threshold value in no user input time, or described terminal enter screen lock state after very first time threshold value in no user input time, or described first application enter background operation state after very first time threshold value in no user input time, processor 301 determine described first application be in no user input state.Processor 301 in the second time threshold subsequently or on detecting once user input before, detect described first application send at least one packet.
Usually, processor 301 can detect the incoming event of user to described first application, or described terminal enters screen lock state, or when described application enters background operation state, processor 301 starts or resets the first timer of described first application.Arrive when first timer or when exceeding very first time threshold value, determine no user input in this very first time threshold value, then processor 301 detects at least one packet that described first application sends.Very first time threshold value is the time threshold preset, such as 2 minutes or 5 minutes.
Processor 301 obtains the characteristic value of the multiple packets in the second time threshold.Second time threshold is that default terminal starts the time judged, is realized determining, such as 1,2,4 or 8 hour etc. by terminal.When the time interval not yet arrives the second time threshold, the packet that described in terminal duplicate detection, the first application sends.
Processor 301 determine described at least one is heartbeat message in the packet that detects, comprising:
The characteristic value of the packet detected described in processor 301 obtains, described characteristic value at least comprises following one: data packet length, transmitting time or header data.
Processor 301 has the identical data packet length (such as 2000 bytes) being no more than predetermined threshold value according to part or all of packet in the described packet detected, in the packet detected described in determining, at least one is heartbeat message.
Or processor 301 has identical header data according to part or all of packet in the described packet detected, in the packet detected described in determining, at least one is heartbeat message.
Or processor 301 has identical transmission time interval according to part or all of packet in the described packet detected, in the packet detected described in determining, at least one is heartbeat message.
Processor 301 also for provide at transceiver 302 application message report before or after, by described first application application type be labeled as permanent application on site.
Transceiver 302, also for receiving the first message, comprising in described first message and whether requiring that described terminal continues the instruction of the information providing described first application.
Described first message of processor 301 also for receiving according to transceiver 302, determines whether the information providing described first application.
The described application message report that transceiver 302 sends comprises application identities or Apply Names, the information such as heartbeat message transmission interval and heartbeat message bag size, application type etc. of described application.Wherein, application type is permanent application on site.
If this terminal saves the list of application needing to report application message, then can also comprise the instruction that request " increases this first application " in permanent application on site list in the report of this application message.
Like this, in the absence of user input, first application sends the packet of this first application, by carrying out bag detection to the packet that this first application sends within a period of time, obtain multiple described packet characteristic of correspondence value, the characteristic value of the multiple described packet in a period of time is judged, this terminal according to described at least one determines that the application type of described first application is permanent application on site for heartbeat message in the packet that detects.
After network reception is reported to this application message that terminal sends, according to carrier policy (whether such as operator wishes that the report of this application message of network utilisation is optimized control/management), network, to the testing result of this first application, (packet of such as network to this first application received carries out deep-packet detection, judge the feature of this first application) etc., determine whether require that SS later continues to report the information of this first application.
Embodiment four
Fig. 4 is the composition structural representation of the terminal that the present embodiment provides, and as shown in Figure 4, terminal of the present invention comprises: processor 401, communication interface 402 and memory 403.
Communication interface 402 is for carrying out with other equipment in network alternately.
The application program of physical store in memory 403, described application program comprises and can be used for making described processor 401 and described terminal perform the instruction of following process:
Determine to exist in the application that described terminal is being run the first application not determining application type, described application type comprises: permanent application on site and non-permanent application on site;
Detect described first and be applied in the packet sent when no user inputs;
In the packet detected described in determining, at least one is heartbeat message;
According in the described packet detected at least one for heartbeat message determine described first application application type be permanent application on site;
There is provided application message to report, the application type comprising described first application in described application message report is the information of permanent application on site.
Particularly, terminal also to perform shown in above-mentioned Fig. 1 according to described instruction and detection method in embodiment one, does not specifically repeat them here.
Detection method provided by the invention and terminal, do not need at the pre-configured list of application of terminal or can combine as preset list of application mode, can in time, dynamically by the information reporting of permanent application on site to network, information for new application also can be reported to network in time, dynamically, network management/scheduling of resource can be implemented better, reduce or avoid the signaling storm that the permanent application on site of terminal causes.
Professional should recognize further, in conjunction with unit and the algorithm steps of each example of embodiment disclosed herein description, can realize with electronic hardware, computer software or the combination of the two, in order to the interchangeability of hardware and software is clearly described, generally describe composition and the step of each example in the above description according to function.These functions perform with hardware or software mode actually, depend on application-specific and the design constraint of technical scheme.Professional and technical personnel can use distinct methods to realize described function to each specifically should being used for, but this realization should not thought and exceeds scope of the present invention.
The software module that the method described in conjunction with embodiment disclosed herein or the step of algorithm can use hardware, processor to perform, or the combination of the two is implemented.Software module can be placed in the storage medium of other form any known in random asccess memory (RAM), internal memory, read-only memory (ROM), electrically programmable ROM, electrically erasable ROM, register, hard disk, moveable magnetic disc, CD-ROM or technical field.
Above-described embodiment; object of the present invention, technical scheme and beneficial effect are further described; be understood that; the foregoing is only the specific embodiment of the present invention; the protection range be not intended to limit the present invention; within the spirit and principles in the present invention all, any amendment made, equivalent replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (10)

1. a detection method, is characterized in that, described method comprises:
Terminal determines to exist in the application that described terminal is being run the first application not determining application type, and described application type comprises: permanent application on site and non-permanent application on site;
Described terminal detects described first and is applied in the packet sent when no user inputs;
Described terminal determine described at least one is heartbeat message in the packet that detects;
Described terminal according to described at least one determines that the application type of described first application is permanent application on site for heartbeat message in the packet that detects;
Described terminal provides application message to report, the application type comprising described first application in described application message report is the information of permanent application on site.
2. method according to claim 1, is characterized in that, described terminal determine described at least one is heartbeat message in the packet that detects, comprising:
The characteristic value of the packet detected described in described terminal obtains, described characteristic value at least comprises following one: data packet length, transmitting time or header data;
Described terminal according to described in the packet that detects part or all of packet there is the identical data packet length being no more than predetermined threshold value, in the packet detected described in determining, at least one is heartbeat message;
And/or,
Described terminal according to described in the packet that detects part or all of packet there is identical header data, in the packet detected described in determining, at least one is heartbeat message;
And/or,
Described terminal according to described in the packet that detects part or all of packet there is identical transmission time interval, in the packet detected described in determining, at least one is heartbeat message.
3. method according to claim 1 and 2, is characterized in that, before or after described terminal provides application message report, described method also comprises:
The application type of described first application is labeled as permanent application on site by described terminal.
4. the method according to any one of claims 1 to 3, is characterized in that, after described terminal provides application message report, described method also comprises:
Described terminal receives the first message, comprises and whether require that described terminal continues the instruction of the information providing described first application in described first message;
According to described first message, determine whether the information that described first application is provided.
5. a terminal, is characterized in that, described terminal comprises: processor and transceiver, described processor and transceiver couples;
Described processor, for determining to exist in the application that described terminal is being run the first application not determining application type, described application type comprises: permanent application on site and non-permanent application on site; Detect described first and be applied in the packet sent when no user inputs; In the packet detected described in determining, whether at least one is heartbeat message, according in the described packet detected at least one for heartbeat message determine described first application application type be permanent application on site;
Described transceiver is used for providing application message to report, the application type comprising described first application in described application message report is the information of permanent application on site.
6. terminal according to claim 5, is characterized in that, described processor determine described at least one is heartbeat message in the packet that detects, comprising:
The characteristic value of the packet detected described in described processor obtains, described characteristic value at least comprises following one: data packet length, transmitting time or header data;
Described processor according to described in the packet that detects part or all of packet there is the identical data packet length being no more than predetermined threshold value, in the packet detected described in determining, at least one is heartbeat message.
7. terminal according to claim 5, is characterized in that, described processor determine described at least one is heartbeat message in the packet that detects, comprising:
The characteristic value of the packet detected described in described processor obtains, described characteristic value at least comprises following one: data packet length, transmitting time or header data;
Described processor according to described in the packet that detects part or all of packet there is identical header data, in the packet detected described in determining, at least one is heartbeat message.
8. terminal according to claim 5, is characterized in that, described processor determine described at least one is heartbeat message in the packet that detects, comprising:
The characteristic value of the packet detected described in described processor obtains, described characteristic value at least comprises following one: data packet length, transmitting time or header data;
Described processor according to described in the packet that detects part or all of packet there is identical transmission time interval, in the packet detected described in determining, at least one is heartbeat message.
9. the terminal according to any one of claim 5 to 8, is characterized in that, described processor also for, described transceiver provide application message report before or after, by described first application application type be labeled as permanent application on site.
10. the terminal according to any one of claim 5 to 9, is characterized in that,
Described transceiver, also for receiving the first message, comprising in described first message and whether requiring that described terminal continues the instruction of the information providing described first application;
Described first message of described processor also for arriving according to described transceivers, determines whether the information providing described first application.
CN201310522405.7A 2013-10-29 2013-10-29 Detection method and terminal Active CN104579813B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310522405.7A CN104579813B (en) 2013-10-29 2013-10-29 Detection method and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310522405.7A CN104579813B (en) 2013-10-29 2013-10-29 Detection method and terminal

Publications (2)

Publication Number Publication Date
CN104579813A true CN104579813A (en) 2015-04-29
CN104579813B CN104579813B (en) 2018-09-07

Family

ID=53095078

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310522405.7A Active CN104579813B (en) 2013-10-29 2013-10-29 Detection method and terminal

Country Status (1)

Country Link
CN (1) CN104579813B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120147769A1 (en) * 2007-11-27 2012-06-14 Umber Systems, Inc. System and method for collecting, reporting, and analyzing data on application-level activity and other user information on a mobile data network
CN103079285A (en) * 2013-01-14 2013-05-01 东莞宇龙通信科技有限公司 Mobile terminal and point-to-point connection retention method
CN103095831A (en) * 2013-01-15 2013-05-08 中国联合网络通信集团有限公司 Method of maintaining heartbeat mechanism, wireless local area network (WLAN) client terminal and procedure server
CN103152374A (en) * 2011-12-07 2013-06-12 华为终端有限公司 Method and device for learning terminal online state
CN103188653A (en) * 2011-12-27 2013-07-03 华为终端有限公司 Method of data receiving, method of data sending, mobile terminal and server
CN103312528A (en) * 2012-03-08 2013-09-18 中国移动通信集团公司 Heartbeat message sending method and user terminal

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120147769A1 (en) * 2007-11-27 2012-06-14 Umber Systems, Inc. System and method for collecting, reporting, and analyzing data on application-level activity and other user information on a mobile data network
CN103152374A (en) * 2011-12-07 2013-06-12 华为终端有限公司 Method and device for learning terminal online state
CN103188653A (en) * 2011-12-27 2013-07-03 华为终端有限公司 Method of data receiving, method of data sending, mobile terminal and server
CN103312528A (en) * 2012-03-08 2013-09-18 中国移动通信集团公司 Heartbeat message sending method and user terminal
CN103079285A (en) * 2013-01-14 2013-05-01 东莞宇龙通信科技有限公司 Mobile terminal and point-to-point connection retention method
CN103095831A (en) * 2013-01-15 2013-05-08 中国联合网络通信集团有限公司 Method of maintaining heartbeat mechanism, wireless local area network (WLAN) client terminal and procedure server

Also Published As

Publication number Publication date
CN104579813B (en) 2018-09-07

Similar Documents

Publication Publication Date Title
CN110312279B (en) Network data monitoring method and device
CN103209439B (en) The method of a kind of data traffic monitoring, device and equipment
US20150382132A1 (en) Method and Device for Monitoring
EP3780713A1 (en) Transmission control method and device
EP2537366A1 (en) Method and apparatus for managing communications in a wireless communication system
WO2012058970A1 (en) Method, terminal, and system for controlling terminal access
EP3099097B1 (en) Trigger management method and apparatus for cse, cse and network element of bearer network
EP3148156A1 (en) Sending method and apparatus and computer storage medium of notification message
Aydeger et al. SDN-enabled recovery for Smart Grid teleprotection applications in post-disaster scenarios
CN104967632B (en) Webpage abnormal data processing method, data server and system
Elmangoush et al. Application-derived communication protocol selection in M2M platforms for smart cities
US10211995B2 (en) Background traffic downloading method, device, and system
EP2763352A1 (en) Communication device, communication method, and program
CN103874140A (en) Information processing method, access point and site
EP2874349B1 (en) Communication path processing method and apparatus
KR102397346B1 (en) Methods, devices and systems for monitoring data traffic
CN102710470B (en) A kind of M2M communication means and treatment facility
CN103313224B (en) A kind of method and system of instruction trigger message valid time
CN105592485A (en) Method for collecting and processing messages in real time based on SNMP
CN102594611B (en) Trap session chain table updating method for webmaster agent
WO2018177003A1 (en) Charging method, and related device and system
CN104579813A (en) Detection method and terminal
EP3158685B1 (en) Identification of candidate problem network entities
US7756160B2 (en) Packet consolidation
CN109474442B (en) Log processing method, electronic device and storage medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right

Effective date of registration: 20171027

Address after: Metro Songshan Lake high tech Industrial Development Zone, Guangdong Province, Dongguan City Road 523808 No. 2 South Factory (1) project B2 -5 production workshop

Applicant after: HUAWEI terminal (Dongguan) Co., Ltd.

Address before: 518129 Longgang District, Guangdong, Bantian HUAWEI base B District, building 2, building No.

Applicant before: Huawei Device Co., Ltd.

TA01 Transfer of patent application right
GR01 Patent grant
GR01 Patent grant
CP01 Change in the name or title of a patent holder

Address after: 523808 Southern Factory Building (Phase I) Project B2 Production Plant-5, New Town Avenue, Songshan Lake High-tech Industrial Development Zone, Dongguan City, Guangdong Province

Patentee after: Huawei Device Co., Ltd.

Address before: 523808 Southern Factory Building (Phase I) Project B2 Production Plant-5, New Town Avenue, Songshan Lake High-tech Industrial Development Zone, Dongguan City, Guangdong Province

Patentee before: HUAWEI terminal (Dongguan) Co., Ltd.

CP01 Change in the name or title of a patent holder