CN109032322A - navigation control method, device, terminal device and storage medium - Google Patents
navigation control method, device, terminal device and storage medium Download PDFInfo
- Publication number
- CN109032322A CN109032322A CN201810587851.9A CN201810587851A CN109032322A CN 109032322 A CN109032322 A CN 109032322A CN 201810587851 A CN201810587851 A CN 201810587851A CN 109032322 A CN109032322 A CN 109032322A
- Authority
- CN
- China
- Prior art keywords
- navigation
- terminal device
- display screen
- data information
- distance
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F1/00—Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
- G06F1/26—Power supply means, e.g. regulation thereof
- G06F1/32—Means for saving power
- G06F1/3203—Power management, i.e. event-based initiation of a power-saving mode
- G06F1/3206—Monitoring of events, devices or parameters that trigger a change in power modality
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F1/00—Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
- G06F1/26—Power supply means, e.g. regulation thereof
- G06F1/32—Means for saving power
- G06F1/3203—Power management, i.e. event-based initiation of a power-saving mode
- G06F1/3234—Power saving characterised by the action undertaken
- G06F1/3287—Power saving characterised by the action undertaken by switching off individual functional units in the computer system
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Computer Hardware Design (AREA)
- Computing Systems (AREA)
- Navigation (AREA)
Abstract
The embodiment of the present application discloses a kind of navigation control method, device, terminal device and storage medium, this method includes that navigation data information is obtained when detecting navigation feature operation, and the navigation data information includes the current location data of terminal device and the navigation path data by current location to navigation terminal;It determines whether the display screen of the terminal device is in bright screen state, if the display screen is in bright screen state, remaining navigation distance is determined according to the navigation data information;If the residue navigation distance is less than pre-determined distance threshold value, the navigation feature is closed, this programme significantly reduces the electric quantity consumption of terminal device, so that navigation feature is more perfect.
Description
Technical field
The invention relates to computer technology more particularly to a kind of navigation control method, device, terminal device and deposit
Storage media.
Background technique
With the raising of terminal device popularity, more and more users' using terminal equipment executes various function
Can be to meet self-demand, such as using terminal equipment reads text, viewing video, listens to music, plays game, wherein terminal is set
Standby navigation feature has great convenience for the user to go on a journey, user during driving to go to destination can according to navigation routine with
And navigation hint sound is driven.
In the prior art, after user setting navigation starting point and navigation terminal, navigation software starts to execute navigation feature,
It is excessively high to the electric quantity consumption of terminal device in navigation procedure so that the decline of terminal device electricity is very fast, when terminal device electricity compared with
Drawback is particularly evident when low, and there are Functional Design defects.
Summary of the invention
The present invention provides a kind of navigation control method, device, terminal device and storage mediums, reduce terminal device
Electric quantity consumption.
In a first aspect, the embodiment of the present application provides a kind of navigation control method, comprising:
Navigation data information is obtained when detecting navigation feature operation, the navigation data information includes working as terminal device
Front position data and by current location to navigation terminal navigation path data;
Determine whether the display screen of the terminal device is in bright screen state, if the display screen is in bright screen shape
State then determines remaining navigation distance according to the navigation data information;
If the residue navigation distance is less than pre-determined distance threshold value, the navigation feature is closed.
Second aspect, the embodiment of the present application also provides a kind of Navigation Control Units, comprising:
Data acquisition module obtains navigation data information, the navigation data letter when for detecting navigation feature operation
Breath includes the current location data of terminal device and the navigation path data by current location to navigation terminal;
Condition judgment module, for determining whether the display screen of the terminal device is in bright screen state, if described
Display screen is in bright screen state, then determines remaining navigation distance according to the navigation data information;
Closedown module is controlled, if being less than pre-determined distance threshold value for the remaining navigation distance, closes the navigation
Function.
The third aspect, the embodiment of the present application also provides a kind of terminal devices, comprising: processor, memory and storage
On a memory and the computer program that can run on a processor, the processor are realized such as when executing the computer program
Navigation control method described in the embodiment of the present application.
Fourth aspect, the embodiment of the present application also provides a kind of storage medium comprising terminal device executable instruction, institutes
Terminal device executable instruction is stated when being executed as terminal device processor for executing navigation control described in the embodiment of the present application
Method processed.
Navigation data information is obtained when in the present solution, detecting navigation feature operation, the navigation data information includes eventually
The current location data of end equipment and by current location to navigation terminal navigation path data, determine the terminal device
Whether display screen is in bright screen state, if the display screen is in bright screen state, according to the navigation data information
It determines residue navigation distance, if the residue navigation distance is less than pre-determined distance threshold value, closes the navigation feature, significantly
Reduce the electric quantity consumption of terminal device, so that navigation feature is more perfect.
Detailed description of the invention
By reading a detailed description of non-restrictive embodiments in the light of the attached drawings below, of the invention other
Feature, objects and advantages will become more apparent upon:
Fig. 1 is a kind of flow chart of navigation control method provided by the embodiments of the present application;
Fig. 2 is the flow chart of another navigation control method provided in an embodiment of the present invention;
Fig. 3 is the flow chart of another navigation control method provided by the embodiments of the present application;
Fig. 4 is the flow chart of another navigation control method provided by the embodiments of the present application;
Fig. 5 is the flow chart of another navigation control method provided by the embodiments of the present application;
Fig. 6 is the flow chart of another navigation control method provided by the embodiments of the present application;
Fig. 7 is a kind of structural block diagram of Navigation Control Unit provided by the embodiments of the present application;
Fig. 8 is a kind of structural schematic diagram of terminal device provided by the embodiments of the present application.
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 stated is used to explain the present invention, rather than limitation of the invention.It also should be noted that for the ease of retouching
It states, only the parts related to the present invention are shown in attached drawing rather than entire infrastructure.
Fig. 1 is a kind of flow chart of navigation control method provided by the embodiments of the present application, is applicable to terminal device
Navigation feature is controlled, and this method can be executed by terminal device provided by the embodiments of the present application, which leads
The mode that software and/or hardware can be used in boat control device is realized, as shown in Figure 1, concrete scheme provided in this embodiment is as follows:
Step S101, navigation data information is obtained when detecting navigation feature operation.
Wherein, navigation feature be terminal device in carry or installation navigation software (such as Amap, Baidu map,
Tencent's map etc.) execute navigation procedure when function.In general, setting of the navigation software according to user, the navigation according to setting is risen
Point and navigation terminal provide one or more guidance path for user and select for user, when user selects a bar navigation path,
Navigation feature of " the starting to navigate " button to open can be clicked accordingly, and after navigation feature is opened, navigation software can be corresponding
Navigation hint voice is issued, while terminal device shows that screen will show specific navigation screen to assist user to reach navigation eventually
Point.
In one embodiment, after detecting that navigation feature brings into operation, navigation data information is obtained accordingly, this is led
Boat data information can be obtained in real time or be obtained every preset time (such as 3 minutes, 5 minutes or 10 minutes) primary, wherein this is led
Boat data information include terminal device current location data and by current location to navigate terminal navigation path data,
In, current location data is the position of current driving point on guidance path at terminal device, and navigation path data is current
Position data is to the path between navigation terminal, and user is along the guidance path driving vehicle to reach navigation terminal.Optionally, should
Navigation data information can be obtained by the api interface of navigation software.
Step S102, determine whether the display screen of the terminal device is in bright screen state, if the display screen
In bright screen state, then remaining navigation distance is determined according to the navigation data information.
Terminal device by display screen with operation display interface or information for user's operation, reading, in user's operation or
During interacting with terminal device, display screen is in bright screen state to provide image information, as user and terminal device
When not needing to carry out display interface interaction, to save terminal power, the display screen of terminal device can be dimmed after several seconds and most
It is in OFF state eventually.
In one embodiment, after getting navigation data information, the corresponding display screen for determining terminal device is
It is no to be in bright screen state, specifically, can be by calling PowerManager service interface to obtain and sentence by taking Android system as an example
Whether disconnected display screen is in bright screen state.It is true according to navigation data information when determining that display screen is in bright screen state
Fixed residue navigation distance, wherein when navigation feature is opened, the display screen of terminal device can be constantly in bright screen state, when
When user switches current display interface display non-navigational function interface, display screen can automatically become OFF state after several seconds,
Navigation feature is in background operation state, only provides sound prompt function.Specifically, according to terminal device in navigation data information
Current location and the position to navigation terminal of navigation path planning determine remaining navigation distance, illustratively, navigation is complete
Journey distance be 20 kilometers, the remaining navigation distance determined in real time in different time points can be 10 kilometers, 5 kilometers, 1 kilometer,
300 meters etc..
If step S103, the described remaining navigation distance is less than pre-determined distance threshold value, the navigation feature is closed.
Wherein, which can also be manually set by program default setting by user, illustratively,
The pre-determined distance threshold value can be 2 kilometers, 1 kilometer etc..In one embodiment, if it is determined that go out remaining navigation distance and be less than in advance
If distance threshold, then the navigation feature is closed accordingly to save electricity.Optionally, capable of emitting while closing navigation feature
Voice prompting prompts user that will close navigation feature, if being not detected user in 3 seconds it is forbidden to close the finger of navigation feature
It enables, then closes the navigation feature.Wherein, the instruction for navigation feature that it is forbidden to close can be by knowing the voice data received
Not, if accordingly triggered comprising keywords such as " forbidding " in recognition result.After the navigation feature is closed, terminal is set
Standby display screen can be extinguished afterwards with the setting of original function in certain time (such as 5 seconds).
As shown in the above, when detecting that navigation feature operation and display screen are under bright screen state, if really
It is shorter to make remaining navigation distance, then closes navigation feature, accordingly to save the electricity of terminal device.
Fig. 2 is the flow chart of another navigation control method provided by the embodiments of the present application, optionally, is led in the acquisition
Before boat data information, further includes: whether the residual electric quantity for obtaining terminal device judges the residual electric quantity less than first
Default power threshold;If correspondingly, the acquisition navigation data information includes: the residual electric quantity less than the first default electricity
Magnitude then obtains navigation data information.As shown in Fig. 2, technical solution is specific as follows:
Step S201, when detecting navigation feature operation, the residual electric quantity of terminal device is obtained, judges the remaining electricity
Whether magnitude is less than the first default power threshold.
Residual electric quantity characterizes terminal device sustainable cruise duration, and such as completely lattice charge value is 100, as terminal is set
Standby use, residual electric quantity gradually decrease, when being reduced to 0, terminal device then automatic shutdown.It, can by taking Android system as an example
By the way that the event intentFilter of a monitoring ACTION_BATTERY_CHANGED is pre-created, and pass through registration
BroadcastReceiver object is monitored, and the battery status information parameter being passed to when passing through monitoring is to determine current end
The residual electric quantity of end equipment.Wherein, which can be 35.
If step S202, the described residual electric quantity obtains navigation data information less than the first default charge value.
It is corresponding to carry out navigation data letter when the residual electric quantity for determining terminal device is less than the first default charge value
The acquisition of breath is to execute subsequent navigation control method.
Step S203, determine whether the display screen of the terminal device is in bright screen state, if the display screen
In bright screen state, then remaining navigation distance is determined according to the navigation data information.
If step S204, the described remaining navigation distance is less than pre-determined distance threshold value, issues the voice closed and navigated and mention
Show, if the instruction that it is forbidden to close navigates is not detected in default prompt time, closes the navigation feature.
It can be seen from the above, being made whether to close the judgement of navigation feature, making in the lower situation of terminal device charge value
Obtaining progress electricity saving in the state of more needing to save electricity can then continue to hold in the higher situation of electricity remaining value
Row navigation feature does not impact original navigation feature.
Fig. 3 is the flow chart of another navigation control method provided by the embodiments of the present application, optionally, if the terminal
Whether the display screen of equipment is in OFF state, then judge the residual electric quantity less than the second default charge value, wherein institute
The second default charge value is stated less than the described first default charge value;If the residual electric quantity less than the second default charge value,
Then close the navigation feature.As shown in figure 3, technical solution is specific as follows:
Step S301, when detecting navigation feature operation, the residual electric quantity of terminal device is obtained, judges the remaining electricity
Whether magnitude is less than the first default power threshold.
If step S302, the described residual electric quantity obtains navigation data information less than the first default charge value.
Step S303, determine whether the display screen of the terminal device is in bright screen state, if the display screen
In bright screen state, then remaining navigation distance is determined according to the navigation data information.
If step S304, the described remaining navigation distance is less than pre-determined distance threshold value, judge that the residual electric quantity is
It is no less than the second default charge value.
Wherein, which is less than the above-mentioned first default power threshold, can be 10 or 20.
If step S305, the described residual electric quantity less than the second default charge value, issues the voice closed and navigated and mentions
Show, if the instruction that it is forbidden to close navigates is not detected in default prompt time, closes the navigation feature.
In general, navigation feature may operate at backstage, the mode for only providing voice prompting is navigated, and display screen can be protected
OFF state is held, when terminal device residual electric quantity is too low (the such as less than second default power threshold), only by running background
The navigation feature for carrying out voice prompting is equally closed, to save less remaining capacity.
It can be seen from the above, when detecting that terminal device remaining capacity is too low, the corresponding navigation function for closing running background
Can, voice prompting is cut off to guarantee that terminal device can there are part electricity to execute subsequent other functions, is avoided terminal and is set
It is standby to occur because the case where electric quantity consumption is 0 automatic shutdown caused by navigating.
On the basis of the above embodiments, optionally, if the residue navigation distance be greater than or equal to it is described it is default away from
From threshold value, then the display screen for controlling the terminal device is in OFF state, and navigation feature is switched to running background, is only mentioned
For voice prompt operation, avoids terminal device and show electric quantity consumption caused by screen.
Fig. 4 is the flow chart of another navigation control method provided by the embodiments of the present application, optionally, in the control institute
The display screen for stating terminal device is in front of OFF state, further includes: obtains the integrated gravity sensor of the terminal device
The sensing data of acquisition;The orientation information that the display screen is determined according to the sensing data, if the orientation information is full
The default regularization condition of foot, then control the display screen and be in OFF state.As shown in figure 4, technical solution is specific as follows:
Step S401, navigation data information is obtained when detecting navigation feature operation.
Step S402, determine whether the display screen of the terminal device is in bright screen state, if the display screen
In bright screen state, then remaining navigation distance is determined according to the navigation data information.
If step S403, the described remaining navigation distance is greater than or equal to the pre-determined distance threshold value, the terminal is obtained
The sensing data of the gravity sensor acquisition of integration of equipments.
Step S404, the orientation information that the display screen is determined according to the sensing data, if the orientation information
Meet default regularization condition, then controls the display screen and be in OFF state.
Wherein, which can be the display screen of terminal device downward.Specifically, being adopted by gravity sensor
The sensing data collected (is set with the angle for respectively obtaining terminal device x-axis, y-axis and z-axis in 3 d space coordinate system with terminal
Just forward, screen direction side is that y-axis is positive for standby vertical placement, is from bottom to top z-axis forward direction, from left to right just for x-axis
To), illustratively, when z-axis angle is 0 ° to -90 °, determines that terminal device shows screen downward, meet default regularization condition.
It can be seen from the above, when determining display screen downward, when user carries out navigating interactive not by display screen, phase
The extinguishing display screen answered is to save terminal device electricity.
Fig. 5 is the flow chart of another navigation control method provided by the embodiments of the present application, optionally, if the residue
Navigation distance is greater than or equal to pre-determined distance threshold value, then branch road number is determined according to the navigation path data, if the trouble
Road number is less than default branch road number, then closes the navigation feature.As shown in figure 5, technical solution is specific as follows:
Step S501, navigation data information is obtained when detecting navigation feature operation.
Step S502, determine whether the display screen of the terminal device is in bright screen state, if the display screen
In bright screen state, then remaining navigation distance is determined according to the navigation data information.
If step S503, the described remaining navigation distance is greater than or equal to pre-determined distance threshold value, according to the navigation road
Diameter data determine branch road number.
Wherein, branch road number can be vehicle in guidance path need to turn 90 ° or more crossing number, it is exemplary
, it needs to be needed from current location point to navigation terminal by 10 crossings in guidance path, wherein having 3 crossings is respectively a left side
Turn, turn right and turn around, then the corresponding branch road number determined accordingly is 3.
If step S504, the described branch road number is less than default branch road number, the navigation feature is closed.
Wherein, which can be 3 or 5, if it is determined that need to pass through when going out current arrival navigation terminal
Branch road number is less than the predetermined number, then closes the navigation feature accordingly.
It can be seen from the above, the shutoff operation of navigation feature is executed for simple route, to save the power consumption of terminal device,
Improve the cruising ability of terminal device.
Fig. 6 is the flow chart of another navigation control method provided by the embodiments of the present application, optionally, if the residue
Navigation distance is greater than or equal to pre-determined distance threshold value, then determines whether according to the navigation path data in highway
Driving status, if it is, closing the navigation feature.As shown in fig. 6, technical solution is specific as follows:
Step S601, navigation data information is obtained when detecting navigation feature operation.
Step S602, determine whether the display screen of the terminal device is in bright screen state, if the display screen
In bright screen state, then remaining navigation distance is determined according to the navigation data information.
If step S603, the described remaining navigation distance is greater than or equal to pre-determined distance threshold value, according to the navigation road
Diameter data are determined whether in highway driving state.
Wherein, the state that vehicle travels on expressway is defined as highway driving state, by guidance path with
Judge whether current vehicle travels in highway.
If step S604, being currently at highway driving state, the navigation feature is closed, is passing through GPS number
According to determine current location be not highway when, then be again turned on navigation feature.
If it is determined that vehicle driving in highway, then closes the navigation feature, to save electricity, when detecting vehicle
After sailing out of high speed, it is again turned on navigation feature again accordingly to guarantee that vehicle can be sailed normally up to navigation terminal.
It can be seen from the above, the shutoff operation of navigation feature is executed for high speed route, to save the power consumption of terminal device,
Improve the cruising ability of terminal device.
Fig. 7 is a kind of structural block diagram of Navigation Control Unit provided by the embodiments of the present application, and the device is above-mentioned for executing
The navigation control method that embodiment provides, has the corresponding functional module of execution method and beneficial effect.As shown in fig. 7, the dress
It sets and specifically includes: data acquisition module 101, condition judgment module 102 and control closedown module 103, wherein
Data acquisition module 101 obtains navigation data information, the navigation data when for detecting navigation feature operation
Information includes the current location data of terminal device and the navigation path data by current location to navigation terminal.
Wherein, navigation feature be terminal device in carry or installation navigation software (such as Amap, Baidu map,
Tencent's map etc.) execute navigation procedure when function.In general, setting of the navigation software according to user, the navigation according to setting is risen
Point and navigation terminal provide one or more guidance path for user and select for user, when user selects a bar navigation path,
Navigation feature of " the starting to navigate " button to open can be clicked accordingly, and after navigation feature is opened, navigation software can be corresponding
Navigation hint voice is issued, while terminal device shows that screen will show specific navigation screen to assist user to reach navigation eventually
Point.
In one embodiment, after detecting that navigation feature brings into operation, navigation data information is obtained accordingly, this is led
Boat data information can be obtained in real time or be obtained every preset time (such as 3 minutes, 5 minutes or 10 minutes) primary, wherein this is led
Boat data information include terminal device current location data and by current location to navigate terminal navigation path data,
In, current location data is the position of current driving point on guidance path at terminal device, and navigation path data is current
Position data is to the path between navigation terminal, and user is along the guidance path driving vehicle to reach navigation terminal.Optionally, should
Navigation data information can be obtained by the api interface of navigation software.
Condition judgment module 102, for determining whether the display screen of the terminal device is in bright screen state, if institute
It states display screen and is in bright screen state, then remaining navigation distance is determined according to the navigation data information.
Terminal device by display screen with operation display interface or information for user's operation, reading, in user's operation or
During interacting with terminal device, display screen is in bright screen state to provide image information, as user and terminal device
When not needing to carry out display interface interaction, to save terminal power, the display screen of terminal device can be dimmed after several seconds and most
It is in OFF state eventually.
In one embodiment, after getting navigation data information, the corresponding display screen for determining terminal device is
It is no to be in bright screen state, specifically, can be by calling PowerManager service interface to obtain and sentence by taking Android system as an example
Whether disconnected display screen is in bright screen state.It is true according to navigation data information when determining that display screen is in bright screen state
Fixed residue navigation distance, wherein when navigation feature is opened, the display screen of terminal device can be constantly in bright screen state, when
When user switches current display interface display non-navigational function interface, display screen can automatically become OFF state after several seconds,
Navigation feature is in background operation state, only provides sound prompt function.Specifically, according to terminal device in navigation data information
Current location and the position to navigation terminal of navigation path planning determine remaining navigation distance, illustratively, navigation is complete
Journey distance be 20 kilometers, the remaining navigation distance determined in real time in different time points can be 10 kilometers, 5 kilometers, 1 kilometer,
300 meters etc..
Closedown module 103 is controlled, if being less than pre-determined distance threshold value for the remaining navigation distance, is led described in closing
Boat function.
Wherein, which can also be manually set by program default setting by user, illustratively,
The pre-determined distance threshold value can be 2 kilometers, 1 kilometer etc..In one embodiment, if it is determined that go out remaining navigation distance and be less than in advance
If distance threshold, then the navigation feature is closed accordingly to save electricity.Optionally, capable of emitting while closing navigation feature
Voice prompting prompts user that will close navigation feature, if being not detected user in 3 seconds it is forbidden to close the finger of navigation feature
It enables, then closes the navigation feature.Wherein, the instruction for navigation feature that it is forbidden to close can be by knowing the voice data received
Not, if accordingly triggered comprising keywords such as " forbidding " in recognition result.After the navigation feature is closed, terminal is set
Standby display screen can be extinguished afterwards with the setting of original function in certain time (such as 5 seconds).
As shown in the above, when detecting that navigation feature operation and display screen are under bright screen state, if really
It is shorter to make remaining navigation distance, then closes navigation feature, accordingly to save the electricity of terminal device.
In a possible embodiment, before the acquisition navigation data information, further includes:
Whether the residual electric quantity for obtaining terminal device, judge the residual electric quantity less than the first default power threshold;
Correspondingly, the acquisition navigation data information includes:
If the residual electric quantity obtains navigation data information less than the first default charge value.
In a possible embodiment, if the display screen of the terminal device is in OFF state, judge institute
Residual electric quantity is stated whether less than the second default charge value, wherein the second default charge value is less than the described first default electricity
Magnitude;
If the residual electric quantity closes the navigation feature less than the second default charge value.
In a possible embodiment, if the residue navigation distance is greater than or equal to the pre-determined distance threshold value,
The display screen for then controlling the terminal device is in OFF state.
In a possible embodiment, the display screen of the control terminal device be in OFF state it
Before, further includes:
Obtain the sensing data of the integrated gravity sensor acquisition of the terminal device;
The orientation information of the display screen is determined according to the sensing data, if the orientation information meets default adjust
Shelf-regulating Conditions then control the display screen and are in OFF state.
In a possible embodiment, if the residue navigation distance is greater than or equal to pre-determined distance threshold value, according to
Branch road number is determined according to the navigation path data, if the branch road number is less than default branch road number, is led described in closing
Boat function.
In a possible embodiment, if the residue navigation distance is greater than or equal to pre-determined distance threshold value, according to
It determines whether according to the navigation path data in highway driving state, if it is, closing the navigation feature.
The present embodiment provides a kind of terminal device on the basis of the various embodiments described above, and Fig. 8 is that the embodiment of the present application mentions
The structural schematic diagram of a kind of terminal device supplied, as shown in figure 8, the terminal device 200 includes: memory 201, processor
(Central Processing Unit, CPU) 202, Peripheral Interface 203, RF (Radio Frequency, radio frequency) circuit 205,
Voicefrequency circuit 206, loudspeaker 211, power management chip 208, input/output (I/O) subsystem 209, touch screen 212, other
Input/control devices 210 and outside port 204, these components are led to by one or more communication bus or signal wire 207
Letter.
It should be understood that graphic terminal 200 is only an example of terminal device, and terminal device 200
It can have than shown in the drawings more or less component, can combine two or more components, or can be with
It is configured with different components.Various parts shown in the drawings can include one or more signal processings and/or dedicated
It is realized in the combination of hardware, software or hardware and software including integrated circuit.
Just the terminal device of the rights management provided in this embodiment for more opening application is described in detail below, should
Terminal device is by taking smart phone as an example.
Memory 201, the memory 201 can be accessed by CPU202, Peripheral Interface 203 etc., and the memory 201 can
It can also include nonvolatile memory to include high-speed random access memory, such as one or more disk memory,
Flush memory device or other volatile solid-state parts.
The peripheral hardware that outputs and inputs of equipment can be connected to CPU202 and deposited by Peripheral Interface 203, the Peripheral Interface 203
Reservoir 201.
I/O subsystem 209, the I/O subsystem 209 can be by the input/output peripherals in equipment, such as touch screen 212
With other input/control devicess 210, it is connected to Peripheral Interface 203.I/O subsystem 209 may include 2091 He of display controller
For controlling one or more input controllers 2092 of other input/control devicess 210.Wherein, one or more input controls
Device 2092 processed receives electric signal from other input/control devicess 210 or sends electric signal to other input/control devicess 210,
Other input/control devicess 210 may include physical button (push button, rocker buttons etc.), dial, slide switch, behaviour
Vertical pole clicks idler wheel.It is worth noting that input controller 2092 can with it is following any one connect: keyboard, infrared port,
The indicating equipment of USB interface and such as mouse.
Touch screen 212, the touch screen 212 are the input interface and output interface between user terminal and user, can
It is shown to user depending on output, visual output may include figure, text, icon, video etc..
Display controller 2091 in I/O subsystem 209 receives electric signal from touch screen 212 or sends out to touch screen 212
Electric signals.Touch screen 212 detects the contact on touch screen, and the contact that display controller 2091 will test is converted to and is shown
The interaction of user interface object on touch screen 212, i.e. realization human-computer interaction, the user interface being shown on touch screen 212
Object can be the icon of running game, the icon for being networked to corresponding network etc..It is worth noting that equipment can also include light
Mouse, light mouse are the extensions for the touch sensitive surface for not showing the touch sensitive surface visually exported, or formed by touch screen.
RF circuit 205 is mainly used for establishing the communication of mobile phone Yu wireless network (i.e. network side), realizes mobile phone and wireless network
The data receiver of network and transmission.Such as transmitting-receiving short message, Email etc..Specifically, RF circuit 205 receives and sends RF letter
Number, RF signal is also referred to as electromagnetic signal, and RF circuit 205 converts electrical signals to electromagnetic signal or electromagnetic signal is converted to telecommunications
Number, and communicated by the electromagnetic signal with communication network and other equipment.RF circuit 205 may include for executing
The known circuit of these functions comprising but it is not limited to antenna system, RF transceiver, one or more amplifiers, tuner, one
A or multiple oscillators, digital signal processor, CODEC (COder-DECoder, coder) chipset, user identifier mould
Block (Subscriber Identity Module, SIM) etc..
Voicefrequency circuit 206 is mainly used for receiving audio data from Peripheral Interface 203, which is converted to telecommunications
Number, and the electric signal is sent to loudspeaker 211.
Loudspeaker 211 is reduced to sound for mobile phone to be passed through RF circuit 205 from the received voice signal of wireless network
And the sound is played to user.
Power management chip 208, the hardware for being connected by CPU202, I/O subsystem and Peripheral Interface are powered
And power management.
The executable present invention of the Navigation Control Unit and terminal device of the terminal device provided in above-described embodiment is any real
The navigation control method for applying terminal device provided by example has and executes the corresponding functional module of this method and beneficial effect.Not
The technical detail of detailed description in the above-described embodiments, reference can be made to the navigation of terminal device provided by any embodiment of the invention
Control method.
The embodiment of the present application also provides a kind of storage medium comprising terminal device executable instruction, and the terminal device can
It executes instruction when being executed by terminal device processor for executing a kind of navigation control method, this method comprises:
Navigation data information is obtained when detecting navigation feature operation, the navigation data information includes working as terminal device
Front position data and by current location to navigation terminal navigation path data;
Determine whether the display screen of the terminal device is in bright screen state, if the display screen is in bright screen shape
State then determines remaining navigation distance according to the navigation data information;
If the residue navigation distance is less than pre-determined distance threshold value, the navigation feature is closed.
In a possible embodiment, before the acquisition navigation data information, further includes:
Whether the residual electric quantity for obtaining terminal device, judge the residual electric quantity less than the first default power threshold;
Correspondingly, the acquisition navigation data information includes:
If the residual electric quantity obtains navigation data information less than the first default charge value.
In a possible embodiment, if the display screen of the terminal device is in OFF state, judge institute
Residual electric quantity is stated whether less than the second default charge value, wherein the second default charge value is less than the described first default electricity
Magnitude;
If the residual electric quantity closes the navigation feature less than the second default charge value.
In a possible embodiment, if the residue navigation distance is greater than or equal to the pre-determined distance threshold value,
The display screen for then controlling the terminal device is in OFF state.
In a possible embodiment, the display screen of the control terminal device be in OFF state it
Before, further includes:
Obtain the sensing data of the integrated gravity sensor acquisition of the terminal device;
The orientation information of the display screen is determined according to the sensing data, if the orientation information meets default adjust
Shelf-regulating Conditions then control the display screen and are in OFF state.
In a possible embodiment, if the residue navigation distance is greater than or equal to pre-determined distance threshold value, according to
Branch road number is determined according to the navigation path data, if the branch road number is less than default branch road number, is led described in closing
Boat function.
In a possible embodiment, if the residue navigation distance is greater than or equal to pre-determined distance threshold value, according to
It determines whether according to the navigation path data in highway driving state, if it is, closing the navigation feature.
Storage medium --- any various types of memory devices or storage equipment.Term " storage medium " is intended to wrap
It includes: install medium, such as CD-ROM, floppy disk or magnetic tape equipment;Computer system memory or random access memory, such as
DRAM, DDR RAM, SRAM, EDO RAM, blue Bath (Rambus) RAM etc.;Nonvolatile memory, such as flash memory, magnetic medium
(such as hard disk or optical storage);Register or the memory component of other similar types etc..Storage medium can further include other
Memory of type or combinations thereof.In addition, storage medium can be located at program in the first computer system being wherein performed,
Or can be located in different second computer systems, second computer system is connected to the by network (such as internet)
One computer system.Second computer system can provide program instruction to the first computer for executing." storage is situated between term
Matter " may include may reside in different location (such as by network connection different computer systems in) two or
More storage mediums.Storage medium can store the program instruction that can be performed by one or more processors and (such as implement
For computer program).
Certainly, a kind of storage medium comprising computer executable instructions, computer provided by the embodiment of the present application
The navigation control method operation that executable instruction is not limited to the described above, can also be performed provided by any embodiment of the invention
Relevant operation in navigation control method.
Note that the above is only a better embodiment of the present invention and the applied technical principle.It will be appreciated by those skilled in the art that
The invention is not limited to the specific embodiments described herein, be able to carry out for a person skilled in the art it is various it is apparent variation,
It readjusts and substitutes without departing from protection scope of the present invention.Therefore, although being carried out by above embodiments to the present invention
It is described in further detail, but the present invention is not limited to the above embodiments only, without departing from the inventive concept, also
It may include more other equivalent embodiments, and the scope of the invention is determined by the scope of the appended claims.
Claims (10)
1. navigation control method characterized by comprising
Navigation data information is obtained when detecting navigation feature operation, the navigation data information includes the present bit of terminal device
Set data and the navigation path data by current location to navigation terminal;
Determine whether the display screen of the terminal device is in bright screen state, if the display screen is in bright screen state,
Remaining navigation distance is then determined according to the navigation data information;
If the residue navigation distance is less than pre-determined distance threshold value, the navigation feature is closed.
2. the method according to claim 1, wherein before the acquisition navigation data information, further includes:
Whether the residual electric quantity for obtaining terminal device, judge the residual electric quantity less than the first default power threshold;
Correspondingly, the acquisition navigation data information includes:
If the residual electric quantity obtains navigation data information less than the first default charge value.
3. according to the method described in claim 2, it is characterized in that, if the display screen of the terminal device, which is in, extinguishes shape
Whether state then judges the residual electric quantity less than the second default charge value, wherein the second default charge value is less than described
First default charge value;
If the residual electric quantity closes the navigation feature less than the second default charge value.
4. the method according to claim 1, wherein if the residue navigation distance is more than or equal to described pre-
If distance threshold, then the display screen for controlling the terminal device is in OFF state.
5. according to the method described in claim 4, it is characterized in that, the display screen in the control terminal device is in
Before OFF state, further includes:
Obtain the sensing data of the integrated gravity sensor acquisition of the terminal device;
The orientation information of the display screen is determined according to the sensing data, if the orientation information meets default adjustment item
Part then controls the display screen and is in OFF state.
6. method according to any one of claims 1-5, which is characterized in that if it is described residue navigation distance be greater than or
Equal to pre-determined distance threshold value, then branch road number is determined according to the navigation path data, preset if the branch road number is less than
Branch road number then closes the navigation feature.
7. method according to any one of claims 1-5, which is characterized in that if it is described residue navigation distance be greater than or
Equal to pre-determined distance threshold value, then determine whether according to the navigation path data in highway driving state, if
It is then to close the navigation feature.
8. Navigation Control Unit characterized by comprising
Data acquisition module obtains navigation data information, the navigation data information packet when for detecting navigation feature operation
Include the current location data of terminal device and the navigation path data by current location to navigation terminal;
Condition judgment module, for determining whether the display screen of the terminal device is in bright screen state, if the display
Screen is in bright screen state, then determines remaining navigation distance according to the navigation data information;
Closedown module is controlled, if being less than pre-determined distance threshold value for the remaining navigation distance, closes the navigation feature.
9. a kind of terminal device, comprising: processor, memory and storage are on a memory and the meter that can run on a processor
Calculation machine program, which is characterized in that the processor is realized when executing the computer program such as any one of claim 1-7 institute
The navigation control method stated.
10. a kind of storage medium comprising terminal device executable instruction, which is characterized in that the terminal device executable instruction
When being executed by terminal device processor for executing such as navigation control method of any of claims 1-7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810587851.9A CN109032322B (en) | 2018-06-08 | 2018-06-08 | Navigation control method, navigation control device, terminal equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810587851.9A CN109032322B (en) | 2018-06-08 | 2018-06-08 | Navigation control method, navigation control device, terminal equipment and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109032322A true CN109032322A (en) | 2018-12-18 |
CN109032322B CN109032322B (en) | 2020-07-21 |
Family
ID=64612492
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810587851.9A Active CN109032322B (en) | 2018-06-08 | 2018-06-08 | Navigation control method, navigation control device, terminal equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109032322B (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112327817A (en) * | 2019-07-17 | 2021-02-05 | 阿尔派株式会社 | Portable terminal and path guidance control method for portable terminal |
CN113670321A (en) * | 2021-07-14 | 2021-11-19 | 维沃移动通信(杭州)有限公司 | Navigation mode adjusting method and device and electronic equipment |
Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101241692A (en) * | 2007-02-08 | 2008-08-13 | 佛山市顺德区顺达电脑厂有限公司 | Power-saving control system and method for display panel |
TW201005261A (en) * | 2008-07-30 | 2010-02-01 | Arima Communication Corp | Power-saving method for GPS satellite navigation device |
CN101641567A (en) * | 2007-01-10 | 2010-02-03 | 通腾科技股份有限公司 | A method of conserving power in a navigation device and a power conserving navigation device |
US20150312863A1 (en) * | 2013-02-05 | 2015-10-29 | Nokia Technologies Oy | Method and apparatus for power saving scheme in a location sensor |
CN105388503A (en) * | 2015-11-20 | 2016-03-09 | 小米科技有限责任公司 | Navigation method and device |
CN105491241A (en) * | 2016-01-13 | 2016-04-13 | 广东欧珀移动通信有限公司 | Navigation method, navigation device and mobile terminal integrated with navigation device |
CN105674977A (en) * | 2016-01-06 | 2016-06-15 | 华为技术有限公司 | Navigation device and navigation method |
CN106604373A (en) * | 2016-11-28 | 2017-04-26 | 深圳市金立通信设备有限公司 | Method for managing power consumption and terminal |
CN107367742A (en) * | 2016-05-12 | 2017-11-21 | 北京搜狗科技发展有限公司 | A kind of electricity saving method based on navigation, device and electronic equipment |
CN107610674A (en) * | 2017-08-25 | 2018-01-19 | 维沃移动通信有限公司 | Screen luminance adjustment method and mobile terminal in a kind of navigation procedure |
CN108055642A (en) * | 2017-12-13 | 2018-05-18 | 广东欧珀移动通信有限公司 | Control method, device, storage medium and the mobile terminal of locating module |
-
2018
- 2018-06-08 CN CN201810587851.9A patent/CN109032322B/en active Active
Patent Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101641567A (en) * | 2007-01-10 | 2010-02-03 | 通腾科技股份有限公司 | A method of conserving power in a navigation device and a power conserving navigation device |
CN101241692A (en) * | 2007-02-08 | 2008-08-13 | 佛山市顺德区顺达电脑厂有限公司 | Power-saving control system and method for display panel |
TW201005261A (en) * | 2008-07-30 | 2010-02-01 | Arima Communication Corp | Power-saving method for GPS satellite navigation device |
US20150312863A1 (en) * | 2013-02-05 | 2015-10-29 | Nokia Technologies Oy | Method and apparatus for power saving scheme in a location sensor |
CN105388503A (en) * | 2015-11-20 | 2016-03-09 | 小米科技有限责任公司 | Navigation method and device |
CN105674977A (en) * | 2016-01-06 | 2016-06-15 | 华为技术有限公司 | Navigation device and navigation method |
CN105491241A (en) * | 2016-01-13 | 2016-04-13 | 广东欧珀移动通信有限公司 | Navigation method, navigation device and mobile terminal integrated with navigation device |
CN107367742A (en) * | 2016-05-12 | 2017-11-21 | 北京搜狗科技发展有限公司 | A kind of electricity saving method based on navigation, device and electronic equipment |
CN106604373A (en) * | 2016-11-28 | 2017-04-26 | 深圳市金立通信设备有限公司 | Method for managing power consumption and terminal |
CN107610674A (en) * | 2017-08-25 | 2018-01-19 | 维沃移动通信有限公司 | Screen luminance adjustment method and mobile terminal in a kind of navigation procedure |
CN108055642A (en) * | 2017-12-13 | 2018-05-18 | 广东欧珀移动通信有限公司 | Control method, device, storage medium and the mobile terminal of locating module |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112327817A (en) * | 2019-07-17 | 2021-02-05 | 阿尔派株式会社 | Portable terminal and path guidance control method for portable terminal |
CN112327817B (en) * | 2019-07-17 | 2024-04-30 | 阿尔派株式会社 | Portable terminal and route guidance control method for portable terminal |
CN113670321A (en) * | 2021-07-14 | 2021-11-19 | 维沃移动通信(杭州)有限公司 | Navigation mode adjusting method and device and electronic equipment |
Also Published As
Publication number | Publication date |
---|---|
CN109032322B (en) | 2020-07-21 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10310662B2 (en) | Rendering across terminals | |
EP2750363B1 (en) | Mobile terminal | |
WO2017117979A1 (en) | Navigation device, and navigation method | |
KR101495190B1 (en) | Image display device and operation method of the image display device | |
KR20130136660A (en) | Mobile terminal and method for controlling of the same | |
CN103493005A (en) | Image processing device and method for controlling image processing device | |
CN108627176B (en) | Screen brightness adjusting method and related product | |
KR20110137190A (en) | Method for power management of mobile communication terminal and mobile communication terminal using this method | |
CN109147371B (en) | Driving route determining method and device and computer equipment | |
KR20110062986A (en) | Mobile terminal and method of controlling the same | |
US20220116758A1 (en) | Service invoking method and apparatus | |
WO2019127554A1 (en) | Vehicle-networking-based prompting method and apparatus | |
WO2018040844A1 (en) | Method, device, and apparatus for voice control based on vehicle multimedia apparatus | |
US10262648B2 (en) | Method for controlling interference in audio service and terminal | |
CN109032322A (en) | navigation control method, device, terminal device and storage medium | |
CN108055635B (en) | Position information acquisition method and device, storage medium and terminal | |
KR20100037489A (en) | Navigation apparatus and method thereof | |
CN111491292B (en) | Internet access mode adjusting method and device, storage medium and mobile terminal | |
CN110231049B (en) | Navigation route display method, device, terminal and storage medium | |
CN106527863A (en) | Protective cover based interface display method and apparatus | |
US10050660B2 (en) | Electronic device with radio function and operating method thereof | |
KR20100117439A (en) | Control method of mobile terminal and apparatus thereof | |
KR101513633B1 (en) | Call control method for telematics terminal and apparatus thereof | |
KR20100079091A (en) | Navigation system and method thereof | |
KR101622729B1 (en) | Information providing appratus and method thereof |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |