CN107025499A - A kind of method and mobile terminal for determining trip strategy - Google Patents
A kind of method and mobile terminal for determining trip strategy Download PDFInfo
- Publication number
- CN107025499A CN107025499A CN201710209747.1A CN201710209747A CN107025499A CN 107025499 A CN107025499 A CN 107025499A CN 201710209747 A CN201710209747 A CN 201710209747A CN 107025499 A CN107025499 A CN 107025499A
- Authority
- CN
- China
- Prior art keywords
- time
- user
- working
- mobile terminal
- working day
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Withdrawn
Links
- 238000000034 method Methods 0.000 title claims abstract description 34
- 230000002650 habitual effect Effects 0.000 claims description 3
- 238000010586 diagram Methods 0.000 description 27
- 238000004891 communication Methods 0.000 description 23
- 230000006870 function Effects 0.000 description 13
- 238000005516 engineering process Methods 0.000 description 12
- 238000004590 computer program Methods 0.000 description 7
- 238000010295 mobile communication Methods 0.000 description 5
- 239000004973 liquid crystal related substance Substances 0.000 description 3
- 238000007726 management method Methods 0.000 description 3
- 230000001351 cycling effect Effects 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 238000005192 partition Methods 0.000 description 2
- 238000013439 planning Methods 0.000 description 2
- 230000002441 reversible effect Effects 0.000 description 2
- 230000005236 sound signal Effects 0.000 description 2
- 101150012579 ADSL gene Proteins 0.000 description 1
- 102100020775 Adenylosuccinate lyase Human genes 0.000 description 1
- 108700040193 Adenylosuccinate lyases Proteins 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 230000007774 longterm Effects 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 239000000203 mixture Substances 0.000 description 1
- 238000003909 pattern recognition Methods 0.000 description 1
- 238000013468 resource allocation Methods 0.000 description 1
- 238000001228 spectrum Methods 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
- 239000010409 thin film Substances 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION 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/00—Administration; Management
- G06Q10/04—Forecasting or optimisation specially adapted for administrative or management purposes, e.g. linear programming or "cutting stock problem"
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION 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/00—Administration; Management
- G06Q10/10—Office automation; Time management
- G06Q10/109—Time management, e.g. calendars, reminders, meetings or time accounting
- G06Q10/1093—Calendar-based scheduling for persons or groups
Landscapes
- Business, Economics & Management (AREA)
- Engineering & Computer Science (AREA)
- Human Resources & Organizations (AREA)
- Strategic Management (AREA)
- Economics (AREA)
- Entrepreneurship & Innovation (AREA)
- Physics & Mathematics (AREA)
- Marketing (AREA)
- Operations Research (AREA)
- Quality & Reliability (AREA)
- Tourism & Hospitality (AREA)
- General Business, Economics & Management (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Game Theory and Decision Science (AREA)
- Development Economics (AREA)
- Data Mining & Analysis (AREA)
- Mobile Radio Communication Systems (AREA)
- Telephonic Communication Services (AREA)
Abstract
The embodiment of the invention discloses a kind of method and mobile terminal for determining trip strategy, methods described includes:Mobile terminal current location information is gathered, the mobile terminal current location is regard as user current location;When to determine current date be working day, current time information is obtained, according to current time and the corresponding relation on the work Time of Day and the customer objective ground that pre-set, with determining the corresponding customer objective of current time;Generation is from the user current location to the trip strategy on the customer objective ground, and the trip strategy includes M kind trip modes, and M is more than or equal to 1;In this way, the trip strategy of generation is to be made to disclosure satisfy that the actual trip requirements of user in real time according to user current location.
Description
Technical Field
The invention relates to a travel planning technology, in particular to a method for determining a travel strategy and a mobile terminal.
Background
At present, if the travel requirement of people is to be met, manual search can be carried out on a mobile terminal; for example, when a user goes to work or gets off work, the user needs to determine information such as a travel mode, road condition information and required time, and at the moment, the user can search on a map tool of the mobile terminal; however, this method requires manual searching, which is not convenient and time-consuming.
In view of the above circumstances, a new method for making a travel plan may be proposed, and specifically, information such as a route from a home address to a work site (company) may be fixedly planned, or information such as a route from a work site (company) to a home address may be fixedly planned; however, this method has problems mainly in that: a travel scheme cannot be dynamically planned according to the current location point of a user (a holder of the mobile terminal), and the track (location) of the user is difficult to be predetermined, for example, the user may visit a street after work, and at this time, the user is not at a company, but the route planning scheme provided on the mobile terminal still shows a travel scheme from the location point of the company to home, and cannot meet the current actual travel demand of the user.
Disclosure of Invention
In order to solve the above technical problems, embodiments of the present invention provide a method for determining a travel strategy and a mobile terminal, which are used to solve the problem in the prior art that a travel scheme cannot be made in real time according to a current location point of a user.
In order to achieve the above purpose, the technical solution of the embodiment of the present invention is realized as follows:
the embodiment of the invention provides a method for determining a travel strategy, which is applied to a mobile terminal and comprises the following steps:
acquiring current position information of a mobile terminal, and taking the current position of the mobile terminal as the current position of a user;
determining that the current date is the working day, acquiring current time information, and determining a user destination corresponding to the current time according to the current time and a preset corresponding relation between the working day time and the user destination;
and generating a travel strategy from the current position of the user to the destination of the user, wherein the travel strategy comprises M travel modes, and M is greater than or equal to 1.
Optionally, the method further includes:
acquiring the position information of the mobile terminal in the normal working time of a working day, and determining the working place of a user according to the position information of the mobile terminal acquired in the working time of the working day;
acquiring the position information of the mobile terminal at the rest time of a working day, and determining the home address of the user according to the position information of the mobile terminal acquired at the rest time of the working day and the working place of the user; the rest time of the working day is as follows: the time except the normal working time in the working day;
determining the working time of the user in N working days, wherein the determined working time of the user is as follows: the time when the position of the mobile terminal is matched with the work place of the user on the corresponding working day; n is greater than or equal to 1;
determining the working time of the user habit according to the working time of the user determined in the N working days;
and setting the corresponding relation between the working day time and the user destination according to the habit working time of the user.
Optionally, the setting, according to the habit work time of the user, the corresponding relationship between the work day time and the destination of the user includes:
determining the user destination corresponding to the working day time as the working place of the user when the working day time is earlier than the starting time of the habit working time of the user on each working day; and in each working day, when the working day time is later than the ending time of the habit working time of the user, determining that the destination of the user corresponding to the working day time is the home address of the user.
Optionally, the determining the working time of the user habit according to the working time of the user determined in the N working days includes:
when N is larger than 1, acquiring the starting time and the ending time of the working time of the user determined in each working day;
obtaining an average value of the starting time of the user working time determined in each working day and obtaining an average value of the ending time of the user working time determined in each working day;
and determining the habit working time of the user, wherein the starting time of the habit working time of the user is the average value of the starting times of the working time of the user determined in each working day, and the ending time of the habit working time of the user is the average value of the ending times of the working time of the user determined in each working day.
Optionally, the travel strategy further includes at least one of the following: route information corresponding to each travel mode, road condition information corresponding to each travel mode and required time of each travel mode.
The embodiment of the invention also provides a mobile terminal, which comprises an acquisition module, a determination module and a generation module; wherein,
the system comprises an acquisition module, a processing module and a display module, wherein the acquisition module is used for acquiring the current position information of the mobile terminal and taking the current position of the mobile terminal as the current position of a user;
the determining module is used for determining that the current date is the working day, acquiring current time information, and determining a user destination corresponding to the current time according to the current time and a preset corresponding relation between the working day time and the user destination;
and the generating module is used for generating a travel strategy from the current position of the user to the destination of the user, wherein the travel strategy comprises M travel modes, and M is greater than or equal to 1.
Optionally, the mobile terminal further includes: setting a module;
the setting module is used for acquiring the position information of the mobile terminal in the normal working time of a working day and determining the working place of the user according to the position information of the mobile terminal acquired in the working time of the working day; acquiring the position information of the mobile terminal at the rest time of a working day, and determining the home address of the user according to the position information of the mobile terminal acquired at the rest time of the working day and the working place of the user; the rest time of the working day is as follows: the time except the normal working time in the working day;
the setting module is further configured to determine user working hours on the N working days, where the determined user working hours are: the time when the position of the mobile terminal is matched with the work place of the user on the corresponding working day; n is greater than or equal to 1;
the setting module is also used for determining the working time of the user habit according to the working time of the user determined in the N working days; and setting the corresponding relation between the working day time and the user destination according to the habit working time of the user.
Optionally, the setting module is specifically configured to determine, on each working day and when the working day time is earlier than a starting time of a working time that the user is accustomed to, that the destination of the user corresponding to the working day time is the working location of the user; and in each working day, when the working day time is later than the ending time of the habit working time of the user, determining that the destination of the user corresponding to the working day time is the home address of the user.
Optionally, the setting module is specifically configured to, when N is greater than 1, obtain a start time and an end time of the user working time determined on each working day; obtaining an average value of the starting time of the user working time determined in each working day and obtaining an average value of the ending time of the user working time determined in each working day; and determining the habit working time of the user, wherein the starting time of the habit working time of the user is the average value of the starting times of the working time of the user determined in each working day, and the ending time of the habit working time of the user is the average value of the ending times of the working time of the user determined in each working day.
Optionally, the travel strategy further includes at least one of the following: route information corresponding to each travel mode, road condition information corresponding to each travel mode and required time of each travel mode.
In the method for determining the travel strategy and the mobile terminal provided by the embodiment of the invention, the current position information of the mobile terminal is collected, and the current position of the mobile terminal is taken as the current position of a user; determining that the current date is the working day, acquiring current time information, and determining a user destination corresponding to the current time according to the current time and a preset corresponding relation between the working day time and the user destination; generating a travel strategy from the current position of the user to the destination of the user, wherein the travel strategy comprises M travel modes, and M is greater than or equal to 1; therefore, the generated travel strategy is made in real time according to the current position of the user, and the actual travel requirement of the user can be met.
Drawings
Fig. 1 is a schematic diagram of a hardware structure of an alternative mobile terminal for implementing various embodiments of the present invention;
FIG. 2 is a diagram of a wireless communication system for the mobile terminal shown in FIG. 1;
fig. 3 is a flowchart of a first embodiment of a method for determining a travel strategy according to the present invention;
FIG. 4 is a schematic diagram of a user interface for setting up a workday on a mobile terminal according to an embodiment of the present invention;
FIG. 5 is a first schematic diagram illustrating a travel strategy displayed on a user interface according to an embodiment of the present invention;
fig. 6 is a second schematic diagram of a travel strategy displayed on a user interface in the embodiment of the present invention;
fig. 7 is a third schematic diagram of a travel strategy displayed on a user interface in the embodiment of the present invention;
fig. 8 is a fourth schematic diagram of a travel strategy displayed on the user interface in the embodiment of the present invention;
fig. 9 is a fifth schematic diagram of a travel strategy displayed on the user interface in the embodiment of the present invention;
FIG. 10 is a schematic diagram illustrating a user selecting a travel mode on a user interface according to an embodiment of the present invention;
fig. 11 is a schematic structural diagram of a mobile terminal according to an embodiment of the present invention.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
A mobile terminal implementing various embodiments of the present invention will now be described with reference to the accompanying drawings. In the following description, suffixes such as "module", "component", or "unit" used to denote elements are used only for facilitating the explanation of the present invention, and have no specific meaning in themselves. Thus, "module" and "component" may be used in a mixture.
The mobile terminal may be implemented in various forms. For example, the terminal described in the embodiments of the present invention may include a mobile terminal such as a mobile phone, a smart phone, a notebook computer, a digital broadcast receiver, a Personal Digital Assistant (PDA), a PAD computer (PAD), a Portable Multimedia Player (PMP), a navigation device, and the like, and a fixed terminal such as a digital TV, a desktop computer, and the like. In the following, it is assumed that the terminal is a mobile terminal. However, it will be understood by those skilled in the art that the configuration according to the embodiment of the present invention can be applied to a fixed type terminal in addition to elements particularly used for moving purposes.
Fig. 1 is a schematic diagram of a hardware structure of an optional mobile terminal for implementing various embodiments of the present invention.
The mobile terminal 100 may include a wireless communication unit 110, a user input unit 130, an output unit 150, a memory 160, an interface unit 170, a controller 180, and a power supply unit 190, etc. Fig. 1 illustrates a mobile terminal having various components, but it is to be understood that not all illustrated components are required to be implemented. More or fewer components may alternatively be implemented. Elements of the mobile terminal will be described in detail below.
The wireless communication unit 110 typically includes one or more components that allow radio communication between the mobile terminal 100 and a wireless communication system or network. For example, the wireless communication unit may include at least one of a broadcast receiving module 111, a mobile communication module 112, a wireless internet module 113, a short-range communication module 114, and a location information module 115.
The broadcast receiving module 111 receives a broadcast signal and/or broadcast associated information from an external broadcast management server via a broadcast channel. The broadcast channel may include a satellite channel and/or a terrestrial channel. The broadcast management server may be a server that generates and transmits a broadcast signal and/or broadcast associated information or a server that receives a previously generated broadcast signal and/or broadcast associated information and transmits it to a terminal. The broadcast signal may include a TV broadcast signal, a radio broadcast signal, a data broadcast signal, and the like. Also, the broadcast signal may further include a broadcast signal combined with a TV or radio broadcast signal. The broadcast associated information may also be provided via a mobile communication network, and in this case, the broadcast associated information may be received by the mobile communication module 112. The broadcast signal may exist in various forms, for example, it may exist in the form of an Electronic Program Guide (EPG) of Digital Multimedia Broadcasting (DMB), an Electronic Service Guide (ESG) of digital video broadcasting-handheld (DVB-H), and the like. The broadcast receiving module 111 may receive a signal broadcast by using various types of broadcasting systems. In particular, the broadcast receiving module 111 may receive digital broadcasting by using a digital broadcasting system such as a data broadcasting system of multimedia broadcasting-terrestrial (DMB-T), digital multimedia broadcasting-satellite (DMB-S), digital video broadcasting-handheld (DVB-H), forward link media (MediaFLO @), terrestrial digital broadcasting integrated service (ISDB-T), and the like. The broadcast receiving module 111 may be constructed to be suitable for various broadcasting systems that provide broadcast signals as well as the above-mentioned digital broadcasting systems. The broadcast signal and/or broadcast associated information received via the broadcast receiving module 111 may be stored in the memory 160 (or other type of storage medium).
The mobile communication module 112 transmits and/or receives radio signals to and/or from at least one of a base station (e.g., access point, node B, etc.), an external terminal, and a server. Such radio signals may include voice call signals, video call signals, or various types of data transmitted and/or received according to text and/or multimedia messages.
The wireless internet module 113 supports wireless internet access of the mobile terminal. The module may be internally or externally coupled to the terminal. The wireless internet access technology to which the module relates may include Wireless Local Area Network (WLAN) (Wi-Fi), wireless broadband (Wibro), worldwide interoperability for microwave access (Wimax), High Speed Downlink Packet Access (HSDPA), and the like.
The short-range communication module 114 is a module for supporting short-range communication. Some examples of short-range communication technologies include bluetooth (TM), Radio Frequency Identification (RFID), infrared data association (IrDA), Ultra Wideband (UWB), zigbee (TM), and the like.
The location information module 115 is a module for checking or acquiring location information of the mobile terminal. A typical example of the location information module is a Global Positioning System (GPS). According to the current technology, the location information module 115, which is a GPS, calculates distance information and accurate time information from three or more satellites and applies triangulation to the calculated information, thereby accurately calculating three-dimensional current location information according to longitude, latitude, and altitude. Currently, a method for calculating position and time information uses three satellites and corrects an error of the calculated position and time information by using another satellite. In addition, the GPS module 115 can calculate speed information by continuously calculating current position information in real time.
The user input unit 130 may generate key input data according to a command input by a user to control various operations of the mobile terminal. The user input unit 130 allows a user to input various types of information, and may include a keyboard, dome sheet, touch pad (e.g., a touch-sensitive member that detects changes in resistance, pressure, capacitance, etc. due to being touched), scroll wheel, joystick, etc. In particular, when the touch pad is superimposed on the display unit 151 in the form of a layer, a touch screen may be formed.
The interface unit 170 serves as an interface through which at least one external device is connected to the mobile terminal 100. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The identification module may store various information for authenticating a user using the mobile terminal 100 and may include a User Identity Module (UIM), a Subscriber Identity Module (SIM), a Universal Subscriber Identity Module (USIM), and the like. In addition, a device having an identification module (hereinafter, referred to as an "identification device") may take the form of a smart card, and thus, the identification device may be connected with the mobile terminal 100 via a port or other connection means. The interface unit 170 may be used to receive input (e.g., data information, power, etc.) from an external device and transmit the received input to one or more elements within the mobile terminal 100 or may be used to transmit data between the mobile terminal and the external device.
In addition, when the mobile terminal 100 is connected with an external cradle, the interface unit 170 may serve as a path through which power is supplied from the cradle to the mobile terminal 100 or may serve as a path through which various command signals input from the cradle are transmitted to the mobile terminal. Various command signals or power input from the cradle may be used as signals for recognizing whether the mobile terminal is accurately mounted on the cradle. The output unit 150 is configured to provide output signals (e.g., audio signals, video signals, alarm signals, vibration signals, etc.) in a visual, audio, and/or tactile manner. The output unit 150 may include a display unit 151 and the like.
The display unit 151 may display information processed in the mobile terminal 100. For example, when the mobile terminal 100 is in a phone call mode, the display unit 151 may display a User's Interface (UI) or a Graphical User Interface (GUI) related to a call or other communication (e.g., text messaging, multimedia file downloading, etc.). When the mobile terminal 100 is in a video call mode or an image capturing mode, the display unit 151 may display a captured image and/or a received image, a UI or GUI showing a video or an image and related functions, and the like.
Meanwhile, when the display unit 151 and the touch pad are overlapped with each other in the form of a layer to form a touch screen, the display unit 151 may serve as an input device and an output device. The display unit 151 may include at least one of a Liquid Crystal Display (LCD), a thin film transistor LCD (TFT-LCD), an Organic Light Emitting Diode (OLED) display, a flexible display, a three-dimensional (3D) display, and the like. Some of these displays may be configured to be transparent to allow a user to see from the outside, which may be referred to as transparent displays, and a typical transparent display may be, for example, a Transparent Organic Light Emitting Diode (TOLED) display or the like. Depending on the particular desired implementation, the mobile terminal 100 may include two or more display units (or other display devices), for example, the mobile terminal may include an external display unit (not shown) and an internal display unit (not shown). The touch screen may be used to detect a touch input pressure as well as a touch input position and a touch input area.
The memory 160 may store software programs or the like for processing and controlling operations performed by the controller 180, or may temporarily store data (e.g., a phonebook, messages, still images, videos, etc.) that has been output or is to be output. Also, the memory 160 may store data regarding various ways of vibration and audio signals output when a touch is applied to the touch screen.
The memory 160 may include at least one type of storage medium including a flash memory, a hard disk, a multimedia card, a card-type memory (e.g., SD or DX memory, etc.), a Random Access Memory (RAM), a Static Random Access Memory (SRAM), a read-only memory (ROM), an electrically erasable programmable read-only memory (EEPROM), a programmable read-only memory (PROM), a magnetic memory, a magnetic disk, an optical disk, and the like. Also, the mobile terminal 100 may cooperate with a network storage device that performs a storage function of the memory 160 through a network connection.
The controller 180 generally controls the overall operation of the mobile terminal. For example, the controller 180 performs control and processing related to voice calls, data communications, video calls, and the like. In addition, the controller 180 may include a multimedia module 181 for reproducing (or playing back) multimedia data, and the multimedia module 181 may be constructed within the controller 180 or may be constructed separately from the controller 180. The controller 180 may perform a pattern recognition process to recognize a handwriting input or a picture drawing input performed on the touch screen as a character or an image.
The power supply unit 190 receives external power or internal power and provides appropriate power required to operate various elements and components under the control of the controller 180.
The various embodiments described herein may be implemented in a computer-readable medium using, for example, computer software, hardware, or any combination thereof. For a hardware implementation, the embodiments described herein may be implemented using at least one of an Application Specific Integrated Circuit (ASIC), a Digital Signal Processor (DSP), a Digital Signal Processing Device (DSPD), a Programmable Logic Device (PLD), a Field Programmable Gate Array (FPGA), a processor, a controller, a microcontroller, a microprocessor, an electronic unit designed to perform the functions described herein, and in some cases, such embodiments may be implemented in the controller 180. For a software implementation, the implementation such as a process or a function may be implemented with a separate software module that allows performing at least one function or operation. The software codes may be implemented by software applications (or programs) written in any suitable programming language, which may be stored in the memory 160 and executed by the controller 180.
Up to now, the mobile terminal has been described in terms of its functions. Hereinafter, a slide-type mobile terminal among various types of mobile terminals, such as a folder-type, bar-type, swing-type, slide-type mobile terminal, and the like, will be described as an example for the sake of brevity. Accordingly, the present invention can be applied to any type of mobile terminal, and is not limited to a slide type mobile terminal.
The mobile terminal 100 as shown in fig. 1 may be configured to operate with communication systems such as wired and wireless communication systems and satellite-based communication systems that transmit data via frames or packets.
A communication system in which a mobile terminal according to the present invention is operable will now be described with reference to fig. 2.
Such communication systems may use different air interfaces and/or physical layers. For example, the air interface used by the communication system includes, for example, Frequency Division Multiple Access (FDMA), Time Division Multiple Access (TDMA), Code Division Multiple Access (CDMA), and Universal Mobile Telecommunications System (UMTS) (in particular, Long Term Evolution (LTE)), global system for mobile communications (GSM), and the like. By way of non-limiting example, the following description relates to a CDMA communication system, but such teachings are equally applicable to other types of systems.
Referring to fig. 2, the CDMA wireless communication system may include a plurality of mobile terminals 100, a plurality of Base Stations (BSs) 270, Base Station Controllers (BSCs) 275, and a Mobile Switching Center (MSC) 280. The MSC280 is configured to interface with a Public Switched Telephone Network (PSTN) 290. The MSC280 is also configured to interface with a BSC275, which may be coupled to the base station 270 via a backhaul. The backhaul may be constructed according to any of several known interfaces including, for example, E1/T1, ATM, IP, PPP, frame Relay, HDSL, ADSL, or xDSL. It will be understood that a system as shown in fig. 2 may include multiple BSCs 275.
Each BS270 may serve one or more sectors (or regions), each sector covered by a multi-directional antenna or an antenna pointing in a particular direction being radially distant from the BS 270. Alternatively, each partition may be covered by two or more antennas for diversity reception. Each BS270 may be configured to support multiple frequency allocations, with each frequency allocation having a particular frequency spectrum (e.g., 1.25MHz,5MHz, etc.).
The intersection of partitions with frequency allocations may be referred to as a CDMA channel. The BS270 may also be referred to as a Base Transceiver Subsystem (BTS) or other equivalent terminology. In such a case, the term "base station" may be used to generically refer to a single BSC275 and at least one BS 270. The base stations may also be referred to as "cells". Alternatively, each sector of a particular BS270 may be referred to as a plurality of cell sites.
As shown in fig. 2, a Broadcast Transmitter (BT)295 transmits a broadcast signal to the mobile terminal 100 operating within the system. A broadcast receiving module 111 as shown in fig. 1 is provided at the mobile terminal 100 to receive a broadcast signal transmitted by the BT 295. In fig. 2, several Global Positioning System (GPS) satellites 300 are shown. The satellite 300 assists in locating at least one of the plurality of mobile terminals 100.
In fig. 2, a plurality of satellites 300 are depicted, but it is understood that useful positioning information may be obtained with any number of satellites. The GPS module 115 as shown in fig. 1 is generally configured to cooperate with satellites 300 to obtain desired positioning information. Other techniques that can track the location of the mobile terminal may be used instead of or in addition to GPS tracking techniques. In addition, at least one GPS satellite 300 may selectively or additionally process satellite DMB transmission.
As a typical operation of the wireless communication system, the BS270 receives reverse link signals from various mobile terminals 100. The mobile terminal 100 is generally engaged in conversations, messaging, and other types of communications. Each reverse link signal received by a particular base station 270 is processed within the particular BS 270. The obtained data is forwarded to the associated BSC 275. The BSC provides call resource allocation and mobility management functions including coordination of soft handoff procedures between BSs 270. The BSCs 275 also route the received data to the MSC280, which provides additional routing services for interfacing with the PSTN 290. Similarly, the PSTN290 interfaces with the MSC280, the MSC interfaces with the BSCs 275, and the BSCs 275 accordingly control the BS270 to transmit forward link signals to the mobile terminal 100.
Based on the above mobile terminal hardware structure and communication system, various embodiments of the present invention are proposed.
The technical solution in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention.
First embodiment
A first embodiment of the present invention provides a method for determining a travel policy, which may be applied to a mobile terminal with a positioning function.
Here, the above-mentioned mobile terminal may be a mobile terminal having a display screen, and the above-mentioned mobile terminal includes, but is not limited to, a mobile phone, a notebook computer, a camera, a PDA, a PAD, a PMP, a navigation device, and the like. The terminal can be connected to the internet, wherein the connection mode can be through a mobile internet network provided by an operator, and can also be through accessing a wireless access point to perform network connection.
Here, if the mobile terminal has an operating system, the operating system may be UNIX, Linux, Windows, Android (Android), Windows Phone, or the like.
It should be noted that the type, shape, size, and the like of the display screen on the mobile terminal are not limited, and the display screen on the mobile terminal may be a liquid crystal display screen, for example.
Here, the above-mentioned mobile terminal may use a location information module to obtain the location information of the terminal, and the embodiment of the present invention does not limit the positioning technology used by the mobile terminal.
Fig. 3 is a flowchart of a first embodiment of the method for determining a travel strategy according to the present invention, as shown in fig. 3, the flowchart includes:
step 301: acquiring current position information of a mobile terminal, and taking the current position of the mobile terminal as the current position of a user;
in practical implementation, the mobile terminal can obtain the current position information of the terminal in real time through the position information module, and mark the position information in a map so as to be convenient for a user to look up.
After the mobile terminal acquires the current position information of the terminal, the current position of the mobile terminal can be obviously used as the current position of the user as the mobile terminal is held by the user at any time.
The current position of the user determined in this step is a basis for determining a trip strategy, and in order to better obtain the current position of the user (the current position of the mobile terminal), the mobile terminal may use a combination of various positioning technologies to improve the positioning accuracy, for example, a combination of positioning technologies such as satellite positioning, base station positioning, and WiFi positioning may be used; and the positioning technology allowed by the practical application scene can be selected for positioning.
Step 302: and determining the current date as the working day, acquiring current time information, and determining a user destination corresponding to the current time according to the current time and a preset corresponding relation between the working day and the user destination.
In an alternative embodiment, the weekday may be a legal weekday, e.g., each of monday through friday is a weekday, and each of saturday and sunday is a non-weekday;
in another alternative embodiment, the working day may be preset by the user, specifically, the user may input the determination mode of the working day to the mobile terminal in advance through the user input unit of the mobile terminal, and after receiving the user input information, the mobile terminal may determine whether any day is the working day or the non-working day; for example, the user may set tuesday through saturday as weekdays and may set monday and sunday as non-weekdays.
Fig. 4 is a schematic diagram of a user interface for setting a working day on a mobile terminal according to an embodiment of the present invention, and as shown in fig. 4, "please select a working day" is displayed on a display interface of the mobile terminal, and the following virtual buttons are displayed: "monday", "tuesday", "wednesday", etc., the user may click on the corresponding virtual button to effect the setting of the work day.
Here, the duration of the working day may be 0 to 24 points of the local time; the local time may relate to a local longitude or time zone.
It should be noted that, in the duration of the working day, only a part of the time is the normal working time, and the other part of the time is the rest time; that is, the duration of a workday may include not only the normal working hours of the workday, but also the rest hours of the workday;
in practical implementation, the normal working time of the working day may be working time established according to working requirements or working system, for example, when the user works in company a, according to the working system of company a, the user needs to work in 8:30 to 17:00, in which case the normal working time of the working day is 8:30 to 17: 00.
Because the normal working time of the working day is closely related to the working requirement or working system of the user, in actual implementation, the user can input the normal working time of the working day to the mobile terminal through the user input unit, and then the mobile terminal can determine the normal working time of the working day corresponding to the user and can determine the rest time of the working day according to the normal working time of the working day.
The normal working time of a working day is explained below by means of several examples: in example 1, the normal operating time of the working day is 9 of the local time: 00 to 18:00, then the rest time for the work day is 0:00 to 9:00 of the local time and 18:00 to 24:00 of the local time; in example 2, the normal work time of the work day is 8:00 to 17:00 of the local time, and then the rest time of the work day is 0:00 to 8:00 and 17:00 to 24:00 of the local time.
It should be noted that the normal working time of the working day does not represent the actual working time of the user in the working day, for example, the user may arrive at the working place before the starting time of the normal working time to perform work in advance; alternatively, the user continues to work after the end of the normal work hours, that is, to work overtime.
Here, in the preset correspondence relationship between the working day time and the user destination, the working day time may be any one time of the working day, and for example, the working day time may be a normal working time of the working day or a rest time of the working day.
In actual implementation, when setting the corresponding relationship between the working day time and the user destination, the working day time may be divided into several time periods, and a user destination is set for each divided time period, where the user destinations corresponding to different divided time periods may be the same or different; for example, a working day time period is divided into 3 time periods, which are respectively recorded as time period 1, time period 2 and time period 3, and two user destinations, which are respectively recorded as address 1 and address 2, are provided; the user destination corresponding to the time slot 1 is the address 1, the user destination corresponding to the time slot 2 is the address 2, and the user destination corresponding to the time slot 3 is the address 2.
In an alternative example, depending on the actual application scenario, the user destination may be a home address or a work site, e.g., within one hour before the start of normal work hours on a weekday, the user destination is a work site; in the normal working time of a working day, the destination of a user is a home address; within two hours after the end of the normal working hours of the workday, the user's destination is the home address.
After the corresponding relationship between the working day time and the user destination is set, if the mobile terminal obtains the current time, it may first determine which divided time period the current time is in, and then determine the user destination corresponding to the current time as: and the current time is in the corresponding user destination of the time period.
It can be seen that the user destination corresponding to the current time is determined according to the current time, and the actual travel demand of the user is closely related to the current time, so that the actual travel demand of the user can be met by determining the user destination according to the current time.
Step 303: and generating a travel strategy from the current position of the user to the destination of the user, wherein the travel strategy comprises M travel modes, and M is greater than or equal to 1.
Here, the travel mode may be used to indicate a vehicle that needs to be selected when the user travels, for example, the travel mode may be traveling by a public transportation vehicle, traveling by self-driving (driving travel), traveling by a bicycle, or walking;
further, the generated travel strategy may further include at least one of the following: route information corresponding to each travel mode, road condition information corresponding to each travel mode and required time of each travel mode.
Preferably, in an alternative implementation of this step, the travel strategy may include multiple travel modes, or may include only one specific travel mode, where the specific travel mode may be a travel mode with the shortest route distance (routes of two different travel modes may be different) or a travel mode with the least time required.
Further, after generating the travel strategy from the current position of the user to the destination of the user, the mobile terminal may further display the travel strategy on a user interface of the mobile terminal;
fig. 5 is a first schematic diagram of a travel strategy displayed on a user interface in the embodiment of the present invention, and as shown in fig. 5, the travel strategy displayed on the user interface may include: the travel mode identifier and the required time set by the user, the current location position, the distance (specifically, the number of kilometers of the destination) corresponding to the current travel mode, and the road condition information may further include a travel route or a travel suggestion, where the road condition information may indicate a route congestion condition corresponding to the current travel mode.
Fig. 6 is a second schematic diagram of a travel strategy displayed on a user interface in the embodiment of the present invention, fig. 7 is a third schematic diagram of a travel strategy displayed on a user interface in the embodiment of the present invention, fig. 8 is a fourth schematic diagram of a travel strategy displayed on a user interface in the embodiment of the present invention, and fig. 9 is a fifth schematic diagram of a travel strategy displayed on a user interface in the embodiment of the present invention; fig. 6 to 9 correspond to several different travel modes, respectively; similar to fig. 5, in fig. 6 to 9, the travel strategies displayed on the user interface may include: the travel mode identification and the required time set by the user, the current positioning position, the distance (specifically, the number of kilometers of a destination) corresponding to the current travel mode, and the road condition information may further include a travel route or a travel suggestion, where the road condition information may indicate a route congestion condition corresponding to the current travel mode; in fig. 5 to 9, when a route congestion situation is shown, the route may be divided into several sections according to a traveling sequence of the route, each section of the route is represented by a rectangular grid, where the rectangular grid without filling patterns represents that a road corresponding to one section of the route is clear (congestion level is level 1), the rectangular grid filled with dots represents that a section of the route is congested (congestion level is level 2), the rectangular grid filled with cross lines represents that a section of the route is congested (congestion level is level 3), and here, the congestion levels are level 1 to level 3 in sequence from low to high.
Further, after the travel strategies corresponding to the multiple travel modes are displayed on the user interface, the user can be prompted to select one of the travel modes, and after the user selects the travel mode, the mobile terminal can perform route navigation or other operations according to the received user selection information; in practical implementation, the user can select a travel mode corresponding to the habit travel vehicle.
Fig. 10 is a schematic diagram illustrating a user selecting a travel mode on a user interface according to an embodiment of the present invention, and as shown in fig. 10, the travel mode selected by the user may include public transportation, driving, cycling, and walking.
The method for determining the line policy according to the first embodiment of the present invention is applied, first, collecting the current position information of the mobile terminal, and using the current position of the mobile terminal as the current position of the user; secondly, when the current date is determined to be the working day, obtaining current time information, and determining a user destination corresponding to the current time according to the current time and a preset corresponding relation between the working day time and the user destination; finally, generating a travel strategy from the current position of the user to the destination of the user, wherein the travel strategy comprises M travel modes, and M is greater than or equal to 1; therefore, the generated travel strategy is made in real time according to the current position of the user, and the actual travel requirement of the user can be met.
Second embodiment
In order to further embody the object of the present invention, the first embodiment of the present invention is further illustrated.
In the second embodiment of the present invention, an implementation of setting the correspondence between the working day time and the user destination is explained as an example.
The process of setting the corresponding relationship between the working day and time and the user destination may include:
step 3021: and acquiring the position information of the mobile terminal in the normal working time of the working day, and determining the working place of the user according to the position information of the mobile terminal acquired in the working time of the working day.
Acquiring the position information of the mobile terminal at the rest time of a working day, and determining the home address of the user according to the position information of the mobile terminal acquired at the rest time of the working day and the working place of the user; the rest time of the working day is as follows: the time except the normal working time in the working day;
here, according to the above description of the normal operation time of the working day, the user needs to operate at the working place during the normal operation time, and therefore, the position of the mobile terminal can be collected as the working place of the user in the normal operation time of the working day.
It should be noted that due to various special situations (e.g., leave requests, business trips), etc., the user may be in a non-working location during the normal working time of the working day, and the collected mobile terminal location information has no referential property at this time; in order to improve the accuracy of determining the work place of the user, the position information of the mobile terminal can be collected in the normal work time of a plurality of working days, after a plurality of different pieces of position information of the mobile terminal are collected, the position of the mobile terminal with the largest occurrence frequency can be selected from all the collected position information of the mobile terminal, and the selected position of the mobile terminal is used as the work place of the user; the user can also be prompted to select one from all the collected position information of the mobile terminal as the normal working place of the user.
In another embodiment of determining the user's normal work site, the user's work site may be directly input to the mobile terminal by the user.
It can be understood that, since a request that the user is at the work place during the rest time of the working day may occur, the mobile terminal location information collected during the rest time of the working day may include the work place of the user; then the work place of the user needs to be removed from the mobile terminal position information collected during the rest time of the working day, and the home address of the user is determined.
Because the user may not be in the working place or the home address during the rest time of the working day, it is difficult to acquire the position information of the mobile terminal for many times during the rest time of a plurality of working days in order to improve the accuracy of determining the home address of the user, and after acquiring a plurality of different pieces of position information of the mobile terminal, the position of the mobile terminal with the largest occurrence frequency can be selected from all the acquired position information of the mobile terminal, and the selected position of the mobile terminal is used as the home address of the user; and the user can also be prompted to select one of the collected position information of the mobile terminal as the home address of the user.
In another embodiment of determining the home address point of the user, the home address of the user may be directly input to the mobile terminal by the user.
Step 3022: determining the working time of the user in N working days, wherein the determined working time of the user is as follows: the time when the position of the mobile terminal is matched with the work place of the user on the corresponding working day; n is greater than or equal to 1.
In this step, the user working time determined in N working days is the actual working time of the user, and it can be understood that the actual working time of the user may not be completely the same as the normal working time of the user, and then in order to determine the actual working time of the user, the time when the position of the mobile terminal matches with the working location of the user may be determined in the ith working day, and the time when the determined position of the mobile terminal matches with the working location of the user is taken as: the actual working time of the user on the ith working day, wherein the value range of i is 1 to N.
Step 3023: and determining the working time of the user habit according to the working time of the user determined in the N working days.
Illustratively, when N is larger than 1, acquiring the starting time and the ending time of the working time of the user determined in each working day;
obtaining an average value of the starting time of the user working time determined in each working day and obtaining an average value of the ending time of the user working time determined in each working day;
and determining the habit working time of the user, wherein the starting time of the habit working time of the user is the average value of the starting times of the working time of the user determined in each working day, and the ending time of the habit working time of the user is the average value of the ending times of the working time of the user determined in each working day.
For example, when N is equal to 3, the start times of the user's working hours determined on 3 working days are 7:30, 7:45, and 7:51, respectively, the average of the start times of the user's working hours determined on 3 working days is 7: 42; the starting time of the user's working hours determined on 3 working days is 18:10, 18:40 and 18:40, the average value of the starting time of the user working time determined in 3 working days is 18: 30; at this time, the user's habitual work time is 7:42 to 18: 30.
In case N is equal to 1, the user working time determined in step 3022 may be directly taken as the user habit working time.
Step 3024: and setting the corresponding relation between the working day time and the user destination according to the habit working time of the user.
In an optional implementation manner of this step, in each working day, when the working day time is earlier than the starting time of the habit working time of the user, the destination of the user corresponding to the working day time is determined as the working place of the user; and in each working day, when the working day time is later than the ending time of the habit working time of the user, determining that the destination of the user corresponding to the working day time is the home address of the user.
In another optional implementation manner of this step, in each working day, when the working day time is earlier than the starting time of the user habit working time, and the difference between the working day time and the starting time of the user habit working time is smaller than the set first time threshold, determining that the destination of the user corresponding to the working day time is the working place of the user; and in each working day, when the working day time is later than the ending time of the habit working time of the user and the difference value between the working day time and the ending time of the habit working time of the user is less than a set second time threshold, determining that the destination of the user corresponding to the working day time is the home address of the user.
Here, the first time threshold and the second time threshold may be set empirically, for example, the first time threshold is less than 1.5 hours and the second time threshold is less than 4.5 hours.
Third embodiment
A third embodiment of the present invention provides a mobile terminal having a positioning function, which is directed to the method for determining a line policy according to the first embodiment of the present invention.
Here, the above-mentioned mobile terminal may be a mobile terminal having a display screen, and the above-mentioned mobile terminal includes, but is not limited to, a mobile phone, a notebook computer, a camera, a PDA, a PAD, a PMP, a navigation device, and the like. The terminal can be connected to the internet, wherein the connection mode can be through a mobile internet network provided by an operator, and can also be through accessing a wireless access point to perform network connection.
Here, if the mobile terminal has an operating system, the operating system may be UNIX, Linux, Windows, Android (Android), Windows Phone, or the like.
It should be noted that the type, shape, size, and the like of the display screen on the mobile terminal are not limited, and the display screen on the mobile terminal may be a liquid crystal display screen, for example.
Here, the above-mentioned mobile terminal may use a location information module to obtain the location information of the terminal, and the embodiment of the present invention does not limit the positioning technology used by the mobile terminal.
Fig. 11 is a schematic structural diagram of a mobile terminal according to an embodiment of the present invention, and as shown in fig. 11, the mobile terminal includes an acquisition module 1101, a determination module 1102, and a generation module 1103; the determining module 1102 is respectively connected with the acquiring module 1101 and the generating module 1103;
the acquisition module 1101 is configured to acquire current location information of a mobile terminal, and use the current location of the mobile terminal as a current location of a user;
in practical implementation, the mobile terminal can obtain the current position information of the terminal in real time through the position information module, and mark the position information in a map so as to be convenient for a user to look up.
After the mobile terminal acquires the current position information of the terminal, the current position of the mobile terminal can be obviously used as the current position of the user as the mobile terminal is held by the user at any time.
The current position of the user determined in this step is a basis for determining a trip strategy, and in order to better obtain the current position of the user (the current position of the mobile terminal), the mobile terminal may use a combination of various positioning technologies to improve the positioning accuracy, for example, a combination of positioning technologies such as satellite positioning, base station positioning, and WiFi positioning may be used; and the positioning technology allowed by the practical application scene can be selected for positioning.
A determining module 1102, configured to determine that a current date is a working day, obtain current time information, and determine a user destination corresponding to the current time according to the current time and a preset corresponding relationship between the working day and the user destination;
in an alternative embodiment, the weekday may be a legal weekday, e.g., each of monday through friday is a weekday, and each of saturday and sunday is a non-weekday;
in another alternative embodiment, the working day may be preset by the user, specifically, the user may input the determination mode of the working day to the mobile terminal in advance through the user input unit of the mobile terminal, and after receiving the user input information, the mobile terminal may determine whether any day is the working day or the non-working day; for example, the user may set tuesday through saturday as weekdays and may set monday and sunday as non-weekdays.
As shown in fig. 4, a display interface of the mobile terminal displays "please select a work day", and displays the following virtual buttons: "monday", "tuesday", "wednesday", etc., the user may click on the corresponding virtual button to effect the setting of the work day.
Here, the duration of the working day may be 0 to 24 points of the local time; the local time may relate to a local longitude or time zone.
It should be noted that, in the duration of the working day, only a part of the time is the normal working time, and the other part of the time is the rest time; that is, the duration of a workday may include not only the normal working hours of the workday, but also the rest hours of the workday;
in practical implementation, the normal working time of the working day may be working time established according to working requirements or working system, for example, when the user works in company a, according to the working system of company a, the user needs to work in 8:30 to 17:00, in which case the normal working time of the working day is 8:30 to 17: 00.
Because the normal working time of the working day is closely related to the working requirement or working system of the user, in actual implementation, the user can input the normal working time of the working day to the mobile terminal through the user input unit, and then the mobile terminal can determine the normal working time of the working day corresponding to the user and can determine the rest time of the working day according to the normal working time of the working day.
The normal working time of a working day is explained below by means of several examples: in example 1, the normal operating time of the working day is 9 of the local time: 00 to 18:00, then the rest time for the work day is 0:00 to 9:00 of the local time and 18:00 to 24:00 of the local time; in example 2, the normal work time of the work day is 8:00 to 17:00 of the local time, and then the rest time of the work day is 0:00 to 8:00 and 17:00 to 24:00 of the local time.
It should be noted that the normal working time of the working day does not represent the actual working time of the user in the working day, for example, the user may arrive at the working place before the starting time of the normal working time to perform work in advance; alternatively, the user continues to work after the end of the normal work hours, that is, to work overtime.
Here, in the preset correspondence relationship between the working day time and the user destination, the working day time may be any one time of the working day, and for example, the working day time may be a normal working time of the working day or a rest time of the working day.
In actual implementation, when setting the corresponding relationship between the working day time and the user destination, the working day time may be divided into several time periods, and a user destination is set for each divided time period, where the user destinations corresponding to different divided time periods may be the same or different; for example, a working day time period is divided into 3 time periods, which are respectively recorded as time period 1, time period 2 and time period 3, and two user destinations, which are respectively recorded as address 1 and address 2, are provided; the user destination corresponding to the time slot 1 is the address 1, the user destination corresponding to the time slot 2 is the address 2, and the user destination corresponding to the time slot 3 is the address 2.
In an alternative example, depending on the actual application scenario, the user destination may be a home address or a work site, e.g., within one hour before the start of normal work hours on a weekday, the user destination is a work site; in the normal working time of a working day, the destination of a user is a home address; within two hours after the end of the normal working hours of the workday, the user's destination is the home address.
After the corresponding relationship between the working day time and the user destination is set, if the mobile terminal obtains the current time, it may first determine which divided time period the current time is in, and then determine the user destination corresponding to the current time as: and the current time is in the corresponding user destination of the time period.
It can be seen that the user destination corresponding to the current time is determined according to the current time, and the actual travel demand of the user is closely related to the current time, so that the actual travel demand of the user can be met by determining the user destination according to the current time.
A generating module 1103, configured to generate a travel policy from the current location of the user to the destination of the user, where the travel policy includes M travel manners, and M is greater than or equal to 1.
Here, the travel mode may be used to indicate a vehicle that needs to be selected when the user travels, for example, the travel mode may be traveling by a public transportation vehicle, traveling by self-driving (driving travel), traveling by a bicycle, or walking;
further, the generated travel strategy may further include at least one of the following: route information corresponding to each travel mode, road condition information corresponding to each travel mode and required time of each travel mode.
Preferably, in an alternative implementation of this step, the travel strategy may include multiple travel modes, or may include only one specific travel mode, where the specific travel mode may be a travel mode with the shortest route distance (routes of two different travel modes may be different) or a travel mode with the least time required.
Further, after generating the travel strategy from the current position of the user to the destination of the user, the mobile terminal may further display the travel strategy on a user interface of the mobile terminal;
as shown in fig. 5, the travel strategy displayed on the user interface may include: the travel mode identifier and the required time set by the user, the current location position, the distance (specifically, the number of kilometers of the destination) corresponding to the current travel mode, and the road condition information may further include a travel route or a travel suggestion, where the road condition information may indicate a congestion condition of the robust running corresponding to the current travel mode.
Fig. 6 to 9 correspond to several different travel modes, respectively; similar to fig. 5, in fig. 6 to 9, the travel strategies displayed on the user interface may include: the travel mode identifier and the required time set by the user, the current location position, the distance (specifically, the number of kilometers of the destination) corresponding to the current travel mode, and the road condition information may further include a travel route or a travel suggestion, where the road condition information may indicate a route congestion condition corresponding to the current travel mode.
Further, after the travel strategies corresponding to the multiple travel modes are displayed on the user interface, the user can be prompted to select one of the travel modes, and after the user selects the travel mode, the mobile terminal can perform route navigation or other operations according to the received user selection information; in practical implementation, the user can select a travel mode corresponding to the habit travel vehicle.
As shown in fig. 10, the travel modes for the user to select may include public transportation, driving, cycling, and walking.
Optionally, the mobile terminal further includes: a setup module 1104 connected to the determination module 1102;
the setting module 1104 is configured to collect the position information of the mobile terminal in the normal working time of the working day, and determine the working location of the user according to the position information of the mobile terminal collected in the working time of the working day; acquiring the position information of the mobile terminal at the rest time of a working day, and determining the home address of the user according to the position information of the mobile terminal acquired at the rest time of the working day and the working place of the user; the rest time of the working day is as follows: the time except the normal working time in the working day;
the setting module 1104 is further configured to determine the working time of the user in N working days, where the determined working time of the user is: the time when the position of the mobile terminal is matched with the work place of the user on the corresponding working day; n is greater than or equal to 1;
the setting module 1104 is further configured to determine the working time of the user habit according to the working time of the user determined in the N working days; and setting the corresponding relation between the working day time and the user destination according to the habit working time of the user.
Optionally, the setting module 1104 is specifically configured to determine, on each working day and when the working day time is earlier than the starting time of the habit work time of the user, that the destination of the user corresponding to the working day time is the working location of the user; and in each working day, when the working day time is later than the ending time of the habit working time of the user, determining that the destination of the user corresponding to the working day time is the home address of the user.
Optionally, the setting module 1104 is specifically configured to, when N is greater than 1, obtain a start time and an end time of the user working time determined in each working day; obtaining an average value of the starting time of the user working time determined in each working day and obtaining an average value of the ending time of the user working time determined in each working day; and determining the habit working time of the user, wherein the starting time of the habit working time of the user is the average value of the starting times of the working time of the user determined in each working day, and the ending time of the habit working time of the user is the average value of the ending times of the working time of the user determined in each working day.
In practical applications, the acquisition module 1101, the determination module 1102, the generation module 1103 and the setting module 1104 may be implemented by a Central Processing Unit (CPU), a MicroProcessor Unit (MPU), a Digital Signal Processor (DSP), a Field Programmable Gate Array (FPGA), or the like in the mobile terminal.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of a hardware embodiment, a software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
The above description is only a preferred embodiment of the present invention, and is not intended to limit the scope of the present invention.
Claims (10)
1. A method for determining a travel strategy is applied to a mobile terminal, and the method comprises the following steps:
acquiring current position information of a mobile terminal, and taking the current position of the mobile terminal as the current position of a user;
determining that the current date is the working day, acquiring current time information, and determining a user destination corresponding to the current time according to the current time and a preset corresponding relation between the working day time and the user destination;
and generating a travel strategy from the current position of the user to the destination of the user, wherein the travel strategy comprises M travel modes, and M is greater than or equal to 1.
2. The method of claim 1, further comprising:
acquiring the position information of the mobile terminal in the normal working time of a working day, and determining the working place of a user according to the position information of the mobile terminal acquired in the working time of the working day;
acquiring the position information of the mobile terminal at the rest time of a working day, and determining the home address of the user according to the position information of the mobile terminal acquired at the rest time of the working day and the working place of the user; the rest time of the working day is as follows: the time except the normal working time in the working day;
determining the working time of the user in N working days, wherein the determined working time of the user is as follows: the time when the position of the mobile terminal is matched with the work place of the user on the corresponding working day; n is greater than or equal to 1;
determining the working time of the user habit according to the working time of the user determined in the N working days;
and setting the corresponding relation between the working day time and the user destination according to the habit working time of the user.
3. The method according to claim 2, wherein the setting of the corresponding relationship between the working day time and the user destination according to the habitual working time of the user comprises:
determining the user destination corresponding to the working day time as the working place of the user when the working day time is earlier than the starting time of the habit working time of the user on each working day; and in each working day, when the working day time is later than the ending time of the habit working time of the user, determining that the destination of the user corresponding to the working day time is the home address of the user.
4. The method of claim 2, wherein determining the user's habitual work hours based on the user's work hours determined on the N working days comprises:
when N is larger than 1, acquiring the starting time and the ending time of the working time of the user determined in each working day;
obtaining an average value of the starting time of the user working time determined in each working day and obtaining an average value of the ending time of the user working time determined in each working day;
and determining the habit working time of the user, wherein the starting time of the habit working time of the user is the average value of the starting times of the working time of the user determined in each working day, and the ending time of the habit working time of the user is the average value of the ending times of the working time of the user determined in each working day.
5. The method of claim 1, wherein the travel strategy further comprises at least one of: route information corresponding to each travel mode, road condition information corresponding to each travel mode and required time of each travel mode.
6. A mobile terminal is characterized by comprising an acquisition module, a determination module and a generation module; wherein,
the system comprises an acquisition module, a processing module and a display module, wherein the acquisition module is used for acquiring the current position information of the mobile terminal and taking the current position of the mobile terminal as the current position of a user;
the determining module is used for determining that the current date is the working day, acquiring current time information, and determining a user destination corresponding to the current time according to the current time and a preset corresponding relation between the working day time and the user destination;
and the generating module is used for generating a travel strategy from the current position of the user to the destination of the user, wherein the travel strategy comprises M travel modes, and M is greater than or equal to 1.
7. The mobile terminal of claim 6, wherein the mobile terminal further comprises: setting a module;
the setting module is used for acquiring the position information of the mobile terminal in the normal working time of a working day and determining the working place of the user according to the position information of the mobile terminal acquired in the working time of the working day; acquiring the position information of the mobile terminal at the rest time of a working day, and determining the home address of the user according to the position information of the mobile terminal acquired at the rest time of the working day and the working place of the user; the rest time of the working day is as follows: the time except the normal working time in the working day;
the setting module is further configured to determine user working hours on the N working days, where the determined user working hours are: the time when the position of the mobile terminal is matched with the work place of the user on the corresponding working day; n is greater than or equal to 1;
the setting module is also used for determining the working time of the user habit according to the working time of the user determined in the N working days; and setting the corresponding relation between the working day time and the user destination according to the habit working time of the user.
8. The mobile terminal according to claim 7, wherein the setting module is specifically configured to determine, on each working day, when the working day time is earlier than a starting time of a habit working time of the user, that the destination of the user corresponding to the working day time is a working location of the user; and in each working day, when the working day time is later than the ending time of the habit working time of the user, determining that the destination of the user corresponding to the working day time is the home address of the user.
9. The mobile terminal according to claim 7, wherein the setting module is specifically configured to, when N is greater than 1, obtain a start time and an end time of a user working time determined on each working day; obtaining an average value of the starting time of the user working time determined in each working day and obtaining an average value of the ending time of the user working time determined in each working day; and determining the habit working time of the user, wherein the starting time of the habit working time of the user is the average value of the starting times of the working time of the user determined in each working day, and the ending time of the habit working time of the user is the average value of the ending times of the working time of the user determined in each working day.
10. The mobile terminal of claim 6, wherein the travel strategy further comprises at least one of: route information corresponding to each travel mode, road condition information corresponding to each travel mode and required time of each travel mode.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710209747.1A CN107025499A (en) | 2017-03-31 | 2017-03-31 | A kind of method and mobile terminal for determining trip strategy |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710209747.1A CN107025499A (en) | 2017-03-31 | 2017-03-31 | A kind of method and mobile terminal for determining trip strategy |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107025499A true CN107025499A (en) | 2017-08-08 |
Family
ID=59526858
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710209747.1A Withdrawn CN107025499A (en) | 2017-03-31 | 2017-03-31 | A kind of method and mobile terminal for determining trip strategy |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107025499A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108346115A (en) * | 2018-02-27 | 2018-07-31 | 维沃移动通信有限公司 | A kind of trip reminding method and mobile terminal |
CN109189804A (en) * | 2018-07-02 | 2019-01-11 | 北京市天元网络技术股份有限公司 | The calculation method of residential block occupancy rate |
CN109658683A (en) * | 2017-10-12 | 2019-04-19 | 北京嘀嘀无限科技发展有限公司 | Transport services type selection method and device |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106482740A (en) * | 2015-08-31 | 2017-03-08 | 小米科技有限责任公司 | Generate the method and device of navigation circuit |
-
2017
- 2017-03-31 CN CN201710209747.1A patent/CN107025499A/en not_active Withdrawn
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106482740A (en) * | 2015-08-31 | 2017-03-08 | 小米科技有限责任公司 | Generate the method and device of navigation circuit |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109658683A (en) * | 2017-10-12 | 2019-04-19 | 北京嘀嘀无限科技发展有限公司 | Transport services type selection method and device |
CN111201421A (en) * | 2017-10-12 | 2020-05-26 | 北京嘀嘀无限科技发展有限公司 | System and method for determining optimal transport service type in online-to-offline service |
US11290547B2 (en) | 2017-10-12 | 2022-03-29 | Beijing Didi Infinity Technology And Development Co., Ltd. | Systems and methods for determining an optimal transportation service type in an online to offline service |
CN108346115A (en) * | 2018-02-27 | 2018-07-31 | 维沃移动通信有限公司 | A kind of trip reminding method and mobile terminal |
CN109189804A (en) * | 2018-07-02 | 2019-01-11 | 北京市天元网络技术股份有限公司 | The calculation method of residential block occupancy rate |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106767867B (en) | Vehicle navigation apparatus and method | |
CN105719136A (en) | Device and method for performing quick payment on mobile terminal | |
CN106372264B (en) | Map data migration device and method | |
CN105138260A (en) | Application switching method and terminal | |
CN106131815A (en) | Mobile terminal and the method realizing data service switching | |
CN108234556B (en) | Item information reminding method, terminal and server | |
CN106100977A (en) | A kind of mobile terminal and the method adjusting calendar prompting information | |
CN106899958B (en) | Information downloading device and method | |
CN106331145A (en) | Information recommendation method, device and system | |
CN105450865A (en) | Mobile terminal and method thereof for realizing Wi-Fi management | |
CN107025499A (en) | A kind of method and mobile terminal for determining trip strategy | |
CN105162987A (en) | Memo reminding method and terminal device | |
CN105915592A (en) | Information processing method, mobile terminal and server | |
CN105760055A (en) | Mobile terminal and control method thereof | |
CN107092418A (en) | The terminal and method of operation application suspension windows | |
CN106686672B (en) | Network connection method and terminal | |
US11231293B2 (en) | Method, terminal, and computer storage medium for identifying information during navigation | |
CN106455009B (en) | Network searching device and method | |
CN105872997A (en) | Short message merging method and terminal equipment | |
CN106791149A (en) | A kind of method of mobile terminal and control screen | |
CN106131305A (en) | A kind of control method and electronic equipment | |
CN106027764A (en) | Terminal and method for realizing synchronization of schedule information | |
CN105979080A (en) | Application state display device, method and terminal | |
CN105743170A (en) | Control method for parallel charging, and terminal | |
CN106095072A (en) | A kind of control method, smart machine and server |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
WW01 | Invention patent application withdrawn after publication | ||
WW01 | Invention patent application withdrawn after publication |
Application publication date: 20170808 |