Text semantic matching method and refrigeration device system

Through text semantic matching method, combined with slot extraction and deep fusion network model, the problem of slow response speed and low accuracy of refrigerator interaction is solved, the response speed and accuracy of refrigerator interaction are improved, and the user experience is improved.

WO2024188277A1PCT designated stage expired Publication Date: 2024-09-19QINDAO HAIER REFRIGERATOR CO LTD +2

Patent Information

Application Number
PCT/CN2024/081468
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-03-15
Filing Date
2024-03-13
Publication Date
2024-09-19

AI Technical Summary

Technical Problem

Existing refrigerators have slow interactive response speeds and low accuracy, and cannot meet users' needs for immediate and clear communication, resulting in unnatural human-computer dialogue and poor user experience.

Method used

The text semantic matching method is adopted, and text data is quickly matched through the technology of slot extraction and deep fusion network model. Labeled and unlabeled text are used for feature extraction and matching to improve the speed and accuracy of interactive response.

Benefits of technology

It achieves an increase in interactive response speed and information accuracy, improves the user experience, and makes refrigerator interaction more natural and efficient.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2024081468_19092024_PF_FP_ABST
    Figure CN2024081468_19092024_PF_FP_ABST
Patent Text Reader

Abstract

Disclosed in the present invention are a text semantic matching method and a refrigeration device system. The method comprises: annotating annotatable text in total text data; performing result matching on both unannotatable text and annotated text in the total text data by means of slot extraction; if the matching is successful, outputting a matching result; and if the matching fails, calculating a matching result by means of a neural network. In the method, matching is performed by using a mechanism of performing annotation first and then performing slot extraction, such that the overall matching speed of text is greatly increased.
Need to check novelty before this filing date? Find Prior Art

Description

Text semantic matching method and refrigeration equipment system

[0001] This application claims priority to a Chinese patent application filed on March 15, 2023, with application number 202310247263.1 and invention name “Text Semantic Matching Method and Refrigeration Equipment System,” all contents of which are incorporated by reference into this application. Technical Field

[0002] The present invention relates to the technical field of refrigeration equipment, and in particular to a text semantic matching method and a refrigeration equipment system. Background Art

[0003] With the advancement of artificial intelligence, people hope to introduce AI into the refrigerator field to make refrigerators more intelligent. This process involves a large number of optimization processes for refrigerator scenarios, including optimization of various types of interactions between users and refrigerators, such as spoken, text, and video. During this optimization process, the inventors discovered the following problems with the existing technology:

[0004] The existing interactive response speed is slow and the accuracy is not high enough, which cannot meet the user's needs for instant and clear communication. Users clearly feel the inconvenience of human-computer dialogue, rather than the naturalness of human-to-human dialogue, and the user experience is poor. Summary of the Invention

[0005] In order to solve at least one of the above-mentioned problems in the prior art, an object of the present invention is to provide a text semantic matching method and a refrigeration equipment system with fast interactive response speed and accurate feedback information.

[0006] To achieve the above-mentioned object of the invention, one embodiment of the present invention provides a text semantic matching method, comprising the following steps:

[0007] Annotate the annotable texts in the total text data;

[0008] Performing result matching on both the unmarkable text and the marked text in the total text data through slot extraction, and determining the matching result;

[0009] If the match is successful, the matching result is output;

[0010] If the matching fails, the text data corresponding to the failure will be transmitted to the deep fusion network model for feature extraction, and then the matching result of the text semantics will be calculated based on the feature extraction result; wherein, the deep fusion network model is a fusion model of the text vectorization model and the multidimensional feature extraction model, the text vectorization model vectorizes the text data, and the multidimensional feature extraction model extracts multidimensional interaction features and correlation features.

[0011] As a further improvement of the present invention, the step of performing result matching on both the unmarkable text and the marked text in the total text data by slot extraction includes:

[0012] Performing result matching on both the unmarkable text and the marked text in the total text data through a rule engine;

[0013] When the rule engine detects a problem, the rule definition is automatically analyzed and repaired through the quick repair module, and the result matching is performed again through the rule engine.

[0014] As a further improvement of the present invention, the following steps are also included:

[0015] When the quick repair module cannot solve the problem detected by the rule engine, or the rule engine still cannot match the results after the rule is repaired, the slot extraction match fails; wherein, the problem includes inaccurate rule definition, rule conflict, or inefficient rule execution.

[0016] As a further improvement of the present invention, if the matching fails, the steps further include:

[0017] The text data corresponding to the failure is transmitted to the deep fusion network model for feature extraction, and the interaction features are extracted;

[0018] Calculate the aggregated interaction feature information between interaction features;

[0019] Calculate the differential interaction feature information between the interaction features;

[0020] The text semantic matching results are calculated based on feature information, aggregated interaction feature information, and differentiated interaction feature information.

[0021] As a further improvement of the present invention, the step of calculating aggregated interaction feature information between interaction features includes:

[0022] Calculate the aggregated interactive feature information between interactive features through attention weighted summation;

[0023] The step of calculating the differentiated interaction feature information between the interaction features includes:

[0024] Enhanced by the attention mechanism, the differentiated interactive feature information between interactive features is calculated.

[0025] As a further improvement of the present invention, the step of marking the markable text in the total text data includes:

[0026] The text that can be annotated is pre-annotated, formally annotated and annotated quality checked in sequence. When the value of the text after formal annotation is judged to be lower than the preset threshold by the annotation quality check, the text is returned to the pre-annotation process for re-annotation.

[0027] As a further improvement of the present invention, the step of marking the markable text in the total text data includes:

[0028] Annotate the text that can be annotated in the total text data, and store the annotated text as training data and test data respectively;

[0029] The step of transmitting the text data corresponding to the failure to the deep fusion network model for feature extraction includes:

[0030] For the annotated text data that fails to match, the deep fusion network model is trained with the training data, and the result is predicted by the deep fusion network model using the test data.

[0031] As a further improvement of the present invention, the following steps are also included:

[0032] Performing data cleaning on the unlabelable text in the total text data;

[0033] The step of transmitting the text data corresponding to the failure to the deep fusion network model for feature extraction includes:

[0034] For the unlabeled text data that fails to match, an unsupervised learning algorithm is used to train the deep fusion network model using the unlabeled text.

[0035] As a further improvement of the present invention, the total text data is obtained by transcribing all multimodal data and / or multi-source heterogeneous data into text data and summarizing them.

[0036] As a further improvement of the present invention, the following steps are also included:

[0037] Collecting and preprocessing multimodal data and / or multi-source heterogeneous data, wherein the multimodal data includes text, audio, and video data, and the preprocessing includes cleaning, format conversion, and storage of the multimodal data;

[0038] Transcribing video data into text data;

[0039] Transcribe audio data into text data;

[0040] Get historical text data;

[0041] The text data in the multimodal data, the text data transcribed from the audio data, the text data transcribed from the video data, and the historical text data are aggregated into the total text data.

[0042] As a further improvement of the present invention, the step of transcribing the video data into text data includes:

[0043] Separating the audio and image in the video data to obtain audio data and image data;

[0044] Recognizing text information in the image data and transcribing it into text data;

[0045] Recognize image data based on spatiotemporal and long-distance dependency features and transcribe it into text data;

[0046] The steps of recognizing images based on spatiotemporal and long-distance dependent features and transcribing them into text data include:

[0047] The image recognition based on spatiotemporal and long-distance dependent features is generated into a student model through a fusion model of knowledge distillation and diffusion model, and the image data is transcribed into text data through the student model.

[0048] As a further improvement of the present invention, the step of transcribing the video data into text data includes:

[0049] Acquire key frame images in the video data through a diffusion network model;

[0050] The key frame image is recognized to generate text data.

[0051] As a further improvement of the present invention, the step of transcribing the audio data into text data includes:

[0052] Combining the spatiotemporal characteristics of speech and contextual relationship features in the scenario where the data is acquired, a deep recurrent convolutional network model based on the fusion neural network MMCNN-RNN, CTC, and Attention is established to transcribe audio data into text data.

[0053] As a further improvement of the present invention, the historical text data includes historical record data and historical interaction data, wherein the historical record data includes the user's food preference data, interest data and comment data, and the historical interaction data includes interaction records obtained from the client or the interaction end of the refrigeration equipment.

[0054] As a further improvement of the present invention, the text vectorization model encodes text at the character, word, phrase, and sentence levels;

[0055] The multi-dimensional feature extraction model uses a multi-head attention mechanism to extract the interaction and association features of characters, words, phrases, and sentences, as well as contextual semantic information.

[0056] As a further improvement of the present invention, the step of calculating the text semantic matching result based on the feature extraction result includes: passing the feature extracted vector through the fully connected layer and the self-attention mechanism in sequence to obtain the text semantic matching result.

[0057] As a further improvement of the present invention, the following steps are also included:

[0058] The matching results of successful matches and the matching results of failed matches after recalculation are all reached.

[0059] To achieve one of the above-mentioned objectives, an embodiment of the present invention provides a refrigeration equipment system, comprising:

[0060] a storage module storing a computer program;

[0061] The processing module can implement the steps in the above-mentioned text semantic matching method when executing the computer program.

[0062] Compared with the prior art, the present invention has the following beneficial effects: the matching of the text semantic matching method utilizes the mechanism of first labeling and then slot extraction, so that some text data are easier to slot extract after being labeled, and the unlabeled ones are generally phrases, which are easy to slot extract, so when slot extraction is performed, there are three situations: the unlabeled ones are successfully matched after slot extraction; the labeled ones are successfully matched after slot extraction; the labeled ones fail to match after slot extraction, and the category of failed matching is then matched through a deep fusion network model and calculation; the overall matching speed of the text is greatly improved, and the matching accuracy is high, which improves the user experience. BRIEF DESCRIPTION OF THE DRAWINGS

[0063] FIG1 is a schematic structural diagram of a refrigeration system according to an embodiment of the present invention;

[0064] FIG2 is a flow chart showing a schematic structural diagram of a text semantic matching method according to an embodiment of the present invention;

[0065] 3 is a partial flow chart of a structural schematic diagram of a text semantic matching method according to an embodiment of the present invention;

[0066] FIG4 is a flow chart of slot extraction according to an embodiment of the present invention;

[0067] FIG5 is a data flow diagram of a text semantic matching method according to an embodiment of the present invention;

[0068] FIG6 is a schematic diagram of a module according to an embodiment of the present invention;

[0069] FIG7 is a block diagram of a refrigeration system according to an embodiment of the present invention;

[0070] Among them, 100, refrigeration equipment; 10, interactive screen; 20, camera; 30, microphone; 40, speaker; 50, processing module; 60, storage module; 70, communication bus; 200, client. DETAILED DESCRIPTION

[0071] The present invention will be described in detail below with reference to the specific embodiments shown in the accompanying drawings. However, these embodiments do not limit the present invention, and any structural, methodological, or functional changes made by those skilled in the art based on these embodiments are all within the scope of protection of the present invention.

[0072] An embodiment of the present invention provides a text semantic matching method and a refrigeration equipment system with fast interactive response speed and accurate feedback information.

[0073] A refrigeration system may include a refrigeration device 100 and a client 200 corresponding to the refrigeration device 100. The refrigeration device 100 may be a refrigerator, and the client 200 may be a mobile phone or an app on the mobile phone. The refrigeration system is shown in FIG1 . The refrigeration device 100 and the client 200 may be connected via wireless signals. The following description of the refrigeration device 100 uses a refrigerator as an example.

[0074] Continuing with Figure 1, the refrigeration device 100 can be a refrigerator with audio acquisition, video acquisition, and interaction with a user interface. The refrigerator is provided with a microphone 30 for collecting audio, a camera 20 for shooting video, a speaker 40 for interacting with the user's voice, and an interactive screen 10 for interacting with the user's text or graphical interface. The interactive screen 10 can be set on the door of the refrigerator; after the user opens the refrigerator door, the camera 20 records the user's operation and forms video data; the speaker 40 and the microphone 30 are combined to interact with the user in the form of question and answer audio.

[0075] Taking a mobile phone as an example, the client 200 can communicate with the refrigerator via text or voice through the mobile phone, or manage the food information in the refrigerator and control the operating status of the refrigerator through the mobile phone.

[0076] In addition, the refrigeration equipment system may also include other external devices, such as external temperature sensors, cameras 20 or microphones 30 and speakers 40 provided by other devices, smart speakers, etc. These devices can be connected to the refrigeration equipment 100 or the client 200 via wireless signals.

[0077] Data from various devices within the refrigeration system forms multi-source heterogeneous data. This data, collected by multiple devices, can be transmitted via wired, Wi-Fi, Bluetooth, and other means. Text, audio, video, and other types of data constitute multimodal data. This data can be real-time, online, offline, or stored historical data.

[0078] The refrigeration equipment scenario includes the interaction between the user and the refrigeration equipment 100, and the interaction between the user and the corresponding client 200 of the refrigeration equipment 100, such as the interaction of ingredients, the interaction of instructions, the video recording of the user operating the refrigeration equipment 100, the user's control of the temperature and humidity inside the refrigeration equipment 100, and the user's comments on the ingredients on the client 200, the user's preferences, etc. These data generated by directly operating the refrigeration equipment 100 and the data generated by the client 200 related to the refrigeration equipment 100 are all data in the refrigeration equipment scenario.

[0079] This embodiment utilizes the multimodal real-time, offline data generated in the refrigeration equipment 100 usage scenario and the accumulated massive text historical data to fully mine the semantic, grammatical and contextual information of natural language understanding such as the data itself and between data, making the text semantic matching results in the refrigeration equipment scenario more accurate.

[0080] The core idea of ​​semantic matching is to convert text into semantic vector representations and calculate the distance or similarity between other vectors to these vectors to determine the relevance between the texts. Semantic matching can help us better understand and process natural language text. It can be applied in various scenarios, such as text classification, knowledge graph construction, and intelligent customer service.

[0081] Generally, semantic matching requires comparing the similarities between a large number of texts, which results in slow calculation speed and long matching times. However, the present invention significantly accelerates the matching speed by using a method of pre-labeling and slot extraction. During slot extraction, there are three cases: (1) unlabeled documents successfully matched after slot extraction; (2) labeled documents successfully matched after slot extraction; and (3) labeled documents failed to match after slot extraction. The category that failed to match is then matched using a deep fusion network model and calculation. In other words, the matching speed of two categories of documents is improved, and the remaining category that failed to match is also greatly improved by using a neural network calculation method compared to existing semantic matching speeds. The matching accuracy of slot extraction and neural networks is also very high. Therefore, the present invention significantly accelerates the semantic matching speed and improves the accuracy. The following is a further explanation of this matching method.

[0082] The following describes a text semantic matching method provided by an embodiment of the present invention in conjunction with Figures 2 and 5. Although this application provides the method operation steps shown in the following embodiments or flowcharts, based on conventional or no creative work, the execution order of the steps in the method that are not logically causally related is not limited to the execution order provided in the embodiments of this application. For example, the acquisition order of steps S20, S30, and S40 below can be adjusted arbitrarily or performed simultaneously, without distinguishing the order in time.

[0083] Step S10: Collect and pre-process multimodal and / or multi-source heterogeneous data, wherein the multimodal data includes text, audio, and video data related to the refrigeration equipment scenario.

[0084] The preprocessing includes cleaning, format conversion and storage of the multimodal data. The format conversion includes parsing the data format.

[0085] The text is collected through the client 200 and the interactive screen 10 on the refrigerator side. The client 200 may include mobile phones, pads, PCs and other devices. In addition to the text data generated on the application, it also includes text from customer service, web terminals, and text on mini-programs or public accounts. The preprocessing of text data can be done by using stop words, deduplication, etc.

[0086] Audio data can be collected by the microphone 30 on the mobile phone and / or refrigerator, or can be wirelessly connected to other sound collection units via WiFi to obtain voice from sound collection units on other devices. The microphone 30 can be a single microphone 30 or a microphone 30 array.

[0087] Video data can be collected by the client 200 and / or the camera 20 on the refrigerator side, for example, through a mobile phone app, camera 20, Bluetooth, etc. In addition, a script can be used to separate voice and video to obtain valid voice and video data.

[0088] Through the above methods, multimodal data collection tasks such as multiple channels and terminals are completed to ensure data integrity and multimodal cognitive characteristics.

[0089] Most existing technologies rely solely on text data, neglecting other data in subsequent data learning. This leads to lower recognition accuracy when users interact with the refrigerator in other ways. The text source of the present invention includes data from various user modalities, which can be further trained and matched with text semantics, resulting in higher accuracy.

[0090] Step S20: transcribe the video data into text data.

[0091] This step includes the following two embodiments. In one embodiment, it includes the following steps:

[0092] Separating the audio and image in the video data to obtain audio data and image data;

[0093] Recognizing text information in the image data and transcribing it into text data;

[0094] Recognize image data based on spatiotemporal and long-distance dependency features and transcribe it into text data.

[0095] Recognizing text in image data can directly transcribe it into text data, while recognizing non-text in images can be done by using multiple images based on changes in the user's mouth movements to identify the user's speech. Furthermore, considering that sentences identified solely based on the speaker's image features may be complex, the present invention combines sentence length factors with contextual relevance for recognition. Sentence length factors include features such as varying sentence lengths and word composition. Recognition is based on spatiotemporal and long-range dependency features, mining the rich semantic feature information of sentence sequences.

[0096] Furthermore, to accelerate the model's response, a student model is generated by combining knowledge distillation and diffusion models for image recognition based on spatiotemporal and long-range dependency features. This model transfers knowledge from the original large model to the student network, which then transcribes image data into text. The student model has a short, discrete time step count and can be distilled to half the number of steps of the teacher model.

[0097] In another embodiment, the key frame images in the video data may be obtained by using a diffusion model;

[0098] The key frame image is recognized to generate text data.

[0099] Here, the image data is transcribed into text data by identifying the meaning of the image and describing the content of the image in the form of text.

[0100] Step S30: combining the speech spatiotemporal characteristics and contextual relationship characteristics of the refrigeration appliance 100, and transcribing the audio data into text data.

[0101] The audio data in this step may be directly collected audio data, or may include audio data segmented from video data.

[0102] This embodiment combines the spatiotemporal characteristics of voice data in the usage scenarios of refrigeration equipment 100 such as refrigerators. Through an end-to-end learning method, a deep recurrent convolutional network model based on the fusion neural network MMCNN-RNN, CTC, and Attention is established to transcribe audio data into text data, obtain rich high-level voice feature information, and improve the accuracy of the model's voice-to-text transcription.

[0103] Step S40: Acquire historical text data, wherein the historical text data includes historical record data and historical interaction data.

[0104] In contrast to historical text data, the multimodal data collected in the above step S10 is real-time data, and what is obtained in step S40 is historical data. By obtaining historical text data, on the one hand, the information of the historical text data itself can be utilized, and on the other hand, a complementary and associative relationship can be formed with the real-time data to fully obtain the semantic information of the text data.

[0105] Historical text data can be a lot of unlabeled texts accumulated on the refrigeration equipment 100 or the client 200. After obtaining the historical text data, the collected data can be cleaned, formatted, and processed uniformly to make the text format of the historical text data and the real-time collected data transcribed uniform, thereby ensuring the comprehensiveness and specificity of the data characteristics.

[0106] Furthermore, the historical record data includes the user's food preference data, interest data, and comment data; the historical interaction data includes interaction records obtained from the client 200 or the interactive end of the refrigeration device 100. The historical text data also includes data collected by the refrigeration device 100 and data on the client 200 corresponding to the refrigeration device 100.

[0107] Step S50: Preprocessing the total text data.

[0108] The text data in the multimodal data, the text data transcribed from the audio data, the text data transcribed from the video data, and the historical text data are aggregated into total text data.

[0109] The summary of the total text data reflects that this embodiment uses multi-source heterogeneous data, including real-time, offline voice, video, image, text, and text data such as user historical comments, food preferences, and food interests.

[0110] The total text data can include two types of data: the first type is data that can be pre-annotated, and the second type is data that cannot or does not need to be annotated. Data that cannot or does not need to be annotated is generally short phrases, which are also easier to extract slots in subsequent steps. Pre-annotation is generally required for longer sentences. Annotating these sentences facilitates subsequent classification and recognition, and annotated data is more conducive to matching results in subsequent slot extraction steps.

[0111] For text data that can be annotated, the following steps can be taken:

[0112] Step S51: annotate the annotable texts in the total text data, and store the annotated texts as training data and test data respectively.

[0113] Specifically, as shown in Figure 5, the annotable text undergoes pre-annotation, formal annotation, annotation quality inspection, and data storage. If the formally annotated value of a text is judged by the annotation quality inspection to be below a preset threshold, the text is returned to the pre-annotation process for re-annotation. The annotated data can include training data and test data.

[0114] For text data that cannot be labeled or does not need to be labeled, the following steps can be used:

[0115] Step S52: Cleaning the text that cannot be marked in the total text data.

[0116] In step S52, the text data that cannot be labeled are directly subjected to tasks such as data cleaning and format conversion, and then directly participate in the subsequent slot extraction without being labeled.

[0117] Step S60: performing result matching on both the unmarkable text and the marked text in the total text data through slot extraction, and judging the matching result, as shown in FIG3 .

[0118] If the match is successful, jump to the subsequent step S80;

[0119] If the matching fails, proceed to step S70.

[0120] Furthermore, the slot extraction process is shown in FIG4 , where the rule engine performs result matching on both the unlabeled text and the labeled text in the total text data;

[0121] When the rule engine detects a problem, the rule definition is automatically analyzed and repaired through the quick repair module, and the result matching is performed again through the rule engine.

[0122] A rule engine is a software tool that defines and executes various rules within a system, such as business rules, process rules, and data validation rules. A rule engine can encounter various issues, such as inaccurate rule definitions, conflicting rules, and inefficient rule execution. When a rule engine detects a rule violation, it can generate warning or error messages.

[0123] Quick fix techniques can quickly identify and resolve many issues. These techniques typically involve automated testing, code analysis, debugging tools, and other methods to quickly identify issues and provide solutions.

[0124] Therefore, this embodiment combines a rule engine with rapid repair technology to achieve rapid rule repair. When the rule engine discovers a problem, the rapid repair technology can automatically analyze and repair the rule definition, reducing the time and cost of manual repairs, improving system reliability and efficiency, and achieving real-time rule updates and repairs. This avoids the problem of offline unupdated rules and the need to spend a lot of time and effort defining and maintaining rule sets.

[0125] When the quick repair module cannot solve the problem detected by the rule engine, or the rule engine still cannot perform result matching after the rule is repaired, the slot extraction and matching fails.

[0126] The following text performs semantic matching on the text where slot extraction fails.

[0127] Step S70: Calculate the semantic matching result through the neural network.

[0128] Step S70 is shown in FIG3 , and specifically includes step S71 , step S72 , and step S73 ;

[0129] Step S71: extract features from the total text data through a deep fusion network model, train the deep fusion network model with the training data, and predict results with the deep fusion network model using the test data.

[0130] In combination with the above step S51, the labeled data may include training data and test data. Step S71 may perform pre-training tasks on the constructed deep fusion model based on the training data, and then predict the results based on the test data to obtain rich semantic feature information, thereby obtaining the best and most effective model, ensuring the optimal prediction results and higher accuracy of user feedback information.

[0131] The text vectorization model of step S71 encodes text at the character, word, phrase, and sentence levels; the multi-dimensional feature extraction model uses a multi-head attention mechanism to extract character, word, phrase, sentence interaction and association features, and contextual semantic information.

[0132] Step S72: Transmitting the text data corresponding to the failure to the deep fusion network model for feature extraction to extract interaction features;

[0133] Calculate the aggregated interactive feature information between interactive features through attention weighted summation;

[0134] Enhanced by the attention mechanism, the differentiated interactive feature information between interactive features is calculated.

[0135] Aggregating interactive feature information aggregates the interaction information between different features to obtain a richer feature representation. This can improve the model's predictive performance, especially when there are complex interactions between features. By learning and aggregating feature information through attention-weighted summation, a richer feature representation can be obtained.

[0136] Differentiated interactive feature information constructs new feature representations by calculating the differences between different features. It can capture important interactions between different features, thereby improving the model's predictive capabilities. Differentiated interactive feature information can be calculated by leveraging an attention mechanism to enhance the calculation of differences between interactive features. Differentiated interactive feature information can be used as model input for subsequent learning and aggregation in models such as neural networks, resulting in more accurate predictions.

[0137] Step S73: Calculate the text semantic matching result based on the feature information, the aggregated interaction feature information, and the differentiated interaction feature information.

[0138] In step S73, the feature-extracted vector is sequentially passed through the fully connected layer and the self-attention mechanism to obtain the semantic matching result of the text. Here, the semantic matching result is first calculated by the fully connected layer, and then the self-attention mechanism is used to calculate the semantic relationship quantification result with stronger text interactivity.

[0139] In addition, step S73 can also be calculated using semantic matching similarity with disambiguation, which can be achieved based on the threshold value control of the distance between terms, so that some redundant information in the text can be removed.

[0140] Step S80: Result reached.

[0141] After the above steps are completed, the semantic matching results are used for the contact task. The result contact method can adopt a variety of built-in or external forms, such as outbound calls, SMS contact, email notifications, large-screen display, voice broadcast, text output, smart speakers, pop-up UI, app, PAD, web and other result contact methods to meet the needs of result presentation and digital display.

[0142] Compared with the prior art, this embodiment has the following beneficial effects:

[0143] The matching of this text semantic matching method utilizes the mechanism of first labeling and then slot extraction, so that some text data are easier to slot extract after being labeled, and the unlabeled ones are generally phrases, which are easy to slot extract. Therefore, when extracting the slots, there are three situations: the unlabeled ones are successfully matched after slot extraction; the labeled ones are successfully matched after slot extraction; the labeled ones fail to match after slot extraction, and the category of failed matching is then matched through a deep fusion network model and calculation; the overall matching speed of the text is greatly improved, and the matching accuracy is high, which improves the user experience.

[0144] In one embodiment, the present invention also proposes a refrigeration equipment system, which includes a storage module 60 and a processing module 50. When the processing module 50 executes the computer program, it can implement the steps in the above-mentioned text semantic matching method, that is, implement the steps in any one of the technical solutions in the above-mentioned text semantic matching method.

[0145] The refrigeration equipment system may also include the following modules as shown in FIG6 , and the specific functions of each module are as follows:

[0146] An acquisition module, configured to acquire and preprocess multimodal data and / or multi-source heterogeneous data, wherein the multimodal data includes text, audio, and video data related to the refrigeration equipment scenario;

[0147] A video transcription module, used to transcribe video data into text data;

[0148] An audio transcription module, configured to transcribe audio data into text data by combining the spatiotemporal characteristics of speech and contextual features of the refrigeration appliance 100;

[0149] An acquisition module, configured to acquire historical text data, wherein the historical text data includes historical record data and historical interaction data;

[0150] an intelligent annotation module for aggregating the text data in the multimodal data, the text data transcribed from the audio data, the text data transcribed from the video data, and the historical text data into total text data, and annotating the annotatable text in the total text data;

[0151] A slot extraction module, configured to perform result matching on both the unlabeled text and the labeled text in the total text data through slot extraction;

[0152] A feature extraction module, configured to extract features from the total text data through a deep fusion model after matching fails, wherein the deep fusion model is a fusion model of a text vectorization model and a multi-dimensional feature extraction model;

[0153] Aggregation difference module, used to calculate the aggregated interaction feature information between interaction features and calculate the differentiated interaction feature information between interaction features;

[0154] Semantic matching module, used to calculate semantic matching results;

[0155] Reach module, used for result reach.

[0156] It should be noted that for details not disclosed in the refrigeration equipment system of the embodiment of the present invention, please refer to the details disclosed in the text semantic matching method of the embodiment of the present invention.

[0157] The refrigeration equipment system may further include the refrigeration equipment 100, a computing device such as a mobile phone, a computer, a notebook, a PDA, and a cloud server, as well as a processing module 50, a storage module 60, and a computer program stored in the storage module 60 and executable on the processing module 50, such as the aforementioned text semantic matching method program. When the processing module 50 executes the computer program, the steps in the aforementioned text semantic matching method embodiments are implemented, such as the steps shown in Figures 2 to 5.

[0158] The refrigeration equipment system may further include a signal transmission module and a communication bus 70. As shown in FIG7 , the signal transmission module is used to transmit data to the processing module 50 or a server. For example, data can be transmitted between the refrigeration equipment 100 and a mobile phone, or between the refrigeration equipment 100 and a server via the signal transmission module. The signal transmission module can transmit data via a wireless connection, such as Bluetooth, Wi-Fi, or ZigBee. The communication bus 70 is used to establish a connection between the signal transmission module, the processing module 50, and the storage module 60. The communication bus 70 may include a path for transmitting information between the signal transmission module, the processing module 50, and the storage module 60.

[0159] The processing module 50 and the storage module 60 may be a part integrated into the refrigeration device 100 , or a part of a mobile phone, a local terminal device, or a part of a cloud server.

[0160] The processing module 50 can be a central processing unit (CPU), other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), off-the-shelf field-programmable gate arrays (FPGAs), other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor can be a microprocessor or any conventional processor. The processing module 50 is the control center of the refrigeration system, connecting various components of the entire refrigeration system using various interfaces and circuits.

[0161] The storage module 60 can be used to store the computer programs and / or modules. The processing module 50 implements various functions of the refrigeration equipment system by running or executing the computer programs and / or modules stored in the storage module 60 and accessing the data stored in the storage module 60. The storage module 60 may primarily include a program storage area and a data storage area. The program storage area may store an operating system, at least one application required for a function, and the like. Furthermore, the storage module 60 may include high-speed random access memory (RAM) and non-volatile memory, such as a hard disk, internal memory, a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) card, a flash memory card, at least one disk storage device, a flash memory device, or other volatile solid-state memory device.

[0162] For example, the computer program may be divided into one or more modules / units, which are stored in the storage module 60 and executed by the processing module 50 to implement the present invention. The one or more modules / units may be a series of computer program instruction segments capable of performing specific functions, and the instruction segments are used to describe the execution process of the computer program in the refrigeration equipment system.

[0163] Furthermore, an embodiment of the present invention provides a readable storage medium storing a computer program, which, when executed by the processing module 50, can implement the steps in the above-mentioned text semantic matching method, that is, implement the steps in any one of the technical solutions in the above-mentioned text semantic matching method.

[0164] If the module integrated into the text semantic matching method is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the present invention can also implement all or part of the processes in the above-mentioned embodiment method by instructing the relevant hardware through a computer program. The computer program can be stored in a computer-readable storage medium. When the computer program is executed by the processing module 50, it can implement the steps of each of the above-mentioned method embodiments.

[0165] The computer program includes computer program code, which may be in source code form, object code form, executable file, or some intermediate form. The computer-readable medium may include any entity or device capable of carrying the computer program code, recording medium, disk, removable hard disk, magnetic disk, optical disk, computer memory, read-only memory (ROM), random access memory (RAM), electric carrier signal, telecommunication signal, and software distribution medium. It should be noted that the content of the computer-readable medium may be appropriately increased or decreased based on the requirements of legislation and patent practice within a jurisdiction. For example, in some jurisdictions, based on legislation and patent practice, computer-readable media does not include electric carrier signals and telecommunication signals.

[0166] It should be understood that although this specification is described in terms of implementation methods, not every implementation method contains only one independent technical solution. This narrative method of the specification is only for the sake of clarity. Those skilled in the art should regard the specification as a whole. The technical solutions in each implementation method can also be appropriately combined to form other implementation methods that can be understood by those skilled in the art.

[0167] The series of detailed descriptions listed above are only specific descriptions of feasible implementation methods of the present invention. They are not intended to limit the scope of protection of the present invention. Any equivalent implementation methods or changes that do not deviate from the technical spirit of the present invention should be included in the scope of protection of the present invention.

Claims

1. A text semantic matching method, It is characterized in that The steps include: Annotate the annotable texts in the total text data; Performing result matching on both the unmarkable text and the marked text in the total text data through slot extraction, and determining the matching result; If the match is successful, the matching result is output; If the matching fails, the text data corresponding to the failure is transmitted to the deep fusion network model for feature extraction, and then the matching result of the text semantics is calculated based on the feature extraction result; wherein, the deep fusion network model is a fusion model of a text vectorization model and a multi-dimensional feature extraction model, the text vectorization model vectorizes the text data, and the multi-dimensional feature extraction model extracts multi-dimensional interaction features and correlation features.

2. The text semantic matching method according to claim 1, It is characterized in that The step of performing result matching on both the unmarkable text and the marked text in the total text data through slot extraction includes: Matching the results of the unmarkable text and the marked text in the total text data by using a rule engine; When the rule engine detects a problem, the rule definition is automatically analyzed and repaired through the quick repair module, and the result matching is performed again through the rule engine.

3. The text semantic matching method according to claim 2, It is characterized in that Also includes the steps: When the quick repair module cannot solve the problem detected by the rule engine, or the rule engine still cannot match the results after the rule is repaired, the slot extraction match fails; wherein the problem includes inaccurate rule definition, rule conflict, or inefficient rule execution.

4. The text semantic matching method according to claim 1, It is characterized in that If the matching fails, the steps further include: The text data corresponding to the failure is transmitted to the deep fusion network model for feature extraction, and the interaction features are extracted; Calculate aggregated interactive feature information between interactive features; Calculate the differential interaction feature information between the interaction features; Calculate the text semantic matching results based on feature information, aggregated interactive feature information, and differentiated interactive feature information; The step of calculating aggregated interaction feature information between interaction features includes: By weighted summation of attention, the aggregated interactive feature information between interactive features is calculated; The step of calculating the differentiated interactive feature information between the interactive features includes: Enhanced by the attention mechanism, the differentiated interactive feature information between interactive features is calculated.

5. The text semantic matching method according to claim 1, It is characterized in that The step of marking the markable text in the total text data includes: The annotable text is subjected to pre-annotation, formal annotation and annotation quality inspection in sequence. When the value of the text after formal annotation is judged by the annotation quality inspection to be lower than the preset threshold, the text is returned to the pre-annotation process for re-annotation.

6. The text semantic matching method according to claim 1, It is characterized in that The step of marking the markable text in the total text data includes: Annotate the annotable texts in the total text data, and store the annotated texts as training data and test data respectively; The step of transmitting the text data corresponding to the failure to the deep fusion network model for feature extraction includes: For the annotated text data that fails to match, the deep fusion network model is trained with the training data, and the result is predicted by the deep fusion network model using the test data.

7. The text semantic matching method according to claim 1, It is characterized in that Also includes the steps: Performing data cleaning on the text that cannot be labeled in the total text data; The step of transmitting the text data corresponding to the failure to the deep fusion network model for feature extraction includes: For the unlabeled text data that failed to match, an unsupervised learning algorithm is used to train the deep fusion network model with the unlabeled text.

8. The text semantic matching method according to claim 1, It is characterized in that The total text data is obtained by transcribing all multimodal data and / or multi-source heterogeneous data into text data and summarizing them; The text semantic matching method also includes the steps of: Collecting multimodal data and / or multi-source heterogeneous data and preprocessing them, wherein the multimodal data includes text, audio and video data, and the preprocessing includes cleaning, format conversion and storage of the multimodal data; Transcribing video data into text data; Transcribing audio data into text data; Get historical text data; The text data in the multimodal data, the text data transcribed from the audio data, the text data transcribed from the video data, and the historical text data are aggregated into the total text data.

9. The text semantic matching method according to claim 8, It is characterized in that The step of transcribing the video data into text data comprises: Separating the audio and image in the video data to obtain audio data and image data; Recognize text information in the image data and transcribe it into text data; Recognize image data based on spatiotemporal and long-distance dependent features and transcribe them into text data; The steps of recognizing images based on spatiotemporal and long-distance dependent features and transcribing them into text data include: The image recognition based on spatiotemporal and long-distance dependent features is generated into a student model through a fusion model of knowledge distillation and diffusion model, and the image data is transcribed into text data through the student model.

10. The text semantic matching method according to claim 8, It is characterized in that The step of transcribing the video data into text data comprises: Acquire key frame images in the video data through a diffusion network model; The key frame image is identified to generate text data.

11. The text semantic matching method according to claim 8, It is characterized in that The step of transcribing the audio data into text data comprises: Combining the spatiotemporal characteristics of speech and contextual relationship features in the scenario where the data is acquired, a deep recurrent convolutional network model based on the fusion neural network MMCNN-RNN, CTC, and Attention is established to transcribe audio data into text data.

12. The text semantic matching method according to claim 8, It is characterized in that The historical text data includes historical record data and historical interaction data, wherein the historical record data includes the user's food preference data, interest data and comment data, and the historical interaction data includes interaction records obtained from a client or an interaction end of a refrigeration device.

13. The text semantic matching method according to claim 1, It is characterized in that The text vectorization model encodes text at the character, word, phrase, and sentence levels; The multi-dimensional feature extraction model uses a multi-head attention mechanism to extract the interaction and association features of characters, words, phrases, and sentences, as well as contextual semantic information.

14. The text semantic matching method according to claim 1, It is characterized in that The step of calculating the text semantic matching result according to the feature extraction result includes: sequentially passing the feature extracted vector through a fully connected layer and a self-attention mechanism to calculate the text semantic matching result; The text semantic matching method also includes the steps of: The matching results of successful matches and the matching results of failed matches after recalculation are all reached.

15. A refrigeration equipment system, It is characterized in that include: A storage module storing a computer program; A processing module, which can implement the steps of the text semantic matching method described in any one of claims 1 to 14 when executing the computer program.

Citation Information

Patent Citations

  • Semantic understanding method and device, electronic equipment and storage medium

    CN111046674A

  • Information pushing method and device based on deep learning, equipment and storage medium

    CN115098765A

  • Text semantic matching method and refrigeration equipment system

    CN116521821A

  • Finding an appropriate meaning of an entry in a text

    US20150331852A1

  • Text semantic recognition method and apparatus, electronic device, and storage medium

    WO2022083094A1

Cited By

  • Voice and video seat auxiliary prompting method based on large model

    CN120319230A

  • Digital system intelligent customer service multi-contact method based on artificial intelligence

    CN120525539A

  • Intelligent exploratory data mining system

    CN120542437A

  • Highway traffic flow prediction method based on structured semantics and expert network

    CN121747330A