Industry classification method, device, system and computer-readable storage medium
By extracting and processing the transaction data of the objects to be classified, and using word segmentation, industry priority and transaction feature information, the target industry is automatically determined, solving the problems of low efficiency and unreliability of manual classification in the existing technology, and realizing efficient and accurate industry classification. Classification.
Patent Information
- Application Number
- CN202110040343.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-01-12
- Publication Date
- 2024-09-10
- Estimated Expiration
- 2041-01-12
AI Technical Summary
Existing industry classification methods mainly rely on manual classification, which results in low efficiency and unreliability, and cannot effectively process large amounts of data, affecting the accuracy and efficiency of industry classification.
By obtaining the transaction data of objects to be classified for extraction and processing, and using word segmentation, industry priority, timing and transaction feature information, the target industry is automatically determined, replacing traditional manual classification methods.
It improves the efficiency and accuracy of industry classification, reduces labor costs, and achieves fast and reliable industry classification results.
Smart Images

Figure CN112765349B
Abstract
Description
Technical Field
[0001] The present invention relates to the field of data processing technology, and in particular to an industry classification method, device, system and computer-readable storage medium. Background Art
[0002] By classifying the objects to be classified into different industries, we can explain the current development stage of the industry to which the objects to be classified correspond and its position in the national economy. We can also analyze the various factors that affect the development of the industry and judge the impact of the industry. We can also predict and guide the future development trend of the industry, judge the investment value of the industry, reveal the direction of the industry, and provide investment decisions or investment basis for various organizations.
[0003] Most of the existing technical solutions solve the industry classification problem of the objects to be classified through manual classification, which requires a lot of manpower and leads to low efficiency of industry classification. Summary of the invention
[0004] The main purpose of the present invention is to propose an industry classification method, device, system and computer-readable storage medium, aiming to improve the efficiency of industry classification.
[0005] To achieve the above object, the present invention provides an industry classification method, which comprises the following steps:
[0006] Acquire transaction data of the object to be classified, and extract and process the transaction data to obtain corresponding extraction information;
[0007] The target industry of the object to be classified is determined according to the extracted information.
[0008] Preferably, the step of determining the target industry of the object to be classified according to the extracted information comprises:
[0009] When the extracted information includes the name of the object to be classified, performing word segmentation processing on the name to obtain the name segmentation of the object to be classified;
[0010] Determining whether the name participle contains the industry participle of the object to be classified;
[0011] If included, the first undetermined industry of the object to be classified is determined according to the industry segmentation, and the target industry of the object to be classified is determined according to the first undetermined industry.
[0012] Preferably, the first to-be-determined industry includes at least two industries, and the step of determining the target industry of the object to be classified according to the first to-be-determined industry includes:
[0013] Obtaining a preset industry priority, and determining a second pending industry with the highest industry priority from among the first pending industries according to the preset industry priority;
[0014] When the second undetermined industry includes only one industry, the second undetermined industry is determined as the target industry of the object to be classified.
[0015] Preferably, after the step of determining the second pending industry with the highest industry priority from the first pending industries, the method further includes:
[0016] When the second to-be-determined industry includes at least two industries, obtaining the output word sequence of the industry segmentation words corresponding to each of the second to-be-determined industries, and mapping the output word sequence to the industry time sequence of the object to be classified;
[0017] According to the industry sequence, the target industry of the object to be classified is determined from the second undetermined industries.
[0018] Preferably, the step of determining the target industry of the object to be classified from the second to-be-determined industries according to the industry time sequence comprises:
[0019] Determine a fourth pending industry of the object to be classified from the second pending industry according to a preset time sequence rule and the industry time sequence;
[0020] When the fourth to-be-determined industry includes at least two industries, acquiring transaction feature information from the extracted information of the to-be-classified object, and determining the industry probability corresponding to each of the fourth to-be-determined industries according to the transaction feature information;
[0021] According to the industry probability, the target industry of the object to be classified is determined.
[0022] Preferably, the step of determining the target industry of the object to be classified according to the extracted information comprises:
[0023] When the extracted information includes transaction feature information of the object to be classified, constructing an industry probability of the industry to which the object to be classified belongs according to the transaction feature information;
[0024] According to the industry probability, the target industry of the object to be classified is determined.
[0025] Preferably, the method further comprises:
[0026] Receiving a batch classification instruction input by a user, and acquiring a target classification word carried in the batch classification instruction, and a target to-be-classified object containing the target classification word;
[0027] The target objects to be classified are associated with the target classification words to perform batch classification of the industries of the target objects to be classified.
[0028] In addition, to achieve the above-mentioned purpose, the present invention further provides an industry classification device, the industry classification device comprising:
[0029] An extraction processing module, used to obtain transaction data of the object to be classified, and perform extraction processing on the transaction data to obtain corresponding extraction information;
[0030] An industry determination module is used to determine the target industry of the object to be classified according to the extracted information.
[0031] Preferably, the industry determination module is further used for:
[0032] When the extracted information includes the name of the object to be classified, performing word segmentation processing on the name to obtain the name segmentation of the object to be classified;
[0033] Determining whether the name participle contains the industry participle of the object to be classified;
[0034] If included, the first undetermined industry of the object to be classified is determined according to the industry segmentation, and the target industry of the object to be classified is determined according to the first undetermined industry.
[0035] Preferably, the first undetermined industry includes at least two industries, and the industry determination module is further used for:
[0036] Obtaining a preset industry priority, and determining a second pending industry with the highest industry priority from among the first pending industries according to the preset industry priority;
[0037] When the second undetermined industry includes only one industry, the second undetermined industry is determined as the target industry of the object to be classified.
[0038] Preferably, the industry determination module further includes a time series classification unit, and the time series classification unit is used to:
[0039] When the second to-be-determined industry includes at least two industries, the output word sequence of the industry segmentation words corresponding to each of the second to-be-determined industries is obtained, and the output word sequence is mapped to the industry time sequence of the object to be classified;
[0040] According to the industry sequence, the target industry of the object to be classified is determined from the second undetermined industries.
[0041] Preferably, the time series classification unit is further used for:
[0042] Determine a fourth pending industry of the object to be classified from the second pending industry according to a preset time sequence rule and the industry time sequence;
[0043] When the fourth to-be-determined industry includes at least two industries, acquiring transaction feature information from the extracted information of the to-be-classified object, and determining the industry probability corresponding to each of the fourth to-be-determined industries according to the transaction feature information;
[0044] According to the industry probability, the target industry of the object to be classified is determined.
[0045] Preferably, the industry classification device further comprises a probability determination module, and the probability determination module is used to:
[0046] When the extracted information includes transaction feature information of the object to be classified, constructing an industry probability of the industry to which the object to be classified belongs according to the transaction feature information;
[0047] According to the industry probability, the target industry of the object to be classified is determined.
[0048] Preferably, the industry classification device further comprises a batch classification module, and the batch classification module is used for:
[0049] Receiving a batch classification instruction input by a user, and acquiring a target classification word carried in the batch classification instruction, and a target to-be-classified object containing the target classification word;
[0050] The target objects to be classified are associated with the target classification words to perform batch classification of the industries of the target objects to be classified.
[0051] In addition, to achieve the above-mentioned purpose, the present invention also provides an industry classification system, which includes: a memory, a processor, and an industry classification program stored in the memory and executable on the processor, and the industry classification program implements the steps of the industry classification method described above when executed by the processor.
[0052] In addition, to achieve the above-mentioned purpose, the present invention also provides a computer-readable storage medium, on which an industry classification program is stored, and when the industry classification program is executed by a processor, the steps of the industry classification method described above are implemented.
[0053] The industry classification method proposed in the present invention obtains the transaction data of the object to be classified, extracts and processes the transaction data, obtains corresponding extraction information, and determines the target industry of the object to be classified based on the extraction information. The present invention extracts and processes the transaction data of the object to be classified, thereby determining the target industry of the object to be classified, replacing the traditional method of manual industry classification and improving the efficiency of industry classification. BRIEF DESCRIPTION OF THE DRAWINGS
[0054] Figure 1 It is a schematic diagram of the system structure of the hardware operating environment involved in the embodiment of the present invention;
[0055] Figure 2 This is a flow chart of the first embodiment of the industry classification method of the present invention;
[0056] Figure 3 A flow chart of a preferred embodiment of the industry classification method of the present invention;
[0057] Figure 4 This is a schematic diagram of the functional modules of a preferred embodiment of the industry classification method of the present invention.
[0058] The realization of the purpose, functional features and advantages of the present invention will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION
[0059] It should be understood that the specific embodiments described herein are only used to explain the present invention, and are not used to limit the present invention.
[0060] like Figure 1 As shown, Figure 1 It is a schematic diagram of the system structure of the hardware operating environment involved in the embodiment of the present invention.
[0061] The system in the embodiment of the present invention may be a management server or a cloud server.
[0062] like Figure 1 As shown, the system may include: a processor 1001, such as a CPU, a network interface 1004, a user interface 1003, a memory 1005, and a communication bus 1002. Among them, the communication bus 1002 is used to realize the connection and communication between these components. The user interface 1003 may include a display screen (Display), an input unit such as a keyboard (Keyboard), and the optional user interface 1003 may also include a standard wired interface and a wireless interface. The network interface 1004 may optionally include a standard wired interface and a wireless interface (such as a WI-FI interface). The memory 1005 may be a high-speed RAM memory, or a stable memory (non-volatile memory), such as a disk memory. The memory 1005 may also be a storage device independent of the aforementioned processor 1001.
[0063] Those skilled in the art will understand that Figure 1 The system structure shown in the figure does not constitute a limitation of the system, and may include more or less components than shown in the figure, or combine certain components, or arrange the components differently.
[0064] like Figure 1 As shown, the memory 1005 as a computer storage medium may include an operating system, a network communication module, a user interface module, and an industry classification program.
[0065] Among them, the operating system is a program for managing and controlling the industry classification system and software resources, supporting the operation of the network communication module, user interface module, industry classification program and other programs or software; the network communication module is used to manage and control the network interface 1002; the user interface module is used to manage and control the user interface 1003.
[0066] exist Figure 1 In the industry classification system shown, the industry classification system calls the industry classification program stored in the memory 1005 through the processor 1001, and executes the operations in each embodiment of the following industry classification method.
[0067] Based on the above hardware structure, an embodiment of the industry classification method of the present invention is proposed.
[0068] Reference Figure 2 , Figure 2 This is a flow chart of a first embodiment of the industry classification method of the present invention, the method comprising:
[0069] Step S10, acquiring transaction data of the object to be classified, and extracting and processing the transaction data to obtain corresponding extraction information;
[0070] The industry classification method of this embodiment is applied to the industry classification system of major organizations. Industry classification can better judge the investment value of the industry, reveal the industry trend, provide investment decisions or investment basis for organizations, and facilitate organizations to manage various industries.
[0071] Most of the existing technical solutions solve the industry classification problem of the objects to be classified through manual classification, which requires a lot of manpower and leads to low efficiency of industry classification. Moreover, manual classification cannot guarantee the reliability and accuracy of industry classification.
[0072] In this embodiment, the object to be classified is preferably a merchant, wherein a merchant refers to a small, medium and micro enterprise with a physical production and operation site established by the citizen class. To classify merchants by industry, the industry classification system will first combine the traditional merchant categories and the transaction categories provided by payment, financial management, accounting and other operations in the Internet scenario to build an industry classification system, and require the system to cover all industries as much as possible, and then extract and process the merchant's transaction data to obtain the corresponding extraction information, wherein the extraction information may include industry information that can identify the merchant's industry, such as the merchant's name, etc.; or may not include industry information that can identify the merchant's industry, such as the merchant's transaction feature information (transaction amount, transaction time), etc.
[0073] Step S20. Determine the target industry of the object to be classified according to the extracted information.
[0074] In this embodiment, if the extracted information contains industry information that can identify the merchant industry, such as the merchant name, etc., the target industry of the merchant can be determined according to this industry information; if the extracted information does not contain industry information that can identify the merchant industry, other information needs to be obtained from the extracted information for processing, so as to determine the target industry of the merchant.
[0075] Further, step S20 further includes:
[0076] Step a1. When the extracted information contains the name of the object to be classified, perform word segmentation on the name to obtain the name word segmentation of the object to be classified.
[0077] Step a2. Determine whether the name word segmentation contains the industry word segmentation of the object to be classified.
[0078] Step a3. If it contains, determine the first pending industry of the object to be classified according to the industry word segmentation, and determine the target industry of the object to be classified according to the first pending industry.
[0079] In this embodiment, when the extracted information contains the name of the object to be classified, such as the merchant name, the merchant name is segmented by a preset word segmentation algorithm. The preset word segmentation algorithm is preferably Chinese word segmentation technology. Specifically, a construction instruction input by the user can be received, and based on the Chinese word segmentation technology, a redundant word dictionary in the industry classification system is constructed. Among them, redundant words are also called stop words. Redundant words are used to save storage space and improve search efficiency. During the word segmentation process, certain words or characters will be automatically filtered out. These redundant words are all manually input and not automatically generated. After generation, the redundant words will form a redundant word dictionary, which is used to eliminate words that cannot identify the merchant industry, such as words without actual meaning like "de", "di", "de", etc., and special symbols such as punctuation marks, so as to improve the efficiency of industry classification. Similarly, a common word dictionary is constructed to retain the complete merchant name and industry name as much as possible during word segmentation to ensure the accuracy of industry classification. For example, the name of the merchant is segmented into consecutive word sequences in order, and then it is judged whether the consecutive word sequences are in the constructed dictionary, and at the same time, combined with the preset word segmentation rules to determine whether each consecutive word sequence is the final name word segmentation. Moreover, according to different word segmentation rules for word segmentation processing, the final name word segmentation is also different.
[0080] Since the name of a merchant may contain industry information of the industry to which the merchant belongs, such as "XXX Shopping Mall Barbecue", the industry corresponding to "shopping mall" is the shopping industry, and the industry corresponding to "barbecue" is the catering industry, it may not contain industry information, such as "Yoshinoya". Therefore, the name of the merchant is segmented through a preset algorithm and preset segmentation rules, and the obtained name segmentation may contain the corresponding industry segmentation or may not contain the industry segmentation. When the name segmentation contains the industry segmentation, the industry segmentation may be one or more, and each industry segmentation corresponds to an industry that matches it. Therefore, according to the industry segmentation, one or more industries of the merchant can be identified, that is, the first pending industry, so as to further determine the target industry of the merchant from the first pending industry.
[0081] The industry classification method of this embodiment, the industry classification method proposed by the present invention, obtains the transaction data of the object to be classified, and extracts and processes the transaction data to obtain corresponding extraction information; according to the extraction information, the target industry of the object to be classified is determined. The present invention extracts and processes the transaction data of the object to be classified, thereby determining the target industry of the object to be classified, replacing the traditional method of manual industry classification, thereby improving the efficiency of industry classification.
[0082] Furthermore, based on the first embodiment of the industry classification method of the present invention, a second embodiment of the industry classification method of the present invention is proposed.
[0083] The second embodiment of the industry classification method is different from the first embodiment of the industry classification method in that the first to-be-determined industry includes at least two industries, and the step of determining the target industry of the object to be classified according to the first to-be-determined industry includes:
[0084] Step b, obtaining a preset industry priority, and determining a second to-be-determined industry with the highest industry priority from among the first to-be-determined industries according to the preset industry priority;
[0085] Step c: when the second undetermined industry includes only one industry, the second undetermined industry is determined as the target industry of the object to be classified.
[0086] In this embodiment, since an industry classification system including industry priorities is constructed in advance in the industry classification system by combining traditional industries and Internet industries, and the system covers all industries as much as possible, and the industry priorities are divided for each industry. If the first pending industry only contains one industry, the first pending industry can be directly determined as the target industry of the object to be classified; if the first pending industry includes at least two industries, that is, the same merchant may correspond to multiple industry categories, then the preset industry priority is obtained, and the industry priority corresponding to each first pending industry is determined according to the preset industry priority, so as to determine the second pending industry with the highest industry priority. For example, when the industry segmentation of a merchant is "XXX hotel parking lot", then the first pending industry includes "hotel" and "parking lot". When the merchant is identified as the hotel industry and the parking lot industry at the same time, since the industry priority of the parking lot is higher than that of the hotel, that is, the second pending industry with the highest industry priority is only the parking lot industry, it can be determined that the target industry of the merchant is the parking lot industry.
[0087] The industry classification method of this embodiment, when the first pending industry includes at least two industries, determines the target industry of the object to be classified from the first pending industry according to the preset industry priority, thereby achieving the purpose of fast and automatic industry classification, and can also ensure the reliability and accuracy of industry classification.
[0088] Furthermore, based on the first and second embodiments of the industry classification method of the present invention, a third embodiment of the industry classification method of the present invention is proposed.
[0089] The third embodiment of the industry classification method is different from the first and second embodiments of the industry classification method in that after the step of determining the second to-be-determined industry with the highest industry priority from the first to-be-determined industries, the method further includes:
[0090] Step d, when the second to-be-determined industry includes at least two industries, obtaining the output word sequence of the industry segmentation words corresponding to each of the second to-be-determined industries, and mapping the output word sequence to the industry time sequence of the object to be classified;
[0091] Step e: determining the target industry of the object to be classified from the second undetermined industries according to the industry sequence.
[0092] In this embodiment, while the name of the object to be classified is segmented, a mapping relationship between word order and industry sequence is constructed. Since industry classification is based on industry priority, it can only solve industry conflicts between merchants with different priorities. If the target industry of the merchant is to be further determined, it is necessary to classify the industry from the industry sequence to obtain the target industry of the merchant. For example, when the second pending industry still includes at least two industries after comparing the industry priorities, the industry segmentation corresponding to each second pending industry, that is, the second pending industry segmentation, is obtained to obtain the output word sequence corresponding to the second pending industry segmentation, and the word sequence is mapped to the sequence of the industry to which the object to be classified belongs, so as to determine the target industry of the object to be classified from the second pending industry according to the industry sequence.
[0093] It is understandable that after word segmentation, the same merchant may contain multiple words that identify industry categories, that is, the industry segmentation corresponding to the merchant contains words of multiple industry categories, but during the word segmentation process, the output word order corresponding to the output industry segmentation is different. For example, the second pending industry of a merchant includes shopping malls and barbecue, and the industry segmentation corresponding to the second pending industry is "XXX shopping mall barbecue". Then it can be determined that the output word order of the word "barbecue" in the industry segmentation is greater than the output word order of the word "shopping mall". After mapping the output word order of each word in the industry segmentation to the industry sequence of the merchant, if the preset sequence rule is to determine the target industry according to the industry in which the industry segmentation with a large sequence is located, since the output word order corresponding to "barbecue" is greater than the output word order corresponding to "shopping mall", the industry corresponding to "barbecue" is the catering industry, and the industry corresponding to "shopping mall" is the shopping industry, then it is obvious that the industry sequence of the catering industry is greater than the industry sequence of the shopping industry, and it can be determined that the target industry of the merchant is the catering industry.
[0094] The industry classification method of this embodiment, when it is determined that the second pending industry with the highest industry priority from the first pending industry includes at least two industries, the industry classification is performed by comparing the industry time series corresponding to the second pending industry, thereby further improving the reliability and accuracy of the industry classification.
[0095] Furthermore, based on the first, second and third embodiments of the industry classification method of the present invention, a fourth embodiment of the industry classification method of the present invention is proposed.
[0096] The fourth embodiment of the industry classification method is different from the first, second and third embodiments of the industry classification method in that the step of determining the target industry of the object to be classified from the second undetermined industry according to the industry time sequence includes:
[0097] Step f, determining a fourth undetermined industry of the object to be classified from the second undetermined industries according to a preset time sequence rule and the industry time sequence;
[0098] Step g, when the fourth undetermined industry includes at least two industries, acquiring transaction feature information from the extracted information of the object to be classified, and determining the industry probability corresponding to each of the fourth undetermined industries according to the transaction feature information;
[0099] Step h: determining the target industry of the object to be classified according to the industry probability.
[0100] In this embodiment, refer to Figure 3 First, a complete industry classification system is formulated by combining traditional and Internet industries, and pre-established industry categories are set. At the same time, each industry is prioritized to obtain a preset industry priority. The merchant's name, that is, the merchant name, is extracted from the merchant transaction data. Then, Chinese word segmentation technology is introduced to extract industry segmentation words that can identify the merchant industry by constructing stop words (redundant words) and a custom dictionary (common word dictionary). The industry segmentation words are labeled in combination with the pre-established industry categories to mark the industries to which these industry segmentation words correspond. First, the industry priority is used to determine whether the merchant's target Target industry: When the target industry of the merchant cannot be determined based on the industry priority, the industry sequence is constructed in combination with the word sequence of the word segmentation output, and the target industry of the merchant can be determined from the industry sequence; when the target industry of the merchant still cannot be determined based on the industry sequence, the transaction feature information such as transaction amount and transaction time can be extracted from the merchant transaction data, and the industry classification probability table of the industry to which the merchant belongs can be constructed by combining different transaction feature information such as different amounts and different times, and the corresponding industry classification and corresponding probability distribution information of the merchant can be obtained to determine the target industry of the merchant. By combining industry priority, industry sequence and industry probability to construct a three-level industry classification system for merchants, the industry classification of the merchant is finally determined, that is, the target industry of the merchant is determined.
[0101] Furthermore, step S20 further includes:
[0102] Step i, when the extracted information includes transaction feature information of the object to be classified, constructing the industry probability of the industry to which the object to be classified belongs according to the transaction feature information;
[0103] Step j: determining the target industry of the object to be classified according to the industry probability.
[0104] In this embodiment, transaction feature information of merchant transactions can be extracted from the merchant's transaction data, where the transaction feature information may include transaction amount, transaction time, etc. Regardless of whether the extracted information contains industry information of the industry to which the merchant belongs, the industry probability of the industry to which the merchant belongs can be determined based on these transaction feature information, such as constructing a corresponding industry probability table to determine the industry with the highest industry probability as the merchant's target industry.
[0105] For example, judging from the transaction time, if the transaction time of the merchant transaction occurs during the meal time period, the probability that the industry corresponding to the transaction belongs to the catering industry is higher than other industries; judging from the transaction amount, the probability that the industry corresponding to the small transaction belongs to the retail industry is higher than other industries. Based on this, the industry probability of the object to be classified can be obtained, and the industry to which the merchant corresponding to the transaction data belongs and the corresponding industry probability can be obtained. In addition, transaction feature information can also include the location where the transaction occurred, the number of transactions, the user's personal interests, historical transactions, etc. For example, if the transaction data shows that the transaction occurred in a shopping mall, it can be determined that the probability that the industry corresponding to the merchant is the shopping industry is higher than the probability of other industries, so as to accurately and quickly determine the target industry of the object to be classified.
[0106] In addition, if there are sufficient merchant-industry samples in the later stage, deep learning methods can be introduced to predict the merchant's target industry; if the merchant's target industry still cannot be determined by combining industry priority, industry sequence, and industry probability, the user can be notified to manually classify the merchant.
[0107] The industry classification method of this embodiment constructs the industry probability of the industry to which the object to be classified belongs based on the transaction feature information of the transaction data, and constructs a multi-dimensional merchant industry classification system by combining industry priority, industry sequence, and industry probability. While quickly and automatically performing industry classification, the reliability and accuracy of the industry classification are further guaranteed.
[0108] Furthermore, based on the first, second, third and fourth embodiments of the industry classification method of the present invention, a fifth embodiment of the industry classification method of the present invention is proposed.
[0109] The fifth embodiment of the industry classification method is different from the first, second, third and fourth embodiments of the industry classification method in that the method further includes:
[0110] Step k, receiving a batch classification instruction input by a user, obtaining a target classification word carried in the batch classification instruction, and obtaining a target object to be classified containing the target classification word;
[0111] Step 1: Associating the target objects to be classified with the target classification words to classify the target objects to be classified by industry in batches.
[0112] In this embodiment, each industry segmentation word obtained through segmentation processing can correspond to one or more objects to be classified. By receiving a batch classification instruction input by a user, a target classification word for batch classification processing is determined, and by searching the target classification word, a target object to be classified containing the target classification word can be obtained, and then the target classification word is associated with the corresponding target object to be classified, thereby completing the batch classification processing of the target object to be classified industry, which can effectively avoid performing an industry classification for each merchant, thereby achieving the purpose of batch classification of merchant industries.
[0113] The industry classification method of this embodiment determines the target object to be classified according to the target classification word, and achieves the purpose of batch industry classification by associating the two, thereby further improving the efficiency of industry classification.
[0114] The present invention also provides an industry classification device. Figure 4 , the industry classification device of the present invention comprises:
[0115] The extraction processing module 10 is used to obtain the transaction data of the object to be classified, and perform extraction processing on the transaction data to obtain corresponding extraction information;
[0116] The industry determination module 20 is used to determine the target industry of the object to be classified according to the extracted information.
[0117] Preferably, the industry determination module is further used for:
[0118] When the extracted information includes the name of the object to be classified, performing word segmentation processing on the name to obtain the name segmentation of the object to be classified;
[0119] Determining whether the name participle contains the industry participle of the object to be classified;
[0120] If included, the first undetermined industry of the object to be classified is determined according to the industry segmentation, and the target industry of the object to be classified is determined according to the first undetermined industry.
[0121] Preferably, the first undetermined industry includes at least two industries, and the industry determination module is further used for:
[0122] Obtaining a preset industry priority, and determining a second pending industry with the highest industry priority from among the first pending industries according to the preset industry priority;
[0123] When the second undetermined industry includes only one industry, the second undetermined industry is determined as the target industry of the object to be classified.
[0124] Preferably, the industry determination module further includes a time series classification unit, and the time series classification unit is used to:
[0125] When the second to-be-determined industry includes at least two industries, the output word sequence of the industry segmentation words corresponding to each of the second to-be-determined industries is obtained, and the output word sequence is mapped to the industry time sequence of the object to be classified;
[0126] According to the industry sequence, the target industry of the object to be classified is determined from the second undetermined industries.
[0127] Preferably, the time series classification unit is further used for:
[0128] Determine a fourth pending industry of the object to be classified from the second pending industry according to a preset time sequence rule and the industry time sequence;
[0129] When the fourth to-be-determined industry includes at least two industries, acquiring transaction feature information from the extracted information of the to-be-classified object, and determining the industry probability corresponding to each of the fourth to-be-determined industries according to the transaction feature information;
[0130] According to the industry probability, the target industry of the object to be classified is determined.
[0131] Preferably, the industry classification device further comprises a probability determination module, and the probability determination module is used to:
[0132] When the extracted information includes transaction feature information of the object to be classified, constructing an industry probability of the industry to which the object to be classified belongs according to the transaction feature information;
[0133] According to the industry probability, the target industry of the object to be classified is determined.
[0134] Preferably, the industry classification device further comprises a batch classification module, and the batch classification module is used for:
[0135] Receiving a batch classification instruction input by a user, and acquiring a target classification word carried in the batch classification instruction, and a target to-be-classified object containing the target classification word;
[0136] The target objects to be classified are associated with the target classification words to perform batch classification of the industries of the target objects to be classified.
[0137] The present invention also provides a computer-readable storage medium.
[0138] An industry classification program is stored on the computer-readable storage medium of the present invention, and when the industry classification program is executed by a processor, the steps of the industry classification method described above are implemented.
[0139] Among them, the method implemented when the industry classification program running on the processor is executed can refer to the various embodiments of the industry classification method of the present invention, and will not be repeated here.
[0140] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or system including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or system. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or system including the element.
[0141] The serial numbers of the above embodiments of the present invention are only for description and do not represent the advantages or disadvantages of the embodiments.
[0142] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course can also be implemented by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present invention is essentially or the part that contributes to the prior art can be embodied in the form of a software product, and the computer software product is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) as described above, including a number of instructions for a terminal system (which can be a mobile phone, computer, server, air conditioner, or network system, etc.) to execute the methods described in each embodiment of the present invention.
[0143] The above are only preferred embodiments of the present invention, and are not intended to limit the patent scope of the present invention. Any equivalent structure or equivalent process transformation made using the contents of the present invention specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present invention.
Claims
1. An industry classification method, characterized in that: The method comprises the following steps: Acquire transaction data of the object to be classified, and extract and process the transaction data to obtain corresponding extraction information; Determining the target industry of the object to be classified according to the extracted information; Wherein, the step of determining the target industry of the object to be classified according to the extracted information includes: When the extracted information includes the name of the object to be classified, performing word segmentation processing on the name to obtain the name segmentation of the object to be classified; Determining whether the name participle contains the industry participle of the object to be classified; If included, determining the first pending industry of the object to be classified according to the industry segmentation, and determining the target industry of the object to be classified according to the first pending industry; The first undetermined industry includes at least two industries, and the step of determining the target industry of the object to be classified according to the first undetermined industry includes: Obtaining a preset industry priority, and determining a second pending industry with the highest industry priority from among the first pending industries according to the preset industry priority; When the second undetermined industry includes only one industry, the second undetermined industry is determined as the target industry of the object to be classified; After the step of determining the second pending industry with the highest industry priority from the first pending industries, the method further includes: When the second to-be-determined industry includes at least two industries, obtaining the output word sequence of the industry segmentation words corresponding to each of the second to-be-determined industries, and mapping the output word sequence to the industry time sequence of the object to be classified; According to the industry time sequence, determining the target industry of the object to be classified from the second undetermined industries; The step of determining the target industry of the object to be classified from the second undetermined industries according to the industry time sequence includes: Determine a fourth pending industry of the object to be classified from the second pending industry according to a preset time sequence rule and the industry time sequence; When the fourth to-be-determined industry includes at least two industries, acquiring transaction feature information from the extracted information of the to-be-classified object, and determining the industry probability corresponding to each of the fourth to-be-determined industries according to the transaction feature information; According to the industry probability, the target industry of the object to be classified is determined.
2. The industry classification method according to claim 1, characterized in that: The step of determining the target industry of the object to be classified according to the extracted information comprises: When the extracted information includes transaction feature information of the object to be classified, constructing an industry probability of the industry to which the object to be classified belongs according to the transaction feature information; According to the industry probability, the target industry of the object to be classified is determined.
3. The industry classification method according to any one of claims 1 to 2, characterized in that: The method further comprises: Receiving a batch classification instruction input by a user, and acquiring a target classification word carried in the batch classification instruction, and a target to-be-classified object containing the target classification word; The target objects to be classified are associated with the target classification words to perform batch classification of the industries of the target objects to be classified.
4. An industry classification device, characterized in that: The industry classification device comprises: An extraction processing module, used to obtain transaction data of the object to be classified, and perform extraction processing on the transaction data to obtain corresponding extraction information; An industry determination module is used to determine the target industry of the object to be classified according to the extracted information; wherein the step of determining the target industry of the object to be classified according to the extracted information includes: When the extracted information includes the name of the object to be classified, performing word segmentation processing on the name to obtain the name segmentation of the object to be classified; Determining whether the name participle contains the industry participle of the object to be classified; If included, determining the first pending industry of the object to be classified according to the industry segmentation, and determining the target industry of the object to be classified according to the first pending industry; The first undetermined industry includes at least two industries, and the step of determining the target industry of the object to be classified according to the first undetermined industry includes: Obtaining a preset industry priority, and determining a second pending industry with the highest industry priority from among the first pending industries according to the preset industry priority; When the second undetermined industry includes only one industry, the second undetermined industry is determined as the target industry of the object to be classified; After the step of determining the second pending industry with the highest industry priority from the first pending industries, the method further includes: When the second to-be-determined industry includes at least two industries, obtaining the output word sequence of the industry segmentation words corresponding to each of the second to-be-determined industries, and mapping the output word sequence to the industry time sequence of the object to be classified; According to the industry time sequence, determining the target industry of the object to be classified from the second undetermined industries; The step of determining the target industry of the object to be classified from the second undetermined industries according to the industry time sequence includes: Determine a fourth pending industry of the object to be classified from the second pending industry according to a preset time sequence rule and the industry time sequence; When the fourth to-be-determined industry includes at least two industries, acquiring transaction feature information from the extracted information of the to-be-classified object, and determining the industry probability corresponding to each of the fourth to-be-determined industries according to the transaction feature information; According to the industry probability, the target industry of the object to be classified is determined.
5. An industry classification system, characterized in that: The industry classification system includes: a memory, a processor, and an industry classification program stored in the memory and executable on the processor. When the industry classification program is executed by the processor, the steps of the industry classification method according to any one of claims 1 to 3 are implemented.
6. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores an industry classification program, and when the industry classification program is executed by the processor, the steps of the industry classification method according to any one of claims 1 to 3 are implemented.
