CN106502867A - Information sends and cruising time determines method, device, terminal and server - Google Patents

Information sends and cruising time determines method, device, terminal and server Download PDF

Info

Publication number
CN106502867A
CN106502867A CN201610974343.7A CN201610974343A CN106502867A CN 106502867 A CN106502867 A CN 106502867A CN 201610974343 A CN201610974343 A CN 201610974343A CN 106502867 A CN106502867 A CN 106502867A
Authority
CN
China
Prior art keywords
terminal
time
electricity
power state
state information
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
CN201610974343.7A
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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201610974343.7A priority Critical patent/CN106502867A/en
Publication of CN106502867A publication Critical patent/CN106502867A/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/3058Monitoring arrangements for monitoring environmental properties or parameters of the computing system or of the computing system component, e.g. monitoring of power, currents, temperature, humidity, position, vibrations
    • G06F11/3062Monitoring arrangements for monitoring environmental properties or parameters of the computing system or of the computing system component, e.g. monitoring of power, currents, temperature, humidity, position, vibrations where the monitored property is the power consumption

Abstract

The embodiment of the invention discloses a kind of information sends and cruising time determines method, device, terminal and server, it is related to communication technical field, wherein described information sending method includes:When terminal detects the connection disconnection with charger, the system current very first time in the first current electricity of the terminal and the terminal is recorded;When the terminal is detected to be again coupled to the charger, the second current time of system in the second current electricity of the terminal and the terminal is recorded;First electricity, the very first time, second electricity and second time are sent to server as power state information by the terminal, so that the server determines the cruising time of the terminal according to the power state information.The embodiment of the present invention is capable of the cruising time of true feedback terminal, improves the accuracy for calculating cruising time.

Description

Information sends and cruising time determines method, device, terminal and server
Technical field
The present invention relates to communication technical field, more particularly to a kind of information sends and cruising time determines method, device, end End and server.
Background technology
As the development of communication technology, terminal are increasingly popularized, indispensable one of people's daily life is increasingly becoming Point, cruising time of terminal is one of its performance indications, and the major issue that user is concerned about.
At present, for the test in the cruising time of terminal, following method is typically adopted:By the foot being arranged in terminal Originally make terminal execute different operations, constantly consume electricity, when terminal power exhausts, by the run time of terminal and disappear The cruising time of the electricity computing terminal of consumption.Or by the continuous circulate operation terminal of mechanical hand, when terminal power exhausts, lead to Spend the cruising time of the extreme terminal of the electricity of run time and consumption of terminal.
Inventor has found that during the present invention is executed prior art has following defect:By script or machinery The mode of handss operates terminal, and only analog subscriber operates the situation of terminal, can not really react user's practical operation end The situation at end, therefore, the calculating in terminal cruising time is inaccurate.
Content of the invention
In view of this, the embodiment of the present invention provides a kind of information transmission and cruising time determines method, device, terminal and clothes Business device, is capable of the cruising time of true feedback terminal, improves the accuracy in calculating cruising time.
In a first aspect, a kind of method for sending information is embodiments provided, including:
When terminal is detected to be disconnected with the connection of charger, the first current electricity of the terminal and described is recorded The system current very first time in terminal;
When the terminal is detected to be again coupled to the charger, record the second current electricity of the terminal with And the second current time of system in the terminal;
The terminal using first electricity, the very first time, second electricity and second time as Power state information is sent to server, so that the server determines the continuation of the journey of the terminal according to the power state information Time.
Second aspect, embodiments providing a kind of cruising time determines method, including:
The power state information that server receiving terminal sends;
Server obtains the cruising time of the terminal based on the power state information;
Wherein, the power state information includes the first electricity, the very first time, the second electricity and the second time;Described First electricity and the very first time are respectively when the terminal detects the connection disconnection with charger, the institute of record State the system current time in the current electricity of terminal and the terminal;
Second electricity and second time are respectively when the terminal is detected with the charger again During connection, the system current time in the current electricity of the terminal of record and the terminal.
The third aspect, embodiments provides a kind of information transmitting apparatus, including:
First logging modle, for detecting when terminal during the connection disconnection with charger, records the terminal current The first electricity and the terminal in the system current very first time;
Second logging modle, for when the terminal detect be again coupled to the charger when, record the end The second current time of system in the second current electricity of end and the terminal;
Power state information sending module, for by first electricity, the very first time, second electricity and Second time is sent to server as power state information, so that the server is true according to the power state information The cruising time of the fixed terminal.
Fourth aspect, embodiments provides a kind of cruising time determining device, including:
Power state information receiver module, for the power state information that receiving terminal sends;
Cruising time determining module, for based on the power state information, obtaining the cruising time of the terminal;
Wherein, the power state information includes the first electricity, the very first time, the second electricity and the second time;Described First electricity and the very first time are respectively when the terminal detects the connection disconnection with charger, the institute of record State the system current time in the current electricity of terminal and the terminal;
Second electricity and second time are respectively when the terminal is detected with the charger again During connection, the system current time in the current electricity of the terminal of record and the terminal.
In terms of 5th, a kind of terminal is embodiments provided, dress is sent including information provided in an embodiment of the present invention Put.
In terms of 6th, a kind of server is embodiments provided, including cruising time provided in an embodiment of the present invention Determining device.
Technical scheme provided in an embodiment of the present invention, when terminal is connected disconnection with charger, is worked as by recording terminal The system current very first time in the first front electricity and terminal;And when terminal is again coupled to charger, pass through The second current time of system in current the second electricity of record terminal and terminal, and by the first electricity, the very first time, second Electricity and the second time are sent to server as power state information, so that server determines the cruising time of terminal, energy In the cruising time of enough true feedback terminals, improve the accuracy for calculating cruising time.
Description of the drawings
By reading the detailed description made by non-limiting example that is made with reference to the following drawings, other of the invention Feature, objects and advantages will become more apparent upon:
Fig. 1 is a kind of method for sending information flow chart that the embodiment of the present invention one is provided;
Fig. 2 is to determine method flow diagram in a kind of cruising time that the embodiment of the present invention two is provided;
Fig. 3 is to determine method flow diagram in a kind of cruising time that the embodiment of the present invention three is provided;
Fig. 4 is to determine method flow diagram in a kind of cruising time that the embodiment of the present invention four is provided;
Fig. 5 is a kind of information transmitting apparatus structured flowchart that the embodiment of the present invention five is provided;
Fig. 6 is a kind of cruising time determining device structured flowchart that the embodiment of the present invention six is provided;
Fig. 7 is a kind of terminal structure schematic diagram that the embodiment of the present invention seven is provided;
Fig. 8 is a kind of server architecture schematic diagram that the embodiment of the present invention eight is provided.
Specific embodiment
The present invention is described in further detail with reference to the accompanying drawings and examples.It is understood that this place is retouched The specific embodiment that states is used only for explaining the present invention, rather than limitation of the invention.It also should be noted that, in order to just Part related to the present invention rather than full content is illustrate only in description, accompanying drawing.
Embodiment one
Fig. 1 is a kind of method for sending information flow chart that the embodiment of the present invention one is provided, and methods described is by information transmission dress Put to execute, described device is executed by software and/or hardware, described device is configured in the terminals such as mobile phone.Such as Fig. 1 institutes Show, the technical scheme that the present embodiment is provided is specific as follows:
S110:When terminal is detected to be disconnected with the connection of charger, record the first current electricity of the terminal with And the system current very first time in the terminal.
In the present embodiment, terminal can be the terminals such as mobile phone, panel computer.Charger is having of being connected with power supply The equipment of charge function.
In the present embodiment, for detection terminal and the operation of the connection disconnection of charger, or for detection terminal The operation being again coupled to charger, can be examined by having the module for judging whether charge function in terminal system Survey, or can also be detected by the application that installs in terminal, or can also be detected in other way, right In detection mode and be not construed as limiting.
In the present embodiment, when terminal detects the connection disconnection with charger, the first current electricity of terminal is obtained The current very first time in amount and terminal system, and record the first electricity and the very first time.Wherein it is possible to adopt in terminal The application with store function records the first electricity and the very first time, and for example, Notepaper, memorandum etc. are applied.Or may be used also To adopt the first electricity of file record and the very first time that set in terminal, or other modes record first can also be adopted Electricity and the very first time.
In the present embodiment, illustrate, when terminal is with the connection disconnection of charger, the current electricity of terminal is 80%, in terminal system, the current time is 20 days 9 October in 2016:00, wherein, 80% be the first electricity, in October, 2016 20 days 9:00 is the very first time.First electricity and the very first time are recorded by terminal.
S120:When the terminal is detected to be again coupled to the charger, record the terminal current second The second current time of system in electricity and the terminal.
In the present embodiment, when terminal is detected to be again coupled to charger, the second current electricity of terminal is obtained And the second current time of system in terminal, and the second electricity and the second time are recorded.Wherein terminal record the Two electricity and the mode of the second time are identical with the first electricity of record and the mode of the very first time.
In the present embodiment, it is illustrated, when terminal is again coupled to charger, the current electricity of terminal is 30%, in terminal system, the current time is 21 days 9 October in 2016:00, wherein, 30% be the second electricity, in October, 2016 21 days 9:00 was the second time.Second electricity and the second time are recorded by terminal.
S130:The terminal is by first electricity, the very first time, second electricity and second time Server is sent to as power state information, so that the server determines the terminal according to the power state information Cruising time.
In the present embodiment, it can be wirelessly that power state information is sent to server by terminal, or also may be used In the way of being wired, and terminal transmission power state information is not restricted to the mode of server.
In the present embodiment, according to power state information, server determines that the cruising time of terminal is specifically as follows:Continuation of the journey Time=(m- very first time when second)/(first the-the second electricity of electricity);Wherein, first electricity and the second electricity are equal Accounted for using dump energy in terminal and be completely filled with the ratio of electricity after electricity and characterized.For example, (October 21 in 2016 the second time Day 9:00) with (20 days 9 October in 2016 very first time:00) time interval is 24 hours, the first electricity (80%) and second Difference between electricity (30%) is 50%, by the formula in cruising time, is calculated cruising time for 48 hours.
It should be noted that the present invention is exemplary will to send power state information using terminal to server, so that service The cruising time of the method acquisition terminal in device calculating cruising time, but a kind of only example, in other embodiments of the invention In, terminal can also calculate cruising time according to power state information.
By above-mentioned method, the truthful data of reaction user's practical operation can be sent to server by terminal, so that Server calculates cruising time, improves the accuracy for calculating cruising time.
A kind of information transmitting apparatus that the present embodiment is provided, when terminal is connected disconnection with charger, by recording eventually The system current very first time in the first current electricity of end and terminal;And when terminal is again coupled to charger, By recording the second current time of system in current the second electricity of terminal and terminal, and by the first electricity, the very first time, Second electricity and the second time are sent to server as power state information, during so that server determining the continuation of the journey of terminal Between, the real data of terminal can be sent to server, so that in the cruising time of the true feedback terminal of server, improve calculating continuous The accuracy of ETS estimated time of sailing.
Embodiment two
Fig. 2 is to determine that method, methods described were determined by cruising time in a kind of cruising time that the embodiment of the present invention two is provided Executing, described device is executed device by software/or hardware, and described device is can be only fitted in terminal, it is also possible to which configuration exists In server, the present embodiment is illustrated in the server with configuring described device.As shown in Fig. 2 what the present embodiment was provided Technical scheme is specific as follows:
S210:The power state information that server receiving terminal sends.
In the present embodiment, power state information includes the first electricity, the very first time, the second electricity and the second time; First electricity and the very first time are respectively when terminal detects the connection disconnection with charger, and the terminal of record is current The system current time in electricity and terminal;Second electricity and the second time are respectively when terminal is detected and charger When being again coupled to, the system current time in the current electricity of the terminal of record and terminal.
In the present embodiment, during the power state information that server receiving terminal sends, and power state information is carried out Storage, so that user is inquired about or calculates average cruising time using multigroup power state information.
S220:Server obtains the cruising time of terminal based on power state information.
In the present embodiment, exemplary, server obtains the cruising time of terminal based on power state information, including: Cruising time of the server based on formula below computing terminal:Cruising time=(m- very first time when second)/(the first electricity The-the second electricity of amount);Wherein, the first electricity and the second electricity are accounted for using dump energy in terminal and are completely filled with electricity after electricity Ratio characterized.For example, when the first electricity is the connection disconnection that 80%, i.e. terminal are detected with charger, current Dump energy is accounted for and is completely filled with 80% of electricity after electricity;Second electricity is detected for 30%, i.e. terminal and is connected with charger again When connecing, current dump energy is accounted for and is completely filled with 30% of electricity after electricity.Wherein, the first electricity and the second electricity can also be adopted Characterized with the form of other ratios.
It should be noted that the embodiment of the present invention exemplary employing formula cruising time=(when m- first when second Between)/(first the-the second electricity of electricity) is calculating cruising time, but is only a kind of example of the present invention, the present invention other In embodiment, server can also obtain the time of continuation of the journey in other way based on power state information, to being based on electricity The mode in state information acquisition cruising time is simultaneously not construed as limiting.
By above-mentioned method, as the power state information that terminal sends truly is reflected in terminal actual mechanical process Truthful data, when cruising time of the server based on power state information computing terminal, be capable of the continuous of true feedback terminal ETS estimated time of sailing, improves the accuracy for calculating cruising time.
A kind of cruising time that the present embodiment is provided determines method, is obtained by the power state information sent based on terminal In the cruising time of terminal, it is capable of the cruising time of true feedback terminal, improves the accuracy for calculating cruising time.
Embodiment three
Fig. 3 is to determine method flow diagram in a kind of cruising time that the embodiment of the present invention three is provided, in the base of above-described embodiment On plinth, when the quantity of terminal is one, optionally, server obtains the cruising time of terminal, bag based on power state information Include:
Server is based at least two groups power state informations for receiving, the average cruising time of computing terminal.
Thus, at least two groups power state informations by receiving, in the average cruising time of computing terminal, can avoid The cruising time that appearance different operating situation is caused calculates inaccurate situation, improves the accuracy for calculating cruising time.
Based on above-mentioned optimization, as shown in figure 3, the technical scheme that the present embodiment is provided is specific as follows:
S310:The power state information that server receiving terminal sends.
S320:Server is based at least two groups power state informations for receiving, the average cruising time of computing terminal.
In the present embodiment, the quantity of terminal be one, server based at least two groups power state informations for receiving, The average cruising time of computing terminal, specially:Attend to anything else for each group power state information, calculate each group power state information pair The cruising time that answers;It is based on calculated each group power state information corresponding cruising time, the average continuation of the journey of computing terminal Time.
In the present embodiment, illustrate, if server receives two groups of power state informations, first group of state of charge letter Ceasing is respectively:The very first time is 20 days 9 October in 2016:00;First electricity is 80%;Second time was on October 21st, 2016 9:00, the second electricity is 30%.It it is 48 hours according to the cruising time that first group of power state information is calculated.Second group of electricity Measuring status information is respectively:The very first time is 22 days 9 October in 2016:00, the first electricity is 100%, and the second time was 2016 On October 22,21 in:00, the second electricity is 50%.Little for 24 according to the cruising time that second group of power state information is calculated When.The cruising time (48 hours) that is calculated by first group of power state information, and second group of power state information meter In the average cruising time of cruising time (24 hours) computing terminal for calculating, the average cruising time of terminal is 36 hours.
It should be noted that during the average continuation of the journey of the exemplary two groups of power state information computing terminals of employing of the present invention Between, in other embodiments of the present invention can also be using during the average continuation of the journey of power state information computing terminal more than two Between.When the group number of the power state information that selects is more, the average cruising time of calculating is more accurate.State of charge is specifically selected The group number of information is determined by being actually needed.
By above-mentioned method, due to user different in the operation of different time, therefore per group of power state information meter The cruising time that calculates is also different.By at least two groups power state information computing terminals of basis average cruising time Method, it is to avoid the cruising time that different operating situation is caused calculates inaccurate situation, improves and calculates the accurate of cruising time Property.
Present embodiments providing a kind of cruising time determines method, by least two groups power state informations for receiving, In the average cruising time of computing terminal, can avoid the occurrence of the cruising time that different operating situation causes calculates inaccurate feelings Shape, improves the accuracy for calculating cruising time.
Example IV
Fig. 4 is the method flow diagram that a kind of cruising time that the embodiment of the present invention four is provided determines, in above-described embodiment On the basis of, when the quantity of terminal is more than one, optionally, server is based on power state information, during the continuation of the journey of acquisition terminal Between, including:
Each terminal is respectively directed to, server calculates the continuation of the journey of present terminal based on the power state information that present terminal sends Time;
Cruising time based on each terminal for obtaining calculates average cruising time.
Thus, the power state information by sending for each terminal calculates the cruising time of each terminal, and according to each The cruising time of terminal calculates average cruising time, improves the accuracy in the cruising time for calculating same model terminal.
Above-mentioned optimization is based on, as shown in figure 4, the technical scheme that the present embodiment is provided is specific as follows:
S410:The power state information that server receiving terminal sends.
S420:Server is respectively directed to each terminal, calculates present terminal based on the power state information that present terminal sends Cruising time.
In the present embodiment, illustrate, if server receives the electricity that the terminal of two same models is sent respectively Status information.For one of terminal, cruising time is calculated by power state information, the cruising time that calculates is 24 Hour.For another terminal, cruising time is calculated by power state information, the cruising time that calculates is 12 hours.
S430:Cruising time of the server based on each terminal for obtaining calculates average cruising time.
In the present embodiment, illustrate, to two terminals that server sends power state information, calculate respectively The cruising time of two terminals is 24 hours and 12 hours.Then the terminal of the model average cruising time is (12+24)/2=18 Hour.
It should be noted that being directed to each terminal, when cruising time is calculated based on power state information, can be based on each One group of power state information that terminal is sent respectively calculates cruising time, it is also possible at least two for being sent based on each terminal respectively Group power state information calculates cruising time, is selected according to actual needs.
It should be noted that the state of charge letter that two terminals that the exemplary basis of the embodiment of the present invention is received send Breath, calculates average cruising time, but in other embodiments of the present invention can also be using the plural terminal for receiving The power state information being sent to calculates average cruising time.When send power state information terminal more when, calculating same The average cruising time of one model terminal is more accurate.
The method that a kind of cruising time that the present embodiment is provided determines, by the state of charge letter sent for each terminal Breath calculates the cruising time of each terminal, and calculates average cruising time according to the cruising time of each terminal, improves and calculates same type Number terminal cruising time accuracy.
Embodiment five
Fig. 5 is a kind of information transmitting apparatus structured flowchart that the embodiment of the present invention four is provided, and described device is for execution one The method that the information of kind sends, as shown in figure 5, described device includes:First logging modle 510, the second logging modle 520 and electricity Amount status information sending module 530.
Wherein, the first logging modle 510, for detecting when terminal during the connection disconnection with charger, records terminal The system current very first time in the first current electricity and terminal;
Second logging modle 520, for when terminal detect be again coupled to charger when, record terminal current the The second current time of system in two electricity and terminal;
Power state information sending module 530, for by the first electricity, the very first time, the second electricity and the second time Server is sent to as power state information, so that server determines the cruising time of terminal according to power state information.
A kind of information transmitting apparatus that the present embodiment is provided, when terminal is connected disconnection with charger, by recording eventually The system current very first time in the first current electricity of end and terminal;And when terminal is again coupled to charger, By recording the second current time of system in current the second electricity of terminal and terminal, and by the first electricity, the very first time, Second electricity and the second time are sent to server as power state information, during so that server determining the continuation of the journey of terminal Between, the real data of terminal can be sent to server, so that in the cruising time of the true feedback terminal of server, improve calculating continuous The accuracy of ETS estimated time of sailing.
Embodiment six
Fig. 6 is a kind of cruising time determining device provided in an embodiment of the present invention, and described device is used for executing a kind of continuation of the journey The method that time determines, as shown in fig. 6, described device includes:Power state information receiver module 610 and cruising time determine Module 620.
Wherein, power state information receiver module 610, for the power state information that receiving terminal sends;
Cruising time determining module 620, for based on power state information, obtaining the cruising time of terminal;
Wherein, power state information includes the first electricity, the very first time, the second electricity and the second time;First electricity And the very first time is respectively when terminal is detected and disconnected with the connection of charger, the current electricity of the terminal of record and The system current time in terminal;
Second electricity and the second time be respectively when terminal detect be again coupled to charger when, the terminal of record The system current time in current electricity and terminal.
Further, cruising time determining module 620, specifically for:
Cruising time based on formula below computing terminal:
Cruising time=(m- very first time when second)/(first the-the second electricity of electricity);Wherein, the first electricity and Two electricity are accounted for using dump energy in terminal and are completely filled with the ratio of electricity after electricity and are characterized.
Further, when the quantity of terminal is one,
Cruising time determining module 620, specifically for:
Based at least two groups power state informations for receiving, the average cruising time of computing terminal.
Further, when the quantity of terminal is more than one,
Cruising time determining module 620, specifically for:
Each terminal is respectively directed to, based on the cruising time that the power state information that present terminal sends calculates present terminal;
Cruising time based on each terminal for obtaining calculates average cruising time.
A kind of cruising time determining device that the present embodiment is provided, is obtained by the power state information sent based on terminal In the cruising time of terminal, it is capable of the cruising time of true feedback terminal, improves the accuracy for calculating cruising time.
Embodiment seven
The present invention implements seven and provides a kind of terminal, and the terminal is integrated with the information transmitting apparatus of above-described embodiment offer, Fig. 7 is a kind of structural representation of terminal that the embodiment of the present invention seven is provided, as shown in fig. 7, the terminal can include:First deposits Reservoir 701, central processing unit (Central Processing Unit, hereinafter referred to as CPU) 702, Peripheral Interface 703, RF (Radio Frequency, radio frequency) circuit 705, voicefrequency circuit 706, speaker 711, power management chip 708, input/output (I/O) subsystem 709, touch screen 712, other input/control devicess 710 and outside port 704, these parts pass through one Or multiple communication bus or holding wire 707 are communicating.
It should be understood that graphic terminal 700 is only an example of terminal, and terminal 700 can have than figure Shown in more or less part, two or more parts can be combined, or can have different portions Part is configured.Various parts shown in figure can be including including one or more signal processing and/or special IC Hardware, software or hardware and software combination in realize.
Below the terminal sent for information that the present embodiment is provided is described in detail, the terminal with mobile phone is Example.
First memory 701, first memory 701 can be accessed by CPU702, Peripheral Interface 703 etc., first memory 701 can include high-speed random access memory, can also include nonvolatile memory, for example one or more disk storages Device, flush memory device or other volatile solid-state parts.
The input of equipment and output peripheral hardware can be connected to CPU702 and first and be deposited by Peripheral Interface 703, Peripheral Interface 703 Reservoir 701.
I/O subsystems 709, I/O subsystems 709 can be by the input/output peripherals on equipment, such as 712 (phase of touch screen When the screen in above-described embodiment) and other input/control devicess 710, it is connected to Peripheral Interface 703.I/O subsystems 709 Display controller 7091 and the one or more input controllers for controlling other input/control devicess 710 can be included 7092.Wherein, one or more input controllers 7092 receive the signal of telecommunication or to other from other input/control devicess 710 Input/control devices 710 sends the signal of telecommunication, and other input/control devicess 710 can include physical button (pressing button, rocking arm Button etc.), dial, slide switches, stick, click on roller.What deserves to be explained is, input controller 7092 can with following Any one connection:The instruction equipment of keyboard, infrared port, USB interface and such as mouse.
Touch screen 712, touch screen 712 are the input interfaces and output interface between user terminal and user, will be visually defeated Go out to be shown to user, visual output can include figure, text, icon, video etc..
Display controller 7091 in I/O subsystems 709 receives the signal of telecommunication or to touch screen 712 from touch screen 712 Electric signals.The contact for detecting is converted to and display by the contact on the detection touch screen of touch screen 712, display controller 7091 The interaction of the user interface object on touch screen 712, that is, realize man-machine interaction, shows the user interface on touch screen 712 Object can be the icon of running game, be networked to icon of corresponding network etc..What deserves to be explained is, equipment can also include light Mus, light Mus are not show the visual touch sensitive surface for exporting, or the extension of the touch sensitive surface formed by touch screen.
RF circuits 705, are mainly used in the communication for setting up mobile phone and wireless network (i.e. network side), realize mobile phone and wireless network The data receiver of network and transmission.Such as transmitting-receiving short message, Email etc..Specifically, RF circuits 705 are received and send RF letters Number, RF signals are also referred to as electromagnetic signal, and RF circuits 705 convert electrical signals to electromagnetic signal or electromagnetic signal is converted to telecommunications Number, and communicated with communication network and other equipment by the electromagnetic signal.RF circuits 705 can be included for executing The known circuit of these functions, its include but is not limited to antenna system, RF transceivers, one or more amplifiers, tuner, one Individual or multiple agitators, digital signal processor, CODEC (COder-DECoder, coder) chipset, ID mould Block (Subscriber Identity Module, SIM) etc..
Voicefrequency circuit 706, is mainly used in receiving voice data from Peripheral Interface 703, the voice data is converted to telecommunications Number, and the signal of telecommunication is sent to speaker 711.
Speaker 711, for the voice signal for receiving mobile phone by RF circuits 707 from wireless network, is reduced to sound And the sound is played to user.
Power management chip 708, the hardware for being connected by CPU702, I/O subsystem 709 and Peripheral Interface 704 enter Row power supply and power management.
The executable following operations of CPU702 provided in an embodiment of the present invention:
When terminal detects the connection disconnection with charger, in the first current electricity of record terminal and terminal it is The system current very first time;
When terminal is detected to be again coupled to charger, system in the second current electricity of terminal and terminal is recorded The second current time;
First electricity, the very first time, the second electricity and the second time are sent to clothes as power state information by terminal Business device, so that server determines the cruising time of terminal according to power state information.
Above-mentioned terminal can perform the information transceiving method provided by any embodiment of the present invention, possess execution method corresponding Functional module and beneficial effect.
Embodiment eight
The embodiment of the present invention eight provides a kind of server, is integrated with the cruising time provided by any embodiment of the present invention Determining device.Specifically, as shown in figure 8, the embodiment of the present invention provides a kind of server, the server includes:
One or more processor 810, in Fig. 8 by taking a processor 810 as an example;
Second memory 820;And one or more module.
Server can also include:Input equipment 830 and output device 840.Processor 810 in server, second are deposited Reservoir 820, input equipment 830 and output device 840 can pass through bus or other modes and connect, being connected by bus in Fig. 8 It is connected in example.
Used as a kind of computer-readable recording medium, can be used for storage software program, computer can hold second memory 820 Cruising time in line program and module, the such as embodiment of the present invention determines that the corresponding programmed instruction/module of method is (for example, attached The power state information receiver module 610 in cruising time determining device and cruising time determining module shown in Fig. 6 is 620).Place Reason device 810 is stored in software program in memorizer 820, instruction and module by operation, various so as to execute server Application of function and data processing, that is, realize that the cruising time in said method embodiment determines method.
Second memory 820 may include storing program area and storage data field, and wherein, storing program area can store operation system Application program needed for system, at least one function;Storage data field can be stored and use created data etc. according to server. Additionally, second memory 820 can include high-speed random access memory, nonvolatile memory can also be included, for example extremely Few disk memory, flush memory device or other non-volatile solid state memory parts.In some instances, the second storage Device 820 can further include the memorizer remotely located relative to processor 810, and these remote memories can be connected by network It is connected to server.The example of above-mentioned network include but is not limited to the Internet, intranet, LAN, mobile radio communication and its Combination.
Input equipment 830 can be used for the numeral of receives input or character information, and produce the user setup with server And the key signals input that function control is relevant.Output device 840 may include output interface etc..
The cruising time provided by the executable any embodiment of the present invention of above-mentioned server determines method, possesses execution method Corresponding functional module and beneficial effect.
Note, above are only presently preferred embodiments of the present invention and institute's application technology principle.It will be appreciated by those skilled in the art that The invention is not restricted to specific embodiment here, various obvious changes, again can be carried out for a person skilled in the art Adjustment and replacement are without departing from protection scope of the present invention.Therefore, although by above example the present invention has been carried out compared with For detailed description, but the present invention is not limited only to above example, without departing from the inventive concept, can be with Including other Equivalent embodiments more, and the scope of the present invention is determined by scope of the appended claims.

Claims (12)

1. a kind of method for sending information, it is characterised in that include:
When terminal detects the connection disconnection with charger, the first current electricity of the terminal and the terminal is recorded The middle system current very first time;
When the terminal is detected to be again coupled to the charger, the second current electricity of the terminal and institute is recorded State the second current time of system in terminal;
The terminal is using first electricity, the very first time, second electricity and second time as electricity Status information is sent to server, during so that the server determining the continuation of the journey of the terminal according to the power state information Between.
2. a kind of cruising time determines method, it is characterised in that include:
The power state information that server receiving terminal sends;
Server obtains the cruising time of the terminal based on the power state information;
Wherein, the power state information includes the first electricity, the very first time, the second electricity and the second time;Described first Electricity and the very first time are respectively when the terminal detects the connection disconnection with charger, the end of record The system current time in the current electricity in end and the terminal;
Second electricity and second time are respectively and are again coupled to the charger when the terminal is detected When, the system current time in the current electricity of the terminal of record and the terminal.
3. method according to claim 2, it is characterised in that the server is obtained based on the power state information The cruising time of the terminal, including:
The server calculates the cruising time of the terminal based on formula below:
Cruising time=(m- very first time when second)/(first the-the second electricity of electricity);Wherein, first electricity and institute State the second electricity and accounted for using dump energy in the terminal and be completely filled with the ratio of electricity after electricity and characterized.
4. method according to claim 2, it is characterised in that when the quantity of the terminal is,
The server obtains the cruising time of the terminal based on the power state information, including:
The server calculates the average cruising time of the terminal based at least two groups power state informations for receiving.
5. method according to claim 2, it is characterised in that when the quantity of the terminal is more than,
The server obtains the cruising time of the terminal based on the power state information, including:
The server is respectively directed to each terminal, based on the continuation of the journey that the power state information that present terminal sends calculates present terminal Time;
Cruising time of the server based on each terminal for obtaining calculates average cruising time.
6. a kind of information transmitting apparatus, it is characterised in that include:
First logging modle, current for when terminal is detected and disconnected with the connection of charger, recording the terminal the The system current very first time in one electricity and the terminal;
Second logging modle, for when the terminal detect be again coupled to the charger when, record the terminal work as The second current time of system in the second front electricity and the terminal;
Power state information sending module, for by first electricity, the very first time, second electricity and described Second time was sent to server as power state information, so that the server determines institute according to the power state information State the cruising time of terminal.
7. a kind of cruising time determining device, it is characterised in that include:
Power state information receiver module, for the power state information that receiving terminal sends;
Cruising time determining module, for based on the power state information, obtaining the cruising time of the terminal;
Wherein, the power state information includes the first electricity, the very first time, the second electricity and the second time;Described first Electricity and the very first time are respectively when the terminal detects the connection disconnection with charger, the end of record The system current time in the current electricity in end and the terminal;
Second electricity and second time are respectively and are again coupled to the charger when the terminal is detected When, the system current time in the current electricity of the terminal of record and the terminal.
8. device according to claim 7, it is characterised in that the cruising time determining module, specifically for:
Based on the cruising time that formula below calculates the terminal:
Cruising time=(m- very first time when second)/(first the-the second electricity of electricity);Wherein, first electricity and institute State the second electricity and accounted for using dump energy in the terminal and be completely filled with the ratio of electricity after electricity and characterized.
9. device according to claim 7, it is characterised in that when the quantity of the terminal is,
The cruising time determining module, specifically for:
Based at least two groups power state informations for receiving, the average cruising time of the terminal is calculated.
10. device according to claim 7, it is characterised in that when the quantity of the terminal is more than,
The cruising time determining module, specifically for:
Each terminal is respectively directed to, based on the cruising time that the power state information that present terminal sends calculates present terminal;
Cruising time based on each terminal for obtaining calculates average cruising time.
11. a kind of terminals, it is characterised in that the terminal includes the information transmitting apparatus described in claim 6.
12. a kind of servers, it is characterised in that the server includes that claim 7-10 arbitrary described cruising time determines Device.
CN201610974343.7A 2016-10-31 2016-10-31 Information sends and cruising time determines method, device, terminal and server Pending CN106502867A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610974343.7A CN106502867A (en) 2016-10-31 2016-10-31 Information sends and cruising time determines method, device, terminal and server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610974343.7A CN106502867A (en) 2016-10-31 2016-10-31 Information sends and cruising time determines method, device, terminal and server

Publications (1)

Publication Number Publication Date
CN106502867A true CN106502867A (en) 2017-03-15

Family

ID=58323134

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610974343.7A Pending CN106502867A (en) 2016-10-31 2016-10-31 Information sends and cruising time determines method, device, terminal and server

Country Status (1)

Country Link
CN (1) CN106502867A (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100160002A1 (en) * 2008-12-19 2010-06-24 Samsung Electronics Co., Ltd. Separable mobile terminal and method of operation
CN104793930A (en) * 2015-03-16 2015-07-22 深圳市金立通信设备有限公司 Electric quantity managing method
CN104866058A (en) * 2015-05-22 2015-08-26 北京天宇朗通通信设备股份有限公司 Method and apparatus for determining battery endurance of electronic device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100160002A1 (en) * 2008-12-19 2010-06-24 Samsung Electronics Co., Ltd. Separable mobile terminal and method of operation
CN104793930A (en) * 2015-03-16 2015-07-22 深圳市金立通信设备有限公司 Electric quantity managing method
CN104866058A (en) * 2015-05-22 2015-08-26 北京天宇朗通通信设备股份有限公司 Method and apparatus for determining battery endurance of electronic device

Similar Documents

Publication Publication Date Title
CN109324749B (en) Drawing method, drawing device, storage medium and electronic equipment
WO2019214416A1 (en) Method for preloading application, storage medium, and terminal
CN107947951B (en) Groups of users recommended method, device and storage medium and server
CN103873811A (en) Information processing apparatus, information processing method, and information processing system
CN108663696A (en) Update method, device, storage medium and the mobile terminal of temperature and frequency deviation relationship
CN107463289A (en) A kind of calibration method of touch-screen, device, storage medium and terminal
CN101739384A (en) Multi-functional electronic device and application method thereof
CN105430632B (en) A kind of method and mobile terminal of data flux statistics
CN109766138A (en) Application program prediction model is established, preloads method, apparatus, medium and terminal
CN106936825A (en) A kind of method for controlling broadcast transmission, device and mobile terminal
CN108089813A (en) Processing method, device, electronic equipment and the storage medium of touch screen drawing operation
CN106776259B (en) Mobile terminal frame rate detection method and device and mobile terminal
CN106502808A (en) A kind of method of copied files, device and terminal
CN107402675A (en) A kind of response method of touch operation, device, storage medium and terminal
CN108733193A (en) Method, apparatus, storage medium and the intelligent terminal of adjustment frame per second
CN108646962A (en) Edit methods, device, storage medium and the mobile terminal of terminal desktop layout
CN106980447A (en) A kind of information processing method, device and terminal
CN105260077A (en) Electronic device and detection method for capacitive touch screen of electronic device
CN108494851B (en) Application program recommended method, device and server
CN104169854A (en) An icon arranging method and a terminal
CN106851592A (en) A kind of method of adjustment of broadcast recipients, device and terminal
CN106603870A (en) Control method and device of playing equipment, playing equipment and mobile terminal
JP6928340B2 (en) Construction management system, construction management method, air volume measurement method, mobile terminal and program
CN105404529A (en) Popup method, device and system of operation system popup for reinstallation
CN106708332B (en) threshold setting method and device of proximity sensor and terminal

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information

Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Applicant after: Guangdong OPPO Mobile Communications Co., Ltd.

Address before: Changan town in Guangdong province Foshan 523860 usha Beach Road No. 18

Applicant before: Guangdong OPPO Mobile Communications Co., Ltd.

CB02 Change of applicant information
RJ01 Rejection of invention patent application after publication

Application publication date: 20170315

RJ01 Rejection of invention patent application after publication