Network configuration method of medical equipment and related device

By using the first electronic device in the implanted stimulator system to receive the doctor's end parameters and connect to the home Wi-Fi, the problem of inconvenient adjustment of stimulation parameters is solved, remote control is realized, and the convenience and effect of treatment are improved.

CN119232572APending Publication Date: 2024-12-31SCENERAY
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310738467.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-06-21
Publication Date
2024-12-31

AI Technical Summary

Technical Problem

The stimulation parameters of implantable stimulators are inconvenient to adjust, making it difficult for patients to remotely control in a timely manner, especially when hospitals are scarce or far away.

Method used

The first electronic device receives the adjustment parameters sent by the doctor's terminal, and uses the distribution network setting information to connect to the home Wi-Fi network, realizing remote data transmission between the doctor's terminal and the stimulator, allowing the patient to remotely adjust the stimulation parameters at home.

Benefits of technology

It improves the convenience and flexibility of treatment, reduces dependence on hospitals, and ensures personalized and real-time treatment effects.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119232572A_ABST
    Figure CN119232572A_ABST
Patent Text Reader

Abstract

The invention provides a medical device network configuration method, a medical device network configuration system, a first electronic device, a second electronic device, a computer readable storage medium and a computer program product, the method is applied to the first electronic device, the first electronic device is used for receiving an adjustment parameter sent by a doctor end and sending the adjustment parameter to a stimulator, and the stimulator sends the adjustment parameter to the doctor end. The stimulation parameters of the stimulator are adjusted; the method comprises the following steps: acquiring distribution network setting information; the network distribution setting information comprises a name and a password of a target network; and accessing the first electronic equipment to the target network based on the network distribution setting information. The problem that stimulation parameters of the stimulator are inconvenient to adjust can be solved, and the requirement of a patient for remote program control is met.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of deep brain stimulation, and in particular to a network configuration method for medical equipment, a network configuration system for medical equipment, a first electronic device, a second electronic device, a computer-readable storage medium, and a computer program product. Background Art

[0002] With the development of science and technology and social progress, patients are eager to improve their quality of life through various treatment methods. Among them, medical devices, especially implantable devices, have a very broad application prospect. Implantable devices refer to medical devices that are fully or partially inserted into the human body or cavity (orifice) with the help of surgery, or are used to replace the human epithelial surface or eye surface, and remain in the human body for 30 days (inclusive) or more after the operation, or are absorbed by the human body. A stimulator is a type of implantable device. The stimulator usually includes an IPG (Implantable Pulse Generator), an extension wire and an electrode wire, which can provide patients with parameter-controllable refined electrical stimulation treatment and is welcomed by many consumers in the market. After the implantation of the stimulator, the patient also needs to go to the hospital for irregular review for a long time to check the effectiveness of the stimulation parameters to ensure the stimulation effect of the stimulator. However, in reality, patients are affected by various factors such as the long distance to the hospital, the shortage of medical resources, and the inconvenience of queuing, and are unable to go to the hospital for review in time. There is a problem of inconvenience in adjusting the stimulation parameters of the stimulator. At the same time, patients have an increasingly strong demand for remote programming.

[0003] Based on this, the present application provides a network configuration method for medical equipment, a network configuration system for medical equipment, a first electronic device, a second electronic device, a computer-readable storage medium and a computer program product to improve related technologies. Summary of the invention

[0004] The purpose of this application is to provide a network configuration method for medical equipment, a network configuration system for medical equipment, a first electronic device, a second electronic device, a computer-readable storage medium and a computer program product, which can solve the problem of inconvenient adjustment of stimulation parameters of a stimulator and meet the patient's needs for remote programming.

[0005] The purpose of this application is achieved by the following technical solutions:

[0006] In a first aspect, the present application provides a network configuration method for a medical device, which is applied to a first electronic device, wherein the first electronic device is used to receive adjustment parameters sent by a doctor and send the adjustment parameters to a stimulator to adjust the stimulation parameters of the stimulator; the method comprises:

[0007] Obtaining network configuration information; the network configuration information includes the name and password of the target network;

[0008] Based on the network configuration setting information, the first electronic device is connected to the target network.

[0009] The beneficial effect of the technical solution is that the first electronic device needs to obtain the network configuration setting information of the target network, including the name and password of the target network. For example, the target network is a home Wi-Fi network, and the name and password of the Wi-Fi are set on the home Wi-Fi router and provided to the first electronic device. Based on the obtained network configuration setting information, the first electronic device will perform the operation of connecting to the home Wi-Fi network. Use the name and password of the target network in the network configuration setting information for identity authentication and establish a connection with the target network. Once the first electronic device successfully accesses the home Wi-Fi network, it can go online to receive the adjustment parameters sent by the doctor's end, and transmit the adjustment parameters to the stimulator in the patient's body to adjust the stimulation parameters of the stimulator. By connecting the first electronic device to the home Wi-Fi network, data transmission between the doctor's end and the stimulator is realized. Patients can use the Wi-Fi network at home, without the need for additional dedicated equipment or network connection, to conveniently communicate remotely with the doctor's end and remotely control the stimulation parameters. On the one hand, the home Wi-Fi network is accessed by the first electronic device, and the adjustment parameters sent by the doctor's end for adjusting the stimulation parameters of the stimulator are received. Patients can remotely adjust the stimulation parameters at home without going to the hospital, which improves the convenience and flexibility of treatment. On the other hand, after the first electronic device is connected to the home Wi-Fi network, the doctor can make real-time personalized treatment adjustments based on the patient's specific situation and needs, thereby improving the treatment effect. On the other hand, by using the home Wi-Fi network for remote communication, the patient can receive the doctor's adjustment guidance in a comfortable home environment, which helps to provide a more convenient treatment experience for the patient.

[0010] In some optional implementations, the obtaining network configuration setting information includes:

[0011] Sending network configuration broadcast information to the second electronic device, so that the second electronic device returns connection authentication information after receiving the network configuration broadcast information;

[0012] Receiving the connection authentication information, and detecting whether the connection authentication information is correct;

[0013] If correct, establishing a communication connection between the first electronic device and the second electronic device so that the second electronic device sends the network configuration setting information to the first electronic device;

[0014] The network configuration setting information is received.

[0015] The beneficial effect of the technical solution is that during the network configuration process, the first electronic device sends a network configuration broadcast information. The network configuration broadcast information can be transmitted via wireless signals or other communication methods. After receiving the network configuration broadcast information, the second electronic device returns the connection authentication information to the first electronic device. The connection authentication information is used to verify the identity of the second electronic device and ensure the security and accuracy of the connection establishment. After receiving the connection authentication information, the first electronic device will perform a test to verify its correctness, including decryption, identity authentication or other security checks on the connection authentication information to ensure the reliability and security of the connection establishment. If the connection authentication information is successfully verified, a communication connection will be established between the first electronic device and the second electronic device. Once the communication connection is established, the second electronic device can send the network configuration setting information to the first electronic device. The network configuration setting information includes the name, password or other related network configuration parameters of the target network, which is used to connect the first electronic device to the target network. On the one hand, by sending the network configuration broadcast information and receiving the connection authentication information, an automated network configuration process is realized. There is no need to manually enter the network setting information, which reduces the complexity of the operation and the possibility of errors. At the same time, for the situation where the first electronic device does not have its own external display device and input device, its network configuration process is realized. On the other hand, by verifying the connection authentication information and using a secure communication mechanism, the security of the connection between the first electronic device and the second electronic device is ensured, which helps prevent unauthorized access and data leakage. On the other hand, by establishing a communication connection and transmitting the network configuration information, the first electronic device can easily connect to the target network, and the network configuration process can be quickly completed through the network configuration information provided by the second electronic device.

[0016] In some optional implementations, the distribution network broadcast information includes a device identification code of the first electronic device; the connection authentication information includes a first verification code, which is obtained by processing the device identification code;

[0017] The detecting whether the connection authentication information is correct includes:

[0018] Processing the device identification code based on a preset verification code algorithm to obtain a second verification code;

[0019] Determine whether the connection authentication information is correct according to the first verification code and the second verification code.

[0020] The beneficial effect of the technical solution is that the first electronic device has a unique device identification code, which is transmitted in the distribution network broadcast information. The first verification code in the connection authentication information is generated by performing specific processing on the device identification code. This processing may include using an encryption algorithm, a hash function or other verification code algorithm to ensure that the generated first verification code is a unique value associated with the device identification code. During the network configuration process, a preset verification code algorithm is used to process the device identification code to generate a second verification code. The verification code algorithm may be a pre-set algorithm that matches the first verification code generation algorithm. Through the preset verification code algorithm, the second verification code is generated as a value related to the device identification code. During the connection authentication process, the first verification code and the second verification code are compared. If the two verification codes match, it is determined that the connection authentication information is correct. Thereby ensuring that the device identification code has not been tampered with during the transmission process, and the connection establishment between the first electronic device and the second electronic device is credible. On the one hand, by using the generation, processing and comparison of the device identification code and the verification code, the accuracy and security of the connection authentication information are ensured, which helps to prevent unauthorized device access and data leakage, and protect the security of the connection. On the other hand, since the device identification code and verification code are unique and use a specific processing and verification code algorithm, it is possible to effectively prevent the device identification code from being tampered with or impersonated, ensuring the reliability and accuracy of the connection authentication process. On the other hand, by using the device identification code and the preset verification code algorithm, an automated authentication process is achieved. There is no need to manually enter or verify the connection authentication information, reducing the complexity of the operation and the possibility of errors.

[0021] In some optional implementations, the receiving the network configuration setting information includes:

[0022] receiving a network search instruction sent by the second electronic device, and performing a network search according to the network search instruction to obtain a network search set; the network search set includes at least one network to be connected;

[0023] The network search set is sent to the second electronic device.

[0024] The beneficial effect of the technical solution is that the first electronic device, as a receiver, receives the network search instruction sent by the second electronic device. According to the received network search instruction, the first electronic device performs a network search operation to search all networks that it can search and generates a network search set. The network search set is generated according to the search results, which contains at least one network to be connected. The search results may be multiple available connection networks, such as Wi-Fi networks, or other types of networks, such as mobile data networks, satellite networks, etc. The first electronic device sends the generated network search set back to the second electronic device so that the latter can obtain the network search set. On the one hand, by receiving the network search instruction of the second electronic device and sending the network search set, a convenient way is provided to find the network available to the first electronic device. On the other hand, the user does not need to manually search and filter the available networks, but sends the network search instruction through the second electronic device, and the first electronic device performs the search operation on behalf of the user, which reduces the user's workload and improves the user experience. On the other hand, when the first electronic device and the second electronic device are located in different locations, the network search operation is performed by the first electronic device so that the user can select a suitable network for the first electronic device to set up. On the other hand, the second electronic device can use the search capability of the first electronic device to obtain more comprehensive and accurate network search results, thereby enhancing the network discovery function. In some optional embodiments, the method further comprises:

[0025] detecting the communication quality of the first electronic device in real time;

[0026] When it is detected that the communication quality of the first electronic device does not meet the preset communication quality condition, sending a communication optimization request to the second electronic device so that the second electronic device obtains optimization operation information after receiving the communication optimization request;

[0027] The optimization operation information sent by the second electronic device is received, and the communication optimization operation indicated by the optimization operation information is performed to improve the communication quality of the first electronic device.

[0028] The beneficial effect of the technical solution is that the performance and reliability of the first electronic device are evaluated by monitoring the communication quality of the first electronic device in real time. This includes detecting data transmission rate, signal strength, delay or other indicators to determine whether the communication quality meets the preset communication quality conditions. When it is detected that the communication quality of the first electronic device does not meet the preset communication quality conditions, a communication optimization request is sent to the second electronic device. The communication optimization request notifies the second electronic device of the current communication problem and requests to obtain optimization operation information to improve the communication quality. After receiving the optimization operation information, the first electronic device will perform the indicated optimization operation. On the one hand, by detecting the communication quality in real time and sending the communication optimization request, the communication problem of the first electronic device can be discovered and solved in time. By performing the communication optimization operation, the communication quality can be improved immediately, and the stability and reliability of data transmission can be improved. On the other hand, the optimization operation information generated by the second electronic device is used to realize an automated communication optimization process. There is no need for manual intervention or adjustment of device settings, which reduces the complexity of operation and the possibility of errors. On the other hand, by improving the communication quality of the first electronic device, it is ensured that the adjustment parameters sent by the doctor end are accurately transmitted to the stimulator, thereby improving the treatment effect. The optimized communication quality can ensure that the stimulation parameters of the stimulator are adjusted as expected to meet the treatment needs.

[0029] In some optional implementations, the communication optimization operation includes at least one of enabling data roaming, switching Wi-Fi networks, changing Wi-Fi channels, switching wired connections, and adjusting antenna directions.

[0030] The beneficial effect of this technical solution is that starting data roaming means turning off the Wi-Fi network of the first electronic device, and starting data roaming, and continuing to maintain network connection through a mobile network (such as 4G, 5G). Switching Wi-Fi networks. If the signal of the currently connected Wi-Fi network is weak or unstable, the first electronic device can switch to other available Wi-Fi networks to obtain better signal quality and a more stable connection. Changing the Wi-Fi channel. When using a Wi-Fi network, channel interference or congestion may occur. By changing the Wi-Fi channel, the first electronic device can avoid interference with other devices, thereby improving communication quality. Switching to a wired connection. If the first electronic device supports a wired connection, it can switch to a wired connection when the Wi-Fi signal is unstable or unreliable to obtain a more stable and reliable network connection. Adjusting the direction of the antenna. If the first electronic device uses an antenna for wireless communication, the signal reception and transmission effect can be improved by adjusting the direction of the antenna. This includes rotating, tilting, or moving the antenna to maximize signal quality and coverage.

[0031] In some optional implementations, the obtaining network configuration setting information includes:

[0032] Acquire the user's voice information; the voice information includes the name and password of the target network;

[0033] Perform voice recognition and content analysis on the voice information to obtain the network configuration information.

[0034] The beneficial effect of the technical solution is that: the user's voice information is collected through a suitable hardware device (such as a microphone or a voice recognition device), and the voice information includes the name and password of the target network. The collected voice information is converted into text form using a voice recognition algorithm or model. The recognized text is subjected to content analysis to extract the name and password of the target network and other network configuration setting information. On the one hand, through voice information collection, the user does not need to manually enter the name and password of the target network and other information, eliminating the cumbersome input process and improving the user experience. On the other hand, using voice recognition and content analysis technology, the voice information can be converted into text with high accuracy, and key information such as the name and password of the target network can be extracted. On the other hand, since the voice information collection process is completed automatically, the user can avoid entering sensitive information such as passwords into the keyboard, reducing the risk of password leakage. On the other hand, through the extracted network configuration setting information, the network configuration process can be automatically executed, reducing the user's operation steps and improving user convenience.

[0035] In a second aspect, the present application provides a network configuration method for a medical device, which is applied to a second electronic device, and the method includes:

[0036] Receiving network distribution broadcast information sent by the first electronic device;

[0037] generating connection authentication information based on the distribution network broadcast information, and sending the connection authentication information to the first electronic device;

[0038] detecting whether a communication connection between the first electronic device and the second electronic device is established;

[0039] If yes, obtain the network configuration information;

[0040] The network configuration setting information is sent to the first electronic device through the communication connection.

[0041] The beneficial effect of this technical solution is that the second electronic device learns that the first electronic device is waiting for network configuration through the received network distribution broadcast information. The second electronic device generates connection authentication information based on the network distribution broadcast information and sends it to the first electronic device. After the first electronic device receives the connection authentication information, it will verify whether the communication connection with the second electronic device is established. If the communication connection is successfully established, the second electronic device will be able to obtain the network distribution setting information, such as the user selecting the name of the target network and entering the corresponding password. The second electronic device sends the network distribution setting information determined by the user to the first electronic device through the communication connection to ensure that the first electronic device is correctly configured and connected to the target network. On the one hand, through the interaction of the network distribution broadcast information and the connection authentication information, the steps of manually entering network information are reduced, simplifying the network configuration process. On the other hand, the automatically generated connection authentication information can ensure accuracy and reduce the possibility of configuration errors. On the other hand, through the automated network distribution process, the first electronic device can connect to the network provided by the second electronic device more quickly, saving time and effort.

[0042] In summary, the network configuration process of the first electronic device is simplified, and a faster, more accurate and convenient configuration experience is provided, which helps to improve the usability of the device and the treatment effect of the patient.

[0043] In some optional implementations, the obtaining network configuration setting information includes:

[0044] Sending a network search instruction to the first electronic device so that the first electronic device performs a network search to obtain a network search set; the network search set includes at least one network to be connected;

[0045] Receiving the network search set sent by the first electronic device;

[0046] In response to a selection operation on one of the networks to be connected, taking the selected network to be connected as a target network;

[0047] The name and password of the target network are obtained as the network configuration setting information.

[0048] The beneficial effect of the technical solution is that the second electronic device sends a network search instruction to the first electronic device, and the network search instruction is used to request the first electronic device to perform a network search operation. During the search process, the first electronic device scans the available network signals around it, and forms a network search set with the searched network set. The network search set contains at least one network to be connected, that is, a network that can be used as a potential target network. The second electronic device receives the network search set from the first electronic device. The user selects the network to be connected and selects a network to be connected from the network search set as the target network. This can be a manual selection by the user or an automatic selection by an algorithm or rule. Once the user selects the target network, the first electronic device obtains the name and password of the target network as the network configuration setting information. On the one hand, by sending a network search instruction to the first electronic device, the user does not need to search the network manually, which reduces cumbersome operation steps and improves the convenience of use. At the same time, the second electronic device assists the first electronic device in network search and selection, providing users with more choices and convenience, making multi-device collaborative network configuration more flexible and efficient. On the other hand, the user can select the target network according to their needs and preferences, making the connection process more personalized and meeting the specific needs of the user. On the other hand, when the first electronic device and the second electronic device are located in different locations, the first electronic device performs a network search operation by sending a network search instruction to the first electronic device, so that the user can remotely configure the network for the first electronic device.

[0049] In some optional implementations, the distribution network broadcast information includes a device identification code of the first electronic device;

[0050] The generating connection authentication information based on the distribution network broadcast information includes:

[0051] Processing the device identification code based on a preset verification code algorithm to obtain a first verification code;

[0052] The connection authentication information is generated according to the first verification code.

[0053] The beneficial effect of this technical solution is that the network distribution broadcast information broadcast by the first electronic device contains its device identification code, which is a unique identifier. Based on a preset verification code algorithm, the device identification code of the first electronic device is processed to generate a first verification code. According to the first verification code, connection authentication information is generated. The connection authentication information may include a first verification code, a connection key or other identification information. On the one hand, by processing the device identification code and generating the first verification code, the uniqueness and security of the connection authentication information are ensured. On the other hand, by using the device identification code and the verification code, the first electronic device does not need to manually enter complex network configuration information, which simplifies the network configuration steps. On another hand, by processing the device identification code through a preset verification code algorithm, the possibility of configuration errors is reduced and the accuracy of the configuration is improved. On another hand, using the connection authentication information generated based on the device identification code and the verification code ensures that only authenticated devices can establish a communication connection, thereby increasing security.

[0054] In some optional embodiments, the method further comprises:

[0055] Receiving a communication optimization request sent by the first electronic device;

[0056] According to the communication optimization request, obtaining optimization operation information; the optimization operation information refers to information used to adjust network settings to optimize communication performance;

[0057] The optimized operation information is sent to the first electronic device via the communication connection.

[0058] The beneficial effect of the technical solution is that the second electronic device receives the network configuration setting information sent by the first electronic device. The second electronic device receives the communication optimization request sent by the first electronic device, indicating that the communication quality of the first electronic device does not meet the preset communication quality condition. Based on the communication optimization request, the second electronic device obtains the optimization operation information. Through the communication connection, the second electronic device sends the optimization operation information to the first electronic device. The first electronic device can adjust the network settings according to the received optimization operation information to optimize its communication performance. On the one hand, by obtaining the optimization operation information and sending it to the first electronic device, the first electronic device can make corresponding network settings adjustments to optimize its communication performance. On the other hand, the second electronic device can promptly receive and process the communication optimization request sent by the first electronic device, reducing the response time of the communication quality problem. On the other hand, by obtaining the optimization operation information according to the network configuration setting information and the communication optimization request, personalized optimization settings can be provided for different network environments and communication needs. On the other hand, the first electronic device can automatically adjust the network settings by receiving and executing the optimization operation information, reducing the user's manual intervention, and improving convenience and user experience.

[0059] In a third aspect, the present application provides a first electronic device, which is used to receive adjustment parameters sent by a doctor and send them to a stimulator to adjust stimulation parameters of the stimulator; the first electronic device includes:

[0060] An information acquisition module, the information acquisition module is used to acquire network configuration setting information; the network configuration setting information includes a target network name and a password;

[0061] A network connection module is used to connect the first electronic device to the target network based on the network configuration setting information.

[0062] In some optional implementations, the information acquisition module includes:

[0063] A broadcast sending module, the broadcast sending unit is used to send the configuration network broadcast information to the second electronic device, so that the second electronic device returns the connection authentication information after receiving the configuration network broadcast information;

[0064] A connection authentication module, wherein the connection authentication unit is used to receive the connection authentication information and detect whether the connection authentication information is correct;

[0065] A communication establishing module, wherein the communication establishing unit is used to establish a communication connection between the first electronic device and the second electronic device when detecting that the connection authentication information is correct, so as to transmit the network configuration setting information sent by the second electronic device;

[0066] The network configuration receiving module is used to receive the network configuration setting information.

[0067] In some optional implementations, the connection authentication module includes:

[0068] A second verification code unit, the second verification code unit is used to process the device identification code based on a preset verification code algorithm to obtain a second verification code;

[0069] An authentication confirmation unit, wherein the authentication confirmation unit is used to determine whether the connection authentication information is correct based on the first verification code and the second verification code.

[0070] In some optional implementations, the first electronic device further includes:

[0071] A quality detection module, the quality detection module is used to detect the communication quality of the first electronic device in real time;

[0072] an optimization request module, wherein the optimization request module is used to send a communication optimization request to the second electronic device when it is detected that the communication quality of the first electronic device does not meet a preset communication quality condition, so that the second electronic device obtains optimization operation information after receiving the communication optimization request;

[0073] An optimization execution module, wherein the optimization execution module is used to receive the optimization operation information sent by the second electronic device, and execute the communication optimization operation indicated by the optimization operation information to improve the communication quality of the first electronic device.

[0074] In a fourth aspect, the present application provides a second electronic device, the second electronic device comprising:

[0075] A broadcast receiving module, the broadcast receiving unit is used to receive the distribution network broadcast information sent by the first electronic device;

[0076] An authentication generation module, the authentication generation unit is used to generate connection authentication information based on the distribution network broadcast information, and send the connection authentication information to the first electronic device;

[0077] a communication detection module, the communication detection unit being used to detect whether a communication connection is established between the first electronic device and the second electronic device;

[0078] The network configuration sending module is used to obtain network configuration setting information when detecting that the communication connection is established, and send the network configuration setting information to the first electronic device.

[0079] In some optional implementations, the authentication generation module includes:

[0080] A first verification code unit, the first verification code unit is used to process the device identification code based on a preset verification code algorithm to obtain a first verification code;

[0081] The authentication generation unit is used to generate the connection authentication information according to the first verification code.

[0082] In some optional implementations, the second electronic device further includes:

[0083] a request receiving module, the request receiving module being used to receive a communication optimization request sent by the first electronic device;

[0084] An operation acquisition module, the operation acquisition module is used to acquire optimization operation information according to the communication optimization request; the optimization operation information refers to information used to adjust network settings to optimize communication performance;

[0085] An operation sending module, wherein the operation sending module is used to send the optimization operation information to the first electronic device through the communication connection.

[0086] In a fifth aspect, the present application provides a network configuration system for a medical device, the system comprising:

[0087] A first electronic device, the first electronic device being used to implement any one of the steps of the above-mentioned method for configuring a medical device network applied to the first electronic device;

[0088] A second electronic device, wherein the second electronic device is used to implement any one of the steps of the above-mentioned network configuration method for a medical device applied to the second electronic device.

[0089] In a sixth aspect, the present application provides a first electronic device, the electronic device comprising a memory and at least one processor, the memory storing a computer program, and the at least one processor implementing the following steps when executing the computer program:

[0090] Obtaining network configuration information; the network configuration information includes the name and password of the target network;

[0091] Based on the network configuration setting information, the first electronic device is connected to the target network.

[0092] In some optional implementations, when the at least one processor executes the computer program, the network configuration setting information is acquired in the following manner:

[0093] Sending network configuration broadcast information to the second electronic device, so that the second electronic device returns connection authentication information after receiving the network configuration broadcast information;

[0094] Receiving the connection authentication information, and detecting whether the connection authentication information is correct;

[0095] If correct, establishing a communication connection between the first electronic device and the second electronic device so that the second electronic device sends the network configuration setting information to the first electronic device;

[0096] The network configuration setting information is received.

[0097] In some optional implementations, the distribution network broadcast information includes a device identification code of the first electronic device; the connection authentication information includes a first verification code, which is obtained by processing the device identification code; and when the at least one processor executes the computer program, the following method is used to detect whether the connection authentication information is correct:

[0098] Processing the device identification code based on a preset verification code algorithm to obtain a second verification code;

[0099] Determine whether the connection authentication information is correct according to the first verification code and the second verification code.

[0100] In some optional implementations, the at least one processor further implements the following steps when executing the computer program:

[0101] detecting the communication quality of the first electronic device in real time;

[0102] When it is detected that the communication quality of the first electronic device does not meet the preset communication quality condition, sending a communication optimization request to the second electronic device so that the second electronic device obtains optimization operation information after receiving the communication optimization request;

[0103] The optimization operation information sent by the second electronic device is received, and the communication optimization operation indicated by the optimization operation information is performed to improve the communication quality of the first electronic device.

[0104] In a seventh aspect, the present application provides a second electronic device, the electronic device comprising a memory and at least one processor, the memory storing a computer program, and the at least one processor implementing the following steps when executing the computer program:

[0105] Receiving network distribution broadcast information sent by the first electronic device;

[0106] generating connection authentication information based on the distribution network broadcast information, and sending the connection authentication information to the first electronic device;

[0107] detecting whether a communication connection between the first electronic device and the second electronic device is established;

[0108] If yes, obtain the network configuration information;

[0109] The network configuration setting information is sent to the first electronic device through the communication connection.

[0110] In some optional implementations, the configuration network broadcast information includes a device identification code of the first electronic device; when the at least one processor executes the computer program, the connection authentication information is generated based on the configuration network broadcast information in the following manner:

[0111] Processing the device identification code based on a preset verification code algorithm to obtain a first verification code;

[0112] The connection authentication information is generated according to the first verification code.

[0113] In some optional implementations, the at least one processor further implements the following steps when executing the computer program:

[0114] Receiving a communication optimization request sent by the first electronic device;

[0115] According to the communication optimization request, obtaining optimization operation information; the optimization operation information refers to information used to adjust network settings to optimize communication performance;

[0116] The optimized operation information is sent to the first electronic device via the communication connection.

[0117] In an eighth aspect, the present application provides a computer-readable storage medium storing a computer program, which, when executed by at least one processor, implements any one of the steps of the above-mentioned network configuration method for a medical device applied to a first electronic device or implements any one of the steps of the above-mentioned network configuration method for a medical device applied to a second electronic device.

[0118] In a ninth aspect, the present application also provides a computer program product, comprising a computer program, which, when executed by at least one processor, implements any of the steps of the above-mentioned network configuration method for a medical device applied to a first electronic device or implements any of the steps of the above-mentioned network configuration method for a medical device applied to a second electronic device. BRIEF DESCRIPTION OF THE DRAWINGS

[0119] The present application is further described below in conjunction with the accompanying drawings and implementation methods.

[0120] Figure 1 A structural block diagram of a network configuration system for medical equipment provided in an embodiment of the present application is shown.

[0121] Figure 2 A schematic flow chart of a first electronic device network configuration method provided in an embodiment of the present application is shown.

[0122] Figure 3 A schematic diagram of a process for obtaining network configuration information provided by an embodiment of the present application is shown.

[0123] Figure 4 A schematic diagram of a process for optimizing communication quality provided in an embodiment of the present application is shown.

[0124] Figure 5 A schematic flow chart of a second electronic device network configuration method provided in an embodiment of the present application is shown.

[0125] Figure 6 A schematic diagram of a process for sending optimization operation information provided by an embodiment of the present application is shown.

[0126] Figure 7 A structural block diagram of a first electronic device provided in an embodiment of the present application is shown.

[0127] Figure 8 A structural block diagram of a second electronic device provided in an embodiment of the present application is shown.

[0128] Fig. 9 A schematic diagram of the structure of a program product provided in an embodiment of the present application is shown. DETAILED DESCRIPTION

[0129] The technical solution in the present application will be described below in conjunction with the drawings and specific implementation methods of the specification of the present application. It should be noted that, under the premise of no conflict, the various implementation methods or technical features described below can be arbitrarily combined to form a new implementation method.

[0130] In the embodiments of the present application, "at least one" refers to one or more, and "plurality" refers to two or more. "And / or" describes the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone, where A and B can be singular or plural. The character " / " generally indicates that the associated objects before and after are in an "or" relationship. "At least one of the following" or similar expressions refers to any combination of these items, including any combination of single or plural items. For example, at least one of a, b or c can represent: a, b, c, a and b, a and c, b and c, a and b and c, where a, b and c can be single or multiple. It is worth noting that "at least one" can also be interpreted as "one or more items".

[0131] It should also be noted that in the embodiments of the present application, words such as "exemplary" or "for example" are used to indicate examples, illustrations or descriptions. Any implementation or design scheme described as "exemplary" or "for example" in the embodiments of the present application should not be interpreted as being more preferred or more advantageous than other implementations or designs. Specifically, the use of words such as "exemplary" or "for example" is intended to present related concepts in a specific way.

[0132] Below, one of the application fields (i.e., implantable devices) of the embodiments of the present application is first briefly described.

[0133] An implantable neurostimulation system (an implantable medical system) mainly includes a stimulator implanted in the patient's body (i.e., an implantable neurostimulator) and a programmable device arranged outside the patient's body. Neuroregulation technology mainly involves implanting electrodes in specific structures (i.e., targets) in the body through stereotactic surgery, and the stimulator implanted in the patient's body emits discharge pulses to the target through the electrodes to regulate the electrical activity and function of the corresponding neural structures and networks, thereby improving symptoms and relieving pain. Among them, the stimulator can be any one of an implantable neuroelectric stimulation device, an implantable cardiac electrical stimulation system (also known as a pacemaker), an implantable drug delivery system (Implantable Drug Delivery System, referred to as IDDS), and a lead switching device. Implantable neural stimulation devices include, for example, the Deep Brain Stimulation (DBS) system, the Implantable Cortical Nerve Stimulation (CNS) system, the Implantable Spinal Cord Stimulation (SCS) system, the Implantable Sacral Nerve Stimulation (SNS) system, the Implantable Vagus Nerve Stimulation (VNS) system, etc.

[0134] The stimulator may include an IPG and an electrode lead. The IPG (implantable pulse generator) is arranged in the patient's body, receives the program-controlled instructions sent by the program-controlled device, relies on a sealed battery and a circuit to provide controllable electrical stimulation energy to the body tissue, and delivers one or two controllable specific electrical stimulations to specific areas of the body tissue through the implanted electrode lead. It can also be considered that the electrode lead includes an extension lead and a stimulation segment. The extension lead is used in conjunction with the IPG as a transmission medium for the electrical stimulation signal, and the electrical stimulation signal generated by the IPG is transmitted to the stimulation segment of the electrode lead. The electrode lead delivers electrical stimulation to specific areas of the body tissue through multiple electrode contacts of the stimulation segment. The stimulator is provided with one or more electrode leads on one side or both sides, and multiple electrode contacts are arranged on the stimulation segment of the electrode lead. The electrode contacts can be arranged uniformly or non-uniformly on the circumference of the electrode lead. As an example, the electrode contacts can be arranged in an array of 4 rows and 3 columns (a total of 12 electrode contacts) on the circumference of the stimulation segment of the electrode lead. The electrode contacts may include stimulation electrode contacts and / or collection electrode contacts. The electrode contacts may be in the shape of sheets, rings, dots, etc., for example.

[0135] In some possible embodiments, the stimulated body tissue may be the patient's brain tissue, and the stimulated site may be a specific site of the brain tissue. When the patient's disease type is different, the stimulated site is generally different, and the number of stimulation contacts (single source or multiple sources) used, the use of one or more (single channel or multiple channels) specific electrical stimulation signals, and the stimulation parameter data are also different. The embodiments of the present application do not limit the applicable disease types, which may be deep brain stimulation (DBS), spinal cord stimulation (SCS), pelvic stimulation, gastric stimulation, peripheral nerve stimulation, and functional electrical stimulation. Applicable disease types. Among them, the types of diseases that DBS can be used to treat or manage include, but are not limited to: spastic disorders (e.g., epilepsy), pain, migraine, psychiatric disorders (e.g., major depressive disorder (MDD)), bipolar disorder, anxiety disorders, post-traumatic stress disorder, hypotension, obsessive-compulsive disorder (OCD), behavioral disorders, mood disorders, memory disorders, mental state disorders, movement disorders (e.g., essential tremor or Parkinson's disease), Huntington's disease, Alzheimer's disease, drug addiction, autism or other neurological or psychiatric diseases and injuries.

[0136] In the embodiment of the present application, when the programmable device and the stimulator establish a programmable connection, the programmable device can be used to adjust the stimulation parameters of the stimulator (different stimulation parameters correspond to different electrical stimulation signals), or the stimulator can be used to sense the bioelectric activity deep in the patient's brain to collect electrophysiological signals, and the collected electrophysiological signals can be used to continue to adjust the stimulation parameters of the stimulator's electrical stimulation signals.

[0137] The stimulation parameters may include at least one of the following: frequency (for example, the number of electrical stimulation pulse signals within a unit time of 1s, in Hz), pulse width (duration of each pulse, in μs), amplitude (generally expressed in voltage, that is, the intensity of each pulse, in V), timing (for example, it can be continuous or burst, and burst refers to a timing behavior composed of multiple processes and not continuous), upper and lower limits controlled by the doctor (the range that the doctor can adjust) and upper and lower limits controlled by the patient (the range that the patient can adjust independently), and waveform (sine wave, square wave).

[0138] In a specific application scenario, various stimulation parameters of the stimulator can be adjusted in current mode or voltage mode.

[0139] The program-controlled device may be a doctor program-controlled device (i.e., a program-controlled device used by a doctor) or a patient program-controlled device (i.e., a program-controlled device used by a patient). The doctor program-controlled device may be, for example, a tablet computer, a laptop computer, a desktop computer, a mobile phone or other intelligent terminal device equipped with program-controlled software. The patient program-controlled device may be, for example, a tablet computer, a laptop computer, a desktop computer, a mobile phone or other intelligent terminal device equipped with program-controlled software. The patient program-controlled device may also be other electronic devices with program-controlled functions (e.g., a charger with program-controlled functions, a data acquisition device).

[0140] The embodiment of the present application does not restrict the data interaction between the doctor's programmable device and the stimulator. When the doctor performs remote programming, the doctor's programmable device can interact with the stimulator through the server and the patient's programmable device. When the doctor performs offline programming with the patient face to face, the doctor's programmable device can interact with the stimulator through the patient's programmable device, and the doctor's programmable device can also interact with the stimulator directly.

[0141] In some optional embodiments, the patient programmable device may include a host (communicating with a server) and a slave (communicating with a stimulator), and the host and the slave are communicably connected. Among them, the doctor's programmable device can exchange data with the server through a 3G / 4G / 5G network, the server can exchange data with the host through a 3G / 4G / 5G network, the host can exchange data with the slave through a Bluetooth protocol / WIFI protocol / USB protocol, the slave can exchange data with the stimulator through a 401MHz-406MHz working frequency band / 2.4GHz-2.48GHz working frequency band, and the doctor's programmable device can directly exchange data with the stimulator through a 401MHz-406MHz working frequency band / 2.4GHz-2.48GHz working frequency band.

[0142] (System Example)

[0143] See also Figure 1 , Figure 1 A structural block diagram of a network configuration system for medical equipment provided in an embodiment of the present application is shown.

[0144] The present application provides a network configuration system for medical equipment, the system comprising:

[0145] A first electronic device 100, wherein the first electronic device 100 is used to implement a network configuration method for a medical device applied to the first electronic device 100;

[0146] The second electronic device 200 is used to implement a network configuration method of a medical device applied to the second electronic device 200.

[0147] In this embodiment, the first electronic device 100 is used to receive the adjustment parameters sent by the doctor, and send them to the stimulator to adjust the stimulation parameters of the stimulator.

[0148] As an example, after the first electronic device 100 completes the network configuration, the doctor can use the doctor-side program-controlled device or the doctor-side program-controlled application program at a remote location such as a hospital to send the stimulation parameters of the stimulator that need to be adjusted to the first electronic device 100 through the Internet. The first electronic device 100 receives the adjustment parameters sent from the doctor's side, and sends the adjustment parameters to the stimulator through its connection with the stimulator in the patient's body. After the stimulator receives the adjustment parameters from the first electronic device 100, it adjusts the stimulation parameters accordingly according to these adjustment parameters. For example, the stimulator generates a corresponding electrical stimulation signal according to the frequency and intensity parameters. After adjusting the stimulation parameters, the stimulator begins to provide updated electrical stimulation to the patient. The doctor can determine the stimulation effect of this electrical stimulation by communicating with the patient, for example, in the form of voice or video, so as to determine the adjustment direction of further stimulation parameters. Repeat the above steps until the desired stimulation effect is achieved, thereby ending the remote programming process of the stimulator.

[0149] In the above manner, the first electronic device 100 acts as a transfer station between the doctor end and the stimulator, and realizes the process in which the doctor end sends the adjustment parameters and transmits them to the stimulator for adjusting the stimulation parameters. The doctor can adjust the parameters of the stimulator in real time to meet the patient's treatment needs, and improve the accuracy and personalization of the treatment. At the same time, the patient can also obtain better treatment effects from the doctor's adjustment and improve the quality of life.

[0150] (Method Example)

[0151] See also Figure 2 , Figure 2 A schematic flow chart of a first electronic device network configuration method provided in an embodiment of the present application is shown.

[0152] The present application provides a network configuration method for a medical device, which is applied to a first electronic device, wherein the first electronic device is used to receive adjustment parameters sent by a doctor and send the adjustment parameters to a stimulator to adjust the stimulation parameters of the stimulator; the method includes:

[0153] Step S101: Acquire network configuration setting information; the network configuration setting information includes the name and password of the target network;

[0154] Step S102: Based on the network configuration setting information, the first electronic device is connected to the target network.

[0155] This embodiment does not limit the way in which the first electronic device obtains the network configuration setting information. For example, it can be manually input by the user through the input device of the first electronic device, or it can be obtained by communicating with the user through a speaker and voice recognition technology, or it can establish a communication connection with the second electronic device and obtain the network configuration setting information sent by the second electronic device.

[0156] Specifically, the obtaining of network configuration information includes:

[0157] Acquire the user's voice information; the voice information includes the name and password of the target network;

[0158] Perform voice recognition and content analysis on the voice information to obtain the network configuration information.

[0159] As an example, when the first electronic device obtains the network configuration setting information by communicating with the user through a speaker and voice recognition technology, the communication content may be as follows:

[0160] First Electronic Device: "Welcome to this device. In order to connect this device to a network, please tell me the name of the network."

[0161] User: "My target network is the Wi-Fi network named Home."

[0162] First Electronics: "Thank you very much for choosing our device. Please provide the password for this Wi-Fi to complete the connection."

[0163] User: “My password is 12345678”.

[0164] First Electronic Device: "Thank you very much for your information. I will use the Wi-Fi name and password you provided to configure the device's network connection. Please wait a moment."

[0165] First Electronic Device: "Configuration successful! The device has been successfully connected to the target network. You can now enjoy the functionality of the device. If you have other parameters that need to be adjusted, please let me know."

[0166] Based on this, the user's voice information is collected through a suitable hardware device (such as a microphone or a voice recognition device), and the voice information includes the name and password of the target network. The collected voice information is converted into text form using a voice recognition algorithm or model. The recognized text is subjected to content analysis to extract the network configuration setting information such as the name and password of the target network. On the one hand, through voice information collection, the user does not need to manually enter the name and password of the target network, which saves the cumbersome input process and improves the user experience. On the other hand, using voice recognition and content analysis technology, the voice information can be converted into text with high accuracy, and key information such as the name and password of the target network can be extracted. On the other hand, since the voice information collection process is completed automatically, the user can avoid entering sensitive information such as passwords into the keyboard, reducing the risk of password leakage. On the other hand, through the extracted network configuration setting information, the network configuration process can be automatically executed, reducing the user's operation steps and improving user convenience.

[0167] In this embodiment, the target network may be a Wi-Fi network, a satellite network, or a mobile data network, and the target network is not limited here.

[0168] Thus, the first electronic device needs to obtain the network configuration setting information of the target network, including the name and password of the target network. For example, the target network is a home Wi-Fi network, and the name and password of the Wi-Fi are set on the home Wi-Fi router and provided to the first electronic device. Based on the obtained network configuration setting information, the first electronic device will perform the operation of connecting to the home Wi-Fi network. Use the name and password of the target network in the network configuration setting information for identity authentication and establish a connection with the target network. Once the first electronic device successfully accesses the home Wi-Fi network, it can go online to receive the adjustment parameters sent by the doctor's end, and transmit the adjustment parameters to the stimulator in the patient's body to achieve the adjustment of the stimulation parameters of the stimulator. By connecting the first electronic device to the home Wi-Fi network, data transmission between the doctor's end and the stimulator is achieved. Patients can use the Wi-Fi network at home, without the need for additional dedicated equipment or network connection, to conveniently communicate remotely with the doctor's end and remotely control the stimulation parameters. On the one hand, the home Wi-Fi network is accessed by the first electronic device, and the adjustment parameters sent by the doctor's end for adjusting the stimulation parameters of the stimulator are received. Patients can remotely adjust the stimulation parameters at home without going to the hospital, which improves the convenience and flexibility of treatment. On the other hand, after the first electronic device is connected to the home Wi-Fi network, the doctor can make real-time personalized treatment adjustments based on the patient's specific situation and needs, thereby improving the treatment effect. On the other hand, by using the home Wi-Fi network for remote communication, the patient can receive the doctor's adjustment guidance in a comfortable home environment, which helps to provide a more convenient treatment experience for the patient.

[0169] See also Figure 3 , Figure 3 A schematic diagram of a process for obtaining network configuration information provided by an embodiment of the present application is shown.

[0170] In some embodiments, obtaining network configuration setting information includes:

[0171] Step S201: sending network configuration broadcast information to a second electronic device, so that the second electronic device returns connection authentication information after receiving the network configuration broadcast information;

[0172] Step S202: receiving the connection authentication information, and detecting whether the connection authentication information is correct;

[0173] Step S203: If correct, establish a communication connection between the first electronic device and the second electronic device, so that the second electronic device sends the network configuration setting information to the first electronic device;

[0174] Step S204: Receive the network configuration setting information.

[0175] In this embodiment, the second electronic device may be a user's terminal device, which may be, for example, a mobile phone, a tablet computer, a laptop computer, a desktop computer, a smart wearable device or other smart terminal device, or the user device may be a workstation or a console. The second electronic device is not limited here. The user may be the patient himself, a relative of the patient, or other persons, and the user is not limited here.

[0176] In this embodiment, if it is detected that the connection authentication information is incorrect, no operation is performed or a verification error message is sent to the second electronic device.

[0177] As an example, the first electronic device is a transfer program-controlled device, and the second electronic device is a user's mobile phone. The transfer program-controlled device has a built-in upper-layer service application based on Bluetooth. The service application sets Bluetooth to central mode, broadcasts network configuration broadcast information through it, and monitors the connection of the user's mobile phone through it. The user's mobile phone receives the network configuration broadcast information, parses the network configuration broadcast information, and then sends the connection authentication information. The user's mobile phone generates the connection authentication information based on the network configuration broadcast information to ensure the legitimacy of the user's mobile phone. The user's mobile phone sends the connection authentication information to the transfer program-controlled device. The transfer program-controlled device receives the connection authentication information and verifies whether the connection authentication information is correct; if the connection authentication information verification fails, the transfer program-controlled device returns a verification error message to the user's mobile phone, and after receiving the verification error message, the user's mobile phone displays the verification error in the mobile phone interface. If the connection authentication information verification passes, the transfer program-controlled device establishes a communication connection with the user's mobile phone. The user's mobile phone uses the communication connection established with the transfer program-controlled device to send the network configuration setting information to the transfer program-controlled device. This includes the name and password of the target network, as well as other necessary configuration parameters. The transit program-controlled device receives the network configuration setting information, configures the network settings, attempts to connect to the target network, and performs connection verification.

[0178] In this embodiment, the communication connection between the first electronic device and the second electronic device may be a Bluetooth connection, a Zigbee connection, or a Z-Wave connection, and the communication connection between the first electronic device and the second electronic device is not limited here.

[0179] In this embodiment, in order to ensure the integrity and authenticity of the distribution network broadcast information, the integrity and accuracy of the data are verified by a CRC check algorithm. The check value is calculated when the distribution network broadcast information is sent, and the check value is calculated again in the second electronic device to detect whether there is an error in data transmission.

[0180] In this embodiment, when the data packet of the distribution network broadcast information is large, the data packet splitting algorithm is used to split the large data packet corresponding to the distribution network broadcast information into multiple sub-data packets. After the second electronic device receives multiple sub-data packets, they are reassembled to obtain the distribution network broadcast information. The data packet splitting algorithm can effectively solve the data packet splitting and sticking problems, thereby improving the transmission efficiency and quality of the distribution network broadcast information.

[0181] Thus, during the network configuration process, the first electronic device will send network configuration broadcast information. The network configuration broadcast information can be transmitted via wireless signals or other communication methods. After receiving the network configuration broadcast information, the second electronic device will return connection authentication information to the first electronic device. The connection authentication information is used to verify the identity of the second electronic device and ensure the security and accuracy of the connection establishment. After receiving the connection authentication information, the first electronic device will perform a test to verify its correctness, including decryption, identity authentication or other security checks on the connection authentication information to ensure the reliability and security of the connection establishment. If the connection authentication information is successfully verified, a communication connection will be established between the first electronic device and the second electronic device. Once the communication connection is established, the second electronic device can send network configuration setting information to the first electronic device. The network configuration setting information includes the name, password or other related network configuration parameters of the target network, which is used to connect the first electronic device to the target network. On the one hand, by sending network configuration broadcast information and receiving connection authentication information, an automated network configuration process is realized. There is no need to manually enter the network setting information, which reduces the complexity of operation and the possibility of errors. At the same time, for the situation where the first electronic device does not have its own external display device and input device, its network configuration process is realized. On the other hand, by verifying the connection authentication information and using a secure communication mechanism, the security of the connection between the first electronic device and the second electronic device is ensured, which helps prevent unauthorized access and data leakage. On the other hand, by establishing a communication connection and transmitting the network configuration information, the first electronic device can easily connect to the target network, and the network configuration process can be quickly completed through the network configuration information provided by the second electronic device.

[0182] In some embodiments, the network configuration broadcast information includes a device identification code of the first electronic device; the connection authentication information includes a first verification code, which is obtained by processing the device identification code;

[0183] The detecting whether the connection authentication information is correct includes:

[0184] Processing the device identification code based on a preset verification code algorithm to obtain a second verification code;

[0185] Determine whether the connection authentication information is correct according to the first verification code and the second verification code.

[0186] In this embodiment, the device identification code is a code or number used to identify the first electronic device, which can be a combination of various forms of identifiers, numbers, words, and letters. The device identification code is not limited here.

[0187] As an example, the device identification code may be S / N123456789, BSM123456789, or identification code 888888, etc.

[0188] In this embodiment, the verification code algorithm is used to calculate the second verification code according to the device identification code. The verification code algorithm can be a mathematical algorithm or a hash mapping, and the verification code algorithm is not limited here.

[0189] As an example, the verification code algorithm is a hash mapping, and the second verification code is obtained by calculating the character string of the device identification code as a Hash Code and converting the Hash Code into a character string represented in hexadecimal.

[0190] In this embodiment, the first verification code is obtained by processing the device identification code, and can be obtained using the same processing method as the second verification code, or using a different processing method from the second verification code. The method for determining the first verification code is not limited here.

[0191] As an example, when the first verification code is obtained by the same processing method as the second verification code, hash mapping can also be used to calculate the string of the device identification code as a hash code and convert the hash code into a string represented in hexadecimal to obtain the first verification code. If the first verification code and the second verification code are the same, it means that the connection authentication information is correct. Otherwise, it is incorrect.

[0192] Thus, the first electronic device has a unique device identification code, which is transmitted in the distribution network broadcast information. The first verification code in the connection authentication information is generated by performing specific processing on the device identification code. Such processing may include using an encryption algorithm, a hash function or other verification code algorithm to ensure that the generated first verification code is a unique value associated with the device identification code. During the network configuration process, a preset verification code algorithm is used to process the device identification code to generate a second verification code. The verification code algorithm may be a pre-set algorithm that matches the first verification code generation algorithm. Through the preset verification code algorithm, the second verification code is generated as a value related to the device identification code. During the connection authentication process, the first verification code and the second verification code are compared. If the two verification codes match, it is determined that the connection authentication information is correct. Thereby ensuring that the device identification code has not been tampered with during the transmission process, and the connection establishment between the first electronic device and the second electronic device is credible. On the one hand, by using the generation, processing and comparison of the device identification code and the verification code, the accuracy and security of the connection authentication information are ensured, which helps to prevent unauthorized device access and data leakage, and protect the security of the connection. On the other hand, since the device identification code and verification code are unique and use a specific processing and verification code algorithm, it is possible to effectively prevent the device identification code from being tampered with or impersonated, ensuring the reliability and accuracy of the connection authentication process. On the other hand, by using the device identification code and the preset verification code algorithm, an automated authentication process is achieved. There is no need to manually enter or verify the connection authentication information, reducing the complexity of the operation and the possibility of errors.

[0193] In some embodiments, the receiving the network configuration setting information includes:

[0194] receiving a network search instruction sent by the second electronic device, and performing a network search according to the network search instruction to obtain a network search set; the network search set includes at least one network to be connected;

[0195] The network search set is sent to the second electronic device.

[0196] As an example, the second electronic device sends a network search instruction to the first electronic device, requesting a network search. After receiving the network search instruction, the first electronic device starts to perform a network search operation. By scanning the available network signals around and identifying the network to be connected. After the search, the first electronic device generates a network search set, which includes at least one network to be connected.

[0197] For example, a web search collection might include the following:

[0198] Network A: Named "Home Network A"

[0199] Network B: Named "Office Network B";

[0200] Network C: Named "Public Network C"

[0201] The first electronic device sends the network search set to the second electronic device. The second electronic device receives the network search set from the first electronic device and displays it in the first electronic device for the user to select.

[0202] Thus, the first electronic device, as a receiver, receives the network search instruction sent by the second electronic device. According to the received network search instruction, the first electronic device performs a network search operation to search for all networks that it can search and generates a network search set. The network search set is generated based on the search results, which includes at least one network to be connected. The search results may be multiple available connection networks, such as Wi-Fi networks, or other types of networks, such as mobile data networks, satellite networks, etc. The first electronic device sends the generated network search set back to the second electronic device so that the latter can obtain the network search set. On the one hand, by receiving the network search instruction of the second electronic device and sending the network search set, a convenient way is provided to find the network available to the first electronic device. On the other hand, the user does not need to manually search and filter the available networks, but sends the network search instruction through the second electronic device, and the first electronic device performs the search operation on behalf of the user, which reduces the user's workload and improves the user experience. On the other hand, when the first electronic device and the second electronic device are located in different locations, the network search operation is performed by the first electronic device so that the user can select a suitable network for the first electronic device to set up. On the other hand, the second electronic device can use the search capability of the first electronic device to obtain more comprehensive and accurate network search results, thereby enhancing the network discovery function.

[0203] See also Figure 4 , Figure 4 A schematic diagram of a process for optimizing communication quality provided in an embodiment of the present application is shown.

[0204] In some embodiments, the method further comprises:

[0205] Step S301: Detecting the communication quality of the first electronic device in real time;

[0206] Step S302: When it is detected that the communication quality of the first electronic device does not meet the preset communication quality condition, a communication optimization request is sent to the second electronic device, so that the second electronic device obtains optimization operation information after receiving the communication optimization request;

[0207] Step S303: receiving the optimization operation information sent by the second electronic device, and performing the communication optimization operation indicated by the optimization operation information to improve the communication quality of the first electronic device.

[0208] In this embodiment, in order to improve communication efficiency, doctors and patients can conduct remote video communication, so the communication quality of the first electronic device needs to be guaranteed.

[0209] Specifically, the first electronic device includes an image acquisition device and a display device. The image acquisition device is used to acquire a video image of the patient, and the display device is used to display a doctor's image.

[0210] As an example, the doctor's end is an application in the doctor's mobile phone. After the network connection of the first electronic device is configured, the image acquisition device of the first electronic device can collect the patient's video image and send it to the application in the doctor's mobile phone through the network. The doctor's mobile phone camera collects the doctor's screen and sends it to the first electronic device, which is displayed through the display device, thereby realizing remote communication between the doctor and the patient. The first electronic device is connected to the stimulator in the patient's body. The doctor can determine the adjustment parameters through the application in the mobile phone, send it to the first electronic device, and forward it to the stimulator by the first electronic device. The stimulator determines its stimulation parameters based on the adjustment parameters and generates electrical stimulation for the patient. Through remote video, the doctor can intuitively see the patient's expression and movements, and can communicate with the patient in real time to determine the effect of electrical stimulation.

[0211] In this embodiment, the preset communication quality condition may include one or more of bandwidth requirement, delay requirement, packet loss rate limit, resolution requirement, and audio quality requirement.

[0212] Among them, bandwidth requirements refer to setting the minimum bandwidth value required to ensure sufficient data transmission speed and smooth video image quality. For example, the bandwidth requirement is to have at least 1Mbps bandwidth. Delay requirements refer to setting the maximum allowed delay value to ensure real-time and instant communication experience. For example, the delay is required to be no more than 200 milliseconds. Packet loss rate limit refers to setting the maximum acceptable packet loss rate to ensure the accuracy and integrity of data transmission. For example, the packet loss rate is required to be less than 1%. Resolution requirements refer to setting the required video image resolution to ensure clarity and visibility of details. For example, the minimum support for 720p HD resolution is required. Audio quality requirements refer to setting the required audio sampling rate and bit rate to ensure clear sound transmission. For example, the audio sampling rate is required to be 44.1kHz and the bit rate is required to be 128kbps.

[0213] In this embodiment, when it is detected that the communication quality of the first electronic device meets the preset communication quality condition, no operation is performed.

[0214] In this embodiment, in order to ensure the stability of the remote video between the doctor and the patient, the communication quality of the first electronic device needs to be detected in real time. When the signal quality does not meet the preset communication quality conditions, the network settings need to be adjusted in a timely manner. If the first electronic device automatically performs communication optimization operations, additional fees may be incurred, such as traffic fees generated by switching satellite networks or mobile networks. Therefore, it is necessary to inform the user through the second electronic device or the user selects a suitable communication optimization operation through the second electronic device and sends it to the first electronic device.

[0215] As an example, the first electronic device is a transfer program-controlled device, and the second electronic device is a user's mobile phone. During the remote program control process, the transfer program-controlled device detects the communication quality in real time. When a delay is detected in the video image, and the delay exceeds 1 second, the transfer program-controlled device sends a communication optimization request to the user's mobile phone. The user's mobile phone issues a prompt, and the prompt content is the current communication quality problem such as too high communication delay, screen freeze, etc. After seeing the prompt content, the user can manually determine the optimization operation information, that is, select a suitable communication optimization operation for the transfer program-controlled device, such as switching the network of the transfer program-controlled device from a Wi-Fi connection to a mobile data network. The optimization operation information is sent to the transfer program-controlled device. After receiving the optimization operation information, the transfer program-controlled device performs the communication optimization operation and switches to the mobile data network. Thereby improving the communication quality, providing more stable and high-quality video transmission, and ensuring the smooth remote program control between doctors and patients. The execution of the communication optimization operation is selected by the user so that the user is aware of the possible additional costs.

[0216] Thus, the performance and reliability of the first electronic device are evaluated by monitoring the communication quality of the first electronic device in real time. This includes detecting data transmission rate, signal strength, delay or other indicators to determine whether the communication quality meets the preset communication quality conditions. When it is detected that the communication quality of the first electronic device does not meet the preset communication quality conditions, a communication optimization request is sent to the second electronic device. The communication optimization request notifies the second electronic device of the current communication problem and requests to obtain optimization operation information to improve the communication quality. After receiving the optimization operation information, the first electronic device will perform the indicated optimization operation. On the one hand, by detecting the communication quality in real time and sending the communication optimization request, the communication problem of the first electronic device can be discovered and solved in time. By performing the communication optimization operation, the communication quality can be improved immediately, and the stability and reliability of data transmission can be improved. On the other hand, the optimization operation information generated by the second electronic device is used to realize an automated communication optimization process. There is no need for manual intervention or adjustment of device settings, which reduces the complexity of operation and the possibility of errors. On the other hand, by improving the communication quality of the first electronic device, it is ensured that the adjustment parameters sent by the doctor end are accurately transmitted to the stimulator, thereby improving the treatment effect. The optimized communication quality can ensure that the stimulation parameters of the stimulator are adjusted as expected to meet the treatment needs.

[0217] See also Figure 5 , Figure 5 A schematic flow chart of a second electronic device network configuration method provided in an embodiment of the present application is shown.

[0218] The present application provides a network configuration method for a medical device, which is applied to a second electronic device, and the method includes:

[0219] Step S401: receiving network distribution broadcast information sent by a first electronic device;

[0220] Step S402: Generate connection authentication information based on the distribution network broadcast information, and send the connection authentication information to the first electronic device;

[0221] Step S403: Detect whether a communication connection between the first electronic device and the second electronic device is established;

[0222] Step S404: If yes, obtain network configuration information;

[0223] Step S405: Sending the network configuration setting information to the first electronic device through the communication connection.

[0224] In this embodiment, the user uses a second electronic device to configure a network for the first electronic device. The second electronic device can be a smart terminal device such as a mobile phone, a tablet computer, a laptop computer, a desktop computer, a smart wearable device, or a workstation or a console. The second electronic device is not limited here.

[0225] In this embodiment, if the establishment of the communication connection is not detected, no operation is performed.

[0226] As an example, the first electronic device is a transit program-controlled device, the second electronic device is a user's mobile phone, and a corresponding application is running on the user's mobile phone. The application monitors the nearby distribution network broadcast information and receives the distribution network broadcast information sent by the transit program-controlled device. The user's mobile phone application generates a connection authentication information based on the received distribution network broadcast information, which includes a string of verification codes, and displays it in the mobile phone interface for verifying and establishing a communication connection with the transit program-controlled device. After receiving the connection authentication information, the transit program-controlled device will perform verification. After the verification is passed, an attempt is made to establish a communication connection with the user's mobile phone. The user's mobile phone application will detect whether the communication connection is successfully established. If the communication connection is successfully established, the user can use the name and password of the Wi-Fi network to which the transit program-controlled device needs to connect as the distribution network setting information in the application, and send it to the transit program-controlled device so that the transit program-controlled device can access the Wi-Fi network.

[0227] Thus, the second electronic device learns that the first electronic device is waiting for network configuration through the received network distribution broadcast information. The second electronic device generates connection authentication information based on the network distribution broadcast information and sends it to the first electronic device. After the first electronic device receives the connection authentication information, it will verify whether the communication connection with the second electronic device is established. If the communication connection is successfully established, the second electronic device will be able to obtain the network distribution setting information, such as the name of the target network selected by the user and the corresponding password entered. The second electronic device sends the network distribution setting information determined by the user to the first electronic device through the communication connection to ensure that the first electronic device is correctly configured and connected to the target network. On the one hand, through the interaction of the network distribution broadcast information and the connection authentication information, the steps of manually entering network information are reduced, simplifying the network configuration process. On the other hand, the automatically generated connection authentication information can ensure accuracy and reduce the possibility of configuration errors. On the other hand, through the automated network distribution process, the first electronic device can connect to the network provided by the second electronic device more quickly, saving time and effort.

[0228] In summary, the network configuration process of the first electronic device is simplified, and a faster, more accurate and convenient configuration experience is provided, which helps to improve the usability of the device and the treatment effect of the patient.

[0229] In some embodiments, obtaining network configuration setting information includes:

[0230] Sending a network search instruction to the first electronic device so that the first electronic device performs a network search to obtain a network search set; the network search set includes at least one network to be connected;

[0231] Receiving the network search set sent by the first electronic device;

[0232] In response to a selection operation on one of the networks to be connected, taking the selected network to be connected as a target network;

[0233] The name and password of the target network are obtained as the network configuration setting information.

[0234] As an example, the second electronic device sends a network search instruction to the first electronic device, requesting a network search. After receiving the network search instruction, the first electronic device starts a network search operation. It scans the surrounding network signals and identifies connectable networks. After the network search, the first electronic device generates a network search set, which contains at least one network to be connected. In this example, the network search set is as follows:

[0235] Network A: Named "Home Network".

[0236] Network B: Named "Office Network".

[0237] The first electronic device sends the network search set to the second electronic device for it to select a connectable network. After the second electronic device receives the network search set, the user can select one of the networks in the list displayed by the second electronic device as the target network. For example, the user selects "Office Network" as the target network and enters the password "securewifi456" corresponding to "Office Network". It is provided to the first electronic device as network configuration setting information so that the first electronic device can access the network based on "Office Network" and its corresponding password "securewifi456".

[0238] Thus, the second electronic device sends a network search instruction to the first electronic device, and the network search instruction is used to request the first electronic device to perform a network search operation. During the search process, the first electronic device scans the available network signals around it, and forms a network search set with the searched network set. The network search set contains at least one network to be connected, that is, a network that can be used as a potential target network. The second electronic device receives the network search set from the first electronic device. The user selects the network to be connected and selects a network to be connected from the network search set as the target network. This can be a manual selection by the user or an automatic selection by an algorithm or rule. Once the user selects the target network, the first electronic device obtains the name and password of the target network as the network configuration setting information. On the one hand, by sending a network search instruction to the first electronic device, the user does not need to manually search the network, which reduces cumbersome operation steps and improves the convenience of use. At the same time, the second electronic device assists the first electronic device in network search and selection, providing users with more choices and convenience, making multi-device collaborative network configuration more flexible and efficient. On the other hand, the user can select the target network according to their needs and preferences, making the connection process more personalized and meeting the specific needs of the user. On the other hand, when the first electronic device and the second electronic device are located in different locations, the first electronic device performs a network search operation by sending a network search instruction to the first electronic device, so that the user can remotely configure the network for the first electronic device.

[0239] In some embodiments, the distribution network broadcast information includes a device identification code of the first electronic device;

[0240] The generating connection authentication information based on the distribution network broadcast information includes:

[0241] Processing the device identification code based on a preset verification code algorithm to obtain a first verification code;

[0242] The connection authentication information is generated according to the first verification code.

[0243] As a result, the network distribution broadcast information broadcast by the first electronic device contains its device identification code, which is a unique identifier. Based on a preset verification code algorithm, the device identification code of the first electronic device is processed to generate a first verification code. Based on the first verification code, connection authentication information is generated. The connection authentication information may include a first verification code, a connection key or other identification information. On the one hand, by processing the device identification code and generating the first verification code, the uniqueness and security of the connection authentication information are ensured. On the other hand, by using the device identification code and the verification code, the first electronic device does not need to manually enter complex network configuration information, thereby simplifying the steps of network configuration. On another hand, by processing the device identification code through a preset verification code algorithm, the possibility of configuration errors is reduced and the accuracy of the configuration is improved. On another hand, by using the connection authentication information generated based on the device identification code and the verification code, it is ensured that only authenticated devices can establish a communication connection, thereby increasing security.

[0244] See also Figure 6 , Figure 6 A schematic diagram of a process for sending optimization operation information provided by an embodiment of the present application is shown.

[0245] In some embodiments, the method further comprises:

[0246] Step S501: receiving a communication optimization request sent by the first electronic device;

[0247] Step S502: acquiring optimization operation information according to the communication optimization request; the optimization operation information refers to information used to adjust network settings to optimize communication performance;

[0248] Step S503: Sending the optimization operation information to the first electronic device via the communication connection.

[0249] In this embodiment, the method further includes:

[0250] Obtaining the names and passwords of all connectable networks, and detecting the communication quality of each of the connectable networks;

[0251] The obtaining optimization operation information according to the communication optimization request includes:

[0252] Based on the communication quality of each of the connectable networks, one of the connectable networks is determined as the optimization operation information.

[0253] The connectable network includes at least one of a Wi-Fi network, a satellite network and a mobile data network.

[0254] In this embodiment, the names and passwords of all connectable networks can be obtained by the second electronic device displaying all searched networks, and the user selecting a network and entering the corresponding password to record them; or they can be obtained by searching the historical connection records stored in the second electronic device; the method for obtaining the names and passwords of all connectable networks is not limited here.

[0255] As an example, the communication connection established between the first electronic device and the second electronic device is a Bluetooth connection. After the network is configured for the first electronic device, the Bluetooth connection between the second electronic device and the first electronic device can be selected to remain connected, and the second electronic device will automatically detect and record the communication quality of all connectable networks, for example, at preset intervals, switch a connectable network and record the corresponding communication quality, or only record the signal strength of each connectable network. If only the signal strength of each connectable network is recorded, there is no need to switch each connectable network for network speed measurement. When the communication quality of the first electronic device is poor and a communication optimization request is issued, the network with the best communication quality among all connectable networks can be automatically selected, and the network can be set as the optimization operation information and sent to the first electronic device so that the first electronic device can access the network, thereby optimizing the communication quality between the first electronic device and the doctor's end.

[0256] Thus, the second electronic device receives the network configuration setting information sent by the first electronic device, including the names and passwords of all connectable networks. The second electronic device receives the communication optimization request sent by the first electronic device, indicating that the communication quality of the first electronic device does not meet the preset communication quality condition. Based on the communication optimization request, the second electronic device obtains the optimization operation information. Through the communication connection, the second electronic device sends the optimization operation information to the first electronic device. The first electronic device can adjust the network settings according to the received optimization operation information to optimize its communication performance. On the one hand, by obtaining the optimization operation information and sending it to the first electronic device, the first electronic device can make corresponding network settings adjustments to optimize its communication performance. On the other hand, the second electronic device can receive and process the communication optimization request sent by the first electronic device in a timely manner, reducing the response time of the communication quality problem. On the other hand, by obtaining the optimization operation information according to the network configuration setting information and the communication optimization request, personalized optimization settings can be provided for different network environments and communication needs. On the other hand, the first electronic device can automatically adjust the network settings by receiving and executing the optimization operation information, reducing the user's manual intervention, and improving convenience and user experience.

[0257] In some embodiments, obtaining optimization operation information according to the communication optimization request includes:

[0258] generating at least one recommended optimization operation based on the communication quality of each of the connectable networks;

[0259] displaying each of the recommended optimization actions;

[0260] In response to a user selecting one of the recommended optimization operations, the selected recommended optimization operation is used as the optimization operation information.

[0261] As an example, the recommended optimization operations include switching to Wi-Fi-A, switching to Wi-Fi-B, and switching to mobile data network. These three recommended optimization operations are displayed in the user's mobile phone interface. The location for switching to mobile data network is marked. Switching to mobile data network may incur traffic charges, and the user can choose.

[0262] In some embodiments, the recommended optimization operation also includes starting basic communication; starting basic communication means turning off video communication and retaining only voice communication. If the communication quality of all connectable networks cannot meet the preset communication quality conditions, maintaining video communication may cause the adjustment parameters transmitted by the doctor to be lost, making it impossible to continue remote program control or causing security risks. Therefore, by turning off video communication and retaining only voice communication, the requirements for the communication network are reduced to ensure that remote program control can continue.

[0263] Specifically, the generating at least one recommended optimization operation based on the communication quality of each of the connectable networks further includes:

[0264] When the communication quality of each of the connectable networks fails to meet the preset communication quality condition, basic communication is started as the recommended optimization operation.

[0265] In practical applications, in order to ensure the stability of transmission of adjustment parameters, when the communication quality between the doctor end and the first electronic device is poor, the doctor end cannot send the adjustment parameters to avoid security risks.

[0266] In a specific application scenario, an embodiment of the present application provides a network configuration method for a medical device, which is applied to a first electronic device, and the first electronic device is used to receive adjustment parameters sent by a doctor and send them to a stimulator to adjust the stimulation parameters of the stimulator; the method includes:

[0267] Sending network configuration broadcast information to a second electronic device, so that the second electronic device returns connection authentication information after receiving the network configuration broadcast information; the network configuration broadcast information includes a device identification code of the first electronic device; the connection authentication information includes a first verification code, which is obtained by processing the device identification code;

[0268] Receiving the connection authentication information;

[0269] Processing the device identification code based on a preset verification code algorithm to obtain a second verification code;

[0270] Determining whether the connection authentication information is correct according to the first verification code and the second verification code;

[0271] If correct, a communication connection is established between the first electronic device and the second electronic device, so that the second electronic device sends the network configuration setting information to the first electronic device; the network configuration setting information includes the name and password of the target network;

[0272] Receiving the network configuration information;

[0273] Based on the network configuration information, connecting the first electronic device to the target network;

[0274] detecting the communication quality of the first electronic device in real time;

[0275] When it is detected that the communication quality of the first electronic device does not meet the preset communication quality condition, sending a communication optimization request to the second electronic device so that the second electronic device obtains optimization operation information after receiving the communication optimization request;

[0276] Receive the optimization operation information sent by the second electronic device, and perform the communication optimization operation indicated by the optimization operation information to improve the communication quality of the first electronic device; the communication optimization operation includes at least one of enabling data roaming, switching Wi-Fi networks, changing Wi-Fi channels, switching wired connections, and adjusting antenna directions.

[0277] In another specific application scenario, an embodiment of the present application provides a network configuration method for a medical device, which is applied to a second electronic device, and the method includes:

[0278] Receiving network configuration broadcast information sent by a first electronic device; the network configuration broadcast information includes a device identification code of the first electronic device;

[0279] Processing the device identification code based on a preset verification code algorithm to obtain a first verification code;

[0280] generating the connection authentication information according to the first verification code;

[0281] Sending the connection authentication information to the first electronic device;

[0282] detecting whether a communication connection between the first electronic device and the second electronic device is established;

[0283] If yes, obtaining network configuration setting information, and sending the network configuration setting information to the first electronic device through the communication connection;

[0284] Receiving a communication optimization request sent by the first electronic device;

[0285] According to the communication optimization request, obtaining optimization operation information; the optimization operation information refers to information used to adjust network settings to optimize communication performance;

[0286] The optimized operation information is sent to the first electronic device via the communication connection.

[0287] (First Electronic Equipment)

[0288] See also Figure 7 , Figure 7 A structural block diagram of a first electronic device provided in an embodiment of the present application is shown.

[0289] The embodiment of the present application further provides a first electronic device 100, which is used to receive adjustment parameters sent by a doctor and send them to a stimulator to adjust stimulation parameters of the stimulator; the first electronic device 100 includes:

[0290] An information acquisition module 110, the information acquisition module 110 is used to acquire network configuration setting information; the network configuration setting information includes a target network name and a password;

[0291] The network connection module 120 is used to connect the first electronic device 100 to the target network based on the network configuration setting information.

[0292] In some optional implementations, the information acquisition module 110 includes:

[0293] A broadcast sending module, the broadcast sending unit is used to send the configuration network broadcast information to the second electronic device, so that the second electronic device returns the connection authentication information after receiving the configuration network broadcast information;

[0294] A connection authentication module, wherein the connection authentication unit is used to receive the connection authentication information and detect whether the connection authentication information is correct;

[0295] A communication establishing module, wherein the communication establishing unit is used to establish a communication connection between the first electronic device 100 and the second electronic device when detecting that the connection authentication information is correct, so as to transmit the network configuration setting information sent by the second electronic device;

[0296] The network configuration receiving module is used to receive the network configuration setting information.

[0297] In some optional implementations, the connection authentication module includes:

[0298] A second verification code unit, the second verification code unit is used to process the device identification code based on a preset verification code algorithm to obtain a second verification code;

[0299] An authentication confirmation unit, wherein the authentication confirmation unit is used to determine whether the connection authentication information is correct based on the first verification code and the second verification code.

[0300] In some optional implementations, the first electronic device 100 further includes:

[0301] A quality detection module, the quality detection module is used to detect the communication quality of the first electronic device 100 in real time;

[0302] an optimization request module, wherein the optimization request module is used to send a communication optimization request to the second electronic device when it is detected that the communication quality of the first electronic device 100 does not meet a preset communication quality condition, so that the second electronic device obtains optimization operation information after receiving the communication optimization request;

[0303] The optimization execution module is used to receive the optimization operation information sent by the second electronic device and execute the communication optimization operation indicated by the optimization operation information to improve the communication quality of the first electronic device 100.

[0304] The embodiment of the present application also provides a first electronic device, and its specific embodiment is consistent with the embodiment and technical effects recorded in the above-mentioned network configuration method embodiment of the first electronic device, and some contents are not repeated here.

[0305] The first electronic device includes a memory and at least one processor, the memory stores a computer program, and the at least one processor implements the following steps when executing the computer program:

[0306] Obtaining network configuration information; the network configuration information includes the name and password of the target network;

[0307] Based on the network configuration setting information, the first electronic device is connected to the target network.

[0308] In some optional implementations, when the at least one processor executes the computer program, the network configuration setting information is acquired in the following manner:

[0309] Sending network configuration broadcast information to the second electronic device, so that the second electronic device returns connection authentication information after receiving the network configuration broadcast information;

[0310] Receiving the connection authentication information, and detecting whether the connection authentication information is correct;

[0311] If correct, establishing a communication connection between the first electronic device and the second electronic device so that the second electronic device sends the network configuration setting information to the first electronic device;

[0312] The network configuration setting information is received.

[0313] In some optional implementations, the distribution network broadcast information includes a device identification code of the first electronic device; the connection authentication information includes a first verification code, which is obtained by processing the device identification code; and when the at least one processor executes the computer program, the following method is used to detect whether the connection authentication information is correct:

[0314] Processing the device identification code based on a preset verification code algorithm to obtain a second verification code;

[0315] Determine whether the connection authentication information is correct according to the first verification code and the second verification code.

[0316] In some optional implementations, the at least one processor further implements the following steps when executing the computer program:

[0317] detecting the communication quality of the first electronic device in real time;

[0318] When it is detected that the communication quality of the first electronic device does not meet the preset communication quality condition, sending a communication optimization request to the second electronic device so that the second electronic device obtains optimization operation information after receiving the communication optimization request;

[0319] The optimization operation information sent by the second electronic device is received, and the communication optimization operation indicated by the optimization operation information is performed to improve the communication quality of the first electronic device.

[0320] In this embodiment, the first electronic device may include, for example, at least one memory, at least one processor, and a bus connecting different platform systems.

[0321] The memory may include readable media in the form of volatile memory, such as random access memory (RAM) and / or cache memory, and may further include read only memory (ROM).

[0322] The memory also stores a computer program, which can be executed by the processor, so that the processor implements any step of the above-mentioned network configuration method for the first electronic device.

[0323] The memory may also include a utility having at least one program module, such program modules including but not limited to: an operating system, one or more application programs, other program modules, and program data, each or some combination of which may include implementation of a network environment.

[0324] Accordingly, the processor can execute the above-mentioned computer program and can execute the utility tool.

[0325] The processor may adopt one or more application specific integrated circuits (ASICs), DSPs, programmable logic devices (PLDs), complex programmable logic devices (CPLDs), field programmable gate arrays (FPGAs), or other electronic components.

[0326] The bus may be a local bus representing one or more of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, a processor, or any of a variety of bus architectures.

[0327] The first electronic device may also communicate with one or more external devices such as keyboards, pointing devices, Bluetooth devices, etc., and may also communicate with one or more devices that can interact with the first electronic device, and / or communicate with any device (such as a router, a modem, etc.) that enables the first electronic device to communicate with one or more other computing devices. Such communication may be performed through an input / output interface. In addition, the first electronic device may also communicate with one or more networks (such as a local area network (LAN), a wide area network (WAN) and / or a public network, such as the Internet) through a network adapter. The network adapter may communicate with other modules of the first electronic device through a bus. It should be understood that, although not shown in the figure, other hardware and / or software modules may be used in conjunction with the first electronic device in actual applications, including but not limited to: microcode, device drivers, redundant processors, external disk drive arrays, RAID systems, tape drives, and data backup storage platforms, etc.

[0328] (Second electronic device)

[0329] See also Figure 8 , Figure 8 A structural block diagram of a second electronic device provided in an embodiment of the present application is shown.

[0330] The embodiment of the present application further provides a second electronic device 200, and the second electronic device 200 includes:

[0331] The broadcast receiving module 210 is used to receive the distribution network broadcast information sent by the first electronic device;

[0332] An authentication generation module 220, the authentication generation unit is used to generate connection authentication information based on the distribution network broadcast information, and send the connection authentication information to the first electronic device;

[0333] A communication detection module 230, the communication detection unit is used to detect whether a communication connection is established between the first electronic device and the second electronic device 200;

[0334] The network configuration sending module 240 is used to obtain network configuration setting information when it is detected that the communication connection is established, and send the network configuration setting information to the first electronic device.

[0335] In some optional implementations, the authentication generation module 220 includes:

[0336] A first verification code unit, the first verification code unit is used to process the device identification code based on a preset verification code algorithm to obtain a first verification code;

[0337] The authentication generation unit is used to generate the connection authentication information according to the first verification code.

[0338] In some optional implementations, the second electronic device 200 further includes:

[0339] a request receiving module, the request receiving module being used to receive a communication optimization request sent by the first electronic device;

[0340] An operation acquisition module, the operation acquisition module is used to acquire optimization operation information according to the communication optimization request; the optimization operation information refers to information used to adjust network settings to optimize communication performance;

[0341] An operation sending module, wherein the operation sending module is used to send the optimization operation information to the first electronic device through the communication connection.

[0342] The embodiment of the present application also provides a second electronic device, and its specific embodiment is consistent with the embodiment and technical effects recorded in the above-mentioned network configuration method embodiment of the second electronic device, and some contents are not repeated here.

[0343] The second electronic device includes a memory and at least one processor, the memory stores a computer program, and the at least one processor implements the following steps when executing the computer program:

[0344] Receiving network distribution broadcast information sent by the first electronic device;

[0345] generating connection authentication information based on the distribution network broadcast information, and sending the connection authentication information to the first electronic device;

[0346] detecting whether a communication connection between the first electronic device and the second electronic device is established;

[0347] If yes, obtain the network configuration information;

[0348] The network configuration setting information is sent to the first electronic device through the communication connection.

[0349] In some optional implementations, the configuration network broadcast information includes a device identification code of the first electronic device; when the at least one processor executes the computer program, the connection authentication information is generated based on the configuration network broadcast information in the following manner:

[0350] Processing the device identification code based on a preset verification code algorithm to obtain a first verification code;

[0351] The connection authentication information is generated according to the first verification code.

[0352] In some optional implementations, the at least one processor further implements the following steps when executing the computer program:

[0353] Receiving a communication optimization request sent by the first electronic device;

[0354] According to the communication optimization request, obtaining optimization operation information; the optimization operation information refers to information used to adjust network settings to optimize communication performance;

[0355] The optimized operation information is sent to the first electronic device via the communication connection.

[0356] In this embodiment, the second electronic device may include, for example, at least one memory, at least one processor, and a bus connecting different platform systems.

[0357] The memory may include readable media in the form of volatile memory, such as random access memory (RAM) and / or cache memory, and may further include read only memory (ROM).

[0358] The memory further stores a computer program, which can be executed by the processor, so that the processor implements any of the steps of the above-mentioned network configuration method for the second electronic device.

[0359] The memory may also include a utility having at least one program module, such program modules including but not limited to: an operating system, one or more application programs, other program modules, and program data, each or some combination of which may include implementation of a network environment.

[0360] Accordingly, the processor can execute the above-mentioned computer program and can execute the utility tool.

[0361] The processor may adopt one or more application specific integrated circuits (ASICs), DSPs, programmable logic devices (PLDs), complex programmable logic devices (CPLDs), field programmable gate arrays (FPGAs), or other electronic components.

[0362] The bus may be a local bus representing one or more of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, a processor, or any of a variety of bus architectures.

[0363] The second electronic device may also communicate with one or more external devices such as keyboards, pointing devices, Bluetooth devices, etc., and may also communicate with one or more devices that can interact with the second electronic device, and / or communicate with any device (such as a router, a modem, etc.) that enables the second electronic device to communicate with one or more other computing devices. Such communication may be performed through an input / output interface. In addition, the second electronic device may also communicate with one or more networks (such as a local area network (LAN), a wide area network (WAN), and / or a public network, such as the Internet) through a network adapter. The network adapter may communicate with other modules of the second electronic device through a bus. It should be understood that, although not shown in the figure, other hardware and / or software modules may be used in conjunction with the second electronic device in actual applications, including but not limited to: microcode, device drivers, redundant processors, external disk drive arrays, RAID systems, tape drives, and data backup storage platforms, etc.

[0364] (Computer readable storage medium)

[0365] The embodiment of the present application also provides a computer-readable storage medium, the specific embodiment of which is consistent with the embodiment recorded in the above method embodiment and the technical effects achieved, and some contents will not be repeated here.

[0366] The computer-readable storage medium stores a computer program, and when the computer program is executed by at least one processor, the steps of any of the above methods or the functions of any of the above electronic devices are implemented.

[0367] Computer readable medium can be a computer readable signal medium or a computer readable storage medium. In an embodiment of the present application, a computer readable storage medium can be any tangible medium containing or storing a program, which can be used by an instruction execution system, device or device or used in combination with it. Computer readable storage medium can be, for example, but not limited to, a system, device or device of electricity, magnetism, light, electromagnetic, infrared, or semiconductor, or any combination of the above. More specific examples (non-exhaustive list) of computer readable storage medium include: an electrical connection with one or more wires, a portable disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above.

[0368] The computer-readable storage medium may include a data signal propagated in a baseband or as part of a carrier wave, wherein a readable program code is carried. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. The computer-readable storage medium may also be any computer-readable medium that can send, propagate, or transmit a program for use by an instruction execution system, an apparatus, or a device or for use in combination with it. The program code contained on the computer-readable storage medium may be transmitted using any appropriate medium, including but not limited to wireless, wired, optical cable, RF, etc., or any suitable combination of the above. The program code for performing the operation of the present invention may be written in any combination of one or more programming languages, including object-oriented programming languages ​​such as Java, C++, etc., and also conventional procedural programming languages ​​such as C language or similar programming languages. The program code may be executed entirely on a user computing device, partially on a user device, as an independent software package, partially on a user computing device, partially on a remote computing device, or entirely on a remote computing device or server. Where a remote computing device is involved, the remote computing device may be connected to the user computing device through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computing device (e.g., through the Internet using an Internet service provider).

[0369] (Computer Program Product)

[0370] The embodiment of the present application also provides a computer program product, the specific embodiments of which are consistent with the embodiments recorded in the above method embodiments and the technical effects achieved, and some contents will not be repeated here.

[0371] The present application provides a computer program product, which includes a computer program. When the computer program is executed by at least one processor, the steps of any of the above methods or the functions of any of the above electronic devices are implemented.

[0372] See also Fig. 9 , Fig. 9 It is a structural diagram of a computer program product provided in an embodiment of the present application.

[0373] The computer program product is used to implement the steps of any of the above methods or to implement the functions of any of the above electronic devices. The computer program product may be a portable compact disk read-only memory (CD-ROM) and include program code, and may be run on a terminal device, such as a personal computer. However, the computer program product of the present invention is not limited thereto, and the computer program product may be any combination of one or more computer-readable media.

[0374] This application is explained from the perspectives of purpose of use, effectiveness, progress and novelty, and has met the functional enhancement and usage requirements emphasized by the Patent Law. The above description and drawings of this application are only the preferred embodiments of this application, and are not intended to limit this application. Therefore, all structures, devices, features, etc. that are similar or identical to this application, that is, all equivalent replacements or modifications made in accordance with the scope of the patent application of this application, should fall within the scope of protection of the patent application of this application.

Claims

1. A network configuration method for medical equipment, characterized in that: Applied to a first electronic device, the first electronic device is used to receive adjustment parameters sent by a doctor and send them to a stimulator to adjust stimulation parameters of the stimulator; the method includes: Obtaining network configuration information; the network configuration information includes the name and password of the target network; Based on the network configuration setting information, the first electronic device is connected to the target network.

2. The method according to claim 1, characterized in that The obtaining of network configuration information includes: Sending network configuration broadcast information to the second electronic device, so that the second electronic device returns connection authentication information after receiving the network configuration broadcast information; Receiving the connection authentication information, and detecting whether the connection authentication information is correct; If correct, establishing a communication connection between the first electronic device and the second electronic device so that the second electronic device sends the network configuration setting information to the first electronic device; The network configuration setting information is received.

3. The method according to claim 2, characterized in that The receiving the network configuration setting information includes: receiving a network search instruction sent by the second electronic device, and performing a network search according to the network search instruction to obtain a network search set; the network search set includes at least one network to be connected; The network search set is sent to the second electronic device.

4. The method according to claim 2, characterized in that: The distribution network broadcast information includes a device identification code of the first electronic device; the connection authentication information includes a first verification code, which is obtained by processing the device identification code; The detecting whether the connection authentication information is correct includes: Processing the device identification code based on a preset verification code algorithm to obtain a second verification code; Determine whether the connection authentication information is correct according to the first verification code and the second verification code.

5. The method according to claim 2, characterized in that: The method further comprises: detecting the communication quality of the first electronic device in real time; When it is detected that the communication quality of the first electronic device does not meet the preset communication quality condition, sending a communication optimization request to the second electronic device so that the second electronic device obtains optimization operation information after receiving the communication optimization request; The optimization operation information sent by the second electronic device is received, and the communication optimization operation indicated by the optimization operation information is performed to improve the communication quality of the first electronic device.

6. The method according to claim 5, characterized in that The communication optimization operation includes at least one of enabling data roaming, switching Wi-Fi networks, changing Wi-Fi channels, switching wired connections, and adjusting antenna directions.

7. The method according to claim 1, characterized in that The obtaining of network configuration information includes: Acquire the user's voice information; the voice information includes the name and password of the target network; Perform voice recognition and content analysis on the voice information to obtain the network configuration information.

8. A network configuration method for medical equipment, characterized in that: Applied to a second electronic device, the method includes: Receiving network distribution broadcast information sent by the first electronic device; generating connection authentication information based on the distribution network broadcast information, and sending the connection authentication information to the first electronic device; detecting whether a communication connection between the first electronic device and the second electronic device is established; If yes, obtain the network configuration information; The network configuration setting information is sent to the first electronic device through the communication connection.

9. The method according to claim 8, characterized in that The obtaining of network configuration information includes: Sending a network search instruction to the first electronic device so that the first electronic device performs a network search to obtain a network search set; the network search set includes at least one network to be connected; Receiving the network search set sent by the first electronic device; In response to a selection operation on one of the networks to be connected, taking the selected network to be connected as a target network; The name and password of the target network are obtained as the network configuration setting information.

10. The method according to claim 8, characterized in that The distribution network broadcast information includes a device identification code of the first electronic device; The generating connection authentication information based on the distribution network broadcast information includes: Processing the device identification code based on a preset verification code algorithm to obtain a first verification code; The connection authentication information is generated according to the first verification code.

11. The method according to claim 8, characterized in that The method further comprises: Receiving a communication optimization request sent by the first electronic device; According to the communication optimization request, obtaining optimization operation information; the optimization operation information refers to information used to adjust network settings to optimize communication performance; The optimized operation information is sent to the first electronic device via the communication connection.

12. A first electronic device, characterized in that: The first electronic device is used to receive the adjustment parameters sent by the doctor and send them to the stimulator to adjust the stimulation parameters of the stimulator; the first electronic device includes: An information acquisition module, the information acquisition module is used to acquire network configuration setting information; the network configuration setting information includes a target network name and a password; A network connection module is used to connect the first electronic device to the target network based on the network configuration setting information.

13. The first electronic device according to claim 12, characterized in that: The information acquisition module includes: A broadcast sending module, the broadcast sending unit is used to send the configuration network broadcast information to the second electronic device, so that the second electronic device returns the connection authentication information after receiving the configuration network broadcast information; A connection authentication module, wherein the connection authentication unit is used to receive the connection authentication information and detect whether the connection authentication information is correct; A communication establishing module, wherein the communication establishing unit is used to establish a communication connection between the first electronic device and the second electronic device when detecting that the connection authentication information is correct, so as to transmit the network configuration setting information sent by the second electronic device; The network configuration receiving module is used to receive the network configuration setting information.

14. A second electronic device, characterized in that: The second electronic device comprises: A broadcast receiving module, the broadcast receiving unit is used to receive the distribution network broadcast information sent by the first electronic device; An authentication generation module, the authentication generation unit is used to generate connection authentication information based on the distribution network broadcast information, and send the connection authentication information to the first electronic device; a communication detection module, the communication detection unit being used to detect whether a communication connection is established between the first electronic device and the second electronic device; The network configuration sending module is used to obtain network configuration setting information when detecting that the communication connection is established, and send the network configuration setting information to the first electronic device.

15. A network configuration system for medical equipment, characterized in that: The system comprises: A first electronic device, wherein the first electronic device is used to implement the steps of the method according to any one of claims 1 to 7; A second electronic device, wherein the second electronic device is used to implement the steps of the method according to any one of claims 8 to 11.

16. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by at least one processor, the steps of the method according to any one of claims 1 to 7 or the steps of the method according to any one of claims 8 to 11 are implemented.

17. A computer program product, characterized in that The computer program product comprises a computer program, and when the computer program is executed by at least one processor, the computer program implements the steps of the method according to any one of claims 1 to 7 or the steps of the method according to any one of claims 8 to 11.