WO2023174158A1 - Terminal device control method and terminal device - Google Patents

Terminal device control method and terminal device Download PDF

Info

Publication number
WO2023174158A1
WO2023174158A1 PCT/CN2023/080599 CN2023080599W WO2023174158A1 WO 2023174158 A1 WO2023174158 A1 WO 2023174158A1 CN 2023080599 W CN2023080599 W CN 2023080599W WO 2023174158 A1 WO2023174158 A1 WO 2023174158A1
Authority
WO
WIPO (PCT)
Prior art keywords
terminal device
watch
children
child
indication information
Prior art date
Application number
PCT/CN2023/080599
Other languages
French (fr)
Chinese (zh)
Inventor
高旭涛
Original Assignee
华为技术有限公司
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 华为技术有限公司 filed Critical 华为技术有限公司
Publication of WO2023174158A1 publication Critical patent/WO2023174158A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/02Power saving arrangements
    • H04W52/0209Power saving arrangements in terminal devices
    • H04W52/0261Power saving arrangements in terminal devices managing power supply demand, e.g. depending on battery level
    • H04W52/0274Power saving arrangements in terminal devices managing power supply demand, e.g. depending on battery level by switching on or off the equipment or parts thereof
    • H04W52/028Power saving arrangements in terminal devices managing power supply demand, e.g. depending on battery level by switching on or off the equipment or parts thereof switching on or off only a part of the equipment circuit blocks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72457User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to geographic location
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/02Services making use of location information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/02Power saving arrangements
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01SRADIO DIRECTION-FINDING; RADIO NAVIGATION; DETERMINING DISTANCE OR VELOCITY BY USE OF RADIO WAVES; LOCATING OR PRESENCE-DETECTING BY USE OF THE REFLECTION OR RERADIATION OF RADIO WAVES; ANALOGOUS ARRANGEMENTS USING OTHER WAVES
    • G01S19/00Satellite radio beacon positioning systems; Determining position, velocity or attitude using signals transmitted by such systems
    • G01S19/01Satellite radio beacon positioning systems transmitting time-stamped messages, e.g. GPS [Global Positioning System], GLONASS [Global Orbiting Navigation Satellite System] or GALILEO
    • G01S19/13Receivers
    • G01S19/34Power consumption
    • 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

Definitions

  • the present application relates to the technical field of terminal equipment, and in particular, to a terminal equipment control method and terminal equipment.
  • wearable devices have gradually become popular in people's lives.
  • wearable devices such as children's watches
  • the positioning function of wearable devices needs to be turned on for a long time so that relevant personnel can obtain the location information of the wearable device user in a timely manner.
  • wearable devices need to remain connected to the mobile network for a long time.
  • the mobile communication function of the wearable device needs to be turned on for a long time so that relevant personnel can contact the user of the wearable device in time. For example, parents can determine whether to contact a child based on the location of their watch.
  • wearable devices such as children's watches
  • their batteries are limited in size and have low storage capacity.
  • power consumption remains high, making it difficult to take into account the needs of users. the safety and standby time of the wearable device.
  • Embodiments of the present application provide a terminal device control method and terminal device, which can take into account the safety of children and the standby time of the terminal device.
  • a terminal device control method is provided. Applied to terminal equipment, which includes mobile communication modules and positioning modules.
  • the terminal device control method includes: obtaining location indication information.
  • the location indication information may indicate the area where the terminal device is located. If the location indication information indicates that the terminal device is located within the preset area, the mobile communication module and/or positioning module of the terminal device is turned off.
  • the terminal device can control the working status of the mobile communication module and the positioning module based on the area indicated by the location indication information, when the location indication information indicates that the child's watch is located in a preset area, such as school, home, etc.
  • a preset area such as school, home, etc.
  • the mobile communication module can be turned off. Parents do not need to obtain the child's real-time location from the "Smart Care" application.
  • the positioning module can be turned off. That is, Turning off the mobile communication module and/or positioning module can reduce the power consumption of the communication module and/or positioning module, taking into account the safety of the wearer and the standby time of the terminal device.
  • obtaining the location indication information includes: obtaining the working mode of the terminal device.
  • the working mode is used to indicate the working mode of the terminal device in different areas, and different working modes correspond to different preset areas. Determine the location indication information of the terminal device according to the working mode.
  • the terminal device can detect the corresponding location indication information according to the working mode. For example, when only one type of device exists in the preset area, signal detection can be performed for that type of device to obtain the location indication information, thereby simplifying the information. acquisition process, Further extend the standby time.
  • determining the location indication information of the terminal device according to the working mode includes: if the working mode is the first working mode, detecting a first preset type of device.
  • a first preset device is provided in the preset area, and the first preset device is a first preset type of device.
  • the first preset type of device includes one or more of the following: a device for sending Bluetooth signals, a device for sending wireless fidelity WIFI signals, or a near field communication NFC device.
  • the detection result of the device of the first preset type is determined as location indication information. In this way, the power consumption of the terminal device can be further reduced and the standby time can be extended.
  • the location indication information indicates that the terminal device is located within the preset area, then turning off the mobile communication module and/or the positioning module of the terminal equipment, including: if the first preset device is detected, then turning off the mobile communication module of the terminal equipment and /or positioning module.
  • determining the location indication information of the terminal device according to the working mode includes: if the working mode is the second working mode, detecting the Bluetooth signal.
  • the detection result of the Bluetooth signal is determined as location indication information. In this way, using Bluetooth signals for location detection can further reduce the power consumption of terminal equipment and extend the standby time.
  • turning off the mobile communication module and/or the positioning module of the terminal device includes: if the detection result of the Bluetooth signal of the second preset device is detected to be greater than or equal to the third Three signal strength thresholds, the mobile communication module and/or positioning module will be turned off. In this way, the area where the terminal device is located can be determined based on the Bluetooth signal, and the location monitoring of the terminal device can be realized in the mobile state to improve adaptability.
  • the terminal device control method provided in the first aspect further includes: obtaining motion status information.
  • the movement status information is used to indicate one or more of the following: moving distance, moving speed, or leaving a building area within a preset area. Turn on the mobile communication module and/or positioning module according to the motion status information. In this way, the location of the terminal device can be updated in time to further improve security.
  • obtaining the motion status information includes: obtaining the motion status information through the MCU.
  • the power consumption of the terminal device can be further reduced, thereby extending the standby time.
  • turning on the mobile communication module and the positioning module according to the motion status information includes: if the motion status information meets the first condition, turning on the mobile communication module and the positioning module.
  • the first condition includes: the moving speed of the terminal device is greater than or equal to the speed threshold. Or, the moving distance of the terminal device is greater than or equal to the distance threshold. Or, the light intensity detected by the terminal device is greater than or equal to the light intensity threshold.
  • the position of the terminal device can be detected from more angles and a more accurate position can be obtained, which can further improve security.
  • a terminal device including: a communication module, a touch screen, one or more processors, one or more memories, and one or more computer programs; wherein the processor, communication module, display screen, and memory Both are coupled, the above one or more computer programs are stored in the memory, and when the terminal device is running, the processor executes the one or more computer programs stored in the memory, so that the first device executes any of the above aspects. Terminal device control method.
  • a third aspect provides a communication system, which includes a first terminal device and a second terminal device, wherein the first terminal device can interact with the second terminal device to implement the method described in the first aspect. Terminal device control method.
  • a computer-readable storage medium includes a computer program. Or instructions, when the computer program or instructions are run on the computer, the computer is caused to execute the terminal device control method described in the first aspect.
  • a fifth aspect provides a computer program product.
  • the computer program product includes: a computer program or an instruction. When the computer program or instruction is run on a computer, it causes the computer to execute the terminal device control method described in the first aspect.
  • Figure 1 is a schematic diagram 1 of the architecture of a communication system provided by an embodiment of the present application.
  • Figure 2 is a schematic diagram 2 of the architecture of a communication system provided by an embodiment of the present application.
  • Figure 3 is a schematic diagram three of the architecture of the communication system provided by the embodiment of the present application.
  • Figure 4 is a schematic structural diagram of a children's watch provided by an embodiment of the present application.
  • Figure 5 is a schematic structural diagram 2 of a children's watch provided by an embodiment of the present application.
  • Figure 6 is a software structure block diagram of the second terminal device provided by the embodiment of the present application.
  • Figure 7 is a schematic diagram of an application scenario of the terminal device control method provided by the embodiment of the present application.
  • Figure 8 is a schematic diagram 2 of the application scenario of the terminal device control method provided by the embodiment of the present application.
  • Figure 9 is a schematic diagram three of the application scenario of the terminal device control method provided by the embodiment of the present application.
  • FIG. 10 is a schematic flowchart 1 of the terminal device control method provided by the embodiment of the present application.
  • Figure 11 is a schematic diagram 4 of the application scenario of the terminal device control method provided by the embodiment of the present application.
  • Figure 12 is a schematic diagram 5 of the application scenario of the terminal device control method provided by the embodiment of the present application.
  • Figure 13 is a schematic diagram 6 of the application scenario of the terminal device control method provided by the embodiment of the present application.
  • Figure 14 is a schematic diagram 7 of the application scenario of the terminal device control method provided by the embodiment of the present application.
  • Figure 15 is a schematic diagram 8 of the application scenario of the terminal device control method provided by the embodiment of the present application.
  • Figure 16 is a schematic diagram 9 of the application scenario of the terminal device control method provided by the embodiment of the present application.
  • Figure 17 is a schematic flowchart 2 of the terminal device control method provided by the embodiment of the present application.
  • Figure 18 is a schematic diagram 10 of the application scenario of the terminal device control method provided by the embodiment of the present application.
  • Figure 19 is a schematic diagram 11 of the application scenario of the terminal device control method provided by the embodiment of the present application.
  • Figure 20 is a schematic flowchart of mode switching of the setting control method provided by the embodiment of the present application.
  • Figure 21 is a schematic structural diagram of a terminal device provided by an embodiment of the present application.
  • connection should be understood in a broad sense.
  • connection can be a fixed connection, a detachable connection, or an integral body; it can be a direct connection or a detachable connection. Can be connected indirectly through intermediaries.
  • a wearable device (hereinafter referred to as a first terminal device) has independent mobile communication functions and positioning functions.
  • the first terminal device may be a smart watch, such as a children's watch, a bracelet, etc.
  • the positioning module of the first terminal device needs to be kept open for a long time so that relevant personnel can obtain the location information of the user of the first terminal device in a timely manner.
  • the first terminal device needs to remain connected to the mobile network for a long time. That is to say, the mobile communication function of the first terminal device needs to be kept on for a long time so that relevant personnel can communicate with the user of the first terminal device in a timely manner. get in touch.
  • the positioning module of children's watches needs to be kept turned on so that parents can obtain the child's location in time. Parents can determine whether to contact their children based on the location of the children's watch. Therefore, the children's watch also needs to stay connected for a long time, that is, the mobile communication module of the children's watch needs to stay on for a long time so that parents can contact their children in time.
  • the communication system shown in Figure 1 includes a first terminal device 101, a second terminal device 102, a first network device 103 and a second network device 104.
  • the first terminal device 101 is a wearable device, such as a smart watch (such as a children's watch), a bracelet, etc. Take children's watches as an example. Children's watches have mobile communication functions and positioning functions. The mobile communication function of children's watches is used to support children's communication with parents or other personnel. The positioning function of children's watches can collect children's location information. Parents can obtain children's location information through children's watches.
  • children's watches are small in size and have small battery capacity. In addition, children's watches consume a lot of power when turning on mobile communication and positioning functions, which results in a short standby time of children's watches.
  • embodiments of the present application provide a terminal device control method.
  • Children's watches can work in different working modes, such as a first working mode (for example, called “school mode”) and a second working mode (for example, called “school mode”). "Companionship Mode").
  • the children's watch can turn off the positioning module and/or the mobile communication module when detecting that the child's watch is located in a preset area such as a school area or a school bus.
  • the children's watch can turn off the positioning module and/or the mobile communication module when it detects that the child's watch is located in a preset area, such as an area where the Bluetooth signal of the parent's mobile phone can be detected.
  • the second terminal device 102 may be a mobile phone, a tablet computer, a handheld computer, a wearable electronic device, a vehicle-mounted device, etc. This is not limited in the embodiment of the present application.
  • An application (application) (hereinafter referred to as a management application) for managing the first terminal device 101 may be installed on the second terminal device 102, such as a smart care application.
  • the user can set relevant parameters of the first terminal device 101 (such as the working mode, the first working mode, the second working mode) by operating the application on the second terminal device 102.
  • the application on the second terminal device 102 can implement the management function of the first terminal device 101 through the first network device 103. That is to say, the first network device 103 may be used to provide services related to management applications. Wherein, the first network device 103 may be a server. As shown in Figure 1, the first terminal device 101 and the second terminal device 102 respectively establish communication connections with the first network device 103.
  • the communication connection between the first terminal device 101 and the first network device 103 may be a wireless connection.
  • the first terminal device 101 may establish a communication connection with the first network device 103 through WLAN.
  • the first terminal device 101 may establish a communication connection with the first network device 103 through a cellular network.
  • a communication connection may be established between the first terminal device 101 and the second network device 104, and the second network device 104 may establish a communication connection with the first network device 103.
  • a communication connection is established between the network devices 103, thereby realizing a communication connection between the first terminal device 101 and the first network device 103.
  • the connection method between the second terminal device 102 and the first network device 103 is similar to the connection method between the first terminal device 101 and the first network device 103, and will not be described again here.
  • the second network device 104 can be used to provide mobile communication services.
  • the second network device 104 can also be used to provide positioning services.
  • the second network device 104 may be a base station.
  • the first communication system may also include a third network device (not shown in FIG. 1 ), and the third network device may be used to implement the positioning function of the children's watch. In this way, when the children's watch is located in a preset area (such as a school area, a home area or other relatively safe areas), the mobile communication module and/or positioning module of the children's watch can be turned off, thereby balancing the safety of the child and the safety of the third party. The effect of the standby time of a terminal device.
  • the first terminal device 101 and the second terminal device 102 establish communication connections with the second network device 104 respectively.
  • the communication connection between the first terminal device 101 and the second network device 104 may be a wireless connection, and the communication connection between the second terminal device 102 and the second network device 104 may be a wireless connection.
  • the first terminal device 101 when the first terminal device 101 works in the "first working mode" and the first terminal device 101 is located in a preset area, in this case, the first terminal device 101 and the second terminal
  • the connection relationship between the device 102, the first network device 103 and the second network device 104 is as shown in Figure 2 below.
  • Communication can be maintained between the second terminal device 102 and the first network device 103.
  • connection the communication connection can be maintained between the second terminal device 102 and the second network device 104 .
  • the first terminal device 101 works in the "second working mode" and the first terminal device 101 is located in the preset area, in this case, the first terminal device 101 and the second terminal
  • the connection relationship between the device 102, the first network device 103 and the second network device 104 is as shown in Figure 3 below. There is no communication connection between the first terminal device 101 and the first network device 103 or the first terminal device 101 and the second network device 104, and the first terminal device 101 and the second terminal device 102 are connected by communication.
  • the children's watch 400 may include: a processor 410, an external memory interface 420, an internal Memory 421, antenna 1, antenna 2, mobile communication module 430, wireless communication module 440, audio module 450, speaker 450A, receiver 450B, microphone 450C, headphone interface 450D, sensor module 460, motor 470, indicator 471, display screen 472 , and subscriber identification module (SIM) card interface 473, etc.
  • a processor 410 an external memory interface 420, an internal Memory 421, antenna 1, antenna 2, mobile communication module 430, wireless communication module 440, audio module 450, speaker 450A, receiver 450B, microphone 450C, headphone interface 450D, sensor module 460, motor 470, indicator 471, display screen 472 , and subscriber identification module (SIM) card interface 473, etc.
  • SIM subscriber identification module
  • the structure illustrated in this embodiment does not constitute a specific limitation on the children's watch 400 .
  • the children's watch 400 may include more or fewer components than shown, or some components may be combined, or some components may be separated, or may be arranged differently.
  • the components shown may be represented by hardware, software, or both software and hardware. The combination of components is realized.
  • the processor 410 may include one or more processing units.
  • the processor 410 may include an application processor (application processor, AP), a microcontroller unit (MCU), a modem processor, a graphics processor (graphics processor).
  • application processor application processor
  • MCU microcontroller unit
  • modem processor graphics processor
  • graphics processor graphics processor
  • processing unit GPU
  • ISP image signal processor
  • controller memory
  • video codec video codec
  • DSP digital signal processor
  • NPU neural network processing
  • different processing units can be independent devices or integrated in one or more processors.
  • the micro control unit can be used to receive signals collected by the sensor module 460 and process the signals collected by the sensor module 460.
  • the micro control unit can also be used to control other structures on the children's watch, such as mobile communications.
  • the controller may be the nerve center and command center of the children's watch 400 .
  • the controller can generate operation control signals based on the instruction operation code and timing signals to complete the control of fetching and executing instructions.
  • the processor 410 may also be provided with a memory for storing instructions and data.
  • the memory in processor 410 is cache memory. This memory may hold instructions or data that have been recently used or recycled by processor 410 . If the processor 410 needs to use the instructions or data again, it can be called directly from the memory. Repeated access is avoided and the waiting time of the processor 410 is reduced, thus improving the efficiency of the system.
  • processor 410 may include one or more interfaces. Such as the subscriber identity module (SIM) interface.
  • SIM subscriber identity module
  • the wireless communication function of the children's watch 400 can be realized through the antenna 1, the antenna 2, the mobile communication module 430, the wireless communication module 440, the modem processor and the baseband processor.
  • Antenna 1 and Antenna 2 are used to transmit and receive electromagnetic wave signals.
  • the mobile communication module 430 can provide wireless communication solutions including 2G/3G/4G/5G applied to the children's watch 400 .
  • at least part of the functional modules of the mobile communication module 430 may be disposed in the processor 410.
  • at least part of the functional modules of the mobile communication module 430 and at least part of the modules of the processor 410 may be provided in the same device.
  • the wireless communication module may include a Bluetooth module, an NFC module, a positioning module and a WLAN module.
  • the wireless communication module 440 can provide wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) network), Bluetooth (BT), and global navigation satellites that are used on the children's watch 400.
  • System global navigation satellite system, GNSS
  • frequency modulation frequency modulation, FM
  • near field communication technology near field communication
  • NFC near field communication technology
  • infrared technology infrared, IR
  • the wireless communication module 440 may be one or more devices integrating at least one communication processing module.
  • the wireless communication module 440 receives electromagnetic waves via the antenna 2 , frequency modulates and filters the electromagnetic wave signals, and sends the processed signals to the processor 410 .
  • the wireless communication module 440 can also receive the signal to be sent from the processor 410, frequency modulate it, amplify it, and convert it into electromagnetic waves through the antenna 2 for radiation.
  • the antenna 1 of the children's watch 400 is coupled to the mobile communication module 430, and the antenna 2 is coupled to the wireless communication module 440, so that the children's watch 400 can communicate with the network and other devices through wireless communication technology.
  • the wireless communication technology may include a global system for mobile communications communications (GSM), general packet radio service (GPRS), code division multiple access (CDMA), wideband code division multiple access (WCDMA), time division code Time-division code division multiple access (TD-SCDMA), long term evolution (LTE), BT, GNSS, WLAN, NFC, FM, and/or IR technology, etc.
  • GSM global system for mobile communications communications
  • GPRS general packet radio service
  • CDMA code division multiple access
  • WCDMA wideband code division multiple access
  • TD-SCDMA time division code Time-division code division multiple access
  • LTE long term evolution
  • BT GNSS
  • WLAN wireless local area network
  • the GNSS may include global positioning system (GPS), global navigation satellite system (GLONASS), Beidou navigation satellite system (BDS), quasi-zenith satellite system (quasi) -zenith satellite system (QZSS) and/or satellite based augmentation systems (SBAS).
  • GPS global positioning system
  • GLONASS global navigation satellite system
  • BDS Beidou navigation satellite system
  • QZSS quasi-zenith satellite system
  • SBAS satellite based augmentation systems
  • the positioning module can obtain the position of the children's watch based on GNSS, that is to say, the positioning module can realize the positioning function of the children's watch.
  • the children's watch 400 implements the display function through the GPU, the display screen 472, and the application processor.
  • the GPU is an image processing microprocessor and is connected to the display screen 472 and the application processor. GPUs are used to perform mathematical and geometric calculations for graphics rendering.
  • Processor 410 may include one or more GPUs that execute program instructions to generate or alter display information.
  • the display screen 472 is used to display images, videos, etc.
  • the display screen 472 includes a display panel.
  • the display panel can use a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active matrix organic light emitting diode or an active matrix organic light emitting diode (active-matrix organic light emitting diode).
  • LCD liquid crystal display
  • OLED organic light-emitting diode
  • AMOLED organic light-emitting diode
  • FLED flexible light-emitting diode
  • Miniled MicroLed, Micro-oLed, quantum dot light emitting diode (QLED), etc.
  • the external memory interface 420 can be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the children's watch 400.
  • Internal memory 421 may be used to store computer executable program code, which includes instructions.
  • the children's watch 400 can implement audio functions through the audio module 450, the speaker 450A, the receiver 450B, the microphone 450C, the headphone interface 450D, and the application processor. Such as music playback, recording, etc.
  • the above-mentioned sensor module 460 may include sensors such as a gyroscope sensor, a magnetic sensor, an acceleration sensor, a gravity sensor, a distance sensor, a touch sensor, and an ambient light sensor.
  • sensors such as a gyroscope sensor, a magnetic sensor, an acceleration sensor, a gravity sensor, a distance sensor, a touch sensor, and an ambient light sensor.
  • Magnetic sensors include Hall sensors.
  • the children's watch 400 can use a magnetic sensor to detect the wearing status of the children's watch.
  • the acceleration sensor detects the acceleration of the phone in all directions.
  • Ambient light sensors can be used to sense the brightness of ambient light.
  • the above-mentioned sensor module 460 may include 3 acceleration sensors and 3 gyro sensors. These three acceleration sensors and three gyroscope sensors can form a 6-axis inertial measurement unit (IMU).
  • the above-mentioned sensor module 460 may include three acceleration sensors, three gyroscope sensors, and three magnetometers. These three acceleration sensors, three gyroscope sensors, and three magnetometers can form a 9-axis IMU.
  • the acceleration sensor or gravity sensor in the sensor module can also be collectively referred to as a motion sensor.
  • Touch sensor also called “touch panel”.
  • the touch sensor can be provided on the display screen 472, and the touch sensor
  • the device and the display screen 472 form a touch screen, also known as a "touch screen”.
  • Touch sensors are used to detect touches on or near them.
  • the touch sensor can pass the detected touch operation to the application processor to determine the touch event type.
  • Visual output related to the touch operation may be provided through display screen 472 .
  • the touch sensor may also be disposed on the surface of the children's watch 400 in a position different from that of the display screen 472 .
  • the children's watch 400 can detect the touch operation input by the user on the touch screen through the touch sensor, and collect the touch position, touch area, touch direction, and touch time of the touch operation on the touch screen. one or more items. In some embodiments, the children's watch 400 can determine the touch location of the touch operation on the touch screen through a combination of a touch sensor and a pressure sensor.
  • the Motor 470 can generate vibration cues.
  • the motor 470 can be used for vibration prompts for incoming calls and can also be used for touch vibration feedback.
  • the indicator 471 may be an indicator light, which may be used to indicate charging status, power changes, or may be used to indicate messages, missed calls, notifications, etc.
  • the SIM card interface 473 is used to connect a SIM card.
  • the SIM card can be connected to or separated from the children's watch 400 by inserting it into the SIM card interface 473 or pulling it out from the SIM card interface 473 .
  • the children's watch 400 can support 1 or N SIM card interfaces, where N is a positive integer greater than 1.
  • SIM card interface 473 can support Nano SIM card, Micro SIM card, SIM card, etc.
  • the children's watch has a multi-core architecture, that is, the children's watch includes multiple cores.
  • the processor of the children's watch may include an application processor (AP). ) and micro control unit (MCU).
  • the MCU in the children's watch can be connected to the Bluetooth module, motion sensor, ambient light sensor, positioning module and display screen, etc., and process the data of the Bluetooth module, motion sensor, ambient light sensor, positioning module and display screen.
  • the AP in the children's watch can be connected to the display screen, SIM card (if any), camera (if any), etc., and process data from the display screen, SIM card (if any), camera (if any), etc.
  • the mobile phone may include a structure similar to a children's watch.
  • a mobile phone may include more or fewer components than a children's watch, or some components may be combined, or some components may be separated, or may be arranged differently.
  • the software system of the second terminal device can adopt a layered architecture, an event-driven architecture, a microkernel architecture, a microservice architecture, or a cloud architecture.
  • the embodiment of this application uses the software system as the layered architecture of Android Taking the operating system as an example, the software structure of the above-mentioned second terminal device is illustrated with reference to the figure.
  • FIG. 6 is a software structure block diagram of the second terminal device provided by the embodiment of the present application.
  • the layered architecture can divide the software into several layers, and each layer has clear roles and division of labor.
  • the layers communicate through software interfaces.
  • the Android system is divided into five layers, from top to bottom: application layer, application framework layer, Android runtime and system library, and hardware abstraction layer (HAL). and the kernel layer.
  • HAL hardware abstraction layer
  • this article takes the Android system as an example.
  • other operating systems such as Hongmeng system, IOS system, etc.
  • the solution of the present application can also be implemented.
  • the application layer can include a series of application packages. For example, as shown in Figure 6, applications such as calls, memos, browsers, contacts, galleries, calendars, maps, Bluetooth, music, videos, and short messages can be installed in the application layer.
  • applications such as calls, memos, browsers, contacts, galleries, calendars, maps, Bluetooth, music, videos, and short messages can be installed in the application layer.
  • an application for managing the first terminal device such as a "smart care” application, is also installed in the application layer of the second terminal device.
  • the "smart care” application can be used to implement the location information query function or management function of the first terminal device.
  • the application framework layer provides an application programming interface (API) and programming framework for applications in the application layer.
  • API application programming interface
  • the application framework layer includes some predefined functions.
  • the application framework layer may include smart care services.
  • the smart care service can be used to set the working mode of the first terminal device and obtain information such as the location of the first terminal device.
  • the application framework layer may also include a window manager, a content provider, a view system, a resource manager, a notification manager, etc. This embodiment of the present application does not impose any restrictions on this.
  • the window manager mentioned above is used to manage window programs.
  • the window manager can obtain the display size, determine whether there is a status bar, lock the screen, capture the screen, etc.
  • the above content providers are used to store and retrieve data and make this data accessible to applications. Said data can include videos, images, audio, calls made and received, browsing history and bookmarks, phone books, etc.
  • the above view system can be used to build the display interface of the application.
  • Each display interface can be composed of one or more controls.
  • controls can include interface elements such as icons, buttons, menus, tabs, text boxes, dialog boxes, status bars, navigation bars, and widgets.
  • the above resource manager provides various resources to applications, such as localized strings, icons, pictures, layout files, video files, etc.
  • the above notification manager allows the application to display notification information in the status bar, which can be used to convey notification type messages, and can automatically disappear after a short stay without user interaction.
  • the notification manager is used to notify download completion, message reminders, etc.
  • the notification manager can also be notifications that appear in the status bar at the top of the system in the form of charts or scroll bar text, such as notifications for applications running in the background, or notifications that appear on the screen in the form of conversation windows. For example, prompt text information in the status bar, sound a beep, vibrate, blink the indicator light, etc.
  • Android runtime includes core libraries and virtual machines. The Android runtime is responsible for the scheduling and management of the Android system.
  • the core library contains two parts: one is the functional functions that need to be called by the Java language, and the other is the core library of Android.
  • the application layer and application framework layer run in virtual machines.
  • the virtual machine executes the java files of the application layer and application framework layer into binary files.
  • the virtual machine is used to perform object life cycle management, stack management, thread management, security and exception management, and garbage collection and other functions.
  • System libraries can include multiple functional modules. For example: surface manager (surface manager), media libraries (Media Libraries), 3D graphics processing libraries (for example: OpenGL ES), 2D graphics engines (for example: SGL), etc.
  • the surface manager is used to manage the display subsystem and provides the integration of 2D and 3D layers for multiple applications.
  • the media library supports playback and recording of a variety of commonly used audio and video formats, as well as static image files, etc.
  • the media library can support a variety of audio and video encoding formats, such as: MPEG4, H.264, MP3, AAC, AMR, JPG, PNG, etc.
  • the 3D graphics processing library is used to implement 3D graphics drawing, image rendering, composition, and layer processing.
  • 2D Graphics Engine is a drawing engine for 2D drawing.
  • the HAL of the second terminal device provides HAL corresponding to different hardware of the second terminal device, such as mobile communication HAL, positioning HAL, Bluetooth HAL, Wi-Fi HAL, etc.
  • the mobile communication HAL can correspond to the mobile communication module through the mobile communication driver of the kernel layer.
  • Bluetooth HAL can correspond to the Bluetooth module through the Bluetooth driver at the kernel layer.
  • Wi-Fi HAL can correspond to the WLAN module through the Bluetooth driver at the kernel layer.
  • the kernel layer is the layer between hardware and software.
  • the kernel layer at least includes a display driver, a mobile communication driver, a positioning driver, a Bluetooth driver, and a Wi-Fi driver.
  • the kernel layer may also include an audio driver, a sensor driver, etc. The embodiments of this application do not impose any restrictions on this.
  • the first terminal device is a child's watch
  • the second terminal device is a parent's mobile phone
  • the management application is a "smart care" application to illustrate the terminal device control method provided by the embodiments of the present application.
  • the children's watch can obtain the location indication information used to indicate the area where the child's watch is located, and control the working status of the mobile communication module and/or positioning module of the child's watch based on the location indication information. If the location indication information indicates that the terminal device is located in the preset area, the mobile communication module and/or the positioning module are turned off. In this way, the power consumption of the children's watch can be reduced and the standby time of the children's watch can be extended.
  • the preset area may be a user-specified area, and the preset area may include one or more fixed areas, that is, areas that can be determined in advance, such as the area occupied by the school (school area) or the location of the home.
  • the following describes the terminal device control method provided by the embodiment of the present application when the first terminal device is a children's watch with reference to specific scenarios.
  • the "Smart Care” application on the mobile phone may include a "Work Mode” option 701.
  • the mobile phone can receive the parent's operation on the "working mode” option 701, such as the first operation.
  • the first operation may be any operation such as a click operation, a long press operation, or a double-click operation by the parent on the "working mode” option 701.
  • the mobile phone may display a "Mode Settings” tab 801, and the "Mode Settings” tab 801 may include multiple options.
  • the "Mode Settings" tab 801 may include a "School Mode” option 811, a “Company Mode” option 812, and may also include a “Parameter Settings” option 813.
  • the "school mode” option 811 is used to select the children's watch to work in the "school mode”.
  • the "Companion Mode” option 812 can be used to select the child's watch to work in the "Companion Mode”.
  • the "parameter setting” option 813 can be used to set parameters related to the working mode of the children's watch in the "school mode” or "accompanying mode”.
  • the method embodiment shown in Figure 10 and the method implementation shown in Figure 17 below For example, we will not go into details here.
  • parents can operate the "school mode” option 811 in the tab shown in (a) in Figure 9, and the mobile phone can receive the parents' operations on the "school mode” option 811, Like the second operation.
  • the second operation may be a parent's click operation, long press operation or double click operation on the "school mode” option 811, etc. Any kind of operation.
  • the mobile phone displays the interface shown in (b) of Figure 9 , in which the "school mode" option 811 becomes selected.
  • the mobile phone can send the first message to the first network device (the first network device can provide services for children's watches and terminal devices, such as location query of children's watches, settings of children's watches, etc.), wherein, The first message is used to indicate that the working mode of the selected children's watch is "school mode".
  • the server sends a second message to the child's watch according to the first message, where the second message is used to instruct the child's watch to turn on the "school mode" (ie, the first working mode). After the children's watch receives the second message, it can turn on the "school mode".
  • the children's watch can perform the following steps S1001 to S1002.
  • the following is an example of how a child's watch turns on the "school mode” and the child takes a school bus to school.
  • the children's watch obtains location indication information.
  • the location indication information is used to indicate whether the children's watch is located in the school bus area, that is, within the preset area.
  • the preset area indicated by the location indication information of the child's watch may be related to the working mode enabled by the child's watch, such as "school mode".
  • the terminal device can detect the corresponding location indication information according to the working mode. For example, when only one type of device exists in the preset area, signal detection can be performed for that type of device to obtain the location indication information, thereby simplifying the information. acquisition process to further extend the standby time.
  • the location indication information can be obtained based on the following manner.
  • Method one is to obtain location indication information based on WLAN, such as wireless fidelity (WIFI) technology.
  • WLAN such as wireless fidelity (WIFI) technology.
  • WIFI wireless fidelity
  • the school bus is equipped with a WIFI signal sending device (hereinafter referred to as WIFI device), and the children's watch working in "school mode" turns on the WIFI signal detection function.
  • the location indication information may include identification information of the WIFI device from which the child's watch detects the WIFI signal, or the location indication information may also include the signal strength of the WIFI signal received by the child's watch.
  • the children's watch can obtain the identification information of the WIFI device that has detected the WIFI signal and the signal strength of the WIFI signal, thereby obtaining location indication information. Among them, the children's watch pre-stores the identification information of the WIFI device in the school bus.
  • the child's watch detects the signal sent by the WIFI device installed in the school bus, it is determined that the child's watch is in the school bus area, that is, the preset area. If the child's watch does not detect the signal sent by the WIFI device installed in the school bus, it is determined that the child's watch is in the school bus area, that is, outside the preset area. For example, when the child's watch detects a signal sent by a WIFI device installed in the school bus, it may be that the child's watch detects that the signal strength of the signal sent by the WIFI device installed in the school bus is greater than or equal to the first signal strength threshold. If the child's watch does not detect the signal sent by the WIFI device installed in the school bus, it may be that the child's watch detects that the signal strength of the signal sent by the WIFI device installed in the school bus is less than the first signal strength threshold.
  • the first signal strength threshold may be -90 decibel relative to one milliwatt (dBm).
  • the first signal strength threshold is only used as an example.
  • the first signal strength threshold can be determined according to the actual situation, such as the transmission power of the WIFI device and/or the range of the school bus (preset area), etc. No further details will be given here.
  • Method 2 Obtain location indication information based on Bluetooth.
  • the school bus is equipped with a Bluetooth signal sending device (hereinafter referred to as the Bluetooth device).
  • the children's watch working in "Mode" turns on the Bluetooth signal detection function.
  • the location indication information can include the identification information of the Bluetooth device corresponding to the Bluetooth signal detected by the child's watch.
  • the location indication information can also include the Bluetooth signal received by the child's watch. Strength.
  • the children's watch can obtain the identification information of the Bluetooth device that detects the Bluetooth signal and the signal strength of the Bluetooth signal, thereby obtaining the location indication information. Among them, the children's watch pre-stores the identification information of the WIFI device in the school bus.
  • the children's watch detects If the child's watch does not detect the signal sent by the Bluetooth device set up in the school bus, it is determined that the child's watch is in the school bus area, that is, within the preset area. If the child's watch does not detect the signal sent by the Bluetooth device set up in the school bus, it is determined that the child's watch is in the school bus area, that is, Outside the preset area. For example, if the child's watch detects a signal sent by a Bluetooth device installed in the school bus, it may be that the child's watch detects that the signal strength of the signal sent by the Bluetooth device installed in the school bus is greater than or equal to the second signal strength. Threshold. The child's watch does not detect the signal sent by the Bluetooth device installed in the school bus. This may be because the child's watch detects that the signal strength of the signal sent by the Bluetooth device installed in the school bus is less than the second signal strength threshold.
  • the second signal strength threshold may be -90dBm.
  • the specific value of the second signal strength threshold may be determined based on the transmission power of the Bluetooth device and/or the range of the school bus (preset area). It can be understood that the second signal strength threshold is only used as an example. In specific implementation, the second signal strength threshold can be based on actual conditions, such as the transmission power of the Bluetooth device and/or the range of the school bus (preset area), etc. OK, no more details here.
  • the children's watch can establish a Bluetooth connection with the mobile phone. If the Bluetooth connection between the children's watch and the Bluetooth device exists, the children's watch is located in the school bus area. If the Bluetooth connection between the children's watch and the Bluetooth device exists, If the connection is lost, the child's watch is in an area outside the school bus area.
  • Bluetooth devices and smart watches can use Bluetooth low energy (BLE) technology to send or receive signals.
  • BLE Bluetooth low energy
  • Method 3 Obtain location indication information based on near field communication (NFC) technology.
  • NFC near field communication
  • the school bus is equipped with an NFC device, and the children's watch working in "school mode" turns on the NFC detection function.
  • the location indication information is the identification information indicating whether the children's watch can read the NFC device in the school bus through NFC technology. When children get on the bus, they can put the children's watch close to the NFC device to obtain the identification information of the NFC device. If the child's watch detects the NFC device installed in the school bus, it is determined that the child's watch has entered the school bus, that is, within the preset area.
  • the above methods for obtaining position indication information are only used as examples.
  • the children's watch can also obtain position indication information through other existing methods, which will not be described again here.
  • the location indication information can also be determined by combining existing methods to obtain the location indication information, such as the above-mentioned methods one to three.
  • the WIFI devices, Bluetooth devices, and NFC devices in the school bus can all be called first default devices.
  • the first default devices can also include other devices, which will not be described again here.
  • the type of device (device type) in the preset area that can be used to assist the children's watch in determining the location is the preset type. That is to say, the preset type of device can include a device for sending Bluetooth signals, a device for sending WIFI signals, Device, or near field communication NFC device, that is, WIFI device, Bluetooth device, NFC device.
  • the detection result of the preset type of device may include the device identification of the first preset device.
  • the detection result of the preset type of device may also include the signal strength of the signal sent by the first preset device.
  • the positioning module can be turned off, that is, the mobile communication module and/or the positioning module can be turned off, thereby reducing the power consumption of the communication module and/or the positioning module to extend the standby time of the children's watch.
  • method 1 when the child's watch detects that the signal strength of the signal sent by the WIFI device installed in the school bus is less than the first signal strength threshold, the child leaves the school bus.
  • the second method is used to obtain location information, the child's watch detects that the signal strength of the signal sent by the Bluetooth device installed in the school bus is less than the second signal strength threshold, or the Bluetooth connection between the child's watch and the Bluetooth device in the school bus is disconnected. state when children leave the school bus.
  • method three is used to obtain location information, the child leaves the school bus when the child's watch reads the signal sent by the NFC device in the school bus again.
  • the control method of the children's watch can refer to the method embodiment shown in Figure 10 above.
  • the location indication information can also be determined based on the location of the child's watch detected by the positioning module.
  • the children's watch can also activate the sensors in the sensor module, such as motion sensors or ambient light sensors, to detect the relevant status of the children's watch.
  • the motion sensor includes an acceleration sensor.
  • the children's watch can activate the motion sensor to detect the child's motion status. At this time, in a possible design, the children's watch can also perform the following steps 1 to 4.
  • Step 1 The children's watch obtains the acceleration of the children's watch through the acceleration sensor, and determines the movement speed (i.e., motion state) of the children's watch based on the acceleration of the children's watch.
  • the moving speed of the child's watch can indicate the possibility of the child moving outside the school area. If the child's moving speed is greater than or equal to the speed threshold, the child is likely to move outside the school area. In this case, the children's watch can perform the following step 2.
  • the speed threshold can be determined according to the actual situation.
  • the speed threshold may be determined according to the speed of the vehicle, for example, the speed threshold may be 20 kilometers per hour to 30 kilometers per hour. It can be understood that the speed threshold here is only used as an example and does not specifically limit the speed threshold.
  • the speed threshold can be determined according to the actual situation, such as the size of the school area, and will not be described again here.
  • Step 2 Turn on the positioning module of the children's watch.
  • Step 3 If the child’s watch determines that the child’s watch has not left the school area through the position detected by the positioning module, Then close the positioning module again.
  • Step 4 If the mobile communication module is turned off and the child's watch determines that the child has left school based on the location detected by the positioning module, the mobile communication module is further turned on.
  • the positioning module can be turned on in time to detect the child's position, thereby further improving the safety of the child.
  • the children's watch can also determine the movement distance of the children's watch relative to the reference position (ie, the motion state) based on the acceleration obtained by the acceleration sensor. If the movement distance of the child's watch relative to the reference position is greater than or equal to the distance threshold, the child is likely to move outside the school area. In this case, the child's watch can still perform the above steps 2 to 4, which are not discussed here. Repeat.
  • the reference position is the starting point used to determine the distance the child moves.
  • the reference position can be the position of the teaching area; or, if the positioning module has been turned on after the child's watch leaves the teaching area, the reference position can be the last time the child's watch was turned on.
  • the position detected by the positioning module may be 100 meters. It can be understood that the distance threshold here is only used as an example and does not specifically limit the distance threshold. During specific implementation, the distance threshold can be determined based on the actual situation, such as the size of the school area, and will not be described again here.
  • the above-mentioned motion sensor may be a three-axis IMU, a six-axis IMU, or a nine-axis IMU, which is not specifically limited in this application.
  • the motion sensor can detect the movement status of the children's watch in more directions, such as acceleration, so as to obtain more accurate displacement and further improve safety.
  • the child's watch can activate the ambient light sensor to detect whether the child has left the building area (motion state) such as the classroom in the school area, and then determine whether the child is likely to leave the school. .
  • the light intensity may be the intensity of visible light or the intensity of invisible light.
  • the light intensity threshold may be: Light intensity threshold: 2000 lux.
  • invisible light such as ultraviolet light
  • the light intensity can be 1100 megawatt per square meter (mW/m 2 ). It can be understood that the light intensity threshold here is only used as an example and does not specifically limit the light intensity threshold. During specific implementation, the light intensity threshold can be determined based on actual conditions, such as weather, etc., which will not be described again here.
  • the processor of the children's watch is a multi-core processor and includes an AP and an MCU, in this case, as shown in Figure 5 above, some sensors in the sensor module can be connected to the MCU.
  • the signals collected by the motion sensor and light sensor can be transmitted to the MCU and processed by the MCU to obtain the motion status of the children's watch, thereby realizing motion status monitoring.
  • children's watches can also collect environmental sounds through microphones, and then monitor children's movement status based on environmental sounds. For example, if a child leaves the school by car or bicycle after school, the children's watch can collect sound signals in the surrounding environment through the microphone, and detect vehicle movement in the detected sound signals. In the case of sound signals generated while driving, the positioning module and/or mobile communication module are turned on.
  • the children's watch can determine the movement state of the children's watch based on one of the movement speed of the children's watch, the movement distance of the children's watch, or the light intensity detected by the children's watch, or it can also be combined with the movement status of the children's watch.
  • the location of the child's watch is determined by a combination of movement speed, distance traveled by the child's watch, or light intensity detected by the child's watch.
  • Step 5 The children's watch obtains the data collected by each sensor through the MCU, and obtains the movement status of the children's watch based on the data collected by each sensor.
  • the child enters the home area from an area outside the home area.
  • the control method of the children's watch is similar to that when the child enters school, and will not be described again here.
  • parents can update the preset area according to the actual situation. For example, parents apply for out-of-school care services for their children. In this case, the parents can set the area where the care institution is located as the default area. Children's watches can still work in "school mode" after entering the area where the child care institution is located. The working principle of children's watches in day care institutions is similar to the working principle of children's watches in school areas, so we will not go into details here.
  • the process of updating the preset area is as follows: the parent's mobile phone can receive the parent's third operation of the "parameter setting" option 813 in (a) in Figure 11 .
  • the third operation may be any operation such as a click operation, a long press operation, or a double-click operation by the parent on the "parameter setting" option 813.
  • the mobile phone can display the "Parameter Item” tab 1101 as shown in (b) of Figure 11.
  • the "Parameter Item” tab 1101 includes options for the area that have been set, such as "Area 1" option, the "Zone 2" option, and the "Add New Zone” option 1111.
  • the "Parameter Items” tab 1101 may also include already set distance options, such as the "Distance 1" option, the "Distance 2" option, and the “Set Companion Distance” option 1112.
  • the mobile phone can receive the parent's fourth operation on the "add new area” option 1111.
  • the fourth operation may be any operation such as a click operation, a long press operation, or a double-click operation by the parent on the "Add New Area” option 1111.
  • the mobile phone in response to the fourth operation, can display the "Area 3" option as shown in (b) of Figure 12 .
  • the fourth operation may be an operation of inputting information that requires a newly added preset area.
  • the information of the preset area input by the fourth operation may be, for example, the identification information of the WIFI device in the preset area.
  • the information of the preset area of the fourth operation input may be the input of a specific location.
  • the mobile phone may respond to the fourth operation and set the area where the position of the fourth operation input is located as the preset area.
  • the location input in the fourth operation is a location in the area where the managed school is located.
  • the mobile phone can set the area where the managed school is located as a default area.
  • the mobile phone in response to the fourth operation, can display the "designated area” interface as shown in Figure 13.
  • the mobile phone can receive the fifth operation of the parent on the "designated area” interface.
  • the fifth operation may be any operation such as a click operation, a long press operation or a double-click operation by the parent on the "specified area” interface.
  • the area corresponding to the position is set as the preset area.
  • the mobile phone can store the corresponding relationship between the location and the area. For example, the area corresponding to each location in the trusteeship school is the area where the trusteeship school is located. Location 1 is located in the area where the trusteeship school is located. Then the mobile phone can respond to the parent's request for location 1.
  • the fifth operation is to add the area where the managed school is located as a default area.
  • the mobile phone in response to the fourth operation, can display a "specified area” interface as shown in Figure 14.
  • the "specified area” interface includes graphics of different areas (such as a map).
  • the mobile phone can receive parents
  • For the sixth operation of the "specify area” interface in response to the sixth operation, the area formed by the sixth operation is determined as the preset area.
  • the sixth operation may be for the parent to manually specify an area.
  • the parent manually slides around the periphery of the custody school (the sliding trajectory is shown as a dotted line in Figure 14).
  • the mobile phone in response to the sixth operation, the mobile phone can move the custody school to The area is set as the default area.
  • the mobile phone can also automatically set the path between two preset areas as the preset area according to the preset area that has been obtained, when there are multiple fixed preset areas. For example, after the home community and school are set as default areas, the mobile phone can also set the path between the home community and the school as the default area, or it can use a method similar to setting the area where the managed school is located as the default area. , set the path between Community A and the school as the default area.
  • the mobile phone can receive the parent's operation on the area option, thereby deleting the corresponding area.
  • the mobile phone can receive the parent's seventh operation on the "Area 1" option.
  • the seventh operation may be any operation such as a click operation, a long press operation, or a double-click operation by the parent on the "Area 1" option.
  • the mobile phone deletes the "Area 1" option and displays the interface shown in (b) of Figure 15 .
  • the children and their parents are together.
  • the parents pick up the children after school.
  • the parents can obtain the children's location information in time.
  • the child's watch and the parent's mobile phone can be connected.
  • short-distance methods such as Bluetooth, ZigBee, WLAN, etc.
  • Bluetooth communication between a child's watch and a parent's mobile phone is an example of Bluetooth communication between a child's watch and a parent's mobile phone.
  • the parent can perform an eighth operation on the "accompanying mode" option 812.
  • the eighth operation may be any operation such as a click operation, a long press operation, or a double-click operation by the parent on the "accompanying mode” option 812.
  • the mobile phone responds to the parent's eighth operation.
  • the mobile phone can send a third message to the server.
  • the third message is used to instruct the children's watch to work in "accompanying mode".
  • the server sends the fourth message to the child's watch.
  • the children's watch can turn on Bluetooth and work in "companion mode" (that is, the second working mode).
  • the "companion mode" option 812 becomes selected, and the parent's mobile phone can turn on Bluetooth.
  • the "companion mode” can also be turned on on the child's watch, which will not be described again here.
  • the children's watch can perform the following steps S1701 to S1702.
  • the children's watch detects Bluetooth signals and obtains location indication information.
  • the location indication information is: information related to the Bluetooth signal detected by the child's watch, for example, the device identification of the device that emits the Bluetooth signal (hereinafter referred to as the Bluetooth device), the signal strength of the Bluetooth signal, etc.
  • the preset area indicated by the position indication information of the child's watch may be related to the working mode of the child's watch, such as "accompanying mode".
  • the terminal device can detect the corresponding location indication information according to the working mode. For example, when there is only one type of device in the preset area, the signal can be detected for that type of device to obtain the location indication information, which can simplify the information. acquisition process to further extend the standby time.
  • the child's watch when the child's watch detects the Bluetooth signal sent by the parent's mobile phone, it may be that the child's watch detects that the signal strength of the Bluetooth signal from the parent's mobile phone is greater than or equal to the third signal strength threshold, or it may be that the child There is a Bluetooth connection between the watch and the parent's phone. At this time, the children's watch can turn off the mobile communication module and/or positioning module.
  • the third signal strength threshold can be set by parents or children.
  • a third signal strength threshold can be set for a child's watch via the parent's cell phone.
  • the third signal strength threshold may be -90dBm.
  • the mobile phone may receive a third operation on the "parameter setting" option 813, and in response to the third operation, the mobile phone may display as shown in (b) in Figure 11 interface.
  • the mobile phone can receive the ninth operation (input the new companion distance 3) of the "set companion distance” option 1112 shown in (b) in Figure 11 from the parent, as shown in Figure 18 The "distance 3" option in (b).
  • the mobile phone can receive the parent's operation on the distance option (such as the "Distance 1" option to the “Distance 3” option), and respond to the parent's operation on the distance option, and select the distance corresponding to the preset area in the "Companion Mode", that is, the children's watch distance from the phone.
  • the distance option such as the "Distance 1" option to the “Distance 3” option
  • the mobile communication module can be turned off, that is, the mobile communication module and/or the positioning module can be turned off, thereby reducing the power consumption of the communication module and/or the positioning module to extend the standby time.
  • the positioning of children's watches can be assisted through parents' mobile phones based on BLE or Bluetooth proxy (BT proxy).
  • BT proxy Bluetooth proxy
  • the location of a child's watch can be determined based on the location of the parent's cell phone and the strength of the Bluetooth signal detected by the child's watch.
  • network services can be provided based on BLE or Bluetooth proxy.
  • the children's watch is connected to the parent via Bluetooth and forwards information through the parent's mobile phone. For example, if a child needs to communicate with classmates, in this case, the child's watch can send the first communication information, and the parent's mobile phone can then send the first communication information after receiving the first communication information sent by the child's watch. After receiving the second communication information from the classmate's terminal device, the parent sends the second communication information, and the child's watch receives the second communication information from the parent's mobile phone. In this way, the communication function of the child's watch can be realized.
  • the mobile communication module and the positioning module can be turned on to make the mobile communication module and the positioning module work. If the parent's mobile phone detects that the Bluetooth signal strength is less than the third signal strength threshold, it can also output a reminder message to remind the parent. Among them, the reminder information can be displayed on the interface of the mobile phone, or output through voice or vibration.
  • the tenth operation may be any operation such as a click operation, a long press operation, or a double-click operation by the parent on the "accompanying mode” option 812.
  • the mobile phone can end the working state of the child's watch in the "accompanying mode", turn on the positioning module and mobile communication mode, and display the interface as shown in (b) of Figure 19, in which the "accompanying mode” option 812 is unselected.
  • a mobile phone that establishes a Bluetooth connection with the children's watch can also use the children's watch's movements to Status information and location are sent to the first network device for other parents to query.
  • the communication module and positioning module of the children's watch can be turned on. At this time, the working mode of the children's watch can become "independent mode".
  • the children's watch can be switched between school mode, companion mode and independent mode.
  • the following is an example with reference to Figure 20.
  • the child enters the school.
  • the child's watch determines that the child's watch has entered the school area based on the location indication information. In this case, the children's watch enters "school mode" and turns off the positioning module and/or mobile communication module. Children's watch obtains sports status information. If the child's watch determines that the child's motion status meets the first condition based on the motion status information, such as the child moving 100 meters relative to the classroom, or the child's moving speed is greater than 30 kilometers per hour, the positioning module is turned on.
  • the child's motion status information will continue to be obtained. If it is determined based on the location indication information that the child is not in the school area, and it is detected that the signal strength of the Bluetooth signal sent by the parent's mobile phone is greater than the third signal strength threshold (accompanied by the parent), it will enter the "accompanying mode" operation. If it is determined based on the location indication information that the child is not in the school area and is not in other preset areas outside the school area, the positioning module and mobile communication module are turned on, that is, the "independent mode" is entered.
  • the mobile phone can synchronize the relevant information to the child's watch. For example, in “companion mode", the mobile phone can send information about operating options through Bluetooth, and the children's watch can receive the information through Bluetooth.
  • the children's watch can also determine whether to automatically enter the "school mode” or "accompanying mode” based on the indication result of the location indication information. That is to say, in this case, the child's watch can execute the method shown in FIG. 10 or the method shown in FIG. 17 without setting the working mode through the parent's mobile phone or the child's watch.
  • the children's watch can also perform the method shown in FIG. 10 or the method shown in FIG. 17 by itself in combination with the time period.
  • the preset working time period of the children's watch in "school mode" is from 8 am to 5 pm every day from Monday to Friday. If the children's watch detects that the location of the child's watch is within the school area, and If the time is any time period between 8 am and 5 pm every day from Monday to Friday, the children's watch enters the school mode, that is, the children's watch turns off the positioning module and/or mobile communication module.
  • the child's watch detects the message sent by the parent's mobile phone. Bluetooth signal, and the time is any time period between 5 pm and 8 pm every day from Monday to Friday, the children's watch enters the "accompanying mode", that is, the children's watch turns off the positioning module and/or mobile communication module.
  • mode settings can be intelligently implemented to further improve user experience.
  • the working modes of the children's watch corresponding to the scene in which the child's watch is located, as well as the time in each scene of daily life (such as Monday to Friday) and weekends are shown in Table 1.
  • the terminal device can turn off the mobile communication module and positioning module most of the time in a day, thereby reducing the power consumption of the terminal device and extending the standby time. time.
  • the communication module and positioning module of the children's watch can be turned on. At this time, the working mode of the children's watch can become "independent mode".
  • the terminal device can control the working status of the mobile communication module and the positioning module based on the area indicated by the location indication information.
  • the location indication information indicates that the children's watch is located in the preset area
  • the mobile communication module and positioning module are turned off, thereby reducing the power consumption of the communication module and positioning module and taking into account the safety of the wearer and the standby time of the terminal device.
  • first terminal device can also be other smart wearable devices
  • second terminal device can also be a tablet, etc.
  • the application examples do not impose any restrictions on this.
  • the above embodiments take the Android system as an example to explain the specific method of controlling the terminal device between various functional modules. It is understandable that corresponding functional modules can also be set in other operating systems to implement the above device control method. . As long as the functions implemented by each device and functional module are similar to the embodiments of this application, they fall within the scope of the claims of this application and its equivalent technology.
  • an embodiment of the present application discloses a terminal device.
  • the terminal device may be the first terminal device (such as a child's watch) or the second terminal device (such as a mobile phone) in the above embodiment.
  • the terminal device may specifically include: a touch screen 2101, which includes a touch sensor and a display screen; one or more processors 2102; a memory 2103; a communication module 2106; one or more application programs (not shown); and one or A plurality of computer programs 2104, and the above-mentioned devices may be connected through one or more communication buses 2105.
  • the one or more computer programs 2104 are stored in the above-mentioned memory 2103 and configured to be executed by the one or more processors 2102, the one or more computer programs 2104 include instructions that can be used to perform the above-mentioned implementations. Relevant steps performed by the terminal device in the example.
  • Each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically alone, or two or more units may be integrated into one unit.
  • the above integrated units can be implemented in the form of hardware or software functional units.
  • the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it may be stored in a computer-readable storage medium.
  • the technical solutions of the embodiments of the present application are essentially or contribute to the existing technology, or all or part of the technical solution can be embodied in the form of a software product.
  • the computer software product is stored in a storage device.
  • the medium includes several instructions to cause a computer device (which may be a personal computer, a server, or a network device, etc.) or a processor to execute all or part of the steps of the methods described in various embodiments of this application.
  • the aforementioned storage media include: flash memory, mobile hard disk, read-only memory, random access memory, magnetic disk or optical disk and other media that can store program codes.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Environmental & Geological Engineering (AREA)
  • Human Computer Interaction (AREA)
  • Telephone Function (AREA)

Abstract

The present application relates to the field of terminal devices, and provides a terminal device control method and a terminal device, capable of reducing the power consumption of the terminal device, thereby prolonging the standby time of the terminal device. The method comprises: obtaining position indication information, wherein the position indication information can indicate a region where the terminal device is located; if the position indication information indicates that the terminal device is located in a preset region, turning off a mobile communication module and/or a positioning module of the terminal device.

Description

一种终端设备控制方法及终端设备A terminal equipment control method and terminal equipment
本申请要求于2022年03月16日提交国家知识产权局、申请号为202210260850.X、申请名称为“一种终端设备控制方法及终端设备”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims priority to the Chinese patent application submitted to the State Intellectual Property Office on March 16, 2022, with application number 202210260850.X and application title "A terminal equipment control method and terminal equipment", the entire content of which is incorporated by reference incorporated in this application.
技术领域Technical field
本申请涉及终端设备技术领域,尤其涉及一种终端设备控制方法及终端设备。The present application relates to the technical field of terminal equipment, and in particular, to a terminal equipment control method and terminal equipment.
背景技术Background technique
随着电子技术的发展,可穿戴设备在人们的生活中逐渐普及。其中,可穿戴设备,如儿童手表一般具有独立的通信功能和定位功能。在一些场景中,出于安全考虑,像儿童手表这一类可穿戴设备的定位功能需要长时间保持开启状态,以便相关人员能够及时获得可穿戴设备的使用者的位置信息。此外,可穿戴设备需要与移动网络之间长时间保持连接状态,也就是说,可穿戴设备的移动通信功能需要长时间保持开启状态,以便相关人员能够及时与可穿戴设备的使用者取得联系。例如,家长可以根据儿童手表的位置确定是否联系儿童。With the development of electronic technology, wearable devices have gradually become popular in people's lives. Among them, wearable devices, such as children's watches, generally have independent communication functions and positioning functions. In some scenarios, for safety reasons, the positioning function of wearable devices such as children's watches needs to be turned on for a long time so that relevant personnel can obtain the location information of the wearable device user in a timely manner. In addition, wearable devices need to remain connected to the mobile network for a long time. In other words, the mobile communication function of the wearable device needs to be turned on for a long time so that relevant personnel can contact the user of the wearable device in time. For example, parents can determine whether to contact a child based on the location of their watch.
然而,可穿戴设备,如儿童手表具有体积小、重量轻的特点,其电池的体积受限,电池的蓄电能力低下,在移动通信和定位功能开启时功耗居高不下,难以兼顾使用者的安全和该可穿戴设备待机时长。However, wearable devices, such as children's watches, are small in size and light in weight, and their batteries are limited in size and have low storage capacity. When mobile communication and positioning functions are turned on, power consumption remains high, making it difficult to take into account the needs of users. the safety and standby time of the wearable device.
发明内容Contents of the invention
本申请实施例提供一种终端设备控制方法及终端设备,能够兼顾儿童的安全和终端设备待机时长。Embodiments of the present application provide a terminal device control method and terminal device, which can take into account the safety of children and the standby time of the terminal device.
为达到上述目的,本申请采用如下技术方案:In order to achieve the above purpose, this application adopts the following technical solutions:
第一方面,提供一种终端设备控制方法。应用于终端设备,终端设备包括移动通信模块和定位模块。该终端设备控制方法包括:获取位置指示信息。其中,位置指示信息可以指示终端设备所在的区域。若位置指示信息指示终端设备位于预设区域内,则关闭终端设备的移动通信模块和/或定位模块。In the first aspect, a terminal device control method is provided. Applied to terminal equipment, which includes mobile communication modules and positioning modules. The terminal device control method includes: obtaining location indication information. The location indication information may indicate the area where the terminal device is located. If the location indication information indicates that the terminal device is located within the preset area, the mobile communication module and/or positioning module of the terminal device is turned off.
基于第一方面提供的终端设备控制方法,终端设备可以基于位置指示信息指示的区域,控制移动通信模块和定位模块的工作状态,在位置指示信息指示儿童手表位于预设区域,如学校、家庭等儿童处于相对安全的区域时,儿童可以不使用移动通信功能,这样,便可以关闭移动通信模块,家长可以不从“智能关怀”应用获取儿童的实时位置,这样,便可以关闭定位模块,即则关闭移动通信模块和/或定位模块,从而可以降低通信模块和/或定位模块的功耗,兼顾佩戴者的安全和终端设备的待机时间。Based on the terminal device control method provided in the first aspect, the terminal device can control the working status of the mobile communication module and the positioning module based on the area indicated by the location indication information, when the location indication information indicates that the child's watch is located in a preset area, such as school, home, etc. When children are in a relatively safe area, they do not need to use the mobile communication function. In this way, the mobile communication module can be turned off. Parents do not need to obtain the child's real-time location from the "Smart Care" application. In this way, the positioning module can be turned off. That is, Turning off the mobile communication module and/or positioning module can reduce the power consumption of the communication module and/or positioning module, taking into account the safety of the wearer and the standby time of the terminal device.
一种可能的设计方案中,获取位置指示信息,包括:获取终端设备的工作模式。工作模式用于指示终端设备在不同区域的工作方式,不同的工作模式对应的所述预设区域不同。根据工作模式确定终端设备的位置指示信息。如此,终端设备可以根据工作模式检测对应的位置指示信息,例如,在预设区域中仅有一种类型的设备存在时,可以针对该类型的设备进行信号检测,以获取位置指示信息,从而简化信息获取过程, 进一步延长待机时间。In one possible design solution, obtaining the location indication information includes: obtaining the working mode of the terminal device. The working mode is used to indicate the working mode of the terminal device in different areas, and different working modes correspond to different preset areas. Determine the location indication information of the terminal device according to the working mode. In this way, the terminal device can detect the corresponding location indication information according to the working mode. For example, when only one type of device exists in the preset area, signal detection can be performed for that type of device to obtain the location indication information, thereby simplifying the information. acquisition process, Further extend the standby time.
可选地,根据工作模式确定所述终端设备的位置指示信息,包括:若工作模式为第一工作模式,则检测第一预设类型的设备。其中,预设区域内设置有第一预设设备,所述第一预设设备为第一预设类型的设备。第一预设类型的设备包括如下一项或多项:用于发送蓝牙信号的设备、用于发送无线保真WIFI信号的设备、或近场通信NFC设备。将第一预设类型的设备的检测结果确定为位置指示信息。如此,可以进一步降低终端设备的功耗,延长待机时间。Optionally, determining the location indication information of the terminal device according to the working mode includes: if the working mode is the first working mode, detecting a first preset type of device. Wherein, a first preset device is provided in the preset area, and the first preset device is a first preset type of device. The first preset type of device includes one or more of the following: a device for sending Bluetooth signals, a device for sending wireless fidelity WIFI signals, or a near field communication NFC device. The detection result of the device of the first preset type is determined as location indication information. In this way, the power consumption of the terminal device can be further reduced and the standby time can be extended.
进一步地,若位置指示信息指示终端设备位于预设区域内,则关闭终端设备的移动通信模块和/或定位模块,包括:若检测到第一预设设备,则关闭终端设备的移动通信模块和/或定位模块。Further, if the location indication information indicates that the terminal device is located within the preset area, then turning off the mobile communication module and/or the positioning module of the terminal equipment, including: if the first preset device is detected, then turning off the mobile communication module of the terminal equipment and /or positioning module.
或者,可选地,根据工作模式确定终端设备的位置指示信息,包括:若工作模式为第二工作模式,则检测蓝牙信号。将蓝牙信号的检测结果确定为位置指示信息。如此,采用蓝牙信号进行位置检测,可以进一步降低终端设备的功耗,延长待机时间。Or, optionally, determining the location indication information of the terminal device according to the working mode includes: if the working mode is the second working mode, detecting the Bluetooth signal. The detection result of the Bluetooth signal is determined as location indication information. In this way, using Bluetooth signals for location detection can further reduce the power consumption of terminal equipment and extend the standby time.
进一步地,若位置指示信息指示终端设备位于预设区域内,则关闭终端设备的移动通信模块和/或定位模块,包括:若检测到第二预设设备的蓝牙信号的检测结果大于或等于第三信号强度阈值,则关闭移动通信模块和/或定位模块。如此,可以基于蓝牙信号确定终端设备所在区域,可以在移动状态下,实现终端设备的位置监测,提高适应性。Further, if the location indication information indicates that the terminal device is located in the preset area, turning off the mobile communication module and/or the positioning module of the terminal device includes: if the detection result of the Bluetooth signal of the second preset device is detected to be greater than or equal to the third Three signal strength thresholds, the mobile communication module and/or positioning module will be turned off. In this way, the area where the terminal device is located can be determined based on the Bluetooth signal, and the location monitoring of the terminal device can be realized in the mobile state to improve adaptability.
一种可能的设计方案中,第一方面提供的终端设备控制方法还包括:获取运动状态信息。其中,运动状态信息用于指示如下一项或多项:移动距离、移动速度、或离开预设区域内的建筑区域。根据运动状态信息开启移动通信模块和/或定位模块。如此,可以及时更新终端设备的位置,进一步提高安全性。In a possible design solution, the terminal device control method provided in the first aspect further includes: obtaining motion status information. The movement status information is used to indicate one or more of the following: moving distance, moving speed, or leaving a building area within a preset area. Turn on the mobile communication module and/or positioning module according to the motion status information. In this way, the location of the terminal device can be updated in time to further improve security.
可选地,获取运动状态信息,包括:通过MCU获取运动状态信息。这样,由于MCU的功耗低,可以进一步降低终端设备的功耗,从而延长待机时间。Optionally, obtaining the motion status information includes: obtaining the motion status information through the MCU. In this way, due to the low power consumption of the MCU, the power consumption of the terminal device can be further reduced, thereby extending the standby time.
可选地,根据运动状态信息开启移动通信模块和定位模块,包括:若运动状态信息满足第一条件,则开启移动通信模块和定位模块。其中,第一条件包括:终端设备的移动速度大于或等于速度阈值。或者,终端设备的移动距离大于或等于距离阈值。或者,终端设备检测到的光线强度大于或等于光线强度阈值。Optionally, turning on the mobile communication module and the positioning module according to the motion status information includes: if the motion status information meets the first condition, turning on the mobile communication module and the positioning module. The first condition includes: the moving speed of the terminal device is greater than or equal to the speed threshold. Or, the moving distance of the terminal device is greater than or equal to the distance threshold. Or, the light intensity detected by the terminal device is greater than or equal to the light intensity threshold.
如此,可以从更多角度检测终端设备的位置,获得更准确的位置,可以进一步提高安全性。In this way, the position of the terminal device can be detected from more angles and a more accurate position can be obtained, which can further improve security.
第二方面,提供一种终端设备,包括:通信模块、触摸屏、一个或多个处理器、一个或多个存储器、以及一个或多个计算机程序;其中,处理器与通信模块、显示屏以及存储器均耦合,上述一个或多个计算机程序被存储在存储器中,当终端设备运行时,该处理器执行该存储器存储的一个或多个计算机程序,以使第一设备执行上述任一方面中所述终端设备控制方法。In a second aspect, a terminal device is provided, including: a communication module, a touch screen, one or more processors, one or more memories, and one or more computer programs; wherein the processor, communication module, display screen, and memory Both are coupled, the above one or more computer programs are stored in the memory, and when the terminal device is running, the processor executes the one or more computer programs stored in the memory, so that the first device executes any of the above aspects. Terminal device control method.
第三方面,提供一种通信系统,该通信系统包括第一终端设备和第二终端设备,其中,第一终端设备可以与第二终端设备交互后可实现上述第一方面所述的中所述终端设备控制方法。A third aspect provides a communication system, which includes a first terminal device and a second terminal device, wherein the first terminal device can interact with the second terminal device to implement the method described in the first aspect. Terminal device control method.
第四方面,提供一种计算机可读存储介质,计算机可读存储介质包括计算机程序 或指令,当计算机程序或指令在计算机上运行时,使得计算机执行上述第一方面所述的中所述终端设备控制方法。In a fourth aspect, a computer-readable storage medium is provided. The computer-readable storage medium includes a computer program. Or instructions, when the computer program or instructions are run on the computer, the computer is caused to execute the terminal device control method described in the first aspect.
第五方面,提供一种计算机程序产品,计算机程序产品包括:计算机程序或指令,当计算机程序或指令在计算机上运行时,使得计算机执行上述第一方面所述的中所述终端设备控制方法。A fifth aspect provides a computer program product. The computer program product includes: a computer program or an instruction. When the computer program or instruction is run on a computer, it causes the computer to execute the terminal device control method described in the first aspect.
附图说明Description of the drawings
图1为本申请实施例提供的通信系统的架构示意图一;Figure 1 is a schematic diagram 1 of the architecture of a communication system provided by an embodiment of the present application;
图2为本申请实施例提供的通信系统的架构示意图二;Figure 2 is a schematic diagram 2 of the architecture of a communication system provided by an embodiment of the present application;
图3为本申请实施例提供的通信系统的架构示意图三;Figure 3 is a schematic diagram three of the architecture of the communication system provided by the embodiment of the present application;
图4为本申请实施例提供的儿童手表的结构示意图一;Figure 4 is a schematic structural diagram of a children's watch provided by an embodiment of the present application;
图5为本申请实施例提供的儿童手表的结构示意图二;Figure 5 is a schematic structural diagram 2 of a children's watch provided by an embodiment of the present application;
图6为本申请实施例提供的第二终端设备的软件结构框图;Figure 6 is a software structure block diagram of the second terminal device provided by the embodiment of the present application;
图7为本申请实施例提供的终端设备控制方法的应用场景示意图一;Figure 7 is a schematic diagram of an application scenario of the terminal device control method provided by the embodiment of the present application;
图8为本申请实施例提供的终端设备控制方法的应用场景示意图二;Figure 8 is a schematic diagram 2 of the application scenario of the terminal device control method provided by the embodiment of the present application;
图9为本申请实施例提供的终端设备控制方法的应用场景示意图三;Figure 9 is a schematic diagram three of the application scenario of the terminal device control method provided by the embodiment of the present application;
图10为本申请实施例提供的终端设备控制方法的流程示意图一;Figure 10 is a schematic flowchart 1 of the terminal device control method provided by the embodiment of the present application;
图11为本申请实施例提供的终端设备控制方法的应用场景示意图四;Figure 11 is a schematic diagram 4 of the application scenario of the terminal device control method provided by the embodiment of the present application;
图12为本申请实施例提供的终端设备控制方法的应用场景示意图五;Figure 12 is a schematic diagram 5 of the application scenario of the terminal device control method provided by the embodiment of the present application;
图13为本申请实施例提供的终端设备控制方法的应用场景示意图六;Figure 13 is a schematic diagram 6 of the application scenario of the terminal device control method provided by the embodiment of the present application;
图14为本申请实施例提供的终端设备控制方法的应用场景示意图七;Figure 14 is a schematic diagram 7 of the application scenario of the terminal device control method provided by the embodiment of the present application;
图15为本申请实施例提供的终端设备控制方法的应用场景示意图八;Figure 15 is a schematic diagram 8 of the application scenario of the terminal device control method provided by the embodiment of the present application;
图16为本申请实施例提供的终端设备控制方法的应用场景示意图九;Figure 16 is a schematic diagram 9 of the application scenario of the terminal device control method provided by the embodiment of the present application;
图17为本申请实施例提供的终端设备控制方法的流程示意图二;Figure 17 is a schematic flowchart 2 of the terminal device control method provided by the embodiment of the present application;
图18为本申请实施例提供的终端设备控制方法的应用场景示意图十;Figure 18 is a schematic diagram 10 of the application scenario of the terminal device control method provided by the embodiment of the present application;
图19为本申请实施例提供的终端设备控制方法的应用场景示意图十一;Figure 19 is a schematic diagram 11 of the application scenario of the terminal device control method provided by the embodiment of the present application;
图20为本申请实施例提供的设置控制方法的模式切换流程示意图;Figure 20 is a schematic flowchart of mode switching of the setting control method provided by the embodiment of the present application;
图21为本申请实施例提供的终端设备的结构示意图。Figure 21 is a schematic structural diagram of a terminal device provided by an embodiment of the present application.
具体实施方式Detailed ways
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行描述,显然,所描述的实施例仅仅是本申请一部分实施例,而不是全部的实施例。The technical solutions in the embodiments of the present application will be described below with reference to the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are only some of the embodiments of the present application, rather than all of the embodiments.
以下,术语“第一”、“第二”等仅用于描述目的,而不能理解为指示或暗示相对重要性或者隐含指明所指示的技术特征的数量。由此,限定有“第一”、“第二”等的特征可以明示或者隐含地包括一个或者更多个该特征。在本申请的描述中,除非另有说明,“多个”的含义是两个或两个以上。Hereinafter, the terms “first”, “second”, etc. are used for descriptive purposes only and shall not be understood as indicating or implying relative importance or implicitly indicating the quantity of indicated technical features. Thus, features defined by "first," "second," etc. may explicitly or implicitly include one or more of such features. In the description of this application, unless otherwise stated, "plurality" means two or more.
在本申请中,除非另有明确的规定和限定,术语“连接”应做广义理解,例如,“连接”可以是固定连接,也可以是可拆卸连接,或成一体;可以是直接相连,也可以通过中间媒介间接相连。In this application, unless otherwise clearly stated and limited, the term "connection" should be understood in a broad sense. For example, "connection" can be a fixed connection, a detachable connection, or an integral body; it can be a direct connection or a detachable connection. Can be connected indirectly through intermediaries.
另外,在本申请实施例中,“例如”等词用于表示作例子、例证或说明。本申请中被描述为“示例”的任何实施例或设计方案不应被解释为比其它实施例或设计方案更优选 或更具优势。确切而言,使用示例的一词旨在以具体方式呈现概念。In addition, in the embodiments of this application, words such as "for example" are used to represent examples, illustrations or explanations. Any embodiment or design described in this application as an "example" is not to be construed as preferred over other embodiments or designs. Or more advantageous. Rather, the use of the word example is intended to present a concept in a concrete way.
本申请实施例描述的网络架构以及业务场景是为了更加清楚的说明本申请实施例的技术方案,并不构成对于本申请实施例提供的技术方案的限定,本领域普通技术人员可知,随着网络架构的演变和新业务场景的出现,本申请实施例提供的技术方案对于类似的技术问题,同样适用。The network architecture and business scenarios described in the embodiments of this application are for the purpose of explaining the technical solutions of the embodiments of this application more clearly, and do not constitute a limitation on the technical solutions provided by the embodiments of this application. Those of ordinary skill in the art will know that with the network With the evolution of architecture and the emergence of new business scenarios, the technical solutions provided in the embodiments of this application are also applicable to similar technical problems.
随着电子技术的发展,可穿戴设备在人们的生活中逐渐普及。一般,可穿戴设备(以下称为第一终端设备)具有独立的移动通信功能和定位功能。示例性地,第一终端设备可以是智能手表,如儿童手表,手环等。With the development of electronic technology, wearable devices have gradually become popular in people's lives. Generally, a wearable device (hereinafter referred to as a first terminal device) has independent mobile communication functions and positioning functions. For example, the first terminal device may be a smart watch, such as a children's watch, a bracelet, etc.
出于安全考虑,第一终端设备的定位模块需要长时间保持开启状态,以便相关人员能够及时获得第一终端设备的使用者的位置信息。此外,第一终端设备需要与移动网络之间长时间保持连接状态,也就是说,第一终端设备的移动通信功能需要长时间保持开启状态,以便相关人员能够及时与第一终端设备的使用者取得联系。例如,为了儿童的安全,儿童手表的定位模块需要保持开启状态,以便家长能够及时获得儿童的位置。家长可以根据儿童手表的位置确定是否联系儿童,因此,儿童手表也需要长时间保持连接状态,即儿童手表的移动通信模块需要长时间保持开启状态,以便家长能够及时与儿童取得联系。For security reasons, the positioning module of the first terminal device needs to be kept open for a long time so that relevant personnel can obtain the location information of the user of the first terminal device in a timely manner. In addition, the first terminal device needs to remain connected to the mobile network for a long time. That is to say, the mobile communication function of the first terminal device needs to be kept on for a long time so that relevant personnel can communicate with the user of the first terminal device in a timely manner. get in touch. For example, for the safety of children, the positioning module of children's watches needs to be kept turned on so that parents can obtain the child's location in time. Parents can determine whether to contact their children based on the location of the children's watch. Therefore, the children's watch also needs to stay connected for a long time, that is, the mobile communication module of the children's watch needs to stay on for a long time so that parents can contact their children in time.
在此情况下,第一终端设备所在的通信系统的示意如图1所示。图1所示的通信系统中,包括第一终端设备101、第二终端设备102、第一网络设备103和第二网络设备104。In this case, the schematic diagram of the communication system where the first terminal device is located is as shown in Figure 1 . The communication system shown in Figure 1 includes a first terminal device 101, a second terminal device 102, a first network device 103 and a second network device 104.
其中,第一终端设备101,为可穿戴设备,例如为智能手表(例如为儿童手表)、手环等。以儿童手表为例,儿童手表具有移动通信功能和定位功能。儿童手表的移动通信功能用于支持儿童与家长或其他人员通信,儿童手表的定位功能可以采集儿童的位置信息,家长可以通过儿童手表获取儿童的位置信息。The first terminal device 101 is a wearable device, such as a smart watch (such as a children's watch), a bracelet, etc. Take children's watches as an example. Children's watches have mobile communication functions and positioning functions. The mobile communication function of children's watches is used to support children's communication with parents or other personnel. The positioning function of children's watches can collect children's location information. Parents can obtain children's location information through children's watches.
一般,儿童手表的体积较小,电池容量小,再加上儿童手表开启移动通信功能和定位功能的功耗较大,造成儿童手表的待机时长短。为此,本申请实施例提供一种终端设备控制方法,儿童手表可以工作在不同的工作模式下,例如第一工作模式(例如称为“在校模式”)和第二工作模式(例如称为“陪伴模式”)。当儿童手表工作在第一工作模式下,儿童手表可以在检测到儿童手表位于学校区域、或校车内等预设区域内的情况下,关闭定位模块和/或移动通信模块。当儿童手表工作在第二工作模式下,儿童手表可以在检测到儿童手表位于预设区域,如可以检测到家长手机的蓝牙信号的区域的情况下,关闭定位模块和/或移动通信模块。Generally, children's watches are small in size and have small battery capacity. In addition, children's watches consume a lot of power when turning on mobile communication and positioning functions, which results in a short standby time of children's watches. To this end, embodiments of the present application provide a terminal device control method. Children's watches can work in different working modes, such as a first working mode (for example, called "school mode") and a second working mode (for example, called "school mode"). "Companionship Mode"). When the children's watch works in the first working mode, the children's watch can turn off the positioning module and/or the mobile communication module when detecting that the child's watch is located in a preset area such as a school area or a school bus. When the children's watch works in the second working mode, the children's watch can turn off the positioning module and/or the mobile communication module when it detects that the child's watch is located in a preset area, such as an area where the Bluetooth signal of the parent's mobile phone can be detected.
其中,第二终端设备102可以是手机、平板电脑、手持计算机、可穿戴电子设备、车载设备等,本申请实施例对此不做限定。第二终端设备102上可以安装用于管理第一终端设备101的应用(application)(以下均简称为管理应用),如智能关怀应用等。例如,用户可以通过操作第二终端设备102上的应用,设置第一终端设备101的相关参数(例如工作模式,第一工作模式、第二工作模式)。The second terminal device 102 may be a mobile phone, a tablet computer, a handheld computer, a wearable electronic device, a vehicle-mounted device, etc. This is not limited in the embodiment of the present application. An application (application) (hereinafter referred to as a management application) for managing the first terminal device 101 may be installed on the second terminal device 102, such as a smart care application. For example, the user can set relevant parameters of the first terminal device 101 (such as the working mode, the first working mode, the second working mode) by operating the application on the second terminal device 102.
在一些实施例中,第二终端设备102上的应用可以通过第一网络设备103,实现第一终端设备101的管理功能。也就是说,第一网络设备103可以用于提供与管理应用相关的服务。其中,第一网络设备103可以是服务器。如图1所示,第一终端设备 101和第二终端设备102分别与第一网络设备103建立通信连接。其中,第一终端设备101与第一网络设备103之间的通信连接可以是无线连接。示例性地,第一终端设备101可以通过WLAN与第一网络设备103建立通信连接。或者,第一终端设备101可以通过蜂窝网与第一网络设备103之间建立通信连接,例如,第一终端设备101与第二网络设备104之间建立通信连接,第二网络设备104与第一网络设备103之间建立通信连接,从而实现第一终端设备101与第一网络设备103的通信连接。第二终端设备102与第一网络设备103的连接方式与第一终端设备101与第一网络设备103连接的方式类似,此处不再赘述。In some embodiments, the application on the second terminal device 102 can implement the management function of the first terminal device 101 through the first network device 103. That is to say, the first network device 103 may be used to provide services related to management applications. Wherein, the first network device 103 may be a server. As shown in Figure 1, the first terminal device 101 and the second terminal device 102 respectively establish communication connections with the first network device 103. The communication connection between the first terminal device 101 and the first network device 103 may be a wireless connection. For example, the first terminal device 101 may establish a communication connection with the first network device 103 through WLAN. Alternatively, the first terminal device 101 may establish a communication connection with the first network device 103 through a cellular network. For example, a communication connection may be established between the first terminal device 101 and the second network device 104, and the second network device 104 may establish a communication connection with the first network device 103. A communication connection is established between the network devices 103, thereby realizing a communication connection between the first terminal device 101 and the first network device 103. The connection method between the second terminal device 102 and the first network device 103 is similar to the connection method between the first terminal device 101 and the first network device 103, and will not be described again here.
其中,第二网络设备104可以用于提供移动通信服务。此外,第二网络设备104还可以用于提供定位服务。第二网络设备104可以是基站。或者,第一通信系统中还可以包括第三网络设备(图1中未示出),第三网络设备可以用于实现儿童手表的定位功能。如此,在儿童手表位于预设区域(如学校区域、家庭区域或其他相对安全的区域)内的情况下,可以关闭儿童手表的移动通信模块和/或定位模块,从而达到兼顾儿童的安全和第一终端设备的待机时长的效果。如图1所示,第一终端设备101和第二终端设备102分别与第二网络设备104建立通信连接。其中,第一终端设备101与第二网络设备104之间的通信连接可以是无线连接,第二终端设备102与第二网络设备104之间的通信连接可以是无线连接。Among them, the second network device 104 can be used to provide mobile communication services. In addition, the second network device 104 can also be used to provide positioning services. The second network device 104 may be a base station. Alternatively, the first communication system may also include a third network device (not shown in FIG. 1 ), and the third network device may be used to implement the positioning function of the children's watch. In this way, when the children's watch is located in a preset area (such as a school area, a home area or other relatively safe areas), the mobile communication module and/or positioning module of the children's watch can be turned off, thereby balancing the safety of the child and the safety of the third party. The effect of the standby time of a terminal device. As shown in Figure 1, the first terminal device 101 and the second terminal device 102 establish communication connections with the second network device 104 respectively. The communication connection between the first terminal device 101 and the second network device 104 may be a wireless connection, and the communication connection between the second terminal device 102 and the second network device 104 may be a wireless connection.
一种可能的实施例中,当第一终端设备101在“第一工作模式”下工作,且第一终端设备101位于预设区域内,在此情况下,第一终端设备101、第二终端设备102、第一网络设备103和第二网络设备104之间的连接关系如下图2所示。其中,第一终端设备101与第一网络设备103、或第一终端设备101与第二网络设备104之间均不存在通信连接,第二终端设备102与第一网络设备103之间可以保持通信连接,第二终端设备102与第二网络设备104之间可以保持通信连接。In a possible embodiment, when the first terminal device 101 works in the "first working mode" and the first terminal device 101 is located in a preset area, in this case, the first terminal device 101 and the second terminal The connection relationship between the device 102, the first network device 103 and the second network device 104 is as shown in Figure 2 below. There is no communication connection between the first terminal device 101 and the first network device 103, or between the first terminal device 101 and the second network device 104. Communication can be maintained between the second terminal device 102 and the first network device 103. connection, the communication connection can be maintained between the second terminal device 102 and the second network device 104 .
另一种可能的实施例中,当第一终端设备101在“第二工作模式”下工作,第一终端设备101位于预设区域内,在此情况下,第一终端设备101、第二终端设备102、第一网络设备103和第二网络设备104之间的连接关系如下图3所示。其中,第一终端设备101与第一网络设备103、或第一终端设备101与第二网络设备104之间均不存在通信连接,第一终端设备101与第二终端设备102通信连接。In another possible embodiment, when the first terminal device 101 works in the "second working mode" and the first terminal device 101 is located in the preset area, in this case, the first terminal device 101 and the second terminal The connection relationship between the device 102, the first network device 103 and the second network device 104 is as shown in Figure 3 below. There is no communication connection between the first terminal device 101 and the first network device 103 or the first terminal device 101 and the second network device 104, and the first terminal device 101 and the second terminal device 102 are connected by communication.
为便于理解本申请实施例,以下以举例说明本申请实施例中相关的终端设备的结构。In order to facilitate understanding of the embodiments of the present application, the structure of the relevant terminal equipment in the embodiments of the present application is illustrated below with examples.
以上述第一终端设备101为儿童手表举例,如图4所示,为本申请实施例提供的一种儿童手表的结构示意图,该儿童手表400可以包括:处理器410,外部存储器接口420,内部存储器421,天线1,天线2,移动通信模块430,无线通信模块440,音频模块450,扬声器450A,受话器450B,麦克风450C,耳机接口450D,传感器模块460,马达470,指示器471,显示屏472,以及用户标识模块(subscriber identification module,SIM)卡接口473等。Taking the above-mentioned first terminal device 101 as a children's watch as an example, as shown in Figure 4, it is a schematic structural diagram of a children's watch provided by an embodiment of the present application. The children's watch 400 may include: a processor 410, an external memory interface 420, an internal Memory 421, antenna 1, antenna 2, mobile communication module 430, wireless communication module 440, audio module 450, speaker 450A, receiver 450B, microphone 450C, headphone interface 450D, sensor module 460, motor 470, indicator 471, display screen 472 , and subscriber identification module (SIM) card interface 473, etc.
可以理解的是,本实施例示意的结构并不构成对儿童手表400的具体限定。在另一些实施例中,儿童手表400可以包括比图示更多或更少的部件,或者组合某些部件,或者拆分某些部件,或者不同的部件布置。图示的部件可以以硬件,软件或软件和硬 件的组合实现。It can be understood that the structure illustrated in this embodiment does not constitute a specific limitation on the children's watch 400 . In other embodiments, the children's watch 400 may include more or fewer components than shown, or some components may be combined, or some components may be separated, or may be arranged differently. The components shown may be represented by hardware, software, or both software and hardware. The combination of components is realized.
处理器410可以包括一个或多个处理单元,例如:处理器410可以包括应用处理器(application processor,AP),微控制单元(microcontroller unit,MCU),调制解调处理器,图形处理器(graphics processing unit,GPU),图像信号处理器(image signal processor,ISP),控制器,存储器,视频编解码器,数字信号处理器(digital signal processor,DSP),基带处理器,和/或神经网络处理器(neural-network processing unit,NPU)等。其中,不同的处理单元可以是独立的器件,也可以集成在一个或多个处理器中。The processor 410 may include one or more processing units. For example, the processor 410 may include an application processor (application processor, AP), a microcontroller unit (MCU), a modem processor, a graphics processor (graphics processor). processing unit (GPU), image signal processor (ISP), controller, memory, video codec, digital signal processor (DSP), baseband processor, and/or neural network processing (neural-network processing unit, NPU), etc. Among them, different processing units can be independent devices or integrated in one or more processors.
在一些实施例中,微控制单元可以用于接收传感器模块460采集到的信号,并处理传感器模块460所采集到的信号,微控制单元还可以用于控制儿童手表上的其他结构,如移动通信模块430和无线通信模块440的工作状态。In some embodiments, the micro control unit can be used to receive signals collected by the sensor module 460 and process the signals collected by the sensor module 460. The micro control unit can also be used to control other structures on the children's watch, such as mobile communications. The working status of module 430 and wireless communication module 440.
控制器可以是儿童手表400的神经中枢和指挥中心。控制器可以根据指令操作码和时序信号,产生操作控制信号,完成取指令和执行指令的控制。The controller may be the nerve center and command center of the children's watch 400 . The controller can generate operation control signals based on the instruction operation code and timing signals to complete the control of fetching and executing instructions.
处理器410中还可以设置存储器,用于存储指令和数据。在一些实施例中,处理器410中的存储器为高速缓冲存储器。该存储器可以保存处理器410刚用过或循环使用的指令或数据。如果处理器410需要再次使用该指令或数据,可从所述存储器中直接调用。避免了重复存取,减少了处理器410的等待时间,因而提高了系统的效率。The processor 410 may also be provided with a memory for storing instructions and data. In some embodiments, the memory in processor 410 is cache memory. This memory may hold instructions or data that have been recently used or recycled by processor 410 . If the processor 410 needs to use the instructions or data again, it can be called directly from the memory. Repeated access is avoided and the waiting time of the processor 410 is reduced, thus improving the efficiency of the system.
在一些实施例中,处理器410可以包括一个或多个接口。如用户标识模块(subscriber identity module,SIM)接口。In some embodiments, processor 410 may include one or more interfaces. Such as the subscriber identity module (SIM) interface.
儿童手表400的无线通信功能可以通过天线1,天线2,移动通信模块430,无线通信模块440,调制解调处理器以及基带处理器等实现。The wireless communication function of the children's watch 400 can be realized through the antenna 1, the antenna 2, the mobile communication module 430, the wireless communication module 440, the modem processor and the baseband processor.
天线1和天线2用于发射和接收电磁波信号。Antenna 1 and Antenna 2 are used to transmit and receive electromagnetic wave signals.
移动通信模块430可以提供应用在儿童手表400上的包括2G/3G/4G/5G等无线通信的解决方案。在一些实施例中,移动通信模块430的至少部分功能模块可以被设置于处理器410中。在一些实施例中,移动通信模块430的至少部分功能模块可以与处理器410的至少部分模块被设置在同一个器件中。无线通信模块可以包括蓝牙模块、NFC模块、定位模块和WLAN模块。无线通信模块440可以提供应用在儿童手表400上的包括无线局域网(wireless local area networks,WLAN)(如无线保真(wireless fidelity,Wi-Fi)网络),蓝牙(bluetooth,BT),全球导航卫星系统(global navigation satellite system,GNSS),调频(frequency modulation,FM),近距离无线通信技术(near field communication,NFC),红外技术(infrared,IR)等无线通信的解决方案。The mobile communication module 430 can provide wireless communication solutions including 2G/3G/4G/5G applied to the children's watch 400 . In some embodiments, at least part of the functional modules of the mobile communication module 430 may be disposed in the processor 410. In some embodiments, at least part of the functional modules of the mobile communication module 430 and at least part of the modules of the processor 410 may be provided in the same device. The wireless communication module may include a Bluetooth module, an NFC module, a positioning module and a WLAN module. The wireless communication module 440 can provide wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) network), Bluetooth (BT), and global navigation satellites that are used on the children's watch 400. System (global navigation satellite system, GNSS), frequency modulation (frequency modulation, FM), near field communication technology (near field communication, NFC), infrared technology (infrared, IR) and other wireless communication solutions.
无线通信模块440可以是集成至少一个通信处理模块的一个或多个器件。无线通信模块440经由天线2接收电磁波,将电磁波信号调频以及滤波处理,将处理后的信号发送到处理器410。无线通信模块440还可以从处理器410接收待发送的信号,对其进行调频,放大,经天线2转为电磁波辐射出去。The wireless communication module 440 may be one or more devices integrating at least one communication processing module. The wireless communication module 440 receives electromagnetic waves via the antenna 2 , frequency modulates and filters the electromagnetic wave signals, and sends the processed signals to the processor 410 . The wireless communication module 440 can also receive the signal to be sent from the processor 410, frequency modulate it, amplify it, and convert it into electromagnetic waves through the antenna 2 for radiation.
在一些实施例中,儿童手表400的天线1和移动通信模块430耦合,天线2和无线通信模块440耦合,使得儿童手表400可以通过无线通信技术与网络以及其他设备通信。In some embodiments, the antenna 1 of the children's watch 400 is coupled to the mobile communication module 430, and the antenna 2 is coupled to the wireless communication module 440, so that the children's watch 400 can communicate with the network and other devices through wireless communication technology.
所述无线通信技术可以包括全球移动通讯系统(global system for mobile  communications,GSM),通用分组无线服务(general packet radio service,GPRS),码分多址接入(code division multiple access,CDMA),宽带码分多址(wideband code division multiple access,WCDMA),时分码分多址(time-division code division multiple access,TD-SCDMA),长期演进(long term evolution,LTE),BT,GNSS,WLAN,NFC,FM,和/或IR技术等。The wireless communication technology may include a global system for mobile communications communications (GSM), general packet radio service (GPRS), code division multiple access (CDMA), wideband code division multiple access (WCDMA), time division code Time-division code division multiple access (TD-SCDMA), long term evolution (LTE), BT, GNSS, WLAN, NFC, FM, and/or IR technology, etc.
所述GNSS可以包括全球卫星定位系统(global positioning system,GPS),全球导航卫星系统(global navigation satellite system,GLONASS),北斗卫星导航系统(beidou navigation satellite system,BDS),准天顶卫星系统(quasi-zenith satellite system,QZSS)和/或星基增强系统(satellite based augmentation systems,SBAS)。其中,定位模块可以基于GNSS获取儿童手表的位置,也就是说,定位模块可以实现儿童手表的定位功能。The GNSS may include global positioning system (GPS), global navigation satellite system (GLONASS), Beidou navigation satellite system (BDS), quasi-zenith satellite system (quasi) -zenith satellite system (QZSS) and/or satellite based augmentation systems (SBAS). Among them, the positioning module can obtain the position of the children's watch based on GNSS, that is to say, the positioning module can realize the positioning function of the children's watch.
儿童手表400通过GPU,显示屏472,以及应用处理器等实现显示功能。GPU为图像处理的微处理器,连接显示屏472和应用处理器。GPU用于执行数学和几何计算,用于图形渲染。处理器410可包括一个或多个GPU,其执行程序指令以生成或改变显示信息。The children's watch 400 implements the display function through the GPU, the display screen 472, and the application processor. The GPU is an image processing microprocessor and is connected to the display screen 472 and the application processor. GPUs are used to perform mathematical and geometric calculations for graphics rendering. Processor 410 may include one or more GPUs that execute program instructions to generate or alter display information.
显示屏472用于显示图像,视频等。该显示屏472包括显示面板。显示面板可以采用液晶显示屏(liquid crystal display,LCD),有机发光二极管(organic light-emitting diode,OLED),有源矩阵有机发光二极体或主动矩阵有机发光二极体(active-matrix organic light emitting diode,AMOLED),柔性发光二极管(flex light-emitting diode,FLED),Miniled,MicroLed,Micro-oLed,量子点发光二极管(quantum dot light emitting diodes,QLED)等。The display screen 472 is used to display images, videos, etc. The display screen 472 includes a display panel. The display panel can use a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active matrix organic light emitting diode or an active matrix organic light emitting diode (active-matrix organic light emitting diode). emitting diode (AMOLED), flexible light-emitting diode (FLED), Miniled, MicroLed, Micro-oLed, quantum dot light emitting diode (QLED), etc.
外部存储器接口420可以用于连接外部存储卡,例如Micro SD卡,实现扩展儿童手表400的存储能力。内部存储器421可以用于存储计算机可执行程序代码,所述可执行程序代码包括指令。The external memory interface 420 can be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the children's watch 400. Internal memory 421 may be used to store computer executable program code, which includes instructions.
儿童手表400可以通过音频模块450,扬声器450A,受话器450B,麦克风450C,耳机接口450D,以及应用处理器等实现音频功能。例如音乐播放,录音等。The children's watch 400 can implement audio functions through the audio module 450, the speaker 450A, the receiver 450B, the microphone 450C, the headphone interface 450D, and the application processor. Such as music playback, recording, etc.
其中,上述传感器模块460可以包括陀螺仪传感器,磁传感器,加速度传感器,重力传感器,距离传感器,触摸传感器和环境光传感器等传感器。The above-mentioned sensor module 460 may include sensors such as a gyroscope sensor, a magnetic sensor, an acceleration sensor, a gravity sensor, a distance sensor, a touch sensor, and an ambient light sensor.
磁传感器包括霍尔传感器。儿童手表400可以利用磁传感器检测该儿童手表的佩戴状态。加速度传感器可检测手机在各个方向上加速度的大小。环境光传感器可以用于感知环境光的亮度。Magnetic sensors include Hall sensors. The children's watch 400 can use a magnetic sensor to detect the wearing status of the children's watch. The acceleration sensor detects the acceleration of the phone in all directions. Ambient light sensors can be used to sense the brightness of ambient light.
在一些实施例中,上述传感器模块460可以包括3个加速度传感器和3个陀螺仪传感器。这3个加速度传感器和3个陀螺仪传感器可以组成6轴惯性测量单元(inertial measurement unit,IMU)。或者,上述传感器模块460可以包括3个加速度传感器、3个陀螺仪传感器、以及3个磁力计。这3个加速度传感器、3个陀螺仪传感器、以及3个磁力计可以组成9轴IMU。In some embodiments, the above-mentioned sensor module 460 may include 3 acceleration sensors and 3 gyro sensors. These three acceleration sensors and three gyroscope sensors can form a 6-axis inertial measurement unit (IMU). Alternatively, the above-mentioned sensor module 460 may include three acceleration sensors, three gyroscope sensors, and three magnetometers. These three acceleration sensors, three gyroscope sensors, and three magnetometers can form a 9-axis IMU.
一些实施例中,传感器模块中的加速度传感器、或重力传感器等,也可以统称为运动传感器。In some embodiments, the acceleration sensor or gravity sensor in the sensor module can also be collectively referred to as a motion sensor.
触摸传感器,也称“触控面板”。触摸传感器可以设置于显示屏472,由触摸传感 器与显示屏472组成触摸屏,也称“触控屏”。触摸传感器用于检测作用于其上或附近的触摸操作。触摸传感器可以将检测到的触摸操作传递给应用处理器,以确定触摸事件类型。可以通过显示屏472提供与触摸操作相关的视觉输出。在另一些实施例中,触摸传感器也可以设置于儿童手表400的表面,与显示屏472所处的位置不同。Touch sensor, also called "touch panel". The touch sensor can be provided on the display screen 472, and the touch sensor The device and the display screen 472 form a touch screen, also known as a "touch screen". Touch sensors are used to detect touches on or near them. The touch sensor can pass the detected touch operation to the application processor to determine the touch event type. Visual output related to the touch operation may be provided through display screen 472 . In other embodiments, the touch sensor may also be disposed on the surface of the children's watch 400 in a position different from that of the display screen 472 .
本申请实施例中,儿童手表400可以通过触摸传感器检测到用户在触摸屏输入的触摸操作,并采集该触摸操作在触摸屏上的触控位置,触控面积,触控方向,以及触控时间等中的一项或多项。在一些实施例中,儿童手表400可以通过触摸传感器和压力传感器结合起来,确定触摸操作在触摸屏的触控位置。In the embodiment of the present application, the children's watch 400 can detect the touch operation input by the user on the touch screen through the touch sensor, and collect the touch position, touch area, touch direction, and touch time of the touch operation on the touch screen. one or more items. In some embodiments, the children's watch 400 can determine the touch location of the touch operation on the touch screen through a combination of a touch sensor and a pressure sensor.
马达470可以产生振动提示。马达470可以用于来电振动提示,也可以用于触摸振动反馈。指示器471可以是指示灯,可以用于指示充电状态,电量变化,也可以用于指示消息,未接来电,通知等。SIM卡接口473用于连接SIM卡。SIM卡可以通过插入SIM卡接口473,或从SIM卡接口473拔出,实现和儿童手表400的接触和分离。儿童手表400可以支持1个或N个SIM卡接口,N为大于1的正整数。SIM卡接口473可以支持Nano SIM卡,Micro SIM卡,SIM卡等。Motor 470 can generate vibration cues. The motor 470 can be used for vibration prompts for incoming calls and can also be used for touch vibration feedback. The indicator 471 may be an indicator light, which may be used to indicate charging status, power changes, or may be used to indicate messages, missed calls, notifications, etc. The SIM card interface 473 is used to connect a SIM card. The SIM card can be connected to or separated from the children's watch 400 by inserting it into the SIM card interface 473 or pulling it out from the SIM card interface 473 . The children's watch 400 can support 1 or N SIM card interfaces, where N is a positive integer greater than 1. SIM card interface 473 can support Nano SIM card, Micro SIM card, SIM card, etc.
在一种可能的实施例中,儿童手表为多核架构,即儿童手表中包括多个核心,示例性地,如图5所示,上述儿童手表的处理器可以包括应用处理器(application processrr,AP)和微控制单元(micro control unit,MCU)。其中,儿童手表中MCU可以与蓝牙模块、运动传感器、环境光传感器、定位模块和显示屏等连接,并处理蓝牙模块、运动传感器、环境光传感器、定位模块和显示屏等的数据。儿童手表中AP可以与显示屏、SIM卡(若有)、相机(若有)等连接,并处理显示屏、SIM卡(若有)、相机(若有)等的数据。In a possible embodiment, the children's watch has a multi-core architecture, that is, the children's watch includes multiple cores. For example, as shown in Figure 5, the processor of the children's watch may include an application processor (AP). ) and micro control unit (MCU). Among them, the MCU in the children's watch can be connected to the Bluetooth module, motion sensor, ambient light sensor, positioning module and display screen, etc., and process the data of the Bluetooth module, motion sensor, ambient light sensor, positioning module and display screen. The AP in the children's watch can be connected to the display screen, SIM card (if any), camera (if any), etc., and process data from the display screen, SIM card (if any), camera (if any), etc.
如此,可将在校模式和陪伴模式下的所有功能运行在MCU单核下,减少AP的运行次数和时长。此外,在双核架构中,由于MCU可运行更长时间,可将在校模式和陪伴模式的智能判断逻辑放在MCU上运行,简化AP运行逻辑,提升算法可靠性和实时性。In this way, all functions in school mode and companion mode can be run on a single MCU core, reducing the number and duration of AP runs. In addition, in the dual-core architecture, since the MCU can run for a longer time, the intelligent judgment logic of the school mode and companion mode can be run on the MCU, simplifying the AP operation logic and improving algorithm reliability and real-time performance.
以下实施例中的方法均可以在具有上述硬件结构的儿童手表400中实现。The methods in the following embodiments can all be implemented in the children's watch 400 with the above hardware structure.
以上述第二终端设备为手机举例,该手机可以包括与儿童手表类似的结构。在一些实施例中,手机可以包括比儿童手表更多或更少的部件,或者组合某些部件,或者拆分某些部件,或者不同的部件布置。Taking the above second terminal device as a mobile phone as an example, the mobile phone may include a structure similar to a children's watch. In some embodiments, a mobile phone may include more or fewer components than a children's watch, or some components may be combined, or some components may be separated, or may be arranged differently.
其中,第二终端设备的软件系统可以采用分层架构,事件驱动架构,微核架构、微服务架构,或云架构。本申请实施例以软件系统为分层架构的安卓操作系统为例,结合图举例说明上述第二终端设备的软件结构。Among them, the software system of the second terminal device can adopt a layered architecture, an event-driven architecture, a microkernel architecture, a microservice architecture, or a cloud architecture. The embodiment of this application uses the software system as the layered architecture of Android Taking the operating system as an example, the software structure of the above-mentioned second terminal device is illustrated with reference to the figure.
图6是本申请实施例提供的第二终端设备的软件结构框图。分层架构可将软件分成若干个层,每一层都有清晰的角色和分工。层与层之间通过软件接口通信。在一些实施例中,将安卓系统分为五层,从上至下分别为应用程序层,应用程序框架层,安卓运行时(Android runtime)和系统库,硬件抽象层(hardware abstraction layer,HAL)以及内核层。应理解:本文以安卓系统举例来说明,在其他操作系统中(例如鸿蒙系统,IOS系统等),只要各个功能模块实现的功能和本申请的实施例类似也能实现本申请的方案。 Figure 6 is a software structure block diagram of the second terminal device provided by the embodiment of the present application. The layered architecture can divide the software into several layers, and each layer has clear roles and division of labor. The layers communicate through software interfaces. In some embodiments, the Android system is divided into five layers, from top to bottom: application layer, application framework layer, Android runtime and system library, and hardware abstraction layer (HAL). and the kernel layer. It should be understood that this article takes the Android system as an example. In other operating systems (such as Hongmeng system, IOS system, etc.), as long as the functions implemented by each functional module are similar to the embodiments of the present application, the solution of the present application can also be implemented.
应用程序层可以包括一系列应用程序包。例如,如图6所示,应用程序层中可以安装通话,备忘录,浏览器,联系人,图库,日历,地图,蓝牙,音乐,视频,短信息等应用(application)。The application layer can include a series of application packages. For example, as shown in Figure 6, applications such as calls, memos, browsers, contacts, galleries, calendars, maps, Bluetooth, music, videos, and short messages can be installed in the application layer.
在本申请实施例中,第二终端设备的应用程序层中还安装有用于管理第一终端设备的应用,如“智能关怀”应用。例如,“智能关怀”应用可以用于实现对第一终端设备的位置信息查询功能或管理功能等。In this embodiment of the present application, an application for managing the first terminal device, such as a "smart care" application, is also installed in the application layer of the second terminal device. For example, the "smart care" application can be used to implement the location information query function or management function of the first terminal device.
应用程序框架层为应用程序层的应用程序提供应用编程接口(application programming interface,API)和编程框架。应用程序框架层包括一些预先定义的函数。The application framework layer provides an application programming interface (API) and programming framework for applications in the application layer. The application framework layer includes some predefined functions.
例如,应用程序框架层可以包括智能关怀服务。该智能关怀服务可以用于设置第一终端设备的工作模式,以及获取第一终端设备的位置等信息。For example, the application framework layer may include smart care services. The smart care service can be used to set the working mode of the first terminal device and obtain information such as the location of the first terminal device.
另外,应用程序框架层还可以包括窗口管理器,内容提供器,视图系统,资源管理器,通知管理器等,本申请实施例对此不做任何限制。In addition, the application framework layer may also include a window manager, a content provider, a view system, a resource manager, a notification manager, etc. This embodiment of the present application does not impose any restrictions on this.
例如,上述窗口管理器用于管理窗口程序。窗口管理器可以获取显示屏大小,判断是否有状态栏,锁定屏幕,截取屏幕等。上述内容提供器用来存放和获取数据,并使这些数据可以被应用程序访问。所述数据可以包括视频,图像,音频,拨打和接听的电话,浏览历史和书签,电话簿等。上述视图系统可用于构建应用程序的显示界面。每个显示界面可以由一个或多个控件组成。一般而言,控件可以包括图标、按钮、菜单、选项卡、文本框、对话框、状态栏、导航栏、微件(Widget)等界面元素。上述资源管理器为应用程序提供各种资源,比如本地化字符串,图标,图片,布局文件,视频文件等等。上述通知管理器使应用程序可以在状态栏中显示通知信息,可以用于传达告知类型的消息,可以短暂停留后自动消失,无需用户交互。比如通知管理器被用于告知下载完成,消息提醒等。通知管理器还可以是以图表或者滚动条文本形式出现在系统顶部状态栏的通知,例如后台运行的应用程序的通知,还可以是以对话窗口形式出现在屏幕上的通知。例如在状态栏提示文本信息,发出提示音,振动,指示灯闪烁等。For example, the window manager mentioned above is used to manage window programs. The window manager can obtain the display size, determine whether there is a status bar, lock the screen, capture the screen, etc. The above content providers are used to store and retrieve data and make this data accessible to applications. Said data can include videos, images, audio, calls made and received, browsing history and bookmarks, phone books, etc. The above view system can be used to build the display interface of the application. Each display interface can be composed of one or more controls. Generally speaking, controls can include interface elements such as icons, buttons, menus, tabs, text boxes, dialog boxes, status bars, navigation bars, and widgets. The above resource manager provides various resources to applications, such as localized strings, icons, pictures, layout files, video files, etc. The above notification manager allows the application to display notification information in the status bar, which can be used to convey notification type messages, and can automatically disappear after a short stay without user interaction. For example, the notification manager is used to notify download completion, message reminders, etc. The notification manager can also be notifications that appear in the status bar at the top of the system in the form of charts or scroll bar text, such as notifications for applications running in the background, or notifications that appear on the screen in the form of conversation windows. For example, prompt text information in the status bar, sound a beep, vibrate, blink the indicator light, etc.
安卓运行时(Android runtime)包括核心库和虚拟机。安卓运行时负责安卓系统的调度和管理。Android runtime includes core libraries and virtual machines. The Android runtime is responsible for the scheduling and management of the Android system.
核心库包含两部分:一部分是java语言需要调用的功能函数,另一部分是安卓的核心库。The core library contains two parts: one is the functional functions that need to be called by the Java language, and the other is the core library of Android.
应用程序层和应用程序框架层运行在虚拟机中。虚拟机将应用程序层和应用程序框架层的java文件执行为二进制文件。虚拟机用于执行对象生命周期的管理,堆栈管理,线程管理,安全和异常的管理,以及垃圾回收等功能。The application layer and application framework layer run in virtual machines. The virtual machine executes the java files of the application layer and application framework layer into binary files. The virtual machine is used to perform object life cycle management, stack management, thread management, security and exception management, and garbage collection and other functions.
系统库可以包括多个功能模块。例如:表面管理器(surface manager),媒体库(Media Libraries),三维图形处理库(例如:OpenGL ES),2D图形引擎(例如:SGL)等。System libraries can include multiple functional modules. For example: surface manager (surface manager), media libraries (Media Libraries), 3D graphics processing libraries (for example: OpenGL ES), 2D graphics engines (for example: SGL), etc.
其中,表面管理器用于对显示子系统进行管理,并且为多个应用程序提供了2D和3D图层的融合。媒体库支持多种常用的音频,视频格式回放和录制,以及静态图像文件等。媒体库可以支持多种音视频编码格式,例如:MPEG4,H.264,MP3,AAC,AMR,JPG,PNG等。三维图形处理库用于实现三维图形绘图,图像渲染,合成,和图层处理等。2D图形引擎是2D绘图的绘图引擎。 Among them, the surface manager is used to manage the display subsystem and provides the integration of 2D and 3D layers for multiple applications. The media library supports playback and recording of a variety of commonly used audio and video formats, as well as static image files, etc. The media library can support a variety of audio and video encoding formats, such as: MPEG4, H.264, MP3, AAC, AMR, JPG, PNG, etc. The 3D graphics processing library is used to implement 3D graphics drawing, image rendering, composition, and layer processing. 2D Graphics Engine is a drawing engine for 2D drawing.
仍如图6所示,第二终端设备的HAL中提供了与第二终端设备不同硬件对应的HAL,例如移动通信HAL、定位HAL、蓝牙HAL、Wi-Fi HAL等。As still shown in Figure 6, the HAL of the second terminal device provides HAL corresponding to different hardware of the second terminal device, such as mobile communication HAL, positioning HAL, Bluetooth HAL, Wi-Fi HAL, etc.
其中,移动通信HAL通过内核层的移动通信驱动可与移动通信模块对应。蓝牙HAL通过内核层的蓝牙驱动可以与蓝牙模块对应。Wi-Fi HAL通过内核层的蓝牙驱动可以与WLAN模块对应。Among them, the mobile communication HAL can correspond to the mobile communication module through the mobile communication driver of the kernel layer. Bluetooth HAL can correspond to the Bluetooth module through the Bluetooth driver at the kernel layer. Wi-Fi HAL can correspond to the WLAN module through the Bluetooth driver at the kernel layer.
内核层是硬件和软件之间的层。内核层至少包含显示驱动,移动通信驱动、定位驱动,蓝牙驱动,Wi-Fi驱动,内核层还可以包括音频驱动,传感器驱动等,本申请实施例对此不做任何限制。The kernel layer is the layer between hardware and software. The kernel layer at least includes a display driver, a mobile communication driver, a positioning driver, a Bluetooth driver, and a Wi-Fi driver. The kernel layer may also include an audio driver, a sensor driver, etc. The embodiments of this application do not impose any restrictions on this.
为便于理解,下述实施例中,均以第一终端设备为儿童手表,第二终端设备为家长的手机、管理应用为“智能关怀”应用举例说明本申请实施例提供的终端设备控制方法。For ease of understanding, in the following embodiments, the first terminal device is a child's watch, the second terminal device is a parent's mobile phone, and the management application is a "smart care" application to illustrate the terminal device control method provided by the embodiments of the present application.
以下首先对本申请提供的终端设备控制方法作简要介绍。The following is a brief introduction to the terminal equipment control method provided by this application.
本申请实施例中,儿童手表可以获取用于指示儿童手表所在区域的位置指示信息,并根据位置指示信息控制儿童手表的移动通信模块和/或定位模块的工作状态。若位置指示信息指示终端设备位于预设区域,则关闭移动通信模块和/或定位模块。如此,可以减小儿童手表的功耗,延长儿童手表的待机时间。其中,预设区域可以是用户指定的区域,该预设区域可以包括一个或多个固定的区域,即可以预先确定的区域,如以学校所占用的区域(学校区域)、或以家庭所在位置为中心半径为50米的区域(家庭区域);或者,在两个固定的区域之间的路径上的区域,如从家庭区域到学校区域之间的路径上,校车所占用的区域;或者,一个可以变动的区域,如一个位置在移动的手机周围30米的区域。In the embodiment of the present application, the children's watch can obtain the location indication information used to indicate the area where the child's watch is located, and control the working status of the mobile communication module and/or positioning module of the child's watch based on the location indication information. If the location indication information indicates that the terminal device is located in the preset area, the mobile communication module and/or the positioning module are turned off. In this way, the power consumption of the children's watch can be reduced and the standby time of the children's watch can be extended. The preset area may be a user-specified area, and the preset area may include one or more fixed areas, that is, areas that can be determined in advance, such as the area occupied by the school (school area) or the location of the home. It is an area with a center radius of 50 meters (home area); or, an area on the path between two fixed areas, such as the area occupied by school buses on the path from the home area to the school area; or, A variable area, such as a location 30 meters around a moving phone.
以下结合具体的场景说明第一终端设备为儿童手表时,本申请实施例提供的终端设备控制方法。The following describes the terminal device control method provided by the embodiment of the present application when the first terminal device is a children's watch with reference to specific scenarios.
如图7中的(a)所示,手机上的“智能关怀”应用中可以包括“工作模式”选项701。如图7中的(b)所示,手机可以接收家长对“工作模式”选项701的操作,如第一操作。该第一操作可以是家长对“工作模式”选项701的点击操作、长按操作或双击操作等任一种操作。响应于第一操作,如图8所示,手机可以显示“模式设置”选项卡801,“模式设置”选项卡801中,可以包括多个选项。例如,“模式设置”选项卡801中可以包括“在校模式”选项811、“陪伴模式”选项812,还可以包括“参数设置”选项813。其中,“在校模式”选项811用于选择儿童手表在“在校模式”下工作,具体可以参考下述图10所示方法实施例。“陪伴模式”选项812可以用于选择儿童手表在“陪伴模式”下工作,具体可以参考下述图17所示方法实施例。“参数设置”选项813可以用于设置“在校模式”或“陪伴模式”下,与儿童手表工作模式相关的参数,具体可以参考下述图10所示方法实施例和图17所示方法实施例,此处不再赘述。As shown in (a) of Figure 7, the "Smart Care" application on the mobile phone may include a "Work Mode" option 701. As shown in (b) of Figure 7, the mobile phone can receive the parent's operation on the "working mode" option 701, such as the first operation. The first operation may be any operation such as a click operation, a long press operation, or a double-click operation by the parent on the "working mode" option 701. In response to the first operation, as shown in Figure 8, the mobile phone may display a "Mode Settings" tab 801, and the "Mode Settings" tab 801 may include multiple options. For example, the "Mode Settings" tab 801 may include a "School Mode" option 811, a "Company Mode" option 812, and may also include a "Parameter Settings" option 813. Among them, the "school mode" option 811 is used to select the children's watch to work in the "school mode". For details, please refer to the method embodiment shown in Figure 10 below. The "Companion Mode" option 812 can be used to select the child's watch to work in the "Companion Mode". For details, please refer to the method embodiment shown in Figure 17 below. The "parameter setting" option 813 can be used to set parameters related to the working mode of the children's watch in the "school mode" or "accompanying mode". For details, please refer to the method embodiment shown in Figure 10 and the method implementation shown in Figure 17 below. For example, we will not go into details here.
以下进一步说明,儿童手表进入“在校模式”的过程。The following further explains the process of children's watches entering "school mode".
示例性地,在儿童上学前,家长可以对图9中的(a)所示选项卡中的“在校模式”选项811进行操作,手机可以接收家长对“在校模式”选项811的操作,如第二操作。该第二操作可以是家长对“在校模式”选项811的点击操作、长按操作或双击操作等 任一种操作。手机响应于第二操作,显示如图9中的(b)所示的界面,其中,“在校模式”选项811变为选中状态。此外,手机响应于第二操作,可以向第一网络设备(第一网络设备可以为儿童手表和终端设备提供服务,如儿童手表的位置查询、儿童手表的设置等)发送第一消息,其中,第一消息用于指示选择的儿童手表的工作模式为“在校模式”。服务器接收到第一消息后,根据第一消息向儿童手表发送第二消息,其中,第二消息用于指示儿童手表开启“在校模式”(即第一工作模式)。儿童手表接收到第二消息后,便可以开启“在校模式”。For example, before children go to school, parents can operate the "school mode" option 811 in the tab shown in (a) in Figure 9, and the mobile phone can receive the parents' operations on the "school mode" option 811, Like the second operation. The second operation may be a parent's click operation, long press operation or double click operation on the "school mode" option 811, etc. Any kind of operation. In response to the second operation, the mobile phone displays the interface shown in (b) of Figure 9 , in which the "school mode" option 811 becomes selected. In addition, in response to the second operation, the mobile phone can send the first message to the first network device (the first network device can provide services for children's watches and terminal devices, such as location query of children's watches, settings of children's watches, etc.), wherein, The first message is used to indicate that the working mode of the selected children's watch is "school mode". After receiving the first message, the server sends a second message to the child's watch according to the first message, where the second message is used to instruct the child's watch to turn on the "school mode" (ie, the first working mode). After the children's watch receives the second message, it can turn on the "school mode".
此外,与图9中在家长的手机上设置“在校模式”类似地,还可以在儿童手表上设置“在校模式”,此处不再赘述。In addition, similar to setting the "school mode" on the parent's mobile phone in Figure 9, you can also set the "school mode" on the child's watch, which will not be described again here.
在“在校模式”开启后,儿童手表可以执行如下S1001至S1002的步骤。以下以儿童手表开启“在校模式”,且儿童乘坐校车上学为例说明。After the "school mode" is turned on, the children's watch can perform the following steps S1001 to S1002. The following is an example of how a child's watch turns on the "school mode" and the child takes a school bus to school.
S1001,儿童手表获取位置指示信息。S1001, the children's watch obtains location indication information.
其中,位置指示信息用于指示儿童手表是否位于校车区域,即预设区域内。Among them, the location indication information is used to indicate whether the children's watch is located in the school bus area, that is, within the preset area.
儿童手表的位置指示信息指示的预设区域可以与儿童手表开启的工作模式,如“在校模式”相关。如此,终端设备可以根据工作模式检测对应的位置指示信息,例如,在预设区域中仅有一种类型的设备存在时,可以针对该类型的设备进行信号检测,以获取位置指示信息,从而简化信息获取过程,进一步延长待机时间。The preset area indicated by the location indication information of the child's watch may be related to the working mode enabled by the child's watch, such as "school mode". In this way, the terminal device can detect the corresponding location indication information according to the working mode. For example, when only one type of device exists in the preset area, signal detection can be performed for that type of device to obtain the location indication information, thereby simplifying the information. acquisition process to further extend the standby time.
示例性地,可以基于以下方式获取位置指示信息。For example, the location indication information can be obtained based on the following manner.
方式一,基于WLAN,如无线保真(wireless fidelity,WIFI)技术获取位置指示信息。Method one is to obtain location indication information based on WLAN, such as wireless fidelity (WIFI) technology.
以WIFI技术为例,在此情况下,校车内设置有WIFI信号发送设备(以下简称WIFI设备),在“在校模式”下工作的儿童手表开启WIFI信号检测功能。此时,位置指示信息可以包括儿童手表检测到WIFI信号的WIFI设备的标识信息,或者,位置指示信息还可以包括儿童手表接收到的WIFI信号的信号强度。儿童手表可以获取已检测到WIFI信号的WIFI设备的标识信息和WIFI信号的信号强度,从而得到位置指示信息。其中,儿童手表内预先存储有校车内的WIFI设备的标识信息,若儿童手表检测到校车内设置的WIFI设备发送的信号,则确定儿童手表在校车区域,即预设区域内。若儿童手表未检测到校车内设置的WIFI设备发送的信号,则确定儿童手表在校车区域,即预设区域之外。示例性地,儿童手表检测到校车内设置的WIFI设备发送的信号,可以是儿童手表检测到校车内设置的WIFI设备所发送的信号的信号强度大于或等于第一信号强度阈值。儿童手表未检测到校车内设置的WIFI设备发送的信号,可以是儿童手表检测到校车内设置的WIFI设备所发送的信号的信号强度小于第一信号强度阈值。Taking WIFI technology as an example, in this case, the school bus is equipped with a WIFI signal sending device (hereinafter referred to as WIFI device), and the children's watch working in "school mode" turns on the WIFI signal detection function. At this time, the location indication information may include identification information of the WIFI device from which the child's watch detects the WIFI signal, or the location indication information may also include the signal strength of the WIFI signal received by the child's watch. The children's watch can obtain the identification information of the WIFI device that has detected the WIFI signal and the signal strength of the WIFI signal, thereby obtaining location indication information. Among them, the children's watch pre-stores the identification information of the WIFI device in the school bus. If the child's watch detects the signal sent by the WIFI device installed in the school bus, it is determined that the child's watch is in the school bus area, that is, the preset area. If the child's watch does not detect the signal sent by the WIFI device installed in the school bus, it is determined that the child's watch is in the school bus area, that is, outside the preset area. For example, when the child's watch detects a signal sent by a WIFI device installed in the school bus, it may be that the child's watch detects that the signal strength of the signal sent by the WIFI device installed in the school bus is greater than or equal to the first signal strength threshold. If the child's watch does not detect the signal sent by the WIFI device installed in the school bus, it may be that the child's watch detects that the signal strength of the signal sent by the WIFI device installed in the school bus is less than the first signal strength threshold.
示例性地,第一信号强度阈值可以是-90分贝毫瓦(decibel relative to one milliwatt,dBm)。此处,第一信号强度阈值仅用于举例,在具体实施时,第一信号强度阈值可以根据实际情况,如WIFI设备的发送功率的大小和/或校车(预设区域)的范围等确定,此处不再赘述。For example, the first signal strength threshold may be -90 decibel relative to one milliwatt (dBm). Here, the first signal strength threshold is only used as an example. In specific implementation, the first signal strength threshold can be determined according to the actual situation, such as the transmission power of the WIFI device and/or the range of the school bus (preset area), etc. No further details will be given here.
方式二,基于蓝牙获取位置指示信息。Method 2: Obtain location indication information based on Bluetooth.
在此情况下,校车内设置有蓝牙信号发送设备(以下简称蓝牙设备),在“在校 模式”下工作的儿童手表开启蓝牙信号检测功能。此时,位置指示信息可以包括儿童手表检测到蓝牙信号对应的蓝牙设备的标识信息,位置指示信息还可以包括儿童手表接收到的蓝牙信号的信号强度。儿童手表可以获取检测到蓝牙信号的蓝牙设备的标识信息和蓝牙信号的信号强度,从而得到位置指示信息。其中,儿童手表内预先存储有校车内的WIFI设备的标识信息,若儿童手表检测到校车内设置的蓝牙设备发送的信号,则确定儿童手表在校车区域,即预设区域内。若儿童手表未检测到校车内设置的蓝牙设备发送的信号,则确定儿童手表在校车区域,即预设区域之外。示例性地,儿童手表检测到校车内设置的蓝牙设备发送的信号,可以是儿童手表检测到校车内设置的蓝牙设备所发送的信号的信号强度大于或等于第二信号强度阈值。儿童手表未检测到校车内设置的蓝牙设备发送的信号,可以是儿童手表检测到校车内设置的蓝牙设备所发送的信号的信号强度小于第二信号强度阈值。In this case, the school bus is equipped with a Bluetooth signal sending device (hereinafter referred to as the Bluetooth device). The children's watch working in "Mode" turns on the Bluetooth signal detection function. At this time, the location indication information can include the identification information of the Bluetooth device corresponding to the Bluetooth signal detected by the child's watch. The location indication information can also include the Bluetooth signal received by the child's watch. Strength. The children's watch can obtain the identification information of the Bluetooth device that detects the Bluetooth signal and the signal strength of the Bluetooth signal, thereby obtaining the location indication information. Among them, the children's watch pre-stores the identification information of the WIFI device in the school bus. If the children's watch detects If the child's watch does not detect the signal sent by the Bluetooth device set up in the school bus, it is determined that the child's watch is in the school bus area, that is, within the preset area. If the child's watch does not detect the signal sent by the Bluetooth device set up in the school bus, it is determined that the child's watch is in the school bus area, that is, Outside the preset area. For example, if the child's watch detects a signal sent by a Bluetooth device installed in the school bus, it may be that the child's watch detects that the signal strength of the signal sent by the Bluetooth device installed in the school bus is greater than or equal to the second signal strength. Threshold. The child's watch does not detect the signal sent by the Bluetooth device installed in the school bus. This may be because the child's watch detects that the signal strength of the signal sent by the Bluetooth device installed in the school bus is less than the second signal strength threshold.
示例性地,第二信号强度阈值可以是-90dBm,关于第二信号强度阈值的具体取值,可以根据蓝牙设备的发送功率的大小和/或校车(预设区域)的范围等确定。可理解,此处第二信号强度阈值仅用于举例,在具体实施时,第二信号强度阈值可以根据实际情况,如蓝牙设备的发送功率的大小和/或校车(预设区域)的范围等确定,此处不再赘述。For example, the second signal strength threshold may be -90dBm. The specific value of the second signal strength threshold may be determined based on the transmission power of the Bluetooth device and/or the range of the school bus (preset area). It can be understood that the second signal strength threshold is only used as an example. In specific implementation, the second signal strength threshold can be based on actual conditions, such as the transmission power of the Bluetooth device and/or the range of the school bus (preset area), etc. OK, no more details here.
在一种可能的设计中,儿童手表可以与手机之间建立蓝牙连接,若儿童手表与蓝牙设备之间的蓝牙连接存在,则儿童手表位于校车区域内,若儿童手表与蓝牙设备之间的蓝牙连接断开,则儿童手表位于校车区域之外的区域。In a possible design, the children's watch can establish a Bluetooth connection with the mobile phone. If the Bluetooth connection between the children's watch and the Bluetooth device exists, the children's watch is located in the school bus area. If the Bluetooth connection between the children's watch and the Bluetooth device exists, If the connection is lost, the child's watch is in an area outside the school bus area.
其中,蓝牙设备、智能手表均可以采用低功耗蓝牙(bluetooth low energy,BLE)技术发送或接收信号。Among them, Bluetooth devices and smart watches can use Bluetooth low energy (BLE) technology to send or receive signals.
方式三,基于近场通信(near field communication,NFC)技术获取位置指示信息。Method 3: Obtain location indication information based on near field communication (NFC) technology.
在此情况下,校车上设置有NFC设备,在“在校模式”下工作的儿童手表开启NFC检测功能。位置指示信息为指示儿童手表是否通过NFC技术读取到校车内的NFC设备的标识信息。当儿童上车时,儿童可以将儿童手表靠近NFC设备,从而获得NFC设备的标识信息。若儿童手表检测到校车内设置的NFC设备,则确定儿童手表进入校车,即预设区域内。In this case, the school bus is equipped with an NFC device, and the children's watch working in "school mode" turns on the NFC detection function. The location indication information is the identification information indicating whether the children's watch can read the NFC device in the school bus through NFC technology. When children get on the bus, they can put the children's watch close to the NFC device to obtain the identification information of the NFC device. If the child's watch detects the NFC device installed in the school bus, it is determined that the child's watch has entered the school bus, that is, within the preset area.
可理解,本申请实施例中,以上用于获取位置指示信息的方式仅用于作示例,儿童手表还可以通过其他已有的方式获取位置指示信息,此处不再赘述。此外,本申请实施例中,位置指示信息还可以结合已有的方式获取位置指示信息的方式,如上述方式一至方式三中的多种方式确定。It can be understood that in the embodiment of the present application, the above methods for obtaining position indication information are only used as examples. The children's watch can also obtain position indication information through other existing methods, which will not be described again here. In addition, in the embodiment of the present application, the location indication information can also be determined by combining existing methods to obtain the location indication information, such as the above-mentioned methods one to three.
需要说明,校车内的WIFI设备、蓝牙设备、NFC设备均可以称为第一预设设备,该第一预设设备还可以包括其他设备,此处不再赘述。预设区域中可以用于辅助儿童手表确定位置的设备的类型(设备类型)为预设类型,也就是说,预设类型的设备可以包括用于发送蓝牙信号的设备、用于发送WIFI信号的设备、或近场通信NFC设备,即WIFI设备、蓝牙设备、NFC设备。预设类型的设备的检测结果可以包括第一预设设备的设备标识。预设类型的设备的检测结果还可以包括第一预设设备发送的信号的信号强度。It should be noted that the WIFI devices, Bluetooth devices, and NFC devices in the school bus can all be called first default devices. The first default devices can also include other devices, which will not be described again here. The type of device (device type) in the preset area that can be used to assist the children's watch in determining the location is the preset type. That is to say, the preset type of device can include a device for sending Bluetooth signals, a device for sending WIFI signals, Device, or near field communication NFC device, that is, WIFI device, Bluetooth device, NFC device. The detection result of the preset type of device may include the device identification of the first preset device. The detection result of the preset type of device may also include the signal strength of the signal sent by the first preset device.
S1002,若位置指示信息指示儿童手表位于校车内,则关闭移动通信模块和/或定 位模块。S1002, if the location indication information indicates that the child's watch is located in the school bus, turn off the mobile communication module and/or bit module.
关于关闭移动通信模块的实现方式,可以参考现有技术中关闭移动通信模块的具体实现方式;关于关闭移动通定位模块的实现方式,可以参考现有技术中关闭移动通信模块的具体实现方式,此处不再赘述。Regarding the implementation method of turning off the mobile communication module, you may refer to the specific implementation method of turning off the mobile communication module in the prior art; regarding the implementation method of turning off the mobile communication positioning module, you may refer to the specific implementation method of turning off the mobile communication module in the prior art. No further details will be given.
如此,若位置指示信息指示儿童手表位于校车内,儿童处于相对安全的区域,儿童可以不使用移动通信功能,这样,便可以关闭移动通信模块,家长可以不从“智能关怀”应用获取儿童的实时位置,这样,便可以关闭定位模块,即可以关闭移动通信模块和/或定位模块,从而可以降低通信模块和/或定位模块的功耗,以延长儿童手表的待机时间。In this way, if the location indication information indicates that the child's watch is in the school bus and the child is in a relatively safe area, the child does not need to use the mobile communication function. In this way, the mobile communication module can be turned off and the parents do not need to obtain the child's real-time information from the "Smart Care" application. In this way, the positioning module can be turned off, that is, the mobile communication module and/or the positioning module can be turned off, thereby reducing the power consumption of the communication module and/or the positioning module to extend the standby time of the children's watch.
若儿童离开校车,如儿童乘坐校车到达学校外,下车步行进入学校,则重新开启移动通信模块和定位模块中已关闭的模块。If a child leaves the school bus, if the child takes the school bus to the outside of the school, gets off the bus and walks into the school, the closed modules in the mobile communication module and positioning module will be reopened.
示例性地,若采用方式一获取位置信息,则在儿童手表检测到校车内设置的WIFI设备发送的信号的信号强度小于第一信号强度阈值时,儿童离开校车。若采用方式二获取位置信息,则在儿童手表检测到校车内设置的蓝牙设备发送的信号的信号强度小于第二信号强度阈值,或者儿童手表与校车内的蓝牙设备之间的蓝牙连接为断开状态时,儿童离开校车。若采用方式三获取位置信息,则儿童手表再次读取到校车内的NFC设备发送的信号时,儿童离开校车。For example, if method 1 is used to obtain location information, when the child's watch detects that the signal strength of the signal sent by the WIFI device installed in the school bus is less than the first signal strength threshold, the child leaves the school bus. If the second method is used to obtain location information, the child's watch detects that the signal strength of the signal sent by the Bluetooth device installed in the school bus is less than the second signal strength threshold, or the Bluetooth connection between the child's watch and the Bluetooth device in the school bus is disconnected. state when children leave the school bus. If method three is used to obtain location information, the child leaves the school bus when the child's watch reads the signal sent by the NFC device in the school bus again.
另一种可能的场景中,儿童手表在设置为“在校模式”之后,在儿童由校外进入校内的场景下,例如,儿童在校外下车后,步行进入校内,则预设区域为学校区域,在此情况下儿童手表的控制方法可以参考上述图10所示的方法实施例。在此情况下,若儿童未进入学校区域,则位置指示信息还可以根据定位模块检测到的儿童手表的位置确定。In another possible scenario, after the children's watch is set to "school mode", when the children enter the school from outside the school, for example, after the children get off the car outside the school and walk into the school, the default area is the school area. , in this case, the control method of the children's watch can refer to the method embodiment shown in Figure 10 above. In this case, if the child does not enter the school area, the location indication information can also be determined based on the location of the child's watch detected by the positioning module.
此外,若儿童手表在“在校模式”下工作,儿童手表还可以启动传感器模块中的传感器,如运动传感器、或环境光传感器,以检测儿童手表的相关状态。其中,运动传感器包括加速度传感器。In addition, if the children's watch is working in "school mode", the children's watch can also activate the sensors in the sensor module, such as motion sensors or ambient light sensors, to detect the relevant status of the children's watch. Among them, the motion sensor includes an acceleration sensor.
以运动传感器为例,若儿童手表在“在校模式”下工作,则儿童手表可以启动运动传感器,以检测儿童的运动状态。此时,一种可能的设计中,儿童手表还可以执行下述步骤1至步骤4。Taking the motion sensor as an example, if the children's watch is working in "school mode", the children's watch can activate the motion sensor to detect the child's motion status. At this time, in a possible design, the children's watch can also perform the following steps 1 to 4.
步骤1,儿童手表通过加速度传感器获取儿童手表的加速度,并根据儿童手表的加速度确定出儿童手表的移动速度(即运动状态)。Step 1: The children's watch obtains the acceleration of the children's watch through the acceleration sensor, and determines the movement speed (i.e., motion state) of the children's watch based on the acceleration of the children's watch.
其中,儿童手表的移动速度可以表示儿童移动至学校区域之外的可能性。若儿童的移动速度大于或等于速度阈值,则儿童移动至学校区域之外的可能性大,在此情况下,儿童手表可以执行下述步骤2。Among them, the moving speed of the child's watch can indicate the possibility of the child moving outside the school area. If the child's moving speed is greater than or equal to the speed threshold, the child is likely to move outside the school area. In this case, the children's watch can perform the following step 2.
其中,速度阈值可以根据实际情况确定。示例性地,速度阈值可以根据车辆的速度确定,如速度阈值可以为20千米每小时至30千米每小时。可理解,此处的速度阈值仅用于举例,并不具体限定速度阈值,在具体实施时,速度阈值可以根据实际情况,如学校区域的大小确定,此处不再赘述。Among them, the speed threshold can be determined according to the actual situation. For example, the speed threshold may be determined according to the speed of the vehicle, for example, the speed threshold may be 20 kilometers per hour to 30 kilometers per hour. It can be understood that the speed threshold here is only used as an example and does not specifically limit the speed threshold. During specific implementation, the speed threshold can be determined according to the actual situation, such as the size of the school area, and will not be described again here.
步骤2,儿童手表开启定位模块。Step 2: Turn on the positioning module of the children's watch.
步骤3,儿童手表若通过定位模块检测到的位置确定儿童手表未离开学校区域, 则再次关闭定位模块。Step 3: If the child’s watch determines that the child’s watch has not left the school area through the position detected by the positioning module, Then close the positioning module again.
步骤4,若移动通信模块关闭,且儿童手表根据定位模块检测到的位置确定儿童已经离开学校,则进一步打开移动通信模块。Step 4: If the mobile communication module is turned off and the child's watch determines that the child has left school based on the location detected by the positioning module, the mobile communication module is further turned on.
这样,可以判断出儿童是否乘车,并在儿童移动速度过快,如放学后乘车离开学校区域的情况下,及时开启定位模块,以检测儿童的位置,从而进一步提高儿童的安全。In this way, it can be determined whether a child is riding in a car, and if the child moves too fast, such as leaving the school area by car after school, the positioning module can be turned on in time to detect the child's position, thereby further improving the safety of the child.
另一些可能设计中,儿童手表还可以根据加速度传感器获取的加速度,确定出儿童手表相对于参考位置的移动距离(即运动状态)。若儿童手表相对于参考位置的移动距离大于或等于距离阈值,则儿童移动至学校区域之外的可能性大,在此情况下,儿童手表仍然可以执行上述步骤2至步骤4,此处不再赘述。其中,参考位置是用于确定儿童移动距离的起点。例如,儿童手表离开教学区域后尚未开启定位模块的情况下,参考位置可以为教学区域的位置;或者,儿童手表离开教学区域后开启过定位模块的情况下,参考位置可以为儿童手表最近一次开启定位模块检测到的位置。示例性地,距离阈值可以为100米。可理解,此处的距离阈值仅用于举例,并不具体限定距离阈值,在具体实施时,距离阈值可以根据实际情况,如学校区域的大小确定,此处不再赘述。In other possible designs, the children's watch can also determine the movement distance of the children's watch relative to the reference position (ie, the motion state) based on the acceleration obtained by the acceleration sensor. If the movement distance of the child's watch relative to the reference position is greater than or equal to the distance threshold, the child is likely to move outside the school area. In this case, the child's watch can still perform the above steps 2 to 4, which are not discussed here. Repeat. The reference position is the starting point used to determine the distance the child moves. For example, if the positioning module has not been turned on after the child's watch leaves the teaching area, the reference position can be the position of the teaching area; or, if the positioning module has been turned on after the child's watch leaves the teaching area, the reference position can be the last time the child's watch was turned on. The position detected by the positioning module. By way of example, the distance threshold may be 100 meters. It can be understood that the distance threshold here is only used as an example and does not specifically limit the distance threshold. During specific implementation, the distance threshold can be determined based on the actual situation, such as the size of the school area, and will not be described again here.
需要说明,上述运动传感器可以是三轴IMU、或六轴IMU、或九轴IMU,本申请对此不作具体限定。It should be noted that the above-mentioned motion sensor may be a three-axis IMU, a six-axis IMU, or a nine-axis IMU, which is not specifically limited in this application.
如此,运动传感器可以检测儿童手表在更多方向上的运动状态,如加速度,从而能够获得更加准确的位移,进一步提高安全性。In this way, the motion sensor can detect the movement status of the children's watch in more directions, such as acceleration, so as to obtain more accurate displacement and further improve safety.
或者,以环境光传感器为例,当儿童进入学校后,儿童手表可以启动环境光传感器,以检测儿童是否离开学校区域的教室等建筑区域(运动状态),进而判断儿童是否存在离开学校的可能性。Or, taking the ambient light sensor as an example, when a child enters school, the child's watch can activate the ambient light sensor to detect whether the child has left the building area (motion state) such as the classroom in the school area, and then determine whether the child is likely to leave the school. .
示例性地,若儿童手表的环境光传感器检测到的光线强度大于或等于光线强度阈值,则儿童位于学校区域的建筑区域外,在此情况下,可以开启儿童手表的定位模块和移动通信模块。其中,光线强度可以是可见光的强度,或者,不可见光的强度。例如,对于可见光而言,光线强度阈值可以为:光照强度阈值:2000勒克斯(lux)。对于不可见光,如紫外线而言,光线强度可以为1100兆瓦每平方米(megawatt per square meter,mW/m2)。可理解,此处的光照强度阈值仅用于举例,并不具体限定光照强度阈值,在具体实施时,光照强度阈值可以根据实际情况,如天气等确定,此处不再赘述。For example, if the light intensity detected by the ambient light sensor of the child's watch is greater than or equal to the light intensity threshold, the child is outside the building area of the school area. In this case, the positioning module and mobile communication module of the child's watch can be turned on. The light intensity may be the intensity of visible light or the intensity of invisible light. For example, for visible light, the light intensity threshold may be: Light intensity threshold: 2000 lux. For invisible light, such as ultraviolet light, the light intensity can be 1100 megawatt per square meter (mW/m 2 ). It can be understood that the light intensity threshold here is only used as an example and does not specifically limit the light intensity threshold. During specific implementation, the light intensity threshold can be determined based on actual conditions, such as weather, etc., which will not be described again here.
这样,可以及时地更新儿童的位置信息,进一步提高安全性。In this way, children's location information can be updated in a timely manner, further improving safety.
可理解,若儿童手表的处理器为多核处理器,且包括AP和MCU,在此情况下,如上述图5所示,可以将传感器模块中的部分传感器与MCU连接。传感器模块中,运动传感器和光线传感器所采集到的信号,可以传输至MCU,并由MCU处理以获得儿童手表的运动状态,从而实现运动状态监测。It is understandable that if the processor of the children's watch is a multi-core processor and includes an AP and an MCU, in this case, as shown in Figure 5 above, some sensors in the sensor module can be connected to the MCU. In the sensor module, the signals collected by the motion sensor and light sensor can be transmitted to the MCU and processed by the MCU to obtain the motion status of the children's watch, thereby realizing motion status monitoring.
此外,儿童手表还可以通过麦克风采集环境声音,进而根据环境声音实现儿童的运动状态监测。例如,若儿童在放学后从学校内乘车或骑车离开学校,此时,儿童手表可以通过麦克风采集周围环境中的声音信号,并在检测到的声音信号中存在车辆运 行时所产生的声音信号的情况下,开启定位模块和/或移动通信模块。In addition, children's watches can also collect environmental sounds through microphones, and then monitor children's movement status based on environmental sounds. For example, if a child leaves the school by car or bicycle after school, the children's watch can collect sound signals in the surrounding environment through the microphone, and detect vehicle movement in the detected sound signals. In the case of sound signals generated while driving, the positioning module and/or mobile communication module are turned on.
需要说明,本申请实施例中,儿童手表可以根据儿童手表的移动速度、或者儿童手表的移动距离、或者儿童手表检测到的光照强度中的一项确定儿童手表运动状态,也可以结合儿童手表的移动速度、或者儿童手表的移动距离、或者儿童手表检测到的光照强度中的多项确定儿童手表的位置。It should be noted that in the embodiment of the present application, the children's watch can determine the movement state of the children's watch based on one of the movement speed of the children's watch, the movement distance of the children's watch, or the light intensity detected by the children's watch, or it can also be combined with the movement status of the children's watch. The location of the child's watch is determined by a combination of movement speed, distance traveled by the child's watch, or light intensity detected by the child's watch.
步骤5,儿童手表通过MCU获取各个传感器所采集的数据,并根据各个传感器采集的数据获取儿童手表的移动状态。Step 5: The children's watch obtains the data collected by each sensor through the MCU, and obtains the movement status of the children's watch based on the data collected by each sensor.
又一种可能的实施例中,儿童由家庭区域之外的区域进入家庭区域内,此时,儿童手表的控制方法与儿童进入学校时类似,此处不再赘述。In another possible embodiment, the child enters the home area from an area outside the home area. At this time, the control method of the children's watch is similar to that when the child enters school, and will not be described again here.
在一些场景下,家长可以根据实际情况更新预设区域。例如,家长为儿童办理了校外托管服务,在此情况下,家长可以将托管机构所在区域作为预设区域。儿童手表在进入托管机构所在区域后,仍然可以在“在校模式”下工作。关于儿童手表在托管机构内的工作原理与儿童手表在学校区域内工作的原理类似,此处不再赘述。In some scenarios, parents can update the preset area according to the actual situation. For example, parents apply for out-of-school care services for their children. In this case, the parents can set the area where the care institution is located as the default area. Children's watches can still work in "school mode" after entering the area where the child care institution is located. The working principle of children's watches in day care institutions is similar to the working principle of children's watches in school areas, so we will not go into details here.
其中,更新预设区域的过程如下:家长手机可以接收家长对图11中的(a)的“参数设置”选项813第三操作。该第三操作可以是家长对“参数设置”选项813的点击操作、长按操作或双击操作等任一种操作。响应于第三操作,手机可以显示如图11中的(b)所示的“参数项”选项卡1101,“参数项”选项卡1101中包括已经设置好的区域的选项,如“区域1”选项,“区域2”选项,以及“添加新区域”选项1111。“参数项”选项卡1101中还可以包括已经设置好的距离的选项,如“距离1”选项,“距离2”选项,以及“设置陪伴距离”选项1112。其中,如图12中的(a)所示,手机可以接收家长对“添加新区域”选项1111的第四操作。该第四操作可以是家长对“添加新区域”选项1111的点击操作、长按操作或双击操作等任一种操作。一些可能的设计中,手机响应于第四操作,可以显示如图12中的(b)所示的“区域3”选项。第四操作可以为输入需要新增加的预设区域的信息的操作。The process of updating the preset area is as follows: the parent's mobile phone can receive the parent's third operation of the "parameter setting" option 813 in (a) in Figure 11 . The third operation may be any operation such as a click operation, a long press operation, or a double-click operation by the parent on the "parameter setting" option 813. In response to the third operation, the mobile phone can display the "Parameter Item" tab 1101 as shown in (b) of Figure 11. The "Parameter Item" tab 1101 includes options for the area that have been set, such as "Area 1" option, the "Zone 2" option, and the "Add New Zone" option 1111. The "Parameter Items" tab 1101 may also include already set distance options, such as the "Distance 1" option, the "Distance 2" option, and the "Set Companion Distance" option 1112. Among them, as shown in (a) of Figure 12, the mobile phone can receive the parent's fourth operation on the "add new area" option 1111. The fourth operation may be any operation such as a click operation, a long press operation, or a double-click operation by the parent on the "Add New Area" option 1111. In some possible designs, in response to the fourth operation, the mobile phone can display the "Area 3" option as shown in (b) of Figure 12 . The fourth operation may be an operation of inputting information that requires a newly added preset area.
例如,第四操作输入的预设区域的信息,可以为如预设区域内的WIFI设备的标识信息。For example, the information of the preset area input by the fourth operation may be, for example, the identification information of the WIFI device in the preset area.
又如,第四操作输入的预设区域的信息可以为输入具体的位置,在此情况下,手机可以响应于第四操作,将第四操作输入的位置所在区域设置为预设区域。例如,第四操作输入的位置为托管学校所在区域中的一个位置,在此情况下,手机可以将托管学校所在区域设置为预设区域。For another example, the information of the preset area of the fourth operation input may be the input of a specific location. In this case, the mobile phone may respond to the fourth operation and set the area where the position of the fourth operation input is located as the preset area. For example, the location input in the fourth operation is a location in the area where the managed school is located. In this case, the mobile phone can set the area where the managed school is located as a default area.
再一些可能的设计中,手机响应于第四操作,可以显示如图13所示的“指定区域”界面,在此情况下,手机可以接收家长对“指定区域”界面的第五操作。该第五操作可以是家长对“指定区域”界面的点击操作、长按操作或双击操作等任一种操作。响应于第五操作,将该位置所对应的区域设置为预设区域。其中,手机中可以存储位置与区域的对应关系,例如,托管学校中的各个位置对应的区域均为该托管学校所在区域,位置1位于托管学校所在区域内,则手机可以响应于家长对位置1的第五操作,从而将托管学校所在区域新增为预设区域。In some possible designs, in response to the fourth operation, the mobile phone can display the "designated area" interface as shown in Figure 13. In this case, the mobile phone can receive the fifth operation of the parent on the "designated area" interface. The fifth operation may be any operation such as a click operation, a long press operation or a double-click operation by the parent on the "specified area" interface. In response to the fifth operation, the area corresponding to the position is set as the preset area. Among them, the mobile phone can store the corresponding relationship between the location and the area. For example, the area corresponding to each location in the trusteeship school is the area where the trusteeship school is located. Location 1 is located in the area where the trusteeship school is located. Then the mobile phone can respond to the parent's request for location 1. The fifth operation is to add the area where the managed school is located as a default area.
又一些可能的设计中,手机响应于第四操作,可以显示如图14所示的“指定区域”界面,在“指定区域”界面中,包括不同区域的图形(如地图)。手机可以接收家长 对“指定区域”界面的第六操作,响应于第六操作,将第六操作所形成的区域确定为预设区域。第六操作可以是家长手动指定一个区域,例如,家长手动在托管学校外围滑动一圈,滑动轨迹如图14中虚线所示),在此情况下,手机响应于第六操作,可以将托管学校所在区域设置为预设区域。In some possible designs, in response to the fourth operation, the mobile phone can display a "specified area" interface as shown in Figure 14. The "specified area" interface includes graphics of different areas (such as a map). The mobile phone can receive parents For the sixth operation of the "specify area" interface, in response to the sixth operation, the area formed by the sixth operation is determined as the preset area. The sixth operation may be for the parent to manually specify an area. For example, the parent manually slides around the periphery of the custody school (the sliding trajectory is shown as a dotted line in Figure 14). In this case, in response to the sixth operation, the mobile phone can move the custody school to The area is set as the default area.
可理解,本申请实施例中,手机还可以根据已经获取预设区域,在固定的预设区域为多个的情况下,自动将两个预设区域之间的路径设置为预设区域。例如,家庭所在小区和学校设置为预设区域后,手机还可以将家庭所在小区与学校之间的路径设置为预设区域,或者,可以采用与设置托管学校所在区域为预设区域类似的方式,将小区A与学校之间的路径设置为预设区域。It can be understood that in the embodiment of the present application, the mobile phone can also automatically set the path between two preset areas as the preset area according to the preset area that has been obtained, when there are multiple fixed preset areas. For example, after the home community and school are set as default areas, the mobile phone can also set the path between the home community and the school as the default area, or it can use a method similar to setting the area where the managed school is located as the default area. , set the path between Community A and the school as the default area.
在一些实施例中,如图15中的(a)所示,手机可以接收家长对区域选项的操作,从而将对应的区域删除。例如手机可以接收家长对“区域1”选项的第七操作。该第七操作可以是家长对“区域1”选项的点击操作、长按操作或双击操作等任一种操作。响应于第七操作,手机删除“区域1”选项,显示如图15中的(b)所示的界面。In some embodiments, as shown in (a) of Figure 15, the mobile phone can receive the parent's operation on the area option, thereby deleting the corresponding area. For example, the mobile phone can receive the parent's seventh operation on the "Area 1" option. The seventh operation may be any operation such as a click operation, a long press operation, or a double-click operation by the parent on the "Area 1" option. In response to the seventh operation, the mobile phone deletes the "Area 1" option and displays the interface shown in (b) of Figure 15 .
再一种可能的实施例中,儿童和家长一起,例如,儿童放学后,家长接到儿童,此时,家长可以及时得到儿童的位置信息,在此情况下,儿童手表与家长手机之间可以通过短距离方式,如蓝牙、ZigBee、WLAN等。以下以儿童手表与家长手机之间可以通过蓝牙通信举例。In another possible embodiment, the children and their parents are together. For example, the parents pick up the children after school. At this time, the parents can obtain the children's location information in time. In this case, the child's watch and the parent's mobile phone can be connected. Through short-distance methods, such as Bluetooth, ZigBee, WLAN, etc. The following is an example of Bluetooth communication between a child's watch and a parent's mobile phone.
在此情况下,如图16中的(a)所示,家长可以对“陪伴模式”选项812进行第八操作。该第八操作可以是家长对“陪伴模式”选项812的点击操作、长按操作或双击操作等任一种操作。手机响应于家长的第八操作,一方面,手机可以向服务器发送第三消息。其中,第三消息用于指示儿童手表在“陪伴模式”下工作。服务器接收到第三消息后,再向儿童手表发送第四消息。儿童手表接收到第四消息后,便可以打开蓝牙,并在“陪伴模式”(即第二工作模式)下工作。另一方面,如图16中的(b)所示,“陪伴模式”选项812变为选中状态,家长的手机可以打开蓝牙。In this case, as shown in (a) of FIG. 16 , the parent can perform an eighth operation on the "accompanying mode" option 812. The eighth operation may be any operation such as a click operation, a long press operation, or a double-click operation by the parent on the "accompanying mode" option 812. The mobile phone responds to the parent's eighth operation. On the one hand, the mobile phone can send a third message to the server. Among them, the third message is used to instruct the children's watch to work in "accompanying mode". After receiving the third message, the server sends the fourth message to the child's watch. After receiving the fourth message, the children's watch can turn on Bluetooth and work in "companion mode" (that is, the second working mode). On the other hand, as shown in (b) of FIG. 16 , the "companion mode" option 812 becomes selected, and the parent's mobile phone can turn on Bluetooth.
此外,与图16中在家长的手机上设置陪伴模式类似地,还可以在儿童手表上开启“陪伴模式”,此处不再赘述。In addition, similar to setting the companion mode on the parent's mobile phone in Figure 16, the "companion mode" can also be turned on on the child's watch, which will not be described again here.
示例性地,儿童手表在“陪伴模式”下工作后,儿童手表可以执行如下S1701至S1702的步骤。For example, after the children's watch works in "companion mode", the children's watch can perform the following steps S1701 to S1702.
S1701,儿童手表检测蓝牙信号,得到位置指示信息。S1701, the children's watch detects Bluetooth signals and obtains location indication information.
在此情况下,位置指示信息为:儿童手表所检测到的蓝牙信号的相关信息,例如,发射蓝牙信号的设备(以下简称蓝牙设备)的设备标识,蓝牙信号的信号强度等。In this case, the location indication information is: information related to the Bluetooth signal detected by the child's watch, for example, the device identification of the device that emits the Bluetooth signal (hereinafter referred to as the Bluetooth device), the signal strength of the Bluetooth signal, etc.
儿童手表的位置指示信息指示的预设区域可以与儿童手表的工作模式,如“陪伴模式”相关。如此,终端设备可以根据工作模式检测对应的位置指示信息,例如,在预设区域中仅有一种类型的设备存在时,可以针对该类型的设备进行信号检测,以获取位置指示信息,可以简化信息获取过程,进一步延长待机时间。The preset area indicated by the position indication information of the child's watch may be related to the working mode of the child's watch, such as "accompanying mode". In this way, the terminal device can detect the corresponding location indication information according to the working mode. For example, when there is only one type of device in the preset area, the signal can be detected for that type of device to obtain the location indication information, which can simplify the information. acquisition process to further extend the standby time.
S1702,若儿童手表检测到家长手机发送的蓝牙信号,则关闭移动通信模块和/或定位模块。S1702, if the child's watch detects the Bluetooth signal sent by the parent's mobile phone, it turns off the mobile communication module and/or positioning module.
示例性地,儿童手表检测到家长手机发送的蓝牙信号,可以是儿童手表检测到来自家长手机的蓝牙信号的信号强度大于或等于第三信号强度阈值,或者,可以是儿童 手表与家长手机之间存在蓝牙连接。此时,儿童手表可以关闭移动通信模块和/或定位模块。For example, when the child's watch detects the Bluetooth signal sent by the parent's mobile phone, it may be that the child's watch detects that the signal strength of the Bluetooth signal from the parent's mobile phone is greater than or equal to the third signal strength threshold, or it may be that the child There is a Bluetooth connection between the watch and the parent's phone. At this time, the children's watch can turn off the mobile communication module and/or positioning module.
为了更好的兼顾儿童的安全和儿童手表的功耗,第三信号强度阈值可以由家长或儿童设置。例如,可以通过家长的手机为儿童手表设置第三信号强度阈值。示例性地,第三信号强度阈值可以为-90dBm。In order to better balance the safety of children and the power consumption of children's watches, the third signal strength threshold can be set by parents or children. For example, a third signal strength threshold can be set for a child's watch via the parent's cell phone. For example, the third signal strength threshold may be -90dBm.
示例性地,与如图11中的(a)类似地,手机可以接收对“参数设置”选项813的第三操作,响应于第三操作,手机可以显示如图11中的(b)所示的界面。如图18中的(a)所示,手机可以接收家长对图11中的(b)显示的“设置陪伴距离”选项1112的第九操作(输入新增的陪伴距离3),显示如图18中的(b)中的“距离3”选项。手机可以接收家长对距离选项(如“距离1”选项至“距离3”选项)的操作,并响应家长对距离选项的操作,选择“陪伴模式”下与预设区域对应的距离,即儿童手表与手机的距离。Illustratively, similar to (a) in Figure 11, the mobile phone may receive a third operation on the "parameter setting" option 813, and in response to the third operation, the mobile phone may display as shown in (b) in Figure 11 interface. As shown in (a) in Figure 18, the mobile phone can receive the ninth operation (input the new companion distance 3) of the "set companion distance" option 1112 shown in (b) in Figure 11 from the parent, as shown in Figure 18 The "distance 3" option in (b). The mobile phone can receive the parent's operation on the distance option (such as the "Distance 1" option to the "Distance 3" option), and respond to the parent's operation on the distance option, and select the distance corresponding to the preset area in the "Companion Mode", that is, the children's watch distance from the phone.
如此,当儿童与父母在一起时,儿童处于相对安全的区域,儿童可以不使用移动通信功能,这样,便可以关闭移动通信模块,家长可以不从“智能关怀”应用获取儿童的实时位置,这样,便可以关闭定位模块,即可以关闭移动通信模块和/或定位模块,从而可以降低通信模块和/或定位模块的功耗,以延长待机时间。In this way, when children are with their parents, the children are in a relatively safe area, and the children do not need to use the mobile communication function. In this way, the mobile communication module can be turned off, and the parents do not need to obtain the children's real-time location from the "Smart Care" application. , the positioning module can be turned off, that is, the mobile communication module and/or the positioning module can be turned off, thereby reducing the power consumption of the communication module and/or the positioning module to extend the standby time.
本申请实施例中,可以基于BLE或蓝牙代理(BT proxy),通过家长手机辅助儿童手表定位。例如,可以根据家长手机的位置以及儿童手表检测到的蓝牙信号的强度,确定儿童手表的位置。In the embodiment of this application, the positioning of children's watches can be assisted through parents' mobile phones based on BLE or Bluetooth proxy (BT proxy). For example, the location of a child's watch can be determined based on the location of the parent's cell phone and the strength of the Bluetooth signal detected by the child's watch.
如图17所示的实施例中,为了确保儿童的通信需求,可以基于BLE或蓝牙代理提供网络服务,此时,儿童手表与家长蓝牙连接,通过家长手机转发信息。示例性地,儿童需要与同学通信,则在此情况下,儿童手表可以发送第一通信信息,家长的手机接收到儿童手表发送的第一通信信息后,再将该第一通信信息发送出去。家长接收到来自同学的终端设备的第二通信信息后,发送该第二通信信息,儿童手表接收来自家长手机的第二通信信息,如此,便可以实现儿童手表的通信功能。In the embodiment shown in Figure 17, in order to ensure children's communication needs, network services can be provided based on BLE or Bluetooth proxy. At this time, the children's watch is connected to the parent via Bluetooth and forwards information through the parent's mobile phone. For example, if a child needs to communicate with classmates, in this case, the child's watch can send the first communication information, and the parent's mobile phone can then send the first communication information after receiving the first communication information sent by the child's watch. After receiving the second communication information from the classmate's terminal device, the parent sends the second communication information, and the child's watch receives the second communication information from the parent's mobile phone. In this way, the communication function of the child's watch can be realized.
儿童手表在“陪伴模式”下工作时,若儿童手表检测到蓝牙的信号强度小于第三信号强度阈值,则可以打开移动通信模块和定位模块,以使移动通信模块和定位模块工作。家长手机若检测到蓝牙的信号强度小于第三信号强度阈值,还可以输出提醒信息,以提醒家长。其中,提醒信息可以显示在手机的界面上,也可以通过语音或震动的方式输出。When the children's watch is working in "companion mode", if the child's watch detects that the signal strength of Bluetooth is less than the third signal strength threshold, the mobile communication module and the positioning module can be turned on to make the mobile communication module and the positioning module work. If the parent's mobile phone detects that the Bluetooth signal strength is less than the third signal strength threshold, it can also output a reminder message to remind the parent. Among them, the reminder information can be displayed on the interface of the mobile phone, or output through voice or vibration.
此外,若家长和儿童位于人员比较密集的区域时,为了避免儿童与家长走散,更好地确保儿童的安全,如图19中的(a)所示,家长手机还可以接收家长对“陪伴模式”选项812的第十操作。该第十操作可以是家长对“陪伴模式”选项812的点击操作、长按操作或双击操作等任一种操作。响应于第十操作,手机可以结束儿童手表在“陪伴模式”的工作状态,开启定位模块和移动通信模,并显示如图19中的(b)所示的界面,其中,“陪伴模式”选项812为未选中的状态。In addition, if parents and children are in a densely populated area, in order to prevent children from getting separated from their parents and better ensure the safety of children, as shown in (a) in Figure 19, parents’ mobile phones can also receive parents’ comments about “accompanying them”. Mode" tenth operation of option 812. The tenth operation may be any operation such as a click operation, a long press operation, or a double-click operation by the parent on the "accompanying mode" option 812. In response to the tenth operation, the mobile phone can end the working state of the child's watch in the "accompanying mode", turn on the positioning module and mobile communication mode, and display the interface as shown in (b) of Figure 19, in which the "accompanying mode" option 812 is unselected.
可理解,在“陪伴模式”下,儿童手表还可以采用除蓝牙通信之外的其他短距离通信方式,如ZigBee、WLAN等进行通信,此处不作限定。It is understandable that in "companion mode", children's watches can also use other short-distance communication methods besides Bluetooth communication, such as ZigBee, WLAN, etc., which are not limited here.
在“陪伴模式”下,与儿童手表建立蓝牙连接的手机,还可以将儿童手表的运动 状态信息和位置发送至第一网络设备,以便其他家长查询。In "companion mode", a mobile phone that establishes a Bluetooth connection with the children's watch can also use the children's watch's movements to Status information and location are sent to the first network device for other parents to query.
此外,当儿童不在预设区域内,如儿童独立在小区玩耍时,儿童手表的通信模块和定位模块可以开启,此时,儿童手表的工作模式可以成为“独立模式”。In addition, when children are not in the preset area, such as when children are playing independently in the community, the communication module and positioning module of the children's watch can be turned on. At this time, the working mode of the children's watch can become "independent mode".
可以理解,本申请实施例中,儿童手表可以在在校模式、陪伴模式和独立模式之间切换。以下结合图20举例说明。It can be understood that in the embodiment of the present application, the children's watch can be switched between school mode, companion mode and independent mode. The following is an example with reference to Figure 20.
如图20所示,儿童进入学校,此时,儿童手表根据位置指示信息判确定出儿童手表进入学校区域。在此情况下,儿童手表进入“在校模式”下工作,关闭定位模块和/或移动通信模块。儿童手表获取运动状态信息。若儿童手表根据运动状态信息确定儿童的运动状态满足第一条件,如儿童相对教室移动了100米,或者儿童移动速度大于30千米每小时,则开启定位模块。As shown in Figure 20, the child enters the school. At this time, the child's watch determines that the child's watch has entered the school area based on the location indication information. In this case, the children's watch enters "school mode" and turns off the positioning module and/or mobile communication module. Children's watch obtains sports status information. If the child's watch determines that the child's motion status meets the first condition based on the motion status information, such as the child moving 100 meters relative to the classroom, or the child's moving speed is greater than 30 kilometers per hour, the positioning module is turned on.
在此情况下,若根据位置指示信息确定儿童仍然在学校区域,则继续获取儿童的运动状态信息。若根据位置指示信息确定儿童不在学校区域,且检测到家长手机发送的蓝牙信号的信号强度大于第三信号强度阈值(有家长陪伴),则进入“陪伴模式”运行。若根据位置指示信息确定儿童不在学校区域,且也不在学校区域之外的其他预设区域,则开启定位模块和移动通信模块,即进入“独立模式”。In this case, if it is determined that the child is still in the school area based on the location indication information, the child's motion status information will continue to be obtained. If it is determined based on the location indication information that the child is not in the school area, and it is detected that the signal strength of the Bluetooth signal sent by the parent's mobile phone is greater than the third signal strength threshold (accompanied by the parent), it will enter the "accompanying mode" operation. If it is determined based on the location indication information that the child is not in the school area and is not in other preset areas outside the school area, the positioning module and mobile communication module are turned on, that is, the "independent mode" is entered.
需要说明,本申请实施例中,家长在手机上对“智能关怀”应用中的选项进行操作后,手机可以将相关的信息同步至儿童手表。例如,在“陪伴模式”下,手机可以通过蓝牙发送操作选项的信息,儿童手表可以通过蓝牙接收该信息。It should be noted that in the embodiment of this application, after the parent operates the options in the "Smart Care" application on the mobile phone, the mobile phone can synchronize the relevant information to the child's watch. For example, in "companion mode", the mobile phone can send information about operating options through Bluetooth, and the children's watch can receive the information through Bluetooth.
可理解,本申请实施例中,儿童手表还可以根据位置指示信息的指示的结果,判断是否自动进入“在校模式”或“陪伴模式”。也就是说,在此情况下,儿童手表可以在不通过家长手机或者儿童手表设置工作模式的情况下,自行执行上述图10所示的方法或者上述图17所示的方法。It can be understood that in the embodiment of the present application, the children's watch can also determine whether to automatically enter the "school mode" or "accompanying mode" based on the indication result of the location indication information. That is to say, in this case, the child's watch can execute the method shown in FIG. 10 or the method shown in FIG. 17 without setting the working mode through the parent's mobile phone or the child's watch.
如此,可以简化操作步骤,提高用户体验。In this way, the operation steps can be simplified and the user experience can be improved.
进一步地,儿童手表还可以结合时段,自行执行上述图10所示的方法或者上述图17所示的方法。示例性地,儿童手表中预设的“在校模式”下工作的时间段为周一至周五中每一天的早上八点至下午五点,若儿童手表检测到儿童手表的位置在学校区域内,且时间为周一至周五每天的早上八点至下午五点之间的任意一个时间段,则儿童手表进入在校模式,即儿童手表关闭定位模块和/或移动通信模块。Furthermore, the children's watch can also perform the method shown in FIG. 10 or the method shown in FIG. 17 by itself in combination with the time period. For example, the preset working time period of the children's watch in "school mode" is from 8 am to 5 pm every day from Monday to Friday. If the children's watch detects that the location of the child's watch is within the school area, and If the time is any time period between 8 am and 5 pm every day from Monday to Friday, the children's watch enters the school mode, that is, the children's watch turns off the positioning module and/or mobile communication module.
若儿童手表中预设的“陪伴模式”下工作的时间段为周一至周五的下午五点至下午八点,若儿童放学后,家长和儿童一起回家,儿童手表检测到家长手机发送的蓝牙信号,且时间为周一至周五每天的下午五点至下午八点之间的任意一个时间段,则儿童手表进入在“陪伴模式”,即儿童手表关闭定位模块和/或移动通信模块。If the preset "accompanying mode" working time period in the child's watch is from 5 pm to 8 pm from Monday to Friday, if the child goes home with the child after school, the child's watch detects the message sent by the parent's mobile phone. Bluetooth signal, and the time is any time period between 5 pm and 8 pm every day from Monday to Friday, the children's watch enters the "accompanying mode", that is, the children's watch turns off the positioning module and/or mobile communication module.
如此,可以智能实现模式设置,进一步提高用户体验。In this way, mode settings can be intelligently implemented to further improve user experience.
示例性地,关于儿童手表对儿童手表所在场景对应的工作模式、以及日常(如周一至周五)和周末各个场景下的时间如表1所示。For example, the working modes of the children's watch corresponding to the scene in which the child's watch is located, as well as the time in each scene of daily life (such as Monday to Friday) and weekends are shown in Table 1.
表1

Table 1

对于表1所示的场景,按照本申请实施例的方案控制终端设备,则终端设备在一天内的大多数时间,可以关闭移动通信模块和定位模块,从而能够降低终端设备的功耗,延长待机时间。For the scenario shown in Table 1, if the terminal device is controlled according to the solution of the embodiment of the present application, the terminal device can turn off the mobile communication module and positioning module most of the time in a day, thereby reducing the power consumption of the terminal device and extending the standby time. time.
此外,当儿童不在预设区域内,如儿童独立在小区玩耍时,儿童手表的通信模块和定位模块可以开启,此时,儿童手表的工作模式可以成为“独立模式”。In addition, when children are not in the preset area, such as when children are playing independently in the community, the communication module and positioning module of the children's watch can be turned on. At this time, the working mode of the children's watch can become "independent mode".
综上,基于图10和图17所提供的终端设备控制方法,终端设备可以基于位置指示信息指示的区域,控制移动通信模块和定位模块的工作状态,在位置指示信息指示儿童手表位于预设区域,如学校、家庭等儿童处于相对安全的区域时,则关闭移动通信模块和定位模块,从而可以降低通信模块和定位模块的功耗,兼顾佩戴者的安全和终端设备的待机时间。In summary, based on the terminal device control methods provided in Figures 10 and 17, the terminal device can control the working status of the mobile communication module and the positioning module based on the area indicated by the location indication information. When the location indication information indicates that the children's watch is located in the preset area For example, when children are in relatively safe areas such as schools and families, the mobile communication module and positioning module are turned off, thereby reducing the power consumption of the communication module and positioning module and taking into account the safety of the wearer and the standby time of the terminal device.
需要说明的是,上述实施例中是以儿童手表和家长的手机举例说明的,可以理解的是,第一终端设备还可以是其他的智能穿戴设备,第二终端设备还可以是平板等,本申请实施例对此不做任何限制。It should be noted that in the above embodiment, children's watches and parents' mobile phones are used as examples. It can be understood that the first terminal device can also be other smart wearable devices, and the second terminal device can also be a tablet, etc. The application examples do not impose any restrictions on this.
另外,上述实施例中是以安卓系统为例阐述的各个功能模块之间实现终端设备的控制的具体方法,可以理解的是,也可以在其他操作系统中设置相应的功能模块实现上述设备控方法。只要各个设备和功能模块实现的功能和本申请的实施例类似,即属于本申请权利要求及其等同技术的范围之内。In addition, the above embodiments take the Android system as an example to explain the specific method of controlling the terminal device between various functional modules. It is understandable that corresponding functional modules can also be set in other operating systems to implement the above device control method. . As long as the functions implemented by each device and functional module are similar to the embodiments of this application, they fall within the scope of the claims of this application and its equivalent technology.
如图21所示,本申请实施例公开了一种终端设备,该终端设备可以为上述实施例中第一终端设备(例如儿童手表)或第二终端设备(如手机)。该终端设备具体可以包括:触摸屏2101,所触摸屏2101包括触摸传感器和显示屏;一个或多个处理器2102;存储器2103;通信模块2106;一个或多个应用程序(未示出);以及一个或多个计算机程序2104,上述各器件可以通过一个或多个通信总线2105连接。其中该一个或多个计算机程序2104被存储在上述存储器2103中并被配置为被该一个或多个处理器2102执行,该一个或多个计算机程序2104包括指令,该指令可以用于执行上述实施例中终端设备执行的相关步骤。As shown in Figure 21, an embodiment of the present application discloses a terminal device. The terminal device may be the first terminal device (such as a child's watch) or the second terminal device (such as a mobile phone) in the above embodiment. The terminal device may specifically include: a touch screen 2101, which includes a touch sensor and a display screen; one or more processors 2102; a memory 2103; a communication module 2106; one or more application programs (not shown); and one or A plurality of computer programs 2104, and the above-mentioned devices may be connected through one or more communication buses 2105. Where the one or more computer programs 2104 are stored in the above-mentioned memory 2103 and configured to be executed by the one or more processors 2102, the one or more computer programs 2104 include instructions that can be used to perform the above-mentioned implementations. Relevant steps performed by the terminal device in the example.
通过以上的实施方式的描述,所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,仅以上述各功能模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能模块完成,即将装置的内部结构划分成不同的功能模块,以完成以上描述的全部或者部分功能。上述描述的系统,装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。Through the above description of the embodiments, those skilled in the art can clearly understand that for the convenience and simplicity of description, only the division of the above functional modules is used as an example. In actual applications, the above functions can be allocated as needed. It is completed by different functional modules, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above. For the specific working processes of the systems, devices and units described above, reference can be made to the corresponding processes in the foregoing method embodiments, which will not be described again here.
在本申请实施例各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。 Each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically alone, or two or more units may be integrated into one unit. The above integrated units can be implemented in the form of hardware or software functional units.
所述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请实施例的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)或处理器执行本申请各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:快闪存储器、移动硬盘、只读存储器、随机存取存储器、磁碟或者光盘等各种可以存储程序代码的介质。If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it may be stored in a computer-readable storage medium. Based on this understanding, the technical solutions of the embodiments of the present application are essentially or contribute to the existing technology, or all or part of the technical solution can be embodied in the form of a software product. The computer software product is stored in a storage device. The medium includes several instructions to cause a computer device (which may be a personal computer, a server, or a network device, etc.) or a processor to execute all or part of the steps of the methods described in various embodiments of this application. The aforementioned storage media include: flash memory, mobile hard disk, read-only memory, random access memory, magnetic disk or optical disk and other media that can store program codes.
以上所述,仅为本申请实施例的具体实施方式,但本申请实施例的保护范围并不局限于此,任何在本申请实施例揭露的技术范围内的变化或替换,都应涵盖在本申请实施例的保护范围之内。因此,本申请实施例的保护范围应以所述权利要求的保护范围为准。 The above are only specific implementation modes of the embodiments of the present application, but the protection scope of the embodiments of the present application is not limited thereto. Any changes or substitutions within the technical scope disclosed in the embodiments of the present application shall be covered by this application. within the protection scope of the application embodiment. Therefore, the protection scope of the embodiments of the present application should be subject to the protection scope of the claims.

Claims (12)

  1. 一种终端设备控制方法,其特征在于,应用于终端设备,所述终端设备包括移动通信模块和定位模块,所述方法包括:A terminal device control method, characterized in that it is applied to a terminal device, the terminal device includes a mobile communication module and a positioning module, and the method includes:
    获取位置指示信息;其中,所述位置指示信息可以指示终端设备所在的区域;Obtain location indication information; wherein the location indication information may indicate the area where the terminal device is located;
    若所述位置指示信息指示所述终端设备位于预设区域内,则关闭所述终端设备的移动通信模块和/或定位模块。If the location indication information indicates that the terminal device is located within the preset area, the mobile communication module and/or positioning module of the terminal device is turned off.
  2. 根据权利要求1所述的终端设备控制方法,其特征在于,所述获取位置指示信息,包括:The terminal device control method according to claim 1, wherein the obtaining location indication information includes:
    获取所述终端设备的工作模式;所述工作模式用于指示所述终端设备在不同区域下的工作方式,不同的工作模式对应的所述预设区域不同;Obtain the working mode of the terminal device; the working mode is used to indicate the working mode of the terminal device in different areas, and the preset areas corresponding to different working modes are different;
    根据所述工作模式确定所述终端设备的位置指示信息。The location indication information of the terminal device is determined according to the working mode.
  3. 根据权利要求2所述的终端设备控制方法,其特征在于,所述根据所述工作模式确定所述终端设备的位置指示信息,包括:The terminal device control method according to claim 2, wherein the determining the location indication information of the terminal device according to the working mode includes:
    若所述工作模式为第一工作模式,则检测第一预设类型的设备;其中,所述预设区域内设置有第一预设设备,所述第一预设设备为第一预设类型的设备;所述第一预设类型的设备包括如下一项或多项:用于发送蓝牙信号的设备、用于发送无线保真WIFI信号的设备、或近场通信NFC设备;If the working mode is the first working mode, a first preset type of device is detected; wherein a first preset device is provided in the preset area, and the first preset device is a first preset type. The device; the first preset type of device includes one or more of the following: a device for sending Bluetooth signals, a device for sending wireless fidelity WIFI signals, or a near field communication NFC device;
    将第一预设类型的设备的检测结果确定为位置指示信息。The detection result of the device of the first preset type is determined as location indication information.
  4. 根据权利要求3所述的终端设备控制方法,其特征在于,所述若所述位置指示信息指示所述终端设备位于预设区域内,则关闭所述终端设备的移动通信模块和/或定位模块,包括:The terminal equipment control method according to claim 3, characterized in that if the location indication information indicates that the terminal equipment is located within a preset area, then turning off the mobile communication module and/or positioning module of the terminal equipment ,include:
    若检测到所述第一预设设备,则关闭所述终端设备的所述移动通信模块和/或所述定位模块。If the first preset device is detected, the mobile communication module and/or the positioning module of the terminal device are turned off.
  5. 根据权利要求2所述的终端设备控制方法,其特征在于,所述根据所述工作模式确定所述终端设备的位置指示信息,包括:The terminal device control method according to claim 2, wherein the determining the location indication information of the terminal device according to the working mode includes:
    若所述工作模式为第二工作模式,则检测蓝牙信号;If the working mode is the second working mode, detect the Bluetooth signal;
    将蓝牙信号的检测结果确定为位置指示信息。The detection result of the Bluetooth signal is determined as location indication information.
  6. 根据权利要求5所述的终端设备控制方法,其特征在于,所述若所述位置指示信息指示所述终端设备位于预设区域内,则关闭所述终端设备的移动通信模块和/或定位模块,包括:The terminal equipment control method according to claim 5, characterized in that if the location indication information indicates that the terminal equipment is located in a preset area, then turning off the mobile communication module and/or positioning module of the terminal equipment ,include:
    若检测到第二预设设备的蓝牙信号的检测结果大于或等于第三信号强度阈值,则关闭所述移动通信模块和/或所述定位模块。If it is detected that the detection result of the Bluetooth signal of the second preset device is greater than or equal to the third signal strength threshold, the mobile communication module and/or the positioning module is turned off.
  7. 根据权利要求1-6中任一项所述的终端设备控制方法,其特征在于,所述方法还包括:The terminal device control method according to any one of claims 1-6, characterized in that the method further includes:
    获取运动状态信息;其中,所述运动状态信息用于指示如下一项或多项:移动距离、移动速度、或离开预设区域内的建筑区域;Obtain motion status information; wherein the motion status information is used to indicate one or more of the following: moving distance, moving speed, or leaving a building area within a preset area;
    根据所述运动状态信息开启所述移动通信模块和/或所述定位模块。Turn on the mobile communication module and/or the positioning module according to the motion status information.
  8. 根据权利要求7所述的终端设备控制方法,其特征在于,所述获取运动状态信息,包括: The terminal device control method according to claim 7, wherein the obtaining motion status information includes:
    通过MCU获取所述运动状态信息。The motion status information is obtained through the MCU.
  9. 根据权利要求8所述的终端设备控制方法,其特征在于,所述根据所述运动状态信息开启所述移动通信模块和所述定位模块,包括:The terminal device control method according to claim 8, wherein turning on the mobile communication module and the positioning module according to the motion status information includes:
    若所述运动状态信息满足第一条件,则开启所述移动通信模块和所述定位模块;If the motion status information meets the first condition, turn on the mobile communication module and the positioning module;
    其中,所述第一条件包括:Wherein, the first condition includes:
    所述终端设备的移动速度大于或等于速度阈值;或者,The moving speed of the terminal device is greater than or equal to the speed threshold; or,
    所述终端设备的移动距离大于或等于距离阈值;或者,The moving distance of the terminal device is greater than or equal to the distance threshold; or,
    所述终端设备检测到的光线强度大于或等于光线强度阈值。The light intensity detected by the terminal device is greater than or equal to the light intensity threshold.
  10. 一种终端设备,其特征在于,包括:A terminal device, characterized by including:
    一个或多个处理器;one or more processors;
    显示屏;display screen;
    存储器;memory;
    通信模块;communication module;
    其中,所述存储器中存储有一个或多个计算机程序,所述一个或多个计算机程序包括指令,当所述指令被所述电子设备执行时,使得所述终端设备执行如权利要求1-9中任一项所述的终端设备控制方法。Wherein, one or more computer programs are stored in the memory, and the one or more computer programs include instructions that, when the instructions are executed by the electronic device, cause the terminal device to execute the instructions as claimed in claims 1-9 The terminal equipment control method described in any one of the above.
  11. 一种计算机可读存储介质,其特征在于,所述计算机可读存储介质包括计算机程序或指令,当所述计算机程序或指令在计算机上运行时,使得所述计算机执行如权利要求1-9中任一项所述的终端设备控制方法。A computer-readable storage medium, characterized in that the computer-readable storage medium includes a computer program or instructions, and when the computer program or instructions are run on a computer, the computer is caused to execute as claimed in claims 1-9 The terminal equipment control method described in any one of the above.
  12. 一种计算机程序产品,其特征在于,所述计算机程序产品包括:计算机程序或指令,当所述计算机程序或指令在计算机上运行时,使得所述计算机执行如权利要求1-9中任一项所述的终端设备控制方法。 A computer program product, characterized in that the computer program product includes: a computer program or instructions, which when the computer program or instructions are run on a computer, cause the computer to execute any one of claims 1-9 The terminal equipment control method.
PCT/CN2023/080599 2022-03-16 2023-03-09 Terminal device control method and terminal device WO2023174158A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202210260850.X 2022-03-16
CN202210260850.XA CN116806047A (en) 2022-03-16 2022-03-16 Terminal equipment control method and terminal equipment

Publications (1)

Publication Number Publication Date
WO2023174158A1 true WO2023174158A1 (en) 2023-09-21

Family

ID=88022217

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2023/080599 WO2023174158A1 (en) 2022-03-16 2023-03-09 Terminal device control method and terminal device

Country Status (2)

Country Link
CN (1) CN116806047A (en)
WO (1) WO2023174158A1 (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2654354A1 (en) * 2012-04-18 2013-10-23 Doro AB Providing a current position while reducing an overall power consumption
CN103983991A (en) * 2014-05-30 2014-08-13 厦门云朵网络科技有限公司 Positioning equipment
CN104780502A (en) * 2014-08-25 2015-07-15 李杨 Portable equipment and anti-lost and positioning method and system thereof
CN106535118A (en) * 2016-10-14 2017-03-22 北京小米移动软件有限公司 Intelligent terminal positioning method and intelligent terminal for positioning
CN114867088A (en) * 2022-04-28 2022-08-05 云教(北京)科技有限公司 Method and device for automatically reducing power consumption of satellite positioning mobile communication terminal

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2654354A1 (en) * 2012-04-18 2013-10-23 Doro AB Providing a current position while reducing an overall power consumption
CN103983991A (en) * 2014-05-30 2014-08-13 厦门云朵网络科技有限公司 Positioning equipment
CN104780502A (en) * 2014-08-25 2015-07-15 李杨 Portable equipment and anti-lost and positioning method and system thereof
CN106535118A (en) * 2016-10-14 2017-03-22 北京小米移动软件有限公司 Intelligent terminal positioning method and intelligent terminal for positioning
CN114867088A (en) * 2022-04-28 2022-08-05 云教(北京)科技有限公司 Method and device for automatically reducing power consumption of satellite positioning mobile communication terminal

Also Published As

Publication number Publication date
CN116806047A (en) 2023-09-26

Similar Documents

Publication Publication Date Title
WO2021052263A1 (en) Voice assistant display method and device
RU2766255C1 (en) Voice control method and electronic device
WO2021063343A1 (en) Voice interaction method and device
WO2020151387A1 (en) Recommendation method based on user exercise state, and electronic device
WO2020192456A1 (en) Voice interaction method and electronic device
CN107636683A (en) Utilize the movable method and apparatus of accelerometer identification user
KR20150066083A (en) Multi tasking method of electronic apparatus and electronic apparatus thereof
WO2021037223A1 (en) Touch control method and electronic device
CN111316199A (en) Information processing method and electronic equipment
WO2021175272A1 (en) Method for displaying application information and related device
WO2022089208A1 (en) File dragging method, and electronic device
US20230418630A1 (en) Operation sequence adding method, electronic device, and system
CN115016704B (en) Express prompt method and electronic equipment
WO2023207667A1 (en) Display method, vehicle, and electronic device
WO2023174158A1 (en) Terminal device control method and terminal device
US11874716B2 (en) Embedded computing device management
CN116709180B (en) Geofence generation method and server
CN115097993B (en) Express prompt method and electronic equipment
CN111343331B (en) Embedded computing device management
CN115016705B (en) Express prompt method and electronic equipment
CN115209514B (en) Method for closing cellular communication function and related electronic equipment
WO2022068729A1 (en) Wireless charging display method and electronic device
WO2020238894A1 (en) Motion trajectory recording method and related device
WO2023109636A1 (en) Application card display method and apparatus, terminal device, and readable storage medium
CN115567817B (en) Audio output equipment working mode setting method and electronic equipment

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 23769664

Country of ref document: EP

Kind code of ref document: A1