CN109508274A - Using operation total duration statistical method, terminal and computer readable storage medium - Google Patents

Using operation total duration statistical method, terminal and computer readable storage medium Download PDF

Info

Publication number
CN109508274A
CN109508274A CN201811150738.0A CN201811150738A CN109508274A CN 109508274 A CN109508274 A CN 109508274A CN 201811150738 A CN201811150738 A CN 201811150738A CN 109508274 A CN109508274 A CN 109508274A
Authority
CN
China
Prior art keywords
total duration
application
database
application operation
statistical method
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.)
Pending
Application number
CN201811150738.0A
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.)
Nubia Technology Co Ltd
Original Assignee
Nubia Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nubia Technology Co Ltd filed Critical Nubia Technology Co Ltd
Priority to CN201811150738.0A priority Critical patent/CN109508274A/en
Publication of CN109508274A publication Critical patent/CN109508274A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3003Monitoring arrangements specially adapted to the computing system or computing system component being monitored
    • G06F11/302Monitoring arrangements specially adapted to the computing system or computing system component being monitored where the computing system component is a software system
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3051Monitoring arrangements for monitoring the configuration of the computing system or of the computing system component, e.g. monitoring the presence of processing resources, peripherals, I/O links, software programs

Abstract

The invention discloses a kind of application operation total duration statistical method, terminal and computer readable storage mediums, application operation total duration statistical method therein passes through when receiving using open command, it opens and applies total duration statistical fractals, wherein the identification information of application, operation duration and date on the same day are written into database using total duration statistical fractals for this, and count the total duration of the application operation of the variant type stored since the database same day zero point.It solves and the total duration of same type of application operation is not counted in the prior art, cause the problem of user experience difference.The invention also discloses a kind of terminal and computer readable storage mediums to realize the statistics of the total duration for same type of application operation, substantially increase the experience satisfaction of user by implementing above scheme.

Description

Using operation total duration statistical method, terminal and computer readable storage medium
Technical field
The present invention relates to application management technical field, more specifically to a kind of application operation total duration statistical method, Terminal and computer readable storage medium.
Background technique
With the depth development of internet, more and more industries are added in internet tide, produce countless be based on The application of internet provides the recreation based on text, picture, video, game, big data service etc..People thus Requirement to terminal capabilities is also being continuously improved, although the configuration and software optimization of terminal have evolved to good rank now Section, but with application gusher as develop, terminal installation application type and quantity it is also more and more, usually it is seen that, User uses various types of application, does not often know that oneself uses the total duration of same type of application, for example, to answer For being game with type, user may use multiple and different game applications in one day, but user can not but learn Oneself uses the total duration of this kind of application of game in this day, causes user is excessive due to not knowing to answer using game class With other on the day of influencing user arrange, and reduce the experience satisfaction of user.
Summary of the invention
The technical problem to be solved in the present invention is that: in the prior art not to the total duration of same type of application operation It is counted, causes the problem of user experience difference.For the technical problem, a kind of application operation total duration statistics side is provided Method, terminal and computer readable storage medium.
In order to solve the above technical problems, the present invention provides a kind of application operation total duration statistical method, the application operation Total duration statistical method includes:
Judge whether to receive using open command;
Total duration statistical fractals are applied if so, opening;
It is described using total duration statistical fractals by the identification information of the application, operation duration and date on the same day be written to In database, and count the variant type stored in the database since same day zero point application operation it is total when It is long.
Optionally, the application includes game class application, video playback class application, reading class is applied, instant messaging class is answered At least one of with.
Optionally, the application operation for counting the variant type stored since the database same day zero point Total duration after, further includes:
Whether the total duration for judging the application operation of the variant type is more than default total duration;
If so, issuing the user with prompt information to inform user's reasonable arrangement using the time.
Optionally, whether the total duration of the application operation for judging the variant type is more than default total duration, packet It includes:
Whether the total duration for successively judging the application operation of variant type is more than corresponding default total duration.
Optionally, the application operation for counting the variant type stored since the database same day zero point Total duration after, further includes:
It calculates since the operation duration difference respectively applied in the database same day zero point in same type application Account for the ratio of the total duration of the same type application operation.
Optionally, described that the identification information of the application, operation duration and date on the same day are written into database, packet It includes:
It is described by the identification information of the application, operation duration and to work as using total duration statistical fractals every preset duration Its date is written into database, prevents loss of data with real-time update database.
Optionally, the application runs total duration statistical method, further includes:
The total duration of the application operation of the variant type in the database is added according to preset chronomere To the operation total duration of all application types;
Based on the operation total duration of obtained all application types, the variant class is counted according to preset chronomere The total duration of the application operation of type accounts for the ratio of the operation total duration of all application types respectively.
Optionally, the preset chronomere includes daily, weekly, monthly, quarterly, at least one of every year.
Further, the present invention also provides a kind of terminal, the terminal includes processor, memory and communication bus;
The communication bus is for realizing the connection communication between the processor and memory;
The processor is for executing one or more program stored in the memory, to realize above-mentioned application fortune The step of row total duration statistical method.
Further, the present invention also provides a kind of computer readable storage medium, the computer readable storage mediums It is stored with one or more program, one or more of programs can be executed by one or more processor, to realize Such as the step of any of the above-described application operation total duration statistical method.
Beneficial effect
The present invention provides a kind of application operation total duration statistical method, terminal and computer readable storage medium, wherein Using operation total duration statistical method by judging whether to receive using open command, if receiving using open command, Open apply total duration statistical fractals, and then this using total duration statistical fractals by the identification information of application, operation duration and Date on the same day is written into database, and counts the application of the variant type stored since the database same day zero point The total duration of operation.It solves and the total duration of same type of application operation is not counted in the prior art, cause to use The problem of family Experience Degree difference.It namely in the present invention, will by application total duration statistical fractals when receiving using open command Identification information, operation duration and the date on the same day of currently open application are written into database, and on the day of real-time statistics The total duration of the application operation of variant type can more be clearly understood that the application operation of variant type for users Total duration, it is therefore prevented that because do not know about same type application use total duration, lead to excessive use, and influence user other The generation of the phenomenon that arrangement greatly improves the experience satisfaction of user.
Detailed description of the invention
Present invention will be further explained below with reference to the attached drawings and examples, in attached drawing:
The hardware structural diagram of Fig. 1 each embodiment one optional terminal to realize the present invention;
Fig. 2 is the wireless communication system schematic diagram of mobile terminal as shown in Figure 1;
Fig. 3 is the basic flow chart that a kind of application that first embodiment of the invention provides runs total duration statistical method;
Fig. 4 is whether a kind of total duration for application operation for judging variant type that first embodiment of the invention provides surpasses Cross the basic procedure schematic diagram of default total duration;
Fig. 5 is the feasible interface schematic diagram that default total duration is arranged of one kind that first embodiment of the invention provides;
Fig. 6 is the feasible interface schematic diagram for issuing prompt information of one kind that first embodiment of the invention provides;
Fig. 7 is a kind of application that variant type is counted according to preset chronomere that first embodiment of the invention provides The total duration of operation accounts for the basic procedure schematic diagram of the operation total duration ratio of all application types respectively;
Fig. 8 is the basic procedure for the specific application operation total duration statistical method of one kind that second embodiment of the invention provides Figure;
Fig. 9 is the structural schematic diagram for the terminal that third embodiment of the invention provides.
Specific embodiment
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
In subsequent description, it is only using the suffix for indicating such as " module ", " component " or " unit " of element Be conducive to explanation of the invention, itself there is no a specific meaning.Therefore, " module ", " component " or " unit " can mix Ground uses.
Terminal can be implemented in a variety of manners.For example, terminal described in the present invention may include such as mobile phone, plate Computer, laptop, palm PC, personal digital assistant (Personal Digital Assistant, PDA), portable Media player (Portable Media Player, PMP), navigation device, wearable device, Intelligent bracelet, pedometer etc. move The fixed terminals such as dynamic terminal, and number TV, desktop computer.
It will be illustrated by taking mobile terminal as an example in subsequent descriptions, it will be appreciated by those skilled in the art that in addition to special Except element for moving purpose, the construction of embodiment according to the present invention can also apply to the terminal of fixed type.
Referring to Fig. 1, a kind of hardware structural diagram of its mobile terminal of each embodiment to realize the present invention, the shifting Dynamic terminal 100 may include: RF (Radio Frequency, radio frequency) unit 101, WiFi module 102, audio output unit 103, A/V (audio/video) input unit 104, sensor 105, display unit 106, user input unit 107, interface unit 108, the components such as memory 109, processor 110 and power supply 111.It will be understood by those skilled in the art that shown in Fig. 1 Mobile terminal structure does not constitute the restriction to mobile terminal, and mobile terminal may include components more more or fewer than diagram, Perhaps certain components or different component layouts are combined.
It is specifically introduced below with reference to all parts of the Fig. 1 to mobile terminal:
Radio frequency unit 101 can be used for receiving and sending messages or communication process in, signal sends and receivees, specifically, radio frequency list Uplink information can be sent to base station by member 101, after the downlink information that in addition can also be sent base station receives, be sent to movement The processor 110 of terminal is handled, and base station can be to the downlink information that radio frequency unit 101 is sent and be sent according to radio frequency unit 101 Uplink information generate, be also possible to after the information update for detecting mobile terminal actively to push to radio frequency unit 101, For example, base station can be to the radio frequency unit 101 of mobile terminal after detecting that geographical location locating for mobile terminal changes The message informing of geographical location variation is sent, radio frequency unit 101 can send out the message informing after receiving the message informing The processor 110 for giving mobile terminal is handled, and the processor 110 of mobile terminal can control the message informing and be shown in movement eventually On the display panel 1061 at end;In general, radio frequency unit 101 include but is not limited to antenna, at least one amplifier, transceiver, Coupler, low-noise amplifier, duplexer etc..In addition, radio frequency unit 101 can also by wireless communication with network and other set Standby communication, specifically may include: by wireless communication with the server communication in network system, for example, mobile terminal can be with File resource is downloaded from server by wireless communication, for example application program can be downloaded from server, in mobile terminal After the downloading of a certain application program is completed, if the corresponding file resource of the application program updates in server, the server It can be by wireless communication to the message informing of mobile terminal push resource updates, to remind user to carry out more the application program Newly.Any communication standard or agreement, including but not limited to GSM (Global System of can be used in above-mentioned wireless communication Mobile communication, global system for mobile communications), GPRS (General Packet Radio Service, it is general Be grouped wireless service), CDMA2000 (Code Division Multiple Access 2000, CDMA 2000), WCDMA (Wideband Code Division Multiple Access, wideband code division multiple access), TD-SCDMA (Time Division- Synchronous Code Division Multiple Access, TD SDMA), FDD-LTE (Frequency Division Duplexing-Long Term Evolution, frequency division duplex long term evolution) and TDD-LTE (Time Division Duplexing-Long Term Evolution, time division duplex long term evolution) etc..
WiFi belongs to short range wireless transmission technology, and mobile terminal can help user to receive and dispatch electricity by WiFi module 102 Sub- mail, browsing webpage and access streaming video etc., it provides wireless broadband internet access for user.Although Fig. 1 shows Go out WiFi module 102, but it is understood that, and it is not belonging to must be configured into for mobile terminal, it completely can be according to need It to omit within the scope of not changing the essence of the invention.
Audio output unit 103 can be in call signal reception pattern, call mode, record mould in mobile terminal 100 When under the isotypes such as formula, speech recognition mode, broadcast reception mode, by radio frequency unit 101 or WiFi module 102 it is received or The audio data stored in memory 109 is converted into audio signal and exports to be sound.Moreover, audio output unit 103 Audio output relevant to the specific function that mobile terminal 100 executes can also be provided (for example, call signal receives sound, disappears Breath receives sound etc.).Audio output unit 103 may include loudspeaker, buzzer etc..
A/V input unit 104 is for receiving audio or video signal.A/V input unit 104 may include graphics processor (Graphics Processing Unit, GPU) 1041 and microphone 1042, graphics processor 1041 is in video acquisition mode Or the image data of the static images or video obtained in image capture mode by image capture apparatus (such as camera) carries out Reason.Treated, and picture frame may be displayed on display unit 106.Through graphics processor 1041, treated that picture frame can be deposited Storage is sent in memory 109 (or other storage mediums) or via radio frequency unit 101 or WiFi module 102.Mike Wind 1042 can connect in telephone calling model, logging mode, speech recognition mode etc. operational mode via microphone 1042 Quiet down sound (audio data), and can be audio data by such acoustic processing.Audio that treated (voice) data can To be converted to the format output that can be sent to mobile communication base station via radio frequency unit 101 in the case where telephone calling model. Microphone 1042 can be implemented various types of noises elimination (or inhibition) algorithms and send and receive sound to eliminate (or inhibition) The noise generated during frequency signal or interference.
Mobile terminal 100 further includes at least one sensor 105, such as optical sensor, motion sensor and other biographies Sensor.Specifically, optical sensor includes ambient light sensor and proximity sensor, wherein ambient light sensor can be according to environment The light and shade of light adjusts the brightness of display panel 1061, and proximity sensor can close when mobile terminal 100 is moved in one's ear Display panel 1061 and/or backlight.As a kind of motion sensor, accelerometer sensor can detect in all directions (general For three axis) size of acceleration, it can detect that size and the direction of gravity when static, can be used to identify the application of mobile phone posture (such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, percussion) etc.; The fingerprint sensor that can also configure as mobile phone, pressure sensor, iris sensor, molecule sensor, gyroscope, barometer, The other sensors such as hygrometer, thermometer, infrared sensor, details are not described herein.
Display unit 106 is for showing information input by user or being supplied to the information of user.Display unit 106 can wrap Display panel 1061 is included, specifically, active matrix organic light-emitting diode (Active Matrix/Organic can be used Light-Emitting Diode, AMOLED), the shapes such as passive organic electric exciting light-emitting diode (Passive matrix OLED) Formula configures display panel 1061.
User input unit 107 can be used for receiving the number or character information of input, and generate the use with mobile terminal Family setting and the related key signals input of function control.Specifically, user input unit 107 may include touch panel 1071 with And other input equipments 1072.Touch panel 1071, also referred to as touch screen collect the touch operation of user on it or nearby (for example user uses any suitable objects or attachment such as finger, stylus on touch panel 1071 or in touch panel 1071 Neighbouring operation), and corresponding attachment device is driven according to preset formula.Touch panel 1071 may include touch detection Two parts of device and touch controller.Wherein, the touch orientation of touch detecting apparatus detection user, and detect touch operation band The signal come, transmits a signal to touch controller;Touch controller receives touch information from touch detecting apparatus, and by it It is converted into contact coordinate, then gives processor 110, and order that processor 110 is sent can be received and executed.In addition, can To realize touch panel 1071 using multiple types such as resistance-type, condenser type, infrared ray and surface acoustic waves.In addition to touch panel 1071, user input unit 107 can also include other input equipments 1072.Specifically, other input equipments 1072 can wrap It includes but is not limited in physical keyboard, function key (such as volume control button, switch key etc.), trace ball, mouse, operating stick etc. It is one or more, specifically herein without limitation.
Further, touch panel 1071 can cover display panel 1061, when touch panel 1071 detect on it or After neighbouring touch operation, processor 110 is sent to determine the type of touch event, is followed by subsequent processing device 110 according to touch thing The type of part provides corresponding visual output on display panel 1061.Although in Fig. 1, touch panel 1071 and display panel 1061 be the function that outputs and inputs of realizing mobile terminal as two independent components, but in certain embodiments, it can The function that outputs and inputs of mobile terminal is realized so that touch panel 1071 and display panel 1061 is integrated, is not done herein specifically It limits.For example, when by radio frequency unit 101 receive the message informing of a certain application program when, processor 110 can control by The message informing is shown in a certain predeterminable area of display panel 1061, a certain area of the predeterminable area and touch panel 1071 Domain is corresponding, can be in corresponding region on display panel 1061 by carrying out touch control operation to a certain region of touch panel 1071 The message informing of display is controlled.
Interface unit 108 be used as at least one external device (ED) connect with mobile terminal 100 can by interface.For example, External device (ED) may include wired or wireless headphone port, external power supply (or battery charger) port, wired or nothing Line data port, memory card port, the port for connecting the device with identification module, audio input/output (I/O) end Mouth, video i/o port, ear port etc..Interface unit 108 can be used for receiving the input from external device (ED) (for example, number It is believed that breath, electric power etc.) and the input received is transferred to one or more elements in mobile terminal 100 or can be with For transmitting data between mobile terminal 100 and external device (ED).
Memory 109 can be used for storing software program and various data.Memory 109 can mainly include storing program area The storage data area and, wherein storing program area can (such as the sound of application program needed for storage program area, at least one function Sound playing function, image player function etc.) etc.;Storage data area can store according to mobile phone use created data (such as Audio data, phone directory etc.) etc..In addition, memory 109 may include high-speed random access memory, it can also include non-easy The property lost memory, a for example, at least disk memory, flush memory device or other volatile solid-state parts.
Processor 110 is the control centre of mobile terminal, utilizes each of various interfaces and the entire mobile terminal of connection A part by running or execute the software program and/or module that are stored in memory 109, and calls and is stored in storage Data in device 109 execute the various functions and processing data of mobile terminal, to carry out integral monitoring to mobile terminal.Place Managing device 110 may include one or more processing units;Preferably, processor 110 can integrate application processor and modulatedemodulate is mediated Manage device, wherein the main processing operation system of application processor, user interface and application program etc., modem processor is main Processing wireless communication.It is understood that above-mentioned modem processor can not also be integrated into processor 110.
Mobile terminal 100 can also include the power supply 111 (such as battery) powered to all parts, it is preferred that power supply 111 Can be logically contiguous by power-supply management system and processor 110, to realize management charging by power-supply management system, put The functions such as electricity and power managed.
Although Fig. 1 is not shown, mobile terminal 100 can also be including bluetooth module etc., and details are not described herein.
It should be understood that the flexible terminal described in Fig. 1 with flexible screen can be bent in whole or in part, and specific Warp architecture and bending control mode can use existing any structure and control mode, due to the discussion of itself and non-present invention Emphasis, details are not described herein.
Embodiment to facilitate the understanding of the present invention, the communications network system that mobile terminal of the invention is based below into Row description.
Referring to Fig. 2, Fig. 2 is a kind of communications network system architecture diagram provided in an embodiment of the present invention, the communication network system System is the LTE system of universal mobile communications technology, which includes UE (User Equipment, the use of successively communication connection Family equipment) (the land Evolved UMTS Terrestrial Radio Access Network, evolved UMTS 201, E-UTRAN Ground wireless access network) 202, EPC (Evolved Packet Core, evolved packet-based core networks) 203 and operator IP operation 204。
Specifically, UE201 can be above-mentioned terminal 100, and details are not described herein again.
E-UTRAN202 includes eNodeB2021 and other eNodeB2022 etc..Wherein, eNodeB2021 can be by returning Journey (backhaul) (such as X2 interface) is connect with other eNodeB2022, after UE201 is connect with eNodeB2021, can receive To the PUSH message notice sent by eNodeB2021, eNodeB2021 may be coupled to EPC203, and eNodeB2021 can be mentioned For the access of UE201 to EPC203.
EPC203 may include MME (Mobility Management Entity, mobility management entity) 2031, HSS (Home Subscriber Server, home subscriber server) 2032, other MME2033, SGW (Serving Gate Way, Gateway) 2034, PGW (PDN Gate Way, grouped data network gateway) 2035 and PCRF (Policy and Charging Rules Function, policy and rate functional entity) 2036 etc..Wherein, MME2031 be processing UE201 and The control node of signaling, provides carrying and connection management between EPC203.HSS2032 is all to manage for providing some registers Such as the function of home location register (not shown) etc, and preserves some related service features, data rates etc. and use The dedicated information in family.All customer data can be sent by SGW2034, and PGW2035 can provide the IP of UE 201 Address distribution and other functions, PCRF2036 are strategy and the charging control strategic decision-making of business data flow and IP bearing resource Point, it selects and provides available strategy and charging control decision with charge execution function unit (not shown) for strategy.
IP operation 204 may include internet, Intranet, IMS (IP Multimedia Subsystem, IP multimedia System) or other IP operations etc..
Although above-mentioned be described by taking LTE system as an example, those skilled in the art should know the present invention is not only Suitable for LTE system, be readily applicable to other wireless communication systems, such as GSM, CDMA2000, WCDMA, TD-SCDMA with And the following new network system etc., herein without limitation.
Based on above-mentioned mobile terminal hardware configuration and communications network system, each embodiment of the present invention is proposed.
First embodiment
In order to solve not count in the prior art to the total duration of same type of application operation, user's body is caused The problem of degree of testing difference.A kind of application operation total duration statistical method is present embodiments provided, the application operation total duration statistics side Method applies total duration statistical fractals by opening when receiving using open command, and then this applies total duration statistical fractals The identification information of application, operation duration and date on the same day are written into database, while this applies total duration statistical fractals Also count the total duration of the application operation of the variant type stored since the database same day zero point.
The specific execution step of application operation total duration statistical method provided by the present embodiment is specifically described below.Referring to Shown in Fig. 3, Fig. 3 is the basic flow chart that application provided in this embodiment runs total duration statistical method, when which runs total Long statistical method includes:
S301: judge whether to receive using open command;
If so, S302 is executed, if it is not, continuing to execute S301.
It should be noted that just open when terminal is received using open command and apply total duration statistical fractals, namely When application is opened, also opened simultaneously using total duration statistical fractals.It is understood that using open command by under user Hair is issued by clicking external physical key specifically, can be, or is issued by modes such as sliding/point touching screens, is worth Only two kinds of common modes issued using open command it is noted that recited herein are obtained, the invention is not limited to Both modes can be adjusted flexibly in practical applications according to concrete scene.
In the present embodiment, applied using the application of including but not limited to game class, video playback class application, reading class, Instant messaging class application.Specifically, game class application: king's honor, the bird of indignation, happy disappear happy, island ingenious military move, clan Conflict, happy fighting landlord etc.;Video playback class application: Tencent's video, iqiyi.com video, potato video etc.;Class is read to answer With: ireader reader, love reading, micro- reading and reading etc. are read in panda reading, the palm;Instant messaging class application: Tencent QQ, micro- Letter, microblogging etc..It is worth noting that, recited herein is the application of some common types and the application of common type Corresponding some specific applications, in practical applications, need to according to installed in terminal it is specific application subject to.
It is understood that using may include game class application, video playback class application, reading class application, Instant Messenger Interrogate any one in class application or any combination.For example, application includes game class application, or application includes game class Include game class application, video playback class application and read class application using with video playback class application, or application;Or it answers With including game class application, video playback class application, the application of reading class and instant messaging class application.It is worth noting that, here The combining form of the cited only application of some common types carries out flexible setting by developer in practical applications, The present invention is not specifically limited in this embodiment.
S302: it opens and applies total duration statistical fractals.
In the present embodiment, it when receiving the application open command that user issues, just opens using total duration statistics clothes Business has issued the open command for application " king's honor " for example, user, which looks on the bright side of things, opens game application " king's honor " at this time, It is opened while opening application " king's honor " at this time and applies total duration statistical fractals.It is understood that if only uniting Count a kind of total duration of type application operation, it is however generally that, user will not open multiple applications simultaneously, for example, with regard to game application For " happily disappear pleasure ", when application " happily disappear pleasure " is closed, can be simultaneously closed off at this time using total duration statistical fractals. It of courses, when if it is statistics multiple types using the total duration run, when having had been switched on using total duration statistical fractals, Just without repeating unlatching, the application of each unlatching need to be only directed to using total duration statistical fractals, by the identification information of application, operation Duration and date on the same day are written into database, and the variant class that statistics is stored since the database same day zero point The total duration of the application operation of type.
S303: the identification information of application, operation duration and date on the same day are written to number using total duration statistical fractals According in library, and the total duration of the application operation of variant type that statistics is stored since the database same day zero point.
In the present embodiment, using total duration statistical fractals open after, every preset duration by the identification information of application, Operation duration and date on the same day are written into database, prevent loss of data with real-time update database.It is understood that Preset duration can be set to 2 minutes, 4 minutes, 8 minutes etc., in practical applications, by developer as the case may be into Row flexible setting.It will be clear that the identification information of application including but not limited to applies packet name, using unique identifying number etc. Deng as long as in fact, being able to achieve the identification information for separating application area in protection category of the invention;It should also be specific It is that the operation duration of application is using the actual time after opening.Apply total duration statistical fractals will to better understand Identification information, operation duration and the date on the same day of application are written into database, referring herein to shown in table one:
Table one
Application identification information Operation duration (minute) Date on the same day
King's honor 5 25 days 09 month 18 years
King's honor 10 25 days 09 month 18 years
King's honor 15 25 days 09 month 18 years
King's honor 20 25 days 09 month 18 years
It is understood that being after being opened using " king's honor ", simultaneously using total duration statistical fractals shown in table one It opens, and its application identification information, operation duration and date on the same day is respectively written into database, can be seen according to table one Out, after being opened using total duration statistical fractals, every 5 minutes will using the identification information of " king's honor ", operation duration with And the date on the same day is written into database.It should be noted that being intended merely to facilitate description using total duration statistical fractals here To the update status of the data in application " king's honor " write-in database, the specific data of four rows, usual situation are just enumerated Under, it is the data of the upper write-in of data replacement of next write-in, specifically, the second row data replace the first row data, the Three row data replace the second row data, and fourth line data replace the third line data, and the data in final data library are that " king is flourish Credit " was at 09 month 18 years 25 day operation 20 minutes.It should also be noted that, application " king's honor " ought be again turned on the same day When, it is to continue more new data on the basis of its database storing data.It is worth noting that, recited herein It is that a specific example need to be adjusted flexibly as the case may be in practical applications.
In the present embodiment, after opening using total duration statistical fractals, number of the real-time statistics since same day zero point is gone back According to the total duration of the application operation of the variant type stored in library.In order to better understand real-time statistics since same day zero point Database in store variant type application operation total duration, referring herein to shown in table two:
Table two
According to table two it is found that using the two distinct types of application operation of total duration statistical fractals real-time statistics it is total when It is long, it will be apparent that, the total duration of game class application operation is 180 minutes, and the total duration of video playback class application operation is 190 points Clock.It is understood that using total duration counted since 25 days 09 month 18 years zero points, the application that real-time statistics obtain The total duration of operation is constantly updated according to the practical application opened of user.It is worth noting that, recited herein is equally One specific example need to be adjusted flexibly as the case may be in practical applications.
In the present embodiment, each when being stored since the database same day zero point using total duration statistical fractals statistics Further include following two situation after the total duration of different types of application operation:
Situation one, referring specifically to shown in Fig. 4:
S401: whether the total duration for judging the application operation of variant type is more than default total duration;
If so, S402 is executed, if it is not, continuing to execute S401.
It is understood that being stored in the database on the day of zero point in application total duration statistical fractals statistics each After the total duration of different types of application operation, can also judge the application operation of variant type total duration whether be more than Default total duration.For example, the game class application counted using total duration statistical fractals is transported here for cited by table two Capable total duration is 180 minutes, and the total duration of video playback class application operation is 190 minutes, and then judges game class application fortune Whether capable total duration and the total duration of video playback class application operation are more than default total duration.It will be clear that default total Duration can be arranged to 150 minutes, 200 minutes etc., and in practical applications, default total duration can be set by user It sets, for example, with reference to shown in Fig. 5, the interface schematic diagram of total duration is preset for user setting, is of coursed, presetting total duration can also be with Flexible setting is carried out according to concrete scene by developer.
In the present embodiment, default total duration may be arranged as multiple, specifically, different types of application can be directed to Different default total durations is set, for example, still for cited by table two, for the default total duration of game class application setting It is A minutes, the default total duration for video playback class application setting is B minutes, therefore, is set when for different types of application When having set different default total durations, using total duration statistical fractals need to successively judge variant type application operation it is total when Whether long be more than corresponding default total duration, specifically, successively judge game class application operation total duration whether be more than Whether the total duration of default total duration A, video playback class application operation are more than default total duration B.
S402: prompt information is issued the user with to inform user's reasonable arrangement using the time.
In the present embodiment, it when same type of application operation total duration is more than default total duration, just issues the user with Prompt information is to inform that user needs reasonable arrangement using the time.As long as it is understood that the application operation of a certain type Total duration is more than default total duration, then the prompt information for issuing the user with the application for the type is needed, so that user can be more The total duration of clear currently used the type application, so that reasonable arrangement the type application time, may refer to Fig. 6 institute here Show, applying for game class has been more than default total duration, issues the user with the interface schematic diagram of prompt information.It is worth noting that, It is shown in fig. 6 for a kind of interface schematic diagram for specifically issuing the user with prompt information, in practical applications, by developer into Row flexible design, the present invention are not specifically limited in this embodiment.
Situation two: it calculates since the operation duration respectively applied point in the database same day zero point in same type application The ratio of the total duration of same type application operation is not accounted for.
In the present embodiment, the operation duration respectively applied that can also be calculated in same type application accounts for same type respectively Using the ratio of the total duration of operation, for a better understanding, referring herein to shown in table three:
Table three
According to table three it is found that accounting for total duration 1/2 using the operation duration of " king's honor " for game class application, Total duration 1/3 is accounted for using the operation duration of " island ingenious military move ", accounts for total duration 1/6 using the operation duration of " happy fighting landlord ".Value It obtains it is noted that an only specific example recited herein need to do flexible tune in practical applications as the case may be It is whole.
It further include at least following steps, tool using operation total duration statistical method it should be noted that in the present embodiment Body is shown in Figure 7:
S701: the total duration of the application operation of the variant type in database is added according to preset chronomere To the operation total duration of all application types.
In the present embodiment, preset chronomere include daily, weekly, monthly, quarterly, every year in any one Or any combination, for example, preset chronomere includes daily, weekly, monthly, or daily, weekly, monthly, often Season etc. can carry out flexible setting by user and developer in practical applications.
For a better understanding, being still illustrated here with specific example, two types are stored in database for example, setting Application, respectively game class applies and video playback class application, while setting one week counted using total duration statistical fractals The total duration of interior game class application operation is that the total duration of video playback class application operation in 900 minutes, one week is 1600 minutes, The total duration of game class application operation 900 minutes are added for total duration 1600 minutes with what video playback class application was run at this time Operation total duration 2500 minutes of all types application into database in one week.
S702: the operation total duration based on obtained all application types, it is described each according to preset chronomere statistics The total duration of different types of application operation accounts for the ratio of the operation total duration of all application types respectively.
Example in undertaking, further, game class application operation accounts for all classes in total duration 900 minutes in available one week The ratio of the operation total duration 2500 of type application is 0.36, and video playback class application operation accounts for all classes in total duration 1600 minutes The ratio of the operation total duration 2500 of type application is 0.64.It is worth noting that, carried out with a specific example here Illustrate, in practical applications, need to be adjusted flexibly according to concrete scene.
Application provided in this embodiment runs total duration statistical method, by judging whether to receive using open command, If receiving using open command, open using total duration statistical fractals, and then this will be applied using total duration statistical fractals Identification information, operation duration and date on the same day be written into database, and count database since same day zero point The total duration of the application operation of the variant type of middle storage.It solves and same type of application is not run in the prior art Total duration counted, cause the problem of user experience difference.Namely in the present embodiment, when receiving using open command When, the identification information of currently open application, operation duration and date on the same day are written by application total duration statistical fractals Into database, and the total duration that the application of variant type is run on the day of real-time statistics, it for users can more clearly The total duration for recognizing the application operation of variant type, greatly improves the experience satisfaction of user.
Meanwhile in the present embodiment, user can see that same type respectively makes using respective in applying with more intuitive With accounting situation, and when the total duration of the application operation of a certain type is more than default total duration, can also issue the user with Prompt information makes user that can further improve the experience satisfaction of user with reasonable arrangement using the time.
Second embodiment
The present embodiment is on the basis of first embodiment, by taking a kind of specifically application operation total duration statistical method as an example Present invention work is further illustrated, referring specifically to shown in Fig. 8:
S801: judge whether to receive using open command;
If so, S802 is executed, if it is not, continuing to execute S801.
If application include game class apply and read class application, while set user look on the bright side of things open game application " joy bucket ground It is main ", the open command for application " happy fighting landlord " has been issued at this time, then executes S802.
S802: it opens and applies total duration statistical fractals.
Example in undertaking further opens and applies total duration statistical fractals.
S803: the identification information of application, operation duration and date on the same day are written to number using total duration statistical fractals According in library.
Example in undertaking, further, if using " happy fighting landlord " identification information be using packet name " happy fighting landlord ", Operation duration using " happy fighting landlord " is " 30 minutes ", the date on the same day is " on 09 26th, 2018 ", then applies total duration Identification information " happy fighting landlord ", operation duration " 120 minutes ", the date on the same day " on 09 26th, 2018 " are written statistical fractals Into database.
S804: the variant type stored since the database same day zero point is counted using total duration statistical fractals Using the total duration of operation.
Example in undertaking, if further including as shown in Table 4 in database other than the data in above-mentioned rigid write-in database Data further referring also to shown in table four, are deposited since the database same day zero point using total duration statistical fractals statistics The total duration of the application operation of the game class of storage is 180 minutes, and the total duration for reading the application operation of class is 190 minutes.
Table four
S805: it calculates using total duration statistical fractals since each in same type application in the database same day zero point The operation duration of application accounts for the ratio of the total duration of same type application operation respectively.
Example in undertaking further referring to shown in table five, is calculated since same day zero point using total duration statistical fractals The operation duration respectively applied in database in game class application accounts for the ratio of the total duration of game class application operation respectively, and It calculates to account for respectively since the operation duration respectively applied in the database same day zero point in the application of reading class and reads class application fortune The ratio of capable total duration.
Table five
S806: whether the total duration for judging the application operation of variant type is more than default total duration;
If so, S807 is executed, if it is not, continuing to execute S806.
Example in undertaking further judges whether the total duration of game class application operation surpasses using total duration statistical fractals The first default total duration is crossed, and reads class using the total duration of operation whether more than the second default total duration, if game class is answered The first default total duration is less than with the total duration of operation, and the total duration for reading class application operation has been more than second when presetting total It is long, S807 is executed at this time.
S807: prompt information is issued the user with to inform user's reasonable arrangement using the time.
Example in undertaking further issues the user with prompt information for class application is read to inform user's reasonable arrangement Using the time.
Application provided in this embodiment runs total duration statistical method, by judging whether to receive using open command, If receiving using open command, open using total duration statistical fractals, and then this will be applied using total duration statistical fractals Identification information, operation duration and date on the same day be written into database, and count database since same day zero point The total duration of the application operation of the variant type of middle storage.It solves and same type of application is not run in the prior art Total duration counted, cause the problem of user experience difference.Namely in the present embodiment, when receiving using open command When, the identification information of currently open application, operation duration and date on the same day are written by application total duration statistical fractals Into database, and the total duration that the application of variant type is run on the day of real-time statistics, it for users can more clearly The total duration for recognizing the application operation of variant type, greatly improves the experience satisfaction of user.
3rd embodiment
The present embodiment additionally provides a kind of terminal, shown in Figure 9, including processor 901, memory 902 and communication Bus 903;
Communication bus 903 is for realizing the connection communication between processor 901 and memory 902;
Memory 902 for executing one or more programs, processor 901 for execute one stored in memory or The multiple programs of person, to realize following steps:
Judge whether to receive using open command;
Total duration statistical fractals are applied if so, opening;
It is described using total duration statistical fractals by the identification information of the application, operation duration and date on the same day be written to In database, and count the variant type stored in the database since same day zero point application operation it is total when It is long.
It should be noted that the terminal in the present embodiment may include game machine, mobile phone, tablet computer, laptop, Palm PC, wearable device, number TV, desktop computer etc..
It is worth noting that, not fully expounding the institute in embodiment one, two in the present embodiment in order not to burden explanation There is example, it is understood that, all examples in embodiment one, two are suitable for the present embodiment.
The present embodiment also provides a kind of computer readable storage medium, computer-readable recording medium storage have one or Multiple programs, one or more program can be executed by one or more processor, when realizing as total such as above-mentioned application operation The step of long statistical method.
Terminal provided in this embodiment and computer readable storage medium are receiving using open command, are opening application Total duration statistical fractals, and then this applies total duration statistical fractals by the identification information of application, operation duration and date on the same day Write-in is into database, and counts the total using what is run of the variant type stored since the database same day zero point Duration.Namely the terminal provided in the present embodiment, the total duration of the application operation of variant type on the day of realizing real-time statistics And the use accounting respectively applied in same type application, it is more clear for users, greatly improve user's Experience satisfaction.
It should be noted that, in this document, the terms "include", "comprise" or its any other variant are intended to non-row His property includes, so that the process, method, article or the device that include a series of elements not only include those elements, and And further include other elements that are not explicitly listed, or further include for this process, method, article or device institute it is intrinsic Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including being somebody's turn to do There is also other identical elements in the process, method of element, article or device.
The serial number of the above embodiments of the invention is only for description, does not represent the advantages or disadvantages of the embodiments.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side Method can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but in many cases The former is more preferably embodiment.Based on this understanding, technical solution of the present invention substantially in other words does the prior art The part contributed out can be embodied in the form of software products, which is stored in a storage medium In (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that a terminal (can be mobile phone, computer, service Device, air conditioner or network equipment etc.) execute method described in each embodiment of the present invention.
The embodiment of the present invention is described with above attached drawing, but the invention is not limited to above-mentioned specific Embodiment, the above mentioned embodiment is only schematical, rather than restrictive, those skilled in the art Under the inspiration of the present invention, without breaking away from the scope protected by the purposes and claims of the present invention, it can also make very much Form, all of these belong to the protection of the present invention.

Claims (10)

1. a kind of application runs total duration statistical method, which is characterized in that the application runs total duration statistical method and includes:
Judge whether to receive using open command;
Total duration statistical fractals are applied if so, opening;
It is described that the identification information of the application, operation duration and date on the same day are written to data using total duration statistical fractals In library, and count the total duration of the application operation of the variant type stored since the database same day zero point.
2. application operation total duration statistical method as described in claim 1, which is characterized in that the application includes that game class is answered With the application of, video playback class, read at least one of class application, the application of instant messaging class.
3. application operation total duration statistical method as claimed in claim 2, which is characterized in that the statistics is opened from same day zero point After the total duration of the application operation of the variant type stored in the database to begin, further includes:
Whether the total duration for judging the application operation of the variant type is more than default total duration;
If so, issuing the user with prompt information to inform user's reasonable arrangement using the time.
4. application operation total duration statistical method as claimed in claim 3, which is characterized in that the judgement variant class Whether the total duration of the application operation of type is more than default total duration, comprising:
Whether the total duration for successively judging the application operation of variant type is more than corresponding default total duration.
5. application operation total duration statistical method as described in claim 1, which is characterized in that the statistics is opened from same day zero point After the total duration of the application operation of the variant type stored in the database to begin, further includes:
It calculates and accounts for institute respectively since the operation duration respectively applied in the database same day zero point in same type application State the ratio of the total duration of same type application operation.
6. application operation total duration statistical method as described in claim 1, which is characterized in that the mark by the application Information, operation duration and date on the same day are written into database, comprising:
It is described by the identification information of the application, operation duration and to work as light every preset duration using total duration statistical fractals Phase is written into database, prevents loss of data with real-time update database.
7. application as claimed in any one of claims 1 to 6 runs total duration statistical method, which is characterized in that the application operation Total duration statistical method, further includes:
It is added the total duration of the application operation of the variant type in the database to obtain institute according to preset chronomere There is the operation total duration of application type;
Based on the operation total duration of obtained all application types, the variant type is counted according to preset chronomere Account for the ratio of the operation total duration of all application types respectively using the total duration of operation.
8. operation total duration statistical method the use as claimed in claim 7, which is characterized in that preset chronomere's packet It includes daily, weekly, monthly, quarterly, at least one of every year.
9. a kind of terminal, which is characterized in that the terminal includes processor, memory and communication bus;
The communication bus is for realizing the connection communication between the processor and the memory;
The processor is for executing one or more program stored in the memory, to realize such as claim 1-8 The step of described in any item application operation total duration statistical methods.
10. a kind of computer readable storage medium, which is characterized in that the computer-readable recording medium storage have one or Multiple programs, one or more of programs can be executed by one or more processor, to realize that claim 1-8 such as appoints Described in one the step of application operation total duration statistical method.
CN201811150738.0A 2018-09-29 2018-09-29 Using operation total duration statistical method, terminal and computer readable storage medium Pending CN109508274A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811150738.0A CN109508274A (en) 2018-09-29 2018-09-29 Using operation total duration statistical method, terminal and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811150738.0A CN109508274A (en) 2018-09-29 2018-09-29 Using operation total duration statistical method, terminal and computer readable storage medium

Publications (1)

Publication Number Publication Date
CN109508274A true CN109508274A (en) 2019-03-22

Family

ID=65746156

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811150738.0A Pending CN109508274A (en) 2018-09-29 2018-09-29 Using operation total duration statistical method, terminal and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN109508274A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112100033A (en) * 2020-09-21 2020-12-18 珠海格力电器股份有限公司 Method and device for acquiring use time of application program

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101568133A (en) * 2009-05-20 2009-10-28 中兴通讯股份有限公司 Method and device for monitoring terminal conversation time
CN106096352A (en) * 2016-05-26 2016-11-09 广东欧珀移动通信有限公司 The control method for preventing indulging of a kind of mobile terminal, device and mobile terminal
CN106326081A (en) * 2016-08-23 2017-01-11 上海创景计算机系统有限公司 Software condition recording system
US20180276235A1 (en) * 2016-04-11 2018-09-27 RMC Pharmaceutical Solutions, Inc. Methods and systems for event based notifications

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101568133A (en) * 2009-05-20 2009-10-28 中兴通讯股份有限公司 Method and device for monitoring terminal conversation time
US20180276235A1 (en) * 2016-04-11 2018-09-27 RMC Pharmaceutical Solutions, Inc. Methods and systems for event based notifications
CN106096352A (en) * 2016-05-26 2016-11-09 广东欧珀移动通信有限公司 The control method for preventing indulging of a kind of mobile terminal, device and mobile terminal
CN106326081A (en) * 2016-08-23 2017-01-11 上海创景计算机系统有限公司 Software condition recording system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112100033A (en) * 2020-09-21 2020-12-18 珠海格力电器股份有限公司 Method and device for acquiring use time of application program

Similar Documents

Publication Publication Date Title
CN109634542A (en) A kind of switching display control method, terminal and computer readable storage medium
CN109040441A (en) Using display methods of attending to anything else, mobile terminal and computer readable storage medium
CN108307030A (en) A kind of SIM card management method, equipment and computer readable storage medium
CN109660430A (en) A kind of flux monitoring method, terminal and computer readable storage medium
CN110007992A (en) A kind of page display method, terminal and computer readable storage medium
CN109933253A (en) Method for controlling application starting, terminal and computer readable storage medium
CN109299039A (en) A kind of file management method, equipment and computer readable storage medium
CN110113779A (en) Test method, system, test platform, mobile terminal and the medium of eSIM card
CN109783223A (en) A kind of memory method for cleaning, terminal and computer readable storage medium
CN109462700A (en) A kind of call method, mobile terminal and computer readable storage medium
CN108829302A (en) A kind of interaction regulation method, equipment and computer readable storage medium
CN108241808A (en) identification code display control method, terminal and computer readable storage medium
CN110086939A (en) Terminal message processing method, device, mobile terminal and readable storage medium storing program for executing
CN109669512A (en) A kind of display control method, Folding screen terminal and computer readable storage medium
CN109889651A (en) A kind of notification message processing method, terminal and computer readable storage medium
CN108958932A (en) A kind of control method of background application, terminal and computer readable storage medium
CN109684020A (en) A kind of method for switching theme, equipment and computer readable storage medium
CN110351423A (en) A kind of unread message process control method, terminal and computer readable storage medium
CN110096173A (en) Method for controlling mobile terminal, mobile terminal and computer readable storage medium
CN109948368A (en) A kind of privacy authority control method, equipment and computer readable storage medium
CN109388947A (en) A kind of back-stage management method, equipment and computer readable storage medium
CN109460338A (en) A kind of application resource control method, terminal and computer readable storage medium
CN109151201A (en) A kind of Anti-addiction method, mobile terminal and computer storage medium
CN109508274A (en) Using operation total duration statistical method, terminal and computer readable storage medium
CN108650395A (en) A kind of shared events based reminding method, equipment and computer readable storage medium

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20190322

RJ01 Rejection of invention patent application after publication