CN105991834B - Mobile device and function execution method thereof - Google Patents

Mobile device and function execution method thereof Download PDF

Info

Publication number
CN105991834B
CN105991834B CN201510097820.1A CN201510097820A CN105991834B CN 105991834 B CN105991834 B CN 105991834B CN 201510097820 A CN201510097820 A CN 201510097820A CN 105991834 B CN105991834 B CN 105991834B
Authority
CN
China
Prior art keywords
mobile device
activity record
processor
wireless hotspot
identification code
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.)
Active
Application number
CN201510097820.1A
Other languages
Chinese (zh)
Other versions
CN105991834A (en
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.)
HTC Corp
Original Assignee
High Tech Computer Corp
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 High Tech Computer Corp filed Critical High Tech Computer Corp
Priority to CN201510097820.1A priority Critical patent/CN105991834B/en
Publication of CN105991834A publication Critical patent/CN105991834A/en
Application granted granted Critical
Publication of CN105991834B publication Critical patent/CN105991834B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Mobile Radio Communication Systems (AREA)
  • Telephone Function (AREA)

Abstract

A mobile device and a function execution method thereof are provided. The mobile device includes a transceiver, a sensing unit, a storage device, and a processor. The sensing unit detects the position and the action of the mobile device to provide sensing data. The storage device stores an activity record. The processor obtains the identification code of the base station connected with the mobile device through the transceiver and calculates the height of the mobile device according to the sensing data. When the identification code of the base station and the height of the mobile device accord with the identification code and the height in a certain activity record, the processor executes the preset function corresponding to the activity record. When the execution of the preset function fails, the processor generates a moving track of the mobile device according to the sensing data. When the moving track of the mobile device is matched with the moving track in the activity record, the processor executes a preset function.

Description

Mobile device and function execution method thereof
Technical Field
The present invention relates to a mobile device and a control method thereof, and more particularly, to a mobile device and a function executing method thereof.
Background
Mobile devices have been increasingly powerful in computing capabilities and the bandwidth of wireless networks has been increasing, so that data is often transmitted by mobile devices using wireless transmission protocols (protocols) such as wireless fidelity (Wi-Fi), Bluetooth (Bluetooth), or 3G/4G.
Each wireless transmission interface of current mobile devices can be manually controlled by a user to turn on or off. For example, the user may manually turn on the 3G/4G wireless transmission interface and then play the game through the 3G/4G wireless transmission interface. For example, the user may manually turn on the bluetooth wireless transmission interface and then connect to the car audio system via the bluetooth wireless transmission interface to play the music files stored on the mobile device. When a certain wireless transmission interface is not needed, the user can turn off the interface manually to save power.
The above-described manual opening and manual closing are an additional burden to the user. The user may choose to permanently turn on the wireless transmission interface to omit manual control, but this causes additional power consumption. For example, the corresponding wireless transceiver (transceiver) will be continuously on and continuously consuming power.
Disclosure of Invention
The invention provides a mobile device and a function execution method thereof, which can omit the manual control of a user and avoid the problem of continuous power consumption.
The mobile device of the invention comprises a transceiver, a sensing unit, a storage device and a processor. The sensing unit detects the position and the action of the mobile device to provide sensing data. The storage device stores an activity record. The processor is coupled to the transceiver, the sensing unit and the storage device. The processor obtains a first identification code of a base station connected with the mobile device through the transceiver, and calculates a first height of the mobile device according to the sensing data. And when the first identification code of the base station and the first height of the mobile device accord with a second identification code and a second height in a certain activity record, the processor executes a preset function corresponding to the activity record. When the execution of the preset function fails, the processor generates a first moving track of the mobile device according to the sensing data. And when the first movement track of the mobile device conforms to the second movement track in the activity record, the processor executes a preset function.
The function execution method of the present invention can be applied to the above mobile device. The function executing method comprises the following steps: obtaining a first identification code of a base station connected with a mobile device; detecting the position and the action of the mobile device to provide sensing data; calculating a first height of the mobile device according to the sensing data; when the first identification code of the base station and the first height of the mobile device accord with the second identification code and the height in a certain activity record, executing a preset function corresponding to the activity record; when the execution of the preset function fails, generating a first moving track of the mobile device according to the sensing data; and when the first movement track of the mobile device is in accordance with the second movement track in the activity record, executing a preset function.
Based on the above, the present invention can automatically turn on or off the preset function according to the position of the mobile device and the record of the user's activity. This reduces the operational burden on the user and reduces the power consumption of the mobile device.
In order to make the aforementioned and other features and advantages of the invention more comprehensible, embodiments accompanied with figures are described in detail below.
Drawings
Fig. 1 is a schematic diagram of a mobile device according to an embodiment of the invention.
Fig. 2 is a flow diagram of a method of function execution in accordance with an embodiment of the present invention.
Fig. 3 is a flow diagram of a method of function execution according to another embodiment of the invention.
[ notation ] to show
100: mobile device
110: storage device
120: processor with a memory having a plurality of memory cells
130: transceiver unit
131: area transceiver
132: wide area transceiver
140: sensing unit
141: acceleration sensor
142: gyroscope sensor
143: electronic compass
144: barometer
210-230, 305-360: method step
Detailed Description
Fig. 1 is a diagram of a mobile device 100 according to an embodiment of the invention. The mobile device 100 may be a portable electronic device such as a smart phone, a Personal Digital Assistant (PDA), or a tablet computer. The mobile device 100 includes a storage device 110, a processor 120, a transceiving unit 130, and a sensing unit 140. The processor 120 is coupled to the storage device 110, the transceiver unit 130, and the sensing unit 140. The storage device 110 may store a record of the user's activities as a basis for automatically triggering certain predetermined functions. The transceiving unit 130 includes a regional transceiver 131 and a wide area transceiver 132. The local transceiver 131 can transmit or receive messages to the mobile device 100 using a local wireless transmission protocol such as wifi or bluetooth. The wan transceiver 132 may transmit or receive messages to the mobile device 100 using a wan wireless transmission protocol such as 3G or 4G. The sensing unit 140 includes an acceleration sensor (acceleration sensor)141, a gyro-sensor (gyro-sensor)142, an electronic compass (electronic compass)143, and a barometer (barometer) 144. The sensing unit 140 can detect the position and motion of the mobile device 100 to provide sensing data.
Fig. 2 is a flow diagram of a method of function execution in accordance with an embodiment of the present invention. This method may be performed by the mobile device 100. At step 210, the processor 120 performs a predetermined function. The default function is usually performed in response to a user operation. For example, when the user starts a web browser or an online game, the preset function of step 210 may be to start the area transceiver 131 and then transmit and/or receive data of the web browser or the online game through the area transceiver 131 and an area wireless hotspot such as a wireless fidelity hotspot (Wi-Fi hot spot).
In step 220, the processor 120 checks whether the storage device 110 has stored an activity record corresponding to the preset function. If the record of activity corresponding to the predetermined function does not exist in the storage device 110, the processor 120 adds a record of activity corresponding to the predetermined function to the storage device 110 in step 230.
The processor 120 may be coupled to a cellular radio access network (cellular radio access network), such as a 3G or 4G network, via the wide area transceiver 132. The processor 120 may obtain the identity of the base station used by the mobile device 100 through the wide area transceiver 132. This identification code may be used to locate the mobile device 100. The processor 120 can also calculate the altitude at which the mobile device 100 is located based on the sensed data provided by the barometer 144. This height may represent the floor on which the mobile device 100 is located. The identity of the base station plus the altitude of the mobile device 100 may represent the location of the mobile device 100. At step 230, the processor 120 may add the identity of the base station and the altitude of the mobile device 100 to the activity record.
The relationship between the sensed data of the barometer 144 and the height of the mobile device 100 may change with weather conditions. To calculate the altitude more accurately, the processor 120 may obtain the latest weather report through the wide area transceiver 132, and correct the altitude of the mobile device 100 according to at least one of the temperature, the humidity and the air pressure included in the weather report.
As described above, the preset function of step 210 may be to transmit and/or receive data through the regional transceiver 131 and a regional wireless hotspot. At step 230, the processor 120 may add the identification code and password of the wireless hotspot in the area to the activity record. Thus, the processor 120 can automatically use the identification code and password of the local wireless hotspot in the activity record to connect to the local wireless hotspot when the predetermined function is executed again in the method flow of fig. 3.
If the password of the local wireless hotspot is public or is preset in the mobile device 100, the processor 120 does not need to add the password to the activity record, but only needs to add the identification code of the local wireless hotspot to the activity record. Thus, the processor 120 can automatically use the identification code of the local wireless hotspot in the activity record to connect to the local wireless hotspot when the predetermined function is executed again in the method flow of fig. 3.
The above-mentioned regional wireless hotspot may be a regional wireless hotspot of wireless transmission protocols such as wifi, bluetooth, 3G or 4G.
In another embodiment, the predetermined function of step 210 may be other functions, such as starting to play music, stopping to play music, executing or ending certain application software of the mobile device 100, or turning on or off certain hardware of the mobile device 100.
Fig. 3 is a flow diagram of a method of function execution according to another embodiment of the invention. This method may be performed by the mobile device 100. In step 305, the processor 120 obtains the identification code of the base station used by the mobile device 100 through the wide area transceiver 132. In step 310, the sensing unit 140 detects the position and motion of the mobile device 100 to provide sensing data. At step 315, the processor 120 calculates the height of the mobile device 100 from the sensed data. As described above, the processor 120 may retrieve the weather report via the wide area transceiver 132 and correct the altitude of the mobile device 100 based on the weather report.
At step 320, the processor 120 compares the identification code of the base station with the altitude of the mobile device 100 and the activity record in the storage device 110. If no activity record matches the identity of the base station and the altitude of the mobile device 100, flow ends. If the identification code of the base station and the altitude of the mobile device match the identification code and altitude in one of the activity records stored in the storage device 110, the processor 120 executes the preset function corresponding to the activity record in step 325.
As described above, this predetermined function may be to activate the area transceiver 131 and then transmit and/or receive data via the area transceiver 131 and an area wireless hotspot. If the mobile device 100 is transmitting and/or receiving data using the wide area transceiver 132 before step 325, the processor 120 may switch the transmission and/or reception of the data to the regional transceiver 131 at step 325.
When the user of the mobile device 100 leaves the local wireless hotspot, the mobile device 100 may lose the signal of the local wireless hotspot. When the signal loss time of the local wireless hotspot is less than a predetermined value (e.g., 10 seconds or other time period), the processor 120 can still maintain the predetermined function. When the duration of the signal loss of the local wireless hotspot is greater than the predetermined value, the processor 120 may turn off the predetermined function, i.e., turn off the local transceiver 131. If the mobile device 100 is transmitting and/or receiving data using the wide area transceiver 132 before step 325, the processor 120 may switch the transmission and/or reception of the data back to the wide area transceiver 132 to be performed after turning off the area transceiver 131.
At step 330, the processor 120 checks whether the execution of the preset function is successful. For example, when the predetermined function is to transmit and/or receive data through the local wireless hotspot, which may be failed due to the fact that the local wireless hotspot in the activity record cannot be searched, the processor 120 may turn off the local transceiver 131.
When the preset function is successfully executed, the process is ended. When the default function fails to execute, the processor 120 may check in step 335 whether the activity record determined to be met in step 320 includes a movement trace of the mobile device 100. If not, flow proceeds to step 355. If so, flow proceeds to step 340.
At step 355, the processor 120 starts to record the moving trace of the mobile device 100 until the next time the same preset function is successfully executed. The processor 120 then adds the movement trajectory to the activity record at step 360. For example, a user may have successfully connected to an area wireless hotspot at a location. And then the wireless hotspot of the area is not connected at the same position, but is successfully connected after moving a short distance. If the situation happens, the moving track in the activity record can be used as the basis for automatically executing the preset function subsequently.
The moving trace is derived from the sensing data provided by the sensing unit 140. The acceleration sensor 141 may be used as a pedometer. The gyro sensor 142 may detect an angular velocity (angular velocity) of the rotation of the mobile device 100. The electronic compass 143 may sense the direction of the mobile device 100. The barometer 144 may sense the height of the mobile device 100. The four sensing devices 141-144 can detect the moving track of the mobile device 100. Therefore, the moving trace may include the sensing data outputted by at least one of the sensing devices 141-144.
In another embodiment, the movement trace may include data generated by further processing the sensing data output by at least one of the sensing devices 141-144. For example, the movement trace may include a sum of three accelerations corresponding to three coordinate axes output by the acceleration sensor 141, or include a sum of three angular velocities corresponding to three coordinate axes output by the gyro sensor 142, or include a height of the mobile device 100 calculated from an output of the barometer 144.
At step 340, the processor 120 may also generate the moving track of the mobile device 100 using the above-mentioned method. At step 345, processor 120 may compare the movement trace generated at step 340 to the movement trace in the activity record. If the two movement trajectories do not coincide, the flow ends up. If the two movement traces are consistent, the processor 120 may execute the preset function corresponding to the activity record in step 350.
The daily activities of modern people are usually repeated regularly. The invention can record the position of the mobile device when executing the preset function, and can automatically execute the same preset function at the same position afterwards. For example, when the user enters the office, the mobile device may automatically turn on the local transceiver to connect to the local wireless hotspot. When the user goes home, the mobile device can automatically play music. In summary, the present invention can automatically execute the preset function to reduce the operation burden of the user. The invention can automatically switch to a faster wireless transmission protocol. The invention can also automatically turn on or off part of hardware of the mobile device so as to avoid continuous power consumption of the part of hardware.
Although the present invention has been described with reference to the above embodiments, it should be understood that various changes and modifications can be made therein by those skilled in the art without departing from the spirit and scope of the invention.

Claims (14)

1. A mobile device, comprising:
a transceiver;
a sensing unit for detecting the position and the action of the mobile device to provide sensing data;
a storage device storing activity records; and
a processor, coupled to the transceiver, the sensing unit and the storage device, for obtaining a first identification code of a base station connected to the mobile device through the transceiver, and calculating a first height of the mobile device according to the sensing data; when the first identification code of the base station and the first height of the mobile device accord with a second identification code and a second height in the activity record, the processor executes a preset function corresponding to the activity record; when the execution of the preset function fails, the processor generates a first moving track of the mobile device according to the sensing data; when the first movement track of the mobile device is matched with the second movement track in the activity record, the processor executes the preset function,
the processor obtains a weather report through the transceiver and corrects the first altitude of the mobile device according to the weather report.
2. The mobile device of claim 1, wherein the processor corrects the first altitude of the mobile device based on at least one of temperature, humidity and barometric pressure included in the weather report.
3. The mobile device of claim 1, wherein when the processor performs the predetermined function and the memory device does not store the activity record, the processor adds the activity record to the memory device and adds the first identification code of the base station and the first altitude of the mobile device to the activity record.
4. The mobile device as claimed in claim 3, wherein the predetermined function is to transmit and/or receive data through a local wireless hotspot, the processor also adds a third identification code of the local wireless hotspot to the activity record when adding the activity record, and the processor automatically uses the third identification code of the local wireless hotspot in the activity record to connect to the local wireless hotspot when next performing the predetermined function.
5. The mobile device as claimed in claim 4, wherein the processor also adds the first password of the local wireless hotspot to the activity record when adding the activity record, and the processor automatically uses the third identification code and the first password of the local wireless hotspot in the activity record to connect to the local wireless hotspot when executing the predetermined function next time.
6. The mobile device as claimed in claim 3, wherein when the predetermined function fails to be executed and the activity record does not include the first movement trace, the processor starts to record the first movement trace of the mobile device until the next time the predetermined function is executed successfully, and adds the first movement trace of the mobile device to the activity record.
7. The mobile device as claimed in claim 1, wherein the predetermined function is to transmit and/or receive data through a local wireless hotspot; when the time length of the wireless hotspot signal loss in the area is less than a preset value, the processor maintains the preset function; and when the time length is greater than the preset value, the processor closes the preset function.
8. A function execution method for a mobile device, comprising:
obtaining a first identification code of a base station connected with the mobile device;
detecting the position and the action of the mobile device to provide sensing data;
calculating a first height of the mobile device according to the sensing data;
when the first identification code of the base station and the first height of the mobile device accord with a second identification code and a second height in an activity record, executing a preset function corresponding to the activity record;
when the execution of the preset function fails, generating a first moving track of the mobile device according to the sensing data; and
when the first moving track of the mobile device is matched with the second moving track in the activity record, the preset function is executed,
wherein still include:
obtaining a weather report; and
correcting the first altitude of the mobile device according to the weather report.
9. The function execution method of claim 8, further comprising:
correcting the first altitude of the mobile device according to at least one of the temperature, the humidity and the air pressure included in the weather report.
10. The function execution method of claim 8, further comprising:
when the predetermined function is executed and the activity record is not stored, the activity record is added, and the first identification code of the base station and the first altitude of the mobile device are added to the activity record.
11. The method of claim 10, wherein the predetermined function is transmitting and/or receiving data through a local wireless hotspot, and the method further comprises:
adding the third identification code of the wireless hotspot in the area into the activity record when the activity record is added; and
and automatically using the third identification code of the area wireless hotspot in the activity record to connect the area wireless hotspot when the preset function is executed next time.
12. The function execution method of claim 11, further comprising:
adding the first password of the wireless hotspot in the area into the activity record when the activity record is added; and
and automatically using the third identification code and the first password of the area wireless hotspot in the activity record to connect with the area wireless hotspot when the preset function is executed next time.
13. The function execution method of claim 10, further comprising:
when the preset function fails to be executed and the activity record does not include the first movement track, the first movement track of the mobile device is recorded until the next time the preset function is successfully executed, and the first movement track of the mobile device is added into the activity record.
14. The method of claim 8, wherein the predetermined function is transmitting and/or receiving data through a local wireless hotspot, and the method further comprises:
when the time length of the wireless hotspot signal loss in the area is less than a preset value, maintaining the preset function; and
and when the time length is greater than the preset value, closing the preset function.
CN201510097820.1A 2015-03-05 2015-03-05 Mobile device and function execution method thereof Active CN105991834B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510097820.1A CN105991834B (en) 2015-03-05 2015-03-05 Mobile device and function execution method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510097820.1A CN105991834B (en) 2015-03-05 2015-03-05 Mobile device and function execution method thereof

Publications (2)

Publication Number Publication Date
CN105991834A CN105991834A (en) 2016-10-05
CN105991834B true CN105991834B (en) 2020-01-21

Family

ID=57039660

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510097820.1A Active CN105991834B (en) 2015-03-05 2015-03-05 Mobile device and function execution method thereof

Country Status (1)

Country Link
CN (1) CN105991834B (en)

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6215896B1 (en) * 1995-09-29 2001-04-10 Advanced Micro Devices System for enabling the real-time detection of focus-related defects
CN102857627A (en) * 2011-06-29 2013-01-02 宏碁股份有限公司 Mobile device and related control method thereof
CN102892197A (en) * 2012-09-07 2013-01-23 佳都新太科技股份有限公司 Wireless fidelity (WIFI)-based indoor positioning system
CN103220758B (en) * 2013-03-28 2016-06-08 东莞宇龙通信科技有限公司 A kind of mobile terminal WiFi method of automatic configuration and system
CN104144477B (en) * 2013-05-08 2018-06-12 上海掌门科技有限公司 Wi-Fi electricity saving methods and system
CN103442433B (en) * 2013-08-13 2018-01-12 深圳Tcl新技术有限公司 A kind of method and system that indoor positioning is carried out using hotspot
CN103926890B (en) * 2014-04-08 2018-02-16 小米科技有限责任公司 Intelligent terminal control method and device

Also Published As

Publication number Publication date
CN105991834A (en) 2016-10-05

Similar Documents

Publication Publication Date Title
US9160546B2 (en) Authenticating users based upon an identity footprint
CN106416317B (en) Method and apparatus for providing location information
JP2018504659A (en) Mobile devices that provide enhanced security based on context sensor input
US20140120838A1 (en) Distributed systems and methods to measure and process sport motions
KR102005049B1 (en) Apparatus and method for providing safety management service based on context aware
CN107608855B (en) Reminding method and mobile terminal
JP6488754B2 (en) Information processing apparatus, control method, and program
WO2009031899A1 (en) Identifying mobile devices
CN112415554B (en) Positioning method and device, electronic equipment and computer readable storage medium
CN107908939B (en) Terminal alarm method and device and mobile terminal
CN105451205A (en) Intelligent wearable device matching method and device
CN104066052A (en) Positioning data processing method and device
CN108551525B (en) State determination method of movement track and mobile terminal
CN105135611A (en) Method for controlling air conditioner and smart watch
EP2996316A1 (en) Methods and systems for communication management between an electronic device and a wearable electronic device
CN110011766A (en) Wave beam failure detection method, terminal and the network equipment
CN105991834B (en) Mobile device and function execution method thereof
TWI572228B (en) Mobile device and method for executing a function thereof
CN108021235B (en) Method, device, terminal and storage medium for triggering operation
US9451412B1 (en) Mobile device and method for executing a function thereof
US9800715B2 (en) Methods and systems for detection management between electronic devices
CN107045419B (en) Electronic equipment for input
US9842483B2 (en) Information processing system for reducing load on a server
US10292129B2 (en) Automatic location-based notifications for a group of users
JP6805880B2 (en) Mobile terminals, methods and mobile communication systems

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant