A conceptual query method and device
By obtaining the user's query statement, the association between high-level concepts and low-level concepts is determined, and the weight and quantification interval are adjusted according to user feedback. XGBoost and logistic regression algorithms are used to calculate the scores of high-level concepts, which solves the problem of quantifying high-level concepts to low-level concepts in the existing technology. To solve the problem of insufficient accuracy, more accurate query results are achieved.
Patent Information
- Application Number
- CN202110683675.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-06-21
- Publication Date
- 2024-10-29
- Estimated Expiration
- 2041-06-21
AI Technical Summary
In the existing technology, in knowledge retrieval and product query, the accuracy of quantifying high-level concepts to low-level concepts is insufficient, resulting in query results that are not accurate enough and cannot meet the user's needs for efficiency, accuracy, maintainability, and strong applicability.
By obtaining the user's query statement, the association between high-level concepts and low-level concepts is determined, the weight and quantification interval of the low-level concepts are adjusted based on user feedback, XGBoost and logistic regression algorithms are used to calculate the score of the high-level concepts, and target products are recommended.
The query accuracy is improved, the query results are closer to the user's real expectations, and the user's efficient and accurate query needs are met.
Smart Images

Figure CN113297254B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of computer technology, and more specifically, to a conceptual query method and device. Background Art
[0002] For knowledge in a specific field, a knowledge base can be established to facilitate users to search and obtain corresponding results. When users search for knowledge that meets their needs, they tend to use some fuzzy and uncertain high-level concepts due to their lack of understanding of the knowledge structure and content.
[0003] In the prior art, these high-level concepts can be processed by multi-level conceptualization to obtain some quantifiable low-level concepts, and these low-level concepts and high-level concepts can be saved, so that when users query the corresponding high-level concepts, they can find the associated low-level concepts and obtain the query results. However, in business scenarios such as knowledge retrieval and product query, there are higher requirements for the accuracy of quantifying high-level concepts to low-level concepts. Therefore, a more efficient, accurate, maintainable, and applicable conceptual query method is needed to improve query accuracy and meet user query needs. Summary of the invention
[0004] The embodiment of the present application provides a conceptual query method to improve the accuracy of the query.
[0005] In a first aspect, the present application provides a conceptual query method, which includes: obtaining a query statement, the query statement including a high-level concept; determining multiple low-level concepts associated with the high-level concept, each high-level concept being a weighted sum of the multiple low-level concepts associated with the high-level concept, and the weight of each low-level concept being adjustable according to user feedback; obtaining at least one quantization interval for each of the multiple low-level concepts associated with the high-level concept and a score corresponding to each quantization interval, and the quantization interval corresponding to each low-level concept being adjustable according to user feedback; calculating the score corresponding to each product in the high-level concept based on the quantization intervals corresponding to the multiple low-level concepts and the scores corresponding to each quantization interval, as well as the weights of the multiple low-level concepts; and obtaining one or more target products to be recommended based on the size relationship between the scores corresponding to the multiple products in the high-level concept.
[0006] Based on the above scheme, the query information with certain ambiguity and uncertainty input by the user can be converted into the weighted sum of quantifiable low-level concepts by quantifying the high-level concepts into the weighted sum of the associated multiple low-level concepts. The weights can be adjusted according to the satisfaction feedback from the user, so that the conceptualized query results obtained based on this are closer to the user's actual expectations, thereby improving the query accuracy to meet the user's query needs.
[0007] Optionally, determining a plurality of lower-level concepts associated with the high-level concept comprises: searching a conceptual hierarchical database for a plurality of lower-level concepts associated with the high-level concept, wherein the conceptual hierarchical database pre-stores a plurality of high-level concepts and their associated lower-level concepts.
[0008] Optionally, the weight of each low-level concept and the quantization interval corresponding to each low-level concept are adjusted according to user feedback.
[0009] Optionally, adjusting the weight of each low-level concept and the quantization interval corresponding to each low-level concept according to user feedback includes: taking a concept set including the multiple low-level concepts and their corresponding user feedback satisfaction as training samples, and training the model by making the predicted user feedback satisfaction obtained by the model close to the actual user feedback satisfaction, and automatically adjusting the weight of each low-level concept and the quantization interval corresponding to each low-level concept, thereby obtaining the weight of each low-level concept and the quantization interval corresponding to each low-level concept.
[0010] Optionally, the query statement is a structured query language (SQL) statement.
[0011] Optionally, the model includes extreme gradient boosting (eXtreme gradient boosting, XGBoost) and logistic regression (logistic regression, LR) algorithms.
[0012] In a second aspect, a conceptual query device is provided, comprising modules or units for implementing the conceptual query method described in the first aspect and any one of the first aspects. It should be understood that each module or unit can implement corresponding functions by executing a computer program.
[0013] According to a third aspect, a conceptual query device is provided, comprising a processor, wherein the processor is configured to execute the conceptual query method according to the first aspect and any one of the first aspects.
[0014] The device may also include a memory for storing instructions and data. The memory is coupled to the processor, and when the processor executes the instructions stored in the memory, the method described in the first aspect may be implemented. The device may also include a communication interface, and the communication interface is used for the device to communicate with other devices. Exemplarily, the communication interface may be a transceiver, circuit, bus, module or other type of communication interface.
[0015] In a fourth aspect, a chip system is provided, which includes at least one processor for supporting the implementation of the functions involved in the first aspect and any possible implementation of the first aspect, for example, receiving or processing the data and / or information involved in the above method.
[0016] In one possible design, the chip system also includes a memory, which is used to store program instructions and data, and the memory is located inside or outside the processor.
[0017] In a fifth aspect, a computer-readable storage medium is provided, comprising instructions, which, when executed on a computer, enable the computer to implement the method described in the first aspect and any one of the first aspects.
[0018] In a sixth aspect, a computer program product is provided, the computer program product comprising: a computer program (also referred to as code, or instruction), which, when executed, enables a computer to execute the method described in the first aspect and any one of the items of the first aspect.
[0019] It should be understood that the second to sixth aspects of the present application correspond to the technical solutions of the first aspect of the present application, and the beneficial effects achieved by each aspect and the corresponding feasible implementation methods are similar and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS
[0020] Figure 1 is a schematic flow chart of a conceptual query method provided in an embodiment of the present application;
[0021] Figure 2 is a schematic block diagram of a conceptual query device provided in an embodiment of the present application;
[0022] Figure 3 It is another schematic block diagram of the conceptual query device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0023] The technical solution in this application will be described below in conjunction with the accompanying drawings.
[0024] To facilitate understanding, some terms involved in this application are first explained below.
[0025] Conceptual query: In response to the query requirements raised by users that contain some fuzzy and uncertain concepts, the system conceptualizes those fuzzy and uncertain concepts and gives a query result.
[0026] For example, in the question raised by the user, "Which product has the best cost-effectiveness?", high cost-effectiveness is a relatively vague concept, which can be further quantified into multiple quantifiable concepts such as low price and good quality. The system then gives the query results based on the two attributes of price and quality.
[0027] Query statement: A machine query language that allows machines to query data from a database. For example, SQL.
[0028] SQL: is a special purpose programming language, a database query and programming language used to access data and query, update and manage relational database systems.
[0029] High-level concepts: These are some fuzzy and uncertain concepts. They can be quantified from low-level concepts. Specifically, a high-level concept can be quantified as the weighted sum of the low-level concepts contained in the high-level concept.
[0030] Low-level concepts: quantifiable attribute concepts.
[0031] The following is an example of the relationship between low-level concepts and high-level concepts. For example, "high cost performance" belongs to the high-level concepts of "good quality" and "low price", and "bank card" belongs to the high-level concepts of "debit card" and "platinum card".
[0032] Conceptual hierarchical database: a database that pre-stores multiple high-level concepts and their associated low-level concepts.
[0033] XGBoost: An optimized distributed gradient boosting library that efficiently and flexibly solves data science problems through parallel computing, approximate tree building, sparse data processing, and memory usage optimization. In the embodiment of the present application, it can be used to build a relationship tree between high-level concepts and low-level concepts, so that the score of each product can be calculated based on the relationship tree later, thereby obtaining a query result.
[0034] LR: predicts the probability of future results through the performance of historical data items. In the embodiment of the present application, it is used in conjunction with XGBoost to adjust the weight of each low-level concept and the quantization interval corresponding to each low-level concept.
[0035] For knowledge in a specific field, a knowledge base can be established to facilitate users to search and obtain corresponding results. When users search for knowledge that meets their needs, they tend to use some high-level concepts with certain ambiguity and uncertainty due to their lack of understanding of the knowledge structure and content.
[0036] In the prior art, these high-level concepts can be conceptualized at multiple levels to obtain some quantifiable low-level concepts, and these low-level concepts and high-level concepts can be saved, so that when users query the corresponding high-level concepts, they can find the associated low-level concepts and obtain the query results. However, in business scenarios such as knowledge retrieval and product query, there are higher requirements for the accuracy of quantifying high-level concepts to low-level concepts. Therefore, a more efficient, accurate, maintainable, and highly applicable conceptual query method is needed to improve query accuracy and meet user query needs.
[0037] Therefore, an embodiment of the present application proposes a conceptual query method. Based on this method, the conceptual query conditions with certain ambiguity and uncertainty input by the user can be accurately converted into some quantifiable conceptual attributes. The scores of the values of multiple conceptual attributes corresponding to each conceptual query condition are calculated, and then the weighted sum is taken to obtain the query result. The weight can be adjusted according to the satisfaction feedback of the user to make the query result closer to the user's needs.
[0038] The embodiment of the present application also provides a conceptual query device, which may be a server configured with a conceptual hierarchical database (hereinafter referred to as database).
[0039] The technical solution in this application will be described below in conjunction with the accompanying drawings.
[0040] Figure 1 The schematic flow chart of a conceptual query method 100 provided in an embodiment of the present application includes steps 110 to 150, and steps 110 to 150 are described in detail below.
[0041] In step 110, a query statement is obtained, where the query statement includes high-level concepts.
[0042] One possible scenario is that the user can make a query request to the customer service staff through a voice call. The customer service staff can extract keywords based on the user's query request and enter them into the query box of the value server. It is understandable that when users query knowledge that meets their needs, they tend to use some high-level concepts that contain ambiguity and uncertainty due to their lack of understanding of the knowledge structure and content. The keywords extracted from this also often include high-level concepts.
[0043] When the server searches for the data desired by the user from the database based on these high-level concepts, it needs to convert the high-level concepts into statements that can be understood by the machine, that is, query statements, which may be SQL statements, for example.
[0044] It should be understood that the scenarios listed above are only examples and should not constitute any limitation on the embodiments of the present application. The user can also directly enter the keywords in the query requirements into the query box of the value server, or send the query requirements to the server by voice, and the server can extract the keywords by itself. The server can further convert the high-level concepts in the keywords into query statements. Alternatively, the server can also extract the high-level concepts according to the user's query requirements and convert them into query statements. The embodiments of the present application do not limit the method for obtaining query statements.
[0045] In step 120, a plurality of low-level concepts associated with the high-level concept are determined.
[0046] In the embodiment of the present application, high-level concepts and low-level concepts can be quantified, for example, they can be represented by vectors. Each high-level concept can be quantified as the weighted sum of multiple associated low-level concepts, and the weight of each low-level concept can be adjusted according to user feedback. In other words, the weight used by each low-level concept when weighting a certain high-level concept is variable.
[0047] The low-level concepts associated with each high-level concept can be stored in a conceptual hierarchical database. After the server converts the high-level concept into a query statement, the server can directly query the high-level concept and its associated low-level concepts from the conceptual hierarchical database according to the query statement.
[0048] Exemplarily, Table 1 gives N (N≥1 and is an integer) low-level concepts corresponding to one high-level concept.
[0049] Table 1
[0050] serial number Low-level concepts 1 Property 1 2 Property 2 3 Property 3 ... ... N Attribute N
[0051] Each low-level concept can also be understood as an attribute. As mentioned above, each high-level concept can be quantified as the weighted sum of multiple associated low-level concepts. In Table 1, the weighted sum of attributes 1 to N can be used to represent a high-level concept.
[0052] In step 130, at least one quantization interval of each low-level concept among a plurality of low-level concepts associated with the high-level concept and a score corresponding to each quantization interval are obtained.
[0053] Since there may be a large quantization range corresponding to each low-level concept, at least one quantization interval may be set for each low-level concept, and each quantization interval may correspond to a score. At least one quantization interval of each low-level concept and the score corresponding to each quantization interval may be stored in the database together with the low-level concept. Therefore, after obtaining multiple low-level concepts associated with a high-level concept according to a query statement, at least one quantization interval of each low-level concept and the score corresponding to each quantization interval may also be obtained.
[0054] Among them, the initial values of the upper and lower limits of the quantization interval can be set according to expert experience. In order to give more accurate query results, the upper and lower limits of the quantization interval can be adjusted later according to user feedback on the satisfaction of the query results.
[0055] For ease of explanation, Table 2 shows the quantization intervals corresponding to multiple low-level concepts and the scores corresponding to each quantization interval. Among them, the knowledge corresponding to the same knowledge number can be regarded as the rules for the scores corresponding to the quantization intervals corresponding to the same low-level concept. For example, if the knowledge 1 in Table 2 corresponds to the low-level concept 1 in Table 1, and in Table 2, the knowledge 1 corresponds to two quantization intervals, interval 1 and interval 2, and the two intervals correspond to scores s1 and s2, respectively, then it means that the low-level attribute 1 has two quantization intervals, interval 1 and interval 2, and the two intervals correspond to scores s1 and s2, respectively. For another example, if the knowledge 2 in Table 2 corresponds to the low-level concept 2 in Table 1, and in Table 2, the knowledge 2 corresponds to two quantization intervals, interval 1 and interval 2, and the two intervals correspond to scores s3 and s4, respectively, then it means that the low-level concept 2 has two quantization intervals, interval 1 and interval 2, and the two intervals correspond to scores s3 and s4, respectively. It should be understood that the interval 1 and interval 2 of the low-level concept 1 and the low-level concept 2 in Table 2 can be different quantization intervals. Other knowledge is similar, and for the sake of brevity, they will not be repeated here one by one.
[0056] Table 2
[0057] Knowledge Number Quantization interval The score for each interval Knowledge 1 Interval 1 <![CDATA[Score s1]]> Knowledge 1 Interval 2 <![CDATA[Score s2]]> Knowledge 2 Interval 1 <![CDATA[Rating s3]]> Knowledge 2 Interval 2 <![CDATA[Score s4]]> Knowledge 3 Interval 3 <![CDATA[Rating s5]]> ... ... ... Knowledge Interval N <![CDATA[Rating s K >
[0058] Among them, N≥1, N≥M≥1, and N and M are both integers.
[0059] For ease of explanation, the following will take a query question raised by a user regarding a product as an example to illustrate how to provide a query result. For details, please refer to step 140 and step 150.
[0060] In step 140, the score corresponding to the high-level concept of each product is calculated according to the quantization intervals corresponding to the multiple low-level concepts of each product in the multiple products, the scores corresponding to each quantization interval, and the weights of the multiple low-level concepts.
[0061] Among them, the initial value of the weight of the low-level concept can be set according to expert experience. In order to give a more accurate query result, the weight of the low-level concept can be adjusted later according to the user's feedback on the satisfaction of the query result.
[0062] It should be understood that each product corresponds to multiple attributes, that is, it corresponds to multiple low-level concepts. Combined with Table 2, it can be seen that each piece of knowledge corresponds to a low-level concept and the corresponding quantization interval corresponds to the scoring rule. Each low-level concept corresponds to one or more quantization intervals, and each quantization interval corresponds to a score.
[0063] One possible implementation is: when judging the score of a high-level concept corresponding to a product, the score can be obtained by calculating the weighted sum of the scores of the corresponding quantitative intervals of multiple low-level concepts corresponding to the high-level concept of each product.
[0064] For example, a high-level concept corresponding to a product has two attributes, attribute 1 and attribute 2, which correspond to knowledge 1 and knowledge 2 respectively. The quantization interval of attribute 1 of the product is quantization interval 1 corresponding to knowledge 1, and the quantization interval of attribute 2 of the product is quantization interval 2 corresponding to knowledge 2. The scores corresponding to attribute 1 and attribute 2 of the product are score s1 and score s4 respectively, and the weights corresponding to attribute 1 and attribute 2 are a1 and a2 respectively. Then the score corresponding to the high-level concept of the product is a1*s1+a2*s4. Similarly, the score of each other product can be calculated using the same method as above.
[0065] In step 150, one or more target products to be recommended are obtained according to the size relationship of the scores corresponding to the high-level concepts of the multiple products.
[0066] As can be seen from step 140, the score of each product can be obtained by calculating the weighted sum of the scores corresponding to multiple low-level concepts corresponding to the high-level concept of each product. After obtaining the score, the scores can be arranged in descending order to sort multiple products, and one or more products ranked first can be recommended to the user.
[0067] It should be understood that after one or more products are recommended to a user, user satisfaction feedback may be collected to adjust the upper and lower limits of the quantization interval corresponding to each attribute and the weight of each attribute.
[0068] One possible implementation method is: using a concept set containing multiple low-level concepts and their corresponding user feedback satisfaction as training samples, training the model by making the predicted user feedback satisfaction obtained by the model close to the actual user feedback satisfaction, and automatically adjusting the weight of each low-level concept and the quantization interval corresponding to each low-level concept, thereby obtaining the weight of each low-level concept and the quantization interval corresponding to each low-level concept.
[0069] The model can be implemented by using XGBoost and LR algorithms, for example.
[0070] It should be understood that the model may also adopt other algorithms as long as they can achieve the same functions as the embodiments of the present application, and the embodiments of the present application are not limited to this.
[0071] Based on the above technical solution, the query information with certain ambiguity and uncertainty input by the user can be converted into the weighted sum of quantifiable low-level concepts by quantifying the high-level concepts into the weighted sum of multiple associated low-level concepts. The weights can be adjusted according to the satisfaction feedback from the user, so that the conceptual query results obtained based on this are closer to the user's actual expectations, thereby improving the query accuracy to meet the user's query needs.
[0072] Figure 2 is a schematic block diagram of a conceptual query device provided in an embodiment of the present application. Figure 2 As shown, the device 200 may include: an acquisition module 210 and a processing module 220. The acquisition module 210 may be used to acquire a query statement, wherein the query statement includes a high-level concept; the processing module 220 may be used to determine multiple low-level concepts associated with the high-level concept, wherein each high-level concept is a weighted sum of multiple low-level concepts associated with the high-level concept, and the weight of each low-level concept may be adjusted according to user feedback; at least one quantization interval of each low-level concept in the multiple low-level concepts associated with the high-level concept and a score corresponding to each quantization interval are acquired, and the quantization interval corresponding to each low-level concept may be adjusted according to user feedback; the score corresponding to each product in the high-level concept is calculated according to the quantization intervals corresponding to each product in the multiple low-level concepts and the scores corresponding to each quantization interval, as well as the weights of the multiple low-level concepts; and one or more target products to be recommended are obtained according to the size relationship of the scores corresponding to the multiple products in the high-level concept.
[0073] Optionally, the processing module 220 may also be configured to search a conceptual hierarchical database for a plurality of lower-level concepts associated with the high-level concept, wherein the conceptual hierarchical database may pre-store a plurality of high-level concepts and their associated lower-level concepts.
[0074] Optionally, the processing module 220 may be further configured to adjust the weight of each low-level concept and the quantization interval corresponding to each low-level concept according to user feedback.
[0075] Optionally, the processing module 220 can also be used to use the concept set containing the multiple low-level concepts and their corresponding user feedback satisfaction as training samples, and train the model by making the predicted user feedback satisfaction obtained by the model close to the actual user feedback satisfaction, and automatically adjust the weight of each low-level concept and the quantization interval corresponding to each low-level concept, so as to obtain the weight of each low-level concept and the quantization interval corresponding to each low-level concept.
[0076] It should be understood that the division of modules in the embodiments of the present application is schematic and is only a logical function division. There may be other division methods in actual implementation. In addition, each functional module in each embodiment of the present application may be integrated into a processor, or may exist physically separately, or two or more modules may be integrated into one module. The above-mentioned integrated modules may be implemented in the form of hardware or in the form of software functional modules.
[0077] Figure 3 is another schematic block diagram of the conceptual query device provided in the embodiment of the present application. The device can be used to implement the function of the conceptual query device in the above method. The device can be a chip system. In the embodiment of the present application, the chip system can be composed of a chip, or can include a chip and other discrete devices.
[0078] like Figure 3 As shown, the device 300 may include at least one processor 310, which is used to implement the function of the conceptual query device in the method provided in the embodiment of the present application. Exemplarily, the processor 310 can be used to obtain a query statement, the query statement includes a high-level concept; determine multiple low-level concepts associated with the high-level concept, each high-level concept is a weighted sum of multiple low-level concepts associated with the high-level concept, and the weight of each low-level concept can be adjusted according to user feedback; obtain at least one quantization interval of each low-level concept in the multiple low-level concepts associated with the high-level concept and the score corresponding to each quantization interval, and the quantization interval corresponding to each low-level concept can be adjusted according to user feedback; calculate the score corresponding to each product in the high-level concept according to the quantization intervals corresponding to each product in the multiple low-level concepts and the scores corresponding to each quantization interval, as well as the weights of the multiple low-level concepts; obtain one or more target products to be recommended according to the size relationship of the scores corresponding to the multiple products in the high-level concept.
[0079] The device 300 may also include at least one memory 320 for storing program instructions and / or data. The memory 320 is coupled to the processor 310. The coupling in the embodiment of the present application is an indirect coupling or communication connection between devices, units or modules, which may be electrical, mechanical or other forms, and is used for information exchange between devices, units or modules. The processor 310 may operate in conjunction with the memory 320. The processor 310 may execute program instructions stored in the memory 320. At least one of the at least one memory may be included in the processor.
[0080] The apparatus 300 may also include a communication interface 330 for communicating with other devices via a transmission medium, so that the device in the apparatus 300 can communicate with other devices. Exemplarily, the communication interface 330 may be, for example, a transceiver, an interface, a bus, a circuit, or a device capable of implementing transceiver functions. The processor 310 may use the communication interface 330 to send and receive data and / or information, and to implement Figure 1 The method executed by the conceptual query device described in the corresponding embodiment.
[0081] The specific connection medium between the processor 310, the memory 320 and the communication interface 330 is not limited in the embodiment of the present application. Figure 3 In the embodiment, the processor 310, the memory 320 and the communication interface 330 are connected via a bus 340. The bus 340 is Figure 3 The connections between the other components are shown in bold lines, which are only for illustration and are not intended to be limiting. The bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 3 Only one thick line is used in the diagram, but this does not mean that there is only one bus or only one type of bus.
[0082] The present application also provides a computer program product, the computer program product comprising: a computer program (also referred to as code, or instruction), when the computer program is executed, causes the computer to execute Figure 1 The method in the illustrated embodiment.
[0083] The present application also provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program (also referred to as code or instruction). When the computer program is executed, the computer executes Figure 1 The method of the illustrated embodiment.
[0084] It should be understood that the processor in the embodiment of the present application can be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method embodiment can be completed by the hardware integrated logic circuit or software instructions in the processor. The above processor can be a general processor, a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components. The methods, steps and logic block diagrams disclosed in the embodiments of the present application can be implemented or executed. The general processor can be a microprocessor or the processor can also be any conventional processor. The steps of the method disclosed in the embodiment of the present application can be directly embodied as a hardware decoding processor to perform, or the hardware and software modules in the decoding processor can be combined to perform. The software module can be located in a mature storage medium in the field such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory or an electrically erasable programmable memory, a register, etc. The storage medium is located in the memory, and the processor reads the information in the memory and completes the steps of the above method in combination with its hardware.
[0085] It should also be understood that the memory in the embodiments of the present application may be a volatile memory or a non-volatile memory, or may include both volatile and non-volatile memories. Among them, the non-volatile memory may be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. The volatile memory may be a random access memory (RAM), which is used as an external cache. By way of example and not limitation, many forms of RAM are available, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDR SDRAM), enhanced SDRAM (ESDRAM), synchronous link DRAM (SLDRAM), and direct RAM (DR RAM). It should be noted that the memory of the systems and methods described herein is intended to include, but is not limited to, these and any other suitable types of memory.
[0086] The terms "unit", "module" and the like used in this specification may be used to represent a computer-related entity, hardware, firmware, a combination of hardware and software, software, or software in execution.
[0087] It will be appreciated by those skilled in the art that the various illustrative logical blocks and steps described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or in combination with computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application. In the several embodiments provided in this application, it should be understood that the disclosed devices, equipment and methods can be implemented in other ways. For example, the device embodiments described above are only schematic, for example, the division of the units is only a logical function division, and there may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point, the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0088] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0089] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
[0090] In the above embodiments, the functions of each functional unit can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented using software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions (programs). When the computer program instructions (programs) are loaded and executed on a computer, the process or function described in the embodiment of the present application is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices. The computer instructions can be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium, for example, the computer instructions can be transmitted from a website site, computer, server or data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) mode to another website site, computer, server or data center. The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server, data center, etc. that contains one or more available media integrated. The available medium may be a magnetic medium (eg, a floppy disk, a hard disk, a magnetic tape), an optical medium (eg, a DVD), or a semiconductor medium (eg, a solid state disk (SSD)).
[0091] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application can be essentially or partly embodied in the form of a software product that contributes to the prior art. The computer software product is stored in a storage medium and includes several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods described in the various embodiments of the present application. The aforementioned storage media include: various media that can store program codes, such as USB flash drives, mobile hard disks, read-only memories (ROM), random access memories (RAM), magnetic disks or optical disks.
[0092] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.
Claims
1. A conceptual query method, characterized in that: include: Obtaining a query statement, wherein the query statement includes a high-level concept, and the high-level concept is a fuzzy and uncertain concept; Determine a plurality of low-level concepts associated with the high-level concept, each high-level concept is quantified as a weighted sum of the associated plurality of low-level concepts, the low-level concepts being attribute concepts; Obtaining at least one quantization interval of each low-level concept among a plurality of low-level concepts associated with the high-level concept and a score corresponding to each quantization interval; Calculate the score of each product corresponding to the high-level concept according to the quantization intervals corresponding to the multiple low-level concepts and the scores corresponding to each quantization interval, and the weights of the multiple low-level concepts; Obtain one or more target products to be recommended according to the size relationship of the scores corresponding to the multiple products in the high-level concept; Recommending the one or more target products to be recommended to the user and collecting user feedback; According to the user feedback, the weight of each low-level concept and the quantization interval corresponding to each low-level concept are adjusted.
2. The method according to claim 1, characterized in that The determining of a plurality of low-level concepts associated with the high-level concept comprises: A plurality of lower-level concepts associated with the high-level concept are searched in a conceptual hierarchical database, wherein the conceptual hierarchical database pre-stores a plurality of high-level concepts and their associated lower-level concepts.
3. The method according to claim 1, characterized in that The step of adjusting the weight of each low-level concept and the quantization interval corresponding to each low-level concept according to user feedback includes: The concept set containing the multiple low-level concepts and their corresponding user feedback satisfaction are used as training samples. The model is trained by making the predicted user feedback satisfaction obtained by the model close to the actual user feedback satisfaction. The weight of each low-level concept and the quantization interval corresponding to each low-level concept are automatically adjusted to obtain the weight of each low-level concept and the quantization interval corresponding to each low-level concept.
4. The method according to claim 1, characterized in that The query statement is a SQL statement.
5. The method according to claim 3, characterized in that The model includes extreme gradient boosting and logistic regression algorithms.
6. A conceptual query device, characterized in that: The method comprises modules for implementing the method as claimed in any one of claims 1 to 5.
7. A conceptual query device, characterized in that: comprising a processor and a memory; wherein, The memory is used to store program codes; The processor is used to call the program code stored in the memory to execute the method according to any one of claims 1 to 5.
8. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores instructions, and when the instructions are executed on a computer, the computer is caused to execute the method according to any one of claims 1 to 5.
9. A computer program product, characterized in that The method comprises a computer program, which, when a computer runs the computer program, causes the computer to execute the method according to any one of claims 1 to 5.
Citation Information
Patent Citations
Personalized and synergistic integration network multimedia search and enquiry method
CN101334796A
