Electronic device and management method thereof
The electronic device integrates and normalizes usage histories from multiple applications to generate a database, addressing inefficiencies in managing diverse data sources and enhancing query response accuracy and efficiency.
Patent Information
- Application Number
- PCT/KR2025/008503
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2024-08-05
- Filing Date
- 2025-06-19
- Publication Date
- 2026-02-12
AI Technical Summary
Existing electronic devices struggle to efficiently integrate and manage diverse usage histories from multiple applications to provide accurate and efficient response information to user queries.
An electronic device integrates usage histories from multiple applications, collects correlation information, and generates a database to obtain response information corresponding to user inputs, utilizing a processor and storage device to manage and normalize data.
Enhances computational efficiency and accuracy in providing response information by integrating and normalizing data from various applications, improving the device's ability to handle user queries effectively.
Smart Images

Figure KR2025008503_12022026_PF_FP_ABST
Abstract
Description
Electronic devices and methods of managing them
[0001] The present disclosure relates to an electronic device for obtaining response information using a database and a method for managing the database by the electronic device.
[0002] Advances in electronic technology have enabled the use of various types of electronic devices in our daily lives. Among these devices are those that utilize databases to provide response information.
[0003] For example, when a user enters a query, there may be an electronic device that uses a database to provide a response to the user.
[0004] A database can mean a system that systematically stores and manages data.
[0005] According to at least one embodiment of the present disclosure, an electronic device includes a storage device and a processor. The processor collects a plurality of usage histories stored in a plurality of applications, obtains correlation information between the plurality of usage histories, integrates at least one of the plurality of usage histories based on the correlation information to obtain a database (DB), and obtains response information corresponding to a user input using the database.
[0006] In addition, according to at least one embodiment of the present disclosure, a method for an electronic device to manage a database may include a step of collecting a plurality of usage histories stored in a plurality of applications, a step of obtaining correlation information between the plurality of usage histories, a step of integrating at least one usage history among the plurality of usage histories based on the correlation information to obtain a database (DB), and a step of obtaining response information corresponding to a user input using the database.
[0007] In addition, a non-transitory readable recording medium according to at least one embodiment of the present disclosure stores a program for performing a database management method of an electronic device, the method including the steps of collecting a plurality of usage histories stored in a plurality of applications, obtaining correlation information between the plurality of usage histories, integrating at least one usage history among the plurality of usage histories based on the correlation information to obtain a database (DB), and obtaining response information corresponding to a user input using the database.
[0008] FIG. 1 is a drawing for explaining the operation of an electronic device according to at least one embodiment of the present disclosure.
[0009] FIG. 2 is a block diagram illustrating a configuration of an electronic device according to at least one embodiment of the present disclosure.
[0010] FIG. 3 is a detailed block diagram illustrating an electronic device according to at least one embodiment of the present disclosure.
[0011] FIG. 4 is a diagram illustrating an operation of an electronic device generating a database according to at least one embodiment of the present disclosure.
[0012] FIG. 5 is a drawing for explaining the operation of an electronic device according to at least one embodiment of the present disclosure.
[0013] FIG. 6 is a diagram illustrating an operation of an electronic device according to at least one embodiment of the present disclosure to load constraints into a memory.
[0014] FIG. 7 is a diagram illustrating an operation of an electronic device normalizing data according to at least one embodiment of the present disclosure.
[0015] FIG. 8 is a drawing for explaining the operation of an electronic device according to at least one embodiment of the present disclosure.
[0016] FIG. 9 is a drawing for explaining the operation of an electronic device according to at least one embodiment of the present disclosure.
[0017] FIG. 10 is a flowchart illustrating a method for managing a database by an electronic device according to at least one embodiment of the present disclosure.
[0018] The terms used in the various embodiments of this disclosure have been selected from widely used, current terms, taking into account the functions of this disclosure. However, these terms may vary depending on the intentions of those skilled in the art, precedents, the emergence of new technologies, etc. Furthermore, in certain cases, terms may be arbitrarily selected by the applicant, and in such cases, their meanings will be described in detail in the description of the relevant disclosure. Therefore, the terms used in this disclosure should be defined based on the meaning of the terms and the overall content of this disclosure, rather than simply their names.
[0019] It should be understood that the various embodiments of the present disclosure and the terminology used therein are not intended to limit the technical features described in the present disclosure to specific embodiments, but include various modifications, equivalents, or substitutes of the embodiments.
[0020] In connection with the description of the drawings, similar reference numerals may be used for similar or related components.
[0021] The singular form of a noun corresponding to an item may include one or more of said items, unless the relevant context clearly indicates otherwise.
[0022] In this disclosure, each of the phrases "A or B", "at least one of A and B", "at least one of A or B", "A, B, or C", "at least one of A, B, and C", and "at least one of A, B, or C" may include any one of the items listed together in the corresponding phrase, or all possible combinations thereof.
[0023] Terms such as "first," "second," or "first" or "second" may be used simply to distinguish one component from another and do not qualify the components in any other respect (e.g., importance or order).
[0024] When a component (e.g., a first component) is referred to as being “coupled” or “connected” to another component (e.g., a second component), with or without the terms “functionally” or “communicatively,” it means that the component can be connected to the other component directly (e.g., wired), wirelessly, or through a third component.
[0025] Terms such as "include" or "have" are intended to specify the presence of a feature, number, step, operation, component, part or combination thereof described in the present disclosure, but do not preclude the presence or addition of one or more other features, numbers, steps, operations, components, parts or combinations thereof.
[0026] When a component is said to be “connected,” “coupled,” “supported,” or “in contact with” another component, this includes not only cases where the components are directly connected, coupled, supported, or in contact, but also cases where the components are indirectly connected, coupled, supported, or in contact through a third component.
[0027] When we say that a component is "on" another component, this includes not only cases where the component is in contact with the other component, but also cases where there is another component between the two components.
[0028] According to one embodiment, the electronic device may include a control unit for controlling the electronic device.
[0029] The "control unit" may include a memory that stores or memorizes a program and / or data for controlling an electronic device, and a processor that outputs a control signal for controlling a cooling device, etc., according to the program and / or data stored in the memory.
[0030] Memory stores or records various information, data, commands, programs, etc. required for the operation of an electronic device. Memory can store temporary data generated during the generation of control signals for controlling components included in the electronic device. Memory may include at least one of volatile memory and nonvolatile memory, or a combination thereof.
[0031] The processor controls the overall operation of the electronic device. The processor can control components of the electronic device by executing programs stored in memory. The processor may include a separate NPU that performs the operations of an artificial intelligence model. The processor may also include a central processing unit (CPU), a graphics processing unit (GPU), and the like. The processor may generate control signals to control the operation of the cooling system. For example, the processor may generate control signals to control the operation of obtaining correlation information based on multiple collected usage histories and obtaining a database based on the correlation information.
[0032] Additionally, the processor can process user input of the user interface and control the operation of the user interface based on programs and / or data stored / stored in memory. The user interface can be provided using an input interface and an output interface. The processor can receive user input from the user interface.
[0033] The processor and memory may be provided as a single unit or separately. The processor may include one or more processors. For example, the processor may include a main processor and at least one subprocessor. The memory may include one or more memories.
[0034] According to one embodiment, an electronic device may include a processor and memory that control all components included in the electronic device, and may include multiple processors and multiple memories that individually control the components of the electronic device. For example, the electronic device may include a processor and memory that control an operation of obtaining response information corresponding to a user input using a database. Additionally, the electronic device may separately include a processor and memory that control the operation of a user interface in response to a user input.
[0035] The communication module can communicate with external devices, such as servers, mobile devices, and other home appliances, via a nearby access point (AP). The AP can connect the local area network (LAN) where the electronic device or user device is connected to the wide area network (WAN) where the server is connected. The electronic device or user device can then connect to the server via the wide area network (WAN).
[0036] The input interface may include keys, a touchscreen, a microphone, etc. The input interface may receive user input and transmit it to the processor.
[0037] The output interface may include a display, a speaker, etc. The output interface may output various notifications, messages, information, etc. generated by the processor.
[0038] The term "and / or" includes any combination of a plurality of related described elements or any one of a plurality of related described elements.
[0039] In the present disclosure, a "module" or "part" performs at least one function or operation and may be implemented in hardware or software, or a combination of hardware and software. Furthermore, multiple "modules" or multiple "parts" may be integrated into at least one module and implemented as at least one processor, excluding any "modules" or "parts" that need to be implemented as specific hardware.
[0040] Meanwhile, the various elements and areas in the drawings are schematically drawn. Therefore, the technical concept of the present invention is not limited by the relative sizes or spacing depicted in the attached drawings.
[0041] In this disclosure, the term user may refer to a person using an electronic device or a device using an electronic device (e.g., an artificial intelligence electronic device).
[0042] An embodiment of the present disclosure will be described in more detail with reference to the attached drawings below.
[0043] FIG. 1 is a drawing for explaining the operation of an electronic device according to at least one embodiment of the present disclosure.
[0044] Referring to FIG. 1, when an electronic device (100) receives a query from a user (1), it can obtain response information corresponding to the user input using a database and provide the information to the user (1).
[0045] An electronic device (100) according to one embodiment can acquire a database (DB) by integrating usage histories stored in multiple applications and provide response information to a user using the acquired database.
[0046] Here, "usage history" can include various types of information stored in each application. For example, a messaging application may include various information based on received messages, such as payment details, shipping information, and information about the people with whom the message was exchanged.
[0047] Here, the concept of "Query" may be related to a command or request entered to obtain desired data from a database, and may also be expressed as user input, input, command, request information, query information, or query.
[0048] Here, "Response" may be a concept related to the result that the database converts in response to a query entered by the user into the database, and may also be expressed as response information, result value, result information, output, or result set.
[0049] Here, "database" may refer to a concept related to a collection or set of data that can electronically store and manage various types of data.
[0050] Meanwhile, the database may include, but is not limited to, a relational database (RDB), a key-value database (KEY-VALUE DATABASE), a document-oriented database (DODB), a column-oriented database (COLUMN-FAMILY DATABASE), a graph database (GRAPH DATABASE), a multidimensional database (MDB), a time series database (TIME SERIES DATABASE), or an object-oriented database (OBD).
[0051] For example, a graph database is a type of database that represents data as nodes and edges, where nodes contain entities (e.g., usage history), and edges contain relationships between nodes (e.g., correlations between usage histories).
[0052] An electronic device may store separate databases for each of multiple applications, or, as in the electronic device (100) according to one embodiment, may integrate multiple databases to store data in the form of a single database. A specific example of integrating multiple databases to obtain a single database will be described in detail in FIG. 4.
[0053] In FIG. 1, the electronic device (100) is illustrated as a mobile phone, but is not limited thereto, and the electronic device (100) may be implemented as various types of electronic devices such as a TV, a laptop, a monitor, a kiosk, a tablet PC, a smartphone, a user terminal, an electronic picture frame, a large format display (LFD), a digital signage, a digital information display (DID), a video wall, a projector display, a server device, etc.
[0054] FIG. 2 is a block diagram illustrating a configuration of an electronic device according to at least one embodiment of the present disclosure.
[0055] Referring to FIG. 2, the electronic device (100) includes a storage device (110) and a processor (120).
[0056] According to an embodiment, the storage device (110) may store data required for various embodiments of the present disclosure. For example, the electronic device (100) may integrate various types of data and store them in the storage device (110) in the form of a single database (DB).
[0057] The storage device (110) may be implemented in the form of a storage device embedded in the electronic device (100) or may be implemented in the form of a storage device that can be detachably attached to the electronic device (100) depending on the purpose of data storage. The storage device (110) may also be expressed as a memory, a storage unit, or storage.
[0058] For example, data for driving an electronic device (100) may be stored in a storage device embedded in the electronic device (100), and data for extended functions of the electronic device (100) may be stored in a storage device that is detachable from the electronic device (100).
[0059] In the case of a storage device embedded in an electronic device (100), it may be implemented in the form of a volatile memory (e.g., dynamic RAM (DRAM), static RAM (SRAM), or synchronous dynamic RAM (SDRAM)), a non-volatile memory (e.g., one time programmable ROM (OTPROM), programmable ROM (PROM), erasable and programmable ROM (EPROM), electrically erasable and programmable ROM (EEPROM), mask ROM, flash ROM, flash memory (e.g., NAND flash or NOR flash), a hard drive, or a solid state drive (SSD)).
[0060] In the case of a storage device that can be attached to an electronic device (100), it can be implemented in the form of a memory card (e.g., CF (compact flash), SD (secure digital), Micro-SD (micro secure digital), Mini-SD (mini secure digital), xD (extreme digital), MMC (multi-media card), etc.), an external memory that can be connected to a USB port (e.g., USB memory), etc.
[0061] According to an embodiment, the storage device (110) may store a computer program including at least one instruction or instructions for controlling the electronic device (100).
[0062] A processor (120) according to an embodiment controls the overall operation of the electronic device (100). Specifically, the processor (120) is connected to each component of the electronic device (100) and can control the overall operation of the electronic device (100).
[0063] The processor (120) can perform operations of the electronic device (100) according to various embodiments by executing at least one instruction stored in the storage device (110).
[0064] According to an embodiment, the processor (120) may be implemented as a digital signal processor (DSP), a microprocessor, or a timing controller (TCON) that processes digital signals. However, the present invention is not limited thereto, and may include one or more of a central processing unit (CPU), a micro controller unit (MCU), a micro processing unit (MPU), a controller, an application processor (AP), a communication processor (CP), an ARM processor, or an artificial intelligence (AI) processor, or may be defined by the relevant terms. In addition, the processor (120) may be implemented as a system on chip (SoC) having a built-in processing algorithm, a large scale integration (LSI), or may be implemented in the form of a field programmable gate array (FPGA). The processor (120) may perform various functions by executing computer executable instructions stored in a memory.
[0065] The processor (120) may include one or more of a CPU (Central Processing Unit), a GPU (Graphics Processing Unit), an APU (Accelerated Processing Unit), a MIC (Many Integrated Core), a DSP (Digital Signal Processor), an NPU (Neural Processing Unit), a hardware accelerator, or a machine learning accelerator.
[0066] The processor (120) may control one or any combination of other components of the electronic device and may perform operations related to communication or data processing. The processor (120) may execute one or more programs or instructions stored in a storage device. For example, the processor (120) may perform a method according to an embodiment of the present disclosure by executing one or more instructions stored in a memory.
[0067] When a method according to an embodiment of the present disclosure includes multiple operations, the multiple operations may be performed by one processor or by multiple processors.
[0068] For example, when the first operation, the second operation, and the third operation are performed by the method according to the embodiment, the first operation, the second operation, and the third operation may all be performed by the first processor, or the first operation and the second operation may be performed by the first processor (e.g., a general-purpose processor) and the third operation may be performed by the second processor (e.g., an artificial intelligence-only processor).
[0069] The processor (120) may be implemented as a single core processor including one core, or may be implemented as one or more multicore processors including multiple cores (e.g., homogeneous multicores or heterogeneous multicores).
[0070] When the processor (120) is implemented as a multi-core processor, each of the plurality of cores included in the multi-core processor may include internal processor memory such as cache memory and on-chip memory, and a common cache shared by the plurality of cores may be included in the multi-core processor.
[0071] Each of the plurality of cores (or some of the plurality of cores) included in the multi-core processor may independently read and execute a program instruction for implementing a method according to an embodiment of the present disclosure, or all (or some) of the plurality of cores may be linked to read and execute a program instruction for implementing a method according to an embodiment of the present disclosure.
[0072] According to one embodiment of the present disclosure, the processor (120) can collect multiple usage histories stored in multiple applications and obtain correlation information between the multiple usage histories.
[0073] Here, the “correlation information” may include information indicating a correlation between the plurality of usage histories by comparing the time at which the plurality of applications acquired each of the plurality of usage histories, the location at which the applications acquired each of the plurality of usage histories, and at least one of text data and pixel data included in each of the plurality of usage histories.
[0074] According to one embodiment of the present disclosure, the processor (120) can acquire a database (DB) by integrating at least one usage history among a plurality of usage histories based on correlation information.
[0075] For example, the processor (120) can integrate information about the user's travel history and store it as a single data bundle based on information stored in a message application, a calendar application, and a gallery (photo album) application.
[0076] Specifically, if the itinerary for a Jeju Island trip from '24.3.1' to '24.3.4' is stored in the calendar app of the electronic device (100), the data stored in the message app and gallery app during that period can be searched to integrate and store information on places and times visited, amounts spent, etc. during the trip.
[0077] According to one embodiment of the present disclosure, the processor (120) can obtain response information corresponding to user input using a database.
[0078] For example, if a user inputs a query such as “When and where did I eat dakgalbi during my trip to Jeju Island” into the electronic device (100), the electronic device (100) may search the data in the database and provide the user with a response such as “I ate dakgalbi at AA dakgalbi restaurant in Aewol-eup on 24.3.3.”
[0079] FIG. 3 is a detailed block diagram illustrating an electronic device according to at least one embodiment of the present disclosure.
[0080] Referring to FIG. 3, an electronic device (100) according to an embodiment of the present disclosure may include a storage device (110), a processor (120), and an input interface (130). The storage device (110) may store multiple applications and may include a first memory (112) and a second memory (113). The input interface (130) may include a microphone (131) and a display (132). Parts that overlap with the above description will be omitted or abbreviated for brevity.
[0081] The application can store records of activities or tasks performed by the user using the electronic device (100) in various forms of data.
[0082] For example, an application may contain usage history information, such as login and logout times, data accessed, commands executed, and settings changed. This usage history can be used for various purposes, such as analyzing user behavior and lifestyle patterns.
[0083] Applications can store various types of data in databases. For example, a messaging app and a calendar app might each store separate databases.
[0084] The first memory (112) may include non-volatile memory capable of retaining data even when power is cut off. Since non-volatile memory can retain data even when power is turned off, it can also be used for data storage and backup purposes.
[0085] The second memory (113) may include volatile memory that can store data only while power is supplied. Since volatile memory has a fast data access speed, data requiring increased computational speed may be stored in volatile memory.
[0086] For example, the electronic device (100) may improve the operation speed for constraints in an activated state by loading at least one constraint set to an activated state among a plurality of constraints stored in the first memory (112) into the second memory (113).
[0087] For example, if the electronic device (100) has axioms in an inactive state and axioms in an activated state stored in the first memory (112), the electronic device (100) can load the axioms in an activated state among the axioms in the first memory (112) into the second memory (113).
[0088] The electronic device (100) can store data for constraints including an axiom or rule in an activated state, unit information for which processing has not been completed, a hash function required for indexing, and a hash table in the second memory (113).
[0089] Here, "Constraint" may include rules or restrictions applied to ensure data integrity in a database. Alternatively, it may include rules or restrictions implemented to obtain response information from the database.
[0090] Here, "axioms" can include unit information that has an activated state. For example, activated axioms perform the same function as general unit information and can be subject to rules. Furthermore, inactive axioms are not utilized as unit information and thus may be excluded from rule application.
[0091] Here, a "rule" may include a collection of unit information to be generated when all terms consisting of inference conditions or predefined query expressions consisting of unit information are true.
[0092] Here, "Unit of Information" may refer to a basic unit of information that constitutes data in a database. Alternatively, a unit of information may be expressed as a token, a text unit that carries meaning in the data. A specific example of an electronic device (100) acquiring multiple tokens is described in detail in FIG. 7.
[0093] Here, the term "hash function" may include a function that converts input data into a fixed-size hash value (or hash code). The term "hash table" may include a data structure that stores and retrieves data using a hash function.
[0094] The input interface (130) may include any type of user input means, including buttons, switches, a touch screen, and / or a touch pad. A user may directly input a query (e.g., query information related to user information) through the input interface.
[0095] The microphone (131) is a component that acquires an audio signal and converts it into an electrical signal, and can receive an audio signal including a user's voice. At this time, the user's voice may include information about a query to be entered into a database.
[0096] For example, a user may input a query into the electronic device (100) through a microphone (131) such as "Who did I eat what with yesterday?"
[0097] The display (132) can receive information from a user regarding a query to be entered into a database. For example, the display (132) can include an input device (or input module), such as a touch panel or touch screen, and can receive user input through the input device.
[0098] Additionally, the display (132) can display response information corresponding to the user input. However, this is not limited thereto, and the response information corresponding to the user input may also be output in the form of a voice signal through a speaker.
[0099] Meanwhile, the electronic device (100) may include a communication unit (not shown) and an output interface (not shown).
[0100] The communication unit may be connected to an external device based on a network implemented via wired and / or wireless communication. The communication unit may be directly connected to the external device, but may also be connected to the external device via one or more external servers (e.g., an Internet Service Provider (ISP)) that provide the network. Furthermore, the communication unit may be connected to the external device via at least one relay device.
[0101] The communication unit is a component configured to communicate with various types of electronic devices. Specifically, the communication unit can communicate with a server device, an external device, or a user terminal device.
[0102] The communication unit may include at least one wireless communication module, at least one wired communication module, etc. Each communication module may be implemented in the form of at least one hardware chip. For example, the wireless communication module may include at least one module selected from the group consisting of a Wi-Fi module, a Bluetooth module, an infrared communication module, and other communication modules. In addition, the communication unit may include at least one communication chip that performs communication according to various wireless communication standards, such as Zigbee, 3G (3rd Generation), 3GPP (3rd Generation Partnership Project), LTE (Long Term Evolution), LTE-A (LTE Advanced), 4G (4th Generation), and 5G (5th Generation). The wired communication module may include, for example, at least one selected from the group consisting of a LAN (Local Area Network) module, an Ethernet module, a paired cable, a coaxial cable, an optical fiber cable, and a UWB (Ultra Wide-Band) module.
[0103] In addition, the communication unit may further include at least one wired input / output interface among HDMI (High Definition Multimedia Interface), MHL (Mobile High-Definition Link), USB (Universal Serial Bus), USB C-type, DP (Display Port), Thunderbolt, VGA (Video Graphics Array) port, RGB port, D-SUB (Dsubminiature), and DVI (Digital Visual Interface).
[0104] However, the integrated database according to the embodiment may be built into the electronic device (100) and may perform operations according to one embodiment of the present disclosure regardless of whether or not it is connected to the Internet.
[0105] The output interface can output response information corresponding to user input. The output interface can include a display and a speaker, and can output data in the form of various signals.
[0106] Meanwhile, in addition to the above-described configuration, the electronic device (100) may include various configurations (or structures) such as a mobile application for communicating with a database, a data regularization module, database storage, literal storage, rule storage, database administrator, or reasoning engine.
[0107] For example, a data normalization module can process raw queries entered through a mobile application and output them as normalized queries that can be entered into a database.
[0108] FIG. 4 is a diagram illustrating an operation of an electronic device generating a database according to at least one embodiment of the present disclosure.
[0109] An electronic device (100) can acquire a database by integrating multiple usage histories stored in the databases of each of multiple applications. Multiple usage histories can be integrated to create a single database, and the created database can be expressed as a user integrated information DB (10) or a single data bundle.
[0110] For example, the electronic device (100) can collect data stored in the databases (9) of each of the location (GPS) App (9-1), calendar App (9-2), and payment (Pay) App (9-N). Specifically, the electronic device (100) can collect multiple usage histories stored in each database, and obtain correlation information between the multiple usage histories.
[0111] For example, if a user went on a business trip to Seoul on 24.5.25, the electronic device (100) can collect usage history data, such as which area of Seoul was visited and when, and how long the user stayed, through the location app (9-1). In addition, the electronic device (100) can collect data on the details of the business trip, such as the purpose of the business trip, through the calendar app (9-2).
[0112] The electronic device (100) can integrate the usage history data of the location app (9-1) and the calendar app (9-2) to store information about the user's "purpose of business trip, where in Seoul he / she stayed, and from when to when" as a single data bundle.
[0113] When an electronic device (100) integrates information to obtain a single database, it can increase computational efficiency by storing each piece of data in a preset format. When a user's query is input, the electronic device (100) can efficiently obtain data result values using the user integrated information DB (10).
[0114] Here, "format" can be expressed in various terms such as data schema, format, and shape. The electronic device (100) can increase memory efficiency and computational efficiency by matching the data schema through normalization.
[0115] FIG. 5 is a drawing for explaining the operation of an electronic device according to at least one embodiment of the present disclosure.
[0116] According to one embodiment of the present disclosure, an electronic device (100) can collect App data from multiple applications (510). The electronic device (100) can convert (51) the collected App data into data based on a preset format in a database storage (520) and store the converted data. That is, the electronic device (100) can convert the App data into a format usable in the database storage.
[0117] The electronic device (100) can perform normalization (or tokenization) on the converted data and store it in the form of unit information. Unit information is information of a basic unit stored in a database, and may include, for example, individual records or rows.
[0118] The electronic device (100) may derive rules based on data (e.g., unit information) stored in a database and store them in a data database storage (520). In addition, the electronic device (100) may store axioms related to rules for maintaining data integrity, consistency, security, etc. in the database storage (520).
[0119] The electronic device (100) can control (52) the activation status of the axioms and rules stored in the Database Storage (520). The electronic device (100) can store unstructured data in the Literal Storage (530), and, if necessary, can optimize the indexing function based on statistical data within the system (53) to improve data access speed.
[0120] Here, literal can mean a fixed value such as a number, string, or date used in a query. In other words, literal can mean a fixed value that does not change within a query.
[0121] Meanwhile, the axioms and rules stored in the database storage (520) may be expressed as "constraints." Here, "constraints" may include rules or restrictions that are executed to obtain the response information from the database.
[0122] The electronic device (100) can obtain valid information of response information obtained from a database based on constraints stored in the storage device (110). Here, "valid information of response information" may include information on the accuracy or reliability of the response information obtained from the database.
[0123] The electronic device (100) can identify whether the valid information in the response information falls within a preset range, and if the identified valid information falls within the preset range, the constraint can be set to an activated state. For example, when the electronic device (100) processes a query entered by a user and outputs response information, the electronic device can determine whether to activate the constraint based on the valid information in the output response information for the applied constraint.
[0124] The electronic device (100) may also update information about the constraint when the constraint is set to an activated state. Here, "information about the constraint" may include whether the constraint is activated.
[0125] On the other hand, if the valid information is outside the preset range, the electronic device (100) may set the constraint to a disabled state and update information about the preset constraint.
[0126] FIG. 6 is a diagram illustrating an operation of an electronic device according to at least one embodiment of the present disclosure to load constraints into a memory.
[0127] The electronic device (100) may include volatile memory or non-volatile memory in the storage device (110). According to one embodiment of the present disclosure, constraints stored in the Database Storage (520) may be stored in volatile memory or non-volatile memory depending on whether the constraints are activated.
[0128] For example, information about the axioms or rules in the activated state may be stored in a volatile memory space (521), and information about the axioms or rules in the inactivated state may be stored in a non-volatile memory space (522).
[0129] The electronic device (100) may load at least one constraint set to an activated state among a plurality of constraints stored in a non-volatile memory into a volatile memory.
[0130] The electronic device (100) can improve computational speed and reduce computational costs by loading data for constraints on activation states, unit information that has not yet been processed, and hash functions and hash tables required for indexing into volatile memory. In other words, the electronic device (100) can increase computational efficiency by loading only the data necessary for computation into volatile memory.
[0131] The electronic device (100) may also store data changed or updated in volatile memory by reflecting it in non-volatile memory.
[0132] FIG. 7 is a diagram illustrating an operation of an electronic device normalizing data according to at least one embodiment of the present disclosure.
[0133] An electronic device (100) can collect multiple usage histories from multiple applications and analyze a first usage history or a second usage history among the multiple usage histories to obtain multiple tokens. Here, a token may include a text unit having meaning in the data, or alternatively, may be expressed as unit information.
[0134] The electronic device (100) compares the number of multiple tokens corresponding to the second usage history with the number of preset tokens, and if the number of multiple tokens and the number of preset tokens do not match based on the comparison result, the electronic device (100) can perform normalization on the multiple tokens so that the number of multiple tokens corresponding to the second usage history matches the number of preset tokens. In addition, the electronic device (100) can acquire an integrated database based on the normalized multiple tokens.
[0135] On the other hand, the electronic device (100) may obtain an integrated database based on a plurality of tokens corresponding to the first usage history if the number of the plurality of tokens matches the number of the preset tokens based on the comparison result.
[0136] For example, multiple pieces of unit information (K=6) can be acquired based on the usage history of the user's travel route (71). Each piece of unit information can be assigned an index number (e.g., if the unit information corresponds to 6, the index number is 0 to 5).
[0137] When the number of unit information set in the electronic device (100) is 3, the electronic device (100) may convert the data on the usage history so that the number of unit information becomes 3 from 6 by normalizing the data (71').
[0138] Alternatively, multiple pieces of unit information (K=2) can be acquired based on the user's gender usage history (72). Each piece of unit information can be assigned an index number (e.g., if it corresponds to unit information 2, the index number is 0 to 1).
[0139] When the number of unit information set in the electronic device (100) is 3, the electronic device (100) may convert the data on the usage history so that the number of unit information becomes 3 from 2 by normalizing the data (72').
[0140] However, this is not limited to this, and the number of preset unit information or tokens may be set in various ways.
[0141] FIG. 8 is a drawing for explaining the operation of an electronic device according to at least one embodiment of the present disclosure.
[0142] Referring to FIG. 8, an electronic device (100) can perform an operation based on interactions between a user (810) of a mobile device, a database system (820), and a system administrator (830).
[0143] According to one embodiment of the present disclosure, a user (810) of a mobile device can update (811) a version of software or an application of the mobile device.
[0144] The database system (820) can perform storage, management, or query processing of data stored in the database.
[0145] For example, the database system (820) can update the location and information of each axiom and literal within the rule in the Rule Storage (821). In addition, the database system (820) can query the Literal Storage to determine the activation status of the axiom and rule (822).
[0146] The database system (820) can determine and apply the activation / deactivation status of axioms and rules based on the number of occurrences of each literal (824). In addition, the database system (820) can perform rule-based reasoning operations through a reasoning engine (824).
[0147] The database system (820) can update information in Database Storage and Literal Storage, and update and perform operations on the activation status of axioms or rules based on the information (825).
[0148] The system administrator (830) can change or add some of the contents of the set of axioms and rules (831).
[0149] FIG. 9 is a drawing for explaining the operation of an electronic device according to at least one embodiment of the present disclosure.
[0150] The electronic device (100) may perform data normalization (920) upon confirmation of a request for adding / deleting / updating axioms (911), a request for adding / deleting / updating rules (912), or a request for creating / deleting / updating data (913). For example, upon a request for adding a rule to a database, the electronic device (100) may perform a task of normalizing data regarding the rule into a form that can be entered into the database.
[0151] The electronic device (100) can update information in the database and Literal storage based on normalized data (930).
[0152] The electronic device (100) can update the activation information of axioms or rules based on updated information (941, 942). For example, the information in the database can be updated based on normalized data, and if there are rules that satisfy conditions among the rules in the updated database that are inactive, all rules that satisfy the conditions can be activated to update the database.
[0153] The electronic device (100) can perform operations of the inference module based on information about the activated axiom or rule (950). The resulting values based on the performed operations can be updated again in the database and literal storage (930).
[0154] FIG. 10 is a flowchart illustrating a method for managing a database by an electronic device according to at least one embodiment of the present disclosure.
[0155] The electronic device (100) can collect multiple usage histories stored in multiple applications (S1110). Here, the multiple usage histories may be data stored in the databases of each of the multiple applications.
[0156] The electronic device (100) can obtain correlation information between multiple usage histories (S1120). Here, the correlation information can include information indicating a correlation between multiple usage histories by comparing the time at which each of the multiple applications acquired each of the multiple usage histories, the location at which each of the multiple applications acquired each of the multiple usage histories, and at least one of text data and pixel data included in each of the multiple usage histories.
[0157] The electronic device (100) can acquire a database (DB) by integrating at least one usage history among multiple usage histories based on correlation information (S1130). The database integrating the usage history may include a data bundle that integrates and normalizes data from multiple applications.
[0158] The electronic device (100) can obtain response information corresponding to user input using a database (S1140). For example, when a user inputs a query, the electronic device (100) can obtain response information using an integrated database. The electronic device (100) can provide the obtained response information to the user.
[0159] The database management method described in Fig. 10 can be performed by devices having various configurations, such as those of Figs. 2 and 3 described above, but is not necessarily limited thereto, and can also be performed by devices having various configurations.
[0160] The various embodiments described above may be implemented as a single embodiment, or at least one of the embodiments may be combined in whole or in part to be implemented together in one device.
[0161] According to the various embodiments described above, data collected from multiple applications can be integrated and managed as a single database, and operations can be performed based on the integrated database.
[0162] Various embodiments of the present disclosure may be implemented as software stored in a machine-readable storage media that can be installed or connected to a smartphone, a user terminal device, or other various electronic devices (e.g., a computer).
[0163] Specifically, a non-transitory readable storage medium may be provided in which software is stored for sequentially performing the steps of collecting multiple usage histories stored in multiple applications, obtaining correlation information between the multiple usage histories, integrating at least one usage history among the multiple usage histories based on the correlation information to obtain a database (DB), and obtaining response information corresponding to a user input using the database.
[0164] A device equipped with such a non-transitory readable medium can perform various operations, such as tag identification, confirmation of importance for each of multiple frames, and creation of an edited video, corresponding to the user actions described in the various embodiments described above.
[0165] In the context of non-transitory readable storage media, 'non-transitory' means that the storage medium does not contain signals and is tangible, but does not distinguish between whether data is stored semi-permanently or temporarily on the storage medium.
[0166] Alternatively, a program for performing the method according to the various embodiments described above may be distributed online through an application store. In the case of online distribution, at least a portion of the computer program product may be temporarily stored or temporarily generated on a storage medium, such as the memory of a manufacturer's server, an application store's server, or a relay server.
[0167] Each component (e.g., a module or a program) according to various embodiments may be composed of a single or multiple entities, and some of the aforementioned sub-components may be omitted, or other sub-components may be further included in various embodiments. Alternatively or additionally, some components (e.g., a module or a program) may be integrated into a single entity, which may perform the same or similar functions as the respective components prior to integration.
[0168] According to various embodiments, operations performed by a module, program or other component may be executed sequentially, in parallel, iteratively or heuristically, or at least some operations may be executed in a different order, omitted, or other operations may be added.
[0169] Although the preferred embodiments of the present disclosure have been illustrated and described above, the present disclosure is not limited to the specific embodiments described above, and various modifications may be made by a person skilled in the art to which the present disclosure pertains without departing from the gist of the present disclosure as claimed in the claims, and such modifications should not be understood individually from the technical idea or prospect of the present disclosure.
Claims
1. In electronic devices, A storage device storing at least one instruction and a plurality of applications; and a processor for executing at least one instruction; The above processor, Collect multiple usage histories stored in the above multiple applications, Obtain correlation information between the above multiple usage histories, Based on the correlation information, at least one of the plurality of usage histories is integrated to obtain a database (DB), An electronic device that obtains response information corresponding to user input using the above database.
2. In paragraph 1, The above correlation information is, An electronic device, wherein the plurality of applications are information indicating a correlation between the plurality of usage histories by comparing the time at which each of the plurality of usage histories was acquired, the location at which the acquired history was acquired, and at least one of text data and pixel data included in each of the plurality of usage histories.
3. In paragraph 1, including an input interface; The above processor, When the user input is received through the input interface, the user input is converted into a query language through a data processing model, By inputting the above query language into the above database, information corresponding to the above query language is obtained as the response information from the above database, The above data processing model is, An electronic device that converts the user input based on natural language into a query language based on a format corresponding to the database.
4. In paragraph 1, The above processor, Obtaining valid information of the response information obtained from the database based on constraints stored in the storage device, Identify whether the valid information of the above response information is within a preset range, If the above valid information is within the preset range, the above constraint is set to active state, An electronic device that updates information about the constraint when the constraint is set to the activated state.
5. In paragraph 4, Information about the above constraints is: Including whether the above constraints are activated, The above constraints are, An electronic device comprising rules or restrictions that are executed to obtain the response information from the database.
6. In paragraph 4, The above processor, If the above valid information is outside the preset range, the above constraint is set to disabled. An electronic device that updates information about the constraint when the constraint is set to the disabled state.
7. In paragraph 4, The storage device includes a first memory and a second memory, The above processor, Loading at least one constraint set to the activated state among the plurality of constraints stored in the first memory into the second memory, The above first memory is, Contains non-volatile memory, The above second memory is, An electronic device containing volatile memory.
8. In paragraph 1, The above processor By analyzing the first usage history among the above multiple usage histories, multiple tokens are obtained, Compare the number of the plurality of tokens corresponding to the first usage history with the number of preset tokens, If the number of the plurality of tokens and the number of the preset tokens match based on the comparison result, the database is acquired based on the plurality of tokens corresponding to the first usage history. The above token is, An electronic device that is a unit of text that has meaning in data.
9. In paragraph 1, The above processor By analyzing the second usage history among the above multiple usage histories, multiple tokens are obtained, Compare the number of the plurality of tokens corresponding to the second usage history with the number of preset tokens, If the number of the plurality of tokens and the number of the preset tokens do not match based on the comparison result, normalization is performed on the plurality of tokens so that the number of the plurality of tokens corresponding to the second usage history matches the number of the preset tokens. An electronic device that obtains the database based on the above normalized plurality of tokens.
10. In a method for an electronic device to manage a database (DB), A step of collecting multiple usage histories stored in multiple applications; A step of obtaining correlation information between the plurality of usage histories; A step of acquiring a database (DB) by integrating at least one usage history among the plurality of usage histories based on the correlation information; and A management method comprising: a step of obtaining response information corresponding to user input using the above database; 11. In paragraph 10, The above correlation information is, A management method, wherein the plurality of applications are information indicating a correlation between the plurality of usage histories by comparing the time at which each of the plurality of usage histories was acquired, the location at which the acquired history was acquired, and at least one of text data and pixel data included in each of the plurality of usage histories.
12. In paragraph 10, The step of obtaining response information corresponding to the above user input is: When the user input is received, a step of converting the user input into a query language through a data processing model; and A step of inputting the query language into the database and obtaining information corresponding to the query language as the response information from the database; The above data processing model is, A management method for converting the above natural language-based user input into a query language based on a format corresponding to the above database.
13. In paragraph 10, A step of obtaining valid information of the response information obtained from the database based on constraints stored in a storage device of the electronic device; A step of identifying whether the valid information of the above response information is within a preset range; If the above valid information is within a preset range, a step of setting the constraint to an activated state; and A management method further comprising: a step of updating information about the constraint when the constraint is set to the activated state; 14. In paragraph 13, Information about the above constraints is: Including whether the above constraints are activated, The above constraints are, A management method comprising rules or restrictions executed to obtain the response information from the database.
15. A non-transitory computer-readable recording medium containing a program executing a method for an electronic device to manage a database (DB), The above management method is, A step of collecting multiple usage histories stored in multiple applications; A step of obtaining correlation information between the plurality of usage histories; A step of acquiring a database (DB) by integrating at least one usage history among the plurality of usage histories based on the correlation information; and A computer-readable recording medium comprising a step of obtaining response information corresponding to user input using the above database.
Citation Information
Patent Citations
Ice skating shoes fixed blade angle adjustment device
KR1020220014957A
System and method for brokering mixed cargo
KR1020250138443A
Sterilizing apparatus for gate
KR102151990B1
Dust collector capable of filtering during reverse cleaning
KR102532920B1
Contextual suggestions from user history
WO2018013385A1