Pacing frequency control method, apparatus, system, electronic device, and storage medium

By receiving target activity information and detecting exercise volume, and using an algorithm model to calculate the pacing frequency, the problem of mismatch between pacing frequency and user activity scenarios is solved, and accurate frequency control of the pacemaker is achieved under different activity scenarios.

CN115702980BActive Publication Date: 2026-06-12CORERHYTHM MEDICAL TECH (HANGZHOU) CO LTD

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
CORERHYTHM MEDICAL TECH (HANGZHOU) CO LTD
Filing Date
2021-08-17
Publication Date
2026-06-12

AI Technical Summary

Technical Problem

Existing technology cannot accurately detect a user's activity scenario, resulting in a mismatch between the pacing frequency and the user's activity scenario, which affects the user's normal activities.

Method used

By receiving target activity information sent by the control terminal, the device detects the amount of movement of the wearable object, calls the algorithm model corresponding to the target activity scenario to calculate the pacing frequency, and controls the pacemaker to operate under the target activity scenario.

🎯Benefits of technology

Accurate calculation of pacing frequency solves the problem of mismatch between pacing frequency and user activity scenarios, ensuring that the pacemaker provides appropriate heart rate support in different activity scenarios.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115702980B_ABST
    Figure CN115702980B_ABST
Patent Text Reader

Abstract

The application discloses a pacing frequency control method, device, system, electronic equipment and storage medium. The method comprises the following steps: receiving target activity information sent by a control terminal, wherein the target activity information comprises a target activity scene entered by a wearer corresponding to a pacemaker at a future time; in the case that it is determined that the wearer enters the target activity scene, detecting a first motion amount of the wearer in the target activity scene; calling a target algorithm model to calculate a pacing frequency of the pacemaker corresponding to the first motion amount, wherein the target algorithm model is an algorithm model corresponding to the target activity scene; and controlling the pacemaker to run at the pacing frequency in the target activity scene. By inputting the detected motion amount into the algorithm model corresponding to the target activity scene entered by the wearer, the pacing frequency of the wearer in the target activity scene can be accurately calculated, and the problem that the pacing frequency does not match the activity scene of the user in the prior art is solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of intelligent device control, and more particularly to a method, apparatus, system, electronic device, and storage medium for controlling pacing frequency. Background Technology

[0002] A pacemaker is a cardiac implantable electronic device primarily used to treat bradycardia. It consists of a pulse generator and electrode leads. The pacemaker generates specific electrical pulses, which are then transmitted through the electrode leads to stimulate the heart, restoring normal electrophysiological activity and thus regulating heart rhythm. Since the world's first implantable pacemaker was inserted in 1958, pacemakers have undergone rapid development and are now highly intelligent and automated devices. In terms of pacemaker function alone, pacemakers have evolved from initial fixed-rate pacing to on-demand pacing, and then to rate-adaptive pacemakers.

[0003] For pacemaker patients who are frail, bedridden, or sedentary, a single baseline pacing rate is sufficient to meet their metabolic needs. However, for more active patients, even during routine daily activities, a single baseline pacing rate may not be enough. A normal person's resting cardiac output is approximately 5-6 liters per minute, while during exercise, cardiac output can increase to over 20 liters per minute, 3-4 times the resting level. During activity, to ensure sufficient cardiac output, both heart rate and stroke volume need to increase, with the former being more important, especially during submaximal or maximal exercise, where the increase in cardiac output depends primarily on the degree of heart rate increase.

[0004] In the process of realizing this invention, the inventors discovered that the main problem with the current technology is that it is impossible to accurately detect the user's activity scenario (e.g., activities such as rope skipping, mountain climbing, and cycling), which results in the output pacing frequency not matching the user's activity scenario (e.g., using the pacing frequency of the user in a jogging scenario as the pacing frequency of the user in a rope skipping or swimming pool scenario), which greatly affects the user's normal activities. Summary of the Invention

[0005] To solve the above-mentioned technical problems, or at least partially solve them, this application provides a method, apparatus, system, electronic device, and storage medium for controlling pacing frequency.

[0006] According to one aspect of the embodiments of this application, a method for controlling pacing frequency is provided, applied to a pacemaker, the method comprising:

[0007] Receive target activity information sent by the control terminal, wherein the target activity information includes the target activity scenario that the wearable object corresponding to the pacemaker will enter at a future time;

[0008] If it is determined that the wearable object has entered the target activity scene, the first amount of motion of the wearable object in the target activity scene is detected;

[0009] The target algorithm model is invoked to calculate the pacing frequency of the pacemaker corresponding to the first amount of exercise, wherein the target algorithm model is the algorithm model corresponding to the target activity scenario;

[0010] The pacemaker is controlled to operate at the pacing frequency under the target activity scenario.

[0011] Furthermore, before receiving the target activity information sent by the control terminal, the method further includes:

[0012] Receive device identity information sent by the control terminal;

[0013] The device identity information is authenticated, and if the device identity information is successfully authenticated, a communication connection is established with the control terminal.

[0014] Furthermore, the target activity information includes: the lag time of the target activity scenario;

[0015] Before determining that the wearable object has entered the target activity scene, the method further includes:

[0016] A first time point is determined based on the difference between the lag time and the preset time distance, and a second time point is determined based on the sum of the lag time and the preset time distance.

[0017] The first detection cycle is determined based on the current time and the first time point, and the second detection cycle is determined based on the first time point and the second time point;

[0018] Within the first detection cycle, the wearable object is detected at a first detection frequency to obtain the second motion amount of the wearable object;

[0019] If the second amount of exercise falls within the range of exercise corresponding to the target activity scene, it is determined that the wearable object has entered the target activity scene.

[0020] Furthermore, the method also includes:

[0021] If the second amount of motion does not fall within the range of motion corresponding to the target activity scene, the wearable object is detected at a second detection frequency within the second detection period to obtain the third amount of motion of the wearable object, wherein the second detection frequency is greater than the first detection frequency;

[0022] If the third amount of motion falls within the range of motion corresponding to the target activity scene, it is determined that the wearable object has entered the target activity scene.

[0023] Furthermore, the target activity information includes: the duration of the target activity scene;

[0024] The detection of the first amount of motion of the wearable object in the target activity scene includes:

[0025] The sensor is invoked to detect the wearable object during the specified duration, and the target acceleration of the wearable object during the specified duration is obtained;

[0026] Calculate the rate of change of the target acceleration over the duration.

[0027] Determine the target rate of change range in which the acceleration rate of change falls;

[0028] Based on the mapping relationship between the preset rate of change interval and the amount of exercise, the amount of exercise corresponding to the target rate of change interval is determined as the first amount of exercise.

[0029] Furthermore, the step of calling the target algorithm model to calculate the pacing frequency of the pacemaker corresponding to the first exercise intensity includes:

[0030] Obtain the target algorithm model corresponding to the target activity scenario, wherein the target algorithm model includes the conversion relationship between exercise volume and pacing frequency;

[0031] The pacing frequency corresponding to the first exercise intensity is determined based on the conversion relationship.

[0032] Furthermore, after controlling the pacemaker to operate at the pacing rate under the target activity scenario, the method further includes:

[0033] A monitoring request is sent to the control terminal, wherein the monitoring request is used to request the control terminal to monitor the heart rate data of the wearable object;

[0034] The system receives a pacing command from the control terminal, wherein the pacing command is sent by the control terminal when it determines that the heart rate data is less than a preset heart rate data.

[0035] The pacing operation is performed according to the pacing command.

[0036] According to another aspect of the embodiments of this application, a method for controlling pacing frequency is also provided, the method being applied to a control terminal, the method comprising:

[0037] Send a query request to the server, wherein the query request includes the object identifier of the wearable object;

[0038] Receive device information fed back by the server based on the object identifier, wherein the device information includes: a set of activity scenarios;

[0039] Based on the selected operation performed on the set of activity scenarios, the target activity scenario to be performed by the wearable object at a future time is determined;

[0040] The target activity scenario is carried in the target activity information and the target activity information is sent to the pacemaker.

[0041] Furthermore, the device information includes: device identity information;

[0042] The method further includes:

[0043] A communication connection is established between the device and the pacemaker based on the device identification information.

[0044] According to another aspect of the embodiments of this application, a pacing frequency control device is also provided, comprising:

[0045] The receiving module is used to receive target activity information sent by the control terminal, wherein the target activity information includes the target activity scene that the wearable object corresponding to the pacemaker will enter at a future time;

[0046] The detection module is used to detect the first amount of motion of the wearable object in the target activity scene when it is determined that the wearable object has entered the target activity scene;

[0047] The calculation module is used to call the target algorithm model to calculate the pacing frequency of the pacemaker corresponding to the first amount of exercise, wherein the target algorithm model is the algorithm model corresponding to the target activity scenario;

[0048] The control module is used to control the pacemaker to operate at the pacing frequency under the target activity scenario.

[0049] According to another aspect of the embodiments of this application, a pacing frequency control device is also provided, comprising:

[0050] The sending module is used to send a query request to the server, wherein the query request includes the object identifier of the wearable object;

[0051] A receiving module is configured to receive device information fed back by the server based on the object identifier, wherein the device information includes: a set of activity scenarios;

[0052] The determination module is used to determine the target activity scenario that the wearable object will perform at a future time based on the selected operation performed on the set of activity scenarios;

[0053] The processing module is used to carry the target activity scene in target activity information and send the target activity information to the pacemaker.

[0054] According to another aspect of the embodiments of this application, a pacing frequency control system is also provided, including: a server, a control terminal, and a pacemaker;

[0055] The control terminal is configured to send a query request to the server, wherein the query request includes an object identifier of the wearable object; receive device information fed back by the server based on the object identifier, wherein the device information includes: a set of activity scenarios; determine the target activity scenario that the wearable object will enter at a future time based on a selected operation performed on the set of activity scenarios; carry the target activity scenario in target activity information and send the target activity information to the pacemaker;

[0056] The pacemaker is used to receive target activity information sent by a control terminal; when it is determined that the wearable object has entered the target activity scene, it detects the first amount of movement of the wearable object in the target activity scene; it calls a target algorithm model to calculate the pacing frequency of the pacemaker corresponding to the first amount of movement, wherein the target algorithm model is an algorithm model corresponding to the target activity scene; and it controls the pacemaker to operate at the pacing frequency in the target activity scene.

[0057] According to another aspect of the embodiments of this application, a storage medium is also provided, the storage medium including a stored program that executes the above steps when the program is run.

[0058] According to another aspect of the embodiments of this application, an electronic device is also provided, including a processor, a communication interface, a memory, and a communication bus, wherein the processor, the communication interface, and the memory communicate with each other through the communication bus; wherein: the memory is used to store computer programs; and the processor is used to execute the steps in the above method by running the programs stored in the memory.

[0059] This application also provides a computer program product containing instructions that, when run on a computer, cause the computer to perform the steps in the above-described method.

[0060] Compared with the prior art, the technical solution provided in this application has the following advantages: By inputting the detected motion into the algorithm model corresponding to the target activity scene entered by the wearable object, this application can accurately calculate the pacing frequency of the wearable object in the target activity scene, thus solving the problem that the pacing frequency does not match the activity scene of the user in the prior art. Attached Figure Description

[0061] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with this application and, together with the description, serve to explain the principles of this application.

[0062] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, for those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0063] Figure 1 A flowchart illustrating a method for controlling pacing frequency provided in this application embodiment;

[0064] Figure 2 A flowchart of a pacing frequency control method provided in another embodiment of this application;

[0065] Figure 3 A flowchart of a pacing frequency control method provided in another embodiment of this application;

[0066] Figure 4 A block diagram of a pacing frequency control device provided in an embodiment of this application;

[0067] Figure 5 A block diagram of a pacing frequency control device provided in another embodiment of this application;

[0068] Figure 6 A block diagram of a pacing frequency control system provided in another embodiment of this application;

[0069] Figure 7 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application. Detailed Implementation

[0070] To make the objectives, technical solutions, and advantages of the embodiments of this application clearer, the technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, not all embodiments. The illustrative embodiments of this application and their descriptions are used to explain this application and do not constitute an improper limitation of this application. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.

[0071] It should be noted that, in this document, relational terms such as "first" and "second" are used merely to distinguish one entity or operation from another similar entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes said element.

[0072] This application provides a method, apparatus, system, electronic device, and storage medium for controlling pacing frequency. The method provided by this invention can be applied to any electronic device as needed, such as a server, terminal, or other electronic device. No specific limitation is made here, and for ease of description, it will be referred to as an electronic device below.

[0073] According to one aspect of the embodiments of this application, a method embodiment of a pacing frequency control method is provided. Figure 1 A flowchart of a pacing frequency control method provided in this application embodiment is shown below. Figure 1 As shown, the method includes:

[0074] Step S11: Receive target activity information sent by the control terminal, wherein the target activity information includes the target activity scenario of the wearable object corresponding to the pacemaker at a future time.

[0075] The method provided in this application uses a pacemaker, which can be worn by humans or other animals with vital signs. The control terminal can be a terminal device with communication functions, such as a smartphone, smart tablet, or smart wearable device. Therefore, before receiving target activity information sent by the control terminal, the pacemaker needs to establish a communication connection with the control terminal, specifically including the following steps A1-A2:

[0076] Step A1: Receive device identity information sent by the control terminal.

[0077] In this embodiment of the application, the control terminal sends a query request to the server to query the device identity information of the pacemaker. After the control terminal obtains the device identity information of the pacemaker, it sends a communication request to the pacemaker. The communication request carries the device identity information, which may be the device serial number.

[0078] Step A2: Authenticate the device identity information. If the device identity information is successfully authenticated, establish a communication connection with the control terminal.

[0079] In this embodiment of the application, after receiving the device identity information, the pacemaker will use its own stored identity information to authenticate with the received device identity information. If the authentication is successful, a communication connection will be established with the control terminal.

[0080] In this embodiment of the application, after the pacemaker establishes a communication connection with the control terminal, the wearer can send target activity information to the pacemaker through the control terminal. The target activity information includes: the lag time of the target activity scene and the duration of the target activity scene.

[0081] It should be noted that the target activity scenario can be activities such as running, skipping rope, cycling, or swimming. The lag time is the time it takes for the wearable object to enter the activity scenario, and the duration is the time the wearable object remains active in the target activity scenario.

[0082] Step S12: If it is determined that the wearable object has entered the target activity scene, detect the first amount of motion of the wearable object in the target activity scene.

[0083] In this embodiment of the application, before determining that the wearable object has entered the target activity scenario, the pacemaker first determines whether it supports the target activity scenario. If it does, the wearable object is detected. The detection process includes the following steps B1-B4:

[0084] Step B1: Determine the first time point based on the difference between the lag time and the preset time distance, and determine the second time point based on the sum of the lag time and the preset time distance.

[0085] In this embodiment of the application, considering that the wearable object may enter the target activity scene before or after the lag time, a preset time distance is set, thereby increasing the probability of detecting the wearable object entering the target activity scene.

[0086] As an example, if the lag time is set to LT and the preset time distance is set to RLT, then the first time point is LT-RLT and the second time point is LT+RLT.

[0087] Step B2: Determine the first detection cycle based on the current time and the first time point, and determine the second detection cycle based on the first time point and the second time point.

[0088] In this embodiment of the application, in order to improve the accuracy of detecting wearable objects entering the target activity scene, the time period between the current time and the first time point is used as the first detection period, and the time period between the first time point and the second time point is determined as the second detection period.

[0089] Step B3: Within the first detection cycle, the wearable object is detected at the first detection frequency to obtain the second motion amount of the wearable object.

[0090] Step B4: If the second amount of exercise falls within the range of exercise corresponding to the target activity scene, determine that the wearer has entered the target activity scene.

[0091] In this embodiment, the wearable object is detected at a first detection frequency during the first detection cycle, which may involve detecting data such as acceleration and velocity of the wearable object during the first detection cycle. Specifically, the steps include:

[0092] The sensor is invoked to detect the wearable object within a first detection cycle at a first detection frequency, obtaining the acceleration data of the wearable object within the first detection cycle. The first detection frequency can be 1 minute / time, 2 minutes / time, etc. Then, based on the mapping relationship between acceleration data and motion amount, the second motion amount corresponding to the acceleration data within the first detection cycle is determined.

[0093] As an example, if a pacemaker supports a target activity scenario sent by a control terminal, the pacemaker starts timing and begins low-frequency detection to check if the patient has entered the scenario until the wearer enters the scenario or the timing reaches approximately the LT duration (LT-RLT to LT+RLT). When the timing is within the LT-RLT to LT+RLT range, the pacemaker begins high-frequency detection to check if the wearer has entered the scenario until the wearer enters the scenario or the timing exceeds LT+RLT. When the timing exceeds LT+RLT, the pacemaker begins low-frequency detection to check if the patient has entered the scenario until the detection time upper limit is reached, such as 2RLT, 3RLT, etc., without specific limitations here.

[0094] In this embodiment of the application, after obtaining the second exercise volume, the pacemaker will query the exercise volume range corresponding to the target activity scene. If the second exercise volume falls within the exercise volume range, it is determined that the wearer has entered the target activity scene.

[0095] In this embodiment of the application, the method further includes the following steps C1-C2:

[0096] Step C1: If the second motion amount does not fall within the motion amount range corresponding to the target activity scene, the wearable object is detected at the second detection frequency within the second detection cycle to obtain the third motion amount of the wearable object, wherein the second detection frequency is greater than the first detection frequency.

[0097] Step C2: If the third amount of motion falls within the range of motion corresponding to the target activity scene, determine that the wearer has entered the target activity scene.

[0098] In this embodiment of the application, the detection process specifically includes: calling the sensor to detect the wearable object in the second detection cycle to obtain the acceleration data of the wearable object in the second detection cycle; and determining the third motion amount corresponding to the acceleration data in the second detection cycle based on the mapping relationship between the acceleration data and the motion amount.

[0099] In this embodiment of the application, after obtaining the third motion volume, the pacemaker will query the motion volume range corresponding to the target activity scene. If the third motion volume falls within the motion volume range, it is determined that the wearer has entered the target activity scene.

[0100] In this embodiment, the application collects acceleration data samples of multiple detection objects under different activity scenarios. The acceleration data samples include triaxial (x, y, z) acceleration data. The acceleration data samples are converted into motion volume samples, and the label information corresponding to the motion volume samples is obtained. The label information is used to identify the activity scenario to which the motion volume sample belongs. The classifier is trained using the motion volume samples and label information so that the classifier can extract the feature information of the motion volume samples (e.g., the range of motion volume) and establish the correspondence between the feature information and the activity scenario. This enables the classification of activity scenarios based on motion volume, thereby accelerating the detection efficiency of whether the wearable object has entered the target activity scenario.

[0101] Step S13: Determine the pacing frequency of the pacemaker corresponding to the first exercise intensity.

[0102] In this embodiment of the application, step S13, determining the pacing frequency of the pacemaker corresponding to the first exercise intensity, includes the following steps E1-E2:

[0103] Step E1: Obtain the target algorithm model corresponding to the wearable object in the target activity scenario, wherein the target algorithm model includes the mapping relationship between exercise volume and pacing frequency.

[0104] Step E2: Determine the pacing frequency corresponding to the first amount of exercise based on the target algorithm model.

[0105] In this embodiment, the pacemaker has built-in algorithm models corresponding to multiple activity scenarios, such as an algorithm model for swimming, running, and cycling. After obtaining the first amount of exercise, the target algorithm model corresponding to the target activity scenario is obtained. The first amount of exercise is input into the target algorithm model, and the pacing frequency corresponding to the first amount of exercise is determined by the correspondence between the amount of exercise and the pacing frequency in the target algorithm model.

[0106] It should be noted that the specific process of setting the corresponding algorithm model for each activity scenario in this embodiment is as follows:

[0107] Obtain exercise volume samples and corresponding heart rate data samples for each activity scenario. Fit the exercise volume samples and heart rate data samples to obtain the mapping relationship between the exercise volume samples and heart rate data. Based on this mapping relationship, establish the algorithm model corresponding to the activity scenario.

[0108] As an example, when the wearable device is in a swimming scenario, the pacemaker calls the algorithm model corresponding to the swimming scenario and inputs the exercise volume corresponding to the wearable device into the algorithm model. The algorithm model determines the pacemaker frequency in the swimming scenario based on the mapping relationship between the first exercise volume and the exercise volume and heart rate data in the swimming scenario.

[0109] Step S14: Control the pacemaker to operate at the pacing frequency under the target activity scenario.

[0110] This application, by inputting the detected motion volume into the algorithm model corresponding to the target activity scene entered by the wearable object, can accurately calculate the pacing frequency of the wearable object in the target activity scene, thus solving the problem in the prior art that the pacing frequency does not match the activity scene in which the user is located.

[0111] In the embodiments of this application, such as Figure 2 As shown, after controlling the pacemaker to operate at the pacing rate under the target activity scenario, the method further includes the following steps:

[0112] S21, after the duration is reached, a monitoring request is sent to the control terminal, wherein the monitoring request is used to request the control terminal to monitor the heart rate data of the wearer.

[0113] In this embodiment, after determining that the wearer has entered the target activity scenario, the pacemaker starts timing. Once the target activity scenario has reached a predetermined duration, the pacemaker sends a monitoring request to the control terminal, enabling the control terminal to monitor the wearer's heart rate data. After monitoring the wearer's heart rate data, the control terminal compares the heart rate data with preset heart rate data (which can be standard heart rate data for a normal person). If the heart rate data is lower than the preset heart rate data, the control terminal sends a pacing command to the pacemaker.

[0114] Specifically, when the heart rate data is lower than the preset heart rate data, the control terminal will generate a prompt message based on the heart rate data and the preset heart rate data. The prompt message is used to obtain the specified heart rate data input by the wearer, generate a pacing command based on the specified heart rate data, and send the pacing command to the pacemaker.

[0115] S22, receive pacing command from the control terminal, wherein the pacing command is sent by the control terminal when it determines that the heart rate data is less than the preset heart rate data.

[0116] S23, executes pacing operation according to pacing instructions.

[0117] In this embodiment of the application, after the duration of the target activity scenario is reached, the heart rate data of the wearer can be monitored, and if the heart rate data is less than the preset heart rate data, the pacing operation can continue to be performed, thereby ensuring that the heart rate data of the wearer reaches the normal requirements.

[0118] Figure 3 A flowchart of a pacing frequency control method provided in this application embodiment is applied to a control terminal, such as... Figure 3 As shown, the method may include the following steps:

[0119] Step S31: Send a query request to the server, wherein the query request includes the object identifier of the wearable object.

[0120] Step S32: Receive device information fed back by the server based on the object identifier, wherein the device information includes: a set of activity scenarios.

[0121] Step S33: Determine the target activity scenario that the wearable object will perform at a future time based on the selected operation applied to the activity scenario set.

[0122] Step S24: Carry the target activity scenario in the target activity information and send the target activity information to the pacemaker.

[0123] In this embodiment, to establish a communication connection with the pacemaker, the control terminal obtains the object identifier of the wearable object. The object identifier can be an ID card number, mobile phone number, user ID, etc., and generates a query request based on the object identifier. This query request retrieves the pacemaker's device information from the server. The device information includes the pacemaker's device identity information (e.g., device serial number) and the set of activity scenarios supported by the pacemaker. The device identity information is used to establish the communication connection between the control terminal and the pacemaker.

[0124] After receiving a set of activity scenarios, the control terminal displays the scenarios, receives the selection operation from the wearable user, and determines the target activity scenario for the wearable user at a future time based on the selected operation. Alternatively, it receives voice information from the wearable user and determines the target activity scenario based on the voice information. After determining the target activity scenario, the control terminal can also receive the lag time and duration input by the wearable user, generate target activity information based on the lag time, duration, and target activity scenario, and send the target activity information to the pacemaker.

[0125] Figure 4 This is a block diagram of a pacing frequency control device provided in an embodiment of this application. This device can be implemented as part or all of an electronic device through software, hardware, or a combination of both. Figure 4 As shown, the device includes:

[0126] The receiving module 41 is used to receive target activity information sent by the control terminal, wherein the target activity information includes the target activity scenario of the wearable object corresponding to the pacemaker at a future time.

[0127] Detection module 42 is used to detect the first amount of movement of the wearable object in the target activity scene when it is determined that the wearable object has entered the target activity scene;

[0128] The calculation module 43 is used to call the target algorithm model to calculate the pacing frequency of the pacemaker corresponding to the first amount of exercise. The target algorithm model is the algorithm model corresponding to the target activity scenario.

[0129] The control module 44 is used to control the pacemaker to operate at the pacing frequency under the target activity scenario.

[0130] In this embodiment of the application, the device further includes an authentication module, which is used to receive device identity information sent by the control terminal; authenticate the device identity information; and establish a communication connection with the control terminal if the device identity information is successfully authenticated.

[0131] In this embodiment of the application, the target activity information includes: the lag time of the target activity scene;

[0132] The detection module 42 is further configured to determine a first time point based on the difference between the lag time and the preset time distance, and to determine a second time point based on the sum of the lag time and the preset time distance; to determine a first detection cycle based on the current time and the first time point, and to determine a second detection cycle based on the first time point and the second time point; to detect the wearable object at a first detection frequency within the first detection cycle to obtain the second motion amount of the wearable object; and to determine that the wearable object has entered the target activity scene if the second motion amount falls within the motion amount range corresponding to the target activity scene.

[0133] In this embodiment of the application, the detection module 42 is further configured to detect the wearable object at a second detection frequency within a second detection period when the second motion amount does not fall within the motion amount range corresponding to the target activity scene, thereby obtaining the third motion amount of the wearable object, wherein the second detection frequency is greater than the first detection frequency; and to determine that the wearable object has entered the target activity scene when the third motion amount falls within the motion amount range corresponding to the target activity scene.

[0134] In this embodiment of the application, the target activity information includes: the duration of the target activity scene;

[0135] In this embodiment of the application, the detection module 42 is further configured to call the sensor to detect the wearable object during the duration, obtain the target acceleration of the wearable object during the duration; calculate the rate of change of the target acceleration during the duration; determine the target rate of change interval where the rate of change of acceleration is located; and determine the amount of motion corresponding to the target rate of change interval as the first amount of motion based on the mapping relationship between the preset rate of change interval and the amount of motion.

[0136] In this embodiment of the application, the calculation module 43 is used to obtain the target algorithm model corresponding to the target activity scene, wherein the target algorithm model includes the conversion relationship between exercise volume and pacing frequency; and to determine the pacing frequency corresponding to the first exercise volume based on the conversion relationship.

[0137] In this embodiment of the application, the device further includes: a monitoring module, configured to send a monitoring request to a control terminal, wherein the monitoring request is used to request the control terminal to monitor the heart rate data of the wearable object; receive a pacing command fed back by the control terminal, wherein the pacing command is sent by the control terminal when it determines that the heart rate data is less than a preset heart rate data; and perform a pacing operation according to the pacing command.

[0138] Figure 5 This is a block diagram of a pacing frequency control device provided in an embodiment of this application. This device can be implemented as part or all of an electronic device through software, hardware, or a combination of both. Figure 5 As shown, the device includes:

[0139] The sending module 51 is used to send a query request to the server, wherein the query request includes the object identifier of the wearable object.

[0140] The receiving module 52 is used to receive device information fed back by the server based on the object identifier, wherein the device information includes: a set of activity scenarios;

[0141] The determination module 53 is used to determine the target activity scenario that the wearable object will perform at a future time based on the selected operation applied to the set of activity scenarios;

[0142] The processing module 54 is used to carry the target activity scene in the target activity information and send the target activity information to the pacemaker.

[0143] Figure 6 This is a block diagram of a pacing frequency control system provided in an embodiment of this application. This device can be implemented as part or all of an electronic device through software, hardware, or a combination of both. Figure 6 As shown, the system includes:

[0144] The control terminal 61 is used to send a query request to the server 62, wherein the query request includes the object identifier of the wearable object; receive device information fed back by the server based on the object identifier, wherein the device information includes: a set of activity scenarios; determine the target activity scenario to be performed by the wearable object at a future time based on the selected operation performed on the set of activity scenarios; carry the target activity scenario in the target activity information and send the target activity information to the pacemaker;

[0145] The pacemaker 63 is used to receive target activity information sent by the control terminal 61, wherein the target activity information includes the target activity scenario of the wearable object corresponding to the pacemaker at a future time; when it is determined that the wearable object has entered the target activity scenario, the pacemaker detects the first amount of motion of the wearable object in the target activity scenario; calculates the pacing frequency of the pacemaker based on the first amount of motion; and controls the pacemaker to operate at the pacing frequency in the target activity scenario.

[0146] This application also provides an electronic device, such as... Figure 7 As shown, the electronic device may include: a processor 1501, a communication interface 1502, a memory 1503, and a communication bus 1504, wherein the processor 1501, the communication interface 1502, and the memory 1503 communicate with each other through the communication bus 1504.

[0147] Memory 1503 is used to store computer programs;

[0148] When the processor 1501 executes the computer program stored in the memory 1503, it implements the steps of the above embodiments.

[0149] The communication bus mentioned above can be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus, etc. This communication bus can be divided into address bus, data bus, control bus, etc. For ease of illustration, only one thick line is used to represent it in the diagram, but this does not mean that there is only one bus or one type of bus.

[0150] The communication interface is used for communication between the aforementioned terminal and other devices.

[0151] The memory may include random access memory (RAM) or non-volatile memory, such as at least one disk storage device. Optionally, the memory may also be at least one storage device located remotely from the aforementioned processor.

[0152] The processors mentioned above can be general-purpose processors, including central processing units (CPUs), network processors (NPs), etc.; they can also be digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, or discrete hardware components.

[0153] In another embodiment provided in this application, a computer-readable storage medium is also provided, which stores instructions that, when executed on a computer, cause the computer to perform the pacing frequency control method described in any of the above embodiments.

[0154] In another embodiment provided in this application, a computer program product containing instructions is also provided, which, when run on a computer, causes the computer to execute any of the pacing frequency control methods described in the above embodiments.

[0155] In the above embodiments, implementation can be achieved, in whole or in part, through software, hardware, firmware, or any combination thereof. When implemented in software, it can be implemented, in whole or in part, as a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, all or part of the processes or functions described in the embodiments of this application are generated. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another. For example, the computer instructions can be transmitted from one website, computer, server, or data center to another website, computer, server, or data center via wired (e.g., coaxial cable, fiber optic, digital subscriber line) or wireless (e.g., infrared, wireless, microwave, etc.) means. The computer-readable storage medium can be any available medium accessible to a computer or a data storage device such as a server or data center that integrates one or more available media. The available medium can be a magnetic medium (e.g., floppy disk, hard disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., a solid-state drive).

[0156] The above description is merely a preferred embodiment of this application and is not intended to limit the scope of protection of this application. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this application are included within the scope of protection of this application.

[0157] The above description is merely a specific embodiment of this application, enabling those skilled in the art to understand or implement this application. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of this application. Therefore, this application is not to be limited to the embodiments shown herein, but is to be accorded the widest scope consistent with the principles and novel features claimed herein.

Claims

1. A method of controlling pacing rate, characterized by, Applied to a pacemaker, the method includes: The device receives target activity information sent by the control terminal, wherein the target activity information includes the target activity scene that the wearable object corresponding to the pacemaker will enter at a future time and the lag time before entering the target activity scene; If it is determined that the wearable object has entered the target activity scene, the first amount of motion of the wearable object in the target activity scene is detected; The target algorithm model is invoked to calculate the pacing frequency of the pacemaker corresponding to the first amount of exercise, wherein the target algorithm model is the algorithm model corresponding to the target activity scenario; Control the pacemaker to operate at the pacing frequency under the target activity scenario; Before determining that the wearable object has entered the target activity scene, the method further includes: determining a first time point based on the difference between the lag time and a preset time distance, and determining a second time point based on the sum of the lag time and the preset time distance; determining a first detection period based on the current time and the first time point, and determining a second detection period based on the first time point and the second time point; detecting the wearable object at a first detection frequency within the first detection period to obtain a second motion amount of the wearable object; and determining that the wearable object has entered the target activity scene if the second motion amount falls within the motion amount range corresponding to the target activity scene. The method further includes: if the second amount of movement does not fall within the range of movement corresponding to the target activity scene, detecting the wearable object at a second detection frequency within the second detection period to obtain the third amount of movement of the wearable object, wherein the second detection frequency is greater than the first detection frequency; if the third amount of movement falls within the range of movement corresponding to the target activity scene, determining that the wearable object has entered the target activity scene.

2. The method according to claim 1, characterized in that, Before receiving the target activity information sent by the control terminal, the method further includes: Receive device identity information sent by the control terminal; The device identity information is authenticated, and if the device identity information is successfully authenticated, a communication connection is established with the control terminal.

3. The method according to claim 1, characterized in that, The target activity information includes: the duration of the target activity scene; The detection of the first amount of motion of the wearable object in the target activity scene includes: The sensor is invoked to detect the wearable object during the specified duration, and the target acceleration of the wearable object during the specified duration is obtained; Calculate the rate of change of the target acceleration over the duration. Determine the target rate of change range in which the acceleration rate of change falls; Based on the mapping relationship between the preset rate of change interval and the amount of exercise, the amount of exercise corresponding to the target rate of change interval is determined as the first amount of exercise.

4. The method according to claim 1, characterized in that, The step of calling the target algorithm model to calculate the pacing frequency of the pacemaker corresponding to the first exercise intensity includes: Obtain the target algorithm model corresponding to the target activity scenario, wherein the target algorithm model includes the conversion relationship between exercise volume and pacing frequency; The pacing frequency corresponding to the first exercise intensity is determined based on the conversion relationship.

5. A method for controlling pacing frequency, characterized in that, Applied to a control terminal, the method includes: Send a query request to the server, wherein the query request includes the object identifier of the wearable object; Receive device information fed back by the server based on the object identifier, wherein the device information includes: a set of activity scenarios; Based on the selected operation performed on the set of activity scenarios, the target activity scenario to be performed by the wearable object at a future time is determined; The target activity scenario is carried in the target activity information and the target activity information is sent to the pacemaker. The target activity information includes the target activity scenario that the wearer corresponding to the pacemaker will enter at a future time and the lag time before entering the target activity scenario. If it is determined that the wearable object has entered the target activity scene, the first amount of motion of the wearable object in the target activity scene is detected; The target algorithm model is invoked to calculate the pacing frequency of the pacemaker corresponding to the first amount of exercise, wherein the target algorithm model is the algorithm model corresponding to the target activity scenario; Control the pacemaker to operate at the pacing frequency under the target activity scenario; Before determining that the wearable object has entered the target activity scene, a first time point is determined based on the difference between the lag time and a preset time distance, and a second time point is determined based on the sum of the lag time and the preset time distance; a first detection period is determined based on the current time and the first time point, and a second detection period is determined based on the first time point and the second time point; within the first detection period, the wearable object is detected according to a first detection frequency to obtain the second motion amount of the wearable object; if the second motion amount falls within the motion amount range corresponding to the target activity scene, it is determined that the wearable object has entered the target activity scene. The method further includes: if the second amount of movement does not fall within the range of movement corresponding to the target activity scene, detecting the wearable object at a second detection frequency within the second detection period to obtain the third amount of movement of the wearable object, wherein the second detection frequency is greater than the first detection frequency; if the third amount of movement falls within the range of movement corresponding to the target activity scene, determining that the wearable object has entered the target activity scene.

6. The method according to claim 5, characterized in that, The device information includes: device identity information; The method further includes: A communication connection is established between the device and the pacemaker based on the device identification information.

7. A pacing frequency control device, applied to a pacemaker, characterized in that, include: The receiving module is used to receive target activity information sent by the control terminal, wherein the target activity information includes the target activity scene that the wearable object corresponding to the pacemaker will enter at a future time and the lag time of entering the target activity scene; The detection module is used to detect the first amount of motion of the wearable object in the target activity scene when it is determined that the wearable object has entered the target activity scene; The calculation module is used to call the target algorithm model to calculate the pacing frequency of the pacemaker corresponding to the first amount of exercise, wherein the target algorithm model is the algorithm model corresponding to the target activity scenario; The control module is used to control the pacemaker to operate at the pacing frequency under the target activity scenario; The detection module is specifically configured to: determine a first time point based on the difference between the lag time and a preset time distance; determine a second time point based on the sum of the lag time and the preset time distance; determine a first detection period based on the current time and the first time point; and determine a second detection period based on the first and second time points; detect the wearable object at a first detection frequency within the first detection period to obtain a second motion amount of the wearable object; and determine that the wearable object has entered the target activity scene if the second motion amount falls within the motion amount range corresponding to the target activity scene. The detection module is further specifically used to detect the wearable object at a second detection frequency within the second detection period when the second motion amount does not fall within the motion amount range corresponding to the target activity scene, thereby obtaining the third motion amount of the wearable object, wherein the second detection frequency is greater than the first detection frequency; and to determine that the wearable object has entered the target activity scene when the third motion amount falls within the motion amount range corresponding to the target activity scene.

8. A pacing frequency control device, applied to a control terminal, characterized in that, include: The sending module is used to send a query request to the server, wherein the query request includes the object identifier of the wearable object; A receiving module is configured to receive device information fed back by the server based on the object identifier, wherein the device information includes: a set of activity scenarios; The determination module is used to determine the target activity scenario that the wearable object will perform at a future time based on the selected operation performed on the set of activity scenarios; The processing module is used to carry the target activity scene in the target activity information and send the target activity information to the pacemaker. The target activity information includes the target activity scene that the wearable object corresponding to the pacemaker will enter at a future time and the lag time of entering the target activity scene. The detection module is used to detect the first amount of motion of the wearable object in the target activity scene when it is determined that the wearable object has entered the target activity scene; The calculation module is used to call the target algorithm model to calculate the pacing frequency of the pacemaker corresponding to the first amount of exercise, wherein the target algorithm model is the algorithm model corresponding to the target activity scenario; The control module is used to control the pacemaker to operate at the pacing frequency under the target activity scenario; The detection module is specifically configured to: determine a first time point based on the difference between the lag time and a preset time distance; determine a second time point based on the sum of the lag time and the preset time distance; determine a first detection period based on the current time and the first time point; and determine a second detection period based on the first and second time points; detect the wearable object at a first detection frequency within the first detection period to obtain a second motion amount of the wearable object; and determine that the wearable object has entered the target activity scene if the second motion amount falls within the motion amount range corresponding to the target activity scene. The detection module is further specifically used to detect the wearable object at a second detection frequency within the second detection period when the second motion amount does not fall within the motion amount range corresponding to the target activity scene, thereby obtaining the third motion amount of the wearable object, wherein the second detection frequency is greater than the first detection frequency; and to determine that the wearable object has entered the target activity scene when the third motion amount falls within the motion amount range corresponding to the target activity scene.

9. A pacing frequency control system, characterized in that, include: Servers, control terminals, and pacemakers; The control terminal is configured to send a query request to the server, wherein the query request includes an object identifier of the wearable object; receive device information fed back by the server based on the object identifier, wherein the device information includes: a set of activity scenarios; determine the target activity scenario that the wearable object will enter at a future time based on the selected operation performed on the set of activity scenarios; carry the target activity scenario in target activity information and send the target activity information to the pacemaker; The pacemaker is configured to receive target activity information sent by a control terminal, wherein the target activity information includes a target activity scene that the wearable object corresponding to the pacemaker will enter at a future time and a lag time before entering the target activity scene; upon determining that the wearable object has entered the target activity scene, the pacemaker detects a first amount of motion of the wearable object in the target activity scene; it calls a target algorithm model to calculate the pacing frequency of the pacemaker corresponding to the first amount of motion, wherein the target algorithm model is an algorithm model corresponding to the target activity scene; and it controls the pacemaker to operate at the pacing frequency in the target activity scene. Before determining that the wearable object has entered the target activity scene, a first time point is determined based on the difference between the lag time and a preset time distance, and a second time point is determined based on the sum of the lag time and the preset time distance; a first detection period is determined based on the current time and the first time point, and a second detection period is determined based on the first time point and the second time point; within the first detection period, the wearable object is detected according to a first detection frequency to obtain the second motion amount of the wearable object; if the second motion amount falls within the motion amount range corresponding to the target activity scene, it is determined that the wearable object has entered the target activity scene. If the second amount of movement does not fall within the range of movement corresponding to the target activity scene, the wearable object is detected at a second detection frequency within the second detection period to obtain the third amount of movement of the wearable object, wherein the second detection frequency is greater than the first detection frequency; if the third amount of movement falls within the range of movement corresponding to the target activity scene, it is determined that the wearable object has entered the target activity scene.

10. A storage medium, characterized in that, The storage medium includes a stored program, wherein the program, when executed, performs the pacing frequency control method according to any one of claims 1 to 6.

11. An electronic device, characterized in that, It includes a processor, a communication interface, a memory, and a communication bus, wherein the processor, communication interface, and memory communicate with each other through the communication bus; wherein: Memory, used to store computer programs; A processor for executing the pacing frequency control method according to any one of claims 1 to 6 by running a program stored in memory.