System for providing customized services linked to prescription by portalizing application of ai green welfare card, which provides processing and sales of user data, receipt of donations, provision of marketing materials, personalized management, and dashboard functions using artificial intelligence model, and operation method therefor

The AI-based system integrates prescription analysis with an AI Green Welfare Card to provide personalized dietary recommendations and sales information, addressing fragmented health and welfare support by enhancing user management and safety.

WO2026245469A1PCT designated stage Publication Date: 2026-11-26RBIZ INC
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
PCT/KR2025/009478
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2025-05-20
Filing Date
2025-07-02
Publication Date
2026-11-26

AI Technical Summary

Technical Problem

Existing systems lack the ability to provide integrated and personalized health management and welfare support by comprehensively analyzing user data, leading to fragmented information delivery regarding medication prescriptions and dietary recommendations, making it difficult for users to manage their health effectively.

Method used

An AI-based system that integrates with an AI Green Welfare Card to analyze prescription information, identify drug ingredients, and provide personalized dietary recommendations and sales information through a user interface, display, and processor, utilizing an artificial intelligence model to link health management with welfare services.

Benefits of technology

Enables users to safely and efficiently manage their diet by receiving customized dietary information and sales recommendations at the time of medication pickup, maximizing the effectiveness of their medication and preventing side effects.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure KR2025009478_26112026_PF_FP_ABST
    Figure KR2025009478_26112026_PF_FP_ABST
Patent Text Reader

Abstract

Disclosed are an electronic device for providing customized services for prescriptions linked to an artificial intelligence (AI) green welfare card system based on the collection and provision of user data, and an operating method therefor. The electronic device according to the present disclosure may comprise: a user interface for receiving a user input; a communication interface for establishing a communication connection with a server; a display for outputting visual content; and a processor connected to the user interface, the communication interface, and the display, and performing a control operation by executing at least one instruction. The processor may: identify prescription information on the basis of information received by means of the communication interface or the user interface; identify drug ingredients included in the identified prescription information; acquire food information on the basis of the identified drug ingredients; and provide the acquired food information to a user by outputting same by means of the display.
Need to check novelty before this filing date? Find Prior Art

Description

A system that provides customized services linked to medication prescriptions by portalizing the application of the AI ​​Green Welfare Card, which utilizes an artificial intelligence model to provide user data processing and sales, donation receipt, provision of marketing materials, personalized management, and dashboard functions, and a method of operation thereof.

[0001] The present disclosure relates to an artificial intelligence-based system, and more specifically, to a technology that provides customized services linked to medication prescriptions by portalizing an application of an AI Green Welfare Card system that provides data obtained through the collection and analysis of user data to affiliated institutions and provides information on electronic vouchers and customized health management plans to users.

[0002] Furthermore, the present disclosure relates to a healthcare and welfare system, and more specifically, to an electronic device that analyzes a user's drug prescription information in conjunction with an AI-based Green Welfare Card system and provides appropriate food information based on the drug ingredients.

[0003] The AI-based welfare card system is a next-generation support system that utilizes artificial intelligence technology to comprehensively manage users' health status and lifestyle information, and aims to provide personalized services based on this data.

[0004] Existing systems have limitations in that they rely on information scattered across various institutions and fragmentary eligibility assessments, making it difficult to provide support tailored to the actual circumstances of the beneficiaries. In contrast, AI-based welfare cards offer the advantage of enabling the design of more detailed and systematic customized service benefits by comprehensively analyzing various public and private data, as well as users' health and lifestyle records.

[0005] These systems are evolving into forms particularly suitable for target groups requiring both continuous health management and welfare support, such as the elderly, those with chronic diseases, and people with disabilities. For instance, if a user suffers from conditions like hypertension or diabetes, the system goes beyond simply granting welfare benefits; it can also provide health management information tailored to the specific condition and link this to follow-up support, such as medical expense assistance or the provision of nutritional food. As such, there is growing interest in the technological infrastructure that blurs the boundaries between health management and social welfare, enabling integrated welfare services.

[0006] In particular, regarding medication prescriptions, drug management, and dietary recommendations, it was common practice in the past for medication guidance to be provided on a one-time basis by pharmacists or medical staff, while dietary management or nutritional information was delivered through separate institutions or platforms.

[0007] However, from the user's perspective, this method had a structure where information was fragmented, making it difficult to perceive and hindering practical implementation. On the other hand, by utilizing electronic devices linked to AI-based welfare cards, users can simultaneously receive dietary precautions or recommendations for health functional foods at the time of picking up their prescription medication, enabling them to naturally perform medication guidance and nutritional management in their daily lives.

[0008] The present invention provides an electronic device that automatically identifies drug ingredients based on prescription information input by a user or received from a server, obtains information on foods suitable for or to be avoided for those ingredients, and provides this information to the user through a display. This enables the provision of safe and customized dietary information to a user who is taking medication.

[0009] The purposes of the present disclosure are not limited to those mentioned above, and other purposes and advantages of the present disclosure not mentioned may be understood from the following description and will be more clearly understood from the embodiments of the present disclosure.

[0010] Furthermore, it will be readily apparent that the object and advantages of the present disclosure can be realized by the means and combinations thereof set forth in the claims.

[0011] An electronic device according to one embodiment of the present disclosure can provide customized services for drug prescriptions by being linked with an AI Green Welfare Card system based on the collection and provision of user data. It may include a user interface that receives user input, a communication interface that performs a communication connection with a server, a display that outputs visual content, and a processor that is connected to the user interface, the communication interface, and the display and can perform a control operation by executing at least one instruction. The processor can identify prescription information based on information received through the communication interface or the user interface, identify drug ingredients included in the identified prescription information, obtain food information based on the identified drug ingredients, and provide the obtained food information to the user by outputting it through the display.

[0012] The processor can acquire a prescription image through a camera and identify prescription information by identifying the text contained in the acquired prescription image.

[0013] The processor can input prescription information into an artificial intelligence model and obtain food information corresponding to the drug ingredients included in the prescription based on the output value.

[0014] The processor can obtain food information corresponding to identified drug components based on a drug-food interaction database.

[0015] Based on the identified drug ingredients, the processor can obtain food information including information on recommended foods that are good for the user to consume with the drug and information on foods not recommended that may cause side effects.

[0016] The processor can obtain food information based on the user's health information and personal information, including information on recommended foods that are good to consume with medicine and information on foods not recommended that may cause side effects.

[0017] When the processor receives user input selecting at least one of the displayed foods through the user interface while food information is being output through the display, it can provide the user with sales information of the selected food by outputting it through the display.

[0018] The processor can provide the user with a list of multiple vendors selling the selected food through a display, and the display order of the multiple vendors in the list can be sorted based on evaluation scores and sales volume.

[0019] The processor can sort the display order of multiple sales outlets so that sales outlets with higher evaluation scores and sales volumes are positioned at the top of the list, and sales outlets with lower evaluation scores and sales volumes are positioned at the bottom of the list, and output the list through a display to provide it to the user.

[0020] The processor can collect information on evaluation scores and sales volumes for each of the plurality of sales outlets and update a list including the plurality of sales outlets at preset intervals based on the information on evaluation scores and sales volumes collected for each of the plurality of sales outlets.

[0021] The above processor can acquire information about a sales outlet selected by a user for purchase, acquire a user's purchase history database based on the acquired information about the sales outlet, and learn a sales outlet recommendation model based on the purchase history database.

[0022] When a user input selecting at least one food item among the recommended food information is received through the user interface, the processor identifies the selected food item included in the recommended food information, inputs the identified selected food item into the sales location recommendation model to identify a recommended sales location corresponding to the selected food item based on the output value, generates a sales location list consisting of the identified recommended sales locations, and outputs the generated sales location list through the display to provide it to the user.

[0023] In a method of operation of a system according to one embodiment of the present disclosure, a server can identify prescription information based on information received from an external device or a user terminal, identify drug ingredients included in the identified prescription information, and obtain food information based on the identified drug ingredients. The server transmits the obtained food information to a user terminal, and the user terminal can output the food information received from the server and provide it to the user.

[0024] According to the present invention, by automatically extracting drug components based on a user's prescription information and searching for and providing food information related to those components, the user can manage their diet more safely and efficiently on their own. In particular, by providing information on foods to avoid or recommended nutrients when taking a specific drug, the effectiveness of the drug can be maximized and side effects prevented.

[0025] Furthermore, since it is linked with the AI ​​Green Welfare Card system to provide customized information based on user data, it can be expanded into welfare-linked services tailored to individual circumstances. This technology can be utilized in various fields, such as medication guidance, electronic prescription systems, and digital healthcare platforms.

[0026] In conclusion, the present invention can be utilized in various fields, such as public welfare, private-public partnership platforms, and AI-based services.

[0027] Aspects, features, and advantages of specific embodiments of the present disclosure will become more apparent from the following description with reference to the accompanying drawings.

[0028] FIG. 1 is an exemplary configuration diagram of a system including a server, a user terminal, and an affiliated organization terminal according to one embodiment of the present disclosure.

[0029] FIG. 2 is a block diagram illustrating the configuration of a user terminal according to one embodiment of the present disclosure.

[0030] FIG. 3 is a block diagram illustrating the configuration of a server according to one embodiment of the present disclosure.

[0031] FIG. 4 is a block diagram illustrating the configuration of an affiliated institution terminal according to one embodiment of the present disclosure.

[0032] FIG. 5 is a sequence diagram for explaining a representative operation of a system including a server, a user terminal, and an affiliated institution terminal according to one embodiment of the present disclosure.

[0033] FIG. 6 is a diagram illustrating the operation of identifying text included in a prescription using an OCR method by capturing an image of a prescription with an electronic device according to one embodiment of the present disclosure.

[0034] FIG. 7 is a block diagram illustrating the operation of an electronic device according to one embodiment of the present disclosure, in which prescription information is input into an artificial intelligence model to obtain information about recommended foods that are good to consume with the drug ingredients included in the prescription, and non-recommended foods that are not good to consume or may cause side effects.

[0035] FIG. 8 is a block diagram illustrating the operation of an electronic device according to one embodiment of the present disclosure to obtain information on recommended foods that are good to consume with the drug ingredients included in the prescription and non-recommended foods that are not good to consume or may cause side effects, based on prescription information and a drug-food interaction database.

[0036] FIG. 9 is a block diagram illustrating the operation of an electronic device according to one embodiment of the present disclosure to obtain information about recommended foods that are good to consume with the drug ingredients included in the prescription, and non-recommended foods that are not good to consume or may cause side effects, based on prescription information, health information, and personal information.

[0037] FIG. 10 is a flowchart for explaining the operation of an electronic device according to one embodiment of the present disclosure.

[0038] FIG. 11 is a drawing illustrating a screen in which an electronic device, according to one embodiment of the present disclosure, outputs a list of vendors selling recommended food for the drug ingredients included in the drug prescription information through a display and provides it to a user.

[0039] FIG. 12 is a diagram illustrating a screen according to one embodiment of the present disclosure in which an electronic device outputs a list of sales outlets selling recommended health functional foods for drug ingredients included in drug prescription information through a display and provides this to a user.

[0040] FIG. 13 is a diagram illustrating the operation of an electronic device according to one embodiment of the present disclosure to input a user's food item into a sales recommendation model learned based on the user's purchase history to obtain a list of sales outlets corresponding to the food item.

[0041] FIG. 14 is a drawing for explaining a screen in which an electronic device outputs a list of recommended sales outlets to a user through a display, according to one embodiment of the present disclosure.

[0042] Before specifically describing the present disclosure, the method of description in the specification and drawings is described.

[0043] First, the terms used in this specification and claims have been selected based on general terms considering their functions in the various embodiments of this disclosure. However, these terms may vary depending on the intent of those skilled in the art, legal or technical interpretations, and the emergence of new technologies. Additionally, some terms have been arbitrarily selected by the applicant. Such terms may be interpreted according to the meanings defined in this specification; in the absence of specific definitions, they may be interpreted based on the overall content of this specification and common technical knowledge in the relevant field.

[0044] In addition, the same reference numbers or symbols described in each drawing attached to this specification represent parts or components that perform substantially the same function. For convenience of explanation and understanding, the same reference numbers or symbols are used to describe different embodiments. That is, even if components having the same reference number are all depicted in multiple drawings, the multiple drawings do not imply a single embodiment.

[0045] Additionally, in this specification and claims, terms including ordinal numbers, such as "first," "second," etc., may be used to distinguish between components. These ordinal numbers are used to distinguish identical or similar components from one another, and the meaning of the terms should not be limited by the use of such ordinal numbers. For example, the order of use or arrangement of components combined with such ordinal numbers should not be restricted by the number. If necessary, each ordinal number may be used interchangeably.

[0046] In this specification, singular expressions include plural expressions unless the context clearly indicates otherwise. In this application, terms such as "comprising" or "consisting of" are intended to specify the existence of the features, numbers, steps, actions, components, parts, or combinations thereof described in the specification, and should be understood as not precluding the existence or addition of one or more other features, numbers, steps, actions, components, parts, or combinations thereof.

[0047] In the embodiments of the present disclosure, terms such as "module," "unit," "part," etc. are used to refer to a component that performs at least one function or operation, and such component may be implemented in hardware or software, or in a combination of hardware and software. Additionally, a plurality of "modules," "units," "parts," etc. may be integrated into at least one module or chip and implemented as at least one processor, except where each needs to be implemented in specific individual hardware.

[0048] Furthermore, in the embodiments of the present disclosure, when a part is described as being connected to another part, this includes not only a direct connection but also an indirect connection through another medium. Additionally, the meaning that a part includes a certain component implies that, unless specifically stated otherwise, it does not exclude other components but may include additional components.

[0049] In the present disclosure, the expression “at least one of a, b, or c” may refer to “a”, “b”, “c”, “a and b”, “a and c”, “b and c”, “a, b, and c all”, or variations thereof.

[0050] The terms used in this disclosure have been selected to be as widely used and general as possible, taking into account their functions within this disclosure; however, these terms may vary depending on the intent of those skilled in the art, case law, the emergence of new technologies, etc. Additionally, in specific cases, terms have been selected at the applicant's discretion, and in such cases, their meanings will be described in detail in the relevant explanatory sections. Therefore, terms used in this disclosure should be defined not merely by their names, but based on their meanings and the overall content of this disclosure.

[0051] Singular expressions may include plural expressions unless the context clearly indicates otherwise. Terms used herein, including technical or scientific terms, may have the same meaning as generally understood by those skilled in the art as described in this specification. Additionally, terms including ordinal numbers, such as "first" or "second," used in this specification may be used to describe various components, but said components should not be limited by said terms. Such terms are used solely for the purpose of distinguishing one component from another.

[0052] When a part of a specification is described as "comprising" a certain component, this means that, unless specifically stated otherwise, it does not exclude other components but may include additional components. Furthermore, terms such as "part" or "module" as used in the specification refer to a unit that processes at least one function or operation, and this may be implemented in hardware or software, or as a combination of hardware and software.

[0053] Embodiments of the present disclosure are described below with reference to the attached drawings so that those skilled in the art can easily implement the invention. However, the present disclosure may be embodied in various different forms and is not limited to the embodiments described herein. Furthermore, in order to clearly explain the present disclosure in the drawings, parts unrelated to the explanation have been omitted, and similar parts throughout the specification are denoted by similar reference numerals.

[0054] FIG. 1 is an exemplary configuration diagram of a system including a server (100), a user terminal (20), and an affiliated institution terminal (30) according to one embodiment of the present disclosure.

[0055] Referring to FIG. 1, the server (100) may be an FTP server (File Transfer Protocol Server), a web server, a database server, or a cloud server, but is not limited thereto.

[0056] The server (100) can perform one or more functions and operations, and can be implemented as a single device or distributed across multiple devices so that each function and operation is implemented.

[0057] The user terminal (20) may be a smartphone, tablet PC, laptop PC, desktop PC, wearable device (e.g., smart watch, smart TV, set-top box, console), a terminal dedicated to virtual reality (VR) and augmented reality (AR) (e.g., head-mounted device, smart home device), a special industrial terminal, a vehicle terminal, etc., but is not limited thereto.

[0058] The user terminal (20) can perform one or more functions and operations, and can be implemented as a single device or distributed among multiple devices so that each function and operation is implemented.

[0059] FIG. 2 is a block diagram for explaining the configuration of a user terminal (20) according to one embodiment of the present disclosure.

[0060] Referring to FIG. 2, the user terminal (20) may include a communication interface (21), a user interface (22), a display (23), a memory (24), and a processor (25), but is not limited thereto, and may include various additional configurations or omit some configurations.

[0061] The communication interface (21) may include at least one of a wireless communication interface, a wired communication interface, and an input / output interface. The wireless communication interface may communicate with various external devices using wireless communication technology or mobile communication technology. Such wireless communication technologies may include, for example, Bluetooth, Bluetooth Low Energy, CAN communication, Wi-Fi, Wi-Fi Direct, ultrawide band (UWB), Zigbee, infrared data association (IrDA), or near field communication (NFC), and mobile communication technologies may include 3GPP, Wi-Max, LTE (Long Term Evolution), 5G, etc.

[0062] A wireless communication interface can be implemented using an antenna, a communication chip, a substrate, etc., capable of transmitting electromagnetic waves to the outside or receiving electromagnetic waves transmitted from the outside.

[0063] A wired communication interface can communicate with various devices based on a wired communication network. Here, the wired communication network can be implemented using physical cables, such as, for example, pair cables, coaxial cables, fiber optic cables, or Ethernet cables.

[0064] Depending on the embodiment, either the wireless communication interface or the wired communication interface may be omitted. Accordingly, the server (100) may include only the wireless communication interface or only the wired communication interface. In addition, the server (100) may be equipped with an integrated communication interface (21) that supports both wireless connection via the wireless communication interface and wired connection via the wired communication interface.

[0065] The processor (25) can transmit or receive various data, signals, etc. by establishing a communication connection with an external device, a server (100), and an affiliated institution terminal (30) through a communication interface (21).

[0066] Here, various information, signals, data, etc. may include, but are not limited to, prescription (P) information, drug information, pharmaceutical information, health information, personal information, information on recommended foods (R) (F) regarding the drug ingredients included in the prescription (P), information on foods not recommended (NR) (R) (F), and a list of retailers (M) of recommended foods (R).

[0067] The user interface (22) may include, but is not limited to, a button, a lever, a switch (D3), a touch interface, a camera, a microphone, a sensor (e.g., a gesture sensor, a motion sensor, a touch sensor, a bio-sensor, etc.), and an input interface.

[0068] The processor (25) can receive user input for data processing and data input through the user interface (22).

[0069] The processor (25) can receive various user inputs through the user interface (22). Here, the user input may include, but is not limited to, prescription (P) information, drug information, pharmaceutical information, health information, personal information, information on recommended foods (R) (F) corresponding to the drug ingredients included in the prescription (P), information on foods not recommended (NR) (R) (F), places selling recommended foods (R), etc.

[0070] If the user interface (32) is a camera, the processor (35) may also obtain an image of the prescription (P) through the camera.

[0071] A camera may be a device for capturing still images and video. According to one embodiment, the camera may include a lens that refracts and collects or disperses one or more lights (e.g., a convex lens, a concave lens, a spherical lens, a planar lens, a wide-angle lens, etc.), an image sensor that converts light into an electric charge to acquire an image (e.g., a Charge-Coupled Device (CCD), a Complementary Metal-Oxide Semiconductor (CMOS)), an image signal processor, or a flash. In addition, the camera may include an aperture, a viewfinder, a zebra device that detects whether an image is overexposed through a CCD inside the camera, etc.

[0072] The processor (25) can acquire an RGB image by sensing light in the visible light region through a camera. The camera can acquire an infrared image by sensing light in the infrared region.

[0073] The display (23) may include various types of display panels such as LCD (Liquid Crystal Display) panels, OLED (Organic Light Emitting Diodes) panels, AM-OLED (Active-Matrix Organic Light-Emitting Diode), LcoS (Liquid Crystal on Silicon), QLED (Quantum dot Light-Emitting Diode) and DLP (Digital Light Processing), PDP (Plasma Display Panel) panels, inorganic LED panels, and Micro LED panels, but is not limited thereto. Meanwhile, the display (23) may form a touchscreen together with a touch panel and may be made of a flexible panel.

[0074] The display (23) can be implemented in a 2D shape such as a square or a rectangle, but is not limited thereto and can be implemented in various shapes such as a circle, a polygon, or a 3D shape.

[0075] The display (23) may be placed in one area of ​​the surface of the user terminal (20), but is not limited thereto, and may be implemented as a three-dimensional hologram projected in three-dimensional space or as a projection projected on a two-dimensional plane.

[0076] The processor (25) can provide to the user visualized content such as an image of a prescription (P), information on the prescription (P), text included in the prescription (P), medicinal ingredients included in the prescription (P), recommended foods (R) and non-recommended foods (NR) (R) corresponding to the medicinal ingredients included in the prescription (P), and a list of places selling the recommended foods (R) (M) through a display (23).

[0077] However, it is not limited to this, and the processor (25) can provide various GUIs, images, videos, and text to the user by outputting them through the display (23).

[0078] The memory (24) stores various programs or data temporarily or non-temporarily and transmits the stored information to the processor (25) upon the call of the processor (25). Additionally, the memory (24) can store various information required for the operation, processing, or control operation of the processor (25) in an electronic format.

[0079] The memory (24) may include, for example, at least one of a main memory and an auxiliary memory. The main memory may be implemented using a semiconductor storage medium such as ROM and / or RAM. The ROM may include, for example, a conventional ROM, EPROM, EEPROM and / or MASK-ROM. The RAM may include, for example, a DRAM and / or SRAM. The auxiliary memory may be implemented using at least one storage medium capable of storing data permanently or semi-permanently, such as a flash memory device, an SD (Secure Digital) card, a solid state drive (SSD), a hard disk drive (HDD), an optical recording medium such as a magnetic drum, a compact disc (CD), a DVD, or a laser disc, a magnetic tape, a magneto-optical disc and / or a floppy disk.

[0080] The memory (24) can store an artificial intelligence model (121). Here, the artificial intelligence model (121) may be an artificial intelligence model (121), a deep learning model, or a neural network model, but is not limited thereto.

[0081] The artificial intelligence model (121) may be a model that outputs information about recommended or non-recommended foods based on the ingredients of the medicine included in the prescription (P) when prescription (P) information is input.

[0082] The memory (24) can store an artificial intelligence model, output data obtained based on input data input to the artificial intelligence model, usage information obtained based on the output data, and reconstruction information for reconstructing the artificial intelligence model obtained based on the usage information.

[0083] The artificial intelligence model (121) can be constructed by considering the application field of the recognition model, the purpose of learning, or the computer performance of the device. Additionally, the artificial intelligence model may be, for example, a model based on a neural network.

[0084] An artificial intelligence model can be designed to simulate the structure of the human brain on a computer. The artificial intelligence model may include multiple network nodes with weights that simulate neurons of a human neural network. The multiple network nodes may each form a connection relationship to simulate synaptic activity, in which neurons transmit and receive signals through synapses.

[0085] Artificial intelligence models may include, for example, neural network models or deep learning models developed from neural network models. In deep learning models, multiple network nodes may be located at different depths (or layers) and exchange data according to convolutional connection relationships. For example, models such as Deep Neural Networks (DNN), Recurrent Neural Networks (RNN), and Bidirectional Recurrent Deep Neural Networks (BRDNN) may be used as artificial intelligence models, but are not limited thereto.

[0086] A deep learning model may include multiple artificial neural network layers. The 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), deep Q-networks, or a combination of two or more of the above, but is not limited to the examples described above. The artificial intelligence model (121) may include, additionally or substantially, a software structure in addition to the hardware structure.

[0087] A deep learning model may include a learning algorithm. For example, it may include supervised learning, unsupervised learning, semi-supervised learning, or reinforcement learning, but is not limited to the examples described above. An artificial intelligence model (121) may include a plurality of artificial neural network layers.

[0088] In addition, the memory (24) may store prescription (P) images, prescription (P) information, drug information, medicine information, health information, personal information, recommended food (R) information (F), non-recommended food (NR)(R) information (F), and a list of places selling recommended food (R) (M), but is not limited thereto.

[0089] The processor (25) controls the overall operation of the server (100). Specifically, the processor (25) is connected to the configuration of the server (100) including the memory (24) as described above, and can control the overall operation of the server (100) by executing at least one instruction stored in the memory (24) as described above. In particular, the processor (25) can be implemented as a single processor as well as as a plurality of processors.

[0090] The processor (25) may be implemented in various ways. For example, one or more processors (25) may include one or more of a CPU (Central Processing Unit), GPU (Graphics Processing Unit), APU (Accelerated Processing Unit), MIC (Many Integrated Core), DSP (Digital Signal Processor), NPU (Neural Processing Unit), hardware accelerator, or machine learning accelerator. One or more processors (25) may control one or any combination of other components of the server (100) and may perform operations or data processing related to communication. One or more processors (25) may execute one or more programs or instructions stored in memory (24). For example, one or more processors (25) may perform a method according to one embodiment of the present disclosure by executing one or more instructions stored in memory (24).

[0091] In the embodiments of the present disclosure, the processor (25) may mean a system-on-chip (SoC) in which one or more processors (25) and other electronic components are integrated, a single-core processor, a multi-core processor, or a core included in a single-core processor or a multi-core processor, wherein the core may be implemented as a CPU, GPU, APU, MIC, DSP, NPU, hardware accelerator, or machine learning accelerator, but the embodiments of the present disclosure are not limited thereto.

[0092] The processor (25) can perform OCR (Optical Character Recognition) on the prescription (P) image to identify text included in the prescription (P) image and identify the drug ingredients included in the prescription (P) information based on the identified text.

[0093] The processor (25) can input prescription (P) information into the artificial intelligence model (121) and obtain information about recommended foods (R) or non-recommended foods that match the drug ingredients included in the prescription (P) based on the output value.

[0094] In addition, the processor (25) may generate a list of vendors (M) that sell recommended food (R) to be provided to the user terminal (20).

[0095] However, it is not limited to this, and the processor (25) can perform various operations to control the configuration of the user terminal (20) described above by executing at least one instruction.

[0096] FIG. 3 is a block diagram for explaining the configuration of a server (100) according to one embodiment of the present disclosure.

[0097] Referring to FIG. 3, the server (100) may include a communication interface (110), memory (120), and a processor (130). However, it is not limited thereto and may include additional configurations or omit some configurations.

[0098] The communication interface (110) may include at least one of a wireless communication interface, a wired communication interface, and an input / output interface. The wireless communication interface may communicate with various external devices using wireless communication technology or mobile communication technology. Such wireless communication technologies may include, for example, Bluetooth, Bluetooth Low Energy, CAN communication, Wi-Fi, Wi-Fi Direct, ultrawide band (UWB), Zigbee, infrared data association (IrDA), or near field communication (NFC), and mobile communication technologies may include 3GPP, Wi-Max, LTE (Long Term Evolution), 5G, etc.

[0099] A wireless communication interface can be implemented using an antenna, a communication chip, a substrate, etc., capable of transmitting electromagnetic waves to the outside or receiving electromagnetic waves transmitted from the outside.

[0100] A wired communication interface can communicate with various devices based on a wired communication network. Here, the wired communication network can be implemented using physical cables, such as, for example, pair cables, coaxial cables, fiber optic cables, or Ethernet cables.

[0101] Depending on the embodiment, either the wireless communication interface or the wired communication interface may be omitted. Accordingly, the server (100) may include only the wireless communication interface or only the wired communication interface. In addition, the server (100) may be equipped with an integrated communication interface (110) that supports both wireless connection via the wireless communication interface and wired connection via the wired communication interface.

[0102] The server (100) is not limited to having one communication interface (110) that performs a communication connection in one way, but may include multiple communication interfaces (110) that perform communication connections in multiple ways.

[0103] The processor (130) can transmit or receive prescription (P) images, prescription (P) information, drug information, medication information, health information, personal information, etc. by performing a communication connection with a user terminal (20) or an affiliated institution terminal (30) through a communication interface (110).

[0104] In addition, the processor (130) can perform a communication connection with a user terminal (20) or an affiliated institution terminal (30) through a communication interface (110) to transmit or receive information on recommended foods (R) (F), information on non-recommended foods (NR) (R) (F), and a list of sales outlets (M) for recommended foods (R).

[0105] The memory (120) stores various programs or data temporarily or non-temporarily and transmits the stored information to the processor (130) upon the call of the processor (130). Additionally, the memory (120) can store various information required for the operation, processing, or control operation of the processor (130) in an electronic format.

[0106] The memory (120) may include, for example, at least one of a main memory and an auxiliary memory. The main memory may be implemented using a semiconductor storage medium such as ROM and / or RAM. The ROM may include, for example, a conventional ROM, EPROM, EEPROM and / or MASK-ROM. The RAM may include, for example, a DRAM and / or SRAM. The auxiliary memory may be implemented using at least one storage medium capable of storing data permanently or semi-permanently, such as a flash memory device, an SD (Secure Digital) card, a solid state drive (SSD), a hard disk drive (HDD), an optical recording medium such as a magnetic drum, a compact disc (CD), a DVD, or a laser disc, a magnetic tape, a magneto-optical disc and / or a floppy disk.

[0107] The memory (120) can store an artificial intelligence model (121). Here, the artificial intelligence model (121) may be an artificial intelligence model (121), a deep learning model, or a neural network model, but is not limited thereto.

[0108] The artificial intelligence model (121) may be a model that outputs information about recommended or non-recommended foods based on the ingredients of the medicine included in the prescription (P) when prescription (P) information is input.

[0109] The memory (120) can store an artificial intelligence model (121), output data obtained based on input data input to the artificial intelligence model (121), usage information obtained based on the output data, and reconstruction information for reconstructing the artificial intelligence model obtained based on the usage information.

[0110] In addition, the memory (120) may store prescription (P) images, prescription (P) information, drug information, medication information, health information, personal information, recommended food (R) information (F), non-recommended food (NR)(R) information (F), and a list of vendors (M) for recommended food (R), but is not limited thereto.

[0111] The processor (130) controls the overall operation of the server (100). Specifically, the processor (130) is connected to the configuration of the server (100) including the memory (120) as described above, and can control the overall operation of the server (100) by executing at least one instruction stored in the memory (120) as described above. In particular, the processor (130) can be implemented as a single processor as well as as a plurality of processors.

[0112] The processor (130) may be implemented in various ways. For example, one or more processors (130) may include one or more of a CPU (Central Processing Unit), GPU (Graphics Processing Unit), APU (Accelerated Processing Unit), MIC (Many Integrated Core), DSP (Digital Signal Processor), NPU (Neural Processing Unit), hardware accelerator, or machine learning accelerator. One or more processors (130) may control one or any combination of other components of the server (100) and may perform operations or data processing related to communication. One or more processors (130) may execute one or more programs or instructions stored in memory (120). For example, one or more processors (130) may perform a method according to one embodiment of the present disclosure by executing one or more instructions stored in memory (120).

[0113] In embodiments of the present disclosure, the processor (130) may mean a system-on-chip (SoC) in which one or more processors (130) and other electronic components are integrated, a single-core processor, a multi-core processor, or a core included in a single-core processor or a multi-core processor, wherein the core may be implemented as a CPU, GPU, APU, MIC, DSP, NPU, hardware accelerator or machine learning accelerator, etc., but the embodiments of the present disclosure are not limited thereto.

[0114] The processor (130) can perform Optical Character Recognition (OCR) on the prescription (P) image to identify text contained in the prescription (P) image and identify the drug ingredients contained in the prescription (P) information based on the identified text.

[0115] The processor (130) can input prescription (P) information into an artificial intelligence model (121) and obtain information about recommended foods (R) or non-recommended foods that match the drug ingredients included in the prescription (P) based on the output value.

[0116] In addition, the processor (130) may generate a list of vendors (M) that sell recommended food (R) to be provided to the user terminal (20).

[0117] However, it is not limited to this, and the processor (130) can perform various operations to control the configuration of the server (100) described above by executing at least one instruction.

[0118] The affiliated institution terminal (30) may be an institution affiliated with the system for implementing the present embodiment, such as a hospital, medical center, pharmacy, pharmaceutical company, healthcare company, etc., but is not limited thereto.

[0119] The affiliated institution terminal (30) may be, for example, a smartphone, tablet PC, laptop PC, desktop PC, wearable device (e.g., smart watch, smart TV, set-top box, console), a terminal dedicated to virtual reality (VR) and augmented reality (AR) (e.g., head-mounted device, smart home device), a special industrial terminal, a vehicle terminal, etc., but is not limited thereto.

[0120] The affiliated institution terminal (30) can perform one or more functions and operations, and can be implemented as a single device or distributed among multiple devices so that each function and operation is implemented.

[0121] FIG. 4 is a block diagram for explaining the configuration of an affiliated institution terminal (30) according to one embodiment of the present disclosure.

[0122] Referring to FIG. 4, the affiliated institution terminal (30) may include a communication interface (31), a user interface (32), a display (33), a memory (34), and a processor (35), but is not limited thereto, and may include additional configurations or omit some configurations.

[0123] The detailed functions, detailed operations, and detailed configurations of the configuration constituting the affiliate institution terminal (30) may be identical to the user terminal (20) described above, but are not limited thereto, and may include additional configurations or omit some configurations.

[0124] The processor (35) can transmit or receive various information, signals, data, etc. by establishing a communication connection with the server (100) or user terminal (20) through the communication interface (31).

[0125] Here, various information, signals, data, etc. may include prescription (P) information, drug information, medication information, health information, personal information, etc., but are not limited thereto.

[0126] The processor (35) can receive various user inputs through the user interface (32). Here, the user input may include, but is not limited to, prescription (P) information, drug information, pharmaceutical information, health information, personal information, information on recommended foods (R) (F) corresponding to the drug ingredients included in the prescription (P), information on foods not recommended (NR) (R) (F), places selling recommended foods (R), etc.

[0127] If the user interface (32) is a camera, the processor (35) can obtain an image of the prescription (P) through the camera.

[0128] The processor (35) can output various visual content through the display (33) and provide it to the user.

[0129] Here, visual content may include, but is not limited to, prescription (P) information, drug information, medication information, health information, personal information, and information on recommended foods (R) and non-recommended foods (NR) (R) (F) that match the drug ingredients.

[0130] The processor (35) can store prescription (P) information, drug information, pharmaceutical information, health information, personal information, etc. in memory (34). However, it is not limited to this, and the processor (35) can store various information, data, signals, etc. in memory (34).

[0131] FIG. 5 is a sequence diagram for explaining a representative operation of a system including a server (100), a user terminal, and an affiliated institution terminal (30) according to one embodiment of the present disclosure.

[0132] Referring to FIG. 5, the user terminal can obtain prescription (P) information (S5). The user terminal can transmit the obtained prescription (P) information to the server (100) (S10).

[0133] At this time, the user terminal can acquire an image of the prescription (P) through a camera and identify the prescription (P) information by identifying the text included in the acquired image of the prescription (P).

[0134] FIG. 6 is a diagram illustrating the operation of identifying text included in a prescription (P) by taking an image of the prescription (P) with an electronic device (20) according to one embodiment of the present disclosure using an OCR method.

[0135] Referring to FIG. 6, the prescription (P) information includes data such as the patient's name, drug name, dosage, and number of doses, and text identification can generally be performed through Optical Character Recognition (OCR) technology.

[0136] OCR (Optical Character Recognition) is a technology that automatically recognizes character data, such as letters or numbers, contained in images or scanned documents and converts it into digital text.

[0137] The basic operating principle of OCR consists of a process in which text-containing areas are first detected within an image, then individual characters within those areas are segmented to determine what each character is. Initially, it was primarily used to recognize standardized printed text in black-and-white documents input via scanners, but now it can recognize photos taken with smartphone cameras, handwriting, tables, and even signs or license plates within natural images.

[0138] The user terminal can perform image preprocessing. This is a step of processing the image to facilitate character recognition by removing noise and correcting tilted or dark backgrounds.

[0139] The user terminal can perform character recognition operations. In this process, AI-based algorithms are utilized to compare character patterns and predict what the corresponding character is.

[0140] User terminals can perform post-processing operations. They correct incorrectly recognized characters or analyze context to refine text into natural-sounding words. Recently, language models have been utilized in this post-processing process, including the ability to automatically correct text to contextually appropriate words.

[0141] OCR technology can be implemented not only through traditional pattern recognition methods but also through deep learning-based OCR methods. Representative models include CRNN (Convolutional Recurrent Neural Network), attention-based models, and Transformer-based recognition networks, which guarantee high recognition rates even for complex sentence structures or various fonts. In particular, when combined with Natural Language Processing (NLP) technology, it enables accurate text extraction that considers the meaning of the sentence.

[0142] The user terminal may also transmit the text contained in the identified prescription (P) image to the server (100).

[0143] In this case, the text may include information regarding the hospital name, medical institution name, patient name, medication prescription information, patient's disease information, etc., but is not limited thereto.

[0144] A camera is a component that converts visual information into digital images and is utilized to collect medical information recorded in paper documents. Examples include the built-in cameras of smartphones and lenses included in OCR scanners. However, it is not limited to these.

[0145] The user terminal can identify prescription (P) information by identifying text included in the acquired prescription (P) image. The prescription (P) information includes data such as patient name, drug name, dosage, and number of doses.

[0146] In addition, the affiliated institution terminal (30) may also transmit the received prescription (P) information, prescription (P) image, text included in the prescription (P), drug prescription information, etc. to the server (100) (S15).

[0147] The user terminal and the affiliated institution terminal (30) do not necessarily have to have both devices transmit prescription (P) information, prescription (P) image, and drug prescription information to the server (100), and only one of the two devices can transmit prescription (P) information, prescription (P) image, and drug prescription information to the server (100).

[0148] The server (100) can identify prescription (P) information based on information received from a user terminal or an affiliated institution terminal (30) (S20).

[0149] At this time, when a prescription (P) image is received, the server (100) can identify the prescription (P) information by identifying the text included in the prescription (P) image.

[0150] Prescription (P) information includes data such as patient name, drug name, dosage, and number of doses, and text identification can generally be performed using Optical Character Recognition (OCR) technology.

[0151] The server (100) can perform image preprocessing operations. This is a step of removing noise from the image and correcting tilted or dark backgrounds to facilitate character recognition.

[0152] The server (100) can perform a character recognition operation. In this process, an artificial intelligence-based algorithm is used to compare character patterns and predict what the corresponding character is.

[0153] The server (100) can perform post-processing operations. It corrects incorrectly recognized characters or organizes them into natural text by understanding the context. Recently, a language model is used in this post-processing process, and a function to automatically correct to contextually appropriate words is also included.

[0154] The server (100) can input prescription (P) information into an artificial intelligence model (121) (e.g., a food recommendation model) and obtain food information (F) corresponding to the drug ingredients included in the prescription (P) information based on the output value.

[0155] FIG. 7 is a block diagram illustrating the operation of an electronic device (20) according to one embodiment of the present disclosure, inputting prescription (P) information into an artificial intelligence model (121) to obtain information about recommended foods (R) that are good to consume together with the drug ingredients included in the prescription (P) and non-recommended foods (NR) (R) that are not good to consume together or may cause side effects.

[0156] Referring to FIG. 7, the server (100) can input prescription (P) information into an artificial intelligence model (121) and obtain food information (F) corresponding to the drug ingredients included in the prescription (P) information based on the output value.

[0157] The artificial intelligence model (121) is an algorithmic system that performs prediction or classification of input values ​​based on data, and in the medical and food fields, it may be a model used for prediction of drug interactions or nutritional analysis.

[0158] Food information (F) may be data regarding interactions with the drug ingredients, effects of promoting or inhibiting absorption, foods to avoid when taking, etc.

[0159] Food information (F) may be information about recommended foods (R) that may have a positive effect on the body when consumed with the drug ingredients, or non-recommended foods (NR)(R) that may have a negative effect on the body or cause side effects when consumed with the drug ingredients.

[0160] In addition, food information (F) may include foods to be cautious of in relation to the user's medication, ingredients that may increase or decrease the effect of the drug, and advice regarding diet. For example, there are cases such as information that grapefruit may affect the metabolism of some hyperlipidemia drugs and restrictions on the intake of high-fat foods when taking isoniazid, and it may be used for personalized medication guidance, but is not limited to these.

[0161] For example, there are interactions between warfarin and green vegetables containing large amounts of vitamin K, and the control of dairy intake when taking calcium supplements, and it is used to provide medication guidelines based on the effect of specific foods on the efficacy of the drug.

[0162] According to various embodiments, the present invention relates to an artificial intelligence-based system that predicts interactions between drugs and food and recommends appropriate food information to a user based thereon. More specifically, the present invention relates to an electronic device (20) that utilizes a Transformer-based natural language processing model to comprehensively analyze drug-food interaction data and user health data, and provides food recommendation information to a user based on the analysis results.

[0163] The electronic device (20) receives a Micromedex-based drug-food interaction database and individual user health data as inputs to predict interactions between drugs and food. The user's health data includes, for example, allergy history, medications taken, diagnosed diseases, dietary habits, etc., and can be collected through the input interface of the electronic device (20) or an external medical information server.

[0164] The electronic device (20) runs a natural language processing model following a Transformer structure based on received data. Here, Transformer refers to a deep learning model that dynamically calculates the relationships between elements within a sequence based on an attention mechanism and effectively reflects context dependency. This model can identify semantic relationships between food items corresponding to each drug component and evaluate the interaction risk accordingly.

[0165] The electronic device (20) specifically utilizes an attention mechanism to accurately predict whether the active ingredient of a drug is likely to interact with a specific food ingredient. The predicted interaction information is scored, and if it exceeds a certain standard, it is classified as a forbidden food. At the same time, the electronic device (20) selects information on foods with a low risk of interaction or a neutralizing effect and presents it to the user as a recommended food.

[0166] The electronic device (20) uses supervised learning and reinforcement learning in parallel as learning algorithms. Supervised learning learns data with correct labels based on a drug-food interaction dataset, and reinforcement learning continuously improves recommendation accuracy based on user feedback (e.g., whether there is an adverse reaction after actual consumption).

[0167] In terms of technical effects, the electronic device (20) can improve the accuracy of drug-food interaction prediction by more than 20% compared to existing rule-based systems, and also has the effect of reducing the food recommendation processing time by more than 50% on average. In addition, as it becomes possible to provide customized dietary guidelines for each drug ingredient, the user's medication adherence and health management efficiency can be greatly improved.

[0168] FIG. 8 is a block diagram illustrating the operation of an electronic device (20) according to one embodiment of the present disclosure to obtain information about recommended foods (R) that are good to consume with the drug ingredients included in the prescription (P) and non-recommended foods (NR) (R) that are not good to consume or may cause side effects, based on prescription (P) information and a drug-food interaction database (122).

[0169] Referring to FIG. 8, the server (100) can obtain food information (F) corresponding to the identified drug component based on the drug-food interaction database (122).

[0170] The drug-food interaction database (122) is a set of information that structures and stores the interaction relationship between a specific drug and a specific food, and includes food-related data that affects the absorption rate, metabolism, efficacy, or side effects of the drug.

[0171] Examples include Micromedex's Drug-Food Interactions and the FDA's Drug Interaction Database, which can be used to automatically extract contraindicated or recommended foods based on drug ingredients, but are not limited to this.

[0172] The server (100) can obtain food information (F) including information on recommended foods that are good for the user to consume with the medicine and information on foods not recommended that may cause side effects, based on the identified medicine ingredients.

[0173] The identified drug components are the active ingredients of the medicine specified in the prescription (P), and serve as key criteria that influence the way they act in the body, metabolic pathways, and excretion characteristics. Examples include drug components such as 'acetaminophen' and 'warfarin,' and interactions with food can be analyzed based on these criteria, but are not limited to them.

[0174] Recommended food information refers to foods that are beneficial to consume together with medication to enhance its effectiveness or prevent side effects such as gastrointestinal disorders. Examples include orange juice, which aids absorption when taking iron supplements, and a mild, high-protein diet that promotes digestion when taking digestive enzymes, but are not limited to these cases.

[0175] Information on foods not recommended includes foods that may interfere with drug metabolism or cause side effects, such as interactions between vitamin K-rich spinach and grapefruit and some hyperlipidemia medications when taking warfarin. This is not limited to these.

[0176] The server (100) can obtain food information (F) including information on recommended foods that are good to consume with medicine and information on foods not recommended that may cause side effects, based on the user's health information and personal information (123).

[0177] FIG. 9 is a block diagram illustrating the operation of an electronic device (20) according to one embodiment of the present disclosure to obtain information about recommended foods (R) that are good to consume with the drug ingredients included in the prescription (P) and non-recommended foods (NR) (R) that are not good to consume or may cause side effects, based on prescription (P) information, health information and personal information (123).

[0178] Referring to Fig. 9, the health information may be information regarding the user's pulse rate, respiratory rate, body temperature, blood pressure, brain waves, etc.

[0179] In addition, it refers to information related to the user's overall health status, such as current diseases, constitution, allergies, dietary restrictions, and other medications being taken. For example, this includes the need for a low-salt diet for patients with hypertension and restrictions on sugar intake for patients with diabetes, and food information based on this may vary but is not limited to these.

[0180] Personal information includes personal characteristics such as the user's gender, age, weight, dietary preferences, and cultural background. For example, while it is possible to provide personalized food recommendations based on dietary habits in specific regions or for the elderly who require soft foods due to impaired swallowing function, it is not limited to these cases.

[0181] The above-described embodiments are explained as being implemented as the operation of a system composed of a user terminal, a server (100), and an affiliated institution terminal (30), but as described below, they can be implemented with only the operation of the user terminal.

[0182] FIG. 10 is a flowchart for explaining the operation of an electronic device (20) according to one embodiment of the present disclosure.

[0183] Referring to FIG. 10, the electronic device (20) can identify prescription (P) information based on information received through a communication interface (21) or a user interface (22) (S100).

[0184] The electronic device (20) can identify the drug components included in the identified prescription (P) information (S200).

[0185] More specifically, the electronic device (20) can identify text regarding prescription (P) information based on user input received through the user interface (22).

[0186] At this time, the user terminal can acquire an image of the prescription (P) through a camera and identify the prescription (P) information by identifying the text included in the acquired image of the prescription (P).

[0187] Prescription (P) information includes data such as patient name, drug name, dosage, and number of doses, and text identification can generally be performed using Optical Character Recognition (OCR) technology.

[0188] OCR (Optical Character Recognition) is a technology that automatically recognizes character data, such as letters or numbers, contained in images or scanned documents and converts it into digital text.

[0189] The basic operating principle of OCR consists of a process in which text-containing areas are first detected within an image, then individual characters within those areas are segmented to determine what each character is. Initially, it was primarily used to recognize standardized printed text in black-and-white documents input via scanners, but now it can recognize photos taken with smartphone cameras, handwriting, tables, and even signs or license plates within natural images.

[0190] The electronic device (20) can perform image preprocessing operations. This is a step of removing noise from the image and correcting tilted or dark backgrounds to facilitate character recognition.

[0191] The electronic device (20) can perform character recognition operations. In this process, an artificial intelligence-based algorithm is used to compare character patterns and predict what the corresponding character is.

[0192] The electronic device (20) can perform post-processing operations. It corrects incorrectly recognized characters or organizes them into natural text by understanding the context. Recently, a language model is used in this post-processing process, and a function to automatically correct to contextually appropriate words is also included.

[0193] OCR technology can be implemented not only through traditional pattern recognition methods but also through deep learning-based OCR methods. Representative models include CRNN (Convolutional Recurrent Neural Network), attention-based models, and Transformer-based recognition networks, which guarantee high recognition rates even for complex sentence structures or various fonts. In particular, when combined with Natural Language Processing (NLP) technology, it enables accurate text extraction that considers the meaning of the sentence.

[0194] In this case, the text may include information regarding the hospital name, medical institution name, patient name, medication prescription information, patient's disease information, etc., but is not limited thereto.

[0195] A camera is a component that converts visual information into digital images and is utilized to collect medical information recorded in paper documents. Examples include the built-in cameras of smartphones and lenses included in OCR scanners. However, it is not limited to these.

[0196] According to various embodiments, the present invention relates to a technology for accurately extracting character information by processing prescription images, and more specifically, to an electronic device (20) that combines a preprocessing technique and a character recognition model to ensure a high recognition rate even in environments with low resolution or lighting changes, and includes a multi-language recognition function capable of responding to prescription documents composed of multiple languages.

[0197] The electronic device (20) receives a prescription image input by a user and performs image preprocessing and character recognition algorithms to recognize text information within the image. In particular, the electronic device (20) applies an adaptive binarization technique to maintain recognition accuracy even in situations where image quality is low or there is distortion or lighting imbalance. This technique enhances the clarity of character outlines by dynamically performing pixel binarization according to local brightness changes in the image.

[0198] In addition, the electronic device (20) applies a proprietary noise removal filter developed in-house to remove noise contained in the image. This filter can effectively remove background noise while maintaining text outlines even in low-resolution images, thereby achieving a character extraction accuracy of over 98%. This was measured to be about 15% higher than the accuracy of the existing simple threshold-based processing technique.

[0199] The electronic device (20) utilizes a Convolutional Recurrent Neural Network (CRNN) model for character recognition. The CRNN is a deep learning model that combines a CNN-based visual feature extraction structure with an RNN-based sequence recognition structure, and can simultaneously learn the morphological features and sequential meanings of text included in prescription images.

[0200] Additionally, the electronic device (20) includes a multi-language optical character recognition (OCR) engine trained to automatically process prescriptions written in multiple languages. This engine simultaneously supports character systems such as Korean, English, and Japanese, and can achieve high universality and recognition rates for prescription documents from various countries by identifying the main language of the input prescription through an automatic language detection function and applying recognition weights optimized for that language.

[0201] As a result, the electronic device (20) implements a prescription character recognition system that is robust against various variables that may occur in a real medical environment, such as distortion, noise, low resolution, and multilingualism, and can contribute significantly to the digitization and automation of medical data by providing superior performance compared to existing OCR technology.

[0202] The electronic device (20) can identify prescription (P) information by identifying text included in the acquired prescription (P) image.

[0203] Prescription (P) information may include, but is not limited to, data such as patient name, drug name, dosage, and frequency of administration.

[0204] The electronic device (20) can obtain food information (F) based on the identified drug components (S300).

[0205] The electronic device (20) can input prescription (P) information into an artificial intelligence model (121) and obtain food information (F) corresponding to the drug ingredients included in the prescription (P) information based on the output value.

[0206] The electronic device (20) can input prescription (P) information into an artificial intelligence model (121) and obtain food information (F) corresponding to the drug ingredients included in the prescription (P) information based on the output value.

[0207] The artificial intelligence model (121) is an algorithmic system that performs prediction or classification of input values ​​based on data, and in the medical and food fields, it may be a model used for prediction of drug interactions or nutritional analysis.

[0208] Food information (F) may be data regarding interactions with the drug ingredients, effects of promoting or inhibiting absorption, foods to avoid when taking, etc.

[0209] Food information (F) may be information about recommended foods (R) that may have a positive effect on the body when consumed with the drug ingredients, or non-recommended foods (NR)(R) that may have a negative effect on the body or cause side effects when consumed with the drug ingredients.

[0210] In addition, food information (F) may include foods to be cautious of in relation to the user's medication, ingredients that may increase or decrease the effect of the drug, and advice regarding diet. For example, there are cases such as information that grapefruit may affect the metabolism of some hyperlipidemia drugs and restrictions on the intake of high-fat foods when taking isoniazid, and it may be used for personalized medication guidance, but is not limited to these.

[0211] For example, there are interactions between warfarin and green vegetables containing large amounts of vitamin K, and the control of dairy intake when taking calcium supplements, and it is used to provide medication guidelines based on the effect of specific foods on the efficacy of the drug.

[0212] The electronic device (20) can obtain food information (F) corresponding to the identified drug component based on the drug-food interaction database (122).

[0213] The drug-food interaction database (122) is a set of information that structures and stores the interaction relationship between a specific drug and a specific food, and includes food-related data that affects the absorption rate, metabolism, efficacy, or side effects of the drug.

[0214] Examples include Micromedex's Drug-Food Interactions and the FDA's Drug Interaction Database, which can be used to automatically extract contraindicated or recommended foods based on drug ingredients, but are not limited to this.

[0215] According to various embodiments, the present invention relates to a technology for constructing a database containing information on interactions between drugs and food, and providing customized food information to a user based thereon. More specifically, the invention relates to an electronic device (20) that creates and utilizes a dynamic database that includes food items reflecting regional characteristics, such as Korean food culture, and is continuously updated based on user feedback.

[0216] The electronic device (20) builds its own database to provide information on interactions between drugs and food, and the database is created by combining publicly available global interaction data and user feedback data. In this case, publicly available data refers to generally widely used drug interaction data such as Micromedex and DrugBank, and user feedback data refers to reactions, inconveniences, and food preference information experienced by actual users after taking drugs.

[0217] The electronic device (20) includes information in the database that reflects regional specificities, such as Korean food culture. For example, information on drug interactions regarding traditional foods such as kimchi, doenjang, cheonggukjang, and minari is included, which is an item that was not reflected in existing global databases. By adding items regarding these regional foods, the electronic device (20) can provide more realistic and culturally relevant information.

[0218] The electronic device (20) periodically updates data items based on user feedback to maintain the accuracy and up-to-dateness of the database. Specifically, it analyzes medication history, dietary diaries, adverse reaction records, etc. collected from the user to infer new interaction information and adds or modifies verified content in the database. Such updates can be performed automatically, for example, monthly or when a specific trigger occurs.

[0219] The database built and utilized by the electronic device (20) in this manner is based on global standard information, but is a hybrid interaction information set including local unique foods, and can be used as a base material for providing customized information to users.

[0220] In addition, the electronic device (20) can ensure data reliability and transparency by storing database update history, update cycle, and user-specific reflection records in a log format.

[0221] Consequently, the present invention can complement the limitations of global interaction data, enable the provision of customized food information by considering dietary habits that differ according to culture, and realize an evolutionary database system that reflects actual user experience.

[0222] The electronic device (20) can obtain food information (F) including information on recommended foods that are good to consume with the medicine and information on foods that may cause side effects, based on the identified medicine ingredients.

[0223] The identified drug components are the active ingredients of the medicine specified in the prescription (P), and serve as key criteria that influence the way they act in the body, metabolic pathways, and excretion characteristics. Examples include drug components such as 'acetaminophen' and 'warfarin,' and interactions with food can be analyzed based on these criteria, but are not limited to them.

[0224] Recommended food information refers to foods that are beneficial to consume together with medication to enhance its effectiveness or prevent side effects such as gastrointestinal disorders. Examples include orange juice, which aids absorption when taking iron supplements, and a mild, high-protein diet that promotes digestion when taking digestive enzymes, but are not limited to these cases.

[0225] Information on foods not recommended includes foods that may interfere with drug metabolism or cause side effects, such as interactions between vitamin K-rich spinach and grapefruit and some hyperlipidemia medications when taking warfarin. This is not limited to these.

[0226] According to various embodiments, if the ratio of antibiotics among the drug components included in the prescription (P) is greater than or equal to a preset first value, the electronic device (20) can identify as recommended food (R) information (F) a food containing yogurt, kimchi, soybean paste, fermented soybean paste, water parsley, broccoli, vitamins A, C, E, etc. that can protect liver function, which contains a certain amount of lactic acid bacteria, or a health functional food containing lactic acid bacteria or ingredients that can protect liver function.

[0227] And, the electronic device (20) can identify foods containing high fat, high sugar, alcohol, and caffeine as non-recommended foods (NR)(R) information (F) if the proportion of antibiotics among the drug ingredients included in the prescription (P) is greater than or equal to a preset first value.

[0228] The electronic device (20) can identify, among foods rich in lactic acid bacteria, foods with a moisture content above a certain level, such as kimchi, soybean paste, fermented soybean paste, water parsley, broccoli, etc., as recommended food (R) information (F) if the ratio of antibiotics among the drug ingredients included in the prescription (P) is greater than a preset second value (a value greater than the preset first value described above).

[0229] That is, according to the above-described embodiment, since antibiotics can cause digestive problems by destroying beneficial bacteria in the intestines, there is an effect of providing information on recommended foods (R) (F) that allow for sufficient intake of beneficial bacteria in the intestines and improve liver function. In cases where the proportion of antibiotics is significantly high, stews and soups that provide beneficial bacteria in the intestines and contain a lot of water can be identified as information on recommended foods (R) (F).

[0230] And, if the ratio of analgesics among the ingredients of the prescription (P) is greater than or equal to a preset third value, the electronic device (20) can identify information (F) of recommended foods (R) containing a certain amount or more of ingredients that can protect the stomach, such as cabbage, potatoes, sweet potatoes, bananas, broccoli, water parsley, garlic, onions, vitamins C, E, etc., which can improve liver function.

[0231] The electronic device (20) can identify foods, processed foods, and instant foods containing caffeine, alcohol, and fat in amounts greater than a certain amount as non-recommended foods (NR)(R) information (F) if the proportion of analgesics among the drug ingredients included in the prescription (P) is greater than or equal to a preset third value.

[0232] That is, according to the above-described embodiment, since painkillers can cause a burden on the stomach, liver, and kidneys, information (F) on recommended foods (R) that can improve stomach, liver, and kidney function can be provided.

[0233] The electronic device (20) can obtain food information (F) including information on recommended foods that are good to consume with medicine and information on foods not recommended that may cause side effects, based on the user's health information and personal information (123).

[0234] Health information may be information regarding the user's pulse rate, respiratory rate, body temperature, blood pressure, brain waves, etc.

[0235] In addition, it refers to information related to the user's overall health status, such as current diseases, constitution, allergies, dietary restrictions, and other medications being taken. For example, this includes the need for a low-salt diet for patients with hypertension and restrictions on sugar intake for patients with diabetes, and food information based on this may vary but is not limited to these.

[0236] Personal information includes personal characteristics such as the user's gender, age, weight, dietary preferences, and cultural background. For example, while it is possible to provide personalized food recommendations based on dietary habits in specific regions or for the elderly who require soft foods due to impaired swallowing function, it is not limited to these cases.

[0237] According to various embodiments, the electronic device (20) can perform OCR on an image of a prescription (P) as described above to identify text included in the prescription (P), identify a drug component corresponding to the identified text, or identify a drug component included in the prescription (P) based on user input through a user interface (22).

[0238] The electronic device (20) can input the identified drug ingredient into a food recommendation model and, based on the output value, obtain food information (F) including recommended foods (R) that have a positive effect on the body in terms of health and nutrition when consumed with the drug ingredient, and non-recommended foods (NR)(R) that may cause side effects when consumed with the drug ingredient. Here, the food information (F) may be information about food, beverages, ingredients, and health functional foods, but is not limited thereto.

[0239] In addition, the electronic device (20) may obtain food information (F) including recommended foods (R) that have a positive effect on the body in terms of health and nutrition when consumed with the identified drug ingredient by referring to the drug-food interaction database (122), and non-recommended foods (NR)(R) that may cause side effects when consumed with the drug ingredient.

[0240] And, the electronic device (20) can identify the number of different drug components included in the prescription (P). For example, the electronic device (20) can identify the number of drug components as two by identifying the drug component corresponding to the painkiller and the drug component corresponding to the antibiotic as different drug components.

[0241] The electronic device (20) can identify the number of drug components prescribed by the user through the prescription (P) for a certain period at each preset cycle.

[0242] If the number of drug ingredients is greater than or equal to a threshold value and the user's age is less than the threshold age, the electronic device (20) can obtain food information (F) in which the number of non-recommended foods (NR) (R) is greater than or equal to a first threshold multiple of the number of recommended foods (R). At this time, the number of foods may refer to the number of food items or the number of food types.

[0243] If the number of drug ingredients is greater than or equal to a threshold value and the user's age is greater than or equal to a threshold age, the electronic device (20) can obtain food information (F) in which the number of non-recommended foods (NR) (R) is greater than or equal to a second threshold multiple (a value greater than a first threshold multiple) than the number of recommended foods (R).

[0244] If the number of drug components is less than a threshold value, the electronic device (20) can obtain food information (F) containing more recommended foods (R) than non-recommended foods (NR) (R).

[0245] And, the electronic device (20) can identify the user's current age at each preset period and, if the user's current age is greater than the aforementioned threshold age, identify a second threshold multiple in proportion to the difference in magnitude between the user's current age and the threshold age.

[0246] In other words, the more ingredients in the prescribed medicine, the worse the physical condition and the more diseases the user is aware of; therefore, the purpose is to prioritize providing information on foods to be careful of regarding side effects (F) rather than recommended foods. In particular, since the health of elderly users may be more vulnerable, providing a larger amount of information on foods to be careful of (F) can be more helpful in promoting the user's health.

[0247] In addition, as the user ages, the value of the second threshold multiple is adjusted to gradually increase in proportion to age, so as to provide information on foods to avoid when the user is elderly.

[0248] According to the above embodiment, as the user's disease improves and the number of prescribed medication ingredients decreases, information on recommended foods (R) is naturally provided more than information on non-recommended foods (NR) (R), thereby promoting the user's health in daily life.

[0249] The electronic device (20) can provide the acquired food information (F) to the user by outputting it through the display (23) (S400).

[0250] FIG. 11 is a drawing for explaining a screen in which an electronic device (20), according to one embodiment of the present disclosure, outputs a list of vendors (M) selling recommended food for the drug ingredients included in the drug prescription information through a display (23) and provides it to a user.

[0251] FIG. 12 is a drawing for explaining a screen in which an electronic device (20), according to one embodiment of the present disclosure, outputs a list of sales outlets (M) that sell recommended health functional foods for the drug ingredients included in the drug prescription information through a display (23) and provides them to a user.

[0252] Referring to FIGS. 11 and 12, when the electronic device (20) receives a user input selecting at least one of the foods displayed (23) through the user interface (22) while food information (F) is being output through the display (23), it can provide the user with sales information of the selected food through the display (23).

[0253] Sales information may include data such as price, sales location, delivery options, and purchase links related to the selected food.

[0254] For example, sales information may include the name of the place selling the food, sales volume, review rating (review score), food, types of ingredients, names, etc.

[0255] In addition, the electronic device (20) can provide the user with an order button, a link to a store near the user's location, etc.

[0256] The electronic device (20) can provide the user with a list (M) of multiple sales outlets selling selected food products by outputting it through a display (23).

[0257] A list of multiple sales outlets (M) refers to a list of information on multiple stores or platforms that offer the same product, and may include items such as ‘Healthy Green Market Gangnam Branch’, ‘Organic Farm Store’, and ‘Vegan Select Hongdae Branch’, as illustrated in FIG. 11. It is not limited to these.

[0258] The electronic device (20) can provide a display order of multiple sales outlets in an arranged form based on evaluation scores and sales volume.

[0259] The evaluation score is a quantified satisfaction figure or score entered through user reviews, etc., and sales volume is an indicator of how much of the product has been sold over a certain period. For example, this may include a retailer with '4.9 reviews & 1,000 sales per month' positioned at the top and a retailer with '3.5 reviews & 50 sales per month' positioned at the bottom, but it is not limited to this.

[0260] The electronic device (20) can provide the list to the user by arranging the order of display of sales outlets so that sales outlets with higher evaluation scores and sales volumes are placed at the top of the list, and sales outlets with lower evaluation scores and sales volumes are placed at the bottom of the list.

[0261] This sorting method is part of UX design intended to provide intuitive criteria for users' purchasing decisions, and examples include, but are not limited to, 'sorting by bestseller' or 'listing from the most reputable retailers.'

[0262] In another embodiment, the electronic device (20) learns the user's previous purchase history and preferred product family, and can sort a list of retailers (M) based on retailer evaluation scores and sales volume data of a user group with a similar purchasing pattern to the user. Accordingly, a customized list optimized for the individual user's taste and purchasing habits can be provided, thereby increasing user satisfaction and purchasing efficiency.

[0263] The electronic device (20) can periodically update the evaluation score and sales volume data of each store displayed in the store list (M) to reflect the current trends and real-time popularity changes of the stores in the list rankings. This provides a convenient environment in which users can easily identify and select the most trendy and popular stores based on the latest information.

[0264] The electronic device (20) can collect information on evaluation scores and sales volumes for each of the multiple sales outlets and update the list of sales outlets (M) based on the collected evaluation scores and sales volumes for each of the multiple sales outlets at preset intervals.

[0265] At this time, the pre-set period refers to the time interval during which the system automatically repeats the process, and may be, for example, updated once a day or every hour, but is not limited to this.

[0266] List updates refer to the process of reordering or applying changes to an existing list of vendors to reflect new information. For example, this may include, but is not limited to, dynamic changes such as the addition of new vendors or vendors with rapidly increasing sales volume moving to the top.

[0267] The electronic device (20) can obtain information about the sales outlet selected by the user for purchase.

[0268] Information regarding the selected vendor may refer to identifiers, location information, vendor names, etc., of the vendor where the user clicked to purchase a specific product or added it to their shopping cart. For example, this includes the store name or URL of an online shopping mall selling specific health supplements. It is not limited to these examples.

[0269] The electronic device (20) can obtain the user's purchase history database (125) based on the acquired sales location information.

[0270] The purchase history database (125) refers to data that systematically stores records related to products and vendors that the user has previously selected or purchased. For example, there may be records of health food purchases, a list of foods consumed with medicine, etc., but it is not limited to these.

[0271] FIG. 13 is a diagram illustrating the operation of an electronic device (20) according to one embodiment of the present disclosure, in which a user’s food item (T) is input into a sales outlet recommendation model (124) learned based on the user’s purchase history to obtain a list of sales outlets (M) corresponding to the food item (T).

[0272] Referring to FIG. 13, the electronic device (20) can learn a sales location recommendation model (124) based on a purchase history database (125).

[0273] Specifically, the electronic device (20) can learn a sales location recommendation model (124) based on food items (T) included in the purchase history and information on sales locations selling the food items (T).

[0274] The store recommendation model (124) may be an artificial intelligence-based algorithm, an artificial intelligence model (121), or a deep learning model that analyzes the user's past purchasing patterns to predict the store likely to be preferred in the future. For example, there may be a Collaborative Filtering model or a Content-based Filtering model, but it is not limited to these.

[0275] The electronic device (20) can identify a food item (T) selected by a user input through a user interface (22), input the food item (T) into a sales location recommendation model (124), and obtain a recommended sales location list (M) based on the output value.

[0276] When the electronic device (20) receives user input selecting at least one food among the recommended food (R) information (F) through the user interface (22), it can identify the selected food included in the recommended food (R) information (F).

[0277] The electronic device (20) can input the identified selected food into the sales location recommendation model (124) and identify recommended sales locations corresponding to the selected food based on the output value.

[0278] The electronic device (20) can generate a list of sales outlets (M) consisting of identified recommended sales outlets.

[0279] According to various embodiments, the present invention relates to a technology for recommending an optimal sales location based on a user's purchase history, preferences, regional information, etc. More specifically, it relates to an electronic device (20) capable of providing a user with high accuracy customized sales location information by applying a hybrid recommendation model that combines collaborative filtering and content-based filtering.

[0280] The electronic device (20) collects the user's past purchase history data and performs content-based filtering by analyzing product attribute information related to the history. Content-based filtering is a method of recommending items with attributes similar to items the user has preferred or purchased in the past, and can provide recommendation results optimized for the user's individual preferences.

[0281] At the same time, the electronic device (20) performs collaborative filtering by cross-analyzing the evaluations and behavioral data of multiple users. Collaborative filtering is a method of predicting items that a specific user has not yet encountered based on the behavior of a group of users showing similar preferences, and can be usefully utilized even when personal data is scarce.

[0282] The electronic device (20) applies a hybrid recommendation model that combines the two filtering techniques. The hybrid model can simultaneously ensure accuracy and diversity of recommendations by combining the advantages of collaborative filtering and content-based filtering. In this case, the recommendation result is calculated by a weighted sum of the two filtering results, or the priority can be adjusted differently depending on the situation.

[0283] In addition, the electronic device (20) also considers user location information to increase the precision of the recommendation. Based on the user's current location, it calculates distance information to the sales outlets that are the target of the recommendation, and, for example, assigns additional weights to sales outlets within a radius of 5 km. Through this, sales outlets that are practically accessible to the user can be recommended first, and the accuracy of the recommendation can be improved by more than 30% compared to the existing method.

[0284] As a result, the electronic device (20) can significantly improve the quality of personalized recommendations for each user by utilizing a combined structure of collaborative filtering and content-based filtering and applying region-based weights thereto. This can contribute to improving the user experience and increasing the purchase conversion rate, especially in an integrated online and offline distribution environment.

[0285] FIG. 14 is a drawing for explaining a screen in which an electronic device (20) outputs a list of recommended sales outlets (M) through a display (23) and provides it to a user, according to one embodiment of the present disclosure.

[0286] Referring to FIG. 14, the electronic device (20) can provide the generated sales outlet list (M) to the user by outputting it through the display (23).

[0287] Based on the user's purchase history, the list of vendors may be positioned at the top if the user has a high number of purchases or high spending on purchases during a pre-set period, and at the bottom if the user has a low number of purchases or low spending on purchases, but is not limited to this.

[0288] According to various embodiments, the present invention relates to a technology that integrates public data, private data, and user data in a welfare card system and optimizes the provision of welfare services based thereon. In particular, the present invention relates to an electronic device (20) that clarifies the data flow structure of a welfare card system and provides customized welfare benefits to users through data linkage with various affiliated institutions.

[0289] The electronic device (20) links and analyzes public welfare information, private medical and pharmacy information, and individual user health data. Public data includes, for example, welfare eligibility information and benefit history provided by the National Health Insurance Service, Bokjiro, and the Social Security Information System. Private data may be collected from internal systems of medical institutions and pharmacies, such as prescription history from pharmacies, medical records from hospitals, and health checkup results. User data includes health-related information (e.g., heart rate, activity level, etc.) collected through mobile terminals or wearable devices.

[0290] The electronic device (20) comprises an application programming interface (API) for integrating the data, and the API is designed to process data flow between public institutions, private institutions, and user terminals in a standardized manner. Specifically, an authentication procedure is performed for each data source, and after being converted into JSON or XML-based structured data, it is merged into an internal integrated storage.

[0291] The electronic device (20) applies the international standard HL7 FHIR (Fast Healthcare Interoperability Resources) protocol for data interoperability with medical institutions or welfare institutions. FHIR is a structure for transmitting and receiving medical data in a standardized form in a digital environment, and in the present invention, real-time interoperability with hospitals, pharmacies, welfare institutions, etc. is performed through the said standard. For example, medical records provided by a hospital are structured through FHIR’s Observation, MedicationStatement, and DiagnosticReport resources and connected to the welfare card system.

[0292] The electronic device (20) comprehensively analyzes linked information to provide customized welfare benefits to the user. For example, it determines eligibility for medication support services based on prescription data from pharmacies, evaluates welfare eligibility requirements based on public data, and selects candidates for exercise aids or rehabilitation services based on health data collected from wearable devices.

[0293] As a result, the electronic device (20) can provide advanced customized welfare services in real time through the integrated processing of public, private, and user data and inter-agency data linkage based on the HL7 FHIR standard, and can effectively resolve the inefficiency and disconnection issues of the existing welfare service system.

[0294] Meanwhile, the various embodiments described above may be implemented by combining two or more embodiments, provided that they do not conflict or contradict each other.

[0295] Specifically, each of the multiple operations, steps, and configurations for implementing one embodiment may be embodied in another embodiment, or the operations and steps of another embodiment may be followed by the last operation or step of one embodiment, but are not limited thereto.

[0296] Meanwhile, computer instructions or computer programs for performing processing operations in the various embodiments of the present disclosure described above may be stored in a non-transitory computer-readable medium. When such computer instructions or computer programs stored in the non-transitory computer-readable medium are executed by a processor of a specific device, the specific device described above performs processing operations according to the various embodiments described above.

[0297] A non-transient computer-readable medium refers to a medium that stores data semi-permanently and can be read by a device, unlike media that store data for a short period of time such as registers, caches, and memory. Specific examples of non-transient computer-readable media include CDs, DVDs, hard disks, Blu-ray discs, USBs, memory cards, and ROMs.

[0298] According to one embodiment, the method according to the various embodiments 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 distributed online (e.g., download or upload) through an application store (e.g., Play Store™) or directly between two user devices (e.g., smartphones). In the case of online distribution, at least a portion of the computer program product (e.g., downloadable app) 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.

[0299] Although preferred embodiments of the present disclosure have been illustrated and described above, the present disclosure is not limited to the specific embodiments described above. It is understood that various modifications can be made by those skilled in the art without departing from the essence of the present disclosure as claimed in the claims, and such modifications should not be understood individually from the technical spirit or perspective of the present disclosure.

Claims

1. An electronic device for providing customized services for medication prescriptions linked to an AI Green Welfare Card system based on the collection and provision of user data, A user interface that receives user input; A communication interface that establishes a communication connection with a server; A display that outputs visual content; A processor connected to the user interface, the communication interface, and the display, and performing a control operation by executing at least one instruction; The above processor is, Identifying prescription information based on information received through the communication interface or the user interface, and Identify the drug ingredients included in the above-mentioned identified prescription information, and Based on the above-mentioned identified drug components, food information is obtained, and An electronic device that outputs the above-mentioned acquired food information through the above-mentioned display and provides it to the user.

2. In Paragraph 1, The above processor is, Acquire a prescription image through a camera, and The above-mentioned acquired prescription image is preprocessed, and An electronic device that identifies prescription information by identifying text included in the above-mentioned preprocessed prescription image using an OCR technique.

3. In Paragraph 1, The above processor is, Based on the output value obtained by inputting the above prescription information into an artificial intelligence model, food information corresponding to the drug ingredients included in the above prescription information is obtained, and The above artificial intelligence model is an electronic device that has been trained using prescription information and drug ingredients as training data.

4. In Paragraph 1, The above processor is, An electronic device that obtains food information corresponding to the identified drug component based on a drug-food interaction database.

5. In Paragraph 1, The above processor is, An electronic device that obtains food information including information on recommended foods that are good for a user to consume with the medicine and information on foods that are not recommended for a user to consume with the medicine, based on the identified medicine ingredients.

6. In Paragraph 1, The above processor is, An electronic device that acquires food information including information on recommended foods that are good to consume with medicine and information on foods that are not recommended to consume with medicine, based on the user's health information and personal information.

7. In Paragraph 1, The above processor is, An electronic device that, when a user input is received selecting at least one of the displayed foods through the user interface while food information is being output through the display, outputs sales information of the selected food through the display and provides it to the user.

8. In Paragraph 7, The above processor is, A list of multiple vendors selling the selected food is output through the display and provided to the user, and The above list is, An electronic device in which the display order of the above multiple sales outlets is arranged based on evaluation scores and sales volume.

9. In Paragraph 8, The above processor is, An electronic device that arranges the display order of a plurality of sales outlets such that sales outlets with higher evaluation scores and sales volumes are positioned at the top of the list, and sales outlets with lower evaluation scores and sales volumes are positioned at the bottom of the list, and outputs the list through the display to provide it to a user.

10. In Paragraph 9, The above processor is, An electronic device that collects information on evaluation scores and sales volumes for each of the plurality of sales outlets and updates a list including the plurality of sales outlets at predetermined intervals based on the information on evaluation scores and sales volumes collected for each of the plurality of sales outlets.

11. In Paragraph 1, The above processor is, Obtain information about the seller selected by the user for purchase, and Based on the information regarding the sales outlets obtained above, the user's purchase history database is obtained, and An electronic device that learns a sales outlet recommendation model based on the above purchase history database.

12. In Paragraph 11, The above processor is, When user input is received to select at least one food among the recommended food information through the above user interface, the selected food included in the recommended food information is identified, and The above-mentioned identified selected food is input into the above-mentioned sales outlet recommendation model, and based on the output value, recommended sales outlets corresponding to the above-mentioned selected food are identified. Generate a list of sales outlets consisting of the above-identified recommended sales outlets, and An electronic device that outputs the generated list of sales outlets through the display and provides it to the user.

13. A method of operation of a system for providing customized services for medication prescriptions in conjunction with an AI Green Welfare Card system based on the collection and provision of user data, An operation in which a server identifies prescription information based on information received from an external device or user terminal; The operation of the above server identifying the drug components included in the above-identified prescription information; The operation of the above server obtaining food information based on the identified drug ingredients; The operation of the above server transmitting the acquired food information to a user terminal; and A method of operation comprising: the operation of the user terminal outputting food information received from the server and providing it to the user.

14. A control method for a system for providing customized services for drug prescriptions linked to an AI Green Welfare Card system based on the collection and provision of user data, A step in which a user terminal acquires a prescription image through a camera; A step in which the user terminal identifies the text of the prescription image using adaptive binarization and CRNN-based OCR technology to extract prescription information; The step of the user terminal transmitting the prescription information to the server; A step in which the server identifies the drug components included in the prescription information; A step in which the server obtains information on recommended and non-recommended foods corresponding to the drug ingredients through a drug-food interaction database containing Korean food data and a Transformer-based AI model; A step in which the server generates a list of retailers for the recommended food through a hybrid recommendation model that has learned the user's purchase history; The step of the server transmitting the food information and the list of sales outlets to the user terminal; and A control method comprising the step of the user terminal outputting the food information and sales location list through a display.