CN108347718A - Monitor the method, apparatus and storage medium of communication bag - Google Patents

Monitor the method, apparatus and storage medium of communication bag Download PDF

Info

Publication number
CN108347718A
CN108347718A CN201810108445.XA CN201810108445A CN108347718A CN 108347718 A CN108347718 A CN 108347718A CN 201810108445 A CN201810108445 A CN 201810108445A CN 108347718 A CN108347718 A CN 108347718A
Authority
CN
China
Prior art keywords
communication bag
monitoring
snoop results
contract
project
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
CN201810108445.XA
Other languages
Chinese (zh)
Other versions
CN108347718B (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.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software 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 Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN201810108445.XA priority Critical patent/CN108347718B/en
Publication of CN108347718A publication Critical patent/CN108347718A/en
Application granted granted Critical
Publication of CN108347718B publication Critical patent/CN108347718B/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/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/02Arrangements for optimising operational condition
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/02Power saving arrangements
    • H04W52/0209Power saving arrangements in terminal devices
    • H04W52/0225Power saving arrangements in terminal devices using monitoring of external events, e.g. the presence of a signal
    • H04W52/0229Power saving arrangements in terminal devices using monitoring of external events, e.g. the presence of a signal where the received signal is a wanted signal
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

This disclosure relates to a kind of method, apparatus and storage medium for monitoring communication bag, is applied to receiving terminal, the method includes:The communication bag that transmitting terminal is sent within the time of giving out a contract for a project is monitored in current monitoring period;At the end of the current monitoring period, determine whether the first snoop results meet lasting monitoring trigger condition;When first snoop results meet the persistently monitoring trigger condition, continue to monitor the communication bag given out a contract for a project in the time.

Description

Monitor the method, apparatus and storage medium of communication bag
Technical field
This disclosure relates to the communications field, and in particular, to a kind of method, apparatus and storage medium for monitoring communication bag.
Background technology
BLE(Bluetooth Low Energy;Bluetooth Low Energy) technology is low cost, short distance and interoperable Robustness wireless technology has been widely used for smart mobile phone, tablet computer, smartwatch, medical treatment since its stand-by power consumption is low The electronic equipments such as patient monitor.
In the related art, after transmitting terminal is connected with receiving terminal by BLE technologies, receiving terminal (or transmitting terminal) may Power depletion either crashes that either receiving terminal may exceed can between the communication context or receiving terminal and transmitting terminal of transmitting terminal The transmission of communication bag can and be not present, in these cases, if continuing to keep the bluetooth connection shape between transmitting terminal and receiving terminal Both the case where state, then there may be the resources of both consumption, at this point, in order to reduce the consuming to the two resource, can disconnect Between bluetooth connection.
Invention content
In order to solve the problems in the relevant technologies, the present disclosure proposes a kind of method, apparatus for monitoring communication bag and deposit Storage media.
To achieve the goals above, according to the first aspect of the embodiments of the present disclosure, a kind of method for monitoring communication bag is provided, Applied to receiving terminal, including:
The communication bag that transmitting terminal is sent within the time of giving out a contract for a project is monitored in current monitoring period;
At the end of the current monitoring period, determine whether the first snoop results meet lasting monitoring trigger condition;
When first snoop results meet the persistently monitoring trigger condition, continue to give out a contract for a project leading in the time to described Letter packet is monitored.
Optionally, the trigger condition of persistently monitoring includes:
The communication bag is not received in the current monitoring period according to first snoop results determination;Alternatively,
Determine that the communication bag received in the current monitoring period is wrong wraps according to first snoop results.
Optionally, further include:
After continuing to be monitored to obtain the second snoop results to the communication bag given out a contract for a project in the time, described second is determined Whether snoop results meet monitoring termination condition;
When second snoop results meet the monitoring termination condition, terminate to monitor the communication bag.
Optionally, the monitoring termination condition includes:
Correct communication bag is received according to second snoop results determination;Alternatively,
That monitors the communication bag is more than or equal to described give out a contract for a project the time total time.
Optionally, further include:
After receiving the correct communication bag, if correctly the communication bag is data packet, to the transmitting terminal The first response message is sent, and after receiving the response feedback message that the transmitting terminal is sent, into dormant state;
If the correct communication bag is empty packet, the second response message is sent to the transmitting terminal, and enter suspend mode shape State.
According to the second aspect of the embodiment of the present disclosure, a kind of device for monitoring communication bag is provided, is applied to receiving terminal, packet It includes:
First monitors module, is configured as monitoring the communication that transmitting terminal is sent within the time of giving out a contract for a project in current monitoring period Packet;
First determining module is configured as at the end of the current monitoring period, determines whether the first snoop results are full Foot persistently monitors trigger condition;
Second monitors module, is configured as when first snoop results meet the persistently monitoring trigger condition, after It is continuous that the communication bag given out a contract for a project in the time is monitored.
Optionally, the trigger condition of persistently monitoring includes:
The communication bag is not received in the current monitoring period according to first snoop results determination;Alternatively,
Determine that the communication bag received in the current monitoring period is wrong wraps according to first snoop results.
Optionally, further include:
Second determining module is configured as continuing to be monitored to obtain the second prison to the communication bag given out a contract for a project in the time After listening result, determine whether second snoop results meet monitoring termination condition;
Terminate module is configured as when second snoop results meet the monitoring termination condition, terminates to monitor institute State communication bag.
Optionally, the monitoring termination condition includes:
Correct communication bag is received according to second snoop results determination;Alternatively,
That monitors the communication bag is more than or equal to described give out a contract for a project the time total time.
Optionally, further include:
Processing module is configured as after receiving the correct communication bag, if correctly the communication bag is data Packet then sends the first response message to the transmitting terminal, and after receiving the response feedback message that the transmitting terminal is sent, into Enter dormant state;
If the correct communication bag is empty packet, the second response message is sent to the transmitting terminal, and enter suspend mode shape State.
According to the third aspect of the embodiment of the present disclosure, a kind of device for monitoring communication bag is provided, including:
Processor;
Memory for storing processor-executable instruction;
Wherein, the processor is configured as:
The communication bag that transmitting terminal is sent within the time of giving out a contract for a project is monitored in current monitoring period;
At the end of the current monitoring period, determine whether the first snoop results meet lasting monitoring trigger condition;
When first snoop results meet the persistently monitoring trigger condition, continue to give out a contract for a project leading in the time to described Letter packet is monitored.
According to the fourth aspect of the embodiment of the present disclosure, a kind of computer readable storage medium is provided, is stored thereon with calculating The step of machine program instruction, which realizes method described above when being executed by processor.
Through the above technical solutions, receiving terminal monitors the communication that transmitting terminal is sent within the time of giving out a contract for a project in current monitoring period Packet;At the end of the current monitoring period, determine whether the first snoop results meet lasting monitoring trigger condition;Described When one snoop results meet the persistently monitoring trigger condition, continue to monitor the communication bag given out a contract for a project in the time, this Sample, receiving terminal can timely receive the communication bag of transmitting terminal transmission, be needed in next listening period so as to avoid receiving terminal Packet delay is communicated caused by monitoring communication bag.
Other feature and advantage of the disclosure will be described in detail in subsequent specific embodiment part.
Description of the drawings
Attached drawing is for providing further understanding of the disclosure, and a part for constitution instruction, with following tool Body embodiment is used to explain the disclosure together, but does not constitute the limitation to the disclosure.In the accompanying drawings:
Fig. 1 is a kind of flow chart of the method for monitoring communication bag shown in disclosure exemplary embodiment;
Fig. 2 is the flow chart of the method for another monitoring communication bag shown in disclosure exemplary embodiment;
Fig. 3 is the device block diagram of the first monitoring communication bag shown in disclosure exemplary embodiment;
Fig. 4 is the device block diagram of second of monitoring communication bag shown in disclosure exemplary embodiment;
Fig. 5 is the device block diagram of the third monitoring communication bag shown in disclosure exemplary embodiment;
Fig. 6 is the device block diagram of the 4th kind of monitoring communication bag shown in disclosure exemplary embodiment.
Specific implementation mode
The specific implementation mode of the disclosure is described in detail below in conjunction with attached drawing.It should be understood that this place is retouched The specific implementation mode stated is only used for describing and explaining the disclosure, is not limited to the disclosure.
First, the application scenarios of the disclosure are described, transmitting terminal with receiving terminal after being connected by BLE technologies, mesh The preceding bluetooth connection for determining the need for disconnecting the two in the following manner:Transmitting terminal is given out a contract for a project week within the time of giving out a contract for a project according to default Phase sends communication bag to receiving terminal, and receiving terminal monitors the communication bag that transmitting terminal is sent according to listening period, wherein receiving terminal The communication bag for not receiving the communication bag of transmitting terminal transmission in current monitoring period or receiving is that mistake Bao Ze enters suspend mode State, and wake up in next listening period and continue to monitor the communication bag that transmitting terminal sends, in this way, however, it is determined that give out a contract for a project in the time at this Receiving terminal listens to a correct communication bag, then illustrates between receiving terminal and transmitting terminal there are the transmission of normal communication bag, this When, without disconnect both bluetooth connection, on the contrary, however, it is determined that within the time of giving out a contract for a project receiving terminal do not receive a communication bag or It is wrong packet that person, which receives communication bag, then illustrates that there is no normal communication bags to transmit between receiving terminal and transmitting terminal, at this point, disconnected The bluetooth connection of the two is opened, still, since receiving terminal is in current monitoring period during above-mentioned receiving terminal monitors communication bag The communication bag for not hearing the communication bag of transmitting terminal transmission inside or receiving is wrong packet, needs to enter suspend mode and in next monitoring Period continues to monitor to communication bag, therefore so that and communication bag can not be sent to receiving terminal by transmitting terminal in time, so as to cause There is delay in communication bag.
To solve the above-mentioned problems, the disclosure after current monitoring period, can determine the of current listening period Whether one snoop results meet lasting monitoring trigger condition, and meet this in first snoop results and persistently monitor trigger condition When, continue to monitor the communication bag given out a contract for a project in the time, in this way, receiving terminal can timely receive the communication of transmitting terminal transmission Packet communicates packet delay so as to avoid receiving terminal needs caused by next listening period monitors communication bag.
The disclosure is described in detail below in conjunction with specific embodiment.
Fig. 1 is a kind of flow chart of the method for monitoring communication bag shown in disclosure exemplary embodiment, is applied to receive End, as shown in Figure 1, this method includes:
In a step 101, the communication bag that transmitting terminal is sent within the time of giving out a contract for a project is monitored in current monitoring period.
Wherein, which can be timeout parameters in BLE protocol specifications, and illustratively, which can wrap Include initial time, finish time and duration of giving out a contract for a project that transmitting terminal sends communication bag, and if receiving terminal give out a contract for a project in the time at this Listen to correct communication bag, then the initial time in the time of giving out a contract for a project and finish time can reset, as the receiving terminal is deserving The a certain moment in preceding listening period listens to correct communication bag, can be by a certain moment of this in the current monitoring period more It is newly the initial time of the time of giving out a contract for a project, and finish time is updated according to updated initial time and duration of giving out a contract for a project.
In this step, the listening period of the receiving terminal can determine in the following manner:First, it is advised according to BLE agreements Latancy parameters (being equivalent to packet receiving interval) and time of giving out a contract for a project determine the multiple tins of packet moment given out a contract for a project in the time in model, Can such as determine that the first time given out a contract for a project in the time listens the packet moment according to initial time and latancy parameters, and according to this It is primary that packet moment and latancy parameters is listened to determine that the listening for the second time in the time of giving out a contract for a project wraps the moment, and so on, it may be determined that Go out the multiple tins of packet moment given out a contract for a project in the time, then, respectively using each tin of packet moment as start time, and with preset time period Listening period is formed for duration, above-mentioned example is merely illustrative, and the disclosure is not construed as limiting this.
In a step 102, at the end of listening period is monitored in this prior, determine whether the first snoop results meet lasting prison Listen trigger condition.
In this step, this is persistently monitored trigger condition and may include:It is determined in this prior according to first snoop results The communication bag is not received in listening period;It is received alternatively, being determined in listening period in this prior according to first snoop results The communication bag arrived is wrong wraps.
In step 103, when first snoop results meet this and persistently monitor trigger condition, continue to give out a contract for a project the time to this Interior communication bag is monitored.
Due in the related art, current monitoring period do not hear the communication bag of transmitting terminal transmission or listens to Communication bag is that mistake Bao Zehui enters dormant state, and the disclosure can meet the lasting monitoring in first snoop results and trigger item Continue to monitor the communication bag that transmitting terminal in the time of giving out a contract for a project is sent when part, so as to avoid communication bag in the related technology Monitor delay.
Using the above method, the first snoop results of current listening period after current monitoring period, can be determined Whether satisfaction persistently monitors trigger condition, and when first snoop results meet this and persistently monitor trigger condition, continues to hair Communication bag in the packet time is monitored, in this way, receiving terminal can timely receive the communication bag of transmitting terminal transmission, to avoid Receiving terminal needs caused by next listening period monitors communication bag communicate packet delay.
Fig. 2 is a kind of flow chart of the method for monitoring communication bag shown in disclosure exemplary embodiment, is applied to receive End, as shown in Fig. 2, this method includes:
In step 201, the communication bag that transmitting terminal is sent within the time of giving out a contract for a project is monitored in current monitoring period.
Wherein, which can be timeout parameters in BLE protocol specifications, and illustratively, which can wrap Include initial time, finish time and duration of giving out a contract for a project that transmitting terminal sends communication bag, and if receiving terminal give out a contract for a project in the time at this Listen to correct communication bag, then the initial time in the time of giving out a contract for a project and finish time can reset, as the receiving terminal is deserving The a certain moment in preceding listening period listens to correct communication bag, can be by a certain moment of this in the current monitoring period more It is newly the initial time of the time of giving out a contract for a project, and finish time is updated according to updated initial time and duration of giving out a contract for a project.
In this step, the listening period of the receiving terminal can determine in the following manner:First, it is advised according to BLE agreements Latancy parameters (being equivalent to packet receiving interval) and time of giving out a contract for a project determine the multiple tins of packet moment given out a contract for a project in the time in model, Can such as determine that the first time given out a contract for a project in the time listens the packet moment according to initial time and latancy parameters, and according to this It is primary that packet moment and latancy parameters is listened to determine that the listening for the second time in the time of giving out a contract for a project wraps the moment, and so on, it may be determined that Go out the multiple tins of packet moment given out a contract for a project in the time, then, respectively using each tin of packet moment as start time, and with preset time period Listening period is formed for duration, above-mentioned example is merely illustrative, and the disclosure is not construed as limiting this.
In step 202, at the end of listening period is monitored in this prior, determine whether the first snoop results meet lasting prison Listen trigger condition.
In this step, this is persistently monitored trigger condition and includes:It is monitored in this prior according to first snoop results determination The communication bag is not received in period;It is received in listening period in this prior alternatively, being determined according to first snoop results The communication bag is wrapped for mistake, in this way, due to meeting receiving terminal when lasting monitoring triggers in first snoop results in the related technology It into dormant state, and wakes up in next listening period and continues to monitor communication bag, postpone so as to cause the monitoring of communication bag, this public affairs It opened and determines whether first snoop results meet lasting monitoring trigger condition, and solved the monitoring of communication bag in the related technology The problem of delay.
In one possible implementation, it can determine whether the communication bag is wrong packet in the following manner:Due to hair The communication bag that sending end is sent includes inspection data and communication data, is communicated in this way, can operation be carried out communication data As a result, and determine whether the result of communication and the inspection data consistent, when the result of communication is consistent with the verification data, determination The communication bag is correct communication bag, when the result of communication and the check information are inconsistent, determines that the communication bag is wrong packet, on It states example to be merely illustrative, the disclosure is not construed as limiting this.
When determining that first snoop results meet this and persistently monitor trigger condition, step 203 and 205 is executed;
When determining that first snoop results are unsatisfactory for this and persistently monitor trigger condition, step 204 is executed.
In step 203, the communication bag for continuing to give out a contract for a project to this in time is monitored to obtain the second snoop results.
The disclosure avoids the receiving terminal entrance when first snoop results meet lasting monitoring triggering in the related technology Dormant state, in this way, the second snoop results can be got in time by maintenance monitoring.
In step 204, into dormant state.
In step 205, determine whether second snoop results meet monitoring termination condition.
Wherein, which may include:Correct communication bag is received according to second snoop results determination; Alternatively, the total time for monitoring the communication bag gives out a contract for a project the time more than or equal to this, illustratively, in the duration of giving out a contract for a project of the time of giving out a contract for a project For 30s when, if receiving terminal monitored within the time of giving out a contract for a project the communication bag total time be 25s, be unsatisfactory for the monitoring and terminate item Part continues to monitor the communication bag, if the total time that receiving terminal monitors the communication bag is 31s, meets the monitoring knot Beam condition monitors the communication bag without continuing.
When determining that second snoop results meet the monitoring termination condition, step 206 is executed;
When determining that second snoop results are unsatisfactory for the monitoring termination condition, return to step 203.
In step 206, terminate to monitor the communication bag.
In this step, second snoop results determination receives correct communication bag according to the monitoring termination condition When, after receiving correct communication bag in step 205, if correctly the communication bag is data packet, sent to the transmitting terminal First response message, and after the response feedback message for receiving transmitting terminal transmission, into dormant state;If correctly this is logical Letter packet is empty packet, then sends the second response message to the transmitting terminal, and enter dormant state.
Using the above method, the first snoop results of current listening period after current monitoring period, can be determined Whether satisfaction persistently monitors trigger condition, and when first snoop results meet this and persistently monitor trigger condition, continues to hair Communication bag in the packet time is monitored, in this way, receiving terminal can timely receive the communication bag of transmitting terminal transmission, to avoid Receiving terminal needs caused by next listening period monitors communication bag communicate packet delay.
Fig. 3 is a kind of device block diagram of monitoring communication bag shown in the embodiment of the present disclosure, is applied to receiving terminal, such as Fig. 3 institutes Show, including:
First monitors module 301, is configured as sending within the time of giving out a contract for a project in current monitoring period monitoring transmitting terminal logical Letter packet;
First determining module 302 at the end of being configured as listening period in this prior, determines whether the first snoop results are full Foot persistently monitors trigger condition;
Second monitors module 303, is configured as when first snoop results meet this and persistently monitor trigger condition, continues The communication bag in the time of giving out a contract for a project is monitored.
Optionally, this is persistently monitored trigger condition and includes:
It is determined in listening period in this prior according to first snoop results and does not receive the communication bag;Alternatively,
Determine that the communication bag received in listening period in this prior is wrong wraps according to first snoop results.
Fig. 4 is a kind of device block diagram of monitoring communication bag shown in disclosure exemplary embodiment, as shown in figure 4, also wrapping It includes:
Second determining module 304 is configured as being monitored to obtain second in the communication bag for continuing to give out a contract for a project in the time to this After snoop results, determine whether second snoop results meet monitoring termination condition;
Terminate module 305 is configured as when second snoop results meet the monitoring termination condition, and terminating monitoring, this is logical Letter packet.
Optionally, which includes:
Correct communication bag is received according to second snoop results determination;Alternatively,
The total time for monitoring the communication bag gives out a contract for a project the time more than or equal to this.
Fig. 5 is a kind of device block diagram of monitoring communication bag shown in disclosure exemplary embodiment, as shown in figure 5, also wrapping It includes:
Processing module 306 is configured as after receiving the correct communication bag, if correctly the communication bag is data Packet then sends the first response message to the transmitting terminal, and after the response feedback message for receiving transmitting terminal transmission, into not Dormancy state;
If the correct communication bag is empty packet, the second response message is sent to the transmitting terminal, and enter dormant state.
Using above-mentioned apparatus, the first snoop results of current listening period after current monitoring period, can be determined Whether satisfaction persistently monitors trigger condition, and when first snoop results meet this and persistently monitor trigger condition, continues to hair Communication bag in the packet time is monitored, in this way, receiving terminal can timely receive the communication bag of transmitting terminal transmission, to avoid Receiving terminal needs caused by next listening period monitors communication bag communicate packet delay.
About the device in above-described embodiment, wherein modules execute the concrete mode of operation in related this method Embodiment in be described in detail, explanation will be not set forth in detail herein.
The disclosure also provides a kind of computer readable storage medium, is stored thereon with computer program instructions, which refers to The step of enabling the method for the monitoring communication bag for realizing that the disclosure provides when being executed by processor.
Fig. 6 is a kind of 600 block diagram of device for monitoring communication bag shown according to disclosure exemplary embodiment.Example Such as, device 600 can be mobile phone, computer, digital broadcast terminal, messaging devices, game console, and tablet is set It is standby, Medical Devices, body-building equipment, personal digital assistant etc..
With reference to Fig. 6, device 600 may include following one or more components:Processing component 602, memory 604, electric power Component 606, multimedia component 608, audio component 610, the interface 612 of input/output (I/O), sensor module 614, and Communication component 616.
The integrated operation of 602 usual control device 600 of processing component, such as with display, call, data communication, phase Machine operates and record operates associated operation.Processing component 602 may include that one or more processors 620 refer to execute It enables, to complete all or part of step of the method for above-mentioned monitoring communication bag.In addition, processing component 602 may include one or Multiple modules, convenient for the interaction between processing component 602 and other assemblies.For example, processing component 602 may include multimedia mould Block, to facilitate the interaction between multimedia component 608 and processing component 602.
Memory 604 is configured as storing various types of data to support the operation in device 600.These data are shown Example includes instruction for any application program or method that are operated on device 600, contact data, and telephone book data disappears Breath, picture, video etc..Memory 604 can be by any kind of volatibility or non-volatile memory device or their group It closes and realizes, such as static RAM (SRAM), electrically erasable programmable read-only memory (EEPROM) is erasable to compile Journey read-only memory (EPROM), programmable read only memory (PROM), read-only memory (ROM), magnetic memory, flash Device, disk or CD.
Electric power assembly 606 provides electric power for the various assemblies of device 600.Electric power assembly 606 may include power management system System, one or more power supplys and other generated with for device 600, management and the associated component of distribution electric power.
Multimedia component 608 is included in the screen of one output interface of offer between described device 600 and user.One In a little embodiments, screen may include liquid crystal display (LCD) and touch panel (TP).If screen includes touch panel, screen Curtain may be implemented as touch screen, to receive input signal from the user.Touch panel includes one or more touch sensings Device is to sense the gesture on touch, slide, and touch panel.The touch sensor can not only sense touch or sliding action Boundary, but also detect duration and pressure associated with the touch or slide operation.In some embodiments, more matchmakers Body component 608 includes a front camera and/or rear camera.When device 600 is in operation mode, such as screening-mode or When video mode, front camera and/or rear camera can receive external multi-medium data.Each front camera and Rear camera can be a fixed optical lens system or have focusing and optical zoom capabilities.
Audio component 610 is configured as output and/or input audio signal.For example, audio component 610 includes a Mike Wind (MIC), when device 600 is in operation mode, when such as call model, logging mode and speech recognition mode, microphone by with It is set to reception external audio signal.The received audio signal can be further stored in memory 604 or via communication set Part 616 is sent.In some embodiments, audio component 610 further includes a loud speaker, is used for exports audio signal.
I/O interfaces 612 provide interface between processing component 602 and peripheral interface module, and above-mentioned peripheral interface module can To be keyboard, click wheel, button etc..These buttons may include but be not limited to:Home button, volume button, start button and lock Determine button.
Sensor module 614 includes one or more sensors, and the state for providing various aspects for device 600 is commented Estimate.For example, sensor module 614 can detect the state that opens/closes of device 600, and the relative positioning of component, for example, it is described Component is the display and keypad of device 600, and sensor module 614 can be with 600 1 components of detection device 600 or device Position change, the existence or non-existence that user contacts with device 600,600 orientation of device or acceleration/deceleration and device 600 Temperature change.Sensor module 614 may include proximity sensor, be configured to detect without any physical contact Presence of nearby objects.Sensor module 614 can also include optical sensor, such as CMOS or ccd image sensor, at As being used in application.In some embodiments, which can also include acceleration transducer, gyro sensors Device, Magnetic Sensor, pressure sensor or temperature sensor.
Communication component 616 is configured to facilitate the communication of wired or wireless way between device 600 and other equipment.Device 600 can access the wireless network based on communication standard, such as WiFi, 2G or 3G or combination thereof.In an exemplary implementation In example, communication component 616 receives broadcast singal or broadcast related information from external broadcasting management system via broadcast channel. In one exemplary embodiment, the communication component 616 further includes near-field communication (NFC) module, to promote short range communication.Example Such as, NFC module can be based on radio frequency identification (RFID) technology, Infrared Data Association (IrDA) technology, ultra wide band (UWB) technology, Bluetooth (BT) technology and other technologies are realized.
In the exemplary embodiment, device 600 can be believed by one or more application application-specific integrated circuit (ASIC), number Number processor (DSP), digital signal processing appts (DSPD), programmable logic device (PLD), field programmable gate array (FPGA), controller, microcontroller, microprocessor or other electronic components are realized, the side for executing above-mentioned monitoring communication bag Method.
In the exemplary embodiment, it includes the non-transitorycomputer readable storage medium instructed, example to additionally provide a kind of Such as include the memory 604 of instruction, above-metioned instruction can be executed by the processor 620 of device 600 to complete above-mentioned monitoring communication bag Method.For example, the non-transitorycomputer readable storage medium can be ROM, random access memory (RAM), CD- ROM, tape, floppy disk and optical data storage devices etc..
The preferred embodiment of the disclosure is described in detail above in association with attached drawing, still, the disclosure is not limited to above-mentioned reality The detail in mode is applied, in the range of the technology design of the disclosure, a variety of letters can be carried out to the technical solution of the disclosure Monotropic type, these simple variants belong to the protection domain of the disclosure.
It is further to note that specific technical features described in the above specific embodiments, in not lance It in the case of shield, can be combined by any suitable means, avoid unnecessary repetition, the disclosure is to various possibility Combination no longer separately illustrate.
In addition, arbitrary combination can also be carried out between a variety of different embodiments of the disclosure, as long as it is without prejudice to originally Disclosed thought equally should be considered as disclosure disclosure of that.

Claims (12)

1. a kind of method for monitoring communication bag, which is characterized in that it is applied to receiving terminal, including:
The communication bag that transmitting terminal is sent within the time of giving out a contract for a project is monitored in current monitoring period;
At the end of the current monitoring period, determine whether the first snoop results meet lasting monitoring trigger condition;
When first snoop results meet the persistently monitoring trigger condition, continue to the communication bag given out a contract for a project in the time It is monitored.
2. according to the method described in claim 1, it is characterized in that, the trigger condition of persistently monitoring includes:
The communication bag is not received in the current monitoring period according to first snoop results determination;Alternatively,
Determine that the communication bag received in the current monitoring period is wrong wraps according to first snoop results.
3. according to the method described in claim 1, it is characterized in that, further including:
After continuing to be monitored to obtain the second snoop results to the communication bag given out a contract for a project in the time, determine that described second monitors As a result whether meet monitoring termination condition;
When second snoop results meet the monitoring termination condition, terminate to monitor the communication bag.
4. according to the method described in claim 3, it is characterized in that, the monitoring termination condition includes:
Correct communication bag is received according to second snoop results determination;Alternatively,
That monitors the communication bag is more than or equal to described give out a contract for a project the time total time.
5. according to the method described in claim 4, it is characterized in that, further including:
After receiving the correct communication bag, if correctly the communication bag is data packet, sent to the transmitting terminal First response message, and after receiving the response feedback message that the transmitting terminal is sent, into dormant state;
If the correct communication bag is empty packet, the second response message is sent to the transmitting terminal, and enter dormant state.
6. a kind of device for monitoring communication bag, which is characterized in that it is applied to receiving terminal, including:
First monitors module, is configured as monitoring the communication bag that transmitting terminal is sent within the time of giving out a contract for a project in current monitoring period;
First determining module is configured as at the end of the current monitoring period, is determined whether the first snoop results meet and is held It is continuous to monitor trigger condition;
Second monitors module, be configured as first snoop results meet it is described persistently monitor trigger condition when, continue pair The communication bag given out a contract for a project in the time is monitored.
7. device according to claim 6, which is characterized in that it is described persistently monitor trigger condition include:
The communication bag is not received in the current monitoring period according to first snoop results determination;Alternatively,
Determine that the communication bag received in the current monitoring period is wrong wraps according to first snoop results.
8. device according to claim 6, which is characterized in that further include:
Second determining module is configured as continuing to be monitored the communication bag given out a contract for a project in the time to obtain the second monitoring knot After fruit, determine whether second snoop results meet monitoring termination condition;
Terminate module is configured as when second snoop results meet the monitoring termination condition, terminates to monitor described logical Letter packet.
9. device according to claim 8, which is characterized in that the monitoring termination condition includes:
Correct communication bag is received according to second snoop results determination;Alternatively,
That monitors the communication bag is more than or equal to described give out a contract for a project the time total time.
10. device according to claim 9, which is characterized in that further include:
Processing module is configured as after receiving the correct communication bag, if correctly the communication bag is data packet, The first response message is sent to the transmitting terminal, and after receiving the response feedback message that the transmitting terminal is sent, into not Dormancy state;
If the correct communication bag is empty packet, the second response message is sent to the transmitting terminal, and enter dormant state.
11. a kind of device for monitoring communication bag, which is characterized in that including:
Processor;
Memory for storing processor-executable instruction;
Wherein, the processor is configured as:
The communication bag that transmitting terminal is sent within the time of giving out a contract for a project is monitored in current monitoring period;
At the end of the current monitoring period, determine whether the first snoop results meet lasting monitoring trigger condition;
When first snoop results meet the persistently monitoring trigger condition, continue to the communication bag given out a contract for a project in the time It is monitored.
12. a kind of computer readable storage medium, is stored thereon with computer program instructions, which is characterized in that the program instruction The step of any one of Claims 1 to 5 the method is realized when being executed by processor.
CN201810108445.XA 2018-02-02 2018-02-02 Method, device and storage medium for monitoring communication packet Active CN108347718B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810108445.XA CN108347718B (en) 2018-02-02 2018-02-02 Method, device and storage medium for monitoring communication packet

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810108445.XA CN108347718B (en) 2018-02-02 2018-02-02 Method, device and storage medium for monitoring communication packet

Publications (2)

Publication Number Publication Date
CN108347718A true CN108347718A (en) 2018-07-31
CN108347718B CN108347718B (en) 2021-07-30

Family

ID=62959897

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810108445.XA Active CN108347718B (en) 2018-02-02 2018-02-02 Method, device and storage medium for monitoring communication packet

Country Status (1)

Country Link
CN (1) CN108347718B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109525466A (en) * 2019-01-03 2019-03-26 杭州云英网络科技有限公司 Back end monitor method and device
CN109716850A (en) * 2018-12-05 2019-05-03 北京小米移动软件有限公司 Down going channel monitor method, terminal and storage medium
WO2022032669A1 (en) * 2020-08-14 2022-02-17 华为技术有限公司 Data receiving method, apparatus, and terminal device

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1465170A (en) * 2001-05-29 2003-12-31 松下电器产业株式会社 Packet reception apparatus and packet reception method
JP2007235211A (en) * 2006-02-27 2007-09-13 Fujitsu Ltd Data transmitter-receiver, data transmission reception method, and data transmission reception program
EP2341687A1 (en) * 2009-12-30 2011-07-06 Research In Motion Limited Method and system for allowing varied functionality based on multiple transmissions
CN103597877A (en) * 2011-04-07 2014-02-19 诺基亚公司 Method and apparatus for accommodating discontinuous reception in a handover determination
US20140204815A1 (en) * 2013-01-23 2014-07-24 Seven Networks, Inc. Application or context aware fast dormancy
CN105050164A (en) * 2015-01-16 2015-11-11 中国矿业大学 Method for lowering wifi power consumption based on data importance
CN105120507A (en) * 2015-08-12 2015-12-02 深圳市江波龙科技有限公司 Data packet monitoring method and system

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1465170A (en) * 2001-05-29 2003-12-31 松下电器产业株式会社 Packet reception apparatus and packet reception method
JP2007235211A (en) * 2006-02-27 2007-09-13 Fujitsu Ltd Data transmitter-receiver, data transmission reception method, and data transmission reception program
EP2341687A1 (en) * 2009-12-30 2011-07-06 Research In Motion Limited Method and system for allowing varied functionality based on multiple transmissions
CN103597877A (en) * 2011-04-07 2014-02-19 诺基亚公司 Method and apparatus for accommodating discontinuous reception in a handover determination
US20140204815A1 (en) * 2013-01-23 2014-07-24 Seven Networks, Inc. Application or context aware fast dormancy
CN105050164A (en) * 2015-01-16 2015-11-11 中国矿业大学 Method for lowering wifi power consumption based on data importance
CN105120507A (en) * 2015-08-12 2015-12-02 深圳市江波龙科技有限公司 Data packet monitoring method and system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
宋永献: "无线传感器网络数据可靠传输关键技术研究", 《知网》 *

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109716850A (en) * 2018-12-05 2019-05-03 北京小米移动软件有限公司 Down going channel monitor method, terminal and storage medium
CN109716850B (en) * 2018-12-05 2022-09-02 北京小米移动软件有限公司 Downlink channel monitoring method, terminal and storage medium
CN109525466A (en) * 2019-01-03 2019-03-26 杭州云英网络科技有限公司 Back end monitor method and device
WO2022032669A1 (en) * 2020-08-14 2022-02-17 华为技术有限公司 Data receiving method, apparatus, and terminal device

Also Published As

Publication number Publication date
CN108347718B (en) 2021-07-30

Similar Documents

Publication Publication Date Title
US11844136B2 (en) Discontinuous reception (DRX) parameter configuration method and device
CN107223353B (en) For the method, apparatus of Request System message, user equipment and base station
CN108513737A (en) Information transferring method and information carrying means
CN110199550A (en) Terminal sleep state control method, device and computer readable storage medium
CN110622616B (en) Control method and device for inactivity timer
CN108401526A (en) Information configuring methods and device, the determination method and device of time-frequency location and base station
CN105162728B (en) Method for network access, equipment and system
CN108370544A (en) Implementation method, device, user equipment and the base station of discontinuous reception
US11382055B2 (en) Paging synchronization method and apparatus
CN105141506B (en) communication message processing method and device
CN108564947A (en) The method, apparatus and storage medium that far field voice wakes up
CN103927200B (en) Electronic equipment awakening method and relevant apparatus
WO2016155304A1 (en) Wireless access point control method and device
CN107919124A (en) Equipment awakening method and device
CN108347718A (en) Monitor the method, apparatus and storage medium of communication bag
CN108401525A (en) Power headroom reporting (PHR) transmission method and device
CN104168605A (en) Data transmission control method and apparatus
CN108112089A (en) Accidental access method, device and non-transitorycomputer readable storage medium
CN107223363A (en) The method and apparatus that a kind of allocation schedule asks SR resources
CN108702763A (en) The sending method and device of lead code and scheduling request
CN109565869A (en) Scheduling request sending method and device
CN108781377A (en) Timer control method and device, electronic equipment, computer readable storage medium
CN105450861B (en) Information cuing method and device
CN106231072B (en) Control method, device and the terminal device of prompting message
WO2019227318A1 (en) Physical downlink control channel monitoring configuration method and apparatus, physical downlink control channel monitoring method and apparatus, and base station

Legal Events

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