A method, device, system and storage medium for detecting device connection

By implementing automatic background search and connection in application software, the problem of cumbersome connection of detection equipment in the prior art is solved, and the connection efficiency and user experience are improved.

CN115314867BActive Publication Date: 2025-05-30SHENZHEN TATFOOK WISDOM HEALTH TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202210830812.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-07-15
Publication Date
2025-05-30
Estimated Expiration
2042-07-15

AI Technical Summary

Technical Problem

In the prior art, the Bluetooth connection between the detection device and the terminal requires manual operation by the user, resulting in cumbersome connection process and affecting efficiency.

Method used

Through the application software automatically searching and establishing a Bluetooth connection to the target detection device in the background, the user only needs to send detection instructions in the functional interface, and the system will automatically handle the connection process.

Benefits of technology

The efficiency of the detection device connection is greatly improved, and users do not need to manually select Bluetooth devices, which simplifies the connection process and improves the user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115314867B_ABST
    Figure CN115314867B_ABST
Patent Text Reader

Abstract

The present application discloses a method, device, system and storage medium for connecting a detection device, which are used to improve the connection efficiency of the detection device. The method of the present application includes: displaying a function interface of an application software, where the application software is used to control a target detection device; obtaining a detection instruction sent by a user in the application software; searching for the target detection device within a preset range according to the detection instruction; establishing a Bluetooth connection with the target detection device in the background; when the Bluetooth connection is established, calling the target detection device for detection; and receiving detection result information sent by the target detection device through the Bluetooth connection.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of data processing, and particularly to a method, device, system, and storage medium for connecting detection devices. Background Art

[0002] With the continuous development of society and the continuous progress of technology, detection devices have been widely used in various fields, and more and more detection devices have entered people's daily lives and played an important role in daily life.

[0003] In the solutions provided by the prior art, terminals such as mobile phones and computers can be connected to some external detection devices. This connection includes Bluetooth connection, Internet connection, etc. When the terminal is connected to these external detection devices, generally, the user needs to turn on Bluetooth on the terminal and then search for surrounding Bluetooth devices. When the target detection device is found, the user needs to select the target detection device for Bluetooth pairing. The user needs to perform operations such as searching, pairing, and connecting. After the connection is successfully established, the user can control the target detection device via Bluetooth on the terminal and then call the relevant detection functions. However, the user needs to manually connect the terminal and the detection device via Bluetooth, and such a method is too cumbersome and seriously affects the connection efficiency. Summary of the Invention

[0004] To solve the above technical problems, this application provides a method, device, system, and storage medium for connecting detection devices to improve the connection efficiency of detection devices.

[0005] The first aspect of this application provides a method for connecting a detection device, including:

[0006] Display the function interface of the application software for controlling the target detection device;

[0007] Obtain the detection instruction sent by the user in the application software;

[0008] Search for the target detection device within a preset range according to the detection instruction;

[0009] Establish a Bluetooth connection with the target detection device in the background;

[0010] When the Bluetooth connection is established, call the target detection device for detection;

[0011] Receive the detection result information sent by the target detection device through the Bluetooth connection.

[0012] Optionally, searching for the target detection device within a preset range according to the detection instruction includes:

[0013] Identify the function detection information corresponding to the detection instruction;

[0014] Generate a Bluetooth matching identifier according to the function detection information;

[0015] Establishing a Bluetooth connection with the target detection device in the background includes:

[0016] Establish a Bluetooth connection with the target detection device according to the Bluetooth matching identifier.

[0017] Optionally, when the target detection device is not detected within the preset range, after searching for the target detection device within the preset range according to the detection instruction, the method further includes:

[0018] Generate feedback information for prompting the user to turn on the target detection device.

[0019] Optionally, after generating the feedback information, the method further includes:

[0020] After a preset time, search for the target detection device within the preset range again according to the detection instruction.

[0021] Optionally, after receiving the detection result information sent by the target detection device, the method further includes:

[0022] When it is determined that the user exits the function interface, disconnect the Bluetooth connection.

[0023] The second aspect of the present application provides a detection device connection device, including:

[0024] A display unit for displaying a function interface of an application software for controlling a target detection device;

[0025] An acquisition unit for acquiring a detection instruction sent by a user in the application software;

[0026] A search unit for searching for a target detection device within a preset range according to the detection instruction;

[0027] A connection unit for establishing a Bluetooth connection with the target detection device in the background;

[0028] An invocation unit for invoking the target detection device for detection when the Bluetooth connection is established;

[0029] A receiving unit for receiving the detection result information sent by the target detection device through the Bluetooth connection.

[0030] Optionally, the search unit is specifically used for:

[0031] Identify the function detection information corresponding to the detection instruction;

[0032] Generate a Bluetooth matching identifier according to the function detection information;

[0033] The connection unit is used for:

[0034] Establish a Bluetooth connection with the target detection device according to the Bluetooth matching identifier.

[0035] Optionally, it further includes: a feedback unit, and the feedback unit is used for:

[0036] Generate feedback information, and the feedback information is used to prompt the user to turn on the target detection device.

[0037] The third aspect of the present application provides another detection device connection system, and the detection device connection system includes:

[0038] A processor, a memory, an input / output unit, and a bus;

[0039] The processor is connected to the memory, the input / output unit, and the bus;

[0040] The memory stores a program, and the processor calls the program to execute the detection device connection method in the first aspect and any optional one in the first aspect.

[0041] The fourth aspect of the present application provides a computer-readable storage medium, and a program is stored on the computer-readable storage medium, and when the program is executed on a computer, it executes the detection device connection method in the first aspect and any optional one in the first aspect.

[0042] It can be seen from the above technical solutions that the present application has the following advantages:

[0043] In the detection device connection method provided by the present application, the user can send a detection instruction in the function interface of the application software to call the target detection device. When the detection instruction is received, the detection device will be searched within a preset range according to the detection instruction. After the target detection device is found, a Bluetooth connection will be established with the target detection device in the background, and then the detection device will be called through the Bluetooth connection and the detection result information sent by the detection device will be received. In this method, after the user sends the detection instruction, the search and establishment of a Bluetooth connection with the target detection device will start automatically. When the Bluetooth connection is established, the detection device can be directly called, and the user does not need to manually select the Bluetooth device to be connected, which greatly improves the connection efficiency. Description of the Drawings

[0044] To more clearly illustrate the technical solutions in the present application, the following will briefly introduce the drawings required for use in the description of the embodiments. Obviously, the drawings in the following description are only some embodiments of the present application. For those of ordinary skill in the art, without creative efforts, other drawings can be obtained based on these drawings.

[0045] Figure 1 Schematic flowchart of an embodiment of the detection device connection method provided by the present application;

[0046] Figure 2 Schematic flowchart of another embodiment of the detection device connection method provided by the present application;

[0047] Figure 3 Schematic structural diagram of an embodiment of the detection device connection device provided by the present application;

[0048] Figure 4 Schematic structural diagram of an embodiment of the detection device connection system provided by the present application. Detailed implementation manners

[0049] In the solutions provided by the prior art, terminals such as mobile phones and computers can be connected to some external detection devices. This connection includes Bluetooth connection, Internet connection, etc. When the terminal is connected to these external detection devices, generally the user needs to turn on Bluetooth on the terminal, and then search for surrounding Bluetooth devices. When the target detection device is found, the user needs to select the target detection device for Bluetooth pairing. The user needs to perform operations such as searching, pairing, and connection. After the connection is successfully established, the user can perform Bluetooth control on the target detection device on the terminal, and then call the relevant detection functions. However, the user needs to manually connect the terminal and the detection device via Bluetooth, and such a method process is too cumbersome, seriously affecting the connection efficiency.

[0050] Based on this, the present application provides a detection device connection method, device, system, and storage medium for improving the connection efficiency of detection devices.

[0051] It should be noted that the detection device connection method provided by the present application can be applied to a detection device connection device. The detection device connection device can be a terminal, a server, etc. For example, the terminal can be a smart phone, a computer, a tablet computer, a smart TV, a smart watch, a portable computer terminal, or a fixed terminal such as a desktop computer. For the convenience of description, the present application takes the terminal as the execution subject for example.

[0052] Please refer to Figure 1 , Figure 1 An embodiment of the detection device connection method provided by the present application, the method includes:

[0053] 101. Display the function interface of the application software, which is used to control the target detection device;

[0054] In actual application, when a certain detection is required, the user can enter the function interface of the application software on the terminal. The application software is matched with the target detection device and can control the target detection device. There are different function buttons in the function interface. When detection is needed, the user can directly click the corresponding function button.

[0055] 102. Obtain the detection instruction sent by the user in the application software;

[0056] The terminal obtains the detection instruction sent by the user in the application software. After the terminal detects the instruction, it starts to search for the detection device within a certain range.

[0057] 103. Search for the target detection device within the preset range according to the detection instruction;

[0058] The terminal searches for the target detection device within the preset range according to the detection instruction. When detection is needed, the corresponding detection device is turned on in advance. After the user clicks the corresponding function button, the terminal searches for the target detection device within a certain range. The search can be performed in the background, and the terminal remains on the interface of the application software. The user does not need to pay attention to the search process. If the target detection device is found within the preset range, the terminal matches with the target detection device to establish a Bluetooth connection.

[0059] 104. Establish a Bluetooth connection with the target detection device in the background;

[0060] When the target detection device is matched within the preset range, the terminal establishes a Bluetooth connection with the target detection device in the background. The connection establishment process is performed in the background and can be not shown to the user. The user does not need to pay attention to this process and does not need to perform other operations. If the target detection device is not found within the preset range, the possible reason is that the target detection device is not in the on state. Then the terminal can generate feedback information to prompt the user to turn on the target detection device or prompt the user to place the target detection device within the preset range. Further, after the preset time, the terminal searches for the detection device within the preset range again according to the detection instruction. After a certain time, maybe the user has turned on the detection device, and at this time, the search can be initiated again.

[0061] 105. When the Bluetooth connection is established, call the target detection device to perform detection;

[0062] When the Bluetooth connection is established, the terminal can call the target detection device to perform detection through the application software and complete other functions based on this Bluetooth connection.

[0063] 106. Receive the detection result information sent by the target detection device through Bluetooth connection.

[0064] After the detection is completed, the target detection device sends the detection result information to the terminal through this Bluetooth connection. After receiving the detection result information, the terminal can display the information to the user or upload it to the cloud. After the detection is completed, when the terminal determines that the user exits the function interface, the terminal disconnects the Bluetooth connection. If the user exits the function interface, the terminal automatically disconnects this Bluetooth connection.

[0065] In the detection device connection method provided in this application, the user can send a detection instruction to the terminal in the function interface of the application software to call the target detection device. When the terminal receives the detection instruction, it will search for the detection device within a preset range according to the detection instruction and match it with the target detection device. After matching the target detection device, it will establish a Bluetooth connection with the target detection device in the background, and then call the detection device through the Bluetooth connection and receive the detection result information sent by the detection device. In this method, after the user sends the detection instruction to the terminal, the terminal will automatically start searching and establish a Bluetooth connection with the target detection device. After the Bluetooth connection is established, the detection device can be directly called, and the user does not need to manually select the Bluetooth device to be connected, which greatly improves the connection efficiency.

[0066] In practical applications, the application software can have multiple functions, and different functions have different function interfaces. When the user enters different function interfaces, different detection devices can be called to implement different functions. Therefore, different detection instructions contain different function information, and when the terminal matches the target detection device, it needs to match the target detection device according to the function information. Specifically, it will be described in detail below with reference to the accompanying drawings.

[0067] Please refer to Figure 2 , Figure 2 which is a schematic flowchart of an embodiment of the detection device connection method provided in this application. The method includes:

[0068] 201. Display the function interface of the application software, where the application software is used to control the target detection device;

[0069] 202. Obtain the detection instruction sent by the user in the application software;

[0070] 203. Identify the function detection information corresponding to the detection instruction;

[0071] In practice, the application software includes multiple functions, and the detection instruction includes function information of the functions enabled by the user in the application software. When the user performs a detection operation, different detection functions are selected according to the requirements, so that the terminal generates different detection instructions. The terminal identifies the function detection information corresponding to the detection instruction, and then determines the target detection device that actually needs to be connected according to the function detection information, and generates a corresponding Bluetooth matching identifier, eliminating the need for the user to manually select, and improving the convenience of use.

[0072] 204. Generate a Bluetooth matching identifier according to the function detection information;

[0073] 205. Match the target detection device according to the Bluetooth matching identifier;

[0074] The terminal matches with the target detection device according to the Bluetooth matching identifier generated in step 204.

[0075] 206. Establish a Bluetooth connection with the target detection device in the background;

[0076] 207. After the Bluetooth connection is established, call the target detection device for detection.

[0077] 208. Receive the detection result information sent by the target detection device through the Bluetooth connection.

[0078] The terminal calls the target detection device to detect the target human body. The target detection device collects the detection result information and sends the detection result information to the terminal. For example, the terminal calls the blood pressure detection device to measure the blood pressure information of the human body and sends the detected blood pressure information to the terminal through the established Bluetooth connection.

[0079] Steps 206 to 208 in this embodiment are similar to steps 104 to 106 in the foregoing embodiment, and will not be elaborated here.

[0080] In this embodiment, the terminal generates a Bluetooth matching identifier according to the function detection information of different functions to accurately match the target detection. When there are multiple detection devices, the user does not need to select which detection device to connect, greatly improving the connection efficiency.

[0081] The above embodiments have elaborated in detail the detection device connection method provided in the present application. Next, the detection device connection device and storage medium provided in the present application will be described in detail. Please refer to Figure 3 , Figure 3 is an embodiment of the detection device connection device provided in the present application, including:

[0082] A display unit 301, configured to display a function interface of the application software, where the application software is used to control the target detection device;

[0083] An acquisition unit 302, configured to acquire a detection instruction sent by a user in the application software;

[0084] A search unit 303, configured to search for a target detection device within a preset range according to the detection instruction;

[0085] A connection unit 304, configured to establish a Bluetooth connection with the target detection device in the background;

[0086] An invocation unit 305, configured to invoke the target detection device for detection when the Bluetooth connection is established;

[0087] A receiving unit 306, configured to receive detection result information sent by the target detection device through the Bluetooth connection.

[0088] Optionally, the search unit 303 is specifically configured to:

[0089] Identify function detection information corresponding to the detection instruction;

[0090] Generate a Bluetooth matching identifier according to the function detection information;

[0091] The connection unit 304 is configured to:

[0092] Establish a Bluetooth connection with the target detection device according to the Bluetooth matching identifier.

[0093] Optionally, it further includes: a feedback unit 307, and the feedback unit 307 is configured to:

[0094] Generate feedback information for prompting the user to turn on the target detection device.

[0095] Optionally, the search unit 303 is specifically configured to:

[0096] After a preset time, search for a target detection device within a preset range again according to the detection instruction.

[0097] Optionally, it further includes: a disconnection unit 308, configured to:

[0098] Disconnect the Bluetooth connection when it is determined that the user exits the function interface.

[0099] Please refer to Figure 4 , Figure 4 For an embodiment of the detection device connection system provided by this application, the system includes:

[0100] A processor 401, a memory 402, an input / output unit 403, and a bus 404;

[0101] The processor 401 is connected to the memory 402, the input / output unit 403, and the bus 404;

[0102] The memory 402 stores a program, and the processor 401 calls the program to execute any of the above detection device connection methods.

[0103] This application also relates to a computer-readable storage medium with a program stored thereon. It is characterized in that when the program runs on a computer, it causes the computer to execute any of the above detection device connection methods.

[0104] Those skilled in the art can clearly understand that for the convenience and simplicity of description, the specific working processes of the above-described systems, devices, and units can refer to the corresponding processes in the foregoing method embodiments and will not be elaborated herein.

[0105] In the several embodiments provided in this application, it should be understood that the disclosed systems, devices, and methods can be implemented in other ways. For example, the device embodiments described above are merely illustrative. For example, the division of the units is only a logical function division, and there can be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the displayed or discussed couplings or direct couplings or communication connections to each other can be through some interfaces, and the indirect couplings or communication connections of the devices or units can be in electrical, mechanical, or other forms.

[0106] The units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they can be located in one place or distributed to multiple network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0107] In addition, the functional units in each embodiment of this application can be integrated into one processing unit, or each unit can exist physically alone, or two or more units can be integrated into one unit. The above integrated units can be implemented in the form of hardware or in the form of software functional units.

[0108] When the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application, in essence, or the part that contributes to the prior art, or all or part of this technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions for causing a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in various embodiments of the present application. The foregoing storage medium includes: various media that can store program codes, such as USB flash drives, mobile hard disks, read-only memories (ROM, read-only memory), random access memories (RAM, random access memory), magnetic disks, or optical discs.

Claims

1. A method for connecting a detection device, characterized in that, the method includes: displaying a function interface of an application software for controlling a target detection device; obtaining a detection instruction sent by a user in the application software; searching for a target detection device within a preset range according to the detection instruction; establishing a Bluetooth connection with the target detection device in the background; when the Bluetooth connection is established, calling the target detection device for detection; receiving detection result information sent by the target detection device through the Bluetooth connection; searching for a target detection device within a preset range according to the detection instruction includes: identifying function detection information corresponding to the detection instruction; generating a Bluetooth matching identifier according to the function detection information; establishing a Bluetooth connection with the target detection device in the background includes: establishing a Bluetooth connection with the target detection device according to the Bluetooth matching identifier; when the target detection device is not detected within the preset range, after searching for the target detection device within the preset range according to the detection instruction, the method further includes: generating feedback information for prompting the user to turn on the target detection device.

2. The method for connecting a detection device according to claim 1, characterized in that, after generating the feedback information, the method further includes: after a preset time, searching for the target detection device within the preset range again according to the detection instruction.

3. The method for connecting a detection device according to claim 1, characterized in that, after receiving the detection result information sent by the target detection device, the method further includes: when it is determined that the user exits the function interface, disconnecting the Bluetooth connection.

4. A detection device connection device, characterized in that, it includes: a display unit for displaying a function interface of an application software for controlling a target detection device; an acquisition unit for acquiring a detection instruction sent by a user in the application software; a search unit for searching for a target detection device within a preset range according to the detection instruction; a connection unit for establishing a Bluetooth connection with the target detection device in the background; a call unit for calling the target detection device for detection when the Bluetooth connection is established; a receiving unit for receiving detection result information sent by the target detection device through the Bluetooth connection; the search unit is specifically used for: identifying function detection information corresponding to the detection instruction; generating a Bluetooth matching identifier according to the function detection information; the connection unit is used for: establishing a Bluetooth connection with the target detection device according to the Bluetooth matching identifier; it further includes: a feedback unit, and the feedback unit is used for: generating feedback information for prompting the user to turn on the target detection device.

5. A detection device connection system, characterized in that, it includes: a processor, a memory, an input / output unit, and a bus; the processor is connected to the memory, the input / output unit, and the bus; the memory stores a program, and the processor calls the program to execute the method according to any one of claims 1 to 3.

6. A computer-readable storage medium having a program stored thereon, and the program, when executed on a computer, performs the method according to any one of claims 1 to 3.

Citation Information

Patent Citations

  • Bluetooth product test method and apparatus

    CN106851678A

  • One-key pairing Bluetooth connection processing method and system, remote controller, terminal and medium

    CN110662097A