CN107179978A - A kind of method, terminal and computer-readable recording medium for sending daily record - Google Patents

A kind of method, terminal and computer-readable recording medium for sending daily record Download PDF

Info

Publication number
CN107179978A
CN107179978A CN201710438403.8A CN201710438403A CN107179978A CN 107179978 A CN107179978 A CN 107179978A CN 201710438403 A CN201710438403 A CN 201710438403A CN 107179978 A CN107179978 A CN 107179978A
Authority
CN
China
Prior art keywords
terminal
daily record
communication connection
wireless communication
application program
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.)
Withdrawn
Application number
CN201710438403.8A
Other languages
Chinese (zh)
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.)
Shenzhen Jinli Communication Equipment Co Ltd
Original Assignee
Shenzhen Jinli Communication Equipment 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 Shenzhen Jinli Communication Equipment Co Ltd filed Critical Shenzhen Jinli Communication Equipment Co Ltd
Priority to CN201710438403.8A priority Critical patent/CN107179978A/en
Publication of CN107179978A publication Critical patent/CN107179978A/en
Withdrawn legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3055Monitoring arrangements for monitoring the status of the computing system or of the computing system component, e.g. monitoring if the computing system is on, off, available, not available
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72454User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Environmental & Geological Engineering (AREA)
  • Human Computer Interaction (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computing Systems (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The embodiments of the invention provide a kind of method, terminal and computer-readable recording medium for sending daily record, this method includes:Receive the request for sending daily record;Detect the running status of terminal;If the running status of the terminal meets preparatory condition, the daily record is sent.The present invention first detects the running status of terminal when needing and sending daily record, the running status of terminal just sends daily record when meeting preparatory condition, the opportunity for being not suitable for sending daily record can be excluded, but one best opportunity of selection, so daily record is sent when the SOT state of termination is good, not excessive occupied terminal resource, is not impacted during user's using terminal to user.

Description

A kind of method, terminal and computer-readable recording medium for sending daily record
Technical field
The present invention relates to electronic technology field, more particularly to a kind of method for sending daily record, terminal and computer-readable deposit Storage media.
Background technology
The problem of software is using that can encounter various, crashes, reports an error, interim card etc., and it is soft that research staff is highly desirable to mobile phone These information of part feedback improve software, how effectively to collect these information and do not influence user use turn into one it is important The problem of.The daily record of current software upload is generally software, and upload or user trigger upload manually automatically, do not differentiate between scene, exist Consumption data traffic, power consumption, consumption account for CPU, so that the problems such as influenceing user's using terminal, poor user experience.
The content of the invention
The embodiment of the present invention provides a kind of method, terminal and computer-readable recording medium for sending daily record, can exclude Be not suitable for sending the opportunity of daily record, but select a best opportunity to be transmitted, so as to lift Consumer's Experience.
In a first aspect, the embodiments of the invention provide a kind of method for sending daily record, this method includes:
Receive the request for sending daily record;
Detect the running status of terminal;
If the running status of the terminal meets preparatory condition, the daily record is sent.
Second aspect, the embodiments of the invention provide a kind of terminal, the terminal includes:
Receiving unit, the request of daily record is sent for receiving;
First detection unit, the running status for detecting terminal;
Transmitting element, if the running status for the terminal meets preparatory condition, sends the daily record.
The third aspect, the embodiments of the invention provide a kind of terminal, including processor, input equipment, output equipment and is deposited Reservoir, the processor, input equipment, output equipment and memory are connected with each other, wherein, the memory, which is used to store, to be calculated Machine program, the computer program includes programmed instruction, and the processor is arranged to call described program to instruct, in execution State the method described in first aspect.
Fourth aspect, the embodiments of the invention provide a kind of computer-readable recording medium, the computer-readable storage Media storage has computer program, and the computer program includes programmed instruction, and described program is instructed when being executed by a processor Make the method described in the above-mentioned first aspect of the computing device.
Method, terminal and the computer-readable recording medium of the transmission daily record of the embodiment of the present invention are, it is necessary to send daily record When first detect the running status of terminal, the running status of terminal just sends daily record when meeting preparatory condition, can exclude discomfort Close the opportunity for sending daily record, but one best opportunity of selection, daily record so is sent when the SOT state of termination is good, is not taken excessively Terminal resource, is not impacted during user's using terminal to user, improves the experience sense of user.
Brief description of the drawings
Technical scheme, is used required in being described below to embodiment in order to illustrate the embodiments of the present invention more clearly Accompanying drawing is briefly described, it should be apparent that, drawings in the following description are some embodiments of the present invention, general for this area For logical technical staff, on the premise of not paying creative work, other accompanying drawings can also be obtained according to these accompanying drawings.
Fig. 1 is a kind of schematic flow diagram for the method for sending daily record provided in an embodiment of the present invention;
Fig. 2 is a kind of another schematic flow diagram for the method for sending daily record provided in an embodiment of the present invention;
Fig. 3 is a kind of another schematic flow diagram for the method for sending daily record provided in an embodiment of the present invention;
Fig. 4 is a kind of schematic block diagram of terminal provided in an embodiment of the present invention;
Fig. 5 is a kind of another schematic block diagram of terminal provided in an embodiment of the present invention;
Fig. 6 is a kind of another schematic block diagram of terminal provided in an embodiment of the present invention;
Fig. 7 is a kind of structure composition schematic block diagram of terminal provided in an embodiment of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete Site preparation is described, it is clear that described embodiment is a part of embodiment of the invention, rather than whole embodiments.Based on this hair Embodiment in bright, the every other implementation that those of ordinary skill in the art are obtained under the premise of creative work is not made Example, belongs to the scope of protection of the invention.
It should be appreciated that ought be in this specification and in the appended claims in use, term " comprising " and "comprising" be indicated Described feature, entirety, step, operation, the presence of element and/or component, but be not precluded from one or more of the other feature, it is whole Body, step, operation, element, component and/or its presence or addition for gathering.
It is also understood that the term used in this description of the invention is merely for the sake of the mesh for describing specific embodiment And be not intended to limit the present invention.As used in description of the invention and appended claims, unless on Other situations are hereafter clearly indicated, otherwise " one " of singulative, " one " and "the" are intended to include plural form.
As used in this specification and in the appended claims, term " if " can be according to context quilt Be construed to " when ... " or " once " or " in response to determining " or " in response to detecting ".Similarly, phrase " if it is determined that " or " if detecting [described condition or event] " can be interpreted to mean according to context " once it is determined that " or " in response to true It is fixed " or " once detecting [described condition or event] " or " in response to detecting [described condition or event] ".
It will also be understood that although term first, second etc. can be used for describing various elements herein, these elements should not This is limited to these terms.These terms are only used for these elements being distinguished from each other out.
Referring to Fig. 1, Fig. 1 is a kind of schematic flow diagram of method for sending daily record provided in an embodiment of the present invention, this method Comprise the following steps S101~S103:
S101, the request for receiving transmission daily record.
Many application programs are often had in terminal, daily record is often produced during the use of these application programs, These daily records are the important informations of the running generation of application program, and the people of research and development application program, which generally requires, collects these letters Breath, therefore need terminal to send (upload) these daily records to server when producing daily record, therefore the CPU of terminal is when daily record is produced The request for sending daily record can be received.
S102, the running status for detecting terminal.
If S103, the running status of the terminal meet preparatory condition, the daily record is sent.
After request is received, terminal checks the running status of itself, generally comprises charge condition, CPU usage amounts, network Whether situation etc., the state of comprehensive descision terminal is good, if running status meets preparatory condition, illustrates that the SOT state of termination is good, can To send daily record.The running status of terminal meet preparatory condition generally comprise terminal electricity it is sufficient, network is smooth, CPU is used Measure low situation.
The method provided in an embodiment of the present invention for sending daily record, first detects the operation of terminal when needing and sending daily record State, the running status of terminal just sends daily record when meeting preparatory condition, can exclude the opportunity for being not suitable for sending daily record, but A best opportunity is selected, daily record is so sent when the SOT state of termination is good, not excessive occupied terminal resource, user's using terminal When do not impacted to user.
Referring to Fig. 2, Fig. 2 is a kind of another schematic flow diagram of method for sending daily record provided in an embodiment of the present invention,
This method comprises the following steps S201~S206:
S201, the request for receiving transmission daily record.
S202, the wireless communication connection state and application program running state for detecting terminal.
If S203, the terminal are currently running without application program and have set up wireless communication connection, the daily record is sent.
It is currently running without application program, then terminal is without occupied bandwidth program behavior (including blank screen situation), then CPU is idle, Terminal freememory is big, is easy to send daily record, it is to avoid send daily record when user is using application program, occupy in terminal space Deposit, influence terminal operating, it is very big that internal memory is accounted for such as seeing video, object for appreciation game, download, and this is if sending day Will, one side transmission speed is slow, on the other hand, causes user to see video, play game interim card, cause speed of download slow etc..
Using cordless communication network, such as wifi, daily record, rather than data traffic are sent, it is to avoid waste the data of user Flow, causes damage to user.
If S204, the terminal are currently running without application program and do not set up wireless communication connection, detect that the terminal is No opening data traffic.
If S205, having opened data traffic, detect terminal flow surplus, next monthly closing entry day and the daily record take it is empty Between.
If S206, the flow surplus are more than or equal to the preset multiple of the daily record space-consuming, and current date It is more than or equal to preset time apart from next monthly closing entry day, then sends the daily record.
Further, the preset multiple is 5-50, and preset time is -5 days 1 day.
If terminal is currently running without application program, but does not set up wireless communication connection, now need by other communication hands Section sends daily record, such as data traffic, if now terminal opens data traffic, it is necessary to use feelings according to the data traffic of user Condition and the space-consuming of daily record decide whether to send daily record by data traffic, when the flow surplus is more than or equal to The preset multiple of the daily record space-consuming, and current date is apart from ability when next monthly closing entry day being more than or equal to preset time Send the daily record, it is to avoid waste the data traffic of user too much when data traffic is remaining also remote less or apart from monthly closing entry day.
For example, preset multiple elects 5 as, preset time is 1 day, data traffic residue 50M in set meal, monthly monthly closing entry day on the 1st, Today has been evening 20 March 31:00, daily record space-consuming is 10M, then sends.
The method of the transmission daily record of the embodiment of the present invention, runs according to the wireless communication connection state of terminal, application program State and data traffic service condition decide whether to send daily record, when being currently running without application program and set up radio communication Connection, sends the daily record, or send when being currently running without application program but the remaining situation of data traffic meets certain condition Daily record, can avoid influenceing the operation of terminal and the excessive data traffic for wasting user.
Referring to Fig. 3, Fig. 3 is a kind of another schematic flow diagram of method for sending daily record provided in an embodiment of the present invention, should Method comprises the following steps S301~S305:
S301, the request for receiving transmission daily record.
S302, wireless communication connection state, application program running state and the charged state for detecting terminal.
If S303, the terminal are currently running without application program, wireless communication connection are set up and has charged, sent The daily record.
It is currently running without application program, then CPU is idle, terminal freememory is big, is easy to send daily record;Channel radio is set up Letter connection, such as wifi, rather than data traffic, now send the data traffic that daily record avoids wasting user, are caused to user Loss;Terminal charges, now send daily record avoid because daily record internal memory is excessive but not enough power supply cause send daily record failure.
If S304, the terminal are currently running without application program, wireless communication connection has been set up, and terminal is not in charging, Detect the electricity of the terminal and the space-consuming of the daily record.
If S305, the space-consuming are more than or equal to Second Threshold, when the electricity is more than or equal to default electricity When send the daily record.
If terminal is not in charging, need to consider the charge condition of terminal and the space-consuming of daily record, in order to avoid not enough power supply To support to be successfully transmitted the excessive daily record of space-consuming.
In embodiments of the present invention, the Second Threshold is 100M, and the default electricity is the 50% of the maximum electricity of terminal.
In other embodiments, Second Threshold and default electricity can be other values, and this is not limited by the present invention.
Further, if the terminal is currently running without application program, wireless communication connection is not set up, and terminal is not being filled Electricity, then detect the space-consuming of electricity, flow surplus, next monthly closing entry day and the daily record of the terminal;If the flow Surplus is more than or equal to the preset multiple of the daily record space-consuming, and current date be more than apart from the next monthly closing entry day or It is less than Second Threshold equal to preset time, and the space-consuming, then sends the daily record;If or the flow surplus is big In or equal to the daily record space-consuming preset multiple, current date apart from the next monthly closing entry day be more than or equal to default when Between, the space-consuming is more than or equal to Second Threshold, and the electricity is more than or equal to default electricity, then sends the day Will.
The method of the transmission daily record of the embodiment of the present invention, runs according to the wireless communication connection state of terminal, application program State, data traffic service condition and terminal power decide whether to send daily record, and when being currently running without application program, electricity fills Foot or charge, radio communication is set up or sends daily record when data traffic is remaining all right, can avoid influenceing terminal Operation, situations such as excessively wasting the transmission of the data traffic and not enough power supply of user to support daily record.
As shown in figure 4, Fig. 4 is a kind of schematic block diagram of terminal 100 provided in an embodiment of the present invention, the terminal 100 is wrapped The mobile terminals such as mobile phone, iPad are included, the terminal 100 includes receiving unit 101, the first detection unit 102 and transmitting element 103.
Receiving unit 101 is used to receive the request for sending daily record.
Many application programs are often had in terminal 100, day is often produced during the use of these application programs Will, these daily records are the important informations of the running generation of application program, and the people of research and development application program, which generally requires, collects this A little information, therefore need terminal 100 to send (upload) these daily records to server when producing daily record, therefore the CPU of terminal 100 exists Daily record can receive the request for sending daily record when producing.
First detection unit 102, the running status for detecting terminal 100.
Transmitting element 103, if the running status for the terminal 100 meets preparatory condition, sends the daily record.
After receiving unit 101 receives request, the first detection unit 102 checks the running status of itself, generally comprises Whether charge condition, CPU usage amounts, network condition etc., the state of comprehensive descision terminal 100 are good, if running status meets pre- If condition, illustrate that terminal 100 is in good condition, daily record can be sent.The running status of terminal 100 meets preparatory condition and generally comprised The electricity of terminal 100 is sufficient, network is smooth, the low situation of CPU usage amounts.
Terminal provided in an embodiment of the present invention, can exclude the opportunity for being not suitable for sending daily record, but selection one is optimal On opportunity, daily record is so sent when the SOT state of termination is good, not excessive occupied terminal resource is not made during user's using terminal to user Into influence.
As shown in figure 5, Fig. 5 is a kind of schematic block diagram of terminal 200 provided in an embodiment of the present invention, the terminal 200 is wrapped Include receiving unit 201, the first detection unit 202, transmitting element 203, the second detection unit 204 and the 3rd detection unit 205.
Receiving unit 201 is used to receive the request for sending daily record.
First detection unit 202 is used for the wireless communication connection state and application program running state for detecting terminal 200.
If transmitting element 203 is currently running without application program for the terminal 200 and has set up wireless communication connection, hair Send the daily record.
It is currently running without application program, then terminal 200 is without occupied bandwidth program behavior (including blank screen situation), then CPU is empty Spare time, the freememory of terminal 200 is big, is easy to send daily record, it is to avoid send daily record when user is using application program, occupy terminal 200 space internal memories, influence terminal 200 is run;Using cordless communication network, such as wifi, daily record, rather than data flow are sent Amount, it is to avoid waste the data traffic of user, caused damage to user.
If the second detection unit 204 is currently running without application program for the terminal 200 and does not set up radio communication company Connect, detect whether the terminal 200 opens data traffic.
If the 3rd detection unit 205 is used to open data traffic, flow surplus, the next monthly closing entry of terminal 200 are detected Day and the daily record space-consuming.
The transmitting element 203 is additionally operable to:If the flow surplus is more than or equal to the pre- of the daily record space-consuming If multiple, and current date is more than or equal to preset time apart from next monthly closing entry day, sends the daily record.
If terminal 200 is currently running without application program, but does not set up wireless communication connection, other means of communication can be passed through Send daily record, such as data traffic, if now terminal 200 opens data traffic, according to the data traffic service condition of user Decide whether to send daily record with the space-consuming of daily record, when the flow surplus is more than or equal to the daily record space-consuming Preset multiple, and current date apart from the next monthly closing entry day be more than or equal to preset time when just send the daily record, keep away Exempt to waste the data traffic of user too much when data traffic is remaining also remote less or apart from monthly closing entry day.
The terminal of the embodiment of the present invention, according to wireless communication connection state, application program running state and the data of terminal Flow service condition decides whether to send daily record, when being currently running without application program and set up wireless communication connection, sent The daily record, or send daily record when being currently running without application program but the remaining situation of data traffic meets certain condition, can be with Avoid influenceing the operation of terminal and the excessive data traffic for wasting user.
As shown in fig. 6, Fig. 6 is a kind of schematic block diagram of terminal 300 provided in an embodiment of the present invention, the terminal 300 is wrapped Include receiving unit 301, the first detection unit 302, the detection unit 304 of transmitting element 303 and the 4th.
Receiving unit 301 is used to receive the request for sending daily record.
First detection unit 302 is used to detect the wireless communication connection state of terminal 300, application program running state and filled Electricity condition.
If transmitting element 303 is currently running for the terminal 300 without application program, set up wireless communication connection and Charge, send the daily record.
It is currently running without application program, then CPU is idle, the freememory of terminal 300 is big, is easy to send daily record;Nothing is set up Line is communicated to connect, such as wifi, rather than data traffic, the data traffic that daily record avoids wasting user is now sent, to user Cause damage;Terminal 300 charges, now send daily record avoid because daily record internal memory is excessive but not enough power supply cause send day Will fails.
4th detection unit 304 is used for:If the terminal 300 is currently running without application program, channel radio has been set up Letter connection, and terminal 300 detects the electricity of the terminal 300 and the space-consuming of the daily record not in charging.
The transmitting element 303 is additionally operable to:If the space-consuming is more than or equal to Second Threshold, when the electricity is big The daily record is sent when default electricity.
If terminal 300 is not in charging, need to consider the charge condition of terminal 300 and the space-consuming of daily record, Yi Mian electricity Amount is not enough to support to be successfully transmitted the excessive daily record of space-consuming.
Further, the terminal 300 can also include the 5th detection unit, if the 5th detection unit is for described Terminal 300 is currently running without application program, does not set up wireless communication connection, and terminal 300 then detects the terminal not in charging 300 electricity, flow surplus, next monthly closing entry day and the space-consuming of the daily record.
Further, the transmitting element 303 can be also used for:
If the flow surplus is more than or equal to the preset multiple of the daily record space-consuming, and current date is apart from institute State next monthly closing entry day and be more than or equal to preset time, and the space-consuming is less than Second Threshold, then sends the daily record;Or If the flow surplus is more than or equal to the preset multiple of the daily record space-consuming, current date is apart from next monthly closing entry It is more than or equal to preset time day, the space-consuming is more than or equal to Second Threshold, and the electricity is more than or equal to default Electricity, then send the daily record.
The terminal of the embodiment of the present invention, is used according to wireless communication connection state, application program running state, data traffic Situation and terminal power decide whether to send daily record, and when being currently running without application program, electricity is sufficient or is charging, wirelessly Daily record is sent when connection setup or remaining all right data traffic, it is to avoid the operation of influence terminal, the excessive number for wasting user According to flow and not enough power supply situations such as transmission to support daily record.
Referring to Fig. 7, Fig. 7 is a kind of structure composition schematic block diagram of terminal 400 provided in an embodiment of the present invention.The end End 400 can include input equipment 401, include the memory 402, defeated of one or more computer-readable recording mediums Go out equipment 403, transceiver 404 and include the part such as one or the processor 405 of more than one processing core.This Art personnel are appreciated that the restriction of the structure of terminal 400 shown in Fig. 7 not structure paired terminal 400, can include than More or less parts are illustrated, some parts or different parts arrangement is either combined.
Input equipment 401 can be used for the numeral or character information for receiving input, and produce the key relevant with function control Disk, mouse, action bars, optics or the input of trace ball signal.Specifically, in a specific embodiment, input equipment 401 It may include touch sensitive surface and other input units.Touch sensitive surface, also referred to as touch display screen or Trackpad, collect user (such as user is using any suitable objects such as finger, stylus or annex in touch sensitive surface for touch operation on or near it The upper or operation near touch sensitive surface), and corresponding attachment means are driven according to formula set in advance.Optionally, it is touch-sensitive Surface may include both touch detecting apparatus and touch controller.Wherein, touch detecting apparatus detects the touch side of user Position, and the signal that touch operation is brought is detected, transmit a signal to touch controller;Touch controller is from touch detecting apparatus Touch information is received, and is converted into contact coordinate, then gives processor 405, and the order that energy reception processing device 405 is sent And performed.Furthermore, it is possible to realize touch-sensitive table using polytypes such as resistance-type, condenser type, infrared ray and surface acoustic waves Face.Except touch sensitive surface, input equipment 401 can also include other input units.
Memory 402 can be used for storage application program and data.Include and can hold in the application program that memory 402 is stored Line code.Application program can constitute various functions module.Processor 405 is stored in the application journey of memory 402 by operation Sequence, so as to perform various function application and data processing.Memory 402 can mainly include storing program area and data storage Area, wherein, application program that storing program area can be needed for storage program area, at least one function (such as sound-playing function, Image player function etc.) etc.;Storage data field can store according to terminal 400 use created data (such as voice data, Phone directory etc.) etc..In addition, memory 402 can include high-speed random access memory, non-volatile memories can also be included Device, for example, at least one disk memory, flush memory device or other volatile solid-state parts.Correspondingly, memory 402 can also include Memory Controller, to provide access of the processor 405 to memory 402.
Output equipment 403 is used for the output data of external output terminal 400, it may include display, loudspeaker etc..Further , the display panel of display can cover touch sensitive surface, after touch sensitive surface detects the touch operation on or near it, pass Processor 405 is given to determine the type of touch event, with preprocessor 405 according to the type of touch event on a display panel Corresponding visual output is provided.
Transceiver 404, for sending data to other equipment or receiving data from other equipment.In general, receiving Hair equipment 404 may include bluetooth, radio-frequency antenna, near-field communication module etc..
Processor 405 is the control centre of terminal 400, utilizes each of various interfaces and the whole terminal 400 of connection Part, the application program in memory 402 is stored in by operation or execution, and call the number being stored in memory 402 According to the various functions and processing data of execution terminal 400, so as to carry out integral monitoring to terminal 400.Optionally, processor 405 It may include one or more processing cores;It is preferred that, processor 405 can integrated application processor and modem processor, its In, application processor mainly handles operating system, user interface and application program etc., and modem processor is mainly handled wirelessly Communication.It is understood that above-mentioned modem processor can not also be integrated into processor 405.
Although not shown in Fig. 7, it will be understood to those skilled in the art that terminal 400 can also include camera, indigo plant Tooth, Wireless Fidelity etc., will not be repeated here.
Specifically in the present embodiment, the processor 405 of terminal 400 can be according to following instruction, by one or more Application program the corresponding executable code of process or data be loaded into memory 402, run by processor 405 or grasped The program code or data being stored in memory 402, and perform following operation:Receive the request for sending daily record;Detection is eventually The running status at end;If the running status of the terminal meets preparatory condition, the daily record is sent.
Further, the processor 405 also performs following operation:
Receive the request for sending daily record;Detect the line communication connection status and application program running state of terminal;If described Terminal is currently running without application program and has set up wireless communication connection, sends the daily record;If the terminal is without application program It is currently running and does not set up wireless communication connection, detects whether the terminal opens data traffic;If having opened data traffic, inspection Survey the flow surplus, next monthly closing entry day and the daily record space-consuming of terminal;If the flow surplus is more than or equal to institute The preset multiple of daily record space-consuming is stated, and current date is more than or equal to preset time apart from next monthly closing entry day, then sends out Send the daily record.
Further, the processor 405 also performs following operation:
Receive the request for sending daily record;Detect wireless communication connection state, application program running state and the charging of terminal State;If the terminal is currently running without application program, sets up wireless communication connection and charged, send the day Will;If the terminal is currently running without application program, wireless communication connection has been set up, and terminal detects the end not in charging The electricity at end and the space-consuming of the daily record;If the space-consuming is more than or equal to Second Threshold, when the electricity is big The daily record is sent when default electricity.
The embodiment of the present invention additionally provides a kind of computer-readable recording medium, and the computer-readable recording medium storage has Computer program, the computer program includes programmed instruction, and described program instruction makes the processing when being executed by a processor Device performs the method described in above method embodiment.
Those of ordinary skill in the art are it is to be appreciated that the list of each example described with reference to the embodiments described herein Member and algorithm steps, can be realized with electronic hardware, computer software or the combination of the two, in order to clearly demonstrate hardware With the interchangeability of software, the composition and step of each example are generally described according to function in the above description.This A little functions are performed with hardware or software mode actually, depending on the application-specific and design constraint of technical scheme.Specially Industry technical staff can realize described function to each specific application using distinct methods, but this realization is not It is considered as beyond the scope of this invention.
It is apparent to those skilled in the art that, for convenience of description and succinctly, the end of foregoing description End and the specific work process of unit, may be referred to the corresponding process in preceding method embodiment, will not be repeated here.
, can be by it in several embodiments provided herein, it should be understood that disclosed terminal and method Its mode is realized.For example, device embodiment described above is only schematical, for example, the division of the unit, only Only a kind of division of logic function, can there is other dividing mode when actually realizing, such as multiple units or component can be tied Another system is closed or is desirably integrated into, or some features can be ignored, or do not perform.In addition, shown or discussed phase Coupling or direct-coupling or communication connection between mutually can be INDIRECT COUPLING or the communication by some interfaces, device or unit Connection or electricity, mechanical or other forms are connected.
Step in present invention method can be sequentially adjusted, merged and deleted according to actual needs.
Unit in terminal of the embodiment of the present invention can be combined, divided and deleted according to actual needs.
The unit illustrated as separating component can be or may not be it is physically separate, it is aobvious as unit The part shown can be or may not be physical location, you can with positioned at a place, or can also be distributed to multiple On NE.Some or all of unit therein can be selected to realize scheme of the embodiment of the present invention according to the actual needs Purpose.
In addition, each functional unit in each embodiment of the invention can be integrated in a processing unit, can also It is that unit is individually physically present or two or more units are integrated in a unit.It is above-mentioned integrated Unit can both be realized in the form of hardware, it would however also be possible to employ the form of SFU software functional unit is realized.
If the integrated unit is realized using in the form of SFU software functional unit and as independent production marketing or used When, it can be stored in a computer read/write memory medium.Understood based on such, technical scheme is substantially The part contributed in other words to prior art, or all or part of the technical scheme can be in the form of software product Embody, the computer software product is stored in a storage medium, including some instructions are to cause a computer Equipment (can be personal computer, server, or network equipment etc.) performs the complete of each embodiment methods described of the invention Portion or part steps.And foregoing storage medium includes:USB flash disk, mobile hard disk, read-only storage (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disc or CD etc. are various can store journey The medium of sequence code.
The foregoing is only a specific embodiment of the invention, but protection scope of the present invention is not limited thereto, any Those familiar with the art the invention discloses technical scope in, various equivalent modifications can be readily occurred in or replaced Change, these modifications or substitutions should be all included within the scope of the present invention.Therefore, protection scope of the present invention should be with right It is required that protection domain be defined.

Claims (12)

1. a kind of method for sending daily record, it is characterised in that including:
Receive the request for sending daily record;
Detect the running status of terminal;
If the running status of the terminal meets preparatory condition, the daily record is sent.
2. according to the method described in claim 1, it is characterised in that the running status includes wireless communication connection state and should Use running state of programs;
If the running status of the terminal meets preparatory condition, the daily record is sent, including:
If the terminal is currently running without application program and has set up wireless communication connection, the daily record is sent.
3. method according to claim 2, it is characterised in that if the running status of the terminal meets default bar Part, sends the daily record, in addition to:
If the terminal is currently running without application program and does not set up wireless communication connection, detect whether the terminal opens data Flow;
If having opened data traffic, the flow surplus, next monthly closing entry day and the daily record space-consuming of terminal are detected;
If the flow surplus is more than or equal to the preset multiple of the daily record space-consuming, and current date is under described One monthly closing entry day is more than or equal to preset time, then sends the daily record.
4. according to the method described in claim 1, it is characterised in that the running status includes wireless communication connection state, answered With running state of programs and charged state;
If the running status of the terminal meets preparatory condition, the daily record is sent, including:
If the terminal is currently running without application program, sets up wireless communication connection and charged, send the daily record.
5. method according to claim 4, it is characterised in that if the running status of the terminal meets default bar Part, sends the daily record, in addition to:
If the terminal is currently running without application program, wireless communication connection has been set up, and terminal detects the end not in charging The electricity at end and the space-consuming of the daily record;
If the space-consuming is more than or equal to Second Threshold, send described when the electricity is more than or equal to default electricity Daily record.
6. a kind of terminal, it is characterised in that including:
Receiving unit, the request of daily record is sent for receiving;
First detection unit, the running status for detecting terminal;
Transmitting element, if the running status for the terminal meets preparatory condition, sends the daily record.
7. terminal according to claim 6, it is characterised in that the running status includes wireless communication connection state and should Use running state of programs;
The transmitting element specifically for:If the terminal is currently running without application program and has set up wireless communication connection, hair Send the daily record.
8. terminal according to claim 7, it is characterised in that also including the second detection unit and the 3rd detection unit;
Second detection unit is used for:If the terminal is currently running without application program and does not set up wireless communication connection, inspection Survey whether the terminal opens data traffic;
3rd detection unit is used for:If having opened data traffic, the flow surplus, next monthly closing entry day and institute of terminal are detected State daily record space-consuming;
The transmitting element is additionally operable to:If the flow surplus is more than or equal to the preset multiple of the daily record space-consuming, And current date is more than or equal to preset time apart from next monthly closing entry day, sends the daily record.
9. terminal according to claim 6, it is characterised in that the running status includes wireless communication connection state, answered With running state of programs and charged state;
The transmitting element specifically for:If the terminal is currently running without application program, set up wireless communication connection and Charge, send the daily record.
10. terminal according to claim 9, it is characterised in that also including the 4th detection unit;
4th detection unit is used for:If the terminal is currently running without application program, wireless communication connection has been set up, and eventually In charging, the electricity of the terminal and the space-consuming of the daily record are not detected in end;
The transmitting element is additionally operable to:If the space-consuming is more than or equal to Second Threshold, when the electricity is more than or waits The daily record is sent when default electricity.
It is the processor, defeated 11. a kind of terminal, it is characterised in that including processor, input equipment, output equipment and memory Enter equipment, output equipment and memory to be connected with each other, wherein, the memory is used to store computer program, the computer Program includes programmed instruction, and the processor is arranged to call described program to instruct, and performs such as any one of claim 1-5 Described method.
12. a kind of computer-readable recording medium, it is characterised in that the computer-readable recording medium storage has computer journey Sequence, the computer program includes programmed instruction, and described program instruction makes the computing device such as when being executed by a processor Method described in claim any one of 1-5.
CN201710438403.8A 2017-06-12 2017-06-12 A kind of method, terminal and computer-readable recording medium for sending daily record Withdrawn CN107179978A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710438403.8A CN107179978A (en) 2017-06-12 2017-06-12 A kind of method, terminal and computer-readable recording medium for sending daily record

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710438403.8A CN107179978A (en) 2017-06-12 2017-06-12 A kind of method, terminal and computer-readable recording medium for sending daily record

Publications (1)

Publication Number Publication Date
CN107179978A true CN107179978A (en) 2017-09-19

Family

ID=59836941

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710438403.8A Withdrawn CN107179978A (en) 2017-06-12 2017-06-12 A kind of method, terminal and computer-readable recording medium for sending daily record

Country Status (1)

Country Link
CN (1) CN107179978A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107832191A (en) * 2017-10-31 2018-03-23 努比亚技术有限公司 Blank screen detection method, mobile terminal and computer-readable recording medium
CN108011745A (en) * 2017-09-30 2018-05-08 北京车和家信息技术有限公司 The transmission method and device of data
CN108512937A (en) * 2018-04-17 2018-09-07 银川华联达科技有限公司 A kind of computer data shared system based on mobile network
CN108616653A (en) * 2018-03-30 2018-10-02 广东欧珀移动通信有限公司 Information processing method, device, mobile terminal and computer readable storage medium
CN110046080A (en) * 2018-11-26 2019-07-23 香港乐蜜有限公司 A kind of method, apparatus that transferring journal file, electronic equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101009583A (en) * 2006-01-24 2007-08-01 华为技术有限公司 Execution method of the scheduled task and execution task of management task, and its terminal device
CN101119414A (en) * 2007-09-19 2008-02-06 华为技术有限公司 Method and system to access database
CN103986784A (en) * 2014-05-30 2014-08-13 小米科技有限责任公司 Communication method and device
CN105119752A (en) * 2015-09-08 2015-12-02 北京京东尚科信息技术有限公司 Distributed log acquisition method, device and system
CN106789153A (en) * 2016-11-09 2017-05-31 苏州数言信息技术有限公司 The log recording of self adaptation by all kinds of means of Internet of things system terminal device, output intent and system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101009583A (en) * 2006-01-24 2007-08-01 华为技术有限公司 Execution method of the scheduled task and execution task of management task, and its terminal device
CN101119414A (en) * 2007-09-19 2008-02-06 华为技术有限公司 Method and system to access database
CN103986784A (en) * 2014-05-30 2014-08-13 小米科技有限责任公司 Communication method and device
CN105119752A (en) * 2015-09-08 2015-12-02 北京京东尚科信息技术有限公司 Distributed log acquisition method, device and system
CN106789153A (en) * 2016-11-09 2017-05-31 苏州数言信息技术有限公司 The log recording of self adaptation by all kinds of means of Internet of things system terminal device, output intent and system

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108011745A (en) * 2017-09-30 2018-05-08 北京车和家信息技术有限公司 The transmission method and device of data
CN107832191A (en) * 2017-10-31 2018-03-23 努比亚技术有限公司 Blank screen detection method, mobile terminal and computer-readable recording medium
CN107832191B (en) * 2017-10-31 2021-04-23 努比亚技术有限公司 Black screen detection method, mobile terminal and computer readable storage medium
CN108616653A (en) * 2018-03-30 2018-10-02 广东欧珀移动通信有限公司 Information processing method, device, mobile terminal and computer readable storage medium
CN108512937A (en) * 2018-04-17 2018-09-07 银川华联达科技有限公司 A kind of computer data shared system based on mobile network
CN108512937B (en) * 2018-04-17 2020-10-30 银川华联达科技有限公司 Computer data sharing system based on mobile network
CN110046080A (en) * 2018-11-26 2019-07-23 香港乐蜜有限公司 A kind of method, apparatus that transferring journal file, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
CN107179978A (en) A kind of method, terminal and computer-readable recording medium for sending daily record
CN104679336B (en) Adjust the method and device of touch-screen parameter
CN106453511B (en) A kind of data back up method and equipment
CN107528922A (en) A kind of information push method, terminal and computer-readable recording medium
CN106776036A (en) A kind of resource allocation methods and device
CN108990110A (en) Network flux management method, device, storage medium and terminal
CN109614176A (en) A kind of application interface layout method, terminal and computer readable storage medium
CN107967322A (en) Document classification display methods, mobile terminal and computer-readable recording medium
CN107634962A (en) The management method and Related product of network bandwidth
CN102375918A (en) Interaction virtual role system between facilities
CN106775809A (en) A kind of method of mobile terminal internal memory cleaning, device and mobile terminal
CN103399657B (en) The control method of mouse pointer, device and terminal unit
CN107678989A (en) UART and USB multiplex circuits and mobile terminal
CN109224436A (en) Virtual key based on interface defines method, terminal and storage medium
CN107656774A (en) Adaptive regulation method, device, terminal device and the storage medium of systematic parameter
CN108073458A (en) Method for recovering internal storage, mobile terminal and computer readable storage medium
CN109976611A (en) The control method and terminal device of terminal device
CN109933253A (en) Method for controlling application starting, terminal and computer readable storage medium
CN106569913A (en) Method and device for backing up data by terminal
CN107834640A (en) A kind of charging method and terminal
CN105739839B (en) The selection method and device of multimedia menu item
CN107180004A (en) It is a kind of at the same realize OTG communication and charging method and terminal
CN112311029B (en) Charging method, electronic device and storage medium
CN108170559A (en) A kind of data back up method and terminal
WO2021244613A1 (en) Charging management method, electronic device and system

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
WW01 Invention patent application withdrawn after publication

Application publication date: 20170919

WW01 Invention patent application withdrawn after publication