WO2019090611A1 - Detection method and detection apparatus for step counting function of intelligent device - Google Patents

Detection method and detection apparatus for step counting function of intelligent device Download PDF

Info

Publication number
WO2019090611A1
WO2019090611A1 PCT/CN2017/110223 CN2017110223W WO2019090611A1 WO 2019090611 A1 WO2019090611 A1 WO 2019090611A1 CN 2017110223 W CN2017110223 W CN 2017110223W WO 2019090611 A1 WO2019090611 A1 WO 2019090611A1
Authority
WO
WIPO (PCT)
Prior art keywords
function
detecting
smart device
step counting
instruction
Prior art date
Application number
PCT/CN2017/110223
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 深圳传音通讯有限公司
Priority to PCT/CN2017/110223 priority Critical patent/WO2019090611A1/en
Publication of WO2019090611A1 publication Critical patent/WO2019090611A1/en

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01CMEASURING DISTANCES, LEVELS OR BEARINGS; SURVEYING; NAVIGATION; GYROSCOPIC INSTRUMENTS; PHOTOGRAMMETRY OR VIDEOGRAMMETRY
    • G01C22/00Measuring distance traversed on the ground by vehicles, persons, animals or other moving solid bodies, e.g. using odometers, using pedometers

Definitions

  • the present invention relates to the field of smart devices, and in particular, to a method and a detection device for a step counting function of a smart device.
  • the smart device step counter will appear as 0. This is a way to judge the reason why the smart device is stepping to the abnormality, and output the solution to the user.
  • the invention discloses a method for detecting a step counting function of a smart device, characterized in that the detecting method comprises:
  • Analyzing the status information generates a solution based on the step counting function of the status information.
  • the current step number of the step counting function of the smart device and a step time are monitored, and the step time reaches a one-time threshold and the current step count of the step function is less than a preset step.
  • an interrupt instruction is generated, including:
  • the interrupt instruction is generated when the step time reaches the duration threshold and the current step count of the step function is less than the preset step threshold.
  • acquiring the interrupt instruction reported by the step counting function to the smart device, and performing a startup detection function according to the interrupt instruction including:
  • the smart device monitors whether the step counting function generates the interrupt instruction
  • the smart device After the smart device receives the interrupt instruction, performing the detecting function based on the interrupt instruction.
  • the status information of the hardware device including the GPS function, the network function, or the step counting function of the smart device is sequentially detected and acquired based on the detecting function, including:
  • the detecting function sequentially sends a detection instruction to the hardware function of the smart device, the network function or the hardware function of the step counting function, and receives a return instruction of the detection instruction;
  • the status information including a hardware failure that the GPS function is not turned on, the network function reaches a traffic limit or the step counting function.
  • analyzing the state information to generate a solution based on the step counting function of the state information comprises:
  • the operating parameters are analyzed to generate the solution for the hardware device of the GPS function, network function or the step counter function.
  • the invention also discloses a detecting device for the step counting function of the smart device, wherein the detecting device comprises: a monitoring module, a starting module, a detecting module and an analyzing module, wherein
  • the monitoring module is configured to monitor a current step number of the step counting function of the smart device and a step length, where the step time reaches a one-time threshold and the current step count of the step function is less than one When an initial step threshold is preset, an interrupt instruction is generated;
  • the startup module is configured to be in communication with the monitoring module, configured to acquire the interrupt instruction reported by the step counting function to the smart device, and perform a startup detection function according to the interrupt instruction;
  • the detecting module is connected to the startup module, and is configured to sequentially detect and acquire status information of a hardware device including a GPS function, a network function, or the step counting function of the smart device based on the detecting function;
  • the analysis module is in communication with the detection module, and is configured to analyze the state information to generate a solution based on the step function of the state information.
  • the monitoring module comprises:
  • a storage unit configured to store and maintain at least one set of the duration threshold and the preset step threshold in the smart device
  • An instruction unit configured to communicate with the storage unit, after the step counting function is started, when the step time reaches the duration threshold and the current step count of the step function is less than the preset step At the threshold, the interrupt instruction is generated.
  • the startup module includes:
  • a monitoring unit configured to monitor, by the smart device, whether the step counting function generates the interrupt instruction
  • the startup unit is communicatively coupled to the monitoring unit, and configured to start the detecting function based on the interrupt instruction after the smart device receives the interrupt instruction.
  • the detecting module comprises:
  • a detecting unit configured to send, by the detecting function, a detection instruction to the hardware function of the smart device, the network function or the hardware function of the step counting function, and receive a return instruction of the detection instruction;
  • an acquiring unit configured to communicate with the detecting unit, configured to acquire, according to the returning instruction, the status information that includes a hardware fault that the GPS function is not enabled, and the network function reaches a traffic limit or the step counting function.
  • the analysis module comprises:
  • a parameter unit configured to acquire, according to the state information, an operating parameter of a GPS function, a network function, or a hardware device of the step counting function corresponding to the state information;
  • An analysis unit in communication with the parameter unit, for analyzing the operational parameter, generating the solution for the hardware device of the GPS function, the network function or the step function.
  • the three solutions of the present invention are: informing the user of a hardware failure, turning on the GPS function, turning on the mobile network connection, or manually turning on the detection function.
  • FIG. 1 is a schematic flow chart in accordance with a preferred embodiment of the present invention.
  • FIG. 2 is a schematic flow chart of a specific implementation of step 101 shown in FIG. 1;
  • step 102 shown in FIG. 1 is a schematic flow chart of a specific implementation of step 102 shown in FIG. 1;
  • step 103 shown in FIG. 1;
  • FIG. 5 is a schematic flow chart of a specific implementation of step 104 shown in FIG. 1;
  • Figure 6 is a schematic view showing the structure in accordance with a preferred embodiment of the present invention.
  • Figure 7 is a schematic view of a structure in accordance with a preferred embodiment of the present invention.
  • Figure 8 is a schematic view of a structure in accordance with a preferred embodiment of the present invention.
  • Figure 9 is a schematic view showing the structure in accordance with a preferred embodiment of the present invention.
  • Figure 10 is a schematic view of the structure in accordance with a preferred embodiment of the present invention.
  • the smart device used herein includes a device of a wireless signal receiver, a device having only a wireless signal receiver without a transmitting capability, and a device for receiving and transmitting hardware, which has the capability to A device that performs bidirectional communication reception and transmission hardware on a two-way communication link.
  • Such devices may include cellular or other communication devices having a single line display or a multi-line display or a cellular or other communication device without a multi-line display; PCS (Personal Communications Service), which may combine voice, data Processing, fax, and/or data communication capabilities; PDA (Personal Digital Assistant), which can include radio frequency receivers, pagers, Internet/Intranet access, web browsers, notepads, calendars, and/or GPS (Global Positioning System (Global Positioning System) receiver; conventional laptop and/or palmtop computer or other device having a conventional laptop and/or palmtop computer or other device that includes and/or includes a radio frequency receiver.
  • PCS Personal Communications Service
  • PDA Personal Digital Assistant
  • device may be portable, transportable, installed in a vehicle (aviation, sea and/or land), or adapted and/or configured to operate locally, and/or Run in any other location on the Earth and/or space in a distributed form.
  • the "device” and “smart device” used herein may also be a communication device, an internet device, a music/video playback device, such as a PDA, a MID (Mobile Internet Device), and/or have a music/video playback.
  • Functional mobile phones can also be smart TVs, set-top boxes and other devices.
  • first, second, third, etc. may be used in the present disclosure to describe various information, such information should not be limited to these terms. These terms are only used to distinguish the same type of information from each other.
  • first information may also be referred to as second information, and similarly, the second information may also be referred to as first information.
  • word “if” as used herein may be interpreted as "when” or “when” or “in response to a determination.”
  • a flow diagram consistent with a preferred embodiment of the present invention includes:
  • Step 101 Monitor the current step count of the step counting function of the smart device and a step time, when the step time reaches a duration threshold and the current step count of the step function is less than a preset step An threshold is generated to generate an interrupt instruction;
  • the foregoing duration threshold and the preset step threshold include, but are not limited to, for example, within 1 minute after the step function is started, within 2 minutes after the step function is started, or 100 units of steps, 200 units of steps,
  • the duration threshold and the preset step threshold may be saved by using a preset set of a duration threshold and a preset step threshold, and the duration threshold and the preset step threshold may be used to obtain the duration threshold and the preset step threshold.
  • the pre-time threshold is matched with the preset step threshold, for example, within 1 minute and 100 unit steps after the step function is started, or within 2 minutes and 200 unit steps after the step function is started.
  • the storage device of the smart device is a non-volatile storage device such as a hard disk or a flash memory.
  • Various programs are stored in the storage module, including programs related to the control information processing device.
  • An operation display device (an example of a display and a controller) is provided with a liquid crystal display functioning as a touch panel. A user of the information processing device touches the liquid crystal display to perform various operations.
  • An interface that communicates with another device, either wired or wirelessly.
  • the storage device includes a relation storage area and a corresponding relationship storage area.
  • the information indicating the inclusion relationship between the data types (hereinafter referred to as "including relationship information”) is stored in the inclusion relationship storage area, and may be a data type indicating a combination of the relationship between the pre-time threshold and the preset step threshold.
  • the interrupt instruction is generated;
  • the step time is the time elapsed after the current time step is started.
  • the step count is based on the built-in clock function of the smart device and starts counting the elapsed time at a point in time, for example, to achieve success.
  • the built-in clock should be monitored in real time in the time recording function provided by the built-in clock application.
  • the built-in clock reaches the specified time, that is, the step time reaches the duration threshold, and the current step count of the step function is counted.
  • An interrupt instruction is generated when the threshold is less than the preset step. For example, when the current step count of the function statistics is less than 100 unit steps within 1 minute after the step counting function is started, it is confirmed that the step counting function is in an abnormal state, and an interrupt command is generated.
  • Step 102 Acquire the interrupt instruction reported by the step counting function to the smart device, and perform a startup detection function according to the interrupt instruction.
  • the smart device monitors whether the step counting function generates the interrupt instruction
  • an interrupt instruction is generated, and the corresponding processor in the terminal processes the interrupt instruction after detecting the interrupt instruction, for example, to obtain statistics in the step counting function.
  • the number of steps or the occurrence of the instruction causes the step counting function to report the number of steps or to wake up the system according to the interrupt instruction or wake up the corresponding application for related operations.
  • the smart device After the smart device receives the interrupt instruction, performing the detecting function according to the interrupt instruction;
  • the system is woken up according to the interrupt instruction, that is, the process of the detection function corresponding to the step counting function is awakened, for example, GPS function detection, network Function detection, hardware device detection of the step counter function.
  • Step 103 sequentially detect and acquire status information of a hardware device including a GPS function, a network function, or the step counting function of the smart device based on the detecting function.
  • the detecting function sequentially sends a detection instruction to the hardware function of the smart device, the network function or the hardware function of the step counting function, and receives a return instruction of the detection instruction;
  • the state information including a hardware failure that the GPS function is not turned on, the network function reaches a traffic limit or the step counting function;
  • the detection function is reported by the driver layer.
  • the frequency at which the detection function reports the abnormality may be that each time an abnormal update is detected, a corresponding interrupt instruction is generated, and then the smart device detects the interruption.
  • the abnormality reported by the detection function is acquired, or, in order to save the power consumption of the smart device, a timer may be set in the smart device, and the abnormality detected in the detection function is periodically reported, that is, not the detection function.
  • a new abnormality is reported, and the update of the corresponding abnormal information is periodically sent to the driver layer.
  • the detection function after receiving the return instruction of the detection instruction corresponding to the abnormality, the detection function includes the corresponding abnormality in the return instruction message, that is, the status information.
  • the data acquired by the device such as the GPS function is not enabled
  • the network function reaches the flow limit
  • the hardware function of the step function is reported to the framework layer via the driver layer, and then reported to the application layer, so that the related application at the application layer is obtained.
  • the corresponding return instruction Message status information.
  • Step 104 Analyze the state information to generate a solution based on the step counting function of the state information
  • a solution is derived. For example, for GPS functions, such as removing the smart device casing (bare metal open GPS switch for outdoor testing), setting the positioning to be accurate, restarting the smart device, selecting other time periods or selecting other location tests, if the above methods are excluded, the mobile phone can not be located. It is recommended to back up your personal data, restore the factory settings once or brush other versions of the operating system test; due to different installation procedures and settings, some GPS can not be located and other issues, and some users are prohibited from obtaining the permission of GPS. Sex.
  • the smart device USB to RJ45 data line is completed by the application of the smart device to call the USB interface to complete the network test function (mainly the call to the ping command) due to the existing USB to RJ45 adapter cable
  • the smart phone + WLAN (wireless router) mode can be used to check the status of the smart device network in the application of the smart device, whether it is a mobile Internet or a WLAN network. (This application is limited to testing the network under WLAN conditions). Configure a separate IP address for the WLAN (wireless router).
  • the IP address of the wireless router needs to be uniformly planned to ensure that the IP addresses at both ends of the test circuit are in the same network segment.
  • a wireless connection to the test terminal WLAN can be established on the smart device. Enter the WLAN (wireless router) address of the other party and start running to test the network status.
  • the user's step counting function of the smart device is prompted to be abnormal, and the abnormality can be solved by, but not limited to, reinstalling the step counting function. It is also possible that the 3-axis acceleration sensor in the smart device has failed, and the hardware failure of the step counting function is prompted.
  • the device according to the present invention can be implemented by a detecting device 10, and includes: a monitoring module 11, a starting module 12, a detecting module 13, and an analyzing module 14;
  • the monitoring module 11 is configured to monitor a current step number of the step counting function of the smart device and a step length, where the step time reaches a duration threshold and the current step count of the step function is less than a pre-step When the step threshold is set, an interrupt instruction is generated;
  • a storage unit configured to store and maintain at least one set of the duration threshold and the preset step threshold in the smart device
  • the foregoing duration threshold and the preset step threshold include, but are not limited to, for example, within 1 minute after the step function is started, within 2 minutes after the step function is started, or 100 units of steps, 200 units of steps,
  • the duration threshold and the preset step threshold may be saved by using a preset set of a duration threshold and a preset step threshold, and the duration threshold and the preset step threshold may be used to obtain the duration threshold and the preset step threshold.
  • the pre-time threshold is matched with the preset step threshold, for example, within 1 minute and 100 unit steps after the step function is started, or within 2 minutes and 200 unit steps after the step function is started.
  • the storage device of the smart device is a non-volatile storage device such as a hard disk or a flash memory.
  • Various programs are stored in the storage module, including programs related to the control information processing device.
  • An operation display device (an example of a display and a controller) is provided with a liquid crystal display functioning as a touch panel. A user of the information processing device touches the liquid crystal display to perform various operations.
  • An interface that communicates with another device, either wired or wirelessly.
  • the storage device includes a relation storage area and a corresponding relationship storage area.
  • the information indicating the inclusion relationship between the data types (hereinafter referred to as "including relationship information”) is stored in the inclusion relationship storage area, and may be a data type indicating a combination of the relationship between the pre-time threshold and the preset step threshold.
  • An instruction unit configured to communicate with the storage unit, after the step counting function is started, when the step time reaches the duration threshold and the current step count of the step function is less than the preset step The threshold is generated, the interrupt instruction is generated;
  • the step time is the time elapsed after the current time step is started.
  • the step counting time is based on the built-in clock function of the smart device to calculate the elapsed time from a point in time.
  • the built-in clock application provides a time recording function to monitor the built-in time.
  • the clock generates an interrupt command when the built-in clock reaches the specified time, that is, the step time reaches the duration threshold, and the current step count of the step function is less than the preset step threshold.
  • the current step count of the function statistics is less than 100 unit steps within 1 minute after the step counting function is started, it is confirmed that the step counting function is in an abnormal state, and an interrupt command is generated.
  • the startup module 12 is configured to be in communication with the monitoring module, configured to acquire the interrupt instruction reported by the step counting function to the smart device, and perform a startup detection function according to the interrupt instruction;
  • a monitoring unit configured to monitor, by the smart device, whether the step counting function generates the interrupt instruction
  • an interrupt instruction is generated, and the corresponding processor in the terminal processes the interrupt instruction after detecting the interrupt instruction, for example, to obtain statistics in the step counting function.
  • the number of steps or the occurrence of the instruction causes the step counting function to report the number of steps or to wake up the system according to the interrupt instruction or wake up the corresponding application for related operations.
  • a startup unit configured to be in communication with the monitoring unit, configured to: when the smart device receives the interrupt instruction, perform the detecting function according to the interrupt instruction;
  • the system is woken up according to the interrupt instruction, that is, the process of the detection function corresponding to the step counting function is awakened, for example, GPS function detection, network Function detection, hardware device detection of the step counter function.
  • the detecting module 13 is in communication with the startup module, and is configured to sequentially detect and acquire state information of a hardware device including a GPS function, a network function, or the step counting function of the smart device based on the detecting function;
  • a detecting unit configured to send, by the detecting function, a detection instruction to the hardware function of the smart device, the network function or the hardware function of the step counting function, and receive a return instruction of the detection instruction;
  • An obtaining unit configured to be in communication with the detecting unit, configured to acquire, according to the returning instruction, the status information that includes a hardware fault that the GPS function is not enabled, and the network function reaches a traffic limit or the step counting function;
  • the detection function is reported by the driver layer.
  • the frequency at which the detection function reports the abnormality may be that each time an abnormal update is detected, a corresponding interrupt instruction is generated, and then the smart device detects the interruption.
  • the abnormality reported by the detection function is acquired, or, in order to save the power consumption of the smart device, a timer may be set in the smart device, and the abnormality detected in the detection function is periodically reported, that is, not the detection function.
  • a new abnormality is reported, and the update of the corresponding abnormal information is periodically sent to the driver layer.
  • the detection function after receiving the return instruction of the detection instruction corresponding to the abnormality, includes the corresponding abnormality in the return instruction message, that is, the status information.
  • the data acquired by the device such as the GPS function is not enabled
  • the network function reaches the flow limit
  • the hardware function of the step function is reported to the framework layer via the driver layer, and then reported to the application layer, so that the related application at the application layer is obtained. Go to the corresponding return instruction message, ie status information.
  • the analysis module 14 is in communication with the detection module, and is configured to analyze the state information to generate a solution based on the step function of the state information;
  • a parameter unit configured to acquire, according to the state information, an operating parameter of a GPS function, a network function, or a hardware device of the step counting function corresponding to the state information;
  • An analysis unit in communication with the parameter unit, for analyzing the operating parameter, generating the solution for the hardware device of the GPS function, the network function or the step counting function;
  • a solution is derived. For example, for GPS functions, such as removing the smart device casing (bare metal open GPS switch for outdoor testing), setting the positioning to be accurate, restarting the smart device, selecting other time periods or selecting other location tests, if the above methods are excluded, the mobile phone can not be located. It is recommended to back up your personal data, restore the factory settings once or brush other versions of the operating system test; due to different installation procedures and settings, some GPS can not be located and other issues, and some users are prohibited from obtaining the permission of GPS. Sex.
  • the smart device USB to RJ45 data line is completed by the application of the smart device to call the USB interface to complete the network test function (mainly the call to the ping command) due to the existing USB to RJ45 adapter cable
  • the smart phone + WLAN (wireless router) mode can be used to check the status of the smart device network in the application of the smart device, whether it is a mobile Internet or a WLAN network. (This application is limited to testing the network under WLAN conditions). Configure a separate IP address for the WLAN (wireless router).
  • the IP address of the wireless router needs to be uniformly planned to ensure that the IP addresses at both ends of the test circuit are in the same network segment.
  • a wireless connection to the test terminal WLAN can be established on the smart device. Enter the WLAN (wireless router) address of the other party and start running to test the network status.
  • the user's step counting function of the smart device is prompted to be abnormal, and the abnormality can be solved by, but not limited to, reinstalling the step counting function. It is also possible that the 3-axis acceleration sensor in the smart device has failed, and the hardware failure of the step counting function is prompted.
  • an embodiment of the present invention further provides a computer readable storage medium having stored therein computer executable instructions, such as a non-volatile memory such as an optical disk, a hard disk, or a flash memory.
  • computer executable instructions are for causing a computer or the like to perform various operations in the above-described detection method for the step counting function of the smart device.
  • the present invention includes apparatus related to performing one or more of the operations described herein. These devices may be specially designed and manufactured for the required purposes, or may also include known devices in a general purpose computer. These devices have computer programs stored therein that are selectively activated or reconfigured.
  • Such a computer program can be stored in a device (eg, computer) readable medium or stored
  • the computer readable medium includes, but is not limited to, any type of disk (including floppy disks, hard disks, optical disks, CD-ROMs, and magneto-optical disks), ROM (Read-Only Memory), RAM (Random Access Memory), EPROM (Erasable Programmable Read-Only Memory), EEPROM (Electrically Erasable Programmable Read-Only Memory) , electrically erasable programmable read only memory), flash memory, magnetic card or light card.
  • a readable medium includes any medium that is stored or transmitted by a device (eg, a computer) in a readable form.

Abstract

Provided is a detection method for a step counting function of an intelligent device, characterized in that the detection method comprises: monitoring the current number of steps counted by a step counting function of an intelligent device and a step counting duration, and when the step counting duration reaches a duration threshold value and the current number of steps counted by the step counting function is less than a pre-set step count threshold value, generating an interrupt instruction; acquiring the interrupt instruction reported to the intelligent device by the step counting function, and executing a start detection function according to the interrupt instruction; based on the detection function, successively detecting and acquiring state information, comprising a GPS function, a network function or the step counting function of the intelligent device, of a hardware apparatus; and analyzing the state information to generate a state information based solution for the step counting function. The three solutions of the present invention are respectively: notifying a user of hardware faults, enabling a GPS function, and enabling a mobile network connection, while also being capable of manually enabling a detection function.

Description

一种用于智能设备的计步功能的检测方法及检测装置Detection method and detection device for step counting function of smart device 技术领域Technical field
本发明涉及智能设备领域,尤其涉及一种用于智能设备的计步功能的检测方法及检测装置。The present invention relates to the field of smart devices, and in particular, to a method and a detection device for a step counting function of a smart device.
背景技术Background technique
智能设备计步会出现为0的情况,这是一种判断智能设备记步为异常的原因的方法,并输出解决方法给用户。The smart device step counter will appear as 0. This is a way to judge the reason why the smart device is stepping to the abnormality, and output the solution to the user.
发明内容Summary of the invention
为了克服上述技术缺陷,本发明的目的在于提供一种用于智能设备的计步功能的检测方法及检测装置。In order to overcome the above technical deficiencies, it is an object of the present invention to provide a detection method and a detection apparatus for a step counting function of a smart device.
本发明公开了一种用于智能设备的计步功能的检测方法,其特征在于,所述检测方法包括:The invention discloses a method for detecting a step counting function of a smart device, characterized in that the detecting method comprises:
监测所述智能设备的计步功能统计的当前步数以及一计步时长,在所述计步时长达到一时长阈值且所述计步功能统计的当前步数小于一预设步数阈值时,生成一中断指令;Monitoring a current step count of the step counting function of the smart device and a step time length, when the step time reaches a one-time threshold and the current step count of the step function is less than a preset step threshold, Generating an interrupt instruction;
获取所述计步功能向所述智能设备上报的所述中断指令,根据所述中断指令执行启动检测功能;Acquiring the interrupt instruction reported by the step counting function to the smart device, and performing a startup detection function according to the interrupt instruction;
基于所述检测功能依次检测并获取包括所述智能设备的GPS功能、网络功能或所述计步功能的硬件装置的状态信息;And sequentially detecting and acquiring state information of a hardware device including a GPS function, a network function, or the step counting function of the smart device based on the detecting function;
分析所述状态信息生成一基于所述状态信息的所述计步功能的解决方案。Analyzing the status information generates a solution based on the step counting function of the status information.
优选地,监测所述智能设备的计步功能统计的当前步数以及一计步时长,在所述计步时长达到一时长阈值且所述计步功能统计的当前步数小于一预设步数阈值时,生成一中断指令,包括:Preferably, the current step number of the step counting function of the smart device and a step time are monitored, and the step time reaches a one-time threshold and the current step count of the step function is less than a preset step. At the threshold, an interrupt instruction is generated, including:
于所述智能设备内存储并维护至少一组所述时长阈值和所述预设步数阈值; Storing and maintaining at least one set of the duration threshold and the preset step threshold in the smart device;
启动所述计步功能后,当所述计步时长达到所述时长阈值且所述计步功能统计的当前步数小于所述预设步数阈值时,生成所述中断指令。After the step counting function is started, the interrupt instruction is generated when the step time reaches the duration threshold and the current step count of the step function is less than the preset step threshold.
优选地,获取所述计步功能向所述智能设备上报的所述中断指令,根据所述中断指令执行启动检测功能,包括:Preferably, acquiring the interrupt instruction reported by the step counting function to the smart device, and performing a startup detection function according to the interrupt instruction, including:
所述智能设备监测所述计步功能是否产生所述中断指令;The smart device monitors whether the step counting function generates the interrupt instruction;
当所述智能设备接收到所述中断指令后,基于所述中断指令执行启动所述检测功能。After the smart device receives the interrupt instruction, performing the detecting function based on the interrupt instruction.
优选地,基于所述检测功能依次检测并获取包括所述智能设备的GPS功能、网络功能或所述计步功能的硬件装置的状态信息,包括:Preferably, the status information of the hardware device including the GPS function, the network function, or the step counting function of the smart device is sequentially detected and acquired based on the detecting function, including:
所述检测功能依次向所述智能设备的GPS功能、网络功能或所述计步功能的硬件装置发送一检测指令并接收所述检测指令的返回指令;The detecting function sequentially sends a detection instruction to the hardware function of the smart device, the network function or the hardware function of the step counting function, and receives a return instruction of the detection instruction;
基于所述返回指令获取包括所述GPS功能未开启,所述网络功能达到流量限制或所述计步功能的硬件故障的所述状态信息。And obtaining, according to the return instruction, the status information including a hardware failure that the GPS function is not turned on, the network function reaches a traffic limit or the step counting function.
优选地,分析所述状态信息生成一基于所述状态信息的所述计步功能的解决方案,包括:Preferably, analyzing the state information to generate a solution based on the step counting function of the state information comprises:
基于所述状态信息获取所述状态信息对应的GPS功能、网络功能或所述计步功能的硬件装置的运行参数;Acquiring, according to the state information, an operating parameter of a GPS function, a network function, or a hardware device of the step counting function corresponding to the state information;
分析所述运行参数,生成关于所述GPS功能、网络功能或所述计步功能的硬件装置的所述解决方案。The operating parameters are analyzed to generate the solution for the hardware device of the GPS function, network function or the step counter function.
本发明还公开了一种用于智能设备的计步功能的检测装置,其特征在于,所述检测装置包括:监测模块,启动模块,检测模块,分析模块,其中,The invention also discloses a detecting device for the step counting function of the smart device, wherein the detecting device comprises: a monitoring module, a starting module, a detecting module and an analyzing module, wherein
所述监测模块,用于监测所述智能设备的计步功能统计的当前步数以及一计步时长,在所述计步时长达到一时长阈值且所述计步功能统计的当前步数小于一预设步数阈值时,生成一中断指令;The monitoring module is configured to monitor a current step number of the step counting function of the smart device and a step length, where the step time reaches a one-time threshold and the current step count of the step function is less than one When an initial step threshold is preset, an interrupt instruction is generated;
所述启动模块,与所述监测模块通讯连接,用于获取所述计步功能向所述智能设备上报的所述中断指令,根据所述中断指令执行启动检测功能;The startup module is configured to be in communication with the monitoring module, configured to acquire the interrupt instruction reported by the step counting function to the smart device, and perform a startup detection function according to the interrupt instruction;
所述检测模块,与所述启动模块通讯连接,用于基于所述检测功能依次检测并获取包括所述智能设备的GPS功能、网络功能或所述计步功能的硬件装置的状态信息;The detecting module is connected to the startup module, and is configured to sequentially detect and acquire status information of a hardware device including a GPS function, a network function, or the step counting function of the smart device based on the detecting function;
所述分析模块,与所述检测模块通讯连接,用于分析所述状态信息生成一基于所述状态信息的所述计步功能的解决方案。The analysis module is in communication with the detection module, and is configured to analyze the state information to generate a solution based on the step function of the state information.
优选地,所述监测模块,包括: Preferably, the monitoring module comprises:
存储单元,用于于所述智能设备内存储并维护至少一组所述时长阈值和所述预设步数阈值;a storage unit, configured to store and maintain at least one set of the duration threshold and the preset step threshold in the smart device;
指令单元,与所述存储单元通讯连接,用于启动所述计步功能后,当所述计步时长达到所述时长阈值且所述计步功能统计的当前步数小于所述预设步数阈值时,生成所述中断指令。An instruction unit, configured to communicate with the storage unit, after the step counting function is started, when the step time reaches the duration threshold and the current step count of the step function is less than the preset step At the threshold, the interrupt instruction is generated.
优选地,所述启动模块,包括:Preferably, the startup module includes:
监测单元,用于所述智能设备监测所述计步功能是否产生所述中断指令;a monitoring unit, configured to monitor, by the smart device, whether the step counting function generates the interrupt instruction;
启动单元,与所述监测单元通讯连接,用于当所述智能设备接收到所述中断指令后,基于所述中断指令执行启动所述检测功能。The startup unit is communicatively coupled to the monitoring unit, and configured to start the detecting function based on the interrupt instruction after the smart device receives the interrupt instruction.
优选地,所述检测模块,包括:Preferably, the detecting module comprises:
检测单元,用于所述检测功能依次向所述智能设备的GPS功能、网络功能或所述计步功能的硬件装置发送一检测指令并接收所述检测指令的返回指令;a detecting unit, configured to send, by the detecting function, a detection instruction to the hardware function of the smart device, the network function or the hardware function of the step counting function, and receive a return instruction of the detection instruction;
获取单元,与所述检测单元通讯连接,用于基于所述返回指令获取包括所述GPS功能未开启,所述网络功能达到流量限制或所述计步功能的硬件故障的所述状态信息。And an acquiring unit, configured to communicate with the detecting unit, configured to acquire, according to the returning instruction, the status information that includes a hardware fault that the GPS function is not enabled, and the network function reaches a traffic limit or the step counting function.
优选地,所述分析模块,包括:Preferably, the analysis module comprises:
参数单元,用于基于所述状态信息获取所述状态信息对应的GPS功能、网络功能或所述计步功能的硬件装置的运行参数;a parameter unit, configured to acquire, according to the state information, an operating parameter of a GPS function, a network function, or a hardware device of the step counting function corresponding to the state information;
分析单元,与所述参数单元通讯连接,用于分析所述运行参数,生成关于所述GPS功能、网络功能或所述计步功能的硬件装置的所述解决方案。An analysis unit, in communication with the parameter unit, for analyzing the operational parameter, generating the solution for the hardware device of the GPS function, the network function or the step function.
采用了上述技术方案后,与现有技术相比,具有以下有益效果:After adopting the above technical solution, compared with the prior art, the following beneficial effects are obtained:
1.本发明的三种解决方案分别为:告知用户硬件故障、开启GPS功能、开启移动网络连接也可手动开启检测功能。1. The three solutions of the present invention are: informing the user of a hardware failure, turning on the GPS function, turning on the mobile network connection, or manually turning on the detection function.
附图说明DRAWINGS
图1为符合本发明一优选实施例中的流程示意图;1 is a schematic flow chart in accordance with a preferred embodiment of the present invention;
图2为图1所示的步骤101的一种具体实施的流程示意图;2 is a schematic flow chart of a specific implementation of step 101 shown in FIG. 1;
图3为图1所示的步骤102的一种具体实施的流程示意图;3 is a schematic flow chart of a specific implementation of step 102 shown in FIG. 1;
图4为图1所示的步骤103的一种具体实施的流程示意图;4 is a schematic flow chart of a specific implementation of step 103 shown in FIG. 1;
图5为图1所示的步骤104的一种具体实施的流程示意图;FIG. 5 is a schematic flow chart of a specific implementation of step 104 shown in FIG. 1;
图6为符合本发明一优选实施例中的结构示意图; Figure 6 is a schematic view showing the structure in accordance with a preferred embodiment of the present invention;
图7为符合本发明一优选实施例中的结构示意图;Figure 7 is a schematic view of a structure in accordance with a preferred embodiment of the present invention;
图8为符合本发明一优选实施例中的结构示意图;Figure 8 is a schematic view of a structure in accordance with a preferred embodiment of the present invention;
图9为符合本发明一优选实施例中的结构示意图;Figure 9 is a schematic view showing the structure in accordance with a preferred embodiment of the present invention;
图10为符合本发明一优选实施例中的结构示意图。Figure 10 is a schematic view of the structure in accordance with a preferred embodiment of the present invention.
附图标记:Reference mark:
10-检测装置、11-监测模块、12-启动模块、13-检测模块、14-分析模块:10-detection device, 11-monitoring module, 12-start module, 13-detection module, 14-analysis module:
具体实施方式Detailed ways
以下结合附图与具体实施例进一步阐述本发明的优点。Advantages of the present invention are further explained below in conjunction with the accompanying drawings and specific embodiments.
这里将详细地对示例性实施例进行说明,其示例表示在附图中。下面的描述涉及附图时,除非另有表示,不同附图中的相同数字表示相同或相似的要素。以下示例性实施例中所描述的实施方式并不代表与本公开相一致的所有实施方式。相反,它们仅是与如所附权利要求书中所详述的、本公开的一些方面相一致的装置和方法的例子。Exemplary embodiments will be described in detail herein, examples of which are illustrated in the accompanying drawings. The following description refers to the same or similar elements in the different figures unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present disclosure. Instead, they are merely examples of devices and methods consistent with aspects of the present disclosure as detailed in the appended claims.
本技术领域技术人员可以理解,这里所使用的智能设备,既包括无线信号接收器的设备,其仅具备无发射能力的无线信号接收器的设备,又包括接收和发射硬件的设备,其具有能够在双向通信链路上,进行双向通信的接收和发射硬件的设备。这种设备可以包括:蜂窝或其他通信设备,其具有单线路显示器或多线路显示器或没有多线路显示器的蜂窝或其他通信设备;PCS(Personal Communications Service,个人通信系统),其可以组合语音、数据处理、传真和/或数据通信能力;PDA(Personal Digital Assistant,个人数字助理),其可以包括射频接收器、寻呼机、互联网/内联网访问、网络浏览器、记事本、日历和/或GPS(Global Positioning System,全球定位系统)接收器;常规膝上型和/或掌上型计算机或其他设备,其具有和/或包括射频接收器的常规膝上型和/或掌上型计算机或其他设备。这里所使用的“设备”、“智能设备”可以是便携式、可运输、安装在交通工具(航空、海运和/或陆地)中的,或者适合于和/或配置为在本地运行,和/或以分布形式,运行在地球和/或空间的任何其他位置运行。这里所使用的“设备”、“智能设备”还可以是通信设备、上网设备、音乐/视频播放设备,例如可以是PDA,MID(Mobile Internet Device,移动互联网设备)和/或具有音乐/视频播放功能的移动电话,也可以是智能电视、机顶盒等设备。Those skilled in the art can understand that the smart device used herein includes a device of a wireless signal receiver, a device having only a wireless signal receiver without a transmitting capability, and a device for receiving and transmitting hardware, which has the capability to A device that performs bidirectional communication reception and transmission hardware on a two-way communication link. Such devices may include cellular or other communication devices having a single line display or a multi-line display or a cellular or other communication device without a multi-line display; PCS (Personal Communications Service), which may combine voice, data Processing, fax, and/or data communication capabilities; PDA (Personal Digital Assistant), which can include radio frequency receivers, pagers, Internet/Intranet access, web browsers, notepads, calendars, and/or GPS (Global Positioning System (Global Positioning System) receiver; conventional laptop and/or palmtop computer or other device having a conventional laptop and/or palmtop computer or other device that includes and/or includes a radio frequency receiver. As used herein, "device", "smart device" may be portable, transportable, installed in a vehicle (aviation, sea and/or land), or adapted and/or configured to operate locally, and/or Run in any other location on the Earth and/or space in a distributed form. The "device" and "smart device" used herein may also be a communication device, an internet device, a music/video playback device, such as a PDA, a MID (Mobile Internet Device), and/or have a music/video playback. Functional mobile phones can also be smart TVs, set-top boxes and other devices.
应当理解,尽管在本公开可能采用术语第一、第二、第三等来描述各种信息,但这些信息不应限于这些术语。这些术语仅用来将同一类型的信息彼此区分开。例如,在不 脱离本公开范围的情况下,第一信息也可以被称为第二信息,类似地,第二信息也可以被称为第一信息。取决于语境,如在此所使用的词语“如果”可以被解释成为“在……时”或“当……时”或“响应于确定”。It should be understood that although the terms first, second, third, etc. may be used in the present disclosure to describe various information, such information should not be limited to these terms. These terms are only used to distinguish the same type of information from each other. For example, not Without departing from the scope of the present disclosure, the first information may also be referred to as second information, and similarly, the second information may also be referred to as first information. Depending on the context, the word "if" as used herein may be interpreted as "when" or "when" or "in response to a determination."
在本发明的描述中,需要理解的是,术语“纵向”、“横向”、“上”、“下”、“前”、“后”、“左”、“右”、“竖直”、“水平”、“顶”、“底”“内”、“外”等指示的方位或位置关系为基于附图所示的方位或位置关系,仅是为了便于描述本发明和简化描述,而不是指示或暗示所指的装置或元件必须具有特定的方位、以特定的方位构造和操作,因此不能理解为对本发明的限制。In the description of the present invention, it is to be understood that the terms "longitudinal", "transverse", "upper", "lower", "front", "rear", "left", "right", "vertical", The orientation or positional relationship of the indications of "horizontal", "top", "bottom", "inside", "outside", etc. is based on the orientation or positional relationship shown in the drawings, only for the convenience of describing the present invention and simplifying the description, rather than It is to be understood that the device or elements referred to have a particular orientation, are constructed and operated in a particular orientation and are therefore not to be construed as limiting.
参阅图1-5,为符合本发明一优选实施例中的流程示意图,该方法包括:Referring to Figures 1-5, a flow diagram consistent with a preferred embodiment of the present invention includes:
步骤101:监测所述智能设备的计步功能统计的当前步数以及一计步时长,在所述计步时长达到一时长阈值且所述计步功能统计的当前步数小于一预设步数阈值时,生成一中断指令;Step 101: Monitor the current step count of the step counting function of the smart device and a step time, when the step time reaches a duration threshold and the current step count of the step function is less than a preset step An threshold is generated to generate an interrupt instruction;
于所述智能设备内存储并维护至少一组所述时长阈值和所述预设步数阈值;Storing and maintaining at least one set of the duration threshold and the preset step threshold in the smart device;
具体地,上述时长阈值和预设步数阈值包括但不限于,例如:启动计步功能后1分钟内,启动计步功能后2分钟内,或者,100单位步数,200单位步数,能够但不限于使用可以通过预先配置一个时长阈值和预设步数阈值的集合来保存该时长阈值和预设步数阈值,通过该时长阈值和预设步数阈值能够获取时长阈值和预设步数阈值的具体信息。使预时长阈值和预设步数阈值相对应的,例如:启动计步功能后1分钟内和100单位步数,或者,启动计步功能后2分钟内和200单位步数等。Specifically, the foregoing duration threshold and the preset step threshold include, but are not limited to, for example, within 1 minute after the step function is started, within 2 minutes after the step function is started, or 100 units of steps, 200 units of steps, However, the duration threshold and the preset step threshold may be saved by using a preset set of a duration threshold and a preset step threshold, and the duration threshold and the preset step threshold may be used to obtain the duration threshold and the preset step threshold. Specific information about the threshold. The pre-time threshold is matched with the preset step threshold, for example, within 1 minute and 100 unit steps after the step function is started, or within 2 minutes and 200 unit steps after the step function is started.
智能设备的存储设备,是如硬盘、闪存等非易失性的存储装置。在存储模块中存储各种程序,包括与控制信息处理装置有关的程序。操作显示设备(显示器和控制器的实例)设置有用作触控面板的液晶显示器。信息处理装置的用户触摸该液晶显示器以执行各种操作。以有线或无线方式与另一装置进行通信的接口。The storage device of the smart device is a non-volatile storage device such as a hard disk or a flash memory. Various programs are stored in the storage module, including programs related to the control information processing device. An operation display device (an example of a display and a controller) is provided with a liquid crystal display functioning as a touch panel. A user of the information processing device touches the liquid crystal display to perform various operations. An interface that communicates with another device, either wired or wirelessly.
存储设备包括包含关系存储区域和对应关系存储区域。在包含关系存储区域中存储表明数据类型之间的包含关系的信息(以下称为“包含关系信息”),可以是表示预时长阈值和预设步数阈值之间关系组合的数据类型。The storage device includes a relation storage area and a corresponding relationship storage area. The information indicating the inclusion relationship between the data types (hereinafter referred to as "including relationship information") is stored in the inclusion relationship storage area, and may be a data type indicating a combination of the relationship between the pre-time threshold and the preset step threshold.
启动所述计步功能后,当所述计步时长达到所述时长阈值且所述计步功能统计的当前步数小于所述预设步数阈值时,生成所述中断指令;After the step counting function is started, when the step duration reaches the duration threshold and the current step count of the step function is less than the preset step threshold, the interrupt instruction is generated;
具体地,计步时长是指当下的时间启动计步功能后经过的时间。计步时长是基于智能设备的内置时钟功能实现的对一个时间点开始计算经过时间的集合,比如要达成成功 获取计步时长的目的,要在内置时钟应用提供的时间记录功能里实时监测该内置时钟,在内置时钟到达指定的时刻时,即,计步时长达到时长阈值,计步功能统计的当前步数小于预设步数阈值时,生成中断指令。例如,当启动计步功能后1分钟内功能统计的当前步数小于100单位步数时,确认该计步功能处于异常状态,生成中断指令。Specifically, the step time is the time elapsed after the current time step is started. The step count is based on the built-in clock function of the smart device and starts counting the elapsed time at a point in time, for example, to achieve success. For the purpose of obtaining the step time, the built-in clock should be monitored in real time in the time recording function provided by the built-in clock application. When the built-in clock reaches the specified time, that is, the step time reaches the duration threshold, and the current step count of the step function is counted. An interrupt instruction is generated when the threshold is less than the preset step. For example, when the current step count of the function statistics is less than 100 unit steps within 1 minute after the step counting function is started, it is confirmed that the step counting function is in an abnormal state, and an interrupt command is generated.
步骤102:获取所述计步功能向所述智能设备上报的所述中断指令,根据所述中断指令执行启动检测功能;Step 102: Acquire the interrupt instruction reported by the step counting function to the smart device, and perform a startup detection function according to the interrupt instruction.
所述智能设备监测所述计步功能是否产生所述中断指令;The smart device monitors whether the step counting function generates the interrupt instruction;
具体地,若检测到并确认该计步功能处于异常状态,则生成中断指令,终端中相应的处理器在检测到该中断指令之后针对该中断指令进行处理,例如,去获取计步功能中统计的步数或者发生指令使得计步功能将统计的步数进行上报或者根据中断指令唤醒系统或唤醒相应的应用进行相关的操作。Specifically, if it is detected and confirmed that the step counting function is in an abnormal state, an interrupt instruction is generated, and the corresponding processor in the terminal processes the interrupt instruction after detecting the interrupt instruction, for example, to obtain statistics in the step counting function. The number of steps or the occurrence of the instruction causes the step counting function to report the number of steps or to wake up the system according to the interrupt instruction or wake up the corresponding application for related operations.
当所述智能设备接收到所述中断指令后,基于所述中断指令执行启动所述检测功能;After the smart device receives the interrupt instruction, performing the detecting function according to the interrupt instruction;
具体地,在本实施例中,在检测到计步功能上报的中断指令之后,根据该中断指令唤醒系统,也即唤醒了与计步功能对应的检测功能的进程,例如,GPS功能检测,网络功能检测,计步功能的硬件装置检测。Specifically, in this embodiment, after detecting the interrupt instruction reported by the step counting function, the system is woken up according to the interrupt instruction, that is, the process of the detection function corresponding to the step counting function is awakened, for example, GPS function detection, network Function detection, hardware device detection of the step counter function.
步骤103:基于所述检测功能依次检测并获取包括所述智能设备的GPS功能、网络功能或所述计步功能的硬件装置的状态信息;Step 103: sequentially detect and acquire status information of a hardware device including a GPS function, a network function, or the step counting function of the smart device based on the detecting function.
所述检测功能依次向所述智能设备的GPS功能、网络功能或所述计步功能的硬件装置发送一检测指令并接收所述检测指令的返回指令;The detecting function sequentially sends a detection instruction to the hardware function of the smart device, the network function or the hardware function of the step counting function, and receives a return instruction of the detection instruction;
基于所述返回指令获取包括所述GPS功能未开启,所述网络功能达到流量限制或所述计步功能的硬件故障的所述状态信息;Acquiring, according to the return instruction, the state information including a hardware failure that the GPS function is not turned on, the network function reaches a traffic limit or the step counting function;
具体地,检测功能在检测到异常之后,会经由驱动层上报,一般来讲,检测功能上报异常的频率可以是每一次检测到异常更新之后均生成相应的中断指令,然后智能设备在检测到中断指令之后,获取检测功能上报的异常,或者,为了节省智能设备的功耗,还可以在智能设备中设置一个定时器,定时上报检测功能在检测到的异常,与就是说,并不是检测功能每检测到异常更新都将新的异常进行上报,而是定时的向驱动层发送相应的异常信息的更新。还或者,在接收到获取异常对应的检测指令的返回指令之后,由检测功能将相应的异常包含在返回指令消息,即状态信息中上报。例如GPS功能未开启、网络功能达到流量限制、计步功能的硬件故障等装置获取到的数据都是经由驱动层上报给框架层,然后上报到应用层,从而使得在应用层的相关的应用获取到相应的返回指令 消息,即状态信息。Specifically, after detecting the abnormality, the detection function is reported by the driver layer. Generally speaking, the frequency at which the detection function reports the abnormality may be that each time an abnormal update is detected, a corresponding interrupt instruction is generated, and then the smart device detects the interruption. After the instruction, the abnormality reported by the detection function is acquired, or, in order to save the power consumption of the smart device, a timer may be set in the smart device, and the abnormality detected in the detection function is periodically reported, that is, not the detection function. When an abnormal update is detected, a new abnormality is reported, and the update of the corresponding abnormal information is periodically sent to the driver layer. Alternatively, after receiving the return instruction of the detection instruction corresponding to the abnormality, the detection function includes the corresponding abnormality in the return instruction message, that is, the status information. For example, the data acquired by the device such as the GPS function is not enabled, the network function reaches the flow limit, and the hardware function of the step function is reported to the framework layer via the driver layer, and then reported to the application layer, so that the related application at the application layer is obtained. To the corresponding return instruction Message, status information.
步骤104:分析所述状态信息生成一基于所述状态信息的所述计步功能的解决方案;Step 104: Analyze the state information to generate a solution based on the step counting function of the state information;
基于所述状态信息获取所述状态信息对应的GPS功能、网络功能或所述计步功能的硬件装置的运行参数;Acquiring, according to the state information, an operating parameter of a GPS function, a network function, or a hardware device of the step counting function corresponding to the state information;
分析所述运行参数,生成关于所述GPS功能、网络功能或所述计步功能的硬件装置的所述解决方案;Analyzing the operating parameters to generate the solution for the hardware device of the GPS function, the network function, or the step counting function;
具体地,基于状态消息,得出解决方案。例如,针对GPS功能,如拆除智能设备外壳(裸机打开GPS开关在户外测试)、设置定位为精准,重启智能设备,选择其他时间段或选择其他位置测试,如果上述办法都排除后手机确实无法定位,推荐备份个人资料,恢复出厂设置一次或刷其他版本的操作系统测试;由于安装的程序及设置不同,也会导致部分GPS无法定位等问题,也不排除部分用户禁止了获取GPS的权限的可能性。Specifically, based on the status message, a solution is derived. For example, for GPS functions, such as removing the smart device casing (bare metal open GPS switch for outdoor testing), setting the positioning to be accurate, restarting the smart device, selecting other time periods or selecting other location tests, if the above methods are excluded, the mobile phone can not be located. It is recommended to back up your personal data, restore the factory settings once or brush other versions of the operating system test; due to different installation procedures and settings, some GPS can not be located and other issues, and some users are prohibited from obtaining the permission of GPS. Sex.
针对网络功能故障,能够包括但不限于,智能设备USB转RJ45数据线的方式通过智能设备的应用调用USB接口完成网络测试功能(主要是对ping命令的调用)由于现有的USB转RJ45转接线只支持对台式电脑系统的支持,因此需要独立使用一条转接线通过上述应用调用网络测试功能实现对测试智能设备的网络功能的检测。智能手机+WLAN(无线路由器)的方式通过该方式,在智能设备的应用实现对智能设备网络状态的检查工作,无论是移动互联网还是WLAN网络均可以。(本应用只限于打开WLAN状态下测试网络)。为WLAN(无线路由器)配置独立的IP地址。由于WLAN(无线路由器)被用作网络维护工具的一部分,因此需要对该无线路由器的IP地址进行统一规划,确保测试电路两端的IP地址在同一网段内即可。在智能设备上建立与测试端WLAN的无线连接即可。输入对方WLAN(无线路由器)地址,开始运行即可测试网络状态。For network function failure, it can include, but is not limited to, the way that the smart device USB to RJ45 data line is completed by the application of the smart device to call the USB interface to complete the network test function (mainly the call to the ping command) due to the existing USB to RJ45 adapter cable Only support for desktop computer systems is supported. Therefore, it is necessary to independently use a patch cord to call the network test function to detect the network function of the test smart device. In this way, the smart phone + WLAN (wireless router) mode can be used to check the status of the smart device network in the application of the smart device, whether it is a mobile Internet or a WLAN network. (This application is limited to testing the network under WLAN conditions). Configure a separate IP address for the WLAN (wireless router). Since the WLAN (wireless router) is used as part of the network maintenance tool, the IP address of the wireless router needs to be uniformly planned to ensure that the IP addresses at both ends of the test circuit are in the same network segment. A wireless connection to the test terminal WLAN can be established on the smart device. Enter the WLAN (wireless router) address of the other party and start running to test the network status.
当排除了GPS功能、网络功能的故障后,提示用户智能设备的计步功能发生异常,可以通过但不限于重新安装该计步功能来解决异常。也可能是智能设备内的3轴加速度传感器出现故障,这时,提示计步功能的硬件故障。When the fault of the GPS function or the network function is excluded, the user's step counting function of the smart device is prompted to be abnormal, and the abnormality can be solved by, but not limited to, reinstalling the step counting function. It is also possible that the 3-axis acceleration sensor in the smart device has failed, and the hardware failure of the step counting function is prompted.
现在将参考附图描述实现本发明各个实施例的智能设备。在后续的描述中,使用用于表示元件的诸如“模块”、“部件”或“单元”的后缀仅为了有利于本发明的说明,其本身并没有特定的意义。因此,“模块”与“部件”可以混合地使用。A smart device embodying various embodiments of the present invention will now be described with reference to the accompanying drawings. In the following description, the use of suffixes such as "module", "component" or "unit" for indicating an element is merely an explanation for facilitating the present invention, and does not have a specific meaning per se. Therefore, "module" and "component" can be used in combination.
在本发明的描述中,除非另有规定和限定,需要说明的是,术语“安装”、“相连”、“连接”应做广义理解,例如,可以是机械连接或电连接,也可以是两个元件内部的连通,可以是直接相连,也可以通过中间媒介间接相连,对于本领域的普通技术人员而言, 可以根据具体情况理解上述术语的具体含义。In the description of the present invention, unless otherwise specified and limited, it should be noted that the terms "mounted", "connected", and "connected" are to be understood broadly, and may be, for example, mechanical or electrical, or both. The internal connections of the components may be directly connected or indirectly connected through an intermediate medium, as will be apparent to those of ordinary skill in the art. The specific meaning of the above terms can be understood on a case-by-case basis.
参阅图6-10,为符合本发明装置,可以通过一检测装置10实现,在该装置内,包括:监测模块11、启动模块12、检测模块13、分析模块14;Referring to FIG. 6-10, the device according to the present invention can be implemented by a detecting device 10, and includes: a monitoring module 11, a starting module 12, a detecting module 13, and an analyzing module 14;
监测模块11,用于监测所述智能设备的计步功能统计的当前步数以及一计步时长,在所述计步时长达到一时长阈值且所述计步功能统计的当前步数小于一预设步数阈值时,生成一中断指令;The monitoring module 11 is configured to monitor a current step number of the step counting function of the smart device and a step length, where the step time reaches a duration threshold and the current step count of the step function is less than a pre-step When the step threshold is set, an interrupt instruction is generated;
存储单元,用于于所述智能设备内存储并维护至少一组所述时长阈值和所述预设步数阈值;a storage unit, configured to store and maintain at least one set of the duration threshold and the preset step threshold in the smart device;
具体地,上述时长阈值和预设步数阈值包括但不限于,例如:启动计步功能后1分钟内,启动计步功能后2分钟内,或者,100单位步数,200单位步数,能够但不限于使用可以通过预先配置一个时长阈值和预设步数阈值的集合来保存该时长阈值和预设步数阈值,通过该时长阈值和预设步数阈值能够获取时长阈值和预设步数阈值的具体信息。使预时长阈值和预设步数阈值相对应的,例如:启动计步功能后1分钟内和100单位步数,或者,启动计步功能后2分钟内和200单位步数等。Specifically, the foregoing duration threshold and the preset step threshold include, but are not limited to, for example, within 1 minute after the step function is started, within 2 minutes after the step function is started, or 100 units of steps, 200 units of steps, However, the duration threshold and the preset step threshold may be saved by using a preset set of a duration threshold and a preset step threshold, and the duration threshold and the preset step threshold may be used to obtain the duration threshold and the preset step threshold. Specific information about the threshold. The pre-time threshold is matched with the preset step threshold, for example, within 1 minute and 100 unit steps after the step function is started, or within 2 minutes and 200 unit steps after the step function is started.
智能设备的存储设备,是如硬盘、闪存等非易失性的存储装置。在存储模块中存储各种程序,包括与控制信息处理装置有关的程序。操作显示设备(显示器和控制器的实例)设置有用作触控面板的液晶显示器。信息处理装置的用户触摸该液晶显示器以执行各种操作。以有线或无线方式与另一装置进行通信的接口。The storage device of the smart device is a non-volatile storage device such as a hard disk or a flash memory. Various programs are stored in the storage module, including programs related to the control information processing device. An operation display device (an example of a display and a controller) is provided with a liquid crystal display functioning as a touch panel. A user of the information processing device touches the liquid crystal display to perform various operations. An interface that communicates with another device, either wired or wirelessly.
存储设备包括包含关系存储区域和对应关系存储区域。在包含关系存储区域中存储表明数据类型之间的包含关系的信息(以下称为“包含关系信息”),可以是表示预时长阈值和预设步数阈值之间关系组合的数据类型。The storage device includes a relation storage area and a corresponding relationship storage area. The information indicating the inclusion relationship between the data types (hereinafter referred to as "including relationship information") is stored in the inclusion relationship storage area, and may be a data type indicating a combination of the relationship between the pre-time threshold and the preset step threshold.
指令单元,与所述存储单元通讯连接,用于启动所述计步功能后,当所述计步时长达到所述时长阈值且所述计步功能统计的当前步数小于所述预设步数阈值时,生成所述中断指令;An instruction unit, configured to communicate with the storage unit, after the step counting function is started, when the step time reaches the duration threshold and the current step count of the step function is less than the preset step The threshold is generated, the interrupt instruction is generated;
具体地,计步时长是指当下的时间启动计步功能后经过的时间。计步时长是基于智能设备的内置时钟功能实现的对一个时间点开始计算经过时间的集合,比如要达成成功获取计步时长的目的,要在内置时钟应用提供的时间记录功能里实时监测该内置时钟,在内置时钟到达指定的时刻时,即,计步时长达到时长阈值,计步功能统计的当前步数小于预设步数阈值时,生成中断指令。例如,当启动计步功能后1分钟内功能统计的当前步数小于100单位步数时,确认该计步功能处于异常状态,生成中断指令。 Specifically, the step time is the time elapsed after the current time step is started. The step counting time is based on the built-in clock function of the smart device to calculate the elapsed time from a point in time. For example, to achieve the purpose of successfully obtaining the step counting time, the built-in clock application provides a time recording function to monitor the built-in time. The clock generates an interrupt command when the built-in clock reaches the specified time, that is, the step time reaches the duration threshold, and the current step count of the step function is less than the preset step threshold. For example, when the current step count of the function statistics is less than 100 unit steps within 1 minute after the step counting function is started, it is confirmed that the step counting function is in an abnormal state, and an interrupt command is generated.
启动模块12,与所述监测模块通讯连接,用于获取所述计步功能向所述智能设备上报的所述中断指令,根据所述中断指令执行启动检测功能;The startup module 12 is configured to be in communication with the monitoring module, configured to acquire the interrupt instruction reported by the step counting function to the smart device, and perform a startup detection function according to the interrupt instruction;
监测单元,用于所述智能设备监测所述计步功能是否产生所述中断指令;a monitoring unit, configured to monitor, by the smart device, whether the step counting function generates the interrupt instruction;
具体地,若检测到并确认该计步功能处于异常状态,则生成中断指令,终端中相应的处理器在检测到该中断指令之后针对该中断指令进行处理,例如,去获取计步功能中统计的步数或者发生指令使得计步功能将统计的步数进行上报或者根据中断指令唤醒系统或唤醒相应的应用进行相关的操作。Specifically, if it is detected and confirmed that the step counting function is in an abnormal state, an interrupt instruction is generated, and the corresponding processor in the terminal processes the interrupt instruction after detecting the interrupt instruction, for example, to obtain statistics in the step counting function. The number of steps or the occurrence of the instruction causes the step counting function to report the number of steps or to wake up the system according to the interrupt instruction or wake up the corresponding application for related operations.
启动单元,与所述监测单元通讯连接,用于当所述智能设备接收到所述中断指令后,基于所述中断指令执行启动所述检测功能;a startup unit, configured to be in communication with the monitoring unit, configured to: when the smart device receives the interrupt instruction, perform the detecting function according to the interrupt instruction;
具体地,在本实施例中,在检测到计步功能上报的中断指令之后,根据该中断指令唤醒系统,也即唤醒了与计步功能对应的检测功能的进程,例如,GPS功能检测,网络功能检测,计步功能的硬件装置检测。Specifically, in this embodiment, after detecting the interrupt instruction reported by the step counting function, the system is woken up according to the interrupt instruction, that is, the process of the detection function corresponding to the step counting function is awakened, for example, GPS function detection, network Function detection, hardware device detection of the step counter function.
检测模块13,与所述启动模块通讯连接,用于基于所述检测功能依次检测并获取包括所述智能设备的GPS功能、网络功能或所述计步功能的硬件装置的状态信息;The detecting module 13 is in communication with the startup module, and is configured to sequentially detect and acquire state information of a hardware device including a GPS function, a network function, or the step counting function of the smart device based on the detecting function;
检测单元,用于所述检测功能依次向所述智能设备的GPS功能、网络功能或所述计步功能的硬件装置发送一检测指令并接收所述检测指令的返回指令;a detecting unit, configured to send, by the detecting function, a detection instruction to the hardware function of the smart device, the network function or the hardware function of the step counting function, and receive a return instruction of the detection instruction;
获取单元,与所述检测单元通讯连接,用于基于所述返回指令获取包括所述GPS功能未开启,所述网络功能达到流量限制或所述计步功能的硬件故障的所述状态信息;An obtaining unit, configured to be in communication with the detecting unit, configured to acquire, according to the returning instruction, the status information that includes a hardware fault that the GPS function is not enabled, and the network function reaches a traffic limit or the step counting function;
具体地,检测功能在检测到异常之后,会经由驱动层上报,一般来讲,检测功能上报异常的频率可以是每一次检测到异常更新之后均生成相应的中断指令,然后智能设备在检测到中断指令之后,获取检测功能上报的异常,或者,为了节省智能设备的功耗,还可以在智能设备中设置一个定时器,定时上报检测功能在检测到的异常,与就是说,并不是检测功能每检测到异常更新都将新的异常进行上报,而是定时的向驱动层发送相应的异常信息的更新。还或者,在接收到获取异常对应的检测指令的返回指令之后,由检测功能将相应的异常包含在返回指令消息,即状态信息中上报。例如GPS功能未开启、网络功能达到流量限制、计步功能的硬件故障等装置获取到的数据都是经由驱动层上报给框架层,然后上报到应用层,从而使得在应用层的相关的应用获取到相应的返回指令消息,即状态信息。Specifically, after detecting the abnormality, the detection function is reported by the driver layer. Generally speaking, the frequency at which the detection function reports the abnormality may be that each time an abnormal update is detected, a corresponding interrupt instruction is generated, and then the smart device detects the interruption. After the instruction, the abnormality reported by the detection function is acquired, or, in order to save the power consumption of the smart device, a timer may be set in the smart device, and the abnormality detected in the detection function is periodically reported, that is, not the detection function. When an abnormal update is detected, a new abnormality is reported, and the update of the corresponding abnormal information is periodically sent to the driver layer. Alternatively, after receiving the return instruction of the detection instruction corresponding to the abnormality, the detection function includes the corresponding abnormality in the return instruction message, that is, the status information. For example, the data acquired by the device such as the GPS function is not enabled, the network function reaches the flow limit, and the hardware function of the step function is reported to the framework layer via the driver layer, and then reported to the application layer, so that the related application at the application layer is obtained. Go to the corresponding return instruction message, ie status information.
分析模块14,与所述检测模块通讯连接,用于分析所述状态信息生成一基于所述状态信息的所述计步功能的解决方案; The analysis module 14 is in communication with the detection module, and is configured to analyze the state information to generate a solution based on the step function of the state information;
参数单元,用于基于所述状态信息获取所述状态信息对应的GPS功能、网络功能或所述计步功能的硬件装置的运行参数;a parameter unit, configured to acquire, according to the state information, an operating parameter of a GPS function, a network function, or a hardware device of the step counting function corresponding to the state information;
分析单元,与所述参数单元通讯连接,用于分析所述运行参数,生成关于所述GPS功能、网络功能或所述计步功能的硬件装置的所述解决方案;An analysis unit, in communication with the parameter unit, for analyzing the operating parameter, generating the solution for the hardware device of the GPS function, the network function or the step counting function;
具体地,基于状态消息,得出解决方案。例如,针对GPS功能,如拆除智能设备外壳(裸机打开GPS开关在户外测试)、设置定位为精准,重启智能设备,选择其他时间段或选择其他位置测试,如果上述办法都排除后手机确实无法定位,推荐备份个人资料,恢复出厂设置一次或刷其他版本的操作系统测试;由于安装的程序及设置不同,也会导致部分GPS无法定位等问题,也不排除部分用户禁止了获取GPS的权限的可能性。Specifically, based on the status message, a solution is derived. For example, for GPS functions, such as removing the smart device casing (bare metal open GPS switch for outdoor testing), setting the positioning to be accurate, restarting the smart device, selecting other time periods or selecting other location tests, if the above methods are excluded, the mobile phone can not be located. It is recommended to back up your personal data, restore the factory settings once or brush other versions of the operating system test; due to different installation procedures and settings, some GPS can not be located and other issues, and some users are prohibited from obtaining the permission of GPS. Sex.
针对网络功能故障,能够包括但不限于,智能设备USB转RJ45数据线的方式通过智能设备的应用调用USB接口完成网络测试功能(主要是对ping命令的调用)由于现有的USB转RJ45转接线只支持对台式电脑系统的支持,因此需要独立使用一条转接线通过上述应用调用网络测试功能实现对测试智能设备的网络功能的检测。智能手机+WLAN(无线路由器)的方式通过该方式,在智能设备的应用实现对智能设备网络状态的检查工作,无论是移动互联网还是WLAN网络均可以。(本应用只限于打开WLAN状态下测试网络)。为WLAN(无线路由器)配置独立的IP地址。由于WLAN(无线路由器)被用作网络维护工具的一部分,因此需要对该无线路由器的IP地址进行统一规划,确保测试电路两端的IP地址在同一网段内即可。在智能设备上建立与测试端WLAN的无线连接即可。输入对方WLAN(无线路由器)地址,开始运行即可测试网络状态。For network function failure, it can include, but is not limited to, the way that the smart device USB to RJ45 data line is completed by the application of the smart device to call the USB interface to complete the network test function (mainly the call to the ping command) due to the existing USB to RJ45 adapter cable Only support for desktop computer systems is supported. Therefore, it is necessary to independently use a patch cord to call the network test function to detect the network function of the test smart device. In this way, the smart phone + WLAN (wireless router) mode can be used to check the status of the smart device network in the application of the smart device, whether it is a mobile Internet or a WLAN network. (This application is limited to testing the network under WLAN conditions). Configure a separate IP address for the WLAN (wireless router). Since the WLAN (wireless router) is used as part of the network maintenance tool, the IP address of the wireless router needs to be uniformly planned to ensure that the IP addresses at both ends of the test circuit are in the same network segment. A wireless connection to the test terminal WLAN can be established on the smart device. Enter the WLAN (wireless router) address of the other party and start running to test the network status.
当排除了GPS功能、网络功能的故障后,提示用户智能设备的计步功能发生异常,可以通过但不限于重新安装该计步功能来解决异常。也可能是智能设备内的3轴加速度传感器出现故障,这时,提示计步功能的硬件故障。When the fault of the GPS function or the network function is excluded, the user's step counting function of the smart device is prompted to be abnormal, and the abnormality can be solved by, but not limited to, reinstalling the step counting function. It is also possible that the 3-axis acceleration sensor in the smart device has failed, and the hardware failure of the step counting function is prompted.
此外,本发明实施例还提供一种计算机可读存储介质,其内存储有计算机可执行指令,上述的计算机可读存储介质例如为非易失性存储器例如光盘、硬盘、或者闪存。上述的计算机可执行指令用于让计算机或者类似的运算装置完成上述的用于智能设备的计步功能的检测方法中的各种操作。In addition, an embodiment of the present invention further provides a computer readable storage medium having stored therein computer executable instructions, such as a non-volatile memory such as an optical disk, a hard disk, or a flash memory. The above computer executable instructions are for causing a computer or the like to perform various operations in the above-described detection method for the step counting function of the smart device.
本技术领域技术人员可以理解,本发明包括涉及用于执行本申请中所述操作中的一项或多项的设备。这些设备可以为所需的目的而专门设计和制造,或者也可以包括通用计算机中的己知设备。这些设备具有存储在其内的计算机程序,这些计算机程序选择性地激活或重构。这样的计算机程序可以被存储在设备(例如,计算机)可读介质中或者存储 在适于存储电子指令并分别藕联到总线的任何类型的介质中,所述计算机可读介质包括但不限于任何类型的盘(包括软盘、硬盘、光盘、CD-ROM、和磁光盘),ROM(Read-Only Memory,只读存储器),RAM(Random Access Memory,随即存储器),EPROM(Erasable Programmable Read-Only Memory,可擦写可编程只读存储器),EEPROM(Electrically Erasable Programmable Read-Only Memory,电可擦可编程只读存储器)、闪存、磁性卡片或光线卡片。也就是,可读介质包括由设备(例如,计算机)以能够读的形式存储或传输信息的任何介质。Those skilled in the art will appreciate that the present invention includes apparatus related to performing one or more of the operations described herein. These devices may be specially designed and manufactured for the required purposes, or may also include known devices in a general purpose computer. These devices have computer programs stored therein that are selectively activated or reconfigured. Such a computer program can be stored in a device (eg, computer) readable medium or stored In any type of medium suitable for storing electronic instructions and separately coupled to a bus, the computer readable medium includes, but is not limited to, any type of disk (including floppy disks, hard disks, optical disks, CD-ROMs, and magneto-optical disks), ROM (Read-Only Memory), RAM (Random Access Memory), EPROM (Erasable Programmable Read-Only Memory), EEPROM (Electrically Erasable Programmable Read-Only Memory) , electrically erasable programmable read only memory), flash memory, magnetic card or light card. That is, a readable medium includes any medium that is stored or transmitted by a device (eg, a computer) in a readable form.
在本说明书的描述中,参考术语“一个实施例”、“一些实施例”、“示例”、“具体示例”、或“一些示例”等的描述意指结合该实施例或示例描述的具体特征、结构、材料或者特点包含于本发明的至少一个实施例或示例中。在本说明书中,对上述术语的示意性表述不一定指的是相同的实施例或示例。而且,描述的具体特征、结构、材料或者特点可以在任何的一个或多个实施例或示例中以合适的方式结合。In the description of the present specification, the description with reference to the terms "one embodiment", "some embodiments", "example", "specific example", or "some examples" and the like means a specific feature described in connection with the embodiment or example. A structure, material or feature is included in at least one embodiment or example of the invention. In the present specification, the schematic representation of the above terms does not necessarily mean the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in a suitable manner in any one or more embodiments or examples.
应当注意的是,本发明的实施例有较佳的实施性,且并非对本发明作任何形式的限制,任何熟悉该领域的技术人员可能利用上述揭示的技术内容变更或修饰为等同的有效实施例,但凡未脱离本发明技术方案的内容,依据本发明的技术实质对以上实施例所作的任何修改或等同变化及修饰,均仍属于本发明技术方案的范围内。 It should be noted that the embodiments of the present invention are preferred embodiments, and are not intended to limit the scope of the present invention. Any one skilled in the art may use the above-disclosed technical contents to change or modify the equivalent embodiments. Any modification or equivalent changes and modifications of the above embodiments in accordance with the technical spirit of the present invention are still within the scope of the technical solutions of the present invention.

Claims (10)

  1. 一种用于智能设备的计步功能的检测方法,其特征在于,所述检测方法包括:A method for detecting a step counting function of a smart device, wherein the detecting method comprises:
    监测所述智能设备的计步功能统计的当前步数以及一计步时长,在所述计步时长达到一时长阈值且所述计步功能统计的当前步数小于一预设步数阈值时,生成一中断指令;Monitoring a current step count of the step counting function of the smart device and a step time length, when the step time reaches a one-time threshold and the current step count of the step function is less than a preset step threshold, Generating an interrupt instruction;
    获取所述计步功能向所述智能设备上报的所述中断指令,根据所述中断指令执行启动检测功能;Acquiring the interrupt instruction reported by the step counting function to the smart device, and performing a startup detection function according to the interrupt instruction;
    基于所述检测功能依次检测并获取包括所述智能设备的GPS功能、网络功能或所述计步功能的硬件装置的状态信息;And sequentially detecting and acquiring state information of a hardware device including a GPS function, a network function, or the step counting function of the smart device based on the detecting function;
    分析所述状态信息生成一基于所述状态信息的所述计步功能的解决方案。Analyzing the status information generates a solution based on the step counting function of the status information.
  2. 如权利要求1所述的检测方法,其特征在于,监测所述智能设备的计步功能统计的当前步数以及一计步时长,在所述计步时长达到一时长阈值且所述计步功能统计的当前步数小于一预设步数阈值时,生成一中断指令,包括:The detecting method according to claim 1, wherein the current step number of the step counting function of the smart device and a step length are monitored, and the step time reaches a one-time threshold and the step function is When the current number of steps of the statistics is less than a preset step threshold, an interrupt instruction is generated, including:
    于所述智能设备内存储并维护至少一组所述时长阈值和所述预设步数阈值;Storing and maintaining at least one set of the duration threshold and the preset step threshold in the smart device;
    启动所述计步功能后,当所述计步时长达到所述时长阈值且所述计步功能统计的当前步数小于所述预设步数阈值时,生成所述中断指令。After the step counting function is started, the interrupt instruction is generated when the step time reaches the duration threshold and the current step count of the step function is less than the preset step threshold.
  3. 如权利要求1所述的检测方法,其特征在于,获取所述计步功能向所述智能设备上报的所述中断指令,根据所述中断指令执行启动检测功能,包括:The detecting method according to claim 1, wherein the acquiring the interrupt instruction reported by the step counting function to the smart device, and performing the startup detecting function according to the interrupt instruction comprises:
    所述智能设备监测所述计步功能是否产生所述中断指令;The smart device monitors whether the step counting function generates the interrupt instruction;
    当所述智能设备接收到所述中断指令后,基于所述中断指令执行启动所述检测功能。After the smart device receives the interrupt instruction, performing the detecting function based on the interrupt instruction.
  4. 如权利要求1所述的检测方法,其特征在于,基于所述检测功能依次检测并获取包括所述智能设备的GPS功能、网络功能或所述计步功能的硬件装置的状态信息,包括:The detecting method according to claim 1, wherein the status information of the hardware device including the GPS function, the network function or the step counting function of the smart device is sequentially detected and acquired based on the detecting function, and includes:
    所述检测功能依次向所述智能设备的GPS功能、网络功能或所述计步功能的硬件装置发送一检测指令并接收所述检测指令的返回指令;The detecting function sequentially sends a detection instruction to the hardware function of the smart device, the network function or the hardware function of the step counting function, and receives a return instruction of the detection instruction;
    基于所述返回指令获取包括所述GPS功能未开启,所述网络功能达到流量限制或所述计步功能的硬件故障的所述状态信息。And obtaining, according to the return instruction, the status information including a hardware failure that the GPS function is not turned on, the network function reaches a traffic limit or the step counting function.
  5. 如权利要求1所述的检测方法,其特征在于,分析所述状态信息生成一基于所述状态信息的所述计步功能的解决方案,包括: The detecting method according to claim 1, wherein the analyzing the state information to generate a solution based on the step counting function of the state information comprises:
    基于所述状态信息获取所述状态信息对应的GPS功能、网络功能或所述计步功能的硬件装置的运行参数;Acquiring, according to the state information, an operating parameter of a GPS function, a network function, or a hardware device of the step counting function corresponding to the state information;
    分析所述运行参数,生成关于所述GPS功能、网络功能或所述计步功能的硬件装置的所述解决方案。The operating parameters are analyzed to generate the solution for the hardware device of the GPS function, network function or the step counter function.
  6. 一种用于智能设备的计步功能的检测装置,其特征在于,所述检测装置包括:监测模块,启动模块,检测模块,分析模块,其中,A detecting device for a step counting function of a smart device, wherein the detecting device comprises: a monitoring module, a starting module, a detecting module, and an analyzing module, wherein
    所述监测模块,用于监测所述智能设备的计步功能统计的当前步数以及一计步时长,在所述计步时长达到一时长阈值且所述计步功能统计的当前步数小于一预设步数阈值时,生成一中断指令;The monitoring module is configured to monitor a current step number of the step counting function of the smart device and a step length, where the step time reaches a one-time threshold and the current step count of the step function is less than one When an initial step threshold is preset, an interrupt instruction is generated;
    所述启动模块,与所述监测模块通讯连接,用于获取所述计步功能向所述智能设备上报的所述中断指令,根据所述中断指令执行启动检测功能;The startup module is configured to be in communication with the monitoring module, configured to acquire the interrupt instruction reported by the step counting function to the smart device, and perform a startup detection function according to the interrupt instruction;
    所述检测模块,与所述启动模块通讯连接,用于基于所述检测功能依次检测并获取包括所述智能设备的GPS功能、网络功能或所述计步功能的硬件装置的状态信息;The detecting module is connected to the startup module, and is configured to sequentially detect and acquire status information of a hardware device including a GPS function, a network function, or the step counting function of the smart device based on the detecting function;
    所述分析模块,与所述检测模块通讯连接,用于分析所述状态信息生成一基于所述状态信息的所述计步功能的解决方案。The analysis module is in communication with the detection module, and is configured to analyze the state information to generate a solution based on the step function of the state information.
  7. 如权利要求6所述的检测装置,其特征在于,所述监测模块,包括:The detecting device according to claim 6, wherein the monitoring module comprises:
    存储单元,用于于所述智能设备内存储并维护至少一组所述时长阈值和所述预设步数阈值;a storage unit, configured to store and maintain at least one set of the duration threshold and the preset step threshold in the smart device;
    指令单元,与所述存储单元通讯连接,用于启动所述计步功能后,当所述计步时长达到所述时长阈值且所述计步功能统计的当前步数小于所述预设步数阈值时,生成所述中断指令。An instruction unit, configured to communicate with the storage unit, after the step counting function is started, when the step time reaches the duration threshold and the current step count of the step function is less than the preset step At the threshold, the interrupt instruction is generated.
  8. 如权利要求6所述的检测装置,其特征在于,所述启动模块,包括:The detecting device according to claim 6, wherein the startup module comprises:
    监测单元,用于所述智能设备监测所述计步功能是否产生所述中断指令;a monitoring unit, configured to monitor, by the smart device, whether the step counting function generates the interrupt instruction;
    启动单元,与所述监测单元通讯连接,用于当所述智能设备接收到所述中断指令后,基于所述中断指令执行启动所述检测功能。The startup unit is communicatively coupled to the monitoring unit, and configured to start the detecting function based on the interrupt instruction after the smart device receives the interrupt instruction.
  9. 如权利要求6所述的检测装置,其特征在于,所述检测模块,包括:The detecting device according to claim 6, wherein the detecting module comprises:
    检测单元,用于所述检测功能依次向所述智能设备的GPS功能、网络功能或所述计步功能的硬件装置发送一检测指令并接收所述检测指令的返回指令;a detecting unit, configured to send, by the detecting function, a detection instruction to the hardware function of the smart device, the network function or the hardware function of the step counting function, and receive a return instruction of the detection instruction;
    获取单元,与所述检测单元通讯连接,用于基于所述返回指令获取包括所述GPS功能未开启,所述网络功能达到流量限制或所述计步功能的硬件故障的所述状态信息。 And an acquiring unit, configured to communicate with the detecting unit, configured to acquire, according to the returning instruction, the status information that includes a hardware fault that the GPS function is not enabled, and the network function reaches a traffic limit or the step counting function.
  10. 如权利要求6所述的检测装置,其特征在于,所述分析模块,包括:The detecting device according to claim 6, wherein the analyzing module comprises:
    参数单元,用于基于所述状态信息获取所述状态信息对应的GPS功能、网络功能或所述计步功能的硬件装置的运行参数;a parameter unit, configured to acquire, according to the state information, an operating parameter of a GPS function, a network function, or a hardware device of the step counting function corresponding to the state information;
    分析单元,与所述参数单元通讯连接,用于分析所述运行参数,生成关于所述GPS功能、网络功能或所述计步功能的硬件装置的所述解决方案。 An analysis unit, in communication with the parameter unit, for analyzing the operational parameter, generating the solution for the hardware device of the GPS function, the network function or the step function.
PCT/CN2017/110223 2017-11-09 2017-11-09 Detection method and detection apparatus for step counting function of intelligent device WO2019090611A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
PCT/CN2017/110223 WO2019090611A1 (en) 2017-11-09 2017-11-09 Detection method and detection apparatus for step counting function of intelligent device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2017/110223 WO2019090611A1 (en) 2017-11-09 2017-11-09 Detection method and detection apparatus for step counting function of intelligent device

Publications (1)

Publication Number Publication Date
WO2019090611A1 true WO2019090611A1 (en) 2019-05-16

Family

ID=66437466

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/110223 WO2019090611A1 (en) 2017-11-09 2017-11-09 Detection method and detection apparatus for step counting function of intelligent device

Country Status (1)

Country Link
WO (1) WO2019090611A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113282441A (en) * 2021-07-19 2021-08-20 北京交通大学 Hardware running state data acquisition method and hardware detection equipment

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100571849B1 (en) * 2005-02-04 2006-04-17 삼성전자주식회사 Method and apparatus for counting the number of times of walking of a walker
JP5245669B2 (en) * 2008-09-18 2013-07-24 富士通モバイルコミュニケーションズ株式会社 Pedometer device
CN105651302A (en) * 2016-01-15 2016-06-08 广东欧珀移动通信有限公司 Method and device for improving step counting precision and mobile terminal
CN106123910A (en) * 2016-06-21 2016-11-16 广东欧珀移动通信有限公司 Step-recording method based on mobile terminal and step count set
CN106445715A (en) * 2016-09-13 2017-02-22 广东欧珀移动通信有限公司 Method and device for reporting pedometer messages
CN106648916A (en) * 2016-09-13 2017-05-10 广东欧珀移动通信有限公司 Pedometer message reporting method and apparatus

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100571849B1 (en) * 2005-02-04 2006-04-17 삼성전자주식회사 Method and apparatus for counting the number of times of walking of a walker
JP5245669B2 (en) * 2008-09-18 2013-07-24 富士通モバイルコミュニケーションズ株式会社 Pedometer device
CN105651302A (en) * 2016-01-15 2016-06-08 广东欧珀移动通信有限公司 Method and device for improving step counting precision and mobile terminal
CN106123910A (en) * 2016-06-21 2016-11-16 广东欧珀移动通信有限公司 Step-recording method based on mobile terminal and step count set
CN106445715A (en) * 2016-09-13 2017-02-22 广东欧珀移动通信有限公司 Method and device for reporting pedometer messages
CN106648916A (en) * 2016-09-13 2017-05-10 广东欧珀移动通信有限公司 Pedometer message reporting method and apparatus

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113282441A (en) * 2021-07-19 2021-08-20 北京交通大学 Hardware running state data acquisition method and hardware detection equipment

Similar Documents

Publication Publication Date Title
CA2906170C (en) Security system using visual floor plan
EP2901739B1 (en) Mixed off-site / on-site prediction computation for reducing wireless reconnection time of a computing device
US9167673B2 (en) Method for controlling a plurality of street lamps
US20140282048A1 (en) Security system access profiles
BR102013001964A2 (en) Telematics power standard
WO2019014981A1 (en) Positioning control method and apparatus, and positioning device
CN108706662B (en) Intelligent control method for Internet of things water purifier and computer board thereof
CN103793306A (en) Testing method and device for automatic startup and shutdown of electronic products
KR101612829B1 (en) Telematics terminal, center for preventing vehicle discharge and control method for preventing vehicle discharge the same
US9898921B2 (en) Security system installation
JP6002959B1 (en) router
CN108848516A (en) A kind of apparatus control method and system for NB-IOT terminal
WO2019090611A1 (en) Detection method and detection apparatus for step counting function of intelligent device
JP6301140B2 (en) Disaster prevention monitoring equipment management system
CN105163336B (en) Optimize the method and system of wireless network stability
JP6220176B2 (en) In-vehicle communication terminal
JP2019175500A (en) Maintenance management method of disaster prevention facility and disaster prevention monitoring facility management system
KR20160060945A (en) Telematics terminal, telematics center and control method thereof
ES2675889T3 (en) Security system with segregated operating software
US10966104B2 (en) Email synchronization method and device
CN108089936A (en) Terminal detects the method reported for repairment, mobile terminal and automatically with store function device
US11662704B1 (en) Monitoring removal of an automation control panel
US20220247621A1 (en) Method, apparatus, and system for distributed sensor monitoring and management in a system-on-chip
CN103177525A (en) System and method for warning for device monitoring
WO2019090599A1 (en) Alarm function based control method and control device for smart device

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: 17931479

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 17931479

Country of ref document: EP

Kind code of ref document: A1