Health index intelligent measurement method, device and equipment
By using the target SDK to uniformly scan and automatically identify health indicator measurement devices, the problem of connection failure caused by users manually selecting the connection method is solved. It also enables automatic identification and data recording of devices from multiple manufacturers, improving user experience and device compatibility.
Patent Information
- Application Number
- CN202310326279.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-03-30
- Publication Date
- 2025-12-16
- Estimated Expiration
- 2043-03-30
AI Technical Summary
When connecting existing smart measurement devices to health indicator measurement devices from different manufacturers, users need to manually select the connection method, which can easily lead to connection failures and a poor user experience.
The target SDK is used for unified scanning. Based on a pre-configured set of device parameters, the device for measuring current health indicators is identified and automatically connected according to its connection method, and the measurement data is recorded.
No user needs to manually select the connection method; it is compatible with health measurement devices from various manufacturers, reducing user errors, improving user experience, and increasing the success rate of device connection and the automation of data recording.
Smart Images

Figure CN116347412B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present disclosure relates to the field of smart healthcare, in particular to the field of intelligent measurement technology. BACKGROUND
[0002] Currently, an intelligent measurement device can integrate multiple health indicator measurement devices (such as a blood pressure meter, a blood glucose meter, etc.), connect with the health indicator measurement devices through Bluetooth, record the measurement data of the health indicator measurement devices, and achieve the function of automatically helping users to record health indicators.
[0003] Generally, the intelligent measurement device integrates health indicator measurement devices of multiple external manufacturers and self-connected health indicator measurement devices. The health indicator measurement devices of the external manufacturers are connected through external manufacturer SDKs (Software Development Kits). The self-connected health indicator measurement devices are connected through Bluetooth protocols. Since the connection methods of different health indicator measurement devices are different, the user needs to manually select the connection method. However, the user may not know the connection method of the currently used health indicator measurement device, and if the selection is incorrect, the connection will fail. SUMMARY
[0004] Embodiments of the present disclosure provide a health indicator intelligent measurement method, device, equipment, storage medium and program product.
[0005] In a first aspect, embodiments of the present disclosure provide a health indicator intelligent measurement method, comprising: receiving a health indicator measurement instruction; scanning surrounding Bluetooth devices based on a target software development kit (SDK), wherein the target SDK is used to uniformly scan multiple health indicator measurement devices; identifying a current health indicator measurement device from the scanned Bluetooth devices based on a pre-configured device parameter set; performing device connection based on a connection method corresponding to the current health indicator measurement device; and recording health indicator measurement data in response to receiving the health indicator measurement data synchronized to the target SDK.
[0006] In a second aspect, embodiments of the present disclosure provide a health indicator intelligent measurement device, comprising: a receiving module configured to receive a health indicator measurement instruction; a scanning module configured to scan surrounding Bluetooth devices based on a target software development kit (SDK), wherein the target SDK is used to uniformly scan multiple health indicator measurement devices; an identifying module configured to identify a current health indicator measurement device from the scanned Bluetooth devices based on a pre-configured device parameter set; a connecting module configured to perform device connection based on a connection method corresponding to the current health indicator measurement device; and a recording module configured to record health indicator measurement data in response to receiving the health indicator measurement data synchronized to the target SDK.
[0007] In a third aspect, an electronic device is provided, including: at least one processor; and a memory communicatively connected with the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform the method according to any implementation manner of the first aspect.
[0008] In a fourth aspect, a non-transitory computer-readable storage medium storing computer instructions is provided, and the computer instructions are used to enable a computer to perform the method according to any implementation manner of the first aspect.
[0009] In a fifth aspect, a computer program product is provided, including a computer program, and the computer program, when executed by a processor, implements the method according to any implementation manner of the first aspect.
[0010] The health index intelligent measurement method provided by the embodiments of the present disclosure can be compatible with various external health index measurement devices of various manufacturers and various self-connected health index measurement devices without manual selection of connection modes by the user, reduces user misoperation, and enhances user experience. The method can be applied to a scenario in which an application program integrates various manufacturer Bluetooth devices, automatically identifies device types, and connects devices and exchanges data through different connection modes.
[0011] It should be understood that the content described in this part is not intended to identify key or important features of the embodiments of the present disclosure, nor is it used to limit the scope of the present disclosure. Other features of the present disclosure will become apparent through the following description. BRIEF DESCRIPTION OF DRAWINGS
[0012] Other features, objects, and advantages of the present disclosure will become more apparent from the following detailed description of non-limiting embodiments with reference to the following drawings. The drawings are provided to better understand the present disclosure and do not constitute a limitation on the present disclosure. Among them:
[0013] Figure 1 is a flowchart of one embodiment of the health index intelligent measurement method according to the present disclosure;
[0014] Figure 2 is a flowchart of another embodiment of the health index intelligent measurement method according to the present disclosure;
[0015] Figure 3 is a scenario diagram of the health index intelligent measurement method that can implement the embodiments of the present disclosure;
[0016] Figure 4 is a structural schematic diagram of one embodiment of the health index intelligent measurement device according to the present disclosure;
[0017] Figure 5 is a block diagram of an electronic device for implementing the health index intelligent measurement method according to an embodiment of the disclosure. DETAILED DESCRIPTION
[0018] Exemplary embodiments of the disclosure are described herein with reference to the accompanying drawings, in which various specific details are set forth to assist in a thorough understanding of the embodiments of the disclosure. It will be understood by those of ordinary skill in the art that various changes and modifications can be made to the embodiments described herein without departing from the scope and spirit of the disclosure. Also, the description set forth herein with respect to the exemplary embodiments is not intended to limit the scope of the disclosure, and is merely intended to assist in a thorough understanding of the disclosure. Therefore, it will be understood that various changes and modifications can be made to the embodiments described herein without departing from the scope and spirit of the disclosure. Also, descriptions of known functions and constructions can be omitted from the following description for clarity and conciseness.
[0019] It should be noted that the embodiments in the disclosure and the features in the embodiments can be combined with each other without conflict. The disclosure will be described in detail below with reference to the drawings and in conjunction with the embodiments.
[0020] Figure 1 Flow 100 of one embodiment of the health index intelligent measurement method according to the disclosure is shown. The health index intelligent measurement method includes the following steps:
[0021] Step 101, receiving a health index measurement instruction.
[0022] In this embodiment, the intelligent measurement device can receive a health index measurement instruction.
[0023] Here, the intelligent measurement device can integrate various health index measurement devices, including not only external manufacturer health index measurement devices, but also self-connected health index measurement devices. The intelligent measurement device can be a smart speaker equipped with a conversational artificial intelligence operating system. Therefore, if a user wants to measure a health index using a health index measurement device, the user can voice wake up the intelligent measurement device and voice issue a health index measurement instruction to enter an automatic measurement page. The health index measurement device can be used to measure health indexes, including but not limited to a sphygmomanometer, a blood glucose meter, etc.
[0024] Step 102, scanning the surrounding Bluetooth devices based on the target SDK.
[0025] In this embodiment, the intelligent measurement device can scan the surrounding Bluetooth devices based on the target SDK.
[0026] Here, the intelligent measurement device encapsulates a target SDK compatible with multiple health indicator measurement devices, for unified scanning of multiple health indicator measurement devices. The target SDK can internally implement health indicator measurement device scanning, filtering and identification of different types of health indicator measurement devices, automatic connection of identified health indicator measurement devices, data acquisition, and other operations. The target SDK can be divided into four modules: device management, device scanning, device filtering, and device connection.
[0027] Generally, after entering the automatic measurement page, the application program automatically starts device scanning through the target SDK. Since the SDKs of different manufacturers can basically only scan health indicator measurement devices of their own manufacturers, a unified scanner is needed to be compatible with health indicator measurement devices of different manufacturers. Specifically, the unified scanner is not bound to any manufacturer's health indicator measurement device, and is a general-purpose scanner that can scan all Bluetooth devices around it.
[0028] It should be understood that, since user authorization is required for Bluetooth use and the Bluetooth switch needs to be turned on, Bluetooth permission acquisition and switch state judgment are automatically performed before device scanning. When both requirements are met, device scanning is automatically started, thereby improving the device scanning success rate. Specifically, the Bluetooth permissions and the state of the Bluetooth switch of the surrounding Bluetooth devices are judged. If the Bluetooth permissions are in the authorized state and the Bluetooth switch is in the on state, the surrounding Bluetooth devices are scanned based on the target SDK. If the Bluetooth permissions are in the unauthorized state and / or the Bluetooth switch is in the off state, the Bluetooth permissions are acquired and / or the Bluetooth switch is turned on, and then the surrounding Bluetooth devices are scanned based on the target SDK.
[0029] Step 103, identifying the current health indicator measurement device from the scanned Bluetooth devices based on the pre-configured device parameter set.
[0030] In this embodiment, the intelligent measurement device can identify the current health indicator measurement device from the scanned Bluetooth devices based on the pre-configured device parameter set.
[0031] Generally, the device parameters of the health indicator measurement device can be configured in the device management module. Device management can be divided into self-connection device management and external manufacturer device management. The self-connection device management mainly configures device Bluetooth protocol, data interaction, and Bluetooth data analysis, etc. The external manufacturer device management mainly configures different device parameters according to the needs of different external manufacturer SDK parameters. It should be noted that the health indicator measurement device saves the parameter configurations needed in the subsequent device identification, connection, and interaction stages.
[0032] The target SDK internally identifies and filters surrounding Bluetooth devices, filtering out the health indicator measurement device that is currently in use and supported by the application. Specifically, the device information of the scanned Bluetooth device is matched with the device parameters in the device parameter set one by one, and if the matching is successful, it is taken as the current health indicator measurement device.
[0033] In step 104, the device is connected based on the connection mode corresponding to the current health indicator measurement device.
[0034] In this embodiment, the intelligent measurement device can connect the device based on the connection mode corresponding to the current health indicator measurement device.
[0035] The connection modes of different health indicator measurement devices are different, and the device parameters of the current health indicator measurement device can determine the connection mode. Specifically, the connector will select the corresponding connection mode according to the manufacturer parameters of the incoming current health indicator measurement device. If it is a health indicator measurement device of an external manufacturer, the corresponding method of the SDK of the external manufacturer is called to perform device verification, connection, and data interaction. If it is a self-connected health indicator measurement device, the connection method of the self-connected SDK is called to connect the device and perform data interaction.
[0036] In step 105, in response to receiving the health indicator measurement data synchronized to the target SDK, the health indicator measurement data is recorded.
[0037] In this embodiment, in response to receiving the health indicator measurement data synchronized to the target SDK, the intelligent measurement device can record the health indicator measurement data.
[0038] After the user finishes measuring with the current health indicator measurement device, the current health indicator measurement device synchronizes the health indicator measurement data back to the target SDK through Bluetooth. The target SDK can return the health indicator measurement data to the automatic measurement page after analyzing and processing the health indicator measurement data.
[0039] After the current health indicator measurement device finishes measuring, the connector obtains the health indicator measurement data transmitted by the current health indicator measurement device. Some manufacturer SDKs directly return the health indicator measurement data, and some manufacturer SDKs need to analyze the health indicator measurement data by using the analysis method configured in the device management. After obtaining the health indicator measurement data, the connector can pass the health indicator measurement data to the outermost target SDK. The target SDK can return the health indicator measurement data to the business for data recording.
[0040] After obtaining the health index measurement data on the page of automatically measuring the health index, not only a network request can be sent to record the health index measurement data, but also the corresponding suggestion information of the health index measurement data can be obtained, and the health index measurement data and the suggestion information can be displayed. For example, the display mode can be voice broadcast of the health index measurement data and the suggestion information.
[0041] The user can record the health index measurement data without contacting the intelligent measurement device, and the health index measurement data and the suggestion information can be broadcast by the intelligent measurement device, thereby truly realizing automatic measurement and automatic recording.
[0042] The health index intelligent measurement method provided in the embodiments of the present disclosure can be compatible with various health index measurement devices of external manufacturers and various self-connected health index measurement devices without manual selection of device connection modes by the user, thereby reducing user misoperation and enhancing user experience. The method can be applied to a scenario in which an application program integrates various manufacturer Bluetooth devices, automatically identifies device types, and connects devices and exchanges data through different connection modes.
[0043] The device management and manufacturer device identification filtering capability are added on the basis of the prior art. The device management can configure device parameters of health index measurement devices of all supported manufacturers, and then the filter can calculate whether the scanned health index measurement device is a supported device according to the device parameters configured in the device management, identify the manufacturer of the supported device, and splice the manufacturer attribute. Thus, the available health index measurement device can be automatically identified without user awareness, and the manufacturer information and other attributes of the health index measurement device are obtained.
[0044] Since all supported devices in the surrounding Bluetooth devices can be directly identified, and the manufacturer information and other attributes are obtained, after filtering the current health index measurement device, the user does not need to manually connect the current health index measurement device, and the current health index measurement device can be directly connected, the measurement data is obtained, the measurement data is reported, the measurement data is broadcast, and the like according to the identification result. The health index measurement data can be recorded without contacting the intelligent measurement device, and the health index measurement data and the suggestion information can be broadcast by the intelligent measurement device, thereby truly realizing automatic measurement and automatic recording.
[0045] In the scenario of compatible multiple manufacturer devices, the device is automatically connected by automatically identifying the manufacturer type of the device and using the connection scheme corresponding to the manufacturer. After the application enters the automatic measurement page through the voice instruction, the user does not need to interact, and the health index measurement device currently used by the user can be automatically connected, the measurement data of the user is read, the data is recorded, and the measurement result is voice broadcast. Compatible with multiple manufacturer devices, more supported devices, and can meet the needs of more users.
[0046] All supported health index measurement devices are managed by the device management, and subsequent new health index measurement devices only need to be configured according to the corresponding parameters in the device management. The subsequent process will be automatically executed according to the configuration parameters, and the entire process does not need to be modified. Not only increases the access efficiency of new devices, but also improves the adaptation efficiency of new devices, and reduces the regression cost of test personnel for old functions.
[0047] Reference is made to Figure 2 which shows a flow 200 of still another embodiment of the health index intelligent measurement method according to the present disclosure. The health index intelligent measurement method comprises the following steps:
[0048] Step 201, receiving a health index measurement instruction.
[0049] Step 202, scanning the surrounding Bluetooth devices based on the target SDK.
[0050] In the embodiment, the specific operations of steps 201-202 have been described in detail in the embodiment shown in Figure 1 The steps 101-102 in the embodiment have been described in detail, and will not be repeated here.
[0051] Step 203, matching the scanned Bluetooth devices in the device parameter set.
[0052] In this embodiment, the intelligent measurement device can match the scanned Bluetooth devices in the device parameter set.
[0053] Generally, the device parameters of the health index measurement device can be configured in the device management module. The device management can be divided into self-connection device management and external manufacturer device management. The self-connection device management mainly configures the device Bluetooth protocol, data interaction and Bluetooth data analysis, etc. The external manufacturer device management mainly configures different device parameters according to the needs of different external manufacturer SDK parameters. It should be noted that the health index measurement device saves the parameter configuration required in the subsequent device identification, connection and interaction stage.
[0054] The target SDK internally identifies and filters the surrounding Bluetooth devices, filtering out the health indicator measurement device that is currently in use and supported by the application. Specifically, the device information of the scanned Bluetooth device is matched with the device parameters in the device parameter set one by one, and if the matching is successful, the Bluetooth device is taken as the current health indicator measurement device.
[0055] All health indicator measurement devices scanned by the scanner are passed to the filter, which matches the device information of the scanned Bluetooth device with the device parameters configured in the device management. If the matching fails, step 204 is performed; if the matching succeeds, step 205 is performed.
[0056] Step 204, filter out the scanned Bluetooth device.
[0057] In this embodiment, if the scanned Bluetooth device fails to match in the device parameter set, the smart measurement device can filter out the scanned Bluetooth device and return to step 202 to continue device scanning.
[0058] Step 205, take the matched Bluetooth device as the current health indicator measurement device and stop device scanning.
[0059] In this embodiment, if the scanned Bluetooth device matches in the device parameter set, the smart measurement device can take the matched Bluetooth device as the current health indicator measurement device and stop device scanning.
[0060] Generally, the device information of the matched Bluetooth device is returned to the outermost SDK together with the device parameters configured in the device management, and device scanning is stopped.
[0061] Step 206, determine the type of the current health indicator measurement device.
[0062] In this embodiment, the smart measurement device can determine the type of the current health indicator measurement device. If the current health indicator measurement device is a self-connection device, step 207 is performed; if the current health indicator measurement device is an external vendor device, step 208 is performed. The type of the device is included in the device parameters configured in the device management.
[0063] Step 207, call the self-connection SDK to connect the current health indicator measurement device.
[0064] In this embodiment, if the current health indicator measurement device is a self-connection device, the smart measurement device can call the self-connection SDK to connect the current health indicator measurement device.
[0065] Step 208, obtaining the external vendor SDK corresponding to the current health index measurement device from the device parameters of the current health index measurement device, and calling the external vendor SDK to connect the current health index measurement device.
[0066] In the embodiment, if the current health index measurement device is an external vendor device, the intelligent measurement device can obtain the external vendor SDK corresponding to the current health index measurement device from the device parameters of the current health index measurement device, and call the external vendor SDK to connect the current health index measurement device.
[0067] In order to improve the device connection success rate, the connector can also provide reconnection after connection failure. Specifically, if the current health index measurement device fails to connect, reconnect the current health index measurement device; if the number of reconnections exceeds the preset number of threshold, it means that the callback target SDK connection fails, and the target SDK will stop this process and return to continue step 202 to start a new round of device scanning.
[0068] Step 209, in response to receiving the health index measurement data synchronized to the target SDK, recording the health index measurement data.
[0069] In the embodiment, the specific operation of step 209 has been described in detail in the embodiment of step 105 shown in Figure 1 The specific operation of step 209 has been described in detail in the embodiment of step 105 shown in
[0070] As can be seen from Figure 2 Compared with the embodiment corresponding to Figure 1 , the health index intelligent measurement method process 200 in the embodiment highlights the filtering and identifying step and the connection step. Therefore, the scheme device management described in the embodiment can configure the device parameters of the health index measurement device of all supported vendors, and then the filter can calculate and identify whether the scanned health index measurement device is a supported device according to the device parameters configured in the device management, and identify the vendor of the supported device and splice the vendor attributes. Thus, the available health index measurement device can be automatically identified without user awareness, and the vendor information and other attributes of the health index measurement device are obtained. Since all supported devices in the surrounding Bluetooth devices can be directly identified, and the vendor information and other attributes are obtained, after filtering the current health index measurement device, the user does not need to manually connect the current health index measurement device, and the current health index measurement device can be directly connected, measurement data is obtained, measurement data is reported, and measurement data is broadcasted according to the identification result. In the case that the user does not touch the intelligent measurement device, the health index measurement data is recorded, and the health index measurement data and suggestion information are broadcasted through the intelligent measurement device, and automatic measurement and automatic recording are truly realized.
[0071] For ease of understanding, Figure 3 A scenario diagram of the health index intelligent measurement method is shown. As shown in the figure, Figure 3 The scheme is applied in an intelligent measurement device, and mainly supports the intelligent measurement function of health indexes such as blood pressure and blood sugar.
[0072] Step 301, receiving a voice instruction.
[0073] Step 302, entering an automatic measurement page.
[0074] Here, the user can enter the automatic measurement page through a voice instruction.
[0075] Step 303, judging authorization. If there is no authorization, step 304 is executed; if there is authorization, step 305 is executed.
[0076] Step 304, obtaining authorization.
[0077] Step 305, judging a Bluetooth switch. If the Bluetooth switch is off, step 306 is executed; if the Bluetooth switch is on, step 307 is executed.
[0078] Step 306, turning on the switch.
[0079] Step 307, scanning a device.
[0080] Step 308, obtaining a device list.
[0081] After entering the automatic measurement page, the application automatically scans the device through a general scanner. At this time, in order to improve the device scanning success rate, the authorization and the Bluetooth switch are judged before using the Bluetooth. In the case that the authorization is obtained and the switch is turned on, the device is automatically scanned, and the device list is obtained.
[0082] Step 309, reading configuration information in device management.
[0083] Step 310, matching a computing device attribute. If the matching fails, step 311 is executed; if the matching succeeds, step 312 is executed.
[0084] Step 311, filtering out.
[0085] Step 312, stopping supporting device scanning.
[0086] The filter can read the configuration information in the device management, match the computing device attribute, filter out the device for the device that fails to match, and obtain the supporting device to stop scanning for the device that succeeds to match.
[0087] Step 313, judging the device type. If it is a device of manufacturer A, using the SDK of manufacturer A to execute step 314; if it is a device of manufacturer B, using the SDK of manufacturer B to execute step 314; if it is a self-connected device, using the self-connected SDK to execute step 315.
[0088] Step 314, device verification, starting connection, data interaction.
[0089] Step 315, device connection, data interaction.
[0090] The connector can judge the device type. If it is a device of manufacturer A, using the SDK of manufacturer A to execute device verification, starting connection, data interaction; if it is a device of manufacturer B, using the SDK of manufacturer B to execute device verification, starting connection, data interaction; if it is a self-connected device, using the self-connected SDK to execute device connection, data interaction.
[0091] Step 316, listening to data.
[0092] Step 317, obtaining measurement results.
[0093] Step 318, result analysis.
[0094] Step 319, recording measurement results.
[0095] Step 320, broadcasting measurement results.
[0096] When the user finishes measuring, the listening data is synchronized to the target SDK through Bluetooth, and the target SDK returns the data to the automatic measurement page after processing the data. The automatic measurement page records the measurement results, and broadcasts the measurement results and suggestions through voice.
[0097] Further reference Figure 4 , as an implementation of the method shown in the above figures, the present disclosure provides an embodiment of a health indicator intelligent measurement device, which corresponds to the method embodiment shown in Figure 1 , and the device can be applied in various electronic devices.
[0098] As Figure 4As shown, the health index intelligent measurement device 400 in this embodiment can include a receiving module 401, a scanning module 402, an identifying module 403, a connecting module 404, and a recording module 405. The receiving module 401 is configured to receive a health index measurement instruction. The scanning module 402 is configured to scan surrounding Bluetooth devices based on a target software development kit (SDK). The target SDK is used to uniformly scan a plurality of health index measurement devices. The identifying module 403 is configured to identify a current health index measurement device from the scanned Bluetooth devices based on a preconfigured set of device parameters. The connecting module 404 is configured to perform device connection based on a connection method corresponding to the current health index measurement device. The recording module 405 is configured to record health index measurement data in response to receiving the health index measurement data synchronized to the target SDK.
[0099] In this embodiment, the receiving module 401, the scanning module 402, the identifying module 403, the connecting module 404, and the recording module 405 in the health index intelligent measurement device 400 can perform specific processing and bring about technical effects, which can be respectively referred to Figure 1 The relevant description of steps 101-105 in the corresponding embodiment will not be repeated here.
[0100] In some optional implementations of this embodiment, the scanning module 402 is further configured to: if the Bluetooth permission of the surrounding Bluetooth device is in an authorized state and the Bluetooth switch is in an open state, scan the surrounding Bluetooth devices based on the target SDK. If the Bluetooth permission of the surrounding Bluetooth device is in an unauthorized state and / or the Bluetooth switch is in a closed state, obtain the Bluetooth permission and / or turn on the Bluetooth switch, and scan the surrounding Bluetooth devices based on the target SDK.
[0101] In some optional implementations of this embodiment, the identifying module 403 is further configured to: if the scanned Bluetooth device fails to match in the set of device parameters, filter out the scanned Bluetooth device and continue device scanning; and if the scanned Bluetooth device succeeds in matching in the set of device parameters, take the Bluetooth device that succeeds in matching as the current health index measurement device and stop device scanning.
[0102] In some optional implementations of this embodiment, the connecting module 404 is further configured to: if the current health index measurement device is a self-connection device, invoke a self-connection SDK to connect the current health index measurement device; and if the current health index measurement device is an external vendor device, obtain an external vendor SDK corresponding to the current health index measurement device from a device parameter of the current health index measurement device, and invoke the external vendor SDK to connect the current health index measurement device.
[0103] In some optional implementation manners of the embodiment, the health index intelligent measurement device 400 further comprises a reconnection module configured to reconnect the current health index measurement device if the connection of the current health index measurement device fails; and a re-scanning module configured to re-scan the surrounding Bluetooth devices based on the target SDK if the number of reconnection times exceeds a preset number threshold.
[0104] In some optional implementation manners of the embodiment, the health index intelligent measurement device 400 further comprises an acquisition module configured to acquire suggestion information corresponding to the health index measurement data; and a display module configured to display the health index measurement data and the suggestion information.
[0105] In the technical solution of the present disclosure, the collection, storage, use, processing, transmission, provision and disclosure of user personal information involved in the technical solution comply with relevant laws and regulations and do not violate public order and good customs.
[0106] According to the embodiments of the present disclosure, the present disclosure further provides an electronic device, a readable storage medium and a computer program product.
[0107] Figure 5 A schematic block diagram of an example electronic device 500 that can be used to implement embodiments of the present disclosure is shown. The electronic device is intended to represent various forms of digital computers, such as laptops, desktops, tablets, personal digital assistants, servers, blade servers, mainframes, and other appropriate computers. The electronic device can also represent various forms of mobile devices, such as personal digital processors, cellular telephones, smart phones, wearable devices, and other similar computing devices. The components shown here, their connections and relationships, and their functions, are meant to be examples only, and are not meant to limit implementations of the present disclosure described and / or claimed in this document.
[0108] As shown in Figure 5 The device 500 includes a computing unit 501 that can perform various appropriate actions and processes in accordance with a computer program stored in a read-only memory (ROM) 502 or a computer program loaded from a storage unit 508 into a random access memory (RAM) 503. Various programs and data required for the operation of the device 500 can also be stored in the RAM 503. The computing unit 501, the ROM 502, and the RAM 503 are connected to each other through a bus 504. An input / output (I / O) interface 505 is also connected to the bus 504.
[0109] A number of components in the device 500 are connected to the I / O interface 505, including: an input unit 506, such as a keyboard, a mouse, etc.; an output unit 507, such as various types of displays, speakers, etc.; a storage unit 508, such as a magnetic disk, an optical disk, etc.; and a communication unit 509, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 509 allows the device 500 to exchange information / data with other devices through a computer network, such as the Internet, and / or various telecommunication networks.
[0110] The computing unit 501 can be various general and / or special purpose processing components with processing and computing capabilities. Some examples of the computing unit 501 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various special-purpose artificial intelligence (AI) computing chips, various computing units running machine learning model algorithms, a digital signal processor (DSP), and any appropriate processor, controller, microcontroller, etc. The computing unit 501 performs various methods and processes described above, such as the health indicator smart measurement method. For example, in some embodiments, the health indicator smart measurement method can be implemented as a computer software program, which is tangibly embodied in a machine-readable medium, such as the storage unit 508. In some embodiments, part or all of the computer program can be loaded and / or installed onto the device 500 via the ROM 502 and / or the communication unit 509. When the computer program is loaded onto the RAM 503 and executed by the computing unit 501, one or more steps of the health indicator smart measurement method described above can be performed. Alternatively, in other embodiments, the computing unit 501 can be configured to perform the health indicator smart measurement method by any other appropriate means, such as by means of firmware.
[0111] The various implementations of the systems and techniques described above can be realized in digital electronic circuitry, integrated circuitry, a field programmable gate array (FPGA), an application specific integrated circuit (ASIC), a system on a chip (SOC), a programmable logic device (PLD), a computer hardware, firmware, software, and / or combinations thereof. These various implementations can include implementation in one or more computer programs that are executable and / or interpretable on a programmable system including at least one programmable processor, which can be special or general purpose, coupled to receive data and instructions from, and to transmit data and instructions to, a storage system, at least one input device, and at least one output device.
[0112] Program code for carrying out methods of the present disclosure can be written in any combination of one or more programming languages. The program code can be provided to a processor or controller of a general purpose computer, special purpose computer, or other programmable data processing apparatus to produce a machine, such that the program code, when executed by the processor or controller, produces the functions / operations specified in the flowcharts and / or block diagrams. The program code can be executed entirely on a machine, partially on a machine, partially on a machine as a standalone software package, or entirely on a remote machine or server.
[0113] In the context of the present disclosure, a machine-readable medium can be a tangible medium that contains or stores a program for use by or in connection with an instruction execution system, apparatus, or device. The machine-readable medium can be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium can include but is not limited to an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples of the machine-readable storage medium will include one or more lines of electrical connections, portable computer disks, hard disk drives, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or Flash memory), optical fibers, portable compact disc read-only memories (CD-ROMs), optical storage devices, magnetic storage devices, or any suitable combination of the foregoing.
[0114] To provide for interaction with a user, the systems and techniques described here can be implemented on a computer having a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user and a keyboard and a pointing device (e.g., a mouse or a trackball) by which the user can provide input to the computer. Other kinds of devices can be used to provide for interaction with a user as well; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form, including acoustic, speech, or tactile input.
[0115] The systems and techniques described here can be implemented in a computing system that includes a back end component (e.g., as a data server), or that includes a middleware component (e.g., an application server), or that includes a front end component (e.g., a user computer having a graphical user interface or a Web browser through which a user can interact with an implementation of the systems and techniques described here), or any combination of such back end, middleware, or front end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include a local area network (LAN), a wide area network (WAN), and the Internet.
[0116] The computer system can include clients and servers. This relationship can be. The servers are typically remote from the clients with the interactions between them occurring over a communication network. The relationship between a client and a server is one of client-server. The server can be a cloud server, a server of a distributed system, or a server incorporating a blockchain.
[0117] It should be understood that the various forms of flow shown above can be re-ordered, added to, or deleted from without departing from the scope of the present disclosure. For example, the steps recited in the present disclosure can be executed in parallel, in series, or in a different order, as long as the desired results of the technical solutions provided by the present disclosure are achieved, and the present disclosure is not limited herein.
[0118] The specific implementation described above does not constitute a limitation on the protection scope of the present disclosure. Those skilled in the art should understand that various modifications, combinations, sub-combinations, and substitutions can be made according to design requirements and other factors. Any modifications, equivalent replacements, and improvements within the spirit and principles of the present disclosure should be included in the protection scope of the present disclosure.
Claims
1. A health index intelligent measurement method, comprising: receiving a health index measurement instruction; scanning surrounding Bluetooth devices based on a target software development kit (SDK), wherein the target SDK is used to uniformly scan a plurality of health index measurement devices; identifying a current health index measurement device from the scanned Bluetooth devices based on a preconfigured device parameter set; if the current health index measurement device is a self-connection device, connecting the current health index measurement device by invoking a self-connection SDK; if the current health index measurement device is an external vendor device, obtaining an external vendor SDK corresponding to the current health index measurement device from device parameters of the current health index measurement device, and connecting the current health index measurement device by invoking the external vendor SDK; in response to receiving health index measurement data synchronized to the target SDK, recording the health index measurement data.
2. The method of claim 1, wherein, The scanning surrounding Bluetooth devices based on a target software development kit (SDK) comprises: if the Bluetooth permission of the surrounding Bluetooth device is in an authorized state and the Bluetooth switch is in an open state, scanning the surrounding Bluetooth devices based on the target SDK; if the Bluetooth permission of the surrounding Bluetooth device is in an unauthorized state and / or the Bluetooth switch is in a closed state, obtaining the Bluetooth permission and / or turning on the Bluetooth switch, and scanning the surrounding Bluetooth devices based on the target SDK.
3. The method of claim 1, wherein, The identifying a current health index measurement device from the scanned Bluetooth devices based on a preconfigured device parameter set comprises: if the scanned Bluetooth device fails to match in the device parameter set, filtering out the scanned Bluetooth device and continuing device scanning; if the scanned Bluetooth device succeeds in matching in the device parameter set, taking the matched Bluetooth device as the current health index measurement device and stopping device scanning.
4. The method of claim 1, wherein, The method further comprises: if the current health index measurement device fails to connect, reconnecting the current health index measurement device; if the number of reconnections exceeds a pre-set number threshold, re-scanning surrounding Bluetooth devices based on the target SDK.
5. The method of any one of claims 1-4, wherein, The method further comprises: obtaining suggestion information corresponding to the health index measurement data; displaying the health index measurement data and the suggestion information.
6. A health index intelligent measurement apparatus, comprising: a receiving module configured to receive a health index measurement instruction; a scanning module configured to scan surrounding Bluetooth devices based on a target software development kit (SDK), wherein the target SDK is used to uniformly scan a plurality of health index measurement devices; an identifying module configured to identify a current health index measurement device from the scanned Bluetooth devices based on a preconfigured device parameter set; The connection module is configured to invoke a self-connection SDK to connect the current health indicator measurement device if the current health indicator measurement device is a self-connection device, and to obtain an external manufacturer SDK corresponding to the current health indicator measurement device from device parameters of the current health indicator measurement device and invoke the external manufacturer SDK to connect the current health indicator measurement device if the current health indicator measurement device is an external manufacturer device. The recording module is configured to record health indicator measurement data in response to receiving the health indicator measurement data synchronized to the target SDK.
7. The apparatus of claim 6, wherein, The scanning module is further configured to: scan surrounding Bluetooth devices based on the target SDK if Bluetooth permissions of the surrounding Bluetooth devices are in an authorized state and a Bluetooth switch is in an open state; obtain Bluetooth permissions and / or turn on the Bluetooth switch, and scan surrounding Bluetooth devices based on the target SDK if Bluetooth permissions of the surrounding Bluetooth devices are in an unauthorized state and / or the Bluetooth switch is in a closed state.
8. The apparatus of claim 6, wherein, The identification module is further configured to: filter out scanned Bluetooth devices and continue device scanning if the scanned Bluetooth devices fail to match in the device parameter set; stop device scanning if the scanned Bluetooth devices successfully match in the device parameter set, and take the successfully matched Bluetooth devices as the current health indicator measurement device.
9. The apparatus of claim 6, wherein, The apparatus further includes: a reconnection module configured to reconnect the current health indicator measurement device if the current health indicator measurement device fails to connect; a re-scanning module configured to re-scan surrounding Bluetooth devices based on the target SDK if a reconnection number exceeds a preset number threshold.
10. The apparatus of any one of claims 6-9, wherein, The apparatus further includes: an obtaining module configured to obtain suggestion information corresponding to the health indicator measurement data; a display module configured to display the health indicator measurement data and the suggestion information. 11.An electronic device, comprising: at least one processor; and a memory connected to the at least one processor in communication; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform the method of any one of claims 1-5. 12.A non-transitory computer-readable storage medium storing computer instructions for causing a computer to perform the method of any one of claims 1-5. 13.A computer program product comprising a computer program which, when executed by a processor, implements the method according to any one of claims 1-5.
Citation Information
Patent Citations
Data uploading apparatus, method and system
CN108696841A