CN113822643A - Method and device for setting travel reminding - Google Patents

Method and device for setting travel reminding Download PDF

Info

Publication number
CN113822643A
CN113822643A CN202110961740.1A CN202110961740A CN113822643A CN 113822643 A CN113822643 A CN 113822643A CN 202110961740 A CN202110961740 A CN 202110961740A CN 113822643 A CN113822643 A CN 113822643A
Authority
CN
China
Prior art keywords
time
travel
option
reminding
setting
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
CN202110961740.1A
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.)
Honor Device Co Ltd
Original Assignee
Honor Device Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Honor Device Co Ltd filed Critical Honor Device Co Ltd
Priority to CN202110961740.1A priority Critical patent/CN113822643A/en
Publication of CN113822643A publication Critical patent/CN113822643A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/10Office automation; Time management
    • G06Q10/109Time management, e.g. calendars, reminders, meetings or time accounting
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/953Querying, e.g. by the use of web search engines
    • G06F16/9537Spatial or temporal dependent retrieval, e.g. spatiotemporal queries
    • GPHYSICS
    • G08SIGNALLING
    • G08BSIGNALLING OR CALLING SYSTEMS; ORDER TELEGRAPHS; ALARM SYSTEMS
    • G08B21/00Alarms responsive to a single specified undesired or abnormal condition and not otherwise provided for
    • G08B21/18Status alarms
    • G08B21/24Reminder alarms, e.g. anti-loss alarms

Landscapes

  • Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Physics & Mathematics (AREA)
  • Human Resources & Organizations (AREA)
  • Databases & Information Systems (AREA)
  • Theoretical Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Data Mining & Analysis (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Strategic Management (AREA)
  • Operations Research (AREA)
  • Tourism & Hospitality (AREA)
  • General Business, Economics & Management (AREA)
  • Quality & Reliability (AREA)
  • Marketing (AREA)
  • Economics (AREA)
  • General Engineering & Computer Science (AREA)
  • Emergency Management (AREA)
  • Telephone Function (AREA)

Abstract

The application relates to the field of terminals, and provides a method and a device for setting travel reminding, which can solve the problem that the reminding time of a travel alarm clock is inaccurate. The method comprises the following steps: acquiring a first operation, wherein the first operation is used for setting a trip reminder; displaying a setting interface according to the first operation, wherein the setting interface comprises a path option and an arrival time option corresponding to the travel reminder; acquiring a second operation, wherein the second operation is used for setting the path option as a target path and setting the arrival time option as a target time; and setting the trip reminding according to the second operation, wherein the reminding time of the trip reminding is earlier than the target time, and the time difference between the reminding time and the target time is positively correlated with the time length required for completing the target path.

Description

Method and device for setting travel reminding
Technical Field
The application relates to the field of terminals, in particular to a method and a device for setting travel reminding.
Background
The reminding function is an interactive function commonly possessed by the electronic device, for example, after a user sets a reminding time of an alarm clock on the electronic device, the alarm clock starts timing, and the user is reminded to execute a task to be processed at the reminding time in a mode of sound, vibration or screen lighting.
The completion time of some tasks has large uncertainty, for example, for a travel task, the time to reach a destination has large uncertainty due to the influence of traffic, weather and other factors; if the reminding time set by the user is too early, time waste can be caused; if the reminding time set by the user is too late, the user will be late. Therefore, how to set the travel reminder is a problem to be solved at present.
Disclosure of Invention
The application provides a method and a device for setting travel reminding, which can solve the problem that the reminding time of the travel reminding is inaccurate.
The first method provides a method for setting a travel reminder, which comprises the following steps: acquiring a first operation, wherein the first operation is used for setting a trip reminder; displaying a setting interface according to the first operation, wherein the setting interface comprises a path option and an arrival time option corresponding to the travel reminder; acquiring a second operation, wherein the second operation is used for setting the path option as a target path and setting the arrival time option as a target time; and setting the trip reminding according to the second operation, wherein the reminding time of the trip reminding is earlier than the target time, and the time difference between the reminding time and the target time is positively correlated with the time length required for completing the target path.
The above method may be performed by a terminal device. When the user sets the travel reminder, a target path associated with the travel reminder needs to be set first, then, the terminal device predicts the time length required for completing the target path, and sets the reminding time based on the time length. If the time required for completing the target path is longer, the terminal equipment can set earlier reminding time; if the time required for completing the target path is short, the terminal device can set a later reminding time. Therefore, the method can provide accurate travel reminding for the user and improve user experience.
Optionally, the setting interface further includes: a travel mode option and a reminding time option associated with the travel mode option; the setting of the travel reminder according to the second operation includes: and setting the travel prompt according to a third operation and the second operation, wherein the third operation is used for setting the travel mode option and the prompt time option.
The travel mode options can comprise self-driving or public transport, and after the user sets the travel mode options, the terminal equipment can more accurately predict the time length required by completing the target path, so that the user experience is improved. After the terminal equipment determines the reminding time based on the trip mode set by the user, the reminding time can be displayed at the reminding time option, and the user can adjust the reminding time in the reminding time option by himself, so that the reminding time of the trip reminding can better meet the personal requirements of the user.
Optionally, the setting interface further includes at least one of the following information:
travel time associated with the travel mode option, weather associated with the path option, and road conditions associated with the path option.
The more detailed travel information is beneficial to more accurately predicting the time required by completing the target path through travel reminding, and the user experience is improved.
Optionally, the method further comprises: when the setting interface comprises weather associated with the path option, acquiring the weather associated with the path option through a weather API; and when the setting interface comprises the road condition associated with the path option, acquiring the road condition associated with the path option through a map API.
Optionally, before the obtaining the first operation, the method further includes: obtaining a fourth operation, wherein the fourth operation is used for selecting the travel reminder from a plurality of reminding modes; and displaying an authorization interface according to the fourth operation, wherein the authorization interface comprises permission options required for setting the trip reminder.
When the user needs to set the trip reminder, the terminal equipment grants the trip reminder with the permission of obtaining user information (such as positioning information and memo information), so that the risk of user information leakage is reduced.
Optionally, the permission options include at least one of the following options: a weather permission option, a road condition permission option, a positioning permission option, a calendar permission option, and a memo permission option.
More authorities are favorable to the trip to remind and acquire more detailed trip information, and the trip is reminded and can be based on the travel information of detail accurately to predict the required duration of accomplishing the target route, improves user experience.
Optionally, the method further comprises: acquiring weather information and/or road condition information of the target path before the travel reminding is overtime; and when the weather information and/or the road condition information of the target path are/is changed, prompting the user that the travel reminder is updated.
When the weather information and/or the road condition information of the target path change, the time required by the user to finish the target path also changes, the travel reminder calculates the time required by finishing the target path according to the currently acquired weather information and/or road condition information, updates the travel reminder according to the currently required time for finishing the target path, and reminds the user to adjust the travel plan, so that the user is prevented from arriving late or getting out too early.
Optionally, the obtaining weather and road conditions of the target path includes: the method comprises the steps of obtaining weather and road conditions of a target path at a first moment, wherein the time difference between the first moment and the target moment is N times of the time required for completing the target path, and N is a positive number.
Optionally, the method further comprises: and prompting a user to close the travel reminder when the current position is detected to be located at the destination of the target path before the travel reminder is overtime.
In some scenarios, the user has reached the destination in advance, and the user may no longer need travel reminders. The trip reminding detects that the user can be reminded to close the trip reminding after the user is located at the destination, and the user is prevented from being disturbed by the trip reminding, so that the user experience is improved.
Optionally, the method further comprises: and after the travel reminding is overtime, prompting a user to close the travel reminding when detecting that the current position is located at the departure place of the target path.
In some scenarios, the user cancels the travel plan, and thus, the user remains at the departure location after the travel reminder times out. Under the condition, the trip reminding can remind the user to close the trip reminding, and the user is prevented from being disturbed by the trip reminding, so that the user experience is improved.
Optionally, the method further comprises: when the operation of closing the travel reminder is not acquired, the travel reminder is reserved; or when the operation of closing the travel reminder is obtained, closing the travel reminder.
In some scenarios, the user may go to and fro the starting place and the destination many times, and therefore, the user is located at the destination and does not represent that the user does not need a travel reminder any more, and the user is still located at the starting place after the reminder is overtime and does not represent that the user cancels the travel plan. The trip reminding can determine whether to close the trip reminding according to the operation of the user, so that the trip reminding meets the personal requirements of the user, and the user experience is improved.
Optionally, the positive correlation between the time difference between the reminding time and the target time and the time duration required for completing the target path includes: and the time difference between the reminding time and the target time is greater than or equal to the time length required for completing the target path.
And the time length required by the target path is obtained by automatically calculating by the map API according to the travel mode options set by the user.
The setting interface automatically presents the reminding time, the reminding time is obtained by automatic calculation according to the time length required by the target path provided by the map API and the target time, and the reminding time can be adjusted by a user.
Optionally, the travel reminder is a reminding function in an alarm clock, a calendar or a memo.
In a second aspect, there is provided an apparatus for setting a travel reminder, comprising means for performing any of the methods of the first aspect. The device can be a terminal device or a chip in the terminal device. The apparatus may include an input unit and a processing unit.
When the apparatus is a terminal device, the processing unit may be a processor, and the input unit may be a communication interface; the terminal device may further comprise a memory for storing computer program code which, when executed by the processor, causes the terminal device to perform any of the methods of the first aspect.
When the apparatus is a chip in a terminal device, the processing unit may be a processing unit inside the chip, and the input unit may be an output interface, a pin, a circuit, or the like; the chip may also include a memory, which may be a memory within the chip (e.g., registers, cache, etc.) or a memory external to the chip (e.g., read-only memory, random access memory, etc.); the memory is adapted to store computer program code which, when executed by the processor, causes the chip to perform any of the methods of the first aspect.
In a third aspect, a computer readable storage medium is provided, which stores computer program code, which, when executed by an apparatus for setting a travel reminder, causes the apparatus to perform any one of the methods of the first aspect.
In a fourth aspect, there is provided a computer program product comprising: computer program code which, when run by an apparatus for setting a travel reminder, causes the apparatus to perform any of the methods of the first aspect.
Drawings
FIG. 1 is a schematic diagram of a hardware system suitable for use in the apparatus of the present application;
FIG. 2 is a schematic diagram of a software system suitable for use in the apparatus of the present application;
FIG. 3 is a schematic diagram of a user interface provided herein;
FIG. 4 is a schematic diagram of an alarm setting interface provided herein;
FIG. 5 is a schematic diagram of a travel alarm setting interface provided by the present application;
FIG. 6 is a schematic diagram of an interface for setting the authority of a travel alarm clock according to the present application;
FIG. 7 is a schematic diagram of an interface for setting specific contents of a travel alarm clock according to the present application;
fig. 8 is a schematic diagram of a travel alarm clock workflow provided by the present application;
FIG. 9 is a schematic diagram of another travel alarm clock workflow provided by the present application;
FIG. 10 is a schematic diagram of a travel alarm clock reminder interface provided by the present application;
fig. 11 is a schematic view of another travel alarm clock reminding interface provided by the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be described below with reference to the accompanying drawings.
Fig. 1 shows a hardware structure of an apparatus suitable for the present application.
The apparatus 100 may be a mobile phone, a smart screen, a tablet computer, a wearable electronic device, an in-vehicle electronic device, an Augmented Reality (AR) device, a Virtual Reality (VR) device, a notebook computer, an ultra-mobile personal computer (UMPC), a netbook, a Personal Digital Assistant (PDA), a projector, and the like, and the embodiment of the present application does not limit the specific type of the apparatus 100.
The apparatus 100 may include a processor 110, an external memory interface 120, an internal memory 121, a Universal Serial Bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, a sensor module 180, a key 190, a motor 191, an indicator 192, a camera 193, a display screen 194, a Subscriber Identification Module (SIM) card interface 195, and the like. The sensor module 180 may include a pressure sensor 180A, a gyroscope sensor 180B, an air pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity light sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, an ambient light sensor 180L, a bone conduction sensor 180M, and the like.
The configuration shown in fig. 1 is not intended to specifically limit the apparatus 100. In other embodiments of the present application, the apparatus 100 may include more or fewer components than those shown in FIG. 1, or the apparatus 100 may include a combination of some of the components shown in FIG. 1, or the apparatus 100 may include sub-components of some of the components shown in FIG. 1. The components shown in fig. 1 may be implemented in hardware, software, or a combination of software and hardware.
Processor 110 may include one or more processing units. For example, the processor 110 may include at least one of the following processing units: an Application Processor (AP), a modem processor, a Graphics Processing Unit (GPU), an Image Signal Processor (ISP), a controller, a video codec, a Digital Signal Processor (DSP), a baseband processor, and a neural Network Processor (NPU). The different processing units may be independent devices or integrated devices.
The controller can generate an operation control signal according to the instruction operation code and the timing signal to complete the control of instruction fetching and instruction execution.
A memory may also be provided in processor 110 for storing instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. The memory may hold instructions or data that have just been used or recycled by the processor 110. If the processor 110 needs to reuse the instruction or data, it can be called directly from the memory. Avoiding repeated accesses reduces the latency of the processor 110, thereby increasing the efficiency of the system.
In some embodiments, processor 110 may include one or more interfaces. For example, the processor 110 may include at least one of the following interfaces: an inter-integrated circuit (I2C) interface, an inter-integrated circuit audio source (I2S) interface, a Pulse Code Modulation (PCM) interface, a universal asynchronous receiver/transmitter (UART) interface, a Mobile Industry Processor Interface (MIPI), a general-purpose input/output (GPIO) interface, a SIM interface, and a USB interface.
The I2C interface is a bi-directional synchronous serial bus that includes a serial data line (SDA) and a Serial Clock Line (SCL). In some embodiments, processor 110 may include multiple sets of I2C buses. The processor 110 may be coupled to the touch sensor 180K, the charger, the flash, the camera 193, etc., respectively, through different I2C bus interfaces. For example: the processor 110 may be coupled to the touch sensor 180K via an I2C interface, such that the processor 110 and the touch sensor 180K communicate via an I2C bus interface to implement the touch functionality of the device 100.
The I2S interface may be used for audio communication. In some embodiments, processor 110 may include multiple sets of I2S buses. The processor 110 may be coupled to the audio module 170 via an I2S bus to enable communication between the processor 110 and the audio module 170. In some embodiments, the audio module 170 may communicate audio signals to the wireless communication module 160 via the I2S interface, enabling answering of calls via a bluetooth headset.
The PCM interface may also be used for audio communication, sampling, quantizing and encoding analog signals. In some embodiments, the audio module 170 and the wireless communication module 160 may be coupled through a PCM interface. In some embodiments, the audio module 170 may also transmit audio signals to the wireless communication module 160 through the PCM interface, so as to implement a function of answering a call through a bluetooth headset. Both the I2S interface and the PCM interface may be used for audio communication.
The UART interface is a universal serial data bus used for asynchronous communications. The bus may be a bidirectional communication bus. It converts the data to be transmitted between serial communication and parallel communication. In some embodiments, a UART interface is generally used to connect the processor 110 with the wireless communication module 160. For example: the processor 110 communicates with a bluetooth module in the wireless communication module 160 through a UART interface to implement a bluetooth function. In some embodiments, the audio module 170 may transmit the audio signal to the wireless communication module 160 through a UART interface, so as to realize the function of playing music through a bluetooth headset.
MIPI interfaces may be used to connect processor 110 with peripheral devices such as display screen 194 and camera 193. The MIPI interface includes a Camera Serial Interface (CSI), a Display Serial Interface (DSI), and the like. In some embodiments, processor 110 and camera 193 communicate through a CSI interface to implement the capture functionality of apparatus 100. The processor 110 and the display screen 194 communicate via the DSI interface to implement the display function of the device 100.
The GPIO interface may be configured by software. The GPIO interface may be configured as a control signal interface and may also be configured as a data signal interface. In some embodiments, a GPIO interface may be used to connect the processor 110 with the camera 193, the display 194, the wireless communication module 160, the audio module 170, and the sensor module 180. The GPIO interface may also be configured as an I2C interface, an I2S interface, a UART interface, or a MIPI interface.
The USB interface 130 is an interface conforming to the USB standard specification, and may be a Mini (Mini) USB interface, a Micro (Micro) USB interface, or a USB Type C (USB Type C) interface, for example. The USB interface 130 may be used to connect a charger to charge the apparatus 100, to transmit data between the apparatus 100 and a peripheral device, and to connect an earphone to play audio through the earphone. The USB interface 130 may also be used to connect other apparatuses 100, such as AR devices.
The connection relationship between the modules shown in fig. 1 is merely illustrative and does not limit the connection relationship between the modules of the apparatus 100. Alternatively, the modules of the apparatus 100 may also adopt a combination of the connection manners in the above embodiments.
The charge management module 140 is used to receive power from a charger. The charger may be a wireless charger or a wired charger. In some wired charging embodiments, the charging management module 140 may receive the current of the wired charger through the USB interface 130. In some wireless charging embodiments, the charging management module 140 may receive electromagnetic waves through a wireless charging coil of the device 100 (current path shown as dashed line). The charging management module 140 may also supply power to the device 100 through the power management module 141 while charging the battery 142.
The power management module 141 is used to connect the battery 142, the charging management module 140 and the processor 110. The power management module 141 receives input from the battery 142 and/or the charge management module 140, and supplies power to the processor 110, the internal memory 121, the display 194, the camera 193, the wireless communication module 160, and the like. The power management module 141 may also be used to monitor parameters such as battery capacity, battery cycle number, and battery state of health (e.g., leakage, impedance). Alternatively, the power management module 141 may be disposed in the processor 110, or the power management module 141 and the charging management module 140 may be disposed in the same device.
The wireless communication function of the apparatus 100 may be implemented by the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, a modem processor, a baseband processor, and the like.
The antennas 1 and 2 are used for transmitting and receiving electromagnetic wave signals. Each antenna in device 100 may be used to cover a single or multiple communication bands. Different antennas can also be multiplexed to improve the utilization of the antennas. For example: the antenna 1 may be multiplexed as a diversity antenna of a wireless local area network. In other embodiments, the antenna may be used in conjunction with a tuning switch.
The mobile communication module 150 may provide a solution for wireless communication applied on the device 100, such as at least one of the following: second generation (2)thgeneration, 2G) mobile communication solution, third generation (3)thgeneration, 3G) mobile communication solution, fourth generation (4)thgeneration, 5G) mobile communication solution, fifth generation (5)thgeneration, 5G) mobile communication solutions. The mobile communication module 150 may include at least one filter, a switch, a power amplifier, a Low Noise Amplifier (LNA), and the like. The mobile communication module 150 may receive electromagnetic waves from the antenna 1, and perform filtering, amplification, and other processes on the received electromagnetic waves, and then transmit the electromagnetic waves to the modem processor for demodulation. The mobile communication module 150 may also amplify the demodulated processorThe modulated signal and the amplified signal are converted into electromagnetic waves by the antenna 1 to be radiated. In some embodiments, at least some of the functional modules of the mobile communication module 150 may be disposed in the processor 110. In some embodiments, at least some of the functional modules of the mobile communication module 150 may be disposed in the same device as at least some of the modules of the processor 110.
The modem processor may include a modulator and a demodulator. The modulator is used for modulating a low-frequency baseband signal to be transmitted into a medium-high frequency signal. The demodulator is used for demodulating the received electromagnetic wave signal into a low-frequency baseband signal. The demodulator then passes the demodulated low frequency baseband signal to a baseband processor for processing. The low frequency baseband signal is processed by the baseband processor and then transferred to the application processor. The application processor outputs sound signals through an audio device (e.g., speaker 170A, microphone 170B) or displays images or video through the display screen 194. In some embodiments, the modem processor may be a stand-alone device. In other embodiments, the modem processor may be provided in the same device as the mobile communication module 150 or other functional modules, independent of the processor 110.
Similar to the mobile communication module 150, the wireless communication module 160 may also provide a wireless communication solution applied on the device 100, such as at least one of the following: wireless Local Area Networks (WLANs), Bluetooth (BT), Bluetooth Low Energy (BLE), Ultra Wide Band (UWB), Global Navigation Satellite System (GNSS), Frequency Modulation (FM), Near Field Communication (NFC), Infrared (IR) technologies. The wireless communication module 160 may be one or more devices integrating at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via the antenna 2, frequency-modulates and filters electromagnetic wave signals, and transmits the processed signals to the processor 110. The wireless communication module 160 may also receive, frequency modulate and amplify the signal to be transmitted from the processor 110, which is converted to electromagnetic waves via the antenna 2 for radiation.
In some embodiments, antenna 1 of apparatus 100 and mobile communication module 150 are coupled and antenna 2 of apparatus 100 and wireless communication module 160 are coupled such that electronic device 100 may communicate with a network and other electronic devices through wireless communication techniques. The wireless communication technology may include at least one of the following communication technologies: global system for mobile communications (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), time division code division multiple access (TD-SCDMA), Long Term Evolution (LTE), BT, GNSS, WLAN, NFC, FM, IR technologies. The GNSS may include at least one of the following positioning techniques: global Positioning System (GPS), global navigation satellite system (GLONASS), beidou satellite navigation system (BDS), quasi-zenith satellite system (QZSS), Satellite Based Augmentation System (SBAS).
The device 100 may implement display functionality through the GPU, the display screen 194, and the application processor. The GPU is a microprocessor for image processing, and is connected to the display screen 194 and an application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. The processor 110 may include one or more GPUs that execute program instructions to generate or alter display information.
The display screen 194 may be used to display images or video. The display screen 194 includes a display panel. The display panel may adopt a Liquid Crystal Display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode (AMOLED), a flexible light-emitting diode (FLED), a Mini light-emitting diode (Mini LED), a Micro light-emitting diode (Micro LED), a Micro OLED (Micro OLED), or a quantum dot light-emitting diode (QLED). In some embodiments, the apparatus 100 may include 1 or N display screens 194, N being a positive integer greater than 1.
The device 100 may implement a photographing function through an ISP, a camera 193, a video codec, a GPU, a display screen 194, an application processor, and the like.
The ISP is used to process the data fed back by the camera 193. For example, when a photo is taken, the shutter is opened, light is transmitted to the camera photosensitive element through the lens, the optical signal is converted into an electrical signal, and the camera photosensitive element transmits the electrical signal to the ISP for processing and converting into an image visible to naked eyes. The ISP can perform algorithm optimization on the noise, brightness and color of the image, and can also optimize parameters such as exposure, color temperature and the like of a shooting scene. In some embodiments, the ISP may be provided in camera 193.
The camera 193 is used to capture still images or video. The object generates an optical image through the lens and projects the optical image to the photosensitive element. The photosensitive element may be a Charge Coupled Device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor. The light sensing element converts the optical signal into an electrical signal, which is then passed to the ISP where it is converted into a digital image signal. And the ISP outputs the digital image signal to the DSP for processing. The DSP converts the digital image signal into a standard Red Green Blue (RGB), YUV, or the like format image signal. In some embodiments, device 100 may include 1 or N cameras 193, N being a positive integer greater than 1.
The digital signal processor is used for processing digital signals, and can process digital image signals and other digital signals. For example, when the apparatus 100 selects a frequency bin, the digital signal processor is configured to perform fourier transform or the like on the frequency bin energy.
Video codecs are used to compress or decompress digital video. The apparatus 100 may support one or more video codecs. In this way, the apparatus 100 can play or record video in a variety of encoding formats, such as: moving Picture Experts Group (MPEG) 1, MPEG2, MPEG3, and MPEG 4.
The NPU is a processor which uses biological neural network structure for reference, for example, the NPU can rapidly process input information by using a transfer mode between human brain neurons, and can also continuously self-learn. The NPU may implement functions of the apparatus 100, such as intelligent recognition: image recognition, face recognition, speech recognition and text understanding.
The external memory interface 120 may be used to connect an external memory card, such as a Secure Digital (SD) card, to implement the memory capability of the expansion device 100. The external memory card communicates with the processor 110 through the external memory interface 120 to implement a data storage function. For example, files such as music, video, etc. are saved in an external memory card.
The internal memory 121 may be used to store computer-executable program code, which includes instructions. The internal memory 121 may include a program storage area and a data storage area. Wherein the storage program area may store an operating system, an application program required for at least one function (e.g., a sound playing function and an image playing function). The storage data area may store data (e.g., audio data and a phonebook) created during use of the device 100. In addition, the internal memory 121 may include a high-speed random access memory, and may also include a nonvolatile memory such as: at least one magnetic disk storage device, a flash memory device, and a universal flash memory (UFS), and the like. The processor 110 performs various processing methods of the apparatus 100 by executing instructions stored in the internal memory 121 and/or instructions stored in a memory provided in the processor.
The apparatus 100 may implement audio functions, such as music playing and recording, through the audio module 170, the speaker 170A, the receiver 170B, the microphone 170C, the earphone interface 170D, and the application processor.
The audio module 170 is used to convert digital audio information into an analog audio signal for output, and may also be used to convert an analog audio input into a digital audio signal. The audio module 170 may also be used to encode and decode audio signals. In some embodiments, the audio module 170 or some functional modules of the audio module 170 may be disposed in the processor 110.
The speaker 170A, also referred to as a horn, converts the audio electrical signal into a sound signal. The device 100 may listen to music or hands-free talk through the speaker 170A.
The receiver 170B, also called an earpiece, is used to convert the electrical audio signal into a sound signal. When the user uses the device 100 to receive a call or voice information, the voice can be received by placing the receiver 170B close to the ear.
The microphone 170C, also referred to as a microphone or microphone, is used to convert sound signals into electrical signals. When a user makes a call or sends voice information, a sound signal may be input into the microphone 170C by sounding near the microphone 170C. The apparatus 100 may be provided with at least one microphone 170C. In other embodiments, the apparatus 100 may be provided with two microphones 170C to implement the noise reduction function. In other embodiments, three, four, or more microphones 170C may be provided with the apparatus 100 to perform the functions of identifying the source of the sound and directing the recording. The processor 110 may process the electrical signal output by the microphone 170C, for example, the audio module 170 and the wireless communication module 160 may be coupled via a PCM interface, and the microphone 170C converts the ambient sound into an electrical signal (e.g., a PCM signal) and transmits the electrical signal to the processor 110 via the PCM interface; from processor 110, the electrical signal is subjected to a volume analysis and a frequency analysis to determine the volume and frequency of the ambient sound.
The headphone interface 170D is used to connect a wired headphone. The headset interface 170D may be the USB interface 130, or may be a 3.5mm open mobile device 100 platform (OMTP) standard interface, a cellular telecommunications industry association (cellular telecommunications industry association of the USA, CTIA) standard interface.
The pressure sensor 180A is used for sensing a pressure signal, and converting the pressure signal into an electrical signal. In some embodiments, the pressure sensor 180A may be disposed on the display screen 194. The pressure sensor 180A may be of a wide variety, and may be, for example, a resistive pressure sensor, an inductive pressure sensor, or a capacitive pressure sensor. The capacitive pressure sensor may be a sensor that includes at least two parallel plates having conductive material, and when a force is applied to the pressure sensor 180A, the capacitance between the electrodes changes, and the apparatus 100 determines the strength of the pressure based on the change in capacitance. When a touch operation is applied to the display screen 194, the device 100 detects the touch operation from the pressure sensor 180A. The apparatus 100 may also calculate the position of the touch from the detection signal of the pressure sensor 180A. In some embodiments, the touch operations that are applied to the same touch position but different touch operation intensities may correspond to different operation instructions. For example: when the touch operation with the touch operation intensity smaller than the first pressure threshold value acts on the short message application icon, executing an instruction for viewing the short message; and when the touch operation with the touch operation intensity larger than or equal to the first pressure threshold value acts on the short message application icon, executing an instruction of newly building the short message.
The gyro sensor 180B may be used to determine the motion attitude of the apparatus 100. In some embodiments, the angular velocity of device 100 about three axes (i.e., the x-axis, y-axis, and z-axis) may be determined by gyroscope sensor 180B. The gyro sensor 180B may be used for photographing anti-shake. For example, when the shutter is pressed, the gyro sensor 180B detects the shake angle of the device 100, calculates the distance to be compensated for by the lens module according to the shake angle, and allows the lens to counteract the shake of the device 100 by a reverse movement, thereby achieving anti-shake. The gyro sensor 180B can also be used in scenes such as navigation and motion sensing games.
The air pressure sensor 180C is used to measure air pressure. In some embodiments, the device 100 calculates altitude from barometric pressure values measured by the barometric pressure sensor 180C, aiding in positioning and navigation.
The magnetic sensor 180D includes a hall sensor. The device 100 may detect the opening and closing of the flip holster using the magnetic sensor 180D. In some embodiments, when the apparatus 100 is a flip phone, the apparatus 100 may detect the opening and closing of the flip according to the magnetic sensor 180D. The device 100 can set the automatic unlocking of the flip cover according to the detected opening and closing state of the leather sheath or the opening and closing state of the flip cover.
Acceleration sensor 180E may detect the magnitude of acceleration of device 100 in various directions, typically the x-axis, y-axis, and z-axis. The magnitude and direction of gravity can be detected when the device 100 is at rest. The acceleration sensor 180E may also be used to recognize the attitude of the device 100 as an input parameter for applications such as landscape and portrait screen switching and pedometers.
The distance sensor 180F is used to measure a distance. The device 100 may measure distance by infrared or laser. In some embodiments, for example in a shooting scene, the device 100 may utilize the range sensor 180F to range for fast focus.
The proximity light sensor 180G may include, for example, a light-emitting diode (LED) and a photodetector, for example, a photodiode. The LED may be an infrared LED. The device 100 emits infrared light outward through the LED. The apparatus 100 uses a photodiode to detect infrared reflected light from nearby objects. When reflected light is detected, the apparatus 100 may determine that an object is present nearby. When no reflected light is detected, the apparatus 100 can determine that there is no object nearby. The device 100 can detect whether the user holds the device 100 close to the ear or not by using the proximity light sensor 180G, so as to automatically turn off the screen to save power. The proximity light sensor 180G may also be used for automatic unlocking and automatic screen locking in a holster mode or a pocket mode.
The ambient light sensor 180L is used to sense the ambient light level. The device 100 may adaptively adjust the brightness of the display screen 194 based on the perceived ambient light level. The ambient light sensor 180L may also be used to automatically adjust the white balance when taking a picture. The ambient light sensor 180L may also cooperate with the proximity light sensor 180G to detect whether the device 100 is in a pocket to prevent inadvertent contact.
The fingerprint sensor 180H is used to collect a fingerprint. The device 100 can utilize the collected fingerprint characteristics to achieve the functions of unlocking, accessing an application lock, taking a picture, answering an incoming call, and the like.
The temperature sensor 180J is used to detect temperature. In some embodiments, the apparatus 100 implements a temperature processing strategy using the temperature detected by the temperature sensor 180J. For example, when the temperature reported by the temperature sensor 180J exceeds a threshold, the apparatus 100 performs a reduction in performance of a processor located near the temperature sensor 180J, so as to reduce power consumption and implement thermal protection. In other embodiments, the device 100 heats the battery 142 when the temperature is below another threshold to avoid a low temperature causing the device 100 to shut down abnormally. In other embodiments, when the temperature is below a further threshold, the apparatus 100 performs a boost on the output voltage of the battery 142 to avoid abnormal shutdown due to low temperature.
The touch sensor 180K is also referred to as a touch device. The touch sensor 180K may be disposed on the display screen 194, and the touch sensor 180K and the display screen 194 form a touch screen, which is also referred to as a touch screen. The touch sensor 180K is used to detect a touch operation applied thereto or in the vicinity thereof. The touch sensor 180K may pass the detected touch operation to the application processor to determine the touch event type. Visual output associated with the touch operation may be provided through the display screen 194. In other embodiments, the touch sensor 180K may be disposed on a surface of the device 100 at a different location than the display screen 194.
The bone conduction sensor 180M may acquire a vibration signal. In some embodiments, the bone conduction sensor 180M may acquire a vibration signal of the human vocal part vibrating the bone mass. The bone conduction sensor 180M may also contact the human pulse to receive the blood pressure pulsation signal. In some embodiments, the bone conduction sensor 180M may also be disposed in a headset, integrated into a bone conduction headset. The audio module 170 may analyze a voice signal based on the vibration signal of the bone mass vibrated by the sound part acquired by the bone conduction sensor 180M, so as to implement a voice function. The application processor can analyze heart rate information based on the blood pressure beating signal acquired by the bone conduction sensor 180M, so as to realize the heart rate detection function.
The keys 190 include a power-on key and a volume key. The keys 190 may be mechanical keys or touch keys. The device 100 can receive a key input signal and realize the function related to the case input signal.
The motor 191 may generate vibrations. The motor 191 may be used for incoming call prompts as well as for touch feedback. The motor 191 may generate different vibration feedback effects for touch operations applied to different applications. The motor 191 may also produce different vibration feedback effects for touch operations applied to different areas of the display screen 194. Different application scenarios (e.g., time reminders, received messages, alarms, and games) may correspond to different vibration feedback effects. The touch vibration feedback effect may also support customization.
Indicator 192 may be an indicator light that may be used to indicate a change in charge status and charge level, or may be used to indicate a message, missed call, and notification.
The SIM card interface 195 is used to connect a SIM card. The SIM card may be inserted into the SIM card interface 195 to make contact with the device 100, or may be removed from the SIM card interface 195 to make separation from the device 100. The apparatus 100 may support 1 or N SIM card interfaces, N being a positive integer greater than 1. The same SIM card interface 195 may be inserted with multiple cards at the same time, which may be of the same or different types. The SIM card interface 195 may also be compatible with external memory cards. The device 100 interacts with the network through the SIM card to implement functions such as communication and data communication. In some embodiments, the device 100 employs an embedded SIM (eSIM) card, which can be embedded in the device 100 and cannot be separated from the device 100.
The hardware system of the apparatus 100 is described in detail above, and the software system of the apparatus 100 is described below. The software system may adopt a layered architecture, an event-driven architecture, a micro-core architecture, a micro-service architecture or a cloud architecture, and the software system of the apparatus 100 is exemplarily described in the embodiment of the present application by taking the layered architecture as an example.
As shown in fig. 2, the software system adopting the layered architecture is divided into a plurality of layers, and each layer has a clear role and division of labor. The layers communicate with each other through a software interface. In some embodiments, the software system may be divided into four layers, an application layer, an application framework layer, an Android Runtime (Android Runtime) and system library, and a kernel layer from top to bottom, respectively.
The application layer may include applications such as camera, gallery, calendar, phone, map, navigation, WLAN, bluetooth, music, video, alarm, etc.
The application framework layer provides an Application Programming Interface (API) and a programming framework for the application of the application layer. The application framework layer may include some predefined functions.
For example, the application framework layers include a window manager, a content provider, a view system, an explorer, a notification manager, a map API, a weather API, and a location service.
The window manager is used for managing window programs. The window manager can obtain the size of the display screen and judge whether a status bar, a lock screen and a capture screen exist.
The content provider is used to store and retrieve data and make it accessible to applications. The data may include video, images, audio, calls made and answered, browsing history and bookmarks, and phone books.
The view system includes visual controls such as controls to display text and controls to display pictures. The view system may be used to build applications. The display interface may be composed of one or more views, for example, a display interface including a short message notification icon, which may include a view displaying text and a view displaying pictures.
The resource manager provides various resources for the application, such as localized strings, icons, pictures, layout files, and video files.
The notification manager enables the application to display notification information in the status bar, can be used to convey notification-type messages, can disappear automatically after a short dwell, and does not require user interaction. Such as notification managers, are used for download completion notifications and message reminders. The notification manager may also manage notifications that appear in a chart or scrollbar text form in a status bar at the top of the system, such as notifications for applications running in the background. The notification manager may also manage notifications that appear on the screen in dialog windows, such as prompting for text messages in a status bar, sounding a prompt tone, vibrating the electronic device, and flashing an indicator light.
The map API is used to provide a map service for the application layer.
The weather API is used to provide weather services for the application layer.
The location API is used to provide location services for the application layer.
The system library may include a plurality of functional modules, such as: surface managers (surface managers), Media Libraries (Media Libraries), three-dimensional graphics processing Libraries (e.g., open graphics library for embedded systems, OpenGL ES) and 2D graphics engines (e.g., Skin Graphics Library (SGL)) for embedded systems.
The surface manager is used for managing the display subsystem and providing fusion of the 2D layer and the 3D layer for a plurality of application programs.
The media library supports playback and recording of multiple audio formats, playback and recording of multiple video formats, and still image files. The media library may support a variety of audiovisual coding formats, such as MPEG4, h.264, moving picture experts group audio layer 3 (MP 3), Advanced Audio Coding (AAC), adaptive multi-rate (AMR), joint picture experts group (JPG), and Portable Network Graphics (PNG).
The three-dimensional graphics processing library may be used to implement three-dimensional graphics drawing, image rendering, compositing, and layer processing.
The two-dimensional graphics engine is a drawing engine for 2D drawing.
The Android Runtime comprises a core library and a virtual machine. The Android runtime is responsible for scheduling and managing an Android system.
The core library comprises two parts: one part is a function which needs to be called by java language, and the other part is a core library of android.
The application layer and the application framework layer run in a virtual machine. And executing java files of the application program layer and the application program framework layer into a binary file by the virtual machine. The virtual machine is used to perform the functions of object lifecycle management, stack management, thread management, security and exception management, and garbage collection.
The kernel layer is a layer between hardware and software. The kernel layer can comprise driving modules such as a display driver, a camera driver, an audio driver, a sensor driver and a positioning driver.
The following illustrates the workflow of the software system and the hardware system of the apparatus 100 in connection with displaying a photographing scene.
When a user performs a touch operation on the touch sensor 180K, a corresponding hardware interrupt is sent to the kernel layer, and the kernel layer processes the touch operation into an original input event, where the original input event includes information such as touch coordinates and a timestamp of the touch operation. The original input event is stored in the kernel layer, and the application framework layer acquires the original input event from the kernel layer, identifies a control corresponding to the original input event, and notifies an Application (APP) corresponding to the control. For example, the touch operation is a click operation, the APP corresponding to the control is a camera APP, and after the camera APP is awakened by the click operation, the camera drive of the kernel layer can be called through the API, and the camera 193 is controlled to shoot through the camera drive.
The method for setting the travel reminder provided by the application is described as follows.
For example, the user may click on an "alarm" icon in the user interface shown in FIG. 3, and enter the alarm setting interface shown in FIG. 4.
The alarm clock setting interface comprises multiple alarm clock modes, if a user needs to set a common alarm clock, the user can directly set reminding time, alarm clock ring, repetition times and ringing time corresponding to the common alarm clock on the alarm clock setting interface shown in figure 4, and click 'confirm alarm clock' to set the common alarm clock after the option setting is completed.
The user may also click on the "calendar" icon or the "memo" icon shown in fig. 3, and enter a trip reminder setting interface, which may be the same as the alarm clock setting interface shown in fig. 4 or different from the alarm clock setting interface shown in fig. 4. The travel reminding can be one or more of sound, vibration, characters and screen lightening, and can also be other reminding modes. The method for entering the travel reminding setting interface and the specific mode of travel reminding are not limited.
The setting method of the travel reminder provided by the present application is described below by taking an alarm clock setting interface shown in fig. 4 as an example.
When the user needs to set the travel alarm clock, the user can click the triangle icon in the alarm clock mode on the interface shown in fig. 4, call out the pull-down menu, as shown in fig. 5, then click the option "travel alarm clock" in the pull-down menu, and start to set the travel alarm clock.
When setting up the trip alarm clock, the user can select the authority that alarm clock APP can use under the trip alarm clock mode on the interface that figure 6 shows, and the authority that alarm clock APP can use under the trip alarm clock mode includes: weather inquiry authority, road condition inquiry authority, positioning inquiry authority and calendar/memorandum inquiry authority.
The interface shown in fig. 6 indicates that the above-mentioned rights of the alarm clock APP have all been opened. The user can click the switch on each authority option right side and close the corresponding authority, and when the switch of a certain authority is in the off state, the function of the travel alarm clock is possibly influenced, for example, when the weather inquiry authority is closed, the alarm clock APP cannot use the weather inquiry API to determine the weather of the current position, and therefore the influence of the weather on the travel cannot be predicted.
After the authority setting of the alarm clock APP is completed, the user can click a 'trip alarm clock adding' button shown in fig. 6, enter a trip alarm clock adding interface shown in fig. 7, and further set each content of the trip alarm clock.
The travel alarm clock adding interface shown in fig. 7 includes a path option and an arrival time option, and optionally, the travel alarm clock adding interface may further include a map area, a travel mode option, an estimated time area, a reminding time option associated with the travel mode option, and contents such as a weather state and a road condition state associated with the arrival time option. The path option and the arrival time option are necessary conditions for adding the travel alarm clock, and in addition, other contents contained in the travel alarm clock adding interface are not limited. In addition, various contents of the trip alarm clock adding interface have various implementation modes, for example, the arrival time option can be in a text input box form or a pull-down menu form, and the specific form of each content of the trip alarm clock adding interface is not limited in the application.
When the user sets the path option, a departure place and a destination can be input in a text box of the path option, the alarm clock APP determines a travel path of the user according to the departure place and the destination, for example, the user inputs a garden cell in the departure place text box, and inputs a train station in the destination text box, and then the alarm clock APP can call a map API to plan the travel path according to the two places, optionally, the alarm clock APP displays the planned travel path in a map area, so that the user can drag a starting point identifier and an end point identifier on the map to adjust the travel path, and richer experience is provided for the user.
In the above example, the travel route is planned based on the default travel mode, and when the default travel mode does not meet the user's will, the user may select a desired travel mode from the travel mode options shown in fig. 7. For example, the default travel mode is driving, the travel mode selected by the user is riding, the alarm clock APP can call the map API to plan the travel path based on the riding mode, and the travel path can contain the approaching lane where the automobile cannot pass, so that a faster travel path is provided for the user.
The user can select the time of arriving at the destination from the arrival time options shown in fig. 7, the alarm clock APP can predict the travel time according to the weather state and the road condition state before the time on the day of travel, and the travel time determines the latest alarm clock time.
For example, the time of the user's selection to reach the destination is 9 o ' clock, the alarm clock APP can predict the travel time of various travel modes according to the weather state and road condition state before 9 o ' clock on the day of travel, and display the travel time on the travel alarm clock adding interface for the user to refer to.
If the trip mode that the user selected is for driving, the weather state of the area of driving route place 9 o ' clock before the trip is rainy day, and the road conditions state of driving route 9 o ' clock before the trip is for blocking up, then alarm clock APP can estimate the trip time of driving for 17 minutes to set up the alarm clock time at the latest to 9 o ' clock 13 minutes.
Wherein, the required length of time 17 minutes of target route is set up by the map API according to the user trip mode option (drive) automatic calculation and obtain, the alarm clock time of latest is set up to 9 o 'clock 13 minutes by alarm clock APP according to the required length of time 17 minutes of target route that map API provided automatically, if the user still has other things to be handled before arriving the alarm clock and remind, for example brush teeth, wash face etc. need remind the user 10 minutes in advance, then the user also can be on alarm clock APP automatic setting's the latest alarm clock time manual regulation alarm clock remind time, for example can adjust the alarm clock remind the time by 9 o 'clock 13 minutes, adjust to 9 o' clock 3 minutes.
If the trip mode that the user selected is for riding, the weather condition of the route area of riding of trip on the day 9 o ' clock before is rainy day, and the road conditions state of the route of riding is unobstructed before 9 o ' clock on the day of the trip, then the travel time that the alarm clock APP can predict to ride is 45 minutes to set up the alarm clock time at the latest to 8 o ' clock 45 minutes.
As above, the required duration of target route 45 minutes is set up according to the user by map API trip mode option (ride) automatic calculation and obtain, the alarm clock time of latest is set up to 8 o 'clock 45 minutes by alarm clock APP according to the required duration of target route 45 minutes that map API provided automatically, if the user still has other things to be handled before arriving the alarm clock and reminding, for example brush teeth, wash face etc. need remind the user 10 minutes in advance, then the user also can be on alarm clock APP automatic setting's the latest alarm clock time manual regulation alarm clock remind time, for example can adjust the alarm clock remind the time by 8 o 'clock 45 minutes, adjust to 8 o' clock 35 minutes.
The weather state can be weather forecast information issued by a weather station and is acquired by calling a weather API through an alarm clock APP; the road condition state can be future road condition information predicted by a map service provider according to historical data, and is acquired by calling a map API through an alarm clock APP. The concrete mode of obtaining the weather state and the road condition state is not limited.
After the alarm clock APP displays the latest alarm clock time, the user can adjust the latest alarm clock time according to actual conditions. For example, if the user estimates that the time required from getting up to starting the car is half an hour, the latest alarm time may be adjusted from 9 o 'clock 13 minutes to 8 o' clock 43 minutes.
After the latest alarm clock time setting is completed, the user can click the return button at the upper left corner of the interface shown in fig. 7, exit from the trip alarm clock adding interface, and click the "confirm alarm clock" button on the interface shown in fig. 6, thereby completing the addition of the trip alarm clock.
After the trip alarm clock is added, the alarm clock APP operates in the background, and the method shown in FIG. 8 is executed.
S801, calling a map API by an alarm clock APP to inquire road conditions.
The road condition is a traffic condition of a travel path set by the user. The traffic accident that probably takes place on the trip route, sudden traffic situation such as interim traffic control takes place, and these sudden traffic situations can influence the time that the user arrived the destination, lead to the user to arrive late, consequently, the alarm clock APP can inquire the traffic situation on trip route before the latest alarm clock time to in time change the trip route or update the latest alarm clock time when the sudden traffic situation takes place, avoid the user to arrive late.
S802, the map API sends the road condition information to the alarm clock APP.
The map API can acquire road condition information from a local traffic department and also can acquire the road condition information from a news APP, and the acquisition mode of the road condition information is not limited by the application.
S803, the alarm clock APP calls the weather API to inquire weather.
The weather is the weather condition of the area where the travel path set by the user is located. Sudden strong convection weather such as hail, thunderstorm probably exists on the trip route, and these sudden strong convection weather can influence the time that the user arrived the destination, lead to the user to arrive late, consequently, the alarm clock APP can inquire the weather conditions in trip route place region before the latest alarm clock time to in time change the trip route or update the latest alarm clock time when sudden strong convection weather takes place, avoid the user to arrive late.
S804, the weather API sends weather information to the alarm clock APP.
The map API can acquire weather information from a local meteorological department and also can acquire the weather information from a news APP, and the acquisition mode of the weather information is not limited by the application.
S805, the alarm clock APP calls a positioning service to inquire the current position.
In some cases, the current location of the user changes, which may cause the previously set travel alarm clock not to adapt to the current scene. For example, if the user arrives at the destination in advance, the travel alarm clock does not need to operate; the user deviates from the departure place at the moment when the time is close to the latest alarm clock time, so that the travel path is greatly changed, and the previously set travel alarm clock is not applicable any more.
Through inquiring the current position, the alarm clock APP can remind the user whether to close the travel alarm clock or adjust the latest alarm clock time when the above conditions occur, and therefore better alarm clock service is provided for the user.
S806, the positioning service sends position information to the alarm clock APP.
The positioning service may be a GNSS service, which may obtain location information by at least one of the following positioning techniques: GPS, GLONASS, BDS, QZSS, SBAS. The specific manner in which the location service acquires the location information is not limited in the present application.
And S807, updating the latest alarm clock time.
The alarm clock APP can inquire the road condition, the weather and the current position for multiple times before the latest alarm clock time arrives, and the frequency and the sequence of the alarm clock APP for inquiring the road condition, the weather and the current position are not limited.
If the sudden traffic condition or the sudden strong convection weather occurs before the latest alarm clock time, or if the position of the user before the latest alarm clock time changes to cause the travel path to change greatly, the alarm clock APP can update the latest alarm clock time in time, and the user is prevented from arriving late.
Optionally, the alarm clock APP may query the road condition, the weather and the current position according to a preset time period, where the preset time period may be 1 hour, and the alarm clock APP may query the road condition, the weather and the current position 3 hours (3 times of the preset time period), 2 hours (2 times of the preset time period), 1 hour (1 time of the preset time period), 0.5 hours (0.5 time of the preset time period) and 0.25 hours (0.25 time of the preset time period) before the latest alarm clock time.
For example, the latest alarm clock time is 9 points, the alarm clock APP queries that the travel path has thunderstorm at about 9 points at 7 points, and the alarm clock APP queries that the traffic flow of the travel path is gradually increased at 7 points, so that the alarm clock APP can predict the time required for completing the travel path based on the currently queried weather and road conditions; if the alarm clock APP predicts thunderstorm weather and the time of completing the travel route is increased by 20 minutes due to increase of traffic flow, the alarm clock APP adjusts the latest alarm clock time to be 8 points 40, and reminds the user that the latest alarm clock time is updated through modes of sound, vibration or screen lightening and the like. Subsequently, the alarm clock APP may query the road condition, the weather, and the current location again at 7 point 40, i.e., the alarm clock APP queries the road condition, the weather, and the current location based on the updated latest alarm clock time and the preset time period.
For another example, the latest alarm clock time is 8 o ' clock 40, the alarm clock APP queries that the current position of the user deviates from the departure place at 7 o ' clock 40, the travel from the current position to the destination needs to be increased by 10 minutes compared with the travel route when the setting of the travel alarm clock is completed, then the alarm clock APP can set the latest alarm clock time to 8 o ' clock half, and remind the user that the latest alarm clock time is updated through sound, vibration or screen lighting.
And S808, prompting the user whether to turn off the travel alarm clock.
Optionally, the alarm clock APP may execute S808 according to the current location information, and the specific flow is as shown in fig. 9.
Before the latest alarm clock time, if the current position of the user is located at the destination according to the alarm clock APP query, the alarm clock APP can display the interface shown in fig. 10 to remind the user whether to turn off the travel alarm clock. If the user turns off the travel alarm clock, the alarm clock APP terminates the alarm clock reminding service, namely the alarm clock APP does not inquire road conditions, weather and the current position any more, and the user is not reminded of traveling at the latest alarm clock time; if the user does not turn off the travel alarm clock, the alarm clock APP maintains the alarm clock reminding service, namely, the alarm clock APP continues to inquire road conditions, weather and the current position, and reminds the user of traveling at the latest alarm clock time.
After the latest alarm clock time, the alarm clock APP can continue to maintain the alarm clock reminding service, the road condition, the weather and the current position are inquired, if the current position of the user is found by the alarm clock APP to be still located at the place of departure, it is described that the user probably fails to go out on time due to personal reasons, then the alarm clock APP can remind the user to go out, and remind the user whether to close the out-of-travel alarm clock.
For example, the latest alarm clock time is 9 o 'clock, the preset time period is 1 hour, the alarm clock APP queries the current position at 9 o' clock and 6 minutes (0.1 time of the preset time period), if the current position of the user is still located at the departure place, the alarm clock APP can remind the user of going out through a ring, and an interface shown in fig. 11 is displayed to remind the user of whether to turn off the alarm clock for going out; if the user turns off the travel alarm clock, the alarm clock APP terminates the alarm clock reminding service; if the user does not turn off the travel alarm clock, the alarm clock APP maintains the alarm clock reminding service, the current position is continuously inquired at 9 points and 12 minutes (0.2 time of the preset time period), and whether the user is continuously reminded or not is determined.
The present application also provides a computer program product which, when executed by a processor, implements the method of any of the method embodiments of the present application.
The computer program product may be stored in a memory and eventually transformed into an executable object file that can be executed by a processor via preprocessing, compiling, assembling and linking.
The present application also provides a computer-readable storage medium having stored thereon a computer program which, when executed by a computer, implements the method of any of the method embodiments of the present application. The computer program may be a high-level language program or an executable object program.
The computer readable storage medium may be volatile memory or nonvolatile memory, or may include both volatile and nonvolatile memory. The non-volatile memory may be a read-only memory (ROM), a Programmable ROM (PROM), an Erasable PROM (EPROM), an electrically Erasable EPROM (EEPROM), or a flash memory. Volatile memory can be Random Access Memory (RAM), which acts as external cache memory. By way of example, but not limitation, many forms of RAM are available, such as Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), Synchronous Dynamic Random Access Memory (SDRAM), double data rate SDRAM, enhanced SDRAM, SLDRAM, Synchronous Link DRAM (SLDRAM), and direct rambus RAM (DR RAM).
It can be clearly understood by those skilled in the art that, for convenience and brevity of description, the specific working processes and the generated technical effects of the above-described apparatuses and devices may refer to the corresponding processes and technical effects in the foregoing method embodiments, and are not described herein again.
In the several embodiments provided in the present application, the disclosed system, apparatus and method can be implemented in other ways. For example, some features of the method embodiments described above may be omitted, or not performed. The above-described embodiments of the apparatus are merely exemplary, the division of the unit is only one logical function division, and there may be other division ways in actual implementation, and a plurality of units or components may be combined or integrated into another system. In addition, the coupling between the units or the coupling between the components may be direct coupling or indirect coupling, and the coupling includes electrical, mechanical or other connections.
It should be understood that, in the various embodiments of the present application, the sequence numbers of the processes do not mean the execution sequence, and the execution sequence of the processes should be determined by the functions and the inherent logic, and should not constitute any limitation to the implementation process of the embodiments of the present application.
Additionally, the terms "system" and "network" are often used interchangeably herein. The term "and/or" herein is merely an association relationship describing an associated object, meaning that three relationships may exist, e.g., a and/or B, may mean: a exists alone, A and B exist simultaneously, and B exists alone. In addition, the character "/" herein generally indicates that the former and latter related objects are in an "or" relationship.
In short, the above description is only a preferred embodiment of the present disclosure, and is not intended to limit the scope of the present disclosure. Any modification, equivalent replacement, improvement and the like made within the spirit and principle of the present application shall be included in the protection scope of the present application.

Claims (16)

1. A method for setting a travel reminder is characterized by comprising the following steps:
acquiring a first operation, wherein the first operation is used for setting a trip reminder;
displaying a setting interface according to the first operation, wherein the setting interface comprises a path option and an arrival time option corresponding to the travel reminder;
acquiring a second operation, wherein the second operation is used for setting the path option as a target path and setting the arrival time option as a target time;
and setting the trip reminding according to the second operation, wherein the reminding time of the trip reminding is earlier than the target time, and the time difference between the reminding time and the target time is positively correlated with the time length required for completing the target path.
2. The method of claim 1, wherein the provisioning interface further comprises:
a travel mode option and a reminding time option associated with the travel mode option;
the setting of the travel reminder according to the second operation includes:
and setting the travel prompt according to a third operation and the second operation, wherein the third operation is used for setting the travel mode option and the prompt time option.
3. The method of claim 2, wherein the settings interface further comprises at least one of the following information:
travel time associated with the travel mode option, weather associated with the path option, and road conditions associated with the path option.
4. The method of claim 3, further comprising:
when the setting interface comprises weather associated with the path option, acquiring the weather associated with the path option through a weather API;
and when the setting interface comprises the road condition associated with the path option, acquiring the road condition associated with the path option through a map API.
5. The method of any of claims 1 to 4, wherein prior to the obtaining the first operation, the method further comprises:
obtaining a fourth operation, wherein the fourth operation is used for selecting the travel reminder from a plurality of reminding modes;
and displaying an authorization interface according to the fourth operation, wherein the authorization interface comprises permission options required for setting the trip reminder.
6. The method of claim 5, wherein the permission options comprise at least one of:
a weather permission option, a road condition permission option, a positioning permission option, a calendar permission option, and a memo permission option.
7. The method according to any one of claims 1 to 6, further comprising:
acquiring weather information and/or road condition information of the target path before the travel reminding is overtime;
and when the weather information and/or the road condition information of the target path are/is changed, prompting the user that the travel reminder is updated.
8. The method according to claim 7, wherein the obtaining weather information and/or traffic information of the target path comprises:
the method comprises the steps of obtaining weather information and/or road condition information of a target path at a first moment, wherein the time difference between the first moment and the target moment is N times of the time required for completing the target path, and N is a positive number.
9. The method according to any one of claims 1 to 8, further comprising:
and prompting a user to close the travel reminder when the current position is detected to be located at the destination of the target path before the travel reminder is overtime.
10. The method according to any one of claims 1 to 9, further comprising:
and after the travel reminding is overtime, prompting a user to close the travel reminding when detecting that the current position is located at the departure place of the target path.
11. The method according to claim 9 or 10, characterized in that the method further comprises:
when the operation of closing the travel reminder is not acquired, the travel reminder is reserved; alternatively, the first and second electrodes may be,
and when the operation of closing the travel reminder is obtained, closing the travel reminder.
12. The method according to any one of claims 2 to 4, characterized in that the method further comprises:
the time difference between the reminding time and the target time is greater than or equal to the time length required for completing the target path;
the time length required by the target path is obtained by automatically calculating the travel mode options set by the user through a map API;
the setting interface automatically presents the reminding time, the reminding time is obtained by automatic calculation according to the time length required by the target path provided by the map API and the target time, and the reminding time can be adjusted by a user.
13. The method of any one of claims 1 to 12, wherein the travel reminder is a reminder function in an alarm, calendar or memo.
14. An apparatus for setting a travel reminder, comprising a processor and a memory, the processor being coupled to the memory for storing a computer program which, when executed by the processor, causes the apparatus to perform the method of any of claims 1 to 13.
15. A computer-readable storage medium, characterized in that the computer-readable storage medium stores a computer program which, when executed by a processor, causes the processor to carry out the method of any one of claims 1 to 13.
16. A chip comprising a processor that when executing instructions performs the method of any of claims 1 to 13.
CN202110961740.1A 2021-08-20 2021-08-20 Method and device for setting travel reminding Pending CN113822643A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110961740.1A CN113822643A (en) 2021-08-20 2021-08-20 Method and device for setting travel reminding

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110961740.1A CN113822643A (en) 2021-08-20 2021-08-20 Method and device for setting travel reminding

Publications (1)

Publication Number Publication Date
CN113822643A true CN113822643A (en) 2021-12-21

Family

ID=78922990

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110961740.1A Pending CN113822643A (en) 2021-08-20 2021-08-20 Method and device for setting travel reminding

Country Status (1)

Country Link
CN (1) CN113822643A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115220851A (en) * 2022-09-09 2022-10-21 荣耀终端有限公司 Operation guide method, electronic device and readable storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102413231A (en) * 2011-10-10 2012-04-11 宇龙计算机通信科技(深圳)有限公司 Mobile terminal and schedule reminding method
CN105608852A (en) * 2016-01-18 2016-05-25 科泰乐讯(北京)通信设备有限公司 Intelligent warning method and apparatus
CN107526822A (en) * 2017-08-29 2017-12-29 努比亚技术有限公司 A kind of intelligent prompt method and equipment
CN107660291A (en) * 2015-06-06 2018-02-02 苹果公司 System and method for generating and providing intelligent departure time prompting
CN107886301A (en) * 2017-11-08 2018-04-06 维沃移动通信有限公司 The based reminding method and device of a kind of transport information
CN108040175A (en) * 2017-12-01 2018-05-15 广东欧珀移动通信有限公司 Alarm clock setting method, mobile terminal and computer-readable recording medium
CN108510230A (en) * 2017-09-30 2018-09-07 腾讯科技(深圳)有限公司 A kind of trip based reminding method, device and electronic equipment

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102413231A (en) * 2011-10-10 2012-04-11 宇龙计算机通信科技(深圳)有限公司 Mobile terminal and schedule reminding method
CN107660291A (en) * 2015-06-06 2018-02-02 苹果公司 System and method for generating and providing intelligent departure time prompting
CN105608852A (en) * 2016-01-18 2016-05-25 科泰乐讯(北京)通信设备有限公司 Intelligent warning method and apparatus
CN107526822A (en) * 2017-08-29 2017-12-29 努比亚技术有限公司 A kind of intelligent prompt method and equipment
CN108510230A (en) * 2017-09-30 2018-09-07 腾讯科技(深圳)有限公司 A kind of trip based reminding method, device and electronic equipment
CN107886301A (en) * 2017-11-08 2018-04-06 维沃移动通信有限公司 The based reminding method and device of a kind of transport information
CN108040175A (en) * 2017-12-01 2018-05-15 广东欧珀移动通信有限公司 Alarm clock setting method, mobile terminal and computer-readable recording medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115220851A (en) * 2022-09-09 2022-10-21 荣耀终端有限公司 Operation guide method, electronic device and readable storage medium
CN115220851B (en) * 2022-09-09 2023-07-21 荣耀终端有限公司 Operation guidance method, electronic device and readable storage medium

Similar Documents

Publication Publication Date Title
WO2020244622A1 (en) Notification prompt method, terminal and system
CN110138959B (en) Method for displaying prompt of human-computer interaction instruction and electronic equipment
CN111095723B (en) Wireless charging method and electronic equipment
CN111316199B (en) Information processing method and electronic equipment
CN113132620A (en) Image shooting method and related device
US20230360445A1 (en) Target service execution method and electronic device
CN114466107A (en) Sound effect control method and device, electronic equipment and computer readable storage medium
CN114095599A (en) Message display method and electronic equipment
CN111222836A (en) Arrival reminding method and related device
CN110138999B (en) Certificate scanning method and device for mobile terminal
WO2022022335A1 (en) Method and apparatus for displaying weather information, and electronic device
CN113703894A (en) Display method and display device of notification message
CN113822643A (en) Method and device for setting travel reminding
WO2023071940A1 (en) Cross-device method and apparatus for synchronizing navigation task, and device and storage medium
CN111249728A (en) Image processing method and image processing device
CN115022807B (en) Express information reminding method and electronic equipment
CN114691248B (en) Method, device, equipment and readable storage medium for displaying virtual reality interface
CN114828098B (en) Data transmission method and electronic equipment
CN111339513B (en) Data sharing method and device
CN114254334A (en) Data processing method, device, equipment and storage medium
CN114020186B (en) Health data display method and device
CN114115772B (en) Method and device for off-screen display
CN113886060B (en) Method and device for compressing memory
CN116048831B (en) Target signal processing method and electronic equipment
WO2023116669A1 (en) Video generation system and method, and related apparatus

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