Method for performing prescription-related task by using plurality of external electronic devices, electronic device for supporting same, and storage medium

The electronic device coordinates multiple external devices to execute patient care tasks efficiently, addressing device failures and ensuring seamless operation.

WO2026121614A1PCT designated stage Publication Date: 2026-06-11SAMSUNG ELECTRONICS CO LTD

Patent Information

Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
SAMSUNG ELECTRONICS CO LTD
Filing Date
2025-11-12
Publication Date
2026-06-11

AI Technical Summary

Technical Problem

Existing systems lack an efficient method to coordinate the execution of multiple tasks associated with patient prescriptions across various external electronic devices, leading to potential failures and loss of monitoring information due to device malfunctions.

Method used

An electronic device capable of identifying and coordinating multiple external devices to perform tasks based on prescription information, setting a task execution schedule, and managing device failures by reallocating tasks to ensure seamless operation.

🎯Benefits of technology

Ensures reliable and continuous execution of patient care tasks by coordinating external devices, minimizing human error and maintaining monitoring integrity.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure KR2025018575_11062026_PF_FP_ABST
    Figure KR2025018575_11062026_PF_FP_ABST
Patent Text Reader

Abstract

This electronic device may comprise a communication circuit, at least one processor, and a memory for storing instructions. The instructions can instruct the electronic device to: acquire prescription information corresponding to a patient; on the basis of a type of prescription identified through the prescription information, identify a plurality of external electronic devices for providing functions associated with a plurality of tasks corresponding to the prescription information; and, on the basis of setting a task performance schedule for the plurality of external electronic devices by using capability information of the plurality of external electronic devices, transmit a task performance request to the plurality of external electronic devices so that the respective external electronic devices perform at least one of the plurality of tasks at a point in time set for the plurality of external electronic devices, the capability information being able to include information associated with the type of the external electronic device and at least one function provided by the external electronic device; identify that a task failure has occurred by means of a first external electronic device from among the plurality of external electronic devices; transmit the task performance request to a second external electronic device, which differs from the first external electronic device, so that the second external electronic device performs at least one task set for the first external electronic device; and, on the basis of information associated with a result of performing the task received in response to the task performance request, identify whether the plurality of tasks have been completed.
Need to check novelty before this filing date? Find Prior Art

Description

A method for performing a task associated with a prescription using multiple external electronic devices, an electronic device supporting the same, and a storage medium

[0001] Embodiments of the present disclosure relate to a method for performing a task associated with a prescription using a plurality of external electronic devices, an electronic device supporting the same, and a storage medium.

[0002] For many people living in the modern era, portable digital communication devices have become an essential element. Consumers want to use these devices to receive a variety of high-quality services of their choice anytime and anywhere.

[0003] A technology is proposed to assist patients in performing procedures corresponding to prescriptions issued by medical institutions. Technology that monitors patients using devices and assists with patient prescriptions plays an important role in the medical field. Wearable devices measure vital signs such as the patient's electrocardiogram, oxygen saturation, and body temperature. Medical professionals, such as nurses, check the patient's vital signs by passively controlling the monitoring devices.

[0004] Degenerative diseases caused by the loss of nerve cells in the brain, such as Parkinson's disease, are accompanied by symptoms such as muscle rigidity and depression. Prescriptions for Parkinson's disease patients include prescriptions recommending the use of medications that inhibit dopamine breakdown, as well as rehabilitation prescriptions designed to improve the patient's motor function. Caregivers for Parkinson's disease patients assist with medication administration using devices that provide alarm functions. Rehabilitation assistants for Parkinson's disease patients support the patient's rehabilitation using exercise equipment.

[0005] Cardiovascular disease ("CVD") is a condition caused by abnormalities in the circulatory system, such as the heart and blood vessels. Patients with cardiovascular disease are prescribed exercise to improve the circulatory system and to measure levels such as blood pressure or cholesterol. Assistants for patients with cardiovascular disease monitor the patient's exercise capacity using exercise equipment and assist in the measurement of cardiovascular levels.

[0006] The information described above may be provided as related art for the purpose of aiding understanding of this document. None of the above is to be claimed as prior art related to this document, nor can it be used to determine prior art.

[0007] According to one embodiment of the present disclosure, an electronic device may include a communication circuit, at least one processor, and a memory for storing instructions. The instructions may cause the electronic device to obtain prescription information corresponding to a patient when executed individually or collectively by the at least one processor. The instructions may cause the electronic device to identify a plurality of external electronic devices that provide functions associated with a plurality of tasks corresponding to the prescription information, based on the type of prescription identified based on the prescription information, when executed individually or collectively by the at least one processor. The instructions may cause the electronic device to transmit a task execution request to the plurality of external electronic devices through the communication circuit so that each of the plurality of external electronic devices performs at least one of the plurality of tasks at a time set for the plurality of external electronic devices, based on setting a task execution schedule for the plurality of external electronic devices using capability information of the plurality of external electronic devices. The capability information may include information associated with the type of external electronic device and at least one function provided by the external electronic device. The external electronic device may be included in the plurality of external electronic devices. When the instructions are executed individually or collectively by the at least one processor, the electronic device may determine that a task failure has occurred by the first external electronic device among the plurality of external electronic devices.The above instructions may cause the electronic device, when executed individually or collectively by the at least one processor, to transmit a task execution request to the second external electronic device through the communication circuit, so that the second external electronic device, which is different from the first external electronic device, performs at least one task set for the first external electronic device. The above instructions may cause the electronic device, when executed individually or collectively by the at least one processor, to check whether the plurality of tasks have been completed based on information associated with the task execution result received in response to the task execution request.

[0008] According to one embodiment of the present disclosure, the method may include an operation of obtaining prescription information corresponding to a patient. The method may include an operation of identifying a plurality of external electronic devices that provide functions associated with a plurality of tasks corresponding to the prescription information, based on a type of prescription identified based on the prescription information. The method may include an operation of transmitting a task execution request to the plurality of external electronic devices through a communication circuit of an electronic device so that each of the plurality of external electronic devices performs at least one task among the plurality of tasks at a time set for the plurality of external electronic devices, based on setting a task execution schedule for the plurality of external electronic devices using capability information of the plurality of external electronic devices. The capability information may include information associated with the type of the external electronic device and at least one function provided by the external electronic device. The external electronic device may be included in the plurality of external electronic devices. The method may include an operation of confirming that a task failure has occurred by a first external electronic device among the plurality of external electronic devices. The above method may include an operation of transmitting a task execution request to a second external electronic device through the communication circuit so that the second external electronic device, which is different from the first external electronic device, performs at least one task set for the first external electronic device. The above method may include an operation of checking whether the plurality of tasks have been completed based on information associated with the task execution result received in response to the task execution request.

[0009] According to one embodiment of the present disclosure, in a storage medium storing computer-executable instructions, the instructions may cause the electronic device to perform at least one operation when executed by a processor of the electronic device. The at least one operation may include an operation of obtaining prescription information corresponding to a patient. The at least one operation may include an operation of identifying a plurality of external electronic devices that provide functions associated with a plurality of tasks corresponding to the prescription information, based on a type of prescription identified based on the prescription information. The at least one operation may include an operation of transmitting a task execution request to the plurality of external electronic devices through a communication circuit of the electronic device so that each of the plurality of external electronic devices performs at least one task among the plurality of tasks at a time set for the plurality of external electronic devices, based on setting a task execution schedule for the plurality of external electronic devices using capability information of the plurality of external electronic devices. The capability information may include information associated with the type of the external electronic device and at least one function provided by the external electronic device. The external electronic device may be included in the plurality of external electronic devices. The above at least one operation may include an operation of confirming that a task failure has occurred by a first external electronic device among the plurality of external electronic devices. The above at least one operation may include an operation of transmitting a task execution request to a second external electronic device through the communication circuit so that a second external electronic device different from the first external electronic device performs at least one task set for the first external electronic device.The above at least one operation may include an operation to check whether the plurality of tasks have been completed based on information associated with the task execution result received in response to the task execution request.

[0010] The means for solving the problem according to one embodiment of the present disclosure are not limited to the means for solving the problem described above, and means for solving the problem not mentioned will be clearly understood by those skilled in the art from the present specification and the accompanying drawings.

[0011] FIG. 1 is a block diagram of an electronic device in a network environment according to one embodiment of the present disclosure.

[0012] FIG. 2 is a block diagram for explaining the configuration of an electronic device according to one embodiment of the present disclosure.

[0013] FIG. 3 is a block diagram for explaining the configuration of an electronic device according to one embodiment of the present disclosure.

[0014] FIG. 4 is an illustrative diagram for explaining a method of communicating with a plurality of external electronic devices of an electronic device according to one embodiment of the present disclosure.

[0015] FIG. 5 is a flowchart illustrating a method for controlling the execution of a plurality of tasks corresponding to a prescription using a plurality of external electronic devices of an electronic device according to one embodiment of the present disclosure.

[0016] FIG. 6 is a flowchart illustrating a method for setting a task execution schedule of an electronic device according to one embodiment of the present disclosure.

[0017] FIG. 7 is a flowchart illustrating a method for guiding a patient's movement using an electronic device according to one embodiment of the present disclosure.

[0018] FIG. 8 is an illustrative diagram for explaining a method of guiding a patient's exercise using an electronic device according to one embodiment of the present disclosure.

[0019] FIG. 9 is a flowchart illustrating a method for guiding a patient to take medication using an electronic device according to one embodiment of the present disclosure.

[0020] FIG. 10 is an illustrative diagram for explaining a method of guiding a patient to take medication using an electronic device according to one embodiment of the present disclosure.

[0021] FIG. 11 is a flowchart illustrating a method for guiding a patient's movement using an electronic device according to one embodiment of the present disclosure.

[0022] FIG. 12 is a flowchart illustrating a method for controlling the execution of a plurality of tasks corresponding to the type of disability of a patient using a plurality of external electronic devices of an electronic device according to one embodiment of the present disclosure.

[0023] FIG. 13 is a flowchart illustrating a method for transmitting a task execution request to a recovered external electronic device of an electronic device according to one embodiment of the present disclosure.

[0024] FIG. 14 is a flowchart illustrating a method for transmitting a task execution request to a plurality of external electronic devices covering the location of a patient of an electronic device according to one embodiment of the present disclosure.

[0025] FIGS. 15a and FIGS. 15b are illustrative diagrams for explaining a method of transmitting a task execution request to a plurality of external electronic devices covering the location of a patient of an electronic device according to one embodiment of the present disclosure.

[0026] FIG. 16 is a flowchart illustrating a method for transmitting information related to the completion of a task to a plurality of external electronic devices of an electronic device according to one embodiment of the present disclosure.

[0027] Hereinafter, embodiments of the present disclosure are described in detail with reference to the drawings so that those skilled in the art can easily practice them. However, the present disclosure may be embodied in various different forms and is not limited to the embodiments described herein. In relation to the description of the drawings, the same or similar reference numerals may be used for identical or similar components. Furthermore, in the drawings and related descriptions, descriptions of well-known functions and configurations may be omitted for clarity and brevity.

[0028] FIG. 1 is a block diagram of an electronic device (101) in a network environment (100) according to one embodiment.

[0029] Referring to FIG. 1, in a network environment (100), an electronic device (101) may communicate with an electronic device (102) through a first network (198) (e.g., a short-range wireless communication network) or with at least one of an electronic device (104) or a server (108) through a second network (199) (e.g., a long-range wireless communication network). According to one embodiment, the electronic device (101) may communicate with the electronic device (104) through a server (108). According to one embodiment, the electronic device (101) may include a processor (120), memory (130), input module (150), sound output module (155), display module (160), audio module (170), sensor module (176), interface (177), connection terminal (178), haptic module (179), camera module (180), power management module (188), battery (189), communication module (190), subscriber identification module (196), or antenna module (197). In some embodiments, at least one of these components (e.g., connection terminal (178)) may be omitted from the electronic device (101), or one or more other components may be added. In some embodiments, some of these components (e.g., sensor module (176), camera module (180), or antenna module (197)) may be integrated into a single component (e.g., display module (160)).

[0030] The processor (120) can control at least one other component (e.g., a hardware or software component) of the electronic device (101) connected to the processor (120) by executing software (e.g., a program (140)), and can perform various data processing or operations. According to one embodiment, as at least part of the data processing or operations, the processor (120) can store commands or data received from other components (e.g., a sensor module (176) or a communication module (190)) in volatile memory (132), process the commands or data stored in volatile memory (132), and store the resulting data in non-volatile memory (134). According to one embodiment, the processor (120) may include a main processor (121) (e.g., a central processing unit or an application processor) or an auxiliary processor (123) that can operate independently or together with it (e.g., a graphics processing unit, a neural processing unit (NPU), an image signal processor, a sensor hub processor, or a communication processor). For example, if the electronic device (101) includes a main processor (121) and an auxiliary processor (123), the auxiliary processor (123) may be configured to use lower power than the main processor (121) or to be specialized for a designated function. The auxiliary processor (123) may be implemented separately from the main processor (121) or as part thereof.

[0031] The auxiliary processor (123) may control at least some of the functions or states associated with at least one component of the electronic device (101) (e.g., display module (160), sensor module (176), or communication module (190)) on behalf of the main processor (121) while the main processor (121) is in an inactive (e.g., sleep) state, or together with the main processor (121) while the main processor (121) is in an active (e.g., application execution) state. According to one embodiment, the auxiliary processor (123) (e.g., image signal processor or communication processor) may be implemented as part of another functionally related component (e.g., camera module (180) or communication module (190)). According to one embodiment, the auxiliary processor (123) (e.g., neural network processing unit) may include a hardware structure specialized for processing an artificial intelligence model. The artificial intelligence model may be generated through machine learning. Such learning may be performed, for example, on the electronic device (101) itself where the artificial intelligence model is executed, or through a separate server (e.g., server (108)). The learning algorithm may include, for example, supervised learning, unsupervised learning, semi-supervised learning, or reinforcement learning, but is not limited to the examples described above. The artificial intelligence model may include a plurality of artificial neural network layers.An artificial neural network may be a deep neural network (DNN), a convolutional neural network (CNN), a recurrent neural network (RNN), a restricted Boltzmann machine (RBM), a deep belief network (DBN), a bidirectional recurrent deep neural network (BRDNN), a deep Q-network, or a combination of two or more of the above, but is not limited to the examples described above. In addition to the hardware structure, the artificial intelligence model may include a software structure, either additionally or substantially.

[0032] The memory (130) can store various data used by at least one component of the electronic device (101) (e.g., processor (120) or sensor module (176)). The data may include, for example, input data or output data for software (e.g., program (140)) and related commands. The memory (130) may include volatile memory (132) or non-volatile memory (134).

[0033] The program (140) may be stored as software in memory (130) and may include, for example, an operating system (142), middleware (144), or an application (146).

[0034] The input module (150) can receive commands or data to be used for a component of the electronic device (101) (e.g., processor (120)) from outside the electronic device (101) (e.g., user). The input module (150) may include, for example, a microphone, a mouse, a keyboard, a key (e.g., a button), or a digital pen (e.g., a stylus pen).

[0035] The sound output module (155) can output a sound signal to the outside of the electronic device (101). The sound output module (155) may include, for example, a speaker or a receiver. The speaker may be used for general purposes, such as multimedia playback or recording playback. The receiver may be used to receive incoming calls. According to one embodiment, the receiver may be implemented separately from the speaker or as part thereof.

[0036] The display module (160) can visually provide information to an external (e.g., user) of the electronic device (101). The display module (160) may include, for example, a display, a holographic device, or a projector and a control circuit for controlling said device. According to one embodiment, the display module (160) may include a touch sensor configured to detect a touch, or a pressure sensor configured to measure the intensity of the force generated by said touch.

[0037] The audio module (170) can convert sound into an electrical signal or, conversely, convert an electrical signal into sound. According to one embodiment, the audio module (170) can acquire sound through the input module (150) or output sound through the sound output module (155) or an external electronic device (e.g., electronic device (102)) (e.g., speaker or headphones) connected directly or wirelessly to the electronic device (101).

[0038] The sensor module (176) can detect the operating state of the electronic device (101) (e.g., power or temperature) or the external environmental state (e.g., user state) and generate an electrical signal or data value corresponding to the detected state. According to one embodiment, the sensor module (176) may include, for example, a gesture sensor, a gyroscope sensor, a barometric pressure sensor, a magnetic sensor, an accelerometer sensor, a grip sensor, a proximity sensor, a color sensor, an IR (infrared) sensor, a biosensor, a temperature sensor, a humidity sensor, or an illuminance sensor.

[0039] The interface (177) may support one or more specified protocols that can be used for the electronic device (101) to be connected directly or wirelessly to an external electronic device (e.g., electronic device (102)). According to one embodiment, the interface (177) may include, for example, a high definition multimedia interface (HDMI), a universal serial bus (USB) interface, an SD card interface, or an audio interface.

[0040] The connection terminal (178) may include a connector through which the electronic device (101) can be physically connected to an external electronic device (e.g., electronic device (102)). According to one embodiment, the connection terminal (178) may include, for example, an HDMI connector, a USB connector, an SD card connector, or an audio connector (e.g., a headphone connector).

[0041] The haptic module (179) can convert an electrical signal into a mechanical stimulus (e.g., vibration or movement) or an electrical stimulus that can be perceived by the user through tactile or kinesthetic senses. According to one embodiment, the haptic module (179) may include, for example, a motor, a piezoelectric element, or an electric stimulation device.

[0042] The camera module (180) can capture still images and video. According to one embodiment, the camera module (180) may include one or more lenses, image sensors, image signal processors, or flashes.

[0043] The power management module (188) can manage power supplied to the electronic device (101). According to one embodiment, the power management module (188) can be implemented, for example, as at least part of a power management integrated circuit (PMIC).

[0044] The battery (189) can supply power to at least one component of the electronic device (101). According to one embodiment, the battery (189) may include, for example, a non-rechargeable primary battery, a rechargeable secondary battery, or a fuel cell.

[0045] The communication module (190) can support the establishment of a direct (e.g., wired) communication channel or a wireless communication channel between an electronic device (101) and an external electronic device (e.g., electronic device (102), electronic device (104), or server (108)), and the performance of communication through the established communication channel. The communication module (190) may include one or more communication processors that operate independently of the processor (120) (e.g., application processor) and support direct (e.g., wired) communication or wireless communication. According to one embodiment, the communication module (190) may include a wireless communication module (192) (e.g., cellular communication module, short-range wireless communication module, or GNSS (global navigation satellite system) communication module) or a wired communication module (194) (e.g., LAN (local area network) communication module, or power line communication module). The corresponding communication module among these communication modules can communicate with an external electronic device (104) through a first network (198) (e.g., a short-range communication network such as Bluetooth, WiFi (wireless fidelity) direct, or IrDA (infrared data association)) or a second network (199) (e.g., a legacy cellular network, a 5G network, a next-generation communication network, the Internet, or a computer network (e.g., a LAN or WAN)). These various types of communication modules may be integrated into a single component (e.g., a single chip) or implemented as multiple separate components (e.g., multiple chips). The wireless communication module (192) can identify or authenticate the electronic device (101) within a communication network such as the first network (198) or the second network (199) using subscriber information (e.g., International Mobile Subscriber Identifier (IMSI)) stored in the subscriber identification module (196).

[0046] The wireless communication module (192) can support 5G networks and next-generation communication technologies following 4G networks, for example, new radio access technology. NR access technology can support high-speed transmission of high-capacity data (enhanced mobile broadband (eMBB)), minimization of terminal power and connection of multiple terminals (massive machine type communications (mMTC)), or high reliability and low latency (ultra-reliable and low-latency communications (URLLC)). The wireless communication module (192) can support a high-frequency band (e.g., mmWave band) to achieve a high data transmission rate, for example. The wireless communication module (192) can support various technologies for securing performance in the high-frequency band, such as beamforming, massive MIMO (multiple-input and multiple-output), full-dimensional MIMO (FD-MIMO), array antenna, analog beam-forming, or large-scale antenna. The wireless communication module (192) can support various requirements specified in the electronic device (101), external electronic device (e.g., electronic device (104)), or network system (e.g., second network (199)). According to one embodiment, the wireless communication module (192) may support a Peak data rate (e.g., 20 Gbps or more) for eMBB realization, loss coverage (e.g., 164 dB or less) for mMTC realization, or U-plane latency (e.g., downlink (DL) and uplink (UL) each 0.5 ms or less, or round trip 1 ms or less) for URLLC realization.

[0047] An antenna module (197) can transmit a signal or power to or from an external source (e.g., an external electronic device). According to one embodiment, the antenna module (197) may include an antenna comprising a radiator made of a conductor or a conductive pattern formed on a substrate (e.g., a PCB). According to one embodiment, the antenna module (197) may include a plurality of antennas (e.g., an array antenna). In this case, at least one antenna suitable for a communication method used in a communication network, such as a first network (198) or a second network (199), may be selected from the plurality of antennas, for example, by a communication module (190). A signal or power may be transmitted or received between the communication module (190) and an external electronic device through the selected at least one antenna. According to some embodiments, in addition to the radiator, other components (e.g., a radio frequency integrated circuit (RFIC)) may be additionally formed as part of the antenna module (197).

[0048] According to various embodiments, the antenna module (197) may form a mmWave antenna module. According to one embodiment, the mmWave antenna module may include a printed circuit board, an RFIC disposed on or adjacent to a first surface (e.g., bottom surface) of the printed circuit board and capable of supporting a specified high frequency band (e.g., mmWave band), and a plurality of antennas (e.g., array antennas) disposed on or adjacent to a second surface (e.g., top surface or side surface) of the printed circuit board and capable of transmitting or receiving a signal of the specified high frequency band.

[0049] At least some of the above components can be connected to each other via a communication method between peripheral devices (e.g., bus, GPIO (general purpose input and output), SPI (serial peripheral interface), or MIPI (mobile industry processor interface)) and exchange signals (e.g., commands or data) with each other.

[0050] According to one embodiment, commands or data may be transmitted or received between an electronic device (101) and an external electronic device (104) through a server (108) connected to a second network (199). Each of the external electronic devices (102, or 104) may be the same or a different type of device as the electronic device (101). According to one embodiment, all or part of the operations performed on the electronic device (101) may be performed on one or more of the external electronic devices (102, 104, or 108). For example, if the electronic device (101) needs to perform a function or service automatically or in response to a request from a user or another device, the electronic device (101) may request one or more external electronic devices to perform at least part of the function or service instead of performing the function or service itself or additionally. One or more external electronic devices that receive the above request may execute at least part of the requested function or service, or additional function or service related to the request, and transmit the result of the execution to the electronic device (101). The electronic device (101) may provide the result as is or additionally processed as at least part of the response to the request. For this purpose, for example, cloud computing, distributed computing, mobile edge computing (MEC), or client-server computing technology may be used. The electronic device (101) may provide ultra-low latency services using, for example, distributed computing or mobile edge computing. In another embodiment, the external electronic device (104) may include an Internet of Things (IoT) device. The server (108) may be an intelligent server using machine learning and / or neural networks. According to one embodiment, the external electronic device (104) or the server (108) may be included within a second network (199).The electronic device (101) can be applied to intelligent services (e.g., smart home, smart city, smart car, or healthcare) based on 5G communication technology and IoT-related technology.

[0051] FIG. 2 is a block diagram for explaining the configuration of an electronic device according to one embodiment of the present disclosure.

[0052] Referring to FIG. 2, in one embodiment, an electronic device (200) (e.g., server (108) of FIG. 1) may include a communication circuit (210), a memory (220), and / or a processor (230). The electronic device (200) may be implemented as a server for controlling the execution of a plurality of tasks corresponding to prescriptions by a plurality of external electronic devices that provide functions related to healthcare, but is not limited thereto. For example, the electronic device (200) may be implemented as a mobile device (e.g., tablet, smartphone, smart watch, smart band, or smart ring).

[0053] In one embodiment, the communication circuit (210) may provide a function corresponding to the communication module (190) of FIG. 1. In one embodiment, the communication circuit (210) may communicate with an external electronic device through a network (e.g., the first network (198) and / or the second network (199) of FIG. 1). The external electronic device may include, for example, a wearable device that can be worn on a patient's body, a mobile device located in the patient's living environment, and a robotic device that can move to the patient's location.

[0054] In one embodiment, the memory (220) may provide a function corresponding to the memory (230) of FIG. 2. In one embodiment, the memory (220) may store a task execution schedule for a plurality of external electronic devices.

[0055] In one embodiment, the processor (230) may include a processing circuit (not shown). The processor (230) may provide a function corresponding to the processor (120) of FIG. 1. The processor (230) may control an overall operation for distributing a plurality of tasks corresponding to a prescription to a plurality of external electronic devices and monitoring task execution by the plurality of external electronic devices. In one embodiment, the processor (230) may include one or more processors for setting task execution schedules for a plurality of external electronic devices.

[0056] In FIG. 2, the electronic device (200) is illustrated as including a communication circuit (210), a memory (220), and / or a processor (230), but is not limited thereto. For example, the electronic device (200) may further include at least one configuration that provides a function corresponding to the configuration shown in FIG. 1.

[0057] FIG. 3 is a block diagram illustrating the configuration of an electronic device according to one embodiment of the present disclosure. The embodiment of FIG. 3 will be described with reference to FIG. 4. FIG. 4 is an illustrative diagram illustrating a method of communicating with a plurality of external electronic devices of an electronic device according to one embodiment of the present disclosure.

[0058] Referring to FIG. 3, in one embodiment, an electronic device (200) (e.g., the electronic device (200) of FIG. 2) may include a plurality of modules. The electronic device (200) may improve the performance of prescriptions indicated in prescriptions provided by a medical institution based on the operation of the plurality of modules. The plurality of modules may include, for example, a type classifying module (310), a device collecting module (320), a task distributing module (330), a scheduling database (340), a schedule generating and controlling module (350), a schedule regenerating and controlling module (360), a task execution determining module (370), and / or a location monitoring module (380). In one embodiment, a plurality of modules may be implemented in the form of an application, program, computer code, instructions, routine, process, software, firmware, or a combination of at least two of these, which are executable by a processor (e.g., processor (230) of FIG. 2). For example, when at least some of the type classification module (310), device collection module (320), task distribution module (330), scheduling DB (340), schedule generation and control module (350), schedule generation and control module (360), task execution determination module (370), and / or location monitoring module (380) are executed, the processor may perform an operation corresponding to each. Accordingly, the description "a specific module performs an operation" below may be understood as "the processor performs an operation corresponding to a specific module as the specific module is executed."In one embodiment, at least some of the modules may include a plurality of programs, but are not limited to those described. In one embodiment, the modules and / or units may be implemented as services or applications when executed on an Android operating system, but are not limited thereto.

[0059] In one embodiment, the electronic device (200) may obtain (303) a patient’s prescription document (301). The prescription may include, for example, a digital type prescription (e.g., a personal health record (PHR)) corresponding to a user registered in the electronic device (200) (e.g., a user account and / or user identification information). The electronic device (200) may receive the prescription from a medical institution (e.g., a server of the medical institution). In one embodiment, the electronic device (200) may obtain a prescription converted into a digital type from an external electronic device via a network (e.g., a first network (198) and / or a second network (199) of FIG. 1) when a paper type prescription is scanned by an external electronic device (e.g., a smartphone) that includes a camera. In one embodiment, the patient identification information included in the prescription may differ from the user identification information registered in the electronic device (200). For example, the patient corresponding to the prescription may be a family member of the user registered in the electronic device (200) or a patient cared for by the user.

[0060] In one embodiment, the electronic device (200) can control the operation of multiple external electronic devices so that multiple external electronic devices perform multiple tasks associated with prescription information based on verifying various prescription information included in the prescription. The electronic device (200) can output (391) a task result report (393) corresponding to the prescription (301) based on verifying that the multiple tasks have been completed. The task result report (393) may include information associated with the results of the execution of the multiple tasks (e.g., success or failure of task execution). The information associated with the results of the task execution may include a score associated with the patient's prescription compliance.

[0061] Referring to FIG. 4, in one embodiment, an electronic device (200) can communicate (401) with a plurality of external electronic devices of various types (wearable device (410), mobile device (420)), and robotic device (430) through a network (440) (e.g., the first network (198) and / or the second network (199) of FIG. 1). The electronic device (200) can set a task execution schedule for a plurality of external electronic devices so that the plurality of external electronic devices perform a plurality of tasks associated with prescription information. Tasks associated with prescription information may include operations such as measuring a patient's vital signs, assisting the patient's exercise, and providing notifications for the patient's medication.

[0062] In one embodiment, the electronic device (200) may set a task execution schedule for a plurality of external electronic devices so that a plurality of external electronic devices assist the patient based on collaboration. A nursing robot operated by an expert may manage the patient's condition and assist the patient in a confined space, either independently or individually, without collaboration with other electronic devices. The nursing robot may, for example, guide the patient's medication based on schedule information and monitor the patient's vital signs using at least one sensor. The at least one sensor may include a sensor configured to measure the user's (or patient's) vital signs (or collect physical information). The at least one sensor may include, for example, at least one of a blood pressure sensor, an ECG (electrocardiography) sensor, a heart rate sensor, an oxygen saturation sensor, a body temperature sensor, or a blood glucose sensor. The nursing robot may detect that an emergency has occurred if the patient's vital signs decrease below a set value. Based on detecting that an emergency has occurred, the nursing robot may protect the patient by performing a set task. A specialist can assist a patient by individually controlling a nursing robot that operates based on a pre-set pattern and a passively controlled medical device. When multiple external electronic devices operate based on the specialist's intervention, human error may occur. If multiple external electronic devices are not connected to each other, loss of monitoring information may occur due to the failure of at least one of the multiple external electronic devices. The electronic device (200) can improve the possibility of performing tasks by multiple external electronic devices without the specialist's intervention by setting a schedule for multiple external electronic devices located in the patient's living space.

[0063] Referring again to FIG. 3, in one embodiment, a type classification module (310) can identify a prescription type based on prescription content (e.g., prescription information) included in a prescription of a patient (or a user registered in the electronic device (200)). The prescription type may include, for example, at least one of a medication prescription (or drug prescription), an exercise prescription, a treatment prescription, a diet prescription, a measurement prescription (or test prescription), or a device usage prescription. A medication prescription may include a prescription instructing the patient to take a drug at a set interval during a prescribed period or to apply a drug to the skin. For example, a medication prescription for a flu patient may include identification information of the flu drug (e.g., drug name or drug ingredient), the frequency of taking the flu drug, or information related to the timing of taking the flu drug. An exercise prescription may include a prescription specifying the type and method of exercise required to improve the patient's symptoms or restore health. For example, an exercise prescription for a patient with Parkinson's disease may include a prescription instructing the patient to perform arm stretches at a set time interval (e.g., 2 hours) during the day. A treatment prescription may include a prescription to improve the patient's condition. For example, a treatment prescription for an addiction patient may include a prescription to limit access (or usage frequency) to the addictive substance (e.g., drugs or games). A dietary prescription may include a prescription for managing the patient's diet.For example, a dietary prescription for a patient with hyperlipidemia may include a prescription recommending the consumption of mixed-grain rice instead of white rice and limiting fat intake. A measurement prescription may include a prescription instructing periodic examinations (or measurements) to monitor the patient's disease status (e.g., vital signs or body components). For example, a measurement prescription for a patient with hypertension may include a prescription instructing periodic blood pressure measurements. A prescription for a patient with diabetes may include a prescription instructing the measurement of fasting blood sugar ("FBS") or postprandial blood glucose. A device usage prescription may include a prescription instructing the patient to use equipment to manage the disease, perform measurements, or restore health. For example, a device usage prescription for a patient with a sleep disorder may include a prescription instructing the use of a CPAP machine to improve sleep apnea. Prescription types are not limited to the examples described above and may include various prescription types depending on the contents of the prescription. The electronic device (200) can classify prescription information (or a combination of prescription types) into types that can be performed by an external electronic device based on an analysis of the prescription contents included in the prescription.

[0064] In one embodiment, the device collection module (320) may collect (e.g., verify identification information of external electronic devices) a plurality of external electronic devices located in the space where the user lives (e.g., residence, workplace, or inside a vehicle). The plurality of external electronic devices may be electronic devices registered to the electronic device (200) (or server) using the user's account. The plurality of external electronic devices may include devices controllable by the user (or electronic devices owned by the user). For example, the user may register electronic devices such as wearable devices (e.g., smartwatches), home robots, and automobiles to the server using the user account. The device collection module (320) may select an electronic device (e.g., home robot and / or smartwatch) suitable for the type of prescription from among the plurality of electronic devices registered based on the user account. In one embodiment, the device collection module (320) may classify external electronic devices to be used for task execution based on obtaining information (e.g., identification information) of the plurality of external electronic devices from the external electronic device (e.g., a module managing a list of multiple electronic devices). The external electronic device collected by the device collection module (320) may provide functions related to healthcare. For example, the external electronic device may measure the patient's vital signs, guide the patient's exercise, or provide notifications for the patient's medication. The device collection module (320) may collect capability information of the external electronic device. The capability information may include information related to the type of the external electronic device and at least one function provided by the external electronic device. The type of the external electronic device may include, for example, a wearable type, a stationary type, a mobile type, and a robotic type. Information related to the type of the external electronic device may be referred to as characteristic information or feature information of the external electronic device.A wearable type external electronic device may include an electronic device worn by a user (e.g., a smart watch, a smart band, a head-mounted display (HMD), and / or a smart ring). A stationary type external electronic device may include, for example, a digital device located at the user's residence (e.g., a refrigerator, a water purifier, and / or a TV). A mobile type external electronic device may include a movable device (e.g., a portable infusion pump, a portable electrocardiogram (ECG) monitor, and / or a portable ultrasound monitor). A robotic type device may include a device that provides mobility functions (e.g., a personal robot including a dual-lens projector, a drive system, and multiple wheels). The device collection module (320) may collect information related to task performance capabilities corresponding to multiple external electronic devices in order to appropriately distribute multiple tasks corresponding to a prescription and improve prescription performance (or prescription compliance).

[0065] In one embodiment, the task distribution module (330) can distribute a plurality of tasks corresponding to a prescription to a plurality of external electronic devices based on output information of the type classification module (310) (e.g., a result of classifying the type of a prescription) and output information of the device collection module (320) (e.g., a result of collecting a healthcare device). In one embodiment, the task distribution module (330) may include a task distribution model (331) trained to distribute a plurality of tasks to a plurality of external electronic devices. The task distribution module (330) can execute the task distribution model (331) based on parameters stored in, for example, a memory (220) (e.g., the memory (220) of FIG. 2). The task distribution module (330) can identify a task corresponding to each of the plurality of external electronic devices based on information output from the task distribution model (331) by, for example, inputting information associated with the prescription type and capability information of the plurality of external electronic devices into the task distribution model (331). The capability information input to the task distribution model (331) may include, for example, at least one of sensing information obtained by a sensor included in an external electronic device, information related to the accuracy of the sensor, or information related to the battery life of the external electronic device, and there are no limitations on the examples of capability information. The method by which the task distribution module (330) distributes multiple tasks to multiple external electronic devices is not limited to the examples described above. For example, the task distribution module (330) may distribute multiple tasks to multiple external electronic devices using a rule-based method.

[0066] The scheduling DB (340) can store information related to the schedule for multiple external electronic devices. The scheduling DB (340) can be stored in at least a portion of the memory (220).

[0067] In one embodiment, the schedule generation and control module (350) can generate a schedule for a plurality of external electronic devices and control the operation of the plurality of external electronic devices based on output information (e.g., device-specific tasks) of the task distribution module (330). When the plurality of external electronic devices perform a plurality of tasks, a conflict may occur between the external electronic devices. The schedule generation and control module (350) can schedule the time at which each of the plurality of external electronic devices performs a task based on the fact that the plurality of external electronic devices can perform at least the distributed tasks simultaneously. For example, the schedule generation and control module (350) can obtain a task execution schedule for a multi-device based on at least one of a priority, a task execution time, or a task execution location corresponding to each of the plurality of external electronic devices. Each of the plurality of external electronic devices can assist a patient by performing tasks instructed by the electronic device (200) based on the set schedule (e.g., time and location).

[0068] In one embodiment, the schedule regeneration and control module (360) may change the task execution schedule if a failure (or error) occurs in an external electronic device performing a task assigned based on receiving at least one task. The failure of the external electronic device may regenerate the task execution schedule and control the operation of the external electronic devices corresponding to the regenerated task execution schedule based on the occurrence of a task execution failure by at least one of the external electronic devices corresponding to the set task execution schedule. A task execution failure may occur due to various causes. The schedule regeneration and control module (360) may confirm that an event for changing the device group occurs, for example, when a new external electronic device is detected. Based on the occurrence of an event for changing the device group, the schedule regeneration and control module (360) may set a schedule for the changed device group based on the information output by the task distribution module (330) by inputting prescription information and capability information into the task distribution module (330). Each of the multiple external electronic devices can continue seamless operation by performing tasks directed by the electronic device (200) based on a changed schedule.

[0069] In one embodiment, the task execution determination module (370) can determine whether a task has been performed by each of the plurality of external electronic devices. The task execution determination module (370) can determine whether a task has been performed and the result of the task execution (e.g., task execution success or task execution failure). For example, if the type of external electronic device corresponds to a robot-type device that provides mobility functions, the task execution determination module (370) can determine whether a task execution failure has occurred based on the battery status of the robot-type device. The task execution determination module (370) can determine the execution results of a plurality of tasks corresponding to a prescription based on checking the task execution results by each of the plurality of external electronic devices. In one embodiment, if a task execution failure occurs by at least one of the plurality of external electronic devices, the task execution determination module (370) can provide information indicating that a task reassignment is required to the schedule regeneration and control module (360).

[0070] In one embodiment, the location monitoring module (380) can monitor whether an event for changing the device group has occurred. An event for changing the device group may occur when the battery of an external electronic device is discharged, when the state of an external electronic device changes (e.g., when a function provided by the external electronic device changes), or when a new external electronic device covering the user's location is detected. The location monitoring module (380) can determine whether an event for changing the device group has occurred based on the type of the external electronic device, the capability information of the external electronic device, and the movement environment of the patient (or user) (e.g., movement pattern according to time of day). The location monitoring module (380) can monitor the location (e.g., location information within the patient's residence map) and mobility status corresponding to each of the multiple external electronic devices. For example, if the type of the external electronic device corresponds to a robot-type device that provides mobility functions, the location monitoring module (380) can determine whether an event for changing the device group has occurred based on the location and coverage (e.g., the movable range of the robot-type device) of the robot-type device. The location monitoring module (380) can confirm that an event for changing the device group occurs when an exception to the range of action is detected (e.g., when the patient's location is outside the coverage of the robotic device). When an event for changing the device group occurs, the location monitoring module (380) can provide information indicating that a task reassignment is required to the schedule regeneration and control module (360). In one embodiment, the task execution determination module (370) and the location monitoring module (380) may be implemented as an integrated module.

[0071] In one embodiment, the schedule generation and control module (350) may output (391) a report (393) containing task execution results when no event for changing the task execution schedule occurs until a plurality of tasks are completed. The schedule regeneration and control module (360) may output (391) a report (393) containing task execution results when a plurality of tasks are completed by a plurality of external electronic devices based on the changed task execution schedule. In one embodiment, the schedule generation and control module (350) and the schedule regeneration and control module (360) may be implemented as an integrated module.

[0072] FIG. 5 is a flowchart illustrating a method for controlling the execution of a plurality of tasks corresponding to a prescription using a plurality of external electronic devices of an electronic device according to one embodiment of the present disclosure.

[0073] In one embodiment, the operations illustrated in FIG. 5 may be performed in various orders, not limited to the order illustrated. For example, the order of each operation may be changed, and at least two operations may be performed in parallel. According to one embodiment, more operations may be performed than those illustrated in FIG. 5, or at least one fewer operation may be performed.

[0074] Referring to FIG. 5, in operation 501, in one embodiment, an electronic device (200) (e.g., processor (230) of FIG. 2) can obtain prescription information corresponding to a patient. The electronic device (200) can obtain prescription information corresponding to a patient based on a prescription received from a medical institution (e.g., a server of a medical institution). The electronic device (200) may also obtain prescription information corresponding to a patient based on a prescription scanned by an external electronic device (e.g., a smartphone) including a camera. The prescription information may include patient identification information, drug information, prescription date and time and validity period, medical institution information, and specific prescription details.

[0075] In operation 503, in one embodiment, the electronic device (200) may identify a plurality of external electronic devices that provide functions associated with a plurality of tasks corresponding to the prescription information, based on the type of prescription identified based on the prescription information. The type of prescription may include a medication prescription, an exercise prescription, and a test prescription. The type of prescription may further include a treatment prescription, a diet prescription, and a device usage prescription. For example, the type of prescription for a flu patient may include a medication prescription and a diet prescription (e.g., a diet for boosting immunity). Tasks corresponding to the medication prescription may include providing notifications for medication times and limiting medication abuse. Tasks corresponding to the diet prescription may include providing a recommended diet guide. The type of prescription for a gout patient may include a medication prescription and a measurement prescription (e.g., monitoring uric acid levels). Tasks corresponding to the measurement prescription may include measuring biosignals based on a set time (or cycle). The type of prescription for a Parkinson's disease patient may include a medication prescription and an exercise prescription. Tasks corresponding to exercise prescriptions may include providing guidance on the types and methods of exercise. Types of prescriptions for diabetic patients may include medication prescriptions, exercise prescriptions, and measurement prescriptions (e.g., measuring fasting blood glucose and postprandial blood glucose). Types of prescriptions for hypertensive patients may include medication prescriptions, exercise prescriptions, diet prescriptions (e.g., low-heat diet), and measurement prescriptions (e.g., measuring blood pressure). The types of prescriptions corresponding to the patient's disease and the tasks corresponding to the prescription types are not limited to the examples described above. The electronic device (200) may acquire identification information of multiple external electronic devices located in the living space of the patient (or, the user and / or the user's family registered with the electronic device (200)). The electronic device (200) may collect capability information of multiple external electronic devices.Capability information includes information associated with the type of external electronic device and at least one function provided by the external electronic device, and the external electronic device may be included in a plurality of external electronic devices. For example, if the type of prescription for a diabetic patient corresponds to a prescription for periodic measurement of biometric information, the electronic device (200) may acquire information associated with the type of sensor included in the device providing the mobility function (e.g., a sensor for measuring blood glucose and a camera for capturing the user's movement) and the coverage of the device (e.g., the communication range and / or range of action of the device). The type of external electronic device may include a wearable device, a stationary device, a mobile device, and a robotic device. The plurality of external electronic devices collected by the electronic device (200) may be external electronic devices operable by the electronic device (200). For example, the electronic device (200) may identify healthcare devices operable by the electronic device (200) based on a user account.

[0076] In operation 505, in one embodiment, the electronic device (200) can transmit a task execution request to the plurality of external electronic devices through a communication circuit (e.g., communication circuit (210) of FIG. 2) so that each of the plurality of external electronic devices performs at least one of the plurality of tasks at a time set for the plurality of external electronic devices, based on setting a task execution schedule for the plurality of external electronic devices using capability information of the plurality of external electronic devices. In one embodiment, the electronic device (200) (e.g., task distribution module (330) of FIG. 3) can distribute a plurality of tasks corresponding to a prescription to the plurality of external electronic devices based on capability information of the plurality of external electronic devices. The electronic device (200) (e.g., schedule generation and control module (350) of FIG. 3) can set a task execution schedule for the plurality of external electronic devices. The task execution schedule may include a task execution procedure, a time of execution, and a location of execution. The electronic device (200) may set a task execution schedule based on priority to reduce the possibility of collisions between external electronic devices. The electronic device (200) may transmit task execution requests to multiple external electronic devices based on the set task execution schedule. The electronic device (200) may transmit task execution requests that include information related to where, how, and at what frequency each of the multiple external electronic devices performs the assigned task. The multiple external electronic devices may perform a task corresponding to the type of prescription based on receiving the task execution request. For example, if the type of prescription corresponds to an exercise prescription, a stationary device (e.g., a TV) may provide a video guiding a stretching method for a Parkinson's disease patient at a set time. A robotic device providing mobility functions may move to the patient's location at a set exercise time and check the patient's movement.The robotic device can check whether the patient's movement matches the prescribed exercise method. Based on whether the patient's movement does not match the prescribed exercise method, the robotic device can guide the correct exercise posture. Based on whether the patient's movement matches the prescribed exercise method, the robotic device can transmit information indicating that the exercise task has been successful to the electronic device (200). The fixed device and the robotic device can reduce user inconvenience by performing the task corresponding to the prescription only at a set time based on the task execution schedule.

[0077] In operation 507, in one embodiment, the electronic device (200) can confirm that a task failure has occurred by a first external electronic device among a plurality of external electronic devices. In one embodiment, the electronic device (200) can control a plurality of external electronic devices to perform a distributed task based on a task execution schedule and manage whether the task is performed. The electronic device (200) can receive information related to a task execution failure from at least one external electronic device (e.g., a first external electronic device) among a plurality of external electronic devices. The electronic device (200) can receive information related to a low battery of an external electronic device, a sensing error of an external electronic device, exhaustion of a measuring device (e.g., a diagnostic kit) of an external electronic device, out of coverage of a patient, or detection of a new device from at least one external electronic device, for example. Based on receiving information related to a task execution failure, the electronic device (200) can change the device group and / or the task execution schedule. For example, the electronic device (200) can change the task execution schedule based on capability information of a plurality of external electronic devices.

[0078] In operation 509, in one embodiment, the electronic device (200) may transmit a task execution request to the second external electronic device through a communication circuit so that the second external electronic device, which is different from the first external electronic device, performs at least one task set for the first external electronic device. In one embodiment, the electronic device (200) may provide a notification to the user indicating that at least one task set for the first external electronic device cannot be performed based on confirming that no external electronic device mapped to at least one task set for the first external electronic device is identified. In one embodiment, the electronic device (200) may identify at least one external electronic device (e.g., a second external electronic device) that provides a function associated with the task set for the first external electronic device. The electronic device (200) may identify the second external electronic device among a plurality of external electronic devices corresponding to the set task execution schedule. The electronic device (200) may transmit a task execution request set for the first external electronic device to a plurality of external electronic devices. The electronic device (200) can set a task execution schedule for a plurality of external electronic devices including a second external electronic device based on receiving a task distribution request from a second external electronic device in response to a task execution request. The electronic device (200) can change the task execution schedule based on priority to reduce the risk of conflict between external electronic devices included in the changed device group. In one embodiment, if an external electronic device replacing the first external electronic device is not identified among the plurality of external electronic devices corresponding to the set task execution schedule, the electronic device (200) can identify a new external electronic device as the second external electronic device.The electronic device (200) can, for example, verify capability information of at least one external electronic device covering the patient's location based on verifying the patient's location. Based on capability information of at least one external electronic device, the electronic device (200) can verify a second external electronic device providing a function associated with a task set for the first external electronic device.

[0079] In operation 511, in one embodiment, the electronic device (200) can determine whether the plurality of tasks have been completed based on information associated with the result of the task received in response to the task execution request. The electronic device (200) can change the task execution schedule based on receiving information associated with the failure of the task execution. The electronic device (200) can determine that the task corresponding to the information associated with the success of the task execution has been completed based on receiving information associated with the success of the task execution. The electronic device (200) can terminate the execution of the entire task based on determining that the plurality of tasks have been completed.

[0080] In one embodiment, the electronic device (200) can check capability information of a plurality of external electronic devices that can be operated by the electronic device (200). The electronic device (200) can transmit a task execution request to a plurality of external electronic devices based on distributing a plurality of tasks corresponding to the patient's prescription to the plurality of external electronic devices. The electronic device (200) can change the device group and / or task execution schedule if a task execution failure occurs by at least one external electronic device among the plurality of external electronic devices. The electronic device (200) can monitor the task execution of the plurality of external electronic devices based on the changed device group and / or the changed task execution schedule. The electronic device (200) can improve the performance of a plurality of tasks corresponding to the patient's prescription by utilizing a plurality of external electronic devices located in the patient's living space.

[0081] FIG. 6 is a flowchart illustrating a method for setting a task execution schedule of an electronic device according to one embodiment of the present disclosure.

[0082] In one embodiment, the operations illustrated in FIG. 6 may be performed in various orders, not limited to the order illustrated. For example, the order of each operation may be changed, and at least two operations may be performed in parallel. According to one embodiment, more operations may be performed than those illustrated in FIG. 6, or at least one fewer operation may be performed.

[0083] Referring to FIG. 6, in operation 601, in one embodiment, an electronic device (200) (e.g., the processor (230) of FIG. 2) can obtain prescription information. In one embodiment, operation 601 may be at least partially identical or similar to operation 501, and descriptions that overlap with operation 501 may not be repeated here.

[0084] In operation 603, in one embodiment, the electronic device (200) can identify the type of prescription based on prescription information. In one embodiment, if information related to the name of the medicine, the time of administration, the type of exercise, and the method of exercise is identified based on the prescription information, the electronic device (200) can identify that the type of prescription corresponds to a medication prescription and an exercise prescription. In one embodiment, if information related to the type of exercise, the method of exercise, the measurement component, and the measurement cycle is identified based on the prescription information, the electronic device (200) may identify that the type of prescription corresponds to an exercise prescription and an examination prescription. The type of prescription identified based on the prescription information is not limited to the examples described above.

[0085] In operation 605, in one embodiment, the electronic device (200) can identify a plurality of tasks based on the type of prescription. If the type of prescription corresponds to a medication prescription and an exercise prescription, the electronic device (200) can identify a plurality of tasks including a task corresponding to the medication prescription and a task corresponding to the exercise prescription. At least one task corresponding to the medication prescription may include at least one of notifying the time of medication, providing medication, restricting medication, or confirming whether medication has been taken. At least one task corresponding to the exercise prescription may include at least one of notifying the time of exercise, providing guidance on exercise posture, or providing feedback on exercise results. In one embodiment, if the type of prescription corresponds to an exercise prescription and a test prescription, the electronic device (200) can identify a plurality of tasks including a task corresponding to the exercise prescription and a task corresponding to the test prescription. A task corresponding to the test prescription may include at least one of notifying the measurement target (e.g., a component measured in the body) and the time of measurement, providing guidance on the measurement method, or providing the measurement results.

[0086] In operation 607, in one embodiment, the electronic device (200) can identify multiple electronic devices based on multiple tasks. The electronic device (200) can identify external electronic devices that can be operated by the electronic device (200). The electronic device (200) can identify external electronic devices that provide functions associated with multiple tasks based on capability information of the external electronic devices. When the type of prescription corresponds to a medication prescription and an exercise prescription, the electronic device (200) can identify multiple external electronic devices including at least one external electronic device that provides functions associated with a task corresponding to a medication prescription and at least one external electronic device that provides functions associated with a task corresponding to an exercise prescription. In one embodiment, when the type of prescription corresponds to an exercise prescription and an examination prescription, the electronic device (200) can identify multiple external electronic devices including at least one external electronic device that provides functions associated with a task corresponding to an exercise prescription and at least one external electronic device that provides functions associated with a task corresponding to an examination prescription.

[0087] In operation 609, in one embodiment, the electronic device (200) can set a task execution schedule for a plurality of external electronic devices. When the type of prescription corresponds to a medication prescription and an exercise prescription, the electronic device (200) can set a task execution schedule for a plurality of external electronic devices, including an external electronic device that provides a function associated with a task corresponding to a medication prescription and an external electronic device that provides a function associated with a task corresponding to an exercise prescription, based on the capability information of the plurality of external electronic devices. In one embodiment, when the type of prescription corresponds to an exercise prescription and an examination prescription, the electronic device (200) can set a task execution schedule for a plurality of external electronic devices, including an external electronic device that provides a function associated with a task corresponding to an exercise prescription and an external electronic device that provides a function associated with a task corresponding to an examination prescription, based on the capability information of the plurality of external electronic devices.

[0088] In operation 611, in one embodiment, the electronic device (200) may transmit a task execution request to a plurality of external electronic devices. In one embodiment, operation 611 may be at least partially identical or similar to operation 505, and descriptions that overlap with operation 505 may not be repeated herein.

[0089] In operation 613, in one embodiment, the electronic device (200) can determine whether a task execution failure has occurred. The electronic device (200) can determine that a task execution failure has occurred based on receiving information related to a task execution failure from at least one external electronic device among a plurality of external electronic devices.

[0090] In one embodiment, based on confirming that a task execution failure has occurred (operation 613-e), the electronic device (200) may change the task execution schedule in operation 615. The electronic device (200) may identify a replaceable external electronic device based on sensor information and / or information associated with the mobility function of each of the plurality of external electronic devices, for example, when a task execution failure occurs by a robotic device providing a mobility function. The electronic device (200) may change the task execution schedule for the plurality of external electronic devices based on identifying the replaceable external electronic device. In one embodiment, if the electronic device (200) determines that rescheduling of the task execution schedule is impossible (for example, when no replaceable external electronic device is identified), it may provide a notification to the user indicating that at least one task that has failed cannot be performed.

[0091] In one embodiment, based on confirming that no task execution failure has occurred (operation 613-No), the electronic device (200) can confirm that the task execution is completed in operation 617. The electronic device (200) can confirm that no task execution failure has occurred based on receiving information from multiple external electronic devices indicating that multiple tasks corresponding to the prescription have been completed. The electronic device (200) can improve the performance of multiple tasks corresponding to the prescription by controlling various healthcare devices located around the patient to cooperate.

[0092] FIG. 7 is a flowchart illustrating a method for guiding a patient's exercise with an electronic device according to one embodiment of the present disclosure. The embodiment of FIG. 7 will be described with reference to FIG. 8. FIG. 8 is an illustrative diagram illustrating a method for guiding a patient's exercise with an electronic device according to one embodiment of the present disclosure.

[0093] In one embodiment, the operations illustrated in FIG. 7 may be performed in various orders, not limited to the order illustrated. For example, the order of each operation may be changed, and at least two operations may be performed in parallel. According to one embodiment, more operations may be performed than those illustrated in FIG. 7, or at least one fewer operation may be performed.

[0094] Referring to FIG. 7, in operation 701, in one embodiment, an electronic device (e.g., the robotic device (430) of FIG. 4) may receive a request to perform a task corresponding to an exercise prescription. The electronic device (430) may include a camera and a projector and may be a robotic device that provides mobility functions. When the type of prescription for a patient (e.g., a patient with Parkinson's disease) corresponds to an exercise prescription, the electronic device (430) may receive a request to perform a task corresponding to an exercise prescription from an external electronic device (e.g., the electronic device (200) of FIG. 2). At least one task corresponding to an exercise prescription may include at least one of an exercise time notification, an exercise posture guide, or feedback of the exercise results, as shown in Table 1.

[0095] Task Type: Exercise Exercise Method: Raise arms 90 degrees or more, repeat 10 times for 3 sets, within 10 seconds per set, perform with right arm and left arm separately Notification Time: 30 minutes after meals Provide exercise guide to patient Exercise Time: 3 times a day, within 1 hour after meals Exercise Guide Message: "Repeat raising and lowering arms 10 times for 3 sets." "Repeat raising and lowering the right arm 10 times."

[0096] Referring to Table 1, a task execution request may include a task type, an exercise method, a notification time, an exercise time, and a guide message. The electronic device (430) may perform a task associated with an exercise prescription based on the information included in the task execution request. In operation 703, in one embodiment, the electronic device (430) may check whether an event for notification has occurred. In one embodiment, the electronic device (430) may check that an event for notification has occurred based on confirming that the current time is an exercise time corresponding to the task execution schedule. The electronic device (430) may also check that an event for notification has occurred based on receiving user input for providing an exercise guide.

[0097] In one embodiment, based on confirming that an event for notification has occurred (operation 703-e), the electronic device (430) may move to the patient's location in operation 705. Based on confirming that an event for notification has occurred, the electronic device (430) may provide a notification for the initiation of exercise through an output device (e.g., a speaker or a projector) and move to the patient's location.

[0098] In operation 707, in one embodiment, the electronic device (430) can guide the type and method of exercise. For example, if a Parkinson's disease patient experiences a dysfunction in the function of the left or right brain, they may not be able to freely move the arm on the opposite side of the body (e.g., right or left). Referring to FIG. 8, the electronic device (430) can guide (811) the type and method of exercise of the patient (801) based on task request information. In operation 709, in one embodiment, the electronic device (430) can verify the patient's movements. Referring again to FIG. 8, the electronic device (430) can capture (815) the movements of the patient (801) using a camera included in the electronic device (430).

[0099] In operation 711, in one embodiment, the electronic device (430) can determine whether the patient's movement is normal. The electronic device (430) can determine whether the patient's exercise has been performed normally in order to improve the effectiveness of the exercise prescription. In one embodiment, based on determining that the patient's movement is not normal (operation 711-No), the electronic device (430) can provide a notification in operation 713. Referring to FIG. 8, if the patient performs a movement different from the guided movement, the electronic device (430) can guide the normal movement (813) through an output device. The electronic device (430) may also monitor the patient's (801) biometric information based on collaboration with another external electronic device (e.g., a wearable device (410)). For example, the electronic device (430) may receive information related to the heart rate measured by the wearable device (410) from the wearable device (410). The electronic device (430) and the wearable device (410) can communicate based on establishing a device-to-device (D2D) connection and may also be connected via a server. The electronic device (430) can provide exercise guidance based on the heart rate of the patient (801). For example, if the heart rate of the patient (801) exceeds a set threshold, it can guide the patient (801) to stop exercising.

[0100] Guide Method: If the arm goes up 90 degrees or less, "Your arm is only going up 20 degrees. Try raising it over 90 degrees." If the arm goes up over 90 degrees, "Good. The angle is being maintained."

[0101] Referring to Table 2, in one embodiment, the electronic device (430) can guide the patient according to a set guide method. In one embodiment, based on confirming that the patient's movement is normal (Movement 711-Yes), the electronic device (430) can guide the next movement in Movement 715.

[0102] If 10 reps are completed, "10 reps finished. Rest for 1 minute, then start 10 reps again." If 3 sets are completed, "Well done." If performance improves by N%, "Your arm movement is 3% better than yesterday." Next workout reminder: "The next workout is at 7:00 PM after dinner." How to end task: Move to standby position.

[0103] Referring to Table 3, the electronic device (430) can provide a notification for the next exercise based on confirming that the patient's exercise is normal. The electronic device (430) can terminate the task according to a set task termination method.

[0104] FIG. 9 is a flowchart illustrating a method for guiding a patient to take medication using an electronic device according to one embodiment of the present disclosure. The embodiment of FIG. 9 will be described with reference to FIG. 10. FIG. 10 is an illustrative diagram illustrating a method for guiding a patient to take medication using an electronic device according to one embodiment of the present disclosure.

[0105] In one embodiment, the operations illustrated in FIG. 9 may be performed in various orders, not limited to the order illustrated. For example, the order of each operation may be changed, and at least two operations may be performed in parallel. According to one embodiment, more operations may be performed than those illustrated in FIG. 9, or at least one fewer operation may be performed.

[0106] Referring to FIG. 9, in operation 901, in one embodiment, an electronic device (e.g., the wearable device (410) of FIG. 4) can monitor the patient's meal time. If the type of prescription corresponds to a medication prescription, the task associated with the medication prescription may include providing a notification when a set time (e.g., 30 minutes) has elapsed since the meal. The electronic device (410) can monitor a biosignal to check the patient's meal time and predict when to perform the task. Referring to reference numeral 1010 of FIG. 10, the electronic device (410) can provide information (1011) associated with the measured blood glucose level through the display (1000) of the electronic device (410).

[0107] In operation 903, in one embodiment, the electronic device (410) can determine whether a meal event has occurred. For example, the electronic device (410) can determine the patient's meal time based on measuring blood glucose using a sensor (e.g., CGM (continuous glucose monitoring)). Referring to reference numeral 1020 in FIG. 10, the electronic device (410) can determine that a meal event has occurred based on determining a time interval (1021) in which a rapid increase and decrease in blood glucose occurs. In one embodiment, a robotic device (e.g., the robotic device (430) in FIG. 4) may determine (or predict) the patient's meal time based on determining the patient's movement and lifestyle patterns.

[0108] In one embodiment, based on confirming that a meal event has occurred (operation 903-e), the electronic device (410) may operate a timer in operation 905. Referring to reference numeral 1030 of FIG. 10, the electronic device (410) may display a window (1031) associated with the setting of a notification through a display (1000). Based on receiving user input for the setting of a notification, the electronic device (410) may start a timer for the notification of the time to take medication.

[0109] In operation 907, in one embodiment, the electronic device (410) can determine whether an event for notification has occurred. The electronic device (410) can determine that an event for notification has occurred based on the elapsed time interval corresponding to the timer.

[0110] In one embodiment, based on confirming that an event for notification has occurred (operation 907-e), the electronic device (410) may perform a task in operation 909. Referring to reference numeral 1040 of FIG. 10, the electronic device (410) may display a window (1041) associated with a medication notification through the display (1000). Referring to reference numeral 1050, the electronic device (410) may display a window (1051) associated with confirmation of medication completion through the display (1000). The electronic device (410) may confirm that a task associated with medication is completed based on receiving user input for an object (1053) associated with medication completion.

[0111] FIG. 11 is a flowchart illustrating a method for guiding a patient's movement using an electronic device according to one embodiment of the present disclosure.

[0112] In one embodiment, the operations illustrated in FIG. 11 may be performed in various orders, not limited to the order illustrated. For example, the order of each operation may be changed, and at least two operations may be performed in parallel. According to one embodiment, more operations may be performed than those illustrated in FIG. 11, or at least one fewer operation may be performed.

[0113] Referring to FIG. 11, in operation 1101, in one embodiment, an electronic device (e.g., the wearable device (410) of FIG. 4) can monitor the patient's movement. If the type of prescription corresponds to an exercise prescription, the task associated with the exercise prescription may include restricting the patient's exercise for a set time (e.g., 1 hour) after a meal. The electronic device (410) can detect the patient's motion using a sensor (e.g., an accelerometer). The electronic device (410) can determine whether the patient is exercising, for example, based on sensing information.

[0114] In operation 1103, in one embodiment, the electronic device (410) can determine whether an exercise event has occurred. The electronic device (410) can determine that an exercise event has occurred if the sensing information corresponds to a number (or pattern) indicating that the exercise is in progress.

[0115] In one embodiment, based on confirming that a meal event has occurred (Operation 1103-Example), the electronic device (410) can, in Operation 1105, determine whether the current time is within a set time after the meal. The electronic device (410) can, as described in FIGS. 9 and 10, determine whether the current time is before the elapsed of a time interval corresponding to a timer set for taking medication and / or exercising.

[0116] In one embodiment, based on confirming that the current time is within a set time after a meal (Operation 1105-e), the electronic device (410) may provide a risk alert in Operation 1107. In Operation 1109, in one embodiment, the electronic device (410) may provide an exercise guide. Based on providing the risk alert, the electronic device (410) may provide an exercise guide including a time when the exercise can be started. By providing the risk alert and the exercise guide, the electronic device (410) may improve the patient's prescription performance (or prescription compliance).

[0117] FIG. 12 is a flowchart illustrating a method for controlling the execution of a plurality of tasks corresponding to the type of disability of a patient using a plurality of external electronic devices of an electronic device according to one embodiment of the present disclosure.

[0118] In one embodiment, the operations illustrated in FIG. 12 may be performed in various orders, not limited to the order illustrated. For example, the order of each operation may be changed, and at least two operations may be performed in parallel. According to one embodiment, more operations may be performed than those illustrated in FIG. 12, or at least one fewer operation may be performed.

[0119] Referring to FIG. 12, in operation 1201, in one embodiment, an electronic device (200) (e.g., the processor (230) of FIG. 2) can obtain prescription information corresponding to a patient. In one embodiment, operation 1201 may be at least partially identical or similar to operation 501, and descriptions that overlap with operation 501 may not be repeated here.

[0120] In operation 1203, in one embodiment, the electronic device (200) can determine whether the patient is a patient with a disability. The electronic device (200) can determine information associated with a prescription history corresponding to the patient's identification information. For example, information associated with a prescription history corresponding to the patient's identification information may be stored in memory (220) (e.g., memory (220) of FIG. 2). Information associated with a prescription history corresponding to the patient's identification information may also be provided by a medical institution (or a server of the medical institution). The electronic device (200) can determine whether the patient is a patient with a disability based on the prescription information and the information associated with the prescription history. The medication adherence of a patient without disability may be less than 40%. The medication adherence of a patient with a disability may be lower than that of a patient without disability. The electronic device (200) can control the operation of an external electronic device to perform a task corresponding to the type of disorder based on information associated with the patient's prescription history (or disease history).

[0121] In one embodiment, based on confirming that the patient is a patient with a disability (operation 1203-e), the electronic device (200) may identify a plurality of tasks based on the type of disability and prescription information in operation 1205. The type of disability may include, for example, behavioral disability and cognitive disability. If the type of disability corresponds to a behavioral disability (e.g., difficulty with the patient's mobility or hands), the tasks associated with the medication prescription may include a device providing mobility and medication functions moving to the patient's location and assisting with the patient's medication. If the type of disability corresponds to a cognitive disability (e.g., dementia), the tasks associated with the medication prescription may include providing medication reminders or restricting medication.

[0122] In one embodiment, based on confirming that the patient is not a patient with a disability (operation 1203-No), the electronic device (200) may identify a plurality of tasks based on prescription information in operation 1207. Based on confirming that the patient is not a patient with a disability, the electronic device (200) may identify tasks corresponding to the type of patient. For example, if the patient is not a patient with a disability, tasks associated with medication prescription may include providing a notification for taking medication.

[0123] In operation 1209, in one embodiment, the electronic device (200) may transmit a task execution request to the plurality of external electronic devices so that an external electronic device providing a function associated with a task corresponding to the medication prescription may perform a task corresponding to the type of disorder. For example, if the type of disorder corresponds to a behavioral disorder, the electronic device (200) may transmit a task execution request to an external electronic device providing a mobility function and a medication function. If the type of disorder corresponds to a cognitive disorder, the electronic device (200) may transmit a task execution request to an external electronic device providing a medication notification function and a medication restriction function.

[0124] In operation 1211, in one embodiment, the electronic device (200) may determine whether a task execution failure has occurred. In one embodiment, operation 1211 may be at least partially identical or similar to operation 613, and descriptions that overlap with operation 613 may not be repeated herein. In one embodiment, based on determining that a task execution failure has occurred (operation 1211-e), the electronic device (200) may change the task execution schedule in operation 1213. Based on determining that no replaceable external electronic device is identified, the electronic device (200) may provide a notification to the patient's guardian or the patient with a disability indicating that no external electronic device mapped to at least one task is identified. The electronic device (200) may provide a notification corresponding to the type of disability. The electronic device (200) may provide a visual notification and / or haptic notification to a patient with a hearing impairment, for example. The electronic device (200) may provide auditory notifications and / or haptic notifications to a patient with a visual impairment. In one embodiment, operation 1213 may be at least partially identical or similar to operation 615, and descriptions that overlap with operation 615 may not be repeated herein. In one embodiment, based on confirming that no task execution failure occurred (operation 1211-No), the electronic device (200) may confirm that the task execution is complete in operation 1215. In one embodiment, operation 1215 may be at least partially identical or similar to operation 617, and descriptions that overlap with operation 617 may not be repeated herein.

[0125] In one embodiment, the electronic device (200) can improve the patient's medication adherence by setting different tasks in response to the type of disability of the patient, the severity of the patient's disease, and the patient's condition.

[0126] FIG. 13 is a flowchart illustrating a method for transmitting a task execution request to a recovered external electronic device of an electronic device according to one embodiment of the present disclosure.

[0127] In one embodiment, the operations illustrated in FIG. 13 are not limited to the order illustrated and may be performed in various orders. For example, the order of each operation may be changed, and at least two operations may be performed in parallel. According to one embodiment, more operations than those illustrated in FIG. 13 may be performed, or at least one fewer operation may be performed.

[0128] Referring to FIG. 13, in operation 1301, in one embodiment, an electronic device (200) (e.g., the processor (230) of FIG. 2) may transmit a task execution request to a plurality of external electronic devices. In one embodiment, operation 1301 may be at least partially identical or similar to operation 505, and descriptions that overlap with operation 505 may not be repeated herein.

[0129] In operation 1303, in one embodiment, the electronic device (200) can determine whether a plurality of tasks have been performed by a plurality of external electronic devices based on transmitting a task execution request to a plurality of external electronic devices. The electronic device (200) can determine whether a plurality of tasks have been performed based on information associated with task execution results (e.g., task execution success or task execution failure) received from a plurality of external electronic devices.

[0130] In operation 1305, in one embodiment, the electronic device (200) may receive information related to a task failure from a first external electronic device. The electronic device (200) may receive information related to a task execution history from the first external electronic device. Based on the information received from the first external electronic device, the electronic device (200) may identify, among at least one task set for the first external electronic device, a task that has been completed by the first external electronic device and / or a task that has not been completed by the first external electronic device.

[0131] In operation 1307, in one embodiment, the electronic device (200) may transmit a task execution request to a second external electronic device. Based on confirming that a task failure by the first external electronic device has occurred, the electronic device (200) may identify the second external electronic device among a plurality of external electronic devices, based on information related to the location and device type of the external electronic device, which provides a function associated with at least one task set for the first external electronic device. The device type may include a stationary device, a mobile device, and a robotic device. The device type of the second external electronic device may correspond to a mobile device or a robotic device. The electronic device (200) may identify a second external electronic device of a mobile device type or a robotic device type if the task set for the first external electronic device corresponds to a task requiring a mobility function. The priority for the second external electronic device (e.g., task execution capability or hardware performance) may be lower than that of the first external electronic device. The electronic device (200) may transmit a task execution request to the second external electronic device so that the second external electronic device moves to the patient's location and performs at least one task set for the first external electronic device. The electronic device (200) may transmit a task execution request to the second external electronic device so that the second external electronic device performs a task identified based on the task execution history among at least one task set for the first external electronic device.

[0132] In operation 1309, in one embodiment, the electronic device (200) can determine whether the first external electronic device has been restored. The electronic device (200) can determine that the first external electronic device has been restored based on receiving a task assignment request from the first external electronic device after transmitting a task execution request to the second external electronic device. The task assignment request may include information indicating, for example, that the state of the external electronic device corresponds to a state in which the task can be performed.

[0133] In one embodiment, based on confirming that the first external electronic device has been recovered (Operation 1309-e), the electronic device (200) may, in Operation 1311, transmit a task interruption request to the second external electronic device. The electronic device (200) may, for example, transmit a task interruption request to the second external electronic device based on receiving a task assignment request from the first external electronic device.

[0134] In operation 1313, in one embodiment, the electronic device (200) may receive information associated with the task execution history from the second external electronic device in response to a task interruption request. Based on the information received from the second external electronic device, the electronic device (200) may identify, among at least one task set for the second external electronic device, the task that has been completed by the second external electronic device and / or the remaining task that has not been completed by the second external electronic device.

[0135] In operation 1315, in one embodiment, the electronic device (200) may transmit a task execution request to the first external electronic device to perform the remaining tasks identified based on the task execution history among the tasks set for the second external electronic device. The electronic device (200) may change the task execution schedule based on confirming that the external electronic device having a higher priority has been recovered. The electronic device (200) may improve the prescription execution rate (or, the performance of the task corresponding to the prescription) by setting the task execution schedule based on monitoring the status of the external electronic device.

[0136] FIG. 14 is a flowchart illustrating a method for transmitting a task execution request to a plurality of external electronic devices covering the location of a patient of an electronic device according to one embodiment of the present disclosure. The embodiment of FIG. 14 will be described with reference to FIG. 15a and FIG. 15b. FIG. 15a and FIG. 15b are illustrative diagrams illustrating a method for transmitting a task execution request to a plurality of external electronic devices covering the location of a patient of an electronic device according to one embodiment of the present disclosure.

[0137] In one embodiment, the operations illustrated in FIG. 14 may be performed in various orders, not limited to the order illustrated. For example, the order of each operation may be changed, and at least two operations may be performed in parallel. According to one embodiment, more operations may be performed than those illustrated in FIG. 14, or at least one fewer operation may be performed.

[0138] Referring to FIG. 14, in operation 1401, in one embodiment, an electronic device (200) (e.g., the processor (230) of FIG. 2) may transmit a task execution request to a first group of external electronic devices. In one embodiment, operation 1401 may be at least partially identical or similar to operation 505, and descriptions that overlap with operation 505 may not be repeated herein. In one embodiment, the electronic device (200) may set a task execution schedule for the first group of external electronic devices based on distributing a plurality of tasks corresponding to a prescription to the first group of external electronic devices. The task execution schedule may include information related to the task type, the time of task execution, and the method of task execution for the first group of external electronic devices. The electronic device (200) may transmit a task execution request to the first group of external electronic devices so that each of the first group of external electronic devices performs a task corresponding to a prescription based on the set task execution schedule.

[0139] In operation 1403, in one embodiment, the electronic device (200) can determine the location of a first external electronic device among a first group of external electronic devices. The device type of the first external electronic device may correspond to a mobile device or a robotic device. The electronic device (200) can monitor the location of a first external electronic device that provides mobility functions among the first group of external electronic devices. The electronic device (200) can determine whether the patient is located within the coverage of the first external electronic device based on the patient's location and the location of the first external electronic device.

[0140] In operation 1405, in one embodiment, the electronic device (200) can determine whether the patient's location is outside the coverage of the first external electronic device. Referring to FIG. 15a, in one embodiment, the electronic device (200) can determine whether the patient's location (801) is outside the coverage of the first robotic device (1511) based on the location of the patient (801) and the location of the first robotic device (1511). The electronic device (200) can transmit a task execution request to at least one external electronic device (e.g., the first robotic device (1511)) located on the lower floor (1510). A task corresponding to the patient's prescription may include, for example, a blood glucose measurement task. For convenience of explanation, a first robotic device (1511) is illustrated as a device located (or installed) on the lower floor (1510), but various healthcare devices (e.g., stationary devices and blood pressure measuring devices) may be additionally located on the lower floor (1510). The first robotic device (1511) may include, for example, a camera, a microphone, a speaker, and a blood glucose measuring sensor. The first robotic device (1511) may perform a blood glucose measuring task at a set interval.

[0141] The electronic device (200) can receive information related to the location of the first wearable device (1501) from the first wearable device (1501) via a network (e.g., the network (440) of FIG. 4). The electronic device (200) can identify the location of the first wearable device (1501) as the patient's location based on the first wearable device (1501) being registered as the patient's wearable device in the electronic device (200). The electronic device (200) can receive information related to the location of the first robotic device (1511) from the first robotic device (1511) via a network (e.g., the network (440) of FIG. 4). The first robotic device (1511) may be located on the lower floor (1510) of the patient's residence. The coverage of the first robotic device (1511) may include the lower floor (1510). The first robotic device (1511) may move within the lower floor (1510). The upper floor (1520) of the patient's residence may be outside the coverage of the first robotic device (1511). The second robotic device (1521) may be located on the upper floor (1520) of the user's residence. The coverage of the second robotic device (1521) may include the upper floor (1520). The second robotic device (1521) may move within the upper floor (1520). The lower floor (1510) of the patient's residence may be outside the coverage of the second robotic device (1521). Each of the first robotic device (1511) and the second robotic device (1521) may provide mobility functions. For convenience of explanation, a second robotic device (1521) is shown as a device located (or installed) on the upper floor (1520), but various other healthcare devices (e.g., a stationary device and a blood glucose measuring device) may be located on the upper floor (1520).In one embodiment, the electronic device (200) can determine that the patient (801) is within the coverage of the first robotic device (1511) based on communicating with the first robotic device (1511). The first robotic device (1511) can monitor the location of the patient (801) based, for example, establishing a D2D connection with the first wearable device (1501). The first robotic device (1511) can transmit information to the electronic device (200) indicating that the patient (801) has left the coverage of the first robotic device (1511) based on the disconnection of the connection with the first wearable device (1501). In one embodiment, the electronic device (200) can determine that the patient (801) is within the coverage of the first robotic device (1511) based on communicating with the first wearable device (1501). The electronic device (200) may store information (e.g., a map of the patient's residence) associated with the coverage of the first robotic device (1511) and the second robotic device (1521) based on the first robotic device (1511) and the second robotic device (1521) being registered as the robotic devices of the patient (801) (or user) in the electronic device (200). The electronic device (200) may monitor the location of the patient (801) based on receiving information associated with the location of the first wearable device (1501) from the first wearable device (1501). The electronic device (200) may confirm that the patient (801) is within the coverage of the first robotic device (1511) based on the location of the first wearable device (1501) and information associated with the coverage of the robotic devices. In one embodiment, the electronic device (200) may determine that the patient (801) is within the coverage of the first robotic device (1511) based on communicating with at least two of the first robotic device (1511), the second robotic device (1521), and the first wearable device (1501).

[0142] In one embodiment, based on confirming that the patient's location is out of the coverage of the first external electronic device (operation 1405-e.), the electronic device (200) may, in operation 1407, identify a second external electronic device covering the patient's location. In one embodiment, a first group of external electronic devices (e.g., a first robotic device (1511)) may collaborate with a second group of external electronic devices (e.g., a second robotic device (1521)) so that a task corresponding to the patient's (801) prescription continues to be performed. Based on the patient (801) moving to an upper floor (1520), the first robotic device (1511) may confirm that the patient (801) is out of the coverage of the first robotic device (1511). Referring to FIG. 15b, the electronic device (200) can determine that the patient (801) has moved out of the coverage of the first robotic device (1511) based on communicating with the first robotic device (1511). The electronic device (200) can receive from the first robotic device (1511) information indicating that the patient (801) (or the first wearable device (1501)) has moved out of the coverage of the first robotic device (1511) (or information indicating a failure to perform a task). In one embodiment, the electronic device (200) can determine that the patient (801) is within the coverage of the first robotic device (1511) based on communicating with the first wearable device (e.g., the first wearable device (1501) of FIG. 15a). The electronic device (200) can monitor the location of the patient (801) based on receiving information related to the location of the first wearable device (1501) from the first wearable device (1501). The electronic device (200) can confirm that the patient (801) is out of the coverage of the first robotic device (1511) based on information related to the location of the first wearable device (1501) and the coverage of the robotic device.

[0143] In one embodiment, the electronic device (200) can identify a second external electronic device covering the location of the patient. The electronic device (200) can identify the second robotic device (1521) as a second external electronic device covering the location of the patient (801) based on performing communication with the second robotic device (1521). The second robotic device (1521) can identify that the patient (801) has moved within the coverage of the second robotic device (1521), for example, based on establishing a D2D connection with the first wearable device (1501). The second robotic device (1521) can transmit information to the electronic device (200) indicating that the location of the patient (801) is within the coverage of the second robotic device (1521). The electronic device (200) can identify the second robotic device (1521) as a second external electronic device based on confirming that the location of the patient (801) is within the coverage of the second robotic device (1521) and that the device type of the second robotic device (1521) corresponds to a mobile device or a robotic device. In one embodiment, the electronic device (200) can provide a notification to the patient (801) (or the first wearable device (1501)) indicating that no replaceable external electronic device is found based on failing to identify a second external electronic device to replace the first external electronic device. The electronic device (200) can provide a guide message to the patient (801) to move to the location of the replaceable external electronic device if the second external electronic device to replace the first external electronic device is not continuously identified (e.g., expiration of a timer for the replaceable external electronic device). The electronic device (200) may also provide a guide for an exception situation for the patient (801) to perform an alternative task if the second external electronic device to replace the first external electronic device is not continuously identified.

[0144] In one embodiment, the second external electronic device may be at least one sensor in the vehicle or within the vehicle. In FIGS. 15a and 15b, for convenience of explanation, an example is shown of the patient (801) moving within the home, but is not limited thereto. For example, the patient (801) may move from the home to a vehicle (not shown). The electronic device (200) may identify a second external electronic device (e.g., a camera and / or sensor inside the vehicle) covering the patient's location based on confirming that the patient's location is out of the coverage of the first external electronic device (e.g., the first robotic device (1511)). The second external electronic device may monitor the patient's condition while the patient remains in the vehicle.

[0145] In operation 1409, in one embodiment, the electronic device (200) may transmit a task execution request to the second group of external electronic devices through the communication circuit so that the second group of external electronic devices perform a plurality of tasks set for the first group of external electronic devices, based on setting a task execution schedule for the second group of external electronic devices including the second external electronic device. The second group of external electronic devices may include at least one external electronic device located within the coverage of the second external electronic device and may be different from the first group of external electronic devices. The second robotic device (1521) may include, for example, a camera, a microphone, and a speaker. In one embodiment, the second robotic device (1521) may assist in the measurement of a patient based on collaboration with a blood glucose measurement device (not shown) located on the upper floor (1520), based on the fact that a blood glucose measurement sensor is not included in the second robotic device (1521). The blood glucose measuring device and the second robotic device (1521) may receive a task from the first robotic device (1511) without going through the electronic device (200).

[0146] In one embodiment, a coverage out-of-coverage event of the patient (801) may include the battery discharge of the first robotic device (1511) or the patient (801) going out (e.g., moving to an office or public place). The electronic device (200) may identify an external electronic device operable by the electronic device (200) based on monitoring the location of the patient (801) (or the first wearable device (1501)), and may change the task execution schedule based on identifying a replaceable external electronic device. The electronic device (200) may monitor the locations of a plurality of external electronic devices for uninterrupted task execution.

[0147] FIG. 16 is a flowchart illustrating a method for transmitting information related to the completion of a task to a plurality of external electronic devices of an electronic device according to one embodiment of the present disclosure.

[0148] In one embodiment, the operations illustrated in FIG. 16 are not limited to the order shown and may be performed in various orders. For example, the order of each operation may be changed, and at least two operations may be performed in parallel. According to one embodiment, more operations than those illustrated in FIG. 16 may be performed, or at least one fewer operation may be performed.

[0149] Referring to FIG. 16, in operation 1601, in one embodiment, an electronic device (200) (e.g., the processor (230) of FIG. 2) may transmit a task execution request to a plurality of external electronic devices. In one embodiment, operation 1601 may be at least partially identical or similar to operation 505, and descriptions that overlap with operation 505 may not be repeated herein.

[0150] In operation 1603, in one embodiment, the electronic device (200) can detect the occurrence of a task execution failure by the first external electronic device. In one embodiment, operation 1603 may be at least partially identical or similar to operation 507, and descriptions that overlap with operation 507 may not be repeated here.

[0151] In operation 1605, in one embodiment, the electronic device (200) may transmit a request to perform a task by a second external electronic device. In one embodiment, operation 1605 may be at least partially identical or similar to operation 509, and descriptions that overlap with operation 509 may not be repeated here.

[0152] In operation 1607, in one embodiment, the electronic device (200) may receive information related to the result of a task from a second external electronic device through a communication circuit (e.g., the communication circuit (210) of FIG. 2). The electronic device (200) may receive information related to a task failure or a task success from the second external electronic device. When the task is completed, the second external electronic device may transmit information related to the success of the task to the electronic device (200) so that the task execution status is shared (or synchronized) with a plurality of external electronic devices. The second external electronic device may also transmit information related to the task execution history of the second external electronic device to the electronic device (200) based on the second external electronic device's remaining battery level decreasing below a set threshold.

[0153] In operation 1609, in one embodiment, the electronic device (200) may determine whether a task by the second external electronic device has been completed. The electronic device (200) may change the task execution schedule based on receiving information related to the task execution history from the second external electronic device. The electronic device (200) may determine that at least one task by the second external electronic device has been completed based on information related to the task execution result (e.g., task execution success). The electronic device (200) may determine that a task by the second external electronic device has not been completed based on receiving information indicating a task failure from the second external electronic device. The electronic device (200) may determine that a task by the second external electronic device has not been completed based on the battery of the second external electronic device being discharged. In one embodiment, based on determining that a task by the second external electronic device has not been completed (operation 1609-No), the electronic device (200) may provide a notification indicating a task failure in operation 1613. The electronic device (200) may, for example, provide a guide for performing an alternative task. The electronic device (200) may also provide a notification to a patient with a disability corresponding to the type of disability.

[0154] In one embodiment, based on confirming that a task by a second external electronic device has been completed (Operation 1609-Example), the electronic device (200) may, in Operation 1611, transmit information related to the completion of the task to a plurality of external electronic devices. The electronic device (200) may, through a communication circuit, transmit to a plurality of external electronic devices information indicating that at least one task set for the second external electronic device has been completed so that the plurality of external electronic devices may change information related to the execution history of the plurality of tasks. The plurality of external electronic devices may check the task execution history of another external electronic device by updating (or changing) the task execution status. The electronic device (200) may transmit the task execution history to a plurality of external electronic devices so that the plurality of external electronic devices may collaborate organically.

[0155] According to one embodiment of the present disclosure, an electronic device (e.g., the electronic device (200) of FIG. 2) may include a communication circuit (e.g., the communication circuit (210) of FIG. 2), at least one processor (e.g., the processor (230) of FIG. 2), and a memory for storing instructions (e.g., the memory (220) of FIG. 2). The instructions may cause the electronic device (200) to obtain prescription information corresponding to a patient when executed individually or collectively by the at least one processor (230). The instructions may cause the electronic device (200) to identify a plurality of external electronic devices that provide functions associated with a plurality of tasks corresponding to the prescription information, based on the type of prescription identified based on the prescription information. The above instructions may cause the electronic device (200), when executed individually or collectively by the at least one processor (230), to transmit a task execution request to the plurality of external electronic devices through the communication circuit (210) so that each of the plurality of external electronic devices performs at least one task among the plurality of tasks at a time set for the plurality of external electronic devices, based on setting a task execution schedule for the plurality of external electronic devices using capability information of the plurality of external electronic devices. The capability information may include information associated with the type of the external electronic device and at least one function provided by the external electronic device. The external electronic device may be included in the plurality of external electronic devices.The above instructions may cause the electronic device (200), when executed individually or collectively by the at least one processor (230), to confirm that a task failure has occurred by the first external electronic device among the plurality of external electronic devices. The above instructions may cause the electronic device (200), when executed individually or collectively by the at least one processor (230), to transmit a task execution request to the second external electronic device through the communication circuit (210) so that the second external electronic device, which is different from the first external electronic device, performs at least one task set for the first external electronic device. The above instructions may cause the electronic device (200), when executed individually or collectively by the at least one processor (230), to confirm whether the plurality of tasks have been completed based on information associated with the task execution result received in response to the task execution request.

[0156] In one embodiment, the type of prescription may include a medication prescription, an exercise prescription, and a test prescription. The instructions may cause the electronic device (200), when executed individually or collectively by the at least one processor (230), to identify that the type of prescription corresponds to a medication prescription and an exercise prescription when information related to the name of the medication, the time of administration, the type of exercise, and the method of exercise is identified based on the prescription information. The instructions may cause the electronic device (200), when executed individually or collectively by the at least one processor (230), to identify a plurality of tasks including a task corresponding to the medication prescription and a task corresponding to the exercise prescription. The instructions may cause the electronic device (200), when executed individually or collectively by the at least one processor (230), to identify a plurality of external electronic devices operable by the electronic device based on the plurality of tasks. The above instructions may cause the electronic device (200), when executed individually or collectively by the at least one processor (230), to set a task execution schedule for a plurality of external electronic devices, including an external electronic device that provides a function associated with a task corresponding to a medication prescription and an external electronic device that provides a function associated with a task corresponding to an exercise prescription, based on capability information of the plurality of external electronic devices. The task execution schedule may include a procedure for performing the task, a time of execution, and a location of execution.

[0157] In one embodiment, at least one task corresponding to the medication prescription may include at least one of notifying the medication time, providing the medication, restricting the medication, or confirming whether the medication has been taken. At least one task corresponding to the exercise prescription may include at least one of notifying the exercise time, providing guidance on the exercise posture, or providing feedback on the exercise results. The instructions may cause the electronic device (200) to determine whether the patient is a patient with a disability when executed individually or collectively by the at least one processor (230). The instructions may cause the electronic device (200) to transmit a task execution request to the plurality of external electronic devices so that an external electronic device providing a function associated with the task corresponding to the medication prescription performs a task corresponding to the type of disability when executed individually or collectively by the at least one processor (230). The type of disability may include behavioral disorders and cognitive disorders.

[0158] In one embodiment, the instructions may cause the electronic device (200) to check information associated with a prescription history corresponding to the patient's identification information when executed individually or collectively by the at least one processor (230). The instructions may cause the electronic device (200) to check whether the patient is a patient with a disability based on the prescription information and the information associated with the prescription history when executed individually or collectively by the at least one processor (230).

[0159] In one embodiment, the instructions may cause the electronic device (200), when executed individually or collectively by the at least one processor (230), to identify that the type of prescription corresponds to an exercise prescription and a test prescription when information related to an exercise type, exercise method, measurement component, and measurement cycle is identified based on the prescription information. The instructions may cause the electronic device (200), when executed individually or collectively by the at least one processor (230), to identify a plurality of tasks including a task corresponding to the exercise prescription and a task corresponding to the test prescription. The instructions may cause the electronic device (200), when executed individually or collectively by the at least one processor (230), to identify a plurality of external electronic devices operable by the electronic device based on the plurality of tasks. The above instructions may cause the electronic device (200), when executed individually or collectively by the at least one processor (230), to set a task execution schedule for a plurality of external electronic devices, including an external electronic device that provides a function associated with a task corresponding to the exercise prescription and an external electronic device that provides a function associated with a task corresponding to the test prescription, based on capability information of the plurality of external electronic devices.

[0160] In one embodiment, the instructions may cause the electronic device (200), when executed individually or collectively by the at least one processor (230), to check whether the plurality of tasks have been performed by the plurality of external electronic devices based on transmitting a task execution request to the plurality of external electronic devices. The instructions may cause the electronic device (200), when executed individually or collectively by the at least one processor (230), to check the second external electronic device among the plurality of external electronic devices, based on information associated with the location and device type of the external electronic device, and which provides a function associated with at least one task set for the first external electronic device, based on confirming that a task failure by the first external electronic device has occurred. The device type may include a stationary device, a mobile device, and a robotic device. The device type of the second external electronic device may correspond to a mobile device or a robotic device. The above instructions, when executed individually or collectively by the at least one processor (230), may cause the electronic device (200) to transmit a task execution request to the second external electronic device so that the second external electronic device moves to the patient's location and performs at least one task set for the first external electronic device.

[0161] In one embodiment, the instructions may cause the electronic device (200) to receive information associated with a task execution history from the first external electronic device when executed individually or collectively by the at least one processor (230). The instructions may cause the electronic device (200) to transmit a task execution request to the second external electronic device to perform a task identified based on the task execution history among at least one task set for the first external electronic device.

[0162] In one embodiment, the instructions may cause the electronic device (200), when executed individually or collectively by the at least one processor (230), to receive a task assignment request from the first external electronic device after transmitting a task execution request to the second external electronic device. The instructions may cause the electronic device (200), when executed individually or collectively by the at least one processor (230), to transmit a task interruption request to the second external electronic device based on receiving the task assignment request. The instructions may cause the electronic device (200), when executed individually or collectively by the at least one processor (230), to receive information associated with the task execution history from the second external electronic device in response to the task interruption request. The above instructions may cause the electronic device (200), when executed individually or collectively by the at least one processor (230), to transmit a task execution request to the first external electronic device to perform the remaining tasks identified based on the task execution history among the tasks set for the second external electronic device.

[0163] In one embodiment, the task execution schedule may include information associated with the task type, the time of task execution, and the method of task execution for the first group of external electronic devices. The instructions may cause the electronic device (200) to identify the location of the first external electronic device among the first group of external electronic devices when executed individually or collectively by the at least one processor (230). The device type of the first external electronic device may correspond to a mobile device or a robotic device. The instructions may cause the electronic device (200) to identify a second external electronic device covering the patient's location based on confirming that the patient's location is outside the coverage of the first external electronic device when executed individually or collectively by the at least one processor (230). The above instructions, when executed individually or collectively by the at least one processor (230), may cause the electronic device (200) to transmit a task execution request to the second group of external electronic devices through the communication circuit, so that the second group of external electronic devices perform a plurality of tasks set for the first group of external electronic devices, based on setting a task execution schedule for the second group of external electronic devices including the second external electronic device. The second group of external electronic devices may include at least one external electronic device located within the coverage of the second external electronic device. The second group of external electronic devices may be different from the first group of external electronic devices.

[0164] The above instructions may cause the electronic device (200), when executed individually or collectively by the at least one processor (230), to receive information related to the result of a task from the second external electronic device through the communication circuit (210). The above instructions may cause the electronic device (200), when executed individually or collectively by the at least one processor (230), to confirm that at least one task by the second external electronic device has been completed based on the information related to the result of the task. The above instructions may cause the electronic device (200), when executed individually or collectively by the at least one processor (230), to transmit information indicating that at least one task set for the second external electronic device has been completed to the plurality of external electronic devices through the communication circuit (210), so that the plurality of external electronic devices change information related to the execution history of the plurality of tasks.

[0165] According to one embodiment, the method may include an operation of obtaining prescription information corresponding to a patient. The method may include an operation of identifying a plurality of external electronic devices that provide functions associated with a plurality of tasks corresponding to the prescription information, based on the type of prescription identified based on the prescription information. The method may include an operation of transmitting a task execution request to the plurality of external electronic devices through a communication circuit (210) of an electronic device (200) so that each of the plurality of external electronic devices performs at least one task among the plurality of tasks at a time set for the plurality of external electronic devices, based on setting a task execution schedule for the plurality of external electronic devices using capability information of the plurality of external electronic devices. The capability information may include information associated with the type of the external electronic device and at least one function provided by the external electronic device. The external electronic device may be included in the plurality of external electronic devices. The method may include an operation of confirming that a task failure has occurred by a first external electronic device among the plurality of external electronic devices. The above method may include an operation of transmitting a task execution request to a second external electronic device, through the communication circuit (210), so that the second external electronic device, which is different from the first external electronic device, performs at least one task set for the first external electronic device. The above method may include an operation of checking whether the plurality of tasks have been completed based on information associated with the task execution result received in response to the task execution request.

[0166] In one embodiment, the type of prescription may include a medication prescription, an exercise prescription, and a test prescription. An operation to identify multiple external electronic devices that provide functions associated with multiple tasks corresponding to the prescription information, based on the type of prescription identified based on the prescription information, may include an operation to identify that the type of prescription corresponds to a medication prescription and an exercise prescription when information associated with the name of the medicine, time of administration, type of exercise, and method of exercise is identified based on the prescription information. An operation to identify multiple external electronic devices that provide functions associated with multiple tasks corresponding to the prescription information, based on the type of prescription identified based on the prescription information, may include an operation to identify multiple tasks including a task corresponding to the medication prescription and a task corresponding to the exercise prescription. An operation to identify multiple external electronic devices that provide functions associated with multiple tasks corresponding to the prescription information, based on the type of prescription identified based on the prescription information, may include an operation to identify multiple external electronic devices operable by the electronic device based on the multiple tasks. The above method may further include an operation of setting a task execution schedule for a plurality of external electronic devices, including an external electronic device providing a function associated with a task corresponding to a medication prescription and an external electronic device providing a function associated with a task corresponding to an exercise prescription, based on capability information of the plurality of external electronic devices. The task execution schedule may include a task execution procedure, a time of execution, and a location of execution.

[0167] In one embodiment, at least one task corresponding to the medication prescription may include at least one of notifying the medication time, providing the medication, restricting the medication, or confirming whether the medication has been taken. At least one task corresponding to the exercise prescription may include at least one of notifying the exercise time, guiding the exercise posture, or providing feedback on the exercise results. The method may further include an action of determining whether the patient is a patient with a disability. Based on determining that the patient is a patient with a disability, the method may further include an action of transmitting a task execution request to the plurality of external electronic devices so that an external electronic device providing a function associated with the task corresponding to the medication prescription performs a task corresponding to the type of disability. The type of disability may include behavioral disorders and cognitive disorders.

[0168] In one embodiment, the operation of determining whether the patient is a patient with a disability may include the operation of determining information associated with a prescription history corresponding to the patient's identification information. The operation of determining whether the patient is a patient with a disability may include the operation of determining whether the patient is a patient with a disability based on the prescription information and the information associated with the prescription history.

[0169] In one embodiment, the operation of identifying a plurality of external electronic devices that provide functions associated with a plurality of tasks corresponding to the prescription information, based on the type of prescription identified based on the prescription information, may include the operation of identifying that the type of prescription corresponds to an exercise prescription and a test prescription when information associated with an exercise type, exercise method, measurement component, and measurement cycle is identified based on the prescription information. The operation of identifying a plurality of external electronic devices that provide functions associated with a plurality of tasks corresponding to the prescription information, based on the type of prescription identified based on the prescription information, may include the operation of identifying a plurality of tasks including a task corresponding to the exercise prescription and a task corresponding to the test prescription. The operation of identifying a plurality of external electronic devices that provide functions associated with a plurality of tasks corresponding to the prescription information, based on the type of prescription identified based on the prescription information, may include the operation of identifying a plurality of external electronic devices operable by the electronic device based on the plurality of tasks. The above method may further include the operation of setting a task execution schedule for a plurality of external electronic devices, including an external electronic device that provides a function associated with a task corresponding to the exercise prescription and an external electronic device that provides a function associated with a task corresponding to the test prescription, based on capability information of the plurality of external electronic devices.

[0170] In one embodiment, the method may further include an operation of checking whether the plurality of tasks have been performed by the plurality of external electronic devices based on transmitting a task execution request to the plurality of external electronic devices. The method may further include an operation of identifying, among the plurality of external electronic devices, a second external electronic device that provides a function associated with at least one task set for the first external electronic device based on information associated with the location and device type of the external electronic device, based on confirming that a task failure by the first external electronic device has occurred—the device type includes a fixed device, a mobile device, and a robotic device, and the device type of the second external electronic device corresponds to a mobile device or a robotic device. The operation of transmitting a task execution request to the second external electronic device, which is different from the first external electronic device, through the communication circuit (210) so that the second external electronic device performs at least one task set for the first external electronic device, may include the operation of transmitting a task execution request to the second external electronic device so that the second external electronic device moves to the patient's location and performs at least one task set for the first external electronic device.

[0171] In one embodiment, the method may further include an operation of receiving information associated with a task execution history from the first external electronic device. The method may further include an operation of transmitting a task execution request to the second external electronic device so that the second external electronic device performs a task identified based on the task execution history among at least one task set for the first external electronic device.

[0172] In one embodiment, the method may further include the operation of receiving a task assignment request from the first external electronic device after transmitting a task execution request to the second external electronic device. The method may further include the operation of transmitting a task suspension request to the second external electronic device based on receiving the task assignment request. The method may further include the operation of receiving information associated with a task execution history from the second external electronic device in response to the task suspension request. The method may further include the operation of transmitting a task execution request to the first external electronic device so that the first external electronic device performs the remaining tasks identified based on the task execution history among the tasks set for the second external electronic device.

[0173] In one embodiment, the task execution schedule may include information related to the task type, the time of task execution, and the method of task execution for the first group of external electronic devices. The method may further include an operation of identifying the location of the first external electronic device among the first group of external electronic devices. The device type of the first external electronic device may correspond to a mobile device or a robotic device. The method may further include an operation of identifying a second external electronic device covering the patient's location based on confirming that the patient's location is outside the coverage of the first external electronic device. The method may further include an operation of transmitting a task execution request to the second group of external electronic devices through the communication circuit so that the second group of external electronic devices perform a plurality of tasks set for the first group of external electronic devices, based on setting a task execution schedule for the second group of external electronic devices including the second external electronic device. The second group of external electronic devices may include at least one external electronic device located within the coverage of the second external electronic device. The external electronic devices of the second group above may be different from the external electronic devices of the first group above.

[0174] According to one embodiment, in a non-transient computer-readable storage medium storing computer-executable instructions, the computer-executable instructions may cause an electronic device (200) to obtain prescription information corresponding to a patient when executed individually or collectively by at least one processor (230). The computer-executable instructions may cause an electronic device (200) to identify multiple external electronic devices that provide functions associated with multiple tasks corresponding to said prescription information, based on the type of prescription identified based on said prescription information. When the above computer-executable instructions are executed individually or collectively by at least one processor (230), the electronic device (200) may cause the electronic device (200) to transmit a task execution request to each of the plurality of external electronic devices through the communication circuit (210) of the electronic device (200) so that each of the plurality of external electronic devices performs at least one task among the plurality of tasks at a time set for the plurality of external electronic devices, based on setting a task execution schedule for the plurality of external electronic devices using capability information of the plurality of external electronic devices. The capability information may include information associated with the type of the external electronic device and at least one function provided by the external electronic device. The external electronic device may be included in the plurality of external electronic devices. When the above computer-executable instructions are executed individually or collectively by at least one processor (230), the electronic device (200) may cause the electronic device (200) to confirm that a task failure has occurred by the first external electronic device among the plurality of external electronic devices.When the above computer-executable instructions are executed individually or collectively by at least one processor (230), the electronic device (200) may cause the second external electronic device, which is different from the first external electronic device, to transmit a task execution request to the second external electronic device through the communication circuit (210) so that the second external electronic device performs at least one task set for the first external electronic device. When the above computer-executable instructions are executed individually or collectively by at least one processor (230), the electronic device (200) may cause the electronic device (200) to check whether the plurality of tasks have been completed based on information associated with the task execution result received in response to the task execution request.

[0175] An electronic device according to one embodiment disclosed in this document may be of various forms. The electronic device may include, for example, a portable communication device (e.g., a smartphone), a computer device, a portable multimedia device, a portable medical device, a camera, a wearable device, or a consumer electronics device. The electronic device according to the embodiment of this document is not limited to the aforementioned devices.

[0176] The embodiments of this document and the terms used therein are not intended to limit the technical features described in this document to specific embodiments, and should be understood to include various modifications, equivalents, or substitutions of said embodiments. In connection with the description of the drawings, similar reference numerals may be used for similar or related components. The singular form of a noun corresponding to an item may include one or more of said items unless the relevant context clearly indicates otherwise. In this document, phrases such as "A or B," "at least one of A and B," "at least one of A or B," "A, B or C," "at least one of A, B and C," and "at least one of A, B, or C" may each include any one of the items listed together in the corresponding phrase, or all possible combinations thereof. Terms such as "first," "second," or "first" or "second" may be used simply to distinguish said components from other said components and do not limit said components in any other aspect (e.g., importance or order). Where any (e.g., 1st) component is referred to as “coupled” or “connected” to another (e.g., 2nd) component, with or without the terms “functionally” or “communicationly,” it means that said any component may be connected to said other component directly (e.g., via a wire), wirelessly, or through a third component.

[0177] As used in one embodiment of this document, the term “module” may include a unit implemented in hardware, software, or firmware, and may be used interchangeably with terms such as logic, logic block, component, or circuit, for example. A module may be a component formed integrally, or a minimum unit of said component or a part thereof that performs one or more functions. For example, according to one embodiment, a module may be implemented in the form of an application-specific integrated circuit (ASIC).

[0178] One embodiment of the present document may be implemented as software (e.g., program (440)) comprising one or more instructions stored in a storage medium (e.g., internal memory (436) or external memory (438)) readable by a machine (e.g., electronic device (411)). For example, a processor (e.g., processor (420)) of the machine (e.g., electronic device (411)) may call at least one of the one or more instructions stored in the storage medium and execute it. This enables the machine to be operated to perform at least one function according to the at least one called instruction. The one or more instructions may include code generated by a compiler or code that can be executed by an interpreter. The storage medium readable by the machine may be provided in the form of a non-transitory storage medium. Here, 'non-temporary' simply means that the storage medium is a tangible device and does not contain a signal (e.g., electromagnetic waves), and the term does not distinguish between cases where data is stored semi-permanently and cases where it is stored temporarily.

[0179] According to one embodiment, the method according to one embodiment disclosed herein may be provided by being included in a computer program product. The computer program product may be traded between a seller and a buyer as a product. The computer program product may be distributed in the form of a device-readable storage medium (e.g., compact disc read-only memory (CD-ROM)) or an application store (e.g., Play Store). TM It can be distributed online (e.g., downloaded or uploaded) through ) or directly between two user devices (e.g., smartphones). In the case of online distribution, at least a portion of the computer program product may be temporarily stored or temporarily created on a device-readable storage medium, such as the memory of a manufacturer's server, an application store's server, or a relay server.

[0180] According to one embodiment, each component (e.g., module or program) of the components described above may include a singular or multiple entities, and some of the multiple entities may be separated and placed in other components. According to one embodiment, one or more of the components or operations among the aforementioned components may be omitted, or one or more other components or operations may be added. Generally or additionally, multiple components (e.g., module or program) may be integrated into a single component. In this case, the integrated component may perform one or more functions of each of the multiple components in the same or similar manner as those performed by the corresponding component among the multiple components prior to integration. According to one embodiment, operations performed by the module, program, or other components may be executed sequentially, in parallel, iteratively, or heuristically, or one or more of the operations may be executed in a different order, omitted, or one or more other operations may be added.

[0181] In addition, the structure of the data used in the above-described embodiment of the present invention may be recorded on a computer-readable recording medium through various means. The computer-readable recording medium includes storage media such as magnetic storage media (e.g., ROM, floppy disk, hard disk, etc.) and optical reading media (e.g., CD-ROM, DVD, etc.).

[0182] The present invention has been described above with reference to its preferred embodiments. Those skilled in the art will understand that the present invention may be embodied in modified forms without departing from the essential characteristics of the invention. Therefore, the disclosed embodiments should be considered in an illustrative rather than a restrictive sense. The scope of the invention is defined by the claims, not by the foregoing description, and all variations within the scope of the claims should be interpreted as being included in the invention.

Claims

1. In an electronic device (200), Communication circuit (210); At least one processor (230); and The electronic device (200) includes a memory (220) for storing instructions, and the instructions, when executed individually or collectively by the at least one processor (230), cause: Obtain prescription information corresponding to the patient, and Based on the type of prescription identified based on the above prescription information, multiple external electronic devices that provide functions associated with multiple tasks corresponding to the above prescription information are identified, and Based on setting a task execution schedule for the plurality of external electronic devices using the capability information of the plurality of external electronic devices, a task execution request is transmitted to the plurality of external electronic devices through the communication circuit (210) so that each of the plurality of external electronic devices performs at least one task among the plurality of tasks at a time set for the plurality of external electronic devices—the capability information includes information associated with the type of the external electronic device and at least one function provided by the external electronic device, and the external electronic device is included in the plurality of external electronic devices—, It is confirmed that a task failure occurred due to the first external electronic device among the plurality of external electronic devices mentioned above, and Through the communication circuit (210), a task execution request is transmitted to the second external electronic device so that the second external electronic device, which is different from the first external electronic device, performs at least one task set for the first external electronic device, and An electronic device (200) that causes to check whether the plurality of tasks have been completed based on information related to the result of the task received in response to the request to perform the task.

2. In Paragraph 1, The above types of prescriptions include medication prescriptions, exercise prescriptions, and test prescriptions, and The above instructions, when executed individually or collectively by the at least one processor (230), cause the electronic device (200): If information related to the name of the medication, time of administration, type of exercise, and method of exercise is confirmed based on the above prescription information, it is confirmed that the type of the above prescription corresponds to a medication prescription and an exercise prescription, and Identifying a plurality of tasks including a task corresponding to the above medication prescription and a task corresponding to the above exercise prescription, and Based on the above plurality of tasks, identify a plurality of external electronic devices operable by the electronic device, and An electronic device (200) that causes to set a task execution schedule for a plurality of external electronic devices, including an external electronic device that provides a function associated with a task corresponding to a medication prescription and an external electronic device that provides a function associated with a task corresponding to an exercise prescription, based on capability information of the plurality of external electronic devices, wherein the task execution schedule includes a procedure for performing the task, a time of execution, and a location of execution.

3. In Paragraph 2, At least one task corresponding to the above medication prescription includes at least one of notifying the time of medication, providing the medication, restricting medication, or confirming whether the medication has been taken. At least one task corresponding to the above exercise prescription includes at least one of notification of exercise time, guidance on exercise posture, or feedback of exercise results, and The above instructions, when executed individually or collectively by the at least one processor (230), cause the electronic device (200): Check whether the above patient is a patient with a disability, and An electronic device (200) that causes an external electronic device, which provides a function associated with a task corresponding to the medication prescription, to perform a task corresponding to the type of disability based on confirming that the patient is a patient with a disability, to transmit a task execution request to the plurality of external electronic devices—the type of disability includes behavioral disorder and cognitive impairment.

4. In any one of paragraphs 1 to 3, The above instructions, when executed individually or collectively by the at least one processor (230), cause the electronic device (200): Identify information associated with the prescription history corresponding to the identification information of the above patient, and An electronic device (200) that causes to determine whether the patient is a patient with a disability based on the above prescription information and information associated with the above prescription history.

5. In any one of paragraphs 1 to 4, The above instructions, when executed individually or collectively by the at least one processor (230), cause the electronic device (200): If information related to the exercise type, exercise method, measurement composition, and measurement cycle is identified based on the above prescription information, it is confirmed that the type of the above prescription corresponds to an exercise prescription and a test prescription, and Identify a plurality of tasks including a task corresponding to the above exercise prescription and a task corresponding to the above test prescription, and Based on the above plurality of tasks, identify a plurality of external electronic devices operable by the electronic device, and An electronic device (200) that causes to set a task execution schedule for a plurality of external electronic devices, including an external electronic device that provides a function associated with a task corresponding to the exercise prescription and an external electronic device that provides a function associated with a task corresponding to the test prescription, based on capability information of the plurality of external electronic devices.

6. In any one of paragraphs 1 to 5, The above instructions, when executed individually or collectively by the at least one processor (230), cause the electronic device (200): Based on transmitting a task execution request to the plurality of external electronic devices, checking whether the plurality of tasks have been performed by the plurality of external electronic devices, and Based on confirming that a task failure has occurred due to the first external electronic device, among the plurality of external electronic devices, the second external electronic device is identified based on information related to the location and device type of the external electronic device, and the second external electronic device is identified as providing a function related to at least one task set for the first external electronic device—the device type includes a fixed device, a mobile device, and a robotic device, and the device type of the second external electronic device corresponds to a mobile device or a robotic device—, An electronic device (200) that causes the second external electronic device to move to the patient's location and transmit a task execution request to the second external electronic device to perform at least one task set for the first external electronic device.

7. In any one of paragraphs 1 through 6, The above instructions, when executed individually or collectively by the at least one processor (230), cause the electronic device (200): From the first external electronic device, information associated with the task execution history is received, and An electronic device (200) that causes the second external electronic device to transmit a task execution request to the second external electronic device to perform a task identified based on the task execution history among at least one task set for the first external electronic device.

8. In any one of paragraphs 1 through 7, The above instructions, when executed individually or collectively by the at least one processor (230), cause the electronic device (200): After transmitting a task execution request to the second external electronic device, a task assignment request is received from the first external electronic device, and Based on receiving the above task assignment request, a task interruption request is transmitted to the second external electronic device, and In response to the above task interruption request, information associated with the task execution history is received from the second external electronic device, and An electronic device (200) that causes the first external electronic device to transmit a task execution request to the first external electronic device to perform the remaining tasks identified based on the task execution history among the tasks set for the second external electronic device.

9. In any one of paragraphs 1 through 8, The above task execution schedule includes information related to a task type, a task execution time, and a task execution method for external electronic devices of a first group, and The above instructions, when executed individually or collectively by the at least one processor (230), cause the electronic device (200): Identify the location of the first external electronic device among the external electronic devices of the first group above—the device type of the first external electronic device corresponds to a mobile device or a robotic device—, Based on confirming that the location of the patient is outside the coverage of the first external electronic device, a second external electronic device covering the location of the patient is identified, and An electronic device (200) that causes, through the communication circuit, to transmit a task execution request to the external electronic devices of the second group so that the external electronic devices of the second group perform a plurality of tasks set for the external electronic devices of the first group based on setting a task execution schedule for the external electronic devices of the second group, wherein the external electronic devices of the second group include at least one external electronic device located within the coverage of the second external electronic device and are different from the external electronic devices of the first group.

10. In any one of paragraphs 1 through 9, The above instructions, when executed individually or collectively by the at least one processor (230), cause the electronic device (200): Information related to the result of a task execution is received from the second external electronic device through the communication circuit (210), and Based on information related to the results of the above task execution, confirm that at least one task by the second external electronic device has been completed, and An electronic device (200) that causes the plurality of external electronic devices to transmit information indicating that at least one task set for the second external electronic device has been completed, through the communication circuit (210), so that the plurality of external electronic devices change information associated with the execution history of the plurality of tasks.

11. Regarding the method, The action of obtaining prescription information corresponding to the patient; An operation to identify a plurality of external electronic devices that provide functions associated with a plurality of tasks corresponding to the prescription information, based on the type of prescription identified based on the prescription information; Based on setting a task execution schedule for the plurality of external electronic devices using the capability information of the plurality of external electronic devices, an operation of transmitting a task execution request to the plurality of external electronic devices through the communication circuit (210) of the electronic device (200) so that each of the plurality of external electronic devices performs at least one task among the plurality of tasks at a time set for the plurality of external electronic devices—the capability information includes information associated with the type of the external electronic device and at least one function provided by the external electronic device, and the external electronic device is included in the plurality of external electronic devices—; An operation to confirm that a task failure has occurred by a first external electronic device among the plurality of external electronic devices; The operation of transmitting a task execution request to the second external electronic device, through the communication circuit (210), so that the second external electronic device, which is different from the first external electronic device, performs at least one task set for the first external electronic device; and An operation to determine whether the plurality of tasks have been completed based on information related to the task execution results received in response to the above task execution request. A method including 12. In Paragraph 11, The above types of prescriptions include medication prescriptions, exercise prescriptions, and test prescriptions, and The operation of identifying multiple external electronic devices that provide functions associated with multiple tasks corresponding to the prescription information, based on the type of prescription identified based on the above prescription information, is: If information related to the name of the medicine, time of administration, type of exercise, and method of exercise is confirmed based on the above prescription information, an action of confirming that the type of the above prescription corresponds to a medication prescription and an exercise prescription; An operation to identify a plurality of tasks including a task corresponding to the above medication prescription and a task corresponding to the above exercise prescription; and Based on the above plurality of tasks, the operation of identifying a plurality of external electronic devices operable by the electronic device is included, and A method further comprising the operation of setting a task execution schedule for a plurality of external electronic devices, including an external electronic device providing a function associated with a task corresponding to a medication prescription and an external electronic device providing a function associated with a task corresponding to an exercise prescription, based on capability information of the plurality of external electronic devices, wherein the task execution schedule includes a procedure for executing the task, a time of execution, and a location of execution.

13. In Paragraph 12, At least one task corresponding to the above medication prescription includes at least one of notifying the time of medication, providing the medication, restricting medication, or confirming whether the medication has been taken. At least one task corresponding to the above exercise prescription includes at least one of notification of exercise time, guidance on exercise posture, or feedback of exercise results, and An action to determine whether the above patient is a patient with a disability; and A method further comprising the action of, based on confirming that the patient is a patient with a disability, transmitting a task execution request to the plurality of external electronic devices so that an external electronic device providing a function associated with a task corresponding to the medication prescription performs a task corresponding to the type of disability—the type of disability includes behavioral disorders and cognitive disorders.

14. In any one of paragraphs 11 through 13, The action of determining whether the above patient is a patient with a disability is, An operation to verify information associated with a prescription history corresponding to the identification information of the above patient; and A method comprising an action of determining whether the patient is a patient with a disability based on the above prescription information and information associated with the above prescription history.

15. In a non-transient computer-readable storage medium storing computer-executable instructions, said computer-executable instructions, when executed individually or collectively by at least one processor (230), an electronic device (200), Acquire prescription information corresponding to the patient, and Based on the type of prescription identified based on the above prescription information, multiple external electronic devices that provide functions associated with multiple tasks corresponding to the above prescription information are identified, and Based on setting a task execution schedule for the plurality of external electronic devices using capability information of the plurality of external electronic devices, a task execution request is transmitted to the plurality of external electronic devices through the communication circuit (210) of the electronic device (200) so that each of the plurality of external electronic devices performs at least one task among the plurality of tasks at a time set for the plurality of external electronic devices—the capability information includes information associated with the type of the external electronic device and at least one function provided by the external electronic device, and the external electronic device is included in the plurality of external electronic devices—, It is confirmed that a task failure occurred due to the first external electronic device among the plurality of external electronic devices mentioned above, and Through the communication circuit (210), a task execution request is transmitted to the second external electronic device so that the second external electronic device, which is different from the first external electronic device, performs at least one task set for the first external electronic device, and A storage medium that causes to determine whether the plurality of tasks have been completed based on information associated with the result of a task received in response to the task execution request.