How to classify data on your device, devices, programs

The method enhances classification accuracy in household account book applications by using a decision tree model for high-entropy data and a word-based model for low-entropy data, addressing the limitations of pattern matching in existing systems.

JP7573957B2Active Publication Date: 2024-10-28라인페이가부시키가이샤

Patent Information

Application Number
JP2019138687
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Filing Date
2019-07-29
Publication Date
2024-10-28
Estimated Expiration
2039-07-29

AI Technical Summary

Technical Problem

Existing household account book applications lack accuracy in classifying income and expenditure data, relying primarily on pattern matching, which often fails to satisfy user expectations.

Method used

A data classification method that utilizes a combination of two models: a decision tree model for high-entropy data and a word-based model for low-entropy data, determining classification based on the ambiguity of the input data, with user correction options.

Benefits of technology

Improves classification accuracy by adaptively switching between models based on entropy, allowing for more precise categorization of income and expenditure data, enhancing user satisfaction.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 00000021_0000
    Figure 00000021_0000
  • Figure 00000021_0001
    Figure 00000021_0001
  • Figure 00000021_0002
    Figure 00000021_0002
Patent Text Reader

Abstract

To provide a classification method, a terminal, and a program improving precision in classification of new data.SOLUTION: Data classified by a user and its categories are acquired, a first determination is made for whether or not the new data of the user is capable of being classified based on the classified data and its category, and the new data is classified into one of the categories already classified by the user when the new data is determined to be capable of being classified into the category. When determined that the new data is not capable of being classified into the category in a first determination, entropy of the new data is calculated. A second determination of whether or not the entropy is a specific value or more is made, the new data is classified into a category according to a first model when the entropy is the specific value or more, and the new data is classified according to a second model different from the first model when the entropy is less than the specific value.SELECTED DRAWING: Figure 5
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present disclosure relates to a terminal data classification method, a terminal, and a program. [Background technology]

[0002] In recent years, household finances have been managed using applications that allow users to keep a household account book. Patent Document 1 discloses a technique for managing a household account book for a group, as well as for listing expenses such as food and miscellaneous expenses, and managing the budget for each expense item and the remaining balance for each expense item. [Prior art documents] [Patent documents]

[0003] Republished patent WO2012 / 169075 Summary of the Invention

[0004] According to the present invention, a method for classifying data by an information processing device includes obtaining data classified by a target user and a category into which the data has been classified, obtaining new data for the target user, making a first judgment as to whether the new data can be classified into a category based on the classified data and the category into which the data has been classified, and, if the first judgment determines that the new data can be classified into a category, performing a first classification to classify the new data into one of the categories into which the target user has already classified it, if the first judgment determines that the new data cannot be classified into a category, calculating an entropy of the new data, making a second judgment as to whether the entropy is greater than or equal to a specific value, and, if the second judgment determines that the entropy is greater than or equal to the specific value, classifying the new data into a category according to a first model, and, if the second judgment determines that the entropy is less than the specific value, performing a second classification to classify the new data into a category according to a second model different from the first model. [Brief description of the drawings]

[0005] [Figure 1] FIG. 2 is a block diagram showing an example of the configuration of a communication system, and is a block diagram showing an example of the configuration of a terminal and a server. [Diagram 2] 13A and 13B are diagrams showing examples of displays on a terminal. [Diagram 3] 1A is a conceptual data diagram showing an example of the data structure of an income / expense database, and FIG. 1B is a conceptual data diagram showing an example of the structure of income / expense data. [Figure 4] FIG. 11 is a sequence diagram showing an example of an exchange between a server and a terminal. [Diagram 5] 13 is a flowchart showing an example of the operation of the server. [Figure 6] 13 is a flowchart showing an example of the operation of the terminal. [Figure 7] FIG. 11 is a sequence diagram showing an example of an exchange between a server and a terminal when a classified category is corrected. [Figure 8] 13 is a flowchart showing an example of an operation of a server related to a category correction. [Figure 9] FIG. 13 is a block diagram showing another example of the configuration of the terminal and the server. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0006] <Compliance with legal matters> It should be noted that the disclosures described herein are subject to compliance with the laws of the country of implementation, such as communications secrecy, as necessary for the implementation of the disclosure.

[0007] An embodiment for implementing a display method etc. that allows confirmation of the status of transmission or reception by a terminal according to the present disclosure will be described with reference to the drawings.

[0008] <System configuration>

[0009] Fig. 1 shows a configuration of a communication system 1 according to an embodiment of the present disclosure. As disclosed in Fig. 1, in the communication system 1, a server 10 and terminals 20 (terminals 20A, 20B, and 20C) are connected via a network 30. The server 10 provides a service that enables transmission and reception of messages between the terminals 20 to the terminals 20 owned by users via the network 30. The number of terminals 20 connected to the network 30 is not limited.

[0010] The network 30 plays a role of connecting one or more terminals 20 and one or more servers 10. In other words, the network 30 refers to a communication network that provides a connection path so that the terminals 20 can connect to the server 10 and then transmit and receive data.

[0011] One or more portions of network 30 may or may not be a wired or wireless network. Network 30 may include, by way of example and without limitation, an ad hoc network, an intranet, an extranet, a virtual private network (VPN), a local area network (LAN), a wireless LAN (WLAN), a wide area network (WAN), a wireless WAN (WWAN), a metropolitan area network (MAN), a portion of the Internet, a portion of the Public Switched Telephone Network (PSTN), a cellular network, integrated service digital networks (ISDN), wireless LAN, long term evolution (LTE), code division multiple access (CDMA), Bluetooth, satellite communications, or the like, or a combination of two or more thereof. Network 30 may include one or more networks 30.

[0012] The terminal 20 (terminal 20A, terminal 20B, terminal 20C) may be any information processing terminal capable of implementing the functions described in each embodiment. The terminal 20 includes, but is not limited to, a smartphone, a mobile phone (feature phone), a computer (such as, but not limited to, a desktop, laptop, tablet, etc.), a media computer platform (such as, but not limited to, a cable or satellite set-top box, digital video recorder, etc.), a handheld computer device (such as, but not limited to, a PDA (personal digital assistant), an email client, etc.), a wearable device (such as, but not limited to, a glasses-type device, a watch-type device, etc.), or other types of computers or communication platforms. The terminal 20 may also be expressed as an information processing terminal.

[0013] Since the configurations of the terminals 20A, 20B, and 20C are basically the same, the terminal 20 will be described below. In addition, as necessary, the terminal used by the user X will be expressed as the terminal 20X, and the user information in a predetermined service associated with the user X or the terminal 20X will be expressed as the user information X. Note that the user information is information of a user associated with an account used by the user in a predetermined service. The user information includes, by way of example and without limitation, information associated with a user, such as the user's name, the user's icon image, the user's age, the user's sex, the user's address, the user's hobbies and interests, and the user's identifier, which is input by the user or given by the predetermined service, and may be any one of these, or a combination thereof, or may not be the same.

[0014] The server 10 has a function of providing a predetermined service to the terminal 20. The server 10 may be any device as long as it is an information processing device capable of realizing the functions described in each embodiment. The server 10 includes, but is not limited to, a server device, a computer (for example, but not limited to, a desktop, a laptop, a tablet, etc.), a media computer platform (for example, but not limited to, a cable or satellite set-top box, a digital video recorder), a handheld computer device (for example, but not limited to, a PDA, an email client, etc.), or other types of computers or communication platforms. The server 10 may also be expressed as an information processing device. When it is not necessary to distinguish between the server 10 and the terminal 20, the server 10 and the terminal 20 may or may not be expressed as information processing devices.

[0015] <Hardware (HW) configuration>

[0016] The HW configuration of each device included in the communication system 1 will be described with reference to FIG.

[0017] (1) Terminal hardware configuration

[0018] The terminal 20 includes a control unit 21 (CPU: central processing unit), a storage unit 28, a communication I / F 22 (interface), an input / output unit 23, a display unit 24, and a location information acquisition unit 25. The HW components of the terminal 20 are connected to each other via a bus B, for example and not for limitation. It is not essential that the HW configuration of the terminal 20 includes all of the components. For example and not for limitation, the terminal 20 may or may not be configured such that individual components or multiple components such as the microphone 232, the camera 234, the location information acquisition unit 25, etc. are removable.

[0019] The communication I / F 22 transmits and receives various data via the network 30. The communication may be performed either wired or wirelessly, and any communication protocol may be used as long as the communication between the two is possible. The communication I / F 22 has a function of communicating with the server 10 via the network 30. The communication I / F 22 transmits various data to the server 10 according to instructions from the control unit 21. The communication I / F 22 also receives various data transmitted from the server 10 and transmits it to the control unit 21. The communication I / F 22 may also be simply referred to as a communication unit. When the communication I / F 22 is configured from a physically structured circuit, it may also be referred to as a communication circuit.

[0020] The input / output unit 23 includes a device for inputting various operations to the terminal 20, and a device for outputting the results of processing performed by the terminal 20. The input / output unit 23 may be an integrated input unit and an output unit, or may be separate from the input unit and the output unit, or may not be.

[0021] The input unit is realized by any one or a combination of all kinds of devices that can receive input from a user and transmit information related to the input to the control unit 21. Examples of the input unit include, but are not limited to, a touch panel 231, a touch display, hardware keys such as a keyboard, a pointing device such as a mouse, a camera 234 (operation input via moving images), and a microphone 232 (operation input by voice).

[0022] The output unit is realized by any one or a combination of all kinds of devices capable of outputting the processing results processed by the control unit 21. Examples of the output unit include, but are not limited to, a touch panel, a touch display, a speaker 233 (audio output), a lens (for example, but not limited to, 3D (three dimensions) output and hologram output), a printer, etc.

[0023] The display unit 24 is realized by any one of all kinds of devices capable of displaying according to the display data written in the frame buffer, or a combination thereof. The display unit 24 includes, but is not limited to, a touch panel, a touch display, a monitor (for example, but not limited to, a liquid crystal display or an organic electroluminescence display (OLED)), a head mounted display (HDM), a projection mapping, a hologram, a device capable of displaying images, text information, and the like in air (which may or may not be a vacuum). Note that these display units 24 may or may not be capable of displaying display data in 3D.

[0024] When the input / output unit 23 is a touch panel, the input / output unit 23 and the display unit 24 may be disposed facing each other and have approximately the same size and shape.

[0025] The control unit 21 has a circuit physically structured to execute the functions realized by the code or instructions contained in the program, and is realized by a data processing device built into hardware, for example and without limitation. Therefore, the control unit 21 may or may not be expressed as a control circuit.

[0026] The control unit 21 includes, by way of example and not limitation, a central processing unit (CPU), a microprocessor, a processor core, a multiprocessor, an application-specific integrated circuit (ASIC), and a field programmable gate array (FPGA).

[0027] The storage unit 28 has a function of storing various programs and various data required for the operation of the terminal 20. The storage unit 28 includes, by way of example and not limitation, various storage media such as a hard disk drive (HDD), a solid state drive (SSD), a flash memory, a random access memory (RAM), and a read only memory (ROM). In addition, the storage unit 28 may or may not be expressed as a memory.

[0028] Terminal 20 stores program P in storage unit 28, and executes this program P, causing control unit 21 to execute processing as each unit included in control unit 21. In other words, program P stored in storage unit 28 causes terminal 20 to realize each function executed by control unit 21. Also, this program P may or may not be expressed as a program module.

[0029] The microphone 232 is used to input voice data, the speaker 233 is used to output voice data, and the camera 234 is used to obtain video data.

[0030] (2) Server hardware configuration

[0031] The server 10 includes a control unit 11 (CPU), a storage unit 15, a communication I / F 14 (interface), an input / output unit 12, and a display unit 13. The components of the HW of the server 10 are connected to each other via a bus B, for example and not for limitation. It is not essential that the HW of the server 10 includes all the components as the configuration of the HW of the server 10. For example and not for limitation, the HW of the server 10 may or may not be configured such that the display unit 13 is detachable.

[0032] The control unit 11 has circuits physically structured to execute functions realized by codes or instructions contained in a program, and is realized, for example and not by way of limitation, by a data processing device embedded in hardware.

[0033] The control unit 11 is typically a central processing unit (CPU), but may also be a microprocessor, a processor core, a multiprocessor, an ASIC, or an FPGA, but is not limited to these in the present disclosure.

[0034] The storage unit 15 has a function of storing various programs and various data required for the operation of the server 10. The storage unit 15 is realized by various storage media such as an HDD, an SSD, and a flash memory. However, in the present disclosure, the storage unit 15 is not limited to these. Furthermore, the storage unit 15 may or may not be expressed as a memory.

[0035] The communication I / F 14 transmits and receives various data via the network 30. The communication may be performed either wired or wirelessly, and any communication protocol may be used as long as the communication between the two is possible. The communication I / F 14 has a function of communicating with the terminal 20 via the network 30. The communication I / F 14 transmits various data to the terminal 20 according to instructions from the control unit 11. The communication I / F 14 also receives various data transmitted from the terminal 20 and transmits it to the control unit 11. The communication I / F 14 may also be simply referred to as a communication unit. When the communication I / F 14 is configured from a physically structured circuit, it may also be referred to as a communication circuit.

[0036] The input / output unit 12 is realized by a device that inputs various operations to the server 10. The input / output unit 12 is realized by any of all types of devices that can receive input from a user and transmit information related to the input to the control unit 11, or a combination thereof. The input / output unit 12 is typically realized by hardware keys such as a keyboard, or a pointing device such as a mouse. Note that the input / output unit 12 may or may not include, as non-limiting examples, a touch panel, a camera (operation input via moving images), or a microphone (operation input by voice). However, in the present disclosure, the input / output unit 12 is not limited to these.

[0037] The display unit 13 is typically realized by a monitor (for example, but not limited to, a liquid crystal display or an organic electroluminescence display (OLED)). The display unit 13 may or may not be a head mounted display (HDM) or the like. These display units 13 may or may not be capable of displaying display data in 3D. However, in the present disclosure, the display unit 13 is not limited to these.

[0038] The server 10 stores a program P in the storage unit 15, and by executing this program P, the control unit 11 executes the processes of each unit included in the control unit 11. In other words, the program P stored in the storage unit 15 causes the server 10 to realize each function executed by the control unit 11. This program P may or may not be expressed as a program module.

[0039] In each embodiment of the present disclosure, the description will be given assuming that the CPU of the terminal 20 and / or the server 10 executes the program P to realize the present invention.

[0040] The control unit 21 of the terminal 20 and / or the control unit 11 of the server 10 may or may not realize each process by a CPU having a control circuit, but may also realize each process by a logic circuit (hardware) formed in an integrated circuit (IC (Integrated Circuit) chip, LSI (Large Scale Integration)) or a dedicated circuit. These circuits may or may not be realized by one or more integrated circuits, and the multiple processes shown in each embodiment may or may not be realized by one integrated circuit. Furthermore, an LSI may be called a VLSI, a super LSI, an ultra LSI, or the like, depending on the degree of integration. Therefore, the control unit 21 may or may not be expressed as a control circuit.

[0041] In addition, the program P (for example, but not limited to, a software program, a computer program, or a program module) of each embodiment of the present disclosure may or may not be provided in a state stored in a computer-readable storage medium. The storage medium can store the program P in a "non-transitory tangible medium." In addition, the program P may or may not be for realizing part of the functions of each embodiment of the present disclosure. Furthermore, the program P may or may not be a so-called difference file (difference program) that can realize the functions of each embodiment of the present disclosure in combination with a program P already recorded in a storage medium.

[0042] The storage medium may include one or more semiconductor-based or other integrated circuits (ICs) (such as, by way of example and not limitation, a field programmable gate array (FPGA) or an application specific IC (ASIC)), a hard disk drive (HDD), a hybrid hard drive (HHD), an optical disk, an optical disk drive (ODD), a magneto-optical disk, a magneto-optical drive, a floppy diskette, a floppy disk drive (FDD), a magnetic tape, a solid state drive (SSD), a RAM drive, a secure digital card, or a drive, any other suitable storage medium, or a suitable combination of two or more of these. The storage medium may be volatile, non-volatile, or a combination of volatile and non-volatile, where appropriate. It should be noted that the storage medium is not limited to these examples and may be any device or medium capable of storing the program P. In addition, the storage medium may or may not be referred to as a memory.

[0043] The server 10 and / or the terminal 20 can realize the functions of the multiple functional units shown in each embodiment by reading out the program P stored in a storage medium and executing the read out program P.

[0044] Furthermore, the program PDD of the present disclosure may or may not be provided to the server 10 and / or the terminal 20 via any transmission medium capable of transmitting the program (such as a communication network or broadcast waves). The server 10 and / or the terminal 20 executes the program P downloaded via the Internet or the like, for example and not for limitation, to realize the functions of the multiple functional units shown in each embodiment.

[0045] Furthermore, each embodiment of the present disclosure may also be realized in the form of a data signal embedded in a carrier wave in which the program P is embodied by electronic transmission.

[0046] At least a part of the processing in the server 10 and / or the terminal 20 may or may not be realized by cloud computing configured with one or more computers.

[0047] At least a part of the processing in the terminal 20 may or may not be configured to be performed by the server 10. In this case, at least a part of the processing of each functional unit of the control unit 21 of the terminal 20 may or may not be configured to be performed by the server 10.

[0048] At least a part of the processing in the server 10 may or may not be configured to be performed by the terminal 20. In this case, at least a part of the processing of each functional unit of the control unit 11 of the server 10 may or may not be configured to be performed by the terminal 20.

[0049] Unless explicitly stated, the judgment configuration in the embodiments of the present disclosure is not essential, and a specified process may or may not be executed when the judgment condition is satisfied, or a specified process may or may not be executed when the judgment condition is not satisfied.

[0050] Note that the programs of the present disclosure are implemented using, by way of example and not limitation, scripting languages ​​such as ActionScript and JavaScript (registered trademark), object-oriented programming languages ​​such as Objective-C and Java (registered trademark), and markup languages ​​such as HTML5.

[0051] <Embodiment> <Summary> In the communication system 1 according to the present embodiment, the terminal 20 executes an application (hereinafter, referred to as a household account book application) that performs processing related to the income and expenditure of the user who owns the terminal 20, and when new income and expenditure data is input to the household account book application, the income and expenditure data is classified into categories. Here, the processing related to income and expenditure refers to a process of sorting out when, where, and for what purpose the money used by the user was used and registering it in a database. The processing performed by the household account book application may include, in addition to the processing related to the user's expenditure as described above, registration of information related to the user's income. Furthermore, the processing performed by the household account book application may include, but does not have to include, processing such as presenting analysis data of asset management from the income and expenditure, and making suggestions related to management. Income and expenditure data refers to information indicating that the user paid money for goods or services at a certain time, or that the user earned income by some means. Here, a category refers to a classification item for classifying the income and expenditure data when registering each of the income and expenditure data, and may include, for example, food expenses, entertainment expenses, transportation expenses, etc.

[0052] In addition, in the communication system 1, messages can be exchanged between terminals 20 via a messaging application on a talk room via the server 10. A talk room is a place where users who use the messaging service provided by the server 10 exchange content with each other. The content exchanged in the talk room includes, but is not limited to, character information (text data of information related to income and expenditure) input by the user using his / her own terminal 20, image information including photos and stamps (e.g., photos of receipts), audio files, video files, data files, and various other file information. Here, the talk room is not limited to a place where users who use the service provided by the server 10 exchange with each other, but can also be used as a place for exchange between a user and an operator of the server 10 or an automatic response system (so-called a bot).

[0053] In the communication system 1, a user may register balance data through the talk room, and the server 10 classifies the balance data registered as a message in the talk room. An example will be described below. FIG. 2(a) shows an example of a display screen of the terminal 20 held by the user, and shows a state in which the user of the terminal 20 inputs a message 201, "Lunch at A Cafe, 1200 yen," as an example of balance data, to the talk room. When the terminal 20 and a bot of the server 10 belong to the talk room shown in FIG. 2(a), the server 10 detects that the input data is balance data and classifies the balance data. At this time, the server 10 classifies the balance data using a plurality of classification methods. Then, the server 10 transmits information indicating the category into which the balance data is classified to the talk room, and as shown in FIG. 2(b), the terminal 20 displays a message 240 indicating the balance data and the classified category. This message 240 may include the amount of money used 241, the category 242, and the time used 243, which are shown in the income and expenditure data, and may further display a correction menu 244 for correction when the user is not satisfied with the contents, i.e., the contents of the category and the time. Touching the correction menu 244 triggers acceptance of the correction contents of the category.

[0054] The income and expenditure data exchanged in this chat room and its classification may be linked to a household accounting app installed on the terminal 20, and the category indicating the content of the message returned from the server 10 and the income and expenditure data may be registered in the household accounting app.

[0055] As described above, there are some conventional household accounting apps that classify income and expenditure details, but they basically rely on pattern matching (classification according to predefined rules), and some users may not be satisfied with the classification accuracy. Therefore, the inventors have come up with the idea of ​​improving the classification accuracy of income and expenditure data by using multiple methods for classification in the classification method according to this embodiment. This will be described in detail below.

[0056] (1) Functional configuration of the terminal As shown in FIG. 1, the terminal 20 includes a message processing unit 211 and a display processing unit 212 as functions realized by the control unit 21.

[0057] The message processing unit 211 accepts an input from a user and / or an input of content including a message received by the communication I / F 12 according to a messaging application provided by the messaging service provided by the server 10, and instructs the display processing unit 212 to display the input. When an input from a user is accepted, the message processing unit 211 instructs the communication I / F 22 to transmit the accepted input content to the server 10. Here, the objects processed by the message processing unit 211 are not limited to a text message input by a user to a talk room, but may also include image information including photos and stamps, audio files, video files, data files, and the like. Furthermore, the message processing unit 211 instructs the communication I / F 22 to transmit information indicating the input content (income and expenditure data) input by a user of the talk room to the server 10.

[0058] The display processing unit 212 accepts input from the user and / or input of content including a message received by the communication I / F 12 according to a messaging application provided by the messaging service provided by the server 10, and instructs the display processing unit 212 to display it. When input from the user is accepted, the display processing unit 212 instructs the communication I / F 22 to transmit the accepted input content to the server 10. The display processing unit 212 displays, for example, a talk room between the user and another user, and displays information related to income and expenditure according to the user's input to the talk room.

[0059] The household account book application execution unit 213 has a function of executing a household account book application for managing the income and expenditure of a user provided by the server 10. In addition to the functions held by conventional applications, the household account book application here transmits income and expenditure data input by a user to the server 10 and classifies the income and expenditure data received from the server 10 into a specified category.

[0060] (2) Functional configuration of the server As shown in FIG. 1, the server 10 includes, as functions realized by the control unit 11, a message processing unit 111, an acquisition unit 114, a first judgment unit 115, a first classification unit 116, a calculation unit 117, a second judgment unit 118, and a second classification unit 119.

[0061] The message processor 111 has a function of managing talk rooms for communication between users. The message processor 111 relays communication of content, including content, between terminals that receive the messaging service provided by the server 10. That is, when a user sends content to a talk room, the message processor 111 identifies the talk room and transmits the content to other users who belong to the talk room.

[0062] The acquisition unit 114 has a function of accepting income and expenditure data from a user. Here, the income and expenditure data includes information that can identify the user (user ID), information that can identify the date and time when the income and expenditure occurred (date and time), expenses, and information for classifying the income and expenditure data. The acquisition unit 114 may acquire income and expenditure data inputted from the user's terminal 20 to the household account book app, may acquire income and expenditure data transmitted to a chat room of the user's terminal 20, may acquire usage details on an EC site or the like corresponding to the user as income and expenditure data, or may acquire image data of a receipt or the like showing the income and expenditure details as income and expenditure data. The acquisition unit 114 transmits the acquired income and expenditure data to the first judgment unit 115.

[0063] The first determination unit 115 determines whether the new balance data transmitted from the acquisition unit 114 can be classified into any of the categories based on the classified data and the category of the classified data. The first determination unit 115 refers to the balance database 151 described later, and determines that the new balance data can be classified into a category when the content indicated by the new balance data matches any of the balance data recorded in the balance database 151. When the first determination unit 115 determines that the new balance data can be classified into a category, it transmits the new balance data transmitted from the acquisition unit 114 to the first classification unit 116, and when it determines that the new balance data cannot be classified into a category, it transmits the new balance data transmitted from the acquisition unit 114 to the calculation unit 117. Details of the balance database 151 will be described later.

[0064] When the first classification unit 116 receives new balance data from the first judgment unit 115, it classifies the content of the new balance data received into a category associated with balance data that matches any of the balance data recorded in the balance database 151. Here, classifying into a category refers to associating information indicating the content of the category, and in this case refers to registering the new balance data in the balance database 151 in association with the category.

[0065] When the calculation unit 117 receives new balance data from the first judgment unit 115, it calculates the entropy of the balance data. The entropy here means the amount of information in information theory. In other words, it means how vague the content is. Here, the entropy may be the amount of selected information or the average amount of information (Shannon information), and can be calculated using a formula for calculating each. As for the formula for calculating the amount of information, a known formula is used, and details are omitted. Here, high entropy of the balance data means that the content of the balance data is highly vague. For example, if the content of the balance data includes "apple", there is a high degree of ambiguity as to whether it means apples as fruits or products of Apple Inc., so in this case, the entropy is high. The calculation unit 117 may calculate the entropy for the entire balance data, or may calculate only for other information included in the balance data, excluding the user ID, date and time, and cost used. After calculating the entropy of the new balance data, the calculation unit 117 transmits it to the second judging unit 118.

[0066] When the second judgment unit 118 receives the entropy of new balance data from the calculation unit 117, it judges whether the entropy is high or low. Specifically, the second judgment unit 118 compares the entropy with a predetermined threshold value to judge whether the entropy is high or low. The second judgment unit 118 transmits the judgment result of whether the entropy is high or low to the second classification unit 119 together with the new balance data.

[0067] When the second classification unit 119 receives the judgment result and the balance data from the second judgment unit 118, it classifies the new balance data into categories. Specifically, when the judgment result received from the second judgment unit 118 indicates that the entropy of the new balance data is equal to or greater than a predetermined threshold, i.e., the degree of ambiguity is high, the second classification unit 119 classifies the new balance data into categories according to the first model. On the other hand, when the entropy of the new balance data is less than a predetermined threshold, i.e., the degree of ambiguity is low, the second classification unit 119 classifies the new balance data into categories according to the second model.

[0068] Here, the first model is a model for classifying income and expenditure data into categories. The first model is a model for classifying information when the entropy of income and expenditure data is high, that is, information with a high degree of ambiguity as information, and is a model that learns the relationship between input data and the category into which the input data is classified by using machine learning and deep learning. As an example, the first model can use a decision tree model. The decision tree model is a model that is often used in data mining, and is a prediction model in the field of machine learning, and is a model that derives a conclusion regarding the target value of a certain event from the observation results of the event. The conclusion here corresponds to a category. Note that the first model is not limited to a decision tree model, and may be another model as long as it can classify income and expenditure data into categories, and a linear model may be used as an example without limitation. This first model, the decision tree model, may be generated by using income and expenditure data of all users who use the server 10, may be generated by using income and expenditure data of some users who use the server 10, or may be generated by using past income and expenditure data of an individual user corresponding to the income and expenditure data. In other words, the first model is a model that determines a category of new income and expenditure data based on a majority vote of the classification of income and expenditure data classified by one or more users. The decision tree model that is the first model may be, for example and without limitation, a model that performs classification by amount, time, and word, and may be a model created in such a manner that, for example, one or more thresholds are set for the amount and the category is determined depending on whether the amount is high or low relative to the threshold.

[0069] On the other hand, the second model is also a model for classifying balance data into categories, but it is a model that classifies into categories by a method different from that of the first model. As an example, the second model performs classification using word categories. A low entropy of balance data means that the degree of ambiguity of each of the word groups constituting the balance data is low. In other words, it can be predicted that the balance data including each word is classified into a certain category to some extent. Therefore, it can be said that the category to which other balance data having a word included in the new balance data is assigned is highly likely to be assigned as the category of the new balance data. Specifically, the second classification unit 119 divides the character string included in the balance data into words, and specifies which category the balance data using each divided word is classified into. Then, the second classification unit 119 calculates a score for each word based on the assigned category and the frequency of appearance of the word in the balance database 151. The score based on the appearance frequency may be, for example, the number of times that a word included in the income and expenditure data appears in the household database 151, or may be a value obtained by multiplying the number of times by a predetermined weighting value. If one or more words included in the income and expenditure data are in the same category, the scores of the categories are added together, and the category with the highest score among the categories is assigned as the new category of the income and expenditure data. That is, as an example, it is assumed that the income and expenditure data includes three words A, B, and C, which are assigned to categories C1, C2, and C1, respectively. In this case, if the appearance frequency of the word A is 30, the appearance frequency of the word B is 40, and the appearance frequency of the word C is 20, the score of the category C1 of this income and expenditure data is 50 (30+20), and the score of the category C2 is 40, so the income and expenditure data is assigned to the category C1. In addition, if there are multiple categories in which the word A is used, such as C1 and C2, it is a good idea to calculate and use the frequency with which it is used as C1 and the frequency with which it is used as C2 separately.For example, when the word "A" has an appearance frequency of 10 as category C1 and 20 as category C2, and the appearance frequency of word "B" in category C2 is 40 and that of word "C" in category C1 is 20, for the profit and loss data in this case, since the score of C1 is 30 (10 + 20) < the score of C2 is 40 (20 + 20), it becomes C2. Note that the second classification unit 119 may take the average of the scores instead of the sum of the scores of the categories as the score of the profit and loss data. That is, in the example described above, since the score of category C1 is 25 (30 + 20 / 2) and the score of category C2 is 40, when taking the average, the category of the profit and loss data is C2. Note that the calculation method of the category score is not limited to the example described here and may be appropriately changed as appropriate.

[0070] The second classification unit 119 registers the category of the new profit and loss data in the profit and loss database 151 in association with the profit and loss data.

[0071] In this way, in the communication system 1 according to the present embodiment, by varying the classification model used according to the amount of entropy of the profit and loss data, the classification accuracy can be improved. The above is the configuration of the server 10.

[0072] <Data> Next, the profit and loss database 151 will be described with reference to FIG. 3(a). The profit and loss database 151 is a database that integrates and associates the profit and loss data of one or more users with the category that is the classification result. FIG. 3(a) is a diagram showing an example of the data configuration of the profit and loss database 151. As shown in FIG. 3(a), the profit and loss database 151 is information in which a user ID 301, a profit and loss ID 302, a date and time 303, an expense 304, a major category 305, a minor category 306, extraction information 307, and a correction history 308 are associated.

[0073] The user ID 301 is identification information of a user that can uniquely identify each user on the communication system 1.

[0074] The balance ID 302 is identification information of balance data that can uniquely identify each piece of balance data of each user on the communication system 1.

[0075] The date and time 303 is information indicating the date and time when the balance according to the corresponding balance data occurred, that is, the date and time when the user paid money or received income. Note that in Fig. 3(a), only the date is shown due to space limitations. Note that the date and time 303 may be information up to the date without including time information, as shown in Fig. 3(a).

[0076] The expense 304 is information indicating the face amount of money paid or earned by the corresponding user in the balance indicated in the corresponding balance data.

[0077] The major category 305 is information indicating the contents of a major classification of the corresponding income and expenditure data.

[0078] The minor category 306 is a classification of the corresponding income and expenditure data, and is information indicating a classification item (category) obtained by subdividing the corresponding major category 305 under the major category 305. Note that there do not need to be two categories of income and expenditure data, the major category 305 and the minor category 306, and there may be only one, or conversely, there may be three or more. Also, here, the minor category 306 is a classification item obtained by subdividing the major category 305, but the minor category 306 may be a category different from the major category 305 that is parallel to the major category 305.

[0079] The extracted information 307 is information other than date and time and cost that is included in the corresponding balance data. The extracted information 307 may be, for example and without limitation, the name of the store where the product or service was purchased or the service providing location, the name of the purchased product or service, the address of the product sales location or the service providing location, the location information of the user's terminal at the time of purchase or service receipt, the name of the accompanying person, the means of transportation used to visit the store, or, if the purchase of the product or service is related to some event (for example and without limitation, a birthday or anniversary), the name of the event. In other words, the extracted information 307 may be information that contributes to identifying the category of the balance data.

[0080] The revision history 308 indicates a history of whether or not a user has revised a category classified by the server 10 in the past. Balance data with revision history 308 indicating "Yes" indicates that the balance data of the corresponding user will be used for the first classification using pattern matching.

[0081] The existence of the balance database 151 enables the server 10 to perform classification of new balance data.

[0082] Next, an example of the balance data acquired by the acquiring unit 114 will be shown with reference to FIG.

[0083] As shown in FIG. 3B, the balance data 310 is information in which a user ID 311, a date and time 312, and a balance content 313 are associated with each other.

[0084] The user ID 311 is user identification information that can identify whose balance the balance data 310 is for and can uniquely identify each user on the communication system 1. The user ID 311 in FIG. 3(b) and the user ID 301 in FIG. 3(a) are the same information. Note that the balance data 310 may use information other than the user ID as long as the corresponding user can be identified. For example, when a user transmits balance data via a talk room, information on the talk room may be used. Since the server 10 holds information on the talk room, if it is possible to identify which talk room the balance data was transmitted to, it is possible to derive the corresponding user.

[0085] The date and time 312 is information indicating the date and time when the balance in the balance data 310 occurred.

[0086] The balance details 313 are information showing the details of the balance shown in the balance data 310, and may include amounts showing the face value of expenditures or incomes, the place where expenditures occurred, and the names of purchased goods or services as details of the balance. In other words, the correction details 313 are information equivalent to the expenses 304 and the extracted information 307 in the balance database 151. The balance details 313 are mainly used for classifying the balance data.

[0087] <Operation> From here, the operations of the communication system 1, the server 10, and the terminal 20 according to this embodiment will be described.

[0088] Fig. 4 is a sequence diagram showing an example of an exchange between the server 10 and the terminal 20 in the communication system 1. Fig. 4 is a diagram showing an exchange when a new category of balance data is displayed on the terminal 20.

[0089] 4, the terminal 20 accepts input of balance data (step S401). When the terminal 20 accepts the input of the balance data, the terminal 20 transmits the balance data to the server 10 (step S402).

[0090] When the server 10 receives the balance data from the terminal 20, it classifies the balance data (step S403). That is, the server 10 assigns a category to the received balance data. When the server 10 assigns a category to the balance data, it transmits the balance data and the associated category to the terminal 20 that transmitted the balance data (step S404).

[0091] When the terminal 20 receives the balance data associated with the category from the server 10, the terminal 20 displays the received balance data and its category on the display unit 24 (step S405). In this way, the terminal 20 can classify the balance data into categories by linking with the server 10.

[0092] Fig. 5 is a flowchart showing the operation of the server 10 for realizing the process of step S403 in the exchange shown in Fig. 4. Fig. 5 is a flowchart showing the classification process of balance data when the server 10 receives balance data from a user.

[0093] As shown in FIG. 5, the communication I / F 14 of the server 10 receives new balance data from the user via the network 30. The acquisition unit 114 of the control unit 11 of the server 10 acquires the balance data received by the communication I / F 14 (step S501). Here, the balance data acquired by the acquisition unit 114 may be data transmitted from the terminal 20 as described above, or may be statement data acquired as balance data from an EC site or the like. Even when the balance data is acquired from the terminal 20, the acquired balance data may be text data input by the user, statement data related to balance, or image data of a receipt. When the acquisition unit 114 acquires new balance data, it transmits the acquired new balance data to the first judgment unit 115.

[0094] When the first judgment unit 115 receives new balance data from the acquisition unit 114, the first judgment unit 115 refers to the balance database (DB) 151 and judges whether the new balance data can be classified from the classified balance data, that is, whether the new balance data can be classified into a category (whether a category can be assigned) (step S502). That is, the first judgment unit 115 identifies whether there is balance data that matches the user ID 311 indicated by the new balance data by referring to the user ID 301 in the balance database 151. The first judgment unit 115 extracts balance data whose correction history 308 is "Yes" from the identified balance data. Then, the first judgment unit 115 judges whether there is any match between the extracted information 307 of the extracted balance data and the balance content 313 of the new balance data. As a result, if there is any match between the extracted information 307 of the extracted balance data and the balance content 313 of the new balance data, the first judgment unit 115 judges that the new balance data can be classified into a category, and if there is no match, it judges that the new balance data cannot be classified into a category.

[0095] When the first judgment unit 115 judges that the new balance data can be classified (YES in step S502), the first judgment unit 115 transmits that fact and the new balance data to the first classification unit 116. When the first classification unit 116 receives the new balance data from the first judgment unit 115, the first classification unit 116 classifies the balance details 313 of the new balance data and the major category 305 and minor category 306 of the balance data assigned to the balance data whose correction history 308 is "Yes" and whose extraction information 307 matches, as categories of the new balance data (step S503). The first classification unit 116 associates the new balance data with the category, registers it in the balance database 151, and ends the process. Note that when there are multiple balance data whose balance details 313 of the new balance data and whose extraction information 307 match, but the corresponding categories do not match, the category of the balance data with the most recent date and time may be used. The category of income / expense data that a user has previously revised becomes a confirmed classification for that user, so when new income / expense data has similar content, the accuracy of categorizing the income / expense data can be improved by using a category that the user has previously assigned, thereby enabling categorization that is satisfactory to each user.

[0096] When the first judging unit 115 judges that the new balance data cannot be classified (NO in step S502), the first judging unit 115 transmits the new balance data to the calculation unit 117.

[0097] When the calculation unit 117 receives the new balance data, the calculation unit 117 calculates the entropy (step S504). The calculation unit 117 transmits the calculated entropy and the corresponding new balance data to the second judging unit 118.

[0098] When the second judgment unit 118 receives the entropy from the calculation unit 117, the second judgment unit 118 judges whether or not the value indicated by the entropy is equal to or greater than a specific value (step S505). In other words, the second judgment unit 118 judges whether or not the content of the new balance data is ambiguous.

[0099] If the second judgment unit 118 determines that the entropy is equal to or greater than the specific value (YES in step S505), it transmits to the second classification unit 119 a message that the entropy is equal to or greater than the specific value and new balance data. On the other hand, if the second judgment unit 118 determines that the entropy is less than the specific value (NO in step S505), it transmits to the second classification unit 119 a message that the entropy is less than the specific value and new balance data.

[0100] When the second classification unit 119 receives the entropy judgment result and new balance data from the second judgment unit 118, it classifies the new balance data into categories.

[0101] When the second classification unit 119 receives information from the second judgment unit 118 that the entropy is equal to or greater than a specific value (YES in step S505), it classifies the new balance data using the first model 152 (step S506). That is, the date and time 132 and balance details 313 of the new balance data are input, and an estimation process is performed using the first model 152 (a decision tree model is used as an example, not a limitation) to identify a category to be assigned. The second classification unit 119 classifies the new balance data into a category by associating the identified category with the new balance data and registering it in the balance database 151.

[0102] On the other hand, when the second classification unit 119 receives information from the second judgment unit 118 that the entropy is less than a specific value (NO in step S505), the second classification unit 119 classifies the new income and expenditure data using the second model 153, which is a model different from the first model 152 (step S507). That is, the income and expenditure content 313 of the new income and expenditure data is divided into word units, the category of each word is identified using the second model 153, and the category of the new income and expenditure data is identified from the category of each identified word. Then, the second classification unit 119 classifies the new income and expenditure data into categories by associating the identified category with the new income and expenditure data and registering it in the income and expenditure database 151. In this way, the second classification unit 119 can improve the classification accuracy by changing the classification method of the data to be classified, i.e., the income and expenditure data, based on its entropy, and can provide a classification program (household accounting application) that can perform classification with high satisfaction for the user.

[0103] Thereafter, the control unit 11 of the server 10 transmits information capable of identifying the new balance data (which may be the new balance data itself) and the identified category to the terminal 20 via the communication I / F 14. This enables the terminal 20 to display the category and the balance data in association with each other, allowing the user to recognize the category of the new balance data.

[0104] FIG. 6 is a flowchart showing an example of the operation of the terminal 20 for implementing the exchange shown in FIG.

[0105] 6, the input / output unit 23 of the terminal 20 receives input of income and expenditure data from a user (step S601). This input may be text input to a chat room or a household account book application, input of statement data, or an image of a receipt or the like.

[0106] When the input / output unit 23 of the terminal 20 accepts the input of the balance data, it transmits it to the server 10 via the communication I / F 22 (step S602). As a result, the server 10 executes a classification process of the new balance data.

[0107] The communication I / F 22 of the terminal 20 receives information on the balance data and the associated category (step S603). If the balance data has been entered into the talk room in step S601, the communication I / F 22 transmits the balance data and category information to the message processing unit 211. If the balance data has been entered into the household account book application in step S601, the communication I / F 22 transmits the balance data and category information to the household account book application execution unit 213.

[0108] The display processing unit 212 displays the new income and expenditure data and the associated category in accordance with an instruction from the message processing unit 211 or the household account book application execution unit 213 (step S604).

[0109] The input / output unit 23 judges whether or not a correction input for the category of the new balance data has been received from the user (step S605). The category correction input may be selected from a plurality of predetermined categories, or may be directly input by the user. If a category correction input has been received (YES in step S605), the communication I / F 14 transmits information capable of identifying the new balance data (which may be the new balance data itself) and the corrected category in accordance with an instruction from the control unit 21 (step S606), and ends the process. Note that if the input / output unit 23 has not received a correction input (NO in step S605), the process ends as it is. The operation of the terminal 20 has been described above.

[0110] Next, a process to be performed when the user is not satisfied with the category assigned to the new balance data will be described. Fig. 7 is a sequence diagram showing the exchange between the server 10 and the terminal 20 when correcting the category of the new balance data, and shows the exchange after the process of step S405 in Fig. 4.

[0111] The input / output unit 23 of the terminal 20 accepts an input of a correction to the displayed category from the user (step S701).

[0112] The terminal 20 transmits the accepted corrected category and the corresponding balance data to the server 10 (step S702).

[0113] When the server 10 receives the corrected category and the corresponding balance data from the terminal 20, it corrects the category to which the balance data corresponds in the balance database 151 to the corrected category, updates the balance database 151, and stores it (step S703).

[0114] After updating the balance database 151, the server 10 transmits the corrected category and balance data to the terminal 20 (step S704).

[0115] Upon receiving the corrected category and balance data, the terminal 20 associates the corrected category with the balance data and displays them on the display unit 24 (step S705).

[0116] Incidentally, the terminal 20 may display the corrected category and balance data at the time when the category correction is received from the user, in which case the processes of steps S704 and S705 may be omitted.

[0117] Fig. 8 is a flow chart showing an example of the operation of the server 10 for realizing the exchange shown in Fig. 7. The operation of the terminal 20 corresponds to the processes of steps S605 and S606 in Fig. 6.

[0118] As shown in FIG. 8, the control unit 11 of the server 10 receives a combination of balance data and category information from a user terminal (step S801).

[0119] The control unit 11 judges whether the received balance data is registered in the balance database 141 (step S802).

[0120] If the received balance data is registered in the balance database 141 (YES in step S802), the control unit 11 updates the category associated with the registered balance data in the balance database 141 to the category indicated by the received category information (step S803), and ends the process. After that, the control unit 11 transmits the corrected category and the balance data to the terminal 20.

[0121] If the received balance data is not registered in the balance database 141 (NO in step S802), the control unit 11 newly registers it in the balance database 141 (step S804) and ends the process. The process in step S804 is a process in the case where the user specifies a category from the beginning.

[0122] As shown in FIGS. 7 and 8, in the communication system 1, the user can correct the category that the server 10 has assigned to the balance data.

[0123] <Modification of embodiment> In the above embodiment, the server 10 executes the classification process, but the terminal 20 may execute the classification process, or the terminal 20 may be configured to have the functions that the server 10 had, as shown in FIG. 9.

[0124] That is, the storage unit 28 may store the income / expense database 251, the first model 252, and the second model 253, and the control unit 21 may store the acquisition unit 214, the first judgment unit 215, the first classification unit 216, the calculation unit 217, the second judgment unit 218, and the second classification unit 219. The income / expense database 251 corresponds to the income / expense database 151, the first model 252 corresponds to the first model 152, and the second model 253 corresponds to the second model 153. Similarly, the acquisition unit 214 corresponds to the acquisition unit 114, the first judgment unit 215 corresponds to the first judgment unit 115, the first classification unit 216 corresponds to the first classification unit 116, the calculation unit 217 corresponds to the calculation unit 117, the second judgment unit 218 corresponds to the second judgment unit 118, and the second classification unit 219 corresponds to the second classification unit 119, respectively.

[0125] At this time, the first model 252 and the second model 253 may be pre-installed or may be provided by the server 10 and stored in the storage unit 28 at the timing of installing the household accounting application. When the first model 252 and the second model 253 are updated, they may be acquired from the server 10. Furthermore, the income and expenditure database 151 includes income and expenditure data of a plurality of users, but the income and expenditure database 151 is a database specialized for an individual user of the terminal 20.

[0126] In this way, the functions held by the server 10 can also be realized by the terminal 20 as long as the storage capacity of the storage unit 28 and the processing performance of the control unit 21 allow.

[0127] In the above embodiment, an example is shown in which income and expenditure data, which is an expenditure, is classified as a classification target, but it is not limited to expenditure and may be related to income, and in that case, the categories may be, for example, monthly salary, bonus, part-time income, etc. In the above embodiment, income and expenditure data related to the income and expenditure of a user is shown as an example of a classification target, but the classification target is not limited to income and expenditure data related to income and expenditure and may be used for classification in other fields. In classifying data that has multiple categories, if the entropy is calculated and the model used for classification is changed depending on the level of the entropy, it may be used for classifying other types of data. As a non-limiting example, when classifying image data using the contents or metadata of the image data, the entropy of the image data or the metadata of the image data may be calculated and the model used for classification may be changed depending on the level of the entropy to assign a category.

[0128] Furthermore, if there is no category to classify as a result of classification using the first model or classification using the second model, the server 10 (or the terminal 20) may classify the item into the closest category, or may be configured to output error information indicating that classification was not possible.

[0129] In addition, the first model (152, 252) and the second model (153, 253) may be updated as appropriate to improve the accuracy of the estimation. For example and not by way of limitation, the first model (152, 252) and the second model (153, 253) may be updated at an appropriate timing, such as monthly or semi-annual.

[0130] <Effects of the embodiment> As shown in the above embodiment, when the server 10 (or the terminal 20) is unable to classify the balance data based on the category that the user has previously modified using the balance database 151, the server 10 (or the terminal 20) calculates the entropy of the balance data and changes the classification method depending on the level of the entropy, i.e., the degree of ambiguity. That is, when the entropy of the balance data is high, the server 10 (or the terminal 20) performs classification using the first model 152 (a decision tree model as an example, but is not limited to this), and when the entropy of the balance data is low, the server 10 (or the terminal 20) performs classification using the second model 153.

[0131] This allows the server 10 (or the terminal 20) to classify the income and expenditure data with a high degree of accuracy that could not be obtained by simple morphological analysis. Therefore, it is possible to provide the user with a classification method and a program therefor that provide high classification reliability.

[0132] Furthermore, the balance data may be information including the amount of the purchase of the product or service, the date and time when the balance occurred, and the name of the purchased product or service or the date and time of purchase.

[0133] By including these pieces of information in the balance data, the server 10 (or the terminal 20) can classify the balance data with high accuracy.

[0134] Furthermore, the server 10 (or the terminal 20) may classify new balance data using balance data whose category has been modified by the user in the past.

[0135] If there is balance data that matches the contents of past balance data and the user has modified the category, the balance data indicates that the user has specified a category. Therefore, the server 10 (or the terminal 20) can classify new balance data definitively, i.e., with confidence.

[0136] Furthermore, the server 10 (or the terminal 20) classifies new balance data by using the first model that has learned the balance data of a plurality of users and the categories associated with each other.

[0137] This allows the server 10 (or the terminal 20) to classify new balance data even if the balance data has a high degree of ambiguity.

[0138] In addition, the server 10 (or the terminal 20) classifies the new balance data by referring to the words contained in the balance data and the categories assigned to the balance data containing those words, and identifying the category of each word contained in the new balance data.

[0139] This allows the server 10 (or the terminal 20) to appropriately classify new balance data when the degree of ambiguity of the balance data is small.

[0140] Furthermore, the terminal 20 may output (display) the category of the new balance data together with the balance data.

[0141] This allows the user of the terminal 20 to uniquely recognize the category of the new balance data.

[0142] Furthermore, the input / output unit 23 of the terminal 20 may receive, from the user, an input for correcting the category assigned to the income / expense data.

[0143] This allows the user to modify the category assigned by the server 10 (or the terminal 20) if the user is not satisfied with the category.

[0144] Furthermore, when the server 10 (or the terminal 20) receives a correction of a category from a user, the server 10 (or the terminal 20) may store the corrected category in association with the balance data.

[0145] Thereby, when the server 10 (or the terminal 20) subsequently receives similar new balance data, it can appropriately classify the balance data.

[0146] The data to be classified using the entropy and the model is not limited to income and expenditure data in a household account book. For example, the entropy of accounting data may be calculated, and the model for classifying into account items may be switched depending on the entropy. [Explanation of symbols]

[0147] 1. Communication Systems 10 Server 11 Control section 111 Message processing unit 114 Acquisition Department 115 1st Judgment Department 116 1st classification section 117 Calculation section 118 Second Judgment Department 119 Second Classification Division 12 Input / output section 13 Display section 14 Communication I / F (communication section) 20 Terminals 21 Control section 211 Message Processing Unit 212 Display processing unit 213 Household Accounting App Executive Division 214 Acquisition Department 215 1st Judgment Department 216 1st Classification Department 217 Calculation Section 218 Second Judgment Department 219 Second Classification Division 22 Communication I / F 23 Input / output section 231 Touch Panel 232 Mike 233 Speaker 234 Camera 24 Display unit (display) 28 Memory section 30 Network

Claims

1. On the computer, An acquisition function for acquiring new data of the target user; a first determination function for making a first determination as to whether the new data can be classified into a category based on the classified balance data by referring to a balance database; a first classification function that executes a first classification to classify the new data into any of the categories already classified by the target user when the first judgment determines that the new data can be classified into a category; a calculation function for calculating an entropy of the new data when the first determination determines that the new data cannot be classified into a category; a second determination function for making a second determination as to whether the entropy, which indicates the degree of ambiguity of the new data, is equal to or greater than a certain value; a second classification function that performs a second classification, in which, when the second judgment determines that the entropy is equal to or greater than the specific value, the new data is classified into a category according to a first model, and, when the second judgment determines that the entropy is less than the specific value, the new data is classified into a category according to a second model different from the first model; A classification program that achieves this.

2. 2. The data classification program according to claim 1, The data is data related to income and expenditure, and includes at least any of information including the amount of the purchase of the goods or services, the date and time when the income and expenditure occurred, and the name of the purchased goods or services or the place where the purchase was made; The classification program is configured to: An extraction function is realized for extracting information including the amount, the date and time, the name of the purchased product or service, or the place of purchase from the data.

3. 3. The data classification program according to claim 2, The first model is a model in which a plurality of users have learned a relationship between data and a category into which the data is classified, The second classification function classifies the new data into categories through an estimation process involving deep learning using the first model.

4. 4. The data classification program according to claim 2, A division function is implemented in the computer to divide the name of the purchased product or service or the information on the place of purchase into words; the second model is a model that learns a relationship between a word and a category into which data including the word is classified; The second classification function assigns a category to each of the words resulting from the segmentation using the second model, and classifies the new data based on the category assigned to each word.

5. The classification program according to any one of claims 1 to 4, The computer is caused to realize an output function of outputting a category into which the new data classified by the first classification function or the second classification function has been classified, together with the new data.

6. The classification program according to claim 5, The computer is caused to realize a correction function that accepts corrections to the category of the new data classified by the first classification function or the second classification function from a user of the terminal of the target user.

7. The classification program according to claim 6, The computer is caused to realize a storage function for storing the new data and the received corrected category in association with each other.

8. An acquisition unit for acquiring new data of a target user; a first determination unit that refers to an income / expense database and makes a first determination as to whether the new data can be classified into a category based on the classified income / expense data; a first classification unit that executes a first classification to classify the new data into any of the categories already classified by the target user when the first judgment determines that the new data can be classified into a category; a calculation unit that calculates an entropy of the new data when it is determined that the new data cannot be classified into a category by the first determination; a second determination unit that makes a second determination as to whether the entropy indicating the degree of vagueness of the new data is equal to or greater than a specific value; a second classification unit that performs a second classification in which, when the second judgment determines that the entropy is equal to or greater than the specific value, the new data is classified into a category according to a first model, and, when the second judgment determines that the entropy is less than the specific value, the new data is classified into a category according to a second model different from the first model; A terminal comprising:

9. The computer Obtaining new data of the target user; making a first determination as to whether the new data can be classified into a category based on classified balance data by referring to a balance database; When the first determination determines that the new data can be classified into a category, performing a first classification to classify the new data into any of the categories already classified by the target user; Calculating an entropy of the new data when the first determination determines that the new data cannot be classified into a category; making a second determination as to whether the entropy, which indicates the degree of vagueness of the new data, is greater than or equal to a particular value; and performing a second classification, in which, if the second determination determines that the entropy is equal to or greater than the specific value, the new data is classified into a category according to a first model, and, if the second determination determines that the entropy is less than the specific value, the new data is classified into a category according to a second model different from the first model; A data classification method using an information processing device comprising:

Citation Information

Patent Citations

  • Information processing apparatus, method and program

    JP2012146159A

  • Marketing information sales system

    JP2014056341A

  • Estimation device, estimation method, estimation program, and model

    JP2019020980A

  • Information processing device, information processing method, information processing program, and recording medium

    WO2013180121A1

  • Accounting system and accounting method

    WO2018179411A1

Cited By

  • System and method for supervising expense or income

    US20230410214A1