CN117669582A - Engineering consultation processing method and device based on deep learning and electronic equipment - Google Patents
Engineering consultation processing method and device based on deep learning and electronic equipment Download PDFInfo
- Publication number
- CN117669582A CN117669582A CN202311624814.8A CN202311624814A CN117669582A CN 117669582 A CN117669582 A CN 117669582A CN 202311624814 A CN202311624814 A CN 202311624814A CN 117669582 A CN117669582 A CN 117669582A
- Authority
- CN
- China
- Prior art keywords
- semantic
- report
- encrypted
- preset
- processing
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000013135 deep learning Methods 0.000 title claims abstract description 23
- 238000003672 processing method Methods 0.000 title claims abstract description 18
- 238000012545 processing Methods 0.000 claims abstract description 156
- 230000004044 response Effects 0.000 claims abstract description 120
- 238000000034 method Methods 0.000 claims abstract description 37
- 238000012549 training Methods 0.000 claims description 89
- 238000004422 calculation algorithm Methods 0.000 claims description 17
- 230000003044 adaptive effect Effects 0.000 claims description 15
- 230000004927 fusion Effects 0.000 claims description 15
- 238000010276 construction Methods 0.000 claims description 14
- 239000000284 extract Substances 0.000 claims description 12
- 239000011159 matrix material Substances 0.000 claims description 12
- 238000004364 calculation method Methods 0.000 claims description 10
- 238000007477 logistic regression Methods 0.000 claims description 8
- 230000000694 effects Effects 0.000 abstract description 10
- 230000008569 process Effects 0.000 description 16
- 230000006870 function Effects 0.000 description 10
- 238000004891 communication Methods 0.000 description 8
- 238000005516 engineering process Methods 0.000 description 6
- 238000004458 analytical method Methods 0.000 description 5
- 238000011156 evaluation Methods 0.000 description 5
- 238000013461 design Methods 0.000 description 4
- 238000010586 diagram Methods 0.000 description 4
- 230000009471 action Effects 0.000 description 3
- 230000008878 coupling Effects 0.000 description 3
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 238000007726 management method Methods 0.000 description 3
- 238000005336 cracking Methods 0.000 description 2
- 238000012384 transportation and delivery Methods 0.000 description 2
- 230000006978 adaptation Effects 0.000 description 1
- 230000003190 augmentative effect Effects 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 238000009435 building construction Methods 0.000 description 1
- 238000007635 classification algorithm Methods 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 238000013136 deep learning model Methods 0.000 description 1
- 238000002372 labelling Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000003058 natural language processing Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000013439 planning Methods 0.000 description 1
- 238000009877 rendering Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F40/00—Handling natural language data
- G06F40/30—Semantic analysis
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/30—Information retrieval; Database structures therefor; File system structures therefor of unstructured textual data
- G06F16/33—Querying
- G06F16/332—Query formulation
- G06F16/3329—Natural language query formulation
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/30—Information retrieval; Database structures therefor; File system structures therefor of unstructured textual data
- G06F16/33—Querying
- G06F16/3331—Query processing
- G06F16/334—Query execution
- G06F16/3344—Query execution using natural language analysis
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/60—Protecting data
- G06F21/602—Providing cryptographic facilities or services
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- Artificial Intelligence (AREA)
- Computational Linguistics (AREA)
- Databases & Information Systems (AREA)
- Data Mining & Analysis (AREA)
- Mathematical Physics (AREA)
- Health & Medical Sciences (AREA)
- General Health & Medical Sciences (AREA)
- Human Computer Interaction (AREA)
- Bioethics (AREA)
- Computer Hardware Design (AREA)
- Computer Security & Cryptography (AREA)
- Software Systems (AREA)
- Audiology, Speech & Language Pathology (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
本申请提供一种基于深度学习的工程咨询处理方法、装置及电子设备,涉及数据处理的技术领域。在该方法中,接收用户设备发送的咨询请求,咨询请求用于表示针对目标工程的咨询请求;根据咨询请求,生成语义报表;对语义报表进行加密,得到加密语义报表;将加密语义报表输入至预设处理模型中,得到应答结果;将应答结果发送至用户设备。实施本申请提供的技术方案,具有提高对工程咨询的处理效率的技术效果。
This application provides an engineering consulting processing method, device and electronic equipment based on deep learning, which relates to the technical field of data processing. In this method, a consultation request sent by the user device is received, and the consultation request is used to represent a consultation request for the target project; a semantic report is generated according to the consultation request; the semantic report is encrypted to obtain an encrypted semantic report; and the encrypted semantic report is input to In the preset processing model, the response result is obtained; the response result is sent to the user device. Implementing the technical solution provided by this application has the technical effect of improving the efficiency of processing engineering consultation.
Description
技术领域Technical field
本申请涉及数据处理的技术领域,具体涉及一种基于深度学习的工程咨询处理方法、装置及电子设备。This application relates to the technical field of data processing, and specifically relates to an engineering consulting processing method, device and electronic equipment based on deep learning.
背景技术Background technique
工程咨询是一种遵循独立、科学、公正原则的智力服务,旨在为政府部门、项目业主及其他各类客户的工程建设项目决策和管理提供咨询活动。这些咨询活动涵盖了前期立项阶段、勘察设计阶段、施工阶段以及投产或交付使用后的评价等工作。Engineering consulting is an intellectual service that follows the principles of independence, science, and impartiality. It aims to provide consulting activities for government departments, project owners, and other types of customers in the decision-making and management of engineering construction projects. These consulting activities cover the early project establishment stage, survey and design stage, construction stage, and evaluation after commissioning or delivery.
通常,当用户需要工程咨询服务时,他们会与提供工程咨询服务的工作人员进行线下沟通。然而,由于工程咨询的体量较大,工作人员需要反复查询相关资料,这无疑延长了工程咨询的处理周期,导致对工程咨询的处理效率较低。Usually, when users need engineering consulting services, they will communicate offline with the staff who provide engineering consulting services. However, due to the large volume of engineering consultation, staff need to repeatedly query relevant information, which undoubtedly prolongs the processing cycle of engineering consultation and results in low efficiency in processing engineering consultation.
因此,急需一种基于深度学习的工程咨询处理方法、装置及电子设备。Therefore, there is an urgent need for an engineering consulting processing method, device and electronic equipment based on deep learning.
发明内容Contents of the invention
本申请提供了一种基于深度学习的工程咨询处理方法、装置及电子设备,具有提高对工程咨询的处理效率的技术效果。This application provides an engineering consultation processing method, device and electronic equipment based on deep learning, which has the technical effect of improving the processing efficiency of engineering consultation.
在本申请的第一方面提供了一种基于深度学习的工程咨询处理方法,所述方法包括:接收用户设备发送的咨询请求,所述咨询请求用于表示针对目标工程的咨询请求;根据所述咨询请求,生成语义报表;对所述语义报表进行加密,得到加密语义报表;将所述加密语义报表输入至预设处理模型中,得到应答结果;将所述所述应答结果发送至所述用户设备。In the first aspect of this application, a deep learning-based engineering consultation processing method is provided. The method includes: receiving a consultation request sent by a user device, where the consultation request is used to represent a consultation request for a target project; according to the Consult the request and generate a semantic report; encrypt the semantic report to obtain an encrypted semantic report; input the encrypted semantic report into the preset processing model to obtain a response result; send the response result to the user equipment.
通过采用上述技术方案,通过自动接收用户设备发送的咨询请求,并自动生成语义报表,大大提高了处理效率。通过对生成的语义报表进行加密,可以保护用户数据的安全性,防止数据泄露。通过将加密后的语义报表输入到预设处理模型中,可以快速得到应答结果,进一步提高了处理效率。最后,通过将应答结果发送到用户设备,使用户可以及时获取到反馈信息,从而更好地了解咨询结果。由此,该过程能够实现自动化处理、数据加密保护、预设处理模型以及及时反馈应答结果,为用户提供更高效、安全、便捷的咨询服务,相比于相关技术,不再需要人工干预,能够自动完成对工程咨询的处理,具有提高对工程咨询的处理效率的技术效果。By adopting the above technical solution, the processing efficiency is greatly improved by automatically receiving consultation requests sent by user devices and automatically generating semantic reports. By encrypting the generated semantic reports, the security of user data can be protected and data leakage can be prevented. By inputting the encrypted semantic report into the preset processing model, the response results can be obtained quickly, further improving the processing efficiency. Finally, by sending the response results to the user's device, the user can obtain feedback information in time to better understand the consultation results. As a result, the process can achieve automated processing, data encryption protection, preset processing models and timely feedback of response results, providing users with more efficient, secure and convenient consulting services. Compared with related technologies, manual intervention is no longer required and can Automatically complete the processing of engineering consultation, which has the technical effect of improving the efficiency of processing engineering consultation.
可选地,所述根据所述咨询请求,生成语义报表,具体包括:获取所述咨询请求中的文本数据;采用文本指纹算法将所述文本数据与预设关键词库进行匹配;若确认关键词匹配成功,则基于所述关键词进行意图识别,得到意图咨询领域;根据所述意图咨询领域,生成所述语义报表。Optionally, generating a semantic report based on the consultation request specifically includes: obtaining text data in the consultation request; using a text fingerprint algorithm to match the text data with a preset keyword library; if the key is confirmed If the word matching is successful, intent recognition is performed based on the keywords to obtain the intent consulting field; the semantic report is generated based on the intent consulting field.
通过采用上述技术方案,通过获取咨询请求中的文本数据,并对这些数据进行处理,使得后续的匹配和识别更加准确。通过采用文本指纹算法将文本数据与预设关键词库进行匹配,可以快速地找到与文本数据相关的关键词,为后续的意图识别提供参考。若确认关键词匹配成功,则基于关键词进行意图识别,得到意图咨询领域,便于根据用户输入的文本数据理解用户的意图,从而提供更加准确的咨询服务。通过根据意图咨询领域,生成语义报表,便于能够将用户的咨询请求转化为标准化的语义报表,方便后续的处理和分析。由此,便于有效地处理文本数据、进行关键词匹配和意图识别,并根据意图识别结果生成语义报表,从而提供更加准确、高效的咨询服务。By adopting the above technical solution, by obtaining the text data in the consultation request and processing the data, subsequent matching and identification can be made more accurate. By using the text fingerprint algorithm to match the text data with the preset keyword library, keywords related to the text data can be quickly found, providing a reference for subsequent intent recognition. If it is confirmed that the keyword matching is successful, intent recognition will be performed based on the keywords to obtain the intent consultation area, which will facilitate the understanding of the user's intention based on the text data input by the user, thereby providing more accurate consulting services. By generating semantic reports based on the intended consultation field, users' consultation requests can be converted into standardized semantic reports to facilitate subsequent processing and analysis. This makes it easy to effectively process text data, perform keyword matching and intent recognition, and generate semantic reports based on the intent recognition results, thereby providing more accurate and efficient consulting services.
可选地,所述加密语义报表包括语义标签值,所述对所述语义报表进行加密,得到加密语义报表,具体包括:采用秘密共享算法对语义报表进行加密,生成加密语义报表;将所述加密语义报表拆分为多个语义子报表,为各个语义子报表生成对应的密文和随机数;根据各个语义子报表的密文和随机数,计算各个语义子报表的标签值;将多个所述语义子报表的标签值均值作为所述加密语义报表的语义标签值。Optionally, the encrypted semantic report includes a semantic tag value, and encrypting the semantic report to obtain the encrypted semantic report specifically includes: using a secret sharing algorithm to encrypt the semantic report to generate an encrypted semantic report; The encrypted semantic report is split into multiple semantic sub-reports, and corresponding ciphertext and random numbers are generated for each semantic sub-report; based on the cipher text and random numbers of each semantic sub-report, the tag value of each semantic sub-report is calculated; multiple The mean value of the tag values of the semantic sub-report is used as the semantic tag value of the encrypted semantic report.
通过采用上述技术方案,通过对生成的语义报表进行加密,可以保护用户数据的安全性,防止数据泄露。采用秘密共享算法对语义报表进行加密,可以增强数据的安全性,使得数据在传输过程中更加难以被破解。通过将加密后的语义报表拆分为多个语义子报表,可以更好地保护每个语义子报表的隐私性和完整性,使得每个语义子报表都难以被单独破解。通过为各个语义子报表生成对应的密文和随机数,可以增加破解的难度,使得攻击者无法通过密文和随机数推导出原始的语义信息。通过根据各个语义子报表的密文和随机数,计算各个语义子报表的标签值,可以更好地保护每个语义子报表的内容和含义,使得攻击者无法通过标签值推导出原始的语义信息。通过将多个语义子报表的标签值均值作为加密语义报表的语义标签值,可以更好地保护整个加密语义报表的隐私性和完整性,使得攻击者无法通过标签值均值推导出原始的语义信息。By adopting the above technical solution and encrypting the generated semantic reports, the security of user data can be protected and data leakage can be prevented. Using a secret sharing algorithm to encrypt semantic reports can enhance data security and make the data more difficult to crack during transmission. By splitting the encrypted semantic report into multiple semantic sub-reports, the privacy and integrity of each semantic sub-report can be better protected, making each semantic sub-report difficult to crack individually. By generating corresponding ciphertext and random numbers for each semantic sub-report, the difficulty of cracking can be increased, making it impossible for attackers to deduce the original semantic information through ciphertext and random numbers. By calculating the tag value of each semantic subreport based on the ciphertext and random number of each semantic subreport, the content and meaning of each semantic subreport can be better protected, making it impossible for attackers to deduce the original semantic information through the tag value. . By using the average tag value of multiple semantic sub-reports as the semantic tag value of the encrypted semantic report, the privacy and integrity of the entire encrypted semantic report can be better protected, making it impossible for attackers to deduce the original semantic information through the average tag value. .
可选地,所述将所述加密语义报表输入至预设处理模型中,得到应答结果,具体包括:从所述加密语义报表中提取第一特征词,所述第一特征词为预设维度对应的关键词,所述预设维度包括工程类别、工程内容、工程周期、工程预算以及施工环境;将所述第一特征词与所述预设处理模型中的任意一个预设加密语义报表进行汉明相似度计算,以得到目标加密语义报表;根据所述目标加密语义报表,得到所述应答结果。Optionally, inputting the encrypted semantic report into a preset processing model to obtain a response result specifically includes: extracting a first feature word from the encrypted semantic report, where the first feature word is a preset dimension. Corresponding keywords, the preset dimensions include project category, project content, project cycle, project budget and construction environment; compare the first feature word with any preset encrypted semantic report in the preset processing model Hamming similarity is calculated to obtain the target encrypted semantic report; and the response result is obtained according to the target encrypted semantic report.
通过采用上述技术方案,通过从加密语义报表中提取第一特征词,这些特征词是与预设维度对应的关键词。通过提取这些特征词,可以更好地理解用户的咨询请求,并对其进行更加准确的匹配和应答。通过将提取的第一特征词与预设处理模型中的任意一个预设加密语义报表进行汉明相似度计算,以得到目标加密语义报表。通过进行汉明相似度计算,可以量化两个文本之间的相似程度,从而找到与用户咨询请求最匹配的预设加密语义报表。通过根据目标加密语义报表,得到应答结果。通过匹配最相似的预设加密语义报表,可以快速地得到与用户咨询请求最相关的应答结果,从而提高了咨询的效率和准确性。By adopting the above technical solution, the first feature words are extracted from the encrypted semantic report, and these feature words are keywords corresponding to the preset dimensions. By extracting these feature words, users' consultation requests can be better understood and more accurately matched and responded to. The target encrypted semantic report is obtained by performing Hamming similarity calculation on the extracted first feature word and any preset encrypted semantic report in the preset processing model. By performing Hamming similarity calculation, the degree of similarity between two texts can be quantified to find the preset encrypted semantic report that best matches the user's consultation request. By encrypting semantic reports according to the target, the response results are obtained. By matching the most similar preset encrypted semantic reports, the response results most relevant to the user's consultation request can be quickly obtained, thus improving the efficiency and accuracy of consultation.
可选地,所述将所述第一特征词与所述预设处理模型中的任意一个预设加密语义报表进行汉明相似度计算,以得到目标加密语义报表,具体包括:提取任意一个预设加密语义报表中的第二特征词;计算所述第一特征词与所述第二特征词之间的汉明距离;比较所述汉明距离与预设汉明距离之间的大小关系;若所述汉明距离小于或等于预设汉明距离,则确认所述第二特征词对应的预设加密语义报表为所述目标加密语义报表。Optionally, performing Hamming similarity calculation on the first feature word and any one of the preset encrypted semantic reports in the preset processing model to obtain the target encrypted semantic report specifically includes: extracting any one of the preset encrypted semantic reports. Assume the second feature word in the encrypted semantic report; calculate the Hamming distance between the first feature word and the second feature word; compare the size relationship between the Hamming distance and the preset Hamming distance; If the Hamming distance is less than or equal to the preset Hamming distance, it is confirmed that the preset encrypted semantic report corresponding to the second feature word is the target encrypted semantic report.
通过采用上述技术方案,通过提取预设处理模型中的任意一个预设加密语义报表中的第二特征词,这些特征词是与预设维度对应的关键词。通过提取这些第二特征词,可以与用户咨询请求中的第一特征词进行比较和匹配。通过计算第一特征词与第二特征词之间的汉明距离,这是一种衡量两个文本之间相似度的方法。通过计算汉明距离,可以量化两个文本之间的差异,从而判断它们之间的相似程度。通过比较汉明距离与预设汉明距离之间的大小关系,可以筛选出与用户咨询请求最匹配的预设加密语义报表。若汉明距离小于或等于预设汉明距离,则确认第二特征词对应的预设加密语义报表为目标加密语义报表。这意味着将会选择与用户咨询请求最相似的预设加密语义报表作为应答结果,从而提高了咨询的准确性和效率。By adopting the above technical solution, by extracting the second feature words in any preset encrypted semantic report in the preset processing model, these feature words are keywords corresponding to the preset dimensions. By extracting these second feature words, they can be compared and matched with the first feature words in the user's consultation request. This is a method of measuring the similarity between two texts by calculating the Hamming distance between the first feature word and the second feature word. By calculating the Hamming distance, the difference between two texts can be quantified to determine the degree of similarity between them. By comparing the relationship between the Hamming distance and the preset Hamming distance, the preset encryption semantic report that best matches the user's consultation request can be filtered out. If the Hamming distance is less than or equal to the preset Hamming distance, it is confirmed that the preset encrypted semantic report corresponding to the second feature word is the target encrypted semantic report. This means that the preset encrypted semantic report that is most similar to the user's consultation request will be selected as the response result, thus improving the accuracy and efficiency of consultation.
可选地,所述将所述加密语义报表输入至预设处理模型中,得到应答结果,具体还包括:获取任意一个历史应答结果中的主题语义,所述预设处理模型中预先存储有多个历史应答结果;计算各个主题语义对应的应答标签值;判断所述应答标签值与所述语义标签值之间的相似度;若确认所述相似度大于或等于预设相似度阈值,则确定所述应答标签值对应的历史应答结果为所述应答结果。Optionally, inputting the encrypted semantic report into a preset processing model to obtain a response result specifically includes: obtaining the topic semantics in any historical response result, and there are multiple preset processing models stored in advance. historical response results; calculate the response label value corresponding to each topic semantics; determine the similarity between the response label value and the semantic label value; if it is confirmed that the similarity is greater than or equal to the preset similarity threshold, then determine The historical response result corresponding to the response tag value is the response result.
通过采用上述技术方案,获取任意一个历史应答结果中的主题语义,这些历史应答结果在预设处理模型中预先存储。通过利用历史应答结果,可以更好地理解用户的咨询请求,并为其提供更加准确和全面的应答。通过计算各个主题语义对应的应答标签值。这些应答标签值是根据历史应答结果的主题语义计算得出的,可以反映不同主题在历史应答结果中的重要性。通过判断应答标签值与语义标签值之间的相似度。通过比较两个标签值的相似度,可以量化它们之间的关联程度,从而判断用户的咨询请求与历史应答结果之间的匹配程度。若确认相似度大于或等于预设相似度阈值,则确定应答标签值对应的历史应答结果为应答结果,便于提高咨询的准确性和效率。By adopting the above technical solution, the topic semantics in any historical response results are obtained, and these historical response results are pre-stored in the preset processing model. By leveraging historical response results, users' consultation requests can be better understood and more accurate and comprehensive responses can be provided. By calculating the response tag value corresponding to each topic semantics. These response tag values are calculated based on the topic semantics of historical response results and can reflect the importance of different topics in historical response results. By judging the similarity between the response tag value and the semantic tag value. By comparing the similarity of two tag values, the degree of correlation between them can be quantified, thereby determining the degree of matching between the user's consultation request and historical response results. If it is confirmed that the similarity is greater than or equal to the preset similarity threshold, the historical response result corresponding to the response tag value is determined to be the response result, so as to improve the accuracy and efficiency of consultation.
可选地,所述将所述加密语义报表输入至预设处理模型中,得到应答结果之前,训练所述预设处理模型;所述训练所述预设处理模型,具体包括:获取训练信息,所述训练信息包括加密语义报表和应答结果;将所述训练信息输入至自适应特征融合网络中进行训练,得到第一训练结果;将所述第一训练结果与所述训练信息进行叠加与标准化处理后,得到第二训练结果;将所述第二训练结果输入至所述自适应特征融合网络中进行处理,得到第三训练结果;将所述第三训练结果与所述第二训练结果进行叠加与标准化处理,直至输出所述训练信息相似度矩阵,所述训练信息相似度矩阵满足预设逻辑回归条件。Optionally, the step of inputting the encrypted semantic report into a preset processing model and training the preset processing model before obtaining the response result; the training of the preset processing model specifically includes: obtaining training information, The training information includes encrypted semantic reports and response results; the training information is input into the adaptive feature fusion network for training to obtain the first training result; the first training result and the training information are superimposed and standardized After processing, the second training result is obtained; the second training result is input into the adaptive feature fusion network for processing, and a third training result is obtained; the third training result is compared with the second training result. Superposition and standardization are performed until the training information similarity matrix is output, and the training information similarity matrix satisfies the preset logistic regression condition.
通过采用上述技术方案,通过训练预设处理模型,可以提高对用户咨询请求的匹配和应答能力。通过获取训练信息,包括加密语义报表和应答结果。这些训练信息用于训练预设处理模型,使其能够更好地理解用户的咨询请求并给出准确的应答结果。通过将训练信息输入到自适应特征融合网络中进行训练,得到第一训练结果。自适应特征融合网络可以根据输入的训练信息自动学习和提取特征,从而提高训练的效率和准确性。通过将第一训练结果与训练信息进行叠加与标准化处理后,得到第二训练结果。这种处理可以使得训练结果更加稳定和可靠,提高模型的泛化能力。通过将第二训练结果再次输入自适应特征融合网络中进行处理,得到第三训练结果,并将第三训练结果与第二训练结果进行叠加与标准化处理。这种多次叠加与标准化处理可以进一步提高模型的准确性和稳定性。通过输出训练信息相似度矩阵,该矩阵可以用于衡量不同加密语义报表之间的相似度,从而满足预设逻辑回归条件。这个相似度矩阵可以用于后续的匹配和应答过程,提高处理的效率和准确性。By adopting the above technical solution and training the preset processing model, the ability to match and respond to user consultation requests can be improved. By obtaining training information, including encrypted semantic reports and response results. This training information is used to train the preset processing model so that it can better understand the user's consultation request and give accurate response results. By inputting the training information into the adaptive feature fusion network for training, the first training result is obtained. The adaptive feature fusion network can automatically learn and extract features based on the input training information, thereby improving the efficiency and accuracy of training. The second training result is obtained by superimposing and standardizing the first training result and the training information. This processing can make the training results more stable and reliable, and improve the generalization ability of the model. By inputting the second training result into the adaptive feature fusion network again for processing, the third training result is obtained, and the third training result and the second training result are superimposed and standardized. This multiple superposition and standardization processing can further improve the accuracy and stability of the model. By outputting the training information similarity matrix, the matrix can be used to measure the similarity between different encrypted semantic reports to meet the preset logistic regression conditions. This similarity matrix can be used in subsequent matching and response processes to improve processing efficiency and accuracy.
在本申请的第二方面提供了一种基于深度学习的工程咨询处理装置,所述处理装置包括接收模块和处理模块,其中,所述接收模块,用于接收用户设备发送的咨询请求,所述咨询请求用于表示针对目标工程的咨询请求;所述处理模块,用于根据所述咨询请求,生成语义报表;所述处理模块,还用于对所述语义报表进行加密,得到加密语义报表;所述处理模块,还用于将所述加密语义报表输入至预设处理模型中,得到应答结果;所述处理模块,还用于将所述所述应答结果发送至所述用户设备。In the second aspect of this application, an engineering consultation processing device based on deep learning is provided. The processing device includes a receiving module and a processing module, wherein the receiving module is used to receive a consulting request sent by the user equipment, and the The consultation request is used to represent a consultation request for the target project; the processing module is used to generate a semantic report according to the consultation request; the processing module is also used to encrypt the semantic report to obtain an encrypted semantic report; The processing module is also used to input the encrypted semantic report into a preset processing model to obtain a response result; the processing module is also used to send the response result to the user equipment.
在本申请的第三方面提供了一种电子设备,所述电子设备包括处理器、存储器、用户接口以及网络接口,所述存储器用于存储指令,所述用户接口和所述网络接口均用于给其他设备通信,所述处理器用于执行所述存储器中存储的指令,以使所述电子设备执行如上所述的方法。In a third aspect of the present application, an electronic device is provided. The electronic device includes a processor, a memory, a user interface, and a network interface. The memory is used to store instructions, and the user interface and the network interface are both used to store instructions. To communicate with other devices, the processor is used to execute instructions stored in the memory, so that the electronic device performs the method as described above.
在本申请的第四方面提供了一种计算机可读存储介质,所述计算机可读存储介质存储有指令,当所述指令被执行时,执行如上所述的方法。In a fourth aspect of the present application, a computer-readable storage medium is provided. The computer-readable storage medium stores instructions. When the instructions are executed, the method as described above is performed.
综上所述,本申请实施例中提供的一个或多个技术方案,至少具有如下技术效果或优点:To sum up, one or more technical solutions provided in the embodiments of this application have at least the following technical effects or advantages:
1.通过自动接收用户设备发送的咨询请求,并自动生成语义报表,大大提高了处理效率。通过对生成的语义报表进行加密,可以保护用户数据的安全性,防止数据泄露。通过将加密后的语义报表输入到预设处理模型中,可以快速得到应答结果,进一步提高了处理效率。最后,通过将应答结果发送到用户设备,使用户可以及时获取到反馈信息,从而更好地了解咨询结果。由此,该过程能够实现自动化处理、数据加密保护、预设处理模型以及及时反馈应答结果,为用户提供更高效、安全、便捷的咨询服务,相比于相关技术,不再需要人工干预,能够自动完成对工程咨询的处理,具有提高对工程咨询的处理效率的技术效果;1. By automatically receiving consultation requests sent by user devices and automatically generating semantic reports, processing efficiency is greatly improved. By encrypting the generated semantic reports, the security of user data can be protected and data leakage can be prevented. By inputting the encrypted semantic report into the preset processing model, the response results can be obtained quickly, further improving the processing efficiency. Finally, by sending the response results to the user's device, the user can obtain feedback information in time to better understand the consultation results. As a result, the process can achieve automated processing, data encryption protection, preset processing models and timely feedback of response results, providing users with more efficient, secure and convenient consulting services. Compared with related technologies, manual intervention is no longer required and can Automatically complete the processing of engineering consultation, which has the technical effect of improving the efficiency of processing engineering consultation;
2.通过计算汉明距离,可以量化两个文本之间的差异,从而判断它们之间的相似程度。通过比较汉明距离与预设汉明距离之间的大小关系,可以筛选出与用户咨询请求最匹配的预设加密语义报表。若汉明距离小于或等于预设汉明距离,则确认第二特征词对应的预设加密语义报表为目标加密语义报表。这意味着将会选择与用户咨询请求最相似的预设加密语义报表作为应答结果,从而提高了咨询的准确性和效率;2. By calculating the Hamming distance, the difference between two texts can be quantified to determine the degree of similarity between them. By comparing the relationship between the Hamming distance and the preset Hamming distance, the preset encryption semantic report that best matches the user's consultation request can be filtered out. If the Hamming distance is less than or equal to the preset Hamming distance, it is confirmed that the preset encrypted semantic report corresponding to the second feature word is the target encrypted semantic report. This means that the preset encrypted semantic report most similar to the user's consultation request will be selected as the response result, thus improving the accuracy and efficiency of consultation;
3.通过利用历史应答结果,可以更好地理解用户的咨询请求,并为其提供更加准确和全面的应答。通过计算各个主题语义对应的应答标签值。这些应答标签值是根据历史应答结果的主题语义计算得出的,可以反映不同主题在历史应答结果中的重要性。通过判断应答标签值与语义标签值之间的相似度。通过比较两个标签值的相似度,可以量化它们之间的关联程度,从而判断用户的咨询请求与历史应答结果之间的匹配程度。若确认相似度大于或等于预设相似度阈值,则确定应答标签值对应的历史应答结果为应答结果,便于提高咨询的准确性和效率。3. By utilizing historical response results, we can better understand users’ consultation requests and provide them with more accurate and comprehensive responses. By calculating the response tag value corresponding to each topic semantics. These response tag values are calculated based on the topic semantics of historical response results and can reflect the importance of different topics in historical response results. By judging the similarity between the response tag value and the semantic tag value. By comparing the similarity of two tag values, the degree of correlation between them can be quantified, thereby determining the degree of matching between the user's consultation request and historical response results. If it is confirmed that the similarity is greater than or equal to the preset similarity threshold, the historical response result corresponding to the response tag value is determined to be the response result, so as to improve the accuracy and efficiency of consultation.
附图说明Description of drawings
图1为本申请实施例提供的一种基于深度学习的工程咨询处理方法的流程示意图。Figure 1 is a schematic flowchart of an engineering consulting processing method based on deep learning provided by an embodiment of the present application.
图2为本申请实施例提供的一种基于深度学习的工程咨询处理装置的模块示意图。Figure 2 is a schematic module diagram of a deep learning-based engineering consultation processing device provided by an embodiment of the present application.
图3为本申请实施例提供的一种电子设备的结构示意图。FIG. 3 is a schematic structural diagram of an electronic device provided by an embodiment of the present application.
附图标记说明:21、接收模块;22、处理模块;31、处理器;32、通信总线;33、用户接口;34、网络接口;35、存储器。Explanation of reference signs: 21. Receiving module; 22. Processing module; 31. Processor; 32. Communication bus; 33. User interface; 34. Network interface; 35. Memory.
具体实施方式Detailed ways
为了使本领域的技术人员更好地理解本说明书中的技术方案,下面将结合本说明书实施例中的附图,对本说明书实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅是本申请一部分实施例,而不是全部的实施例。In order to enable those skilled in the art to better understand the technical solutions in this specification, the technical solutions in the embodiments of this specification will be clearly and completely described below in conjunction with the accompanying drawings in the embodiments of this specification. Obviously, the described The embodiments are only some of the embodiments of this application, not all of them.
在本申请实施例的描述中,“例如”或者“举例来说”等词用于表示作例子、例证或说明。本申请实施例中被描述为“例如”或者“举例来说”的任何实施例或设计方案不应被解释为比其他实施例或设计方案更优选或更具优势。确切而言,使用“例如”或者“举例来说”等词旨在以具体方式呈现相关概念。In the description of the embodiments of this application, words such as "for example" or "for example" are used to represent examples, illustrations or illustrations. Any embodiment or design described as "such as" or "for example" in the embodiments of the present application shall not be construed as being preferred or advantageous over other embodiments or designs. Rather, the use of words such as "for example" or "for example" is intended to present the concept in a concrete manner.
在本申请实施例的描述中,术语“多个”的含义是指两个或两个以上。例如,多个系统是指两个或两个以上的系统,多个屏幕终端是指两个或两个以上的屏幕终端。此外,术语“第一”、“第二”仅用于描述目的,而不能理解为指示或暗示相对重要性或者隐含指明所指示的技术特征。由此,限定有“第一”、“第二”的特征可以明示或者隐含地包括一个或者更多个该特征。术语“包括”、“包含”、“具有”及它们的变形都意味着“包括但不限于”,除非是以其他方式另外特别强调。In the description of the embodiments of this application, the term “plurality” means two or more. For example, multiple systems refer to two or more systems, and multiple screen terminals refer to two or more screen terminals. In addition, the terms "first" and "second" are only used for descriptive purposes and cannot be understood as indicating or implying relative importance or implicitly indicating the indicated technical features. Therefore, features defined as "first" and "second" may explicitly or implicitly include one or more of these features. The terms “including,” “includes,” “having,” and variations thereof all mean “including but not limited to,” unless otherwise specifically emphasized.
工程规划是科学和数学的某种应用,通过这一应用,使自然界的物质和能源的特性能够通过各种结构、机器、产品、系统和过程,是以最短的时间和精而少的人力做出高效、可靠且对人类有用的东西。于是工程的概念就产生了,并且它逐渐发展为一门独立的学科和技艺,在实际生活中,到处都和工程息息相关,但是工程的施行需要相对专业的知识储备。但是,在实际施工过程中施工人员的专业知识如果不能满足要求,就需要进行工程咨询。Engineering planning is a certain application of science and mathematics. Through this application, the properties of matter and energy in nature can be implemented through various structures, machines, products, systems and processes in the shortest time and with the smallest amount of manpower. To produce something that is efficient, reliable and useful to humanity. So the concept of engineering came into being, and it gradually developed into an independent discipline and skill. In real life, it is closely related to engineering everywhere, but the implementation of engineering requires relatively professional knowledge reserves. However, if the professional knowledge of the construction personnel cannot meet the requirements during the actual construction process, engineering consultation is required.
工程咨询是一种非常重要的智力服务,它遵循独立、科学、公正的原则,旨在为政府部门、项目业主及其他各类客户的工程建设项目决策和管理提供咨询活动。这些咨询活动涵盖了前期立项阶段、勘察设计阶段、施工阶段以及投产或交付使用后的评价等工作。工程咨询的核心是利用专业知识和经验,为客户提供高质量、全面的咨询服务,帮助他们做出更加合理、科学的决策,提高项目的质量和效益。Engineering consulting is a very important intellectual service that follows the principles of independence, science, and impartiality, and aims to provide consulting activities for government departments, project owners, and other various customers in the decision-making and management of engineering construction projects. These consulting activities cover the early project establishment stage, survey and design stage, construction stage, and evaluation after commissioning or delivery. The core of engineering consulting is to use professional knowledge and experience to provide customers with high-quality, comprehensive consulting services, help them make more reasonable and scientific decisions, and improve the quality and efficiency of projects.
通常,当用户需要工程咨询服务时,他们会与提供工程咨询服务的工作人员进行线下沟通。然而,由于工程咨询的体量较大,工作人员需要反复查询相关资料,这无疑延长了工程咨询的处理周期,导致对工程咨询的处理效率较低。此外,由于缺乏有效的信息化管理手段,工程咨询工作的质量和效率受到一定的影响。因此,如何提高工程咨询的处理效率和质量,是当前工程咨询行业面临的一个重要问题。Usually, when users need engineering consulting services, they will communicate offline with the staff who provide engineering consulting services. However, due to the large volume of engineering consultation, staff need to repeatedly query relevant information, which undoubtedly prolongs the processing cycle of engineering consultation and results in low efficiency in processing engineering consultation. In addition, due to the lack of effective information management methods, the quality and efficiency of engineering consulting work have been affected to a certain extent. Therefore, how to improve the processing efficiency and quality of engineering consulting is an important issue facing the current engineering consulting industry.
为了解决上述技术问题,本申请提供了一种基于深度学习的工程咨询处理方法,参照图1,图1为本申请实施例提供的一种基于深度学习的工程咨询处理方法的流程示意图。该处理方法应用于服务器,包括步骤S110至步骤S150,上述步骤如下:In order to solve the above technical problems, this application provides an engineering consulting processing method based on deep learning. Refer to Figure 1 , which is a schematic flow chart of an engineering consulting processing method based on deep learning provided by an embodiment of this application. The processing method is applied to the server and includes steps S110 to S150. The above steps are as follows:
S110、接收用户设备发送的咨询请求,咨询请求用于表示针对目标工程的咨询请求。S110. Receive a consultation request sent by the user device. The consultation request is used to represent a consultation request for the target project.
具体地,当用户存在工程咨询的问题时,可以通过使用用户设备上的工程咨询应用程序或者访问工程咨询网站输入问题,其中,咨询请求包括咨询问题。在本申请实施例中,用户设备为智能手机,服务器用于为用户设备提供后台服务,服务器可以是一台服务器,也可以是由多台服务器组成的服务器集群,或者是一个云计算服务中心。服务器可以通过有线或无线网络与用户设备进行通信。用户设备的类型包括但不限于:安卓(Android)系统设备、苹果公司开发的移动操作系统(iOS)设备、个人计算机(PC)、全球局域网(WorldWide Web,web)设备、虚拟现实(Virtual Reality,VR)设备、增强现实(AugmentedReality,AR)设备等设备。Specifically, when the user has an engineering consulting problem, he or she can input the problem by using an engineering consulting application on the user's device or accessing an engineering consulting website, where the consulting request includes the consulting problem. In this embodiment of the present application, the user equipment is a smartphone, and the server is used to provide background services for the user equipment. The server can be one server, a server cluster composed of multiple servers, or a cloud computing service center. The server can communicate with user devices over wired or wireless networks. Types of user devices include but are not limited to: Android system devices, mobile operating system (iOS) devices developed by Apple, personal computers (PC), WorldWide Web (web) devices, virtual reality (Virtual Reality, VR) equipment, augmented reality (AugmentedReality, AR) equipment and other equipment.
S120、根据咨询请求,生成语义报表。S120. Generate a semantic report according to the consultation request.
具体地,服务器接收到咨询请求后,会使用自然语言处理技术对咨询请求进行语义分析。这个过程可以包括词法分析、句法分析、语义理解等步骤,从而提取出用户咨询请求中的关键信息,如工程名称、咨询问题、时间等。Specifically, after the server receives the consultation request, it will use natural language processing technology to perform semantic analysis on the consultation request. This process can include steps such as lexical analysis, syntactic analysis, and semantic understanding to extract key information in user consultation requests, such as project name, consultation questions, time, etc.
在一种可能的实施方式中,获取咨询请求中的文本数据;采用文本指纹算法将文本数据与预设关键词库进行匹配;若确认关键词匹配成功,则基于关键词进行意图识别,得到意图咨询领域;根据意图咨询领域,生成语义报表。In one possible implementation, the text data in the consultation request is obtained; a text fingerprint algorithm is used to match the text data with a preset keyword library; if the keyword matching is confirmed to be successful, intent recognition is performed based on the keywords to obtain the intent Consulting field; generate semantic reports based on the intended consulting field.
具体地,服务器接收到咨询请求后,会从中提取出文本数据。这些文本数据包含了用户对目标工程的咨询需求和问题。文本指纹算法是一种用于文本匹配的技术,它通过提取文本中的特征信息,生成一个独特的指纹,从而判断两个文本是否相似。服务器将提取的文本数据与预设关键词库中的关键词进行匹配,判断是否含有相同的关键词。如果匹配成功,说明文本数据中包含了预设关键词库中的关键词,这时就可以基于这些关键词进行意图识别。意图识别是指从文本中提取出用户的意图,即用户主要想了解什么方面的信息。通过意图识别,可以得到意图咨询领域,即用户主要想咨询的目标工程领域。最后,根据意图咨询领域,服务器可以生成相应的语义报表。这个报表通常是对用户咨询请求的语义理解结果,它可以帮助服务器更好地理解用户的咨询需求,从而提供更加准确和有效的响应。Specifically, after the server receives the consultation request, it will extract text data from it. These text data contain users' consultation needs and questions about the target project. The text fingerprint algorithm is a technology used for text matching. It extracts feature information from the text and generates a unique fingerprint to determine whether two texts are similar. The server matches the extracted text data with the keywords in the preset keyword library to determine whether it contains the same keywords. If the match is successful, it means that the text data contains keywords in the preset keyword library, and then intent recognition can be performed based on these keywords. Intent recognition refers to extracting the user's intention from the text, that is, what information the user mainly wants to know. Through intention recognition, the intention consultation area can be obtained, that is, the target engineering area that the user mainly wants to consult. Finally, based on the intent query field, the server can generate corresponding semantic reports. This report is usually the result of a semantic understanding of the user's consultation request. It can help the server better understand the user's consultation needs, thereby providing a more accurate and effective response.
举例来说,假设用户发送了一个咨询请求:“请问一下,朝阳路的那个商业大楼建设工程的进度情况如何?”服务器接收到这个咨询请求后,会从中提取出文本数据:“朝阳路商业大楼建设工程的进度情况”。然后,服务器会将其与预设关键词库中的关键词进行匹配,发现“朝阳路”、“商业大楼”、“建设工程”等关键词都匹配成功。接下来,服务器会基于这些关键词进行意图识别,判断用户的意图是想要了解朝阳路商业大楼建设工程的进度情况。最后,根据这个意图,服务器可以生成相应的语义报表,其中包括工程名称、地点、咨询问题、时间等信息。这个语义报表可以帮助服务器更好地理解用户的咨询需求,并为后续的响应提供支持。For example, suppose the user sends a consultation request: "Excuse me, what is the progress of the construction project of the commercial building on Chaoyang Road?" After the server receives the consultation request, it will extract text data from it: "Chaoyang Road Commercial Building The progress of the construction project." Then, the server will match it with the keywords in the preset keyword database and find that keywords such as "Chaoyang Road", "Commercial Building", and "Construction Project" are all matched successfully. Next, the server will perform intent recognition based on these keywords and determine that the user's intent is to learn about the progress of the Chaoyang Road commercial building construction project. Finally, based on this intention, the server can generate corresponding semantic reports, including project name, location, consultation questions, time and other information. This semantic report can help the server better understand the user's consultation needs and provide support for subsequent responses.
S130、对语义报表进行加密,得到加密语义报表。S130. Encrypt the semantic report to obtain the encrypted semantic report.
具体地,服务器根据用户的咨询请求生成的报表,其中包含了用户咨询问题的语义理解结果。这个报表通常是一种结构化或半结构化的数据格式,如XML、JSON等。再通过特定的算法和密钥,将信息转换成不可读的格式,从而保护信息的机密性和完整性。经过加密处理后的语义报表就是加密语义报表。它是一种受保护的数据格式,可以防止未经授权的访问和篡改。Specifically, the report generated by the server based on the user's consultation request contains the semantic understanding results of the user's consultation questions. This report is usually a structured or semi-structured data format, such as XML, JSON, etc. The information is then converted into an unreadable format through specific algorithms and keys, thereby protecting the confidentiality and integrity of the information. The encrypted semantic report is an encrypted semantic report. It is a protected data format that prevents unauthorized access and tampering.
在一种可能的实施方式中,加密语义报表包括语义标签值,对语义报表进行加密,得到加密语义报表,具体包括:采用秘密共享算法对语义报表进行加密,生成加密语义报表;将加密语义报表拆分为多个语义子报表,为各个语义子报表生成对应的密文和随机数;根据各个语义子报表的密文和随机数,计算各个语义子报表的标签值;将多个语义子报表的标签值均值作为加密语义报表的语义标签值。In a possible implementation, the encrypted semantic report includes semantic tag values, and the semantic report is encrypted to obtain the encrypted semantic report, which specifically includes: using a secret sharing algorithm to encrypt the semantic report to generate the encrypted semantic report; and converting the encrypted semantic report into Split into multiple semantic sub-reports, and generate corresponding ciphertext and random numbers for each semantic sub-report; calculate the tag value of each semantic sub-report based on the cipher text and random numbers of each semantic sub-report; combine multiple semantic sub-reports The mean value of the label value is used as the semantic label value of the encrypted semantic report.
具体地,在加密语义报表中,除了报表本身的加密内容外,还包括了每个语义子报表的标签值。标签值是对每个语义子报表内容的概括或描述,可以方便后续的查询和处理。秘密共享算法是一种将即密钥分成若干份,分别存储在多个参与终端中的算法。只有持有相应份额的终端才能通过这些份额重新组合出原始秘密。这里采用秘密共享算法对语义报表进行加密,可以增加破解的难度,提高数据的安全性。为了更好地管理和处理加密语义报表,可以将报表拆分成多个更小的子报表。每个语义子报表都包含一部分原始语义数据和相应的密文。在拆分加密语义报表后,需要为每个语义子报表生成对应的密文和随机数。这些随机数可以作为每个子报表的标识符,方便后续的处理和查询。根据每个语义子报表的密文和随机数,可以计算出每个子报表的标签值。这些标签值是对子报表内容的概括或描述,可以作为每个子报表的标识符。最后,将多个语义子报表的标签值取平均值,作为整个加密语义报表的语义标签值。这个标签值可以作为一个整体标识符,方便后续对加密语义报表的处理和查询。Specifically, in the encrypted semantic report, in addition to the encrypted content of the report itself, the tag value of each semantic sub-report is also included. The tag value is a summary or description of the content of each semantic subreport, which can facilitate subsequent query and processing. The secret sharing algorithm is an algorithm that divides the secret key into several parts and stores them in multiple participating terminals. Only the terminal holding the corresponding shares can reassemble the original secret through these shares. Here, a secret sharing algorithm is used to encrypt the semantic report, which can increase the difficulty of cracking and improve the security of the data. To better manage and process encrypted semantic reports, you can split the report into multiple smaller subreports. Each semantic subreport contains a portion of the original semantic data and the corresponding ciphertext. After splitting the encrypted semantic report, the corresponding ciphertext and random numbers need to be generated for each semantic sub-report. These random numbers can be used as identifiers for each subreport to facilitate subsequent processing and querying. Based on the ciphertext and random number of each semantic subreport, the tag value of each subreport can be calculated. These tag values are a summary or description of the content of the subreport and can be used as an identifier for each subreport. Finally, the tag values of multiple semantic sub-reports are averaged as the semantic tag value of the entire encrypted semantic report. This tag value can be used as an overall identifier to facilitate subsequent processing and query of encrypted semantic reports.
举例来说,假设有一个语义报表,包括“工程名称:朝阳路商业大楼;地点:北京市朝阳区;咨询问题:工程进度如何”,对其进行加密处理,生成加密语义报表的过程如下:首先,采用秘密共享算法对语义报表进行加密,生成加密语义报表。这个过程可以将原始数据加密成一个密文字符串。其次,将加密语义报表拆分为多个语义子报表。例如,可以将其拆分为三个子报表:“工程名称”:“朝阳路商业大楼”、“地点”:“北京市朝阳区”、“咨询问题”:“工程进度如何”。接下来,为每个语义子报表生成对应的密文和随机数。例如,可以分别为每个子报表生成一个随机数,并计算出对应的密文。再根据每个语义子报表的密文和随机数,计算出每个子报表的标签值。例如,可以使用MD5等哈希函数对每个子报表的内容进行哈希计算,得到对应的标签值。将多个语义子报表的标签值取平均值,作为整个加密语义报表的语义标签值。进一步地,如果三个子报表的标签值分别为0x123456、0xabcdef、0x789abc,则可以将三个子报表对应的三个标签值的平均值作为整个加密语义报表的语义标签值,即(0x123456+0xabcdef+0x789abc)/3。最终得到的加密语义报表包括每个子报表的密文、随机数和标签值等信息,可以存储和使用。当需要查询和处理加密语义报表时,可以通过语义标签值快速定位和检索相关的子报表信息。For example, suppose there is a semantic report, including "Project name: Chaoyang Road Commercial Building; Location: Chaoyang District, Beijing; Consulting question: How is the project progress?" and it is encrypted. The process of generating an encrypted semantic report is as follows: First , using a secret sharing algorithm to encrypt semantic reports and generate encrypted semantic reports. This process encrypts the original data into a ciphertext string. Second, split the encrypted semantic report into multiple semantic sub-reports. For example, it can be split into three subreports: "Project name": "Chaoyang Road Commercial Building", "Location": "Chaoyang District, Beijing", "Consultation question": "How is the project progress?" Next, the corresponding ciphertext and random numbers are generated for each semantic subreport. For example, you can generate a random number for each subreport and calculate the corresponding ciphertext. Then, based on the ciphertext and random number of each semantic subreport, the label value of each subreport is calculated. For example, you can use a hash function such as MD5 to hash the content of each subreport to obtain the corresponding tag value. The tag values of multiple semantic sub-reports are averaged as the semantic tag value of the entire encrypted semantic report. Furthermore, if the tag values of the three sub-reports are 0x123456, 0xabcdef, and 0x789abc respectively, the average of the three tag values corresponding to the three sub-reports can be used as the semantic tag value of the entire encrypted semantic report, that is, (0x123456+0xabcdef+0x789abc )/3. The final encrypted semantic report includes information such as ciphertext, random numbers, and tag values for each subreport, which can be stored and used. When you need to query and process encrypted semantic reports, you can quickly locate and retrieve relevant subreport information through semantic tag values.
S140、将加密语义报表输入至预设处理模型中,得到应答结果。S140. Input the encrypted semantic report into the preset processing model to obtain the response result.
S150、将应答结果发送至用户设备。S150. Send the response result to the user equipment.
具体地,通过自动接收用户设备发送的咨询请求,并自动生成语义报表,大大提高了处理效率。通过对生成的语义报表进行加密,可以保护用户数据的安全性,防止数据泄露。通过将加密后的语义报表输入到预设处理模型中,可以快速得到应答结果,进一步提高了处理效率。最后,通过将应答结果发送到用户设备,使用户可以及时获取到反馈信息,从而更好地了解咨询结果。由此,该过程能够实现自动化处理、数据加密保护、预设处理模型以及及时反馈应答结果,为用户提供更高效、安全、便捷的咨询服务,相比于相关技术,不再需要人工干预,能够自动完成对工程咨询的处理,具有提高对工程咨询的处理效率的技术效果。Specifically, by automatically receiving consultation requests sent by user devices and automatically generating semantic reports, processing efficiency is greatly improved. By encrypting the generated semantic reports, the security of user data can be protected and data leakage can be prevented. By inputting the encrypted semantic report into the preset processing model, the response results can be obtained quickly, further improving the processing efficiency. Finally, by sending the response results to the user's device, the user can obtain feedback information in time to better understand the consultation results. As a result, the process can achieve automated processing, data encryption protection, preset processing models and timely feedback of response results, providing users with more efficient, secure and convenient consulting services. Compared with related technologies, manual intervention is no longer required and can Automatically complete the processing of engineering consultation, which has the technical effect of improving the efficiency of processing engineering consultation.
在一种可能的实施方式中,将加密语义报表输入至预设处理模型中,得到应答结果,具体包括:从加密语义报表中提取第一特征词,第一特征词为预设维度对应的关键词,预设维度包括工程类别、工程内容、工程周期、工程预算以及施工环境;将第一特征词与预设处理模型中的任意一个预设加密语义报表进行汉明相似度计算,以得到目标加密语义报表;根据目标加密语义报表,得到应答结果。In one possible implementation, inputting the encrypted semantic report into a preset processing model to obtain a response result specifically includes: extracting a first feature word from the encrypted semantic report, where the first feature word is a key corresponding to the preset dimension. words, the preset dimensions include project category, project content, project cycle, project budget and construction environment; perform Hamming similarity calculation on the first feature word and any preset encrypted semantic report in the preset processing model to obtain the target Encrypted semantic report; according to the target encrypted semantic report, the response result is obtained.
具体地,服务器从加密语义报表中提取出第一特征词,这些特征词是对应预设维度的关键词。预设维度包括工程类别、工程内容、工程周期、工程预算以及施工环境。这些特征词可以看作是对报表内容的关键描述,有助于后续的处理和理解。接下来,服务器将提取出的第一特征词与预设处理模型中的预设加密语义报表进行比较,计算它们之间的汉明相似度。汉明相似度是一种衡量两个字符串相似程度的方法,值越大表示两个字符串越相似。通过计算相似度,可以找到与输入的加密语义报表最相似的预设加密语义报表。通过上一步的计算,可以得到一个最相似的预设加密语义报表,这个报表就是目标加密语义报表。这个目标报表是预设处理模型中的一个实例,可以用来进行后续的处理和分析。最后一步是根据目标加密语义报表得到应答结果。这个结果可能是对用户咨询请求的直接回答,也可能是对用户请求的进一步解释或建议。这个结果取决于预设处理模型的设定和目标加密语义报表的内容。Specifically, the server extracts the first feature words from the encrypted semantic report, and these feature words are keywords corresponding to the preset dimensions. The preset dimensions include project category, project content, project cycle, project budget and construction environment. These feature words can be regarded as key descriptions of the report content, which are helpful for subsequent processing and understanding. Next, the server compares the extracted first feature word with the preset encrypted semantic report in the preset processing model, and calculates the Hamming similarity between them. Hamming similarity is a method of measuring the similarity between two strings. The larger the value, the more similar the two strings are. By calculating the similarity, the preset encryption semantic report that is most similar to the input encryption semantic report can be found. Through the calculation in the previous step, the most similar preset encryption semantics report can be obtained. This report is the target encryption semantics report. This target report is an instance of the preset processing model and can be used for subsequent processing and analysis. The last step is to obtain the response results based on the target encryption semantic report. This result may be a direct answer to the user's consultation request, or it may be a further explanation or suggestion for the user's request. This result depends on the settings of the default processing model and the content of the target encryption semantic report.
在一种可能的实施方式中,将第一特征词与预设处理模型中的任意一个预设加密语义报表进行汉明相似度计算,以得到目标加密语义报表,具体包括:提取任意一个预设加密语义报表中的第二特征词;计算第一特征词与第二特征词之间的汉明距离;比较汉明距离与预设汉明距离之间的大小关系;若汉明距离小于或等于预设汉明距离,则确认第二特征词对应的预设加密语义报表为目标加密语义报表。In a possible implementation, Hamming similarity calculation is performed between the first feature word and any preset encrypted semantic report in the preset processing model to obtain the target encrypted semantic report, which specifically includes: extracting any preset Encrypt the second feature word in the semantic report; calculate the Hamming distance between the first feature word and the second feature word; compare the Hamming distance with the preset Hamming distance; if the Hamming distance is less than or equal to If the Hamming distance is preset, it is confirmed that the preset encrypted semantic report corresponding to the second feature word is the target encrypted semantic report.
具体地,服务器从预设处理模型中提取任意一个预设加密语义报表,并从中提取出第二特征词。这些第二特征词是与第一特征词相对应的关键词,用于计算汉明相似度。接下来,服务器计算第一特征词与第二特征词之间的汉明距离。汉明距离是两个字符串之间不匹配的字符数量,用于衡量两个字符串的相似程度。通过计算汉明距离,可以定量地评估两个特征词之间的相似度。最后,服务器将计算的汉明距离与预设的汉明距离进行比较。预设的汉明距离是一个预先设定的阈值,用于判断两个特征词是否足够相似。如果计算的汉明距离小于或等于预设的汉明距离,则说明两个特征词足够相似,可以确认相应的预设加密语义报表为目标加密语义报表。如果计算的汉明距离小于或等于预设的汉明距离,那么可以确认与第二特征词对应的预设加密语义报表为目标加密语义报表。这个目标报表将被用作后续处理的输入,并生成最终的应答结果。Specifically, the server extracts any preset encrypted semantic report from the preset processing model and extracts the second feature word therefrom. These second feature words are keywords corresponding to the first feature words and are used to calculate Hamming similarity. Next, the server calculates the Hamming distance between the first feature word and the second feature word. Hamming distance is the number of unmatched characters between two strings and is used to measure how similar two strings are. By calculating the Hamming distance, the similarity between two feature words can be quantitatively evaluated. Finally, the server compares the calculated Hamming distance with the preset Hamming distance. The preset Hamming distance is a preset threshold used to determine whether two feature words are similar enough. If the calculated Hamming distance is less than or equal to the preset Hamming distance, it means that the two feature words are similar enough, and the corresponding preset encrypted semantic report can be confirmed to be the target encrypted semantic report. If the calculated Hamming distance is less than or equal to the preset Hamming distance, then it can be confirmed that the preset encrypted semantic report corresponding to the second feature word is the target encrypted semantic report. This target report will be used as input for subsequent processing and generate the final response results.
在一种可能的实施方式中,将加密语义报表输入至预设处理模型中,得到应答结果,具体还包括:获取任意一个历史应答结果中的主题语义,预设处理模型中预先存储有多个历史应答结果;计算各个主题语义对应的应答标签值;判断应答标签值与语义标签值之间的相似度;若确认相似度大于或等于预设相似度阈值,则确定应答标签值对应的历史应答结果为应答结果。In one possible implementation, inputting the encrypted semantic report into a preset processing model to obtain a response result specifically includes: obtaining the topic semantics in any historical response result. The preset processing model has multiple presets stored in it. Historical response results; calculate the response label value corresponding to each topic semantics; determine the similarity between the response label value and the semantic label value; if it is confirmed that the similarity is greater than or equal to the preset similarity threshold, determine the historical response corresponding to the response label value The result is the response result.
具体地,服务器首先获取任意一个历史应答结果中的主题语义。这些主题语义是历史应答结果的主要内容和意义,用于后续的相似度计算和判断。其中,预设处理模型中预先存储了多个历史应答结果,这些结果被用来提供参考和辅助生成新的应答结果。通过对每个历史应答结果的每个主题语义,计算出对应的应答标签值。这些标签值可以是根据历史应答结果的内容和意义进行分类或标记的结果,用于后续的相似度比较和判断。服务器将计算得到的应答标签值与语义标签值进行比较,判断它们之间的相似度。相似度可以是通过特定的算法或模型计算出来的,用于衡量两个标签值之间的相似程度。如果计算得到的相似度大于或等于预设的相似度阈值,那么可以确认应答标签值对应的历史应答结果是与当前输入的加密语义报表最相似的。这个历史应答结果将被用作最终的应答结果。其中,计算相似度的方式可以采用余弦相似度或欧几里得距离等,这里不再赘述。Specifically, the server first obtains the topic semantics in any historical response result. These topic semantics are the main content and meaning of historical response results, and are used for subsequent similarity calculation and judgment. Among them, multiple historical response results are pre-stored in the preset processing model, and these results are used to provide reference and assist in generating new response results. By calculating the corresponding response tag value for each topic semantics of each historical response result. These label values can be the results of classification or labeling based on the content and meaning of historical response results, and are used for subsequent similarity comparison and judgment. The server compares the calculated response tag value with the semantic tag value to determine the similarity between them. Similarity can be calculated by a specific algorithm or model and is used to measure the similarity between two label values. If the calculated similarity is greater than or equal to the preset similarity threshold, it can be confirmed that the historical response result corresponding to the response tag value is the most similar to the currently input encrypted semantic report. This historical response result will be used as the final response result. Among them, the method of calculating similarity can use cosine similarity or Euclidean distance, etc., which will not be described again here.
在一种可能的实施方式中,将加密语义报表输入至预设处理模型中,得到应答结果之前,训练预设处理模型;训练预设处理模型,具体包括:获取训练信息,训练信息包括加密语义报表和应答结果;将训练信息输入至自适应特征融合网络中进行训练,得到第一训练结果;将第一训练结果与训练信息进行叠加与标准化处理后,得到第二训练结果;将第二训练结果输入至自适应特征融合网络中进行处理,得到第三训练结果;将第三训练结果与第二训练结果进行叠加与标准化处理,直至输出训练信息相似度矩阵,训练信息相似度矩阵满足预设逻辑回归条件。In a possible implementation, the encrypted semantic report is input into the preset processing model, and before the response result is obtained, the preset processing model is trained; training the preset processing model specifically includes: obtaining training information, and the training information includes encrypted semantics Report and response results; input the training information into the adaptive feature fusion network for training to obtain the first training result; superimpose and standardize the first training result and the training information to obtain the second training result; combine the second training result with The results are input into the adaptive feature fusion network for processing to obtain the third training result; the third training result and the second training result are superimposed and standardized until the training information similarity matrix is output, and the training information similarity matrix meets the preset Logistic regression conditions.
具体地,服务器首先获取训练信息,包括加密语义报表和应答结果。这些信息用于训练自适应特征融合网络,以得到能够处理加密语义报表并生成应答结果的模型。再将训练信息输入到自适应特征融合网络中,通过训练得到第一训练结果。自适应特征融合网络是一种深度学习模型,可以自动学习和提取特征,并根据输入的信息生成相应的结果。其次,服务器将第一训练结果与原始的训练信息进行叠加和标准化处理,得到第二训练结果。这个步骤可以看作是对模型的第一次评估和调整,帮助模型更好地学习和理解输入的信息。接下来,服务器将第二训练结果再次输入到自适应特征融合网络中进行处理,得到第三训练结果。这次处理可以看作是对模型的第二次评估和调整,进一步优化模型的性能。最后,服务器将第三训练结果与第二训练结果进行叠加和标准化处理,这个步骤可以看作是对模型的第三次评估和调整,使模型更加适应和贴近实际需求。经过多次迭代和调整后,最终输出一个训练信息相似度矩阵,这个矩阵满足预设的逻辑回归条件。逻辑回归是一种常见的分类算法,可以用于预测和分类任务。这里的预设逻辑回归条件可能是指根据特定任务和需求设定的分类或预测标准。Specifically, the server first obtains training information, including encrypted semantic reports and response results. This information is used to train the adaptive feature fusion network to obtain a model that can process encrypted semantic reports and generate response results. The training information is then input into the adaptive feature fusion network, and the first training result is obtained through training. The adaptive feature fusion network is a deep learning model that can automatically learn and extract features, and generate corresponding results based on the input information. Secondly, the server superimposes and standardizes the first training result and the original training information to obtain the second training result. This step can be regarded as the first evaluation and adjustment of the model, helping the model to better learn and understand the input information. Next, the server inputs the second training result into the adaptive feature fusion network again for processing, and obtains the third training result. This processing can be regarded as the second evaluation and adjustment of the model to further optimize the performance of the model. Finally, the server superimposes and standardizes the third training result and the second training result. This step can be regarded as the third evaluation and adjustment of the model, making the model more adaptable and closer to actual needs. After multiple iterations and adjustments, a training information similarity matrix is finally output, which satisfies the preset logistic regression conditions. Logistic regression is a common classification algorithm that can be used for both prediction and classification tasks. The preset logistic regression conditions here may refer to classification or prediction criteria set based on specific tasks and needs.
本申请还提供了一种基于深度学习的工程咨询处理装置,参照图2,图2为本申请实施例提供的一种基于深度学习的工程咨询处理装置的模块示意图。该处理装置为服务器,服务器包括接收模块21和处理模块22,其中,接收模块21,用于接收用户设备发送的咨询请求,咨询请求用于表示针对目标工程的咨询请求;处理模块22,用于根据咨询请求,生成语义报表;处理模块22,还用于对语义报表进行加密,得到加密语义报表;处理模块22,还用于将加密语义报表输入至预设处理模型中,得到应答结果;处理模块22,还用于将应答结果发送至用户设备。This application also provides an engineering consultation processing device based on deep learning. Refer to Figure 2 , which is a schematic module diagram of an engineering consultation processing device based on deep learning provided in an embodiment of this application. The processing device is a server. The server includes a receiving module 21 and a processing module 22. The receiving module 21 is used to receive a consulting request sent by the user equipment, and the consulting request is used to represent a consulting request for the target project; the processing module 22 is used to According to the consultation request, a semantic report is generated; the processing module 22 is also used to encrypt the semantic report to obtain an encrypted semantic report; the processing module 22 is also used to input the encrypted semantic report into the preset processing model to obtain the response result; processing Module 22 is also used to send the response result to the user equipment.
在一种可能的实施方式中,根据咨询请求,生成语义报表,具体包括:接收模块21获取咨询请求中的文本数据;处理模块22采用文本指纹算法将文本数据与预设关键词库进行匹配;处理模块22若确认关键词匹配成功,则基于关键词进行意图识别,得到意图咨询领域;处理模块22根据意图咨询领域,生成语义报表。In one possible implementation, generating a semantic report based on the consultation request specifically includes: the receiving module 21 obtains the text data in the consultation request; the processing module 22 uses the text fingerprint algorithm to match the text data with the preset keyword database; If the processing module 22 confirms that the keyword matching is successful, it will perform intent recognition based on the keywords and obtain the intent consulting field; the processing module 22 will generate a semantic report based on the intent consulting field.
在一种可能的实施方式中,加密语义报表包括语义标签值,处理模块22对语义报表进行加密,得到加密语义报表,具体包括:处理模块22采用秘密共享算法对语义报表进行加密,生成加密语义报表;处理模块22将加密语义报表拆分为多个语义子报表,为各个语义子报表生成对应的密文和随机数;处理模块22根据各个语义子报表的密文和随机数,计算各个语义子报表的标签值;处理模块22将多个语义子报表的标签值均值作为加密语义报表的语义标签值。In a possible implementation, the encrypted semantic report includes semantic tag values, and the processing module 22 encrypts the semantic report to obtain the encrypted semantic report, which specifically includes: the processing module 22 uses a secret sharing algorithm to encrypt the semantic report and generates encrypted semantics. Report; the processing module 22 splits the encrypted semantic report into multiple semantic sub-reports, and generates corresponding ciphertext and random numbers for each semantic sub-report; the processing module 22 calculates each semantic according to the ciphertext and random numbers of each semantic sub-report. The tag value of the subreport; the processing module 22 uses the average value of the tag values of multiple semantic subreports as the semantic tag value of the encrypted semantic report.
在一种可能的实施方式中,处理模块22将加密语义报表输入至预设处理模型中,得到应答结果,具体包括:处理模块22从加密语义报表中提取第一特征词,第一特征词为预设维度对应的关键词,预设维度包括工程类别、工程内容、工程周期、工程预算以及施工环境;处理模块22将第一特征词与预设处理模型中的任意一个预设加密语义报表进行汉明相似度计算,以得到目标加密语义报表;处理模块22根据目标加密语义报表,得到应答结果。In a possible implementation, the processing module 22 inputs the encrypted semantic report into the preset processing model to obtain the response result, which specifically includes: the processing module 22 extracts the first feature word from the encrypted semantic report, and the first feature word is Keywords corresponding to the preset dimensions. The preset dimensions include project category, project content, project cycle, project budget and construction environment; the processing module 22 compares the first feature word with any preset encrypted semantic report in the preset processing model. Hamming similarity is calculated to obtain the target encrypted semantic report; the processing module 22 obtains the response result according to the target encrypted semantic report.
在一种可能的实施方式中,处理模块22将第一特征词与预设处理模型中的任意一个预设加密语义报表进行汉明相似度计算,以得到目标加密语义报表,具体包括:处理模块22提取任意一个预设加密语义报表中的第二特征词;处理模块22计算第一特征词与第二特征词之间的汉明距离;处理模块22比较汉明距离与预设汉明距离之间的大小关系;若汉明距离小于或等于预设汉明距离,则处理模块22确认第二特征词对应的预设加密语义报表为目标加密语义报表。In a possible implementation, the processing module 22 performs Hamming similarity calculation on the first feature word and any preset encrypted semantic report in the preset processing model to obtain the target encrypted semantic report, which specifically includes: a processing module 22. Extract the second feature word in any preset encrypted semantic report; the processing module 22 calculates the Hamming distance between the first feature word and the second feature word; the processing module 22 compares the Hamming distance with the preset Hamming distance. The size relationship between; if the Hamming distance is less than or equal to the preset Hamming distance, the processing module 22 confirms that the preset encrypted semantic report corresponding to the second feature word is the target encrypted semantic report.
在一种可能的实施方式中,处理模块22将加密语义报表输入至预设处理模型中,得到应答结果,具体还包括:接收模块21获取任意一个历史应答结果中的主题语义,预设处理模型中预先存储有多个历史应答结果;处理模块22计算各个主题语义对应的应答标签值;处理模块22判断应答标签值与语义标签值之间的相似度;处理模块22若确认相似度大于或等于预设相似度阈值,则确定应答标签值对应的历史应答结果为应答结果。In a possible implementation, the processing module 22 inputs the encrypted semantic report into the preset processing model to obtain the response result. Specifically, it further includes: the receiving module 21 obtains the topic semantics in any historical response result, and the preset processing model Multiple historical response results are pre-stored in it; the processing module 22 calculates the response tag value corresponding to each topic semantics; the processing module 22 determines the similarity between the response tag value and the semantic tag value; if the processing module 22 confirms that the similarity is greater than or equal to If the similarity threshold is preset, the historical response result corresponding to the response tag value is determined to be the response result.
在一种可能的实施方式中,处理模块22将加密语义报表输入至预设处理模型中,得到应答结果之前,训练预设处理模型;训练预设处理模型,具体包括:接收模块21获取训练信息,训练信息包括加密语义报表和应答结果;处理模块22将训练信息输入至自适应特征融合网络中进行训练,得到第一训练结果;处理模块22将第一训练结果与训练信息进行叠加与标准化处理后,得到第二训练结果;处理模块22将第二训练结果输入至自适应特征融合网络中进行处理,得到第三训练结果;处理模块22将第三训练结果与第二训练结果进行叠加与标准化处理,直至输出训练信息相似度矩阵,训练信息相似度矩阵满足预设逻辑回归条件。In a possible implementation, the processing module 22 inputs the encrypted semantic report into the preset processing model, and before obtaining the response result, trains the preset processing model; training the preset processing model specifically includes: the receiving module 21 obtains the training information , the training information includes encrypted semantic reports and response results; the processing module 22 inputs the training information into the adaptive feature fusion network for training, and obtains the first training result; the processing module 22 superimposes and standardizes the first training result and the training information. Then, the second training result is obtained; the processing module 22 inputs the second training result into the adaptive feature fusion network for processing, and obtains the third training result; the processing module 22 superimposes and standardizes the third training result and the second training result. Process until the training information similarity matrix is output, and the training information similarity matrix meets the preset logistic regression conditions.
需要说明的是:上述实施例提供的装置在实现其功能时,仅以上述各功能模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能模块完成,即将设备的内部结构划分成不同的功能模块,以完成以上描述的全部或者部分功能。另外,上述实施例提供的装置和方法实施例属于同一构思,其具体实现过程详见方法实施例,这里不再赘述。It should be noted that when the devices provided in the above embodiments implement their functions, only the division of the above functional modules is used as an example. In actual applications, the above functions can be allocated to different functional modules according to needs, that is, the equipment The internal structure is divided into different functional modules to complete all or part of the functions described above. In addition, the device and method embodiments provided in the above embodiments belong to the same concept, and the specific implementation process can be found in the method embodiments, which will not be described again here.
本申请还提供了一种电子设备,参照图3,图3为本申请实施例提供的一种电子设备的结构示意图。电子设备可以包括:至少一个处理器31,至少一个网络接口34,用户接口33,存储器35,至少一个通信总线32。The present application also provides an electronic device. Refer to FIG. 3 , which is a schematic structural diagram of an electronic device provided by an embodiment of the present application. The electronic device may include: at least one processor 31, at least one network interface 34, user interface 33, memory 35, and at least one communication bus 32.
其中,通信总线32用于实现这些组件之间的连接通信。Among them, the communication bus 32 is used to realize connection communication between these components.
其中,用户接口33可以包括显示屏(Display)、摄像头(Camera),可选用户接口33还可以包括标准的有线接口、无线接口。Among them, the user interface 33 may include a display screen (Display) and a camera (Camera), and the optional user interface 33 may also include a standard wired interface and a wireless interface.
其中,网络接口34可选的可以包括标准的有线接口、无线接口(如WI-FI接口)。Among them, the network interface 34 may optionally include a standard wired interface or a wireless interface (such as a WI-FI interface).
其中,处理器31可以包括一个或者多个处理核心。处理器31利用各种接口和线路连接整个服务器内的各个部分,通过运行或执行存储在存储器35内的指令、程序、代码集或指令集,以及调用存储在存储器35内的数据,执行服务器的各种功能和处理数据。可选的,处理器31可以采用数字信号处理(Digital Signal Processing,DSP)、现场可编程门阵列(Field-Programmable Gate Array,FPGA)、可编程逻辑阵列(Programmable Logic Array,PLA)中的至少一种硬件形式来实现。处理器31可集成中央处理器(Central ProcessingUnit,CPU)、图像处理器(Graphics Processing Unit,GPU)和调制解调器等中的一种或几种的组合。其中,CPU主要处理操作系统、用户界面和应用程序等;GPU用于负责显示屏所需要显示的内容的渲染和绘制;调制解调器用于处理无线通信。可以理解的是,上述调制解调器也可以不集成到处理器31中,单独通过一块芯片进行实现。Among them, the processor 31 may include one or more processing cores. The processor 31 uses various interfaces and lines to connect various parts of the entire server, and executes the server by running or executing instructions, programs, code sets or instruction sets stored in the memory 35, and calling data stored in the memory 35. Various functions and processing data. Optionally, the processor 31 can use at least one of digital signal processing (Digital Signal Processing, DSP), field-programmable gate array (Field-Programmable Gate Array, FPGA), and programmable logic array (Programmable Logic Array, PLA). implemented in hardware form. The processor 31 may integrate one or a combination of a central processing unit (Central Processing Unit, CPU), a graphics processor (Graphics Processing Unit, GPU), a modem, etc. Among them, the CPU mainly handles the operating system, user interface, and applications; the GPU is responsible for rendering and drawing the content that needs to be displayed on the display; and the modem is used to handle wireless communications. It can be understood that the above-mentioned modem may not be integrated into the processor 31 and may be implemented by a separate chip.
其中,存储器35可以包括随机存储器(Random Access Memory,RAM),也可以包括只读存储器(Read-Only Memory)。可选的,该存储器35包括非瞬时性计算机可读介质(non-transitory computer-readable storage medium)。存储器35可用于存储指令、程序、代码、代码集或指令集。存储器35可包括存储程序区和存储数据区,其中,存储程序区可存储用于实现操作系统的指令、用于至少一个功能的指令(比如触控功能、声音播放功能、图像播放功能等)、用于实现上述各个方法实施例的指令等;存储数据区可存储上面各个方法实施例中涉及的数据等。存储器35可选的还可以是至少一个位于远离前述处理器31的存储装置。如图3所示,作为一种计算机存储介质的存储器35中可以包括操作系统、网络通信模块、用户接口模块以及一种基于深度学习的工程咨询处理方法的应用程序。The memory 35 may include random access memory (RAM) or read-only memory (Read-Only Memory). Optionally, the memory 35 includes a non-transitory computer-readable storage medium. Memory 35 may be used to store instructions, programs, codes, sets of codes, or sets of instructions. The memory 35 may include a program storage area and a data storage area, where the program storage area may store instructions for implementing an operating system, instructions for at least one function (such as a touch function, a sound playback function, an image playback function, etc.), Instructions, etc., used to implement each of the above method embodiments; the storage data area can store data, etc. involved in each of the above method embodiments. The memory 35 may optionally be at least one storage device located remotely from the aforementioned processor 31 . As shown in FIG. 3 , the memory 35 as a computer storage medium may include an operating system, a network communication module, a user interface module, and an application program of an engineering consulting processing method based on deep learning.
在图3所示的电子设备中,用户接口33主要用于为用户提供输入的接口,获取用户输入的数据;而处理器31可以用于调用存储器35中存储一种基于深度学习的工程咨询处理方法的应用程序,当由一个或多个处理器执行时,使得电子设备执行如上述实施例中一个或多个的方法。In the electronic device shown in Figure 3, the user interface 33 is mainly used to provide an input interface for the user and obtain data input by the user; and the processor 31 can be used to call the memory 35 to store an engineering consulting process based on deep learning. The application program of the method, when executed by one or more processors, causes the electronic device to execute one or more of the methods in the above embodiments.
需要说明的是,对于前述的各方法实施例,为了简单描述,故将其都表述为一系列的动作组合,但是本领域技术人员应该知悉,本申请并不受所描述的动作顺序的限制,因为依据本申请,某些步骤可以采用其他顺序或者同时进行。其次,本领域技术人员也应该知悉,说明书中所描述的实施例均属于优选实施例,所涉及的动作和模块并不一定是本申请所必需的。It should be noted that for the sake of simple description, the foregoing method embodiments are expressed as a series of action combinations. However, those skilled in the art should know that the present application is not limited by the described action sequence. Because in accordance with this application, certain steps may be performed in other orders or simultaneously. Secondly, those skilled in the art should also know that the embodiments described in the specification are preferred embodiments, and the actions and modules involved are not necessarily necessary for this application.
本申请还提供了一种计算机可读存储介质,计算机可读存储介质存储有指令。当由一个或多个处理器执行时,使得电子设备执行如上述实施例中一个或多个所述的方法。This application also provides a computer-readable storage medium, which stores instructions. When executed by one or more processors, the electronic device is caused to perform the method described in one or more of the above embodiments.
在上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详述的部分,可以参见其他实施例的相关描述。In the above embodiments, each embodiment is described with its own emphasis. For parts that are not described in detail in a certain embodiment, please refer to the relevant descriptions of other embodiments.
在本申请所提供的几个实施例中,应该理解到,所披露的装置,可通过其他的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些服务接口,装置或单元的间接耦合或通信连接,可以是电性或其他的形式。In the several embodiments provided in this application, it should be understood that the disclosed device can be implemented in other ways. For example, the device embodiments described above are only illustrative. For example, the division of units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into Another system, or some features can be ignored, or not implemented. Another point is that the coupling or direct coupling or communication connection between each other shown or discussed may be through some service interfaces, and the indirect coupling or communication connection of the devices or units may be in electrical or other forms.
作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。A unit described as a separate component may or may not be physically separate. A component shown as a unit may or may not be a physical unit, that is, it may be located in one place, or it may be distributed to multiple network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。In addition, each functional unit in each embodiment of the present application can be integrated into one processing unit, each unit can exist physically alone, or two or more units can be integrated into one unit. The above integrated units can be implemented in the form of hardware or software functional units.
集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储器中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储器中,包括若干指令用以使得一台计算机设备(可为个人计算机、服务器或者网络设备等)执行本申请各个实施例方法的全部或部分步骤。而前述的存储器包括:U盘、移动硬盘、磁碟或者光盘等各种可以存储程序代码的介质。Integrated units may be stored in a computer-readable memory when implemented as software functional units and sold or used as independent products. Based on this understanding, the technical solution of the present application is essentially or contributes to the existing technology, or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a memory, It includes several instructions to cause a computer device (which can be a personal computer, a server or a network device, etc.) to execute all or part of the steps of the methods of various embodiments of the present application. The aforementioned memory includes: U disk, mobile hard disk, magnetic disk or optical disk and other media that can store program codes.
以上所述者,仅为本公开的示例性实施例,不能以此限定本公开的范围。即但凡依本公开教导所作的等效变化与修饰,皆仍属本公开涵盖的范围内。本领域技术人员在考虑说明书及实践真理的公开后,将容易想到本公开的其他实施方案。本申请旨在涵盖本公开的任何变型、用途或者适应性变化,这些变型、用途或者适应性变化遵循本公开的一般性原理并包括本公开未记载的本技术领域中的公知常识或惯用技术手段。说明书和实施例仅被视为示例性的,本公开的范围和精神由权利要求限定。The above are only exemplary embodiments of the present disclosure and do not limit the scope of the present disclosure. That is to say, all equivalent changes and modifications made based on the teachings of this disclosure are still within the scope of this disclosure. Other embodiments of the present disclosure will readily occur to those skilled in the art, upon consideration of the specification and disclosure of practical truths. This application is intended to cover any variations, uses, or adaptations of the disclosure that follow the general principles of the disclosure and include common knowledge or customary technical means in the technical field that are not described in the disclosure. . It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being defined by the following claims.
Claims (10)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202311624814.8A CN117669582A (en) | 2023-11-30 | 2023-11-30 | Engineering consultation processing method and device based on deep learning and electronic equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202311624814.8A CN117669582A (en) | 2023-11-30 | 2023-11-30 | Engineering consultation processing method and device based on deep learning and electronic equipment |
Publications (1)
Publication Number | Publication Date |
---|---|
CN117669582A true CN117669582A (en) | 2024-03-08 |
Family
ID=90063410
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202311624814.8A Pending CN117669582A (en) | 2023-11-30 | 2023-11-30 | Engineering consultation processing method and device based on deep learning and electronic equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN117669582A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN118246924A (en) * | 2024-03-28 | 2024-06-25 | 南京宁政工程咨询有限公司 | Whole process engineering consultation method, product, equipment and medium |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN116703659A (en) * | 2023-06-08 | 2023-09-05 | 万隆建设工程咨询集团有限公司 | Data processing method and device applied to engineering consultation and electronic equipment |
CN116756296A (en) * | 2023-08-18 | 2023-09-15 | 中联神帆(北京)科技有限公司 | Consultation information management method and system based on privacy protection |
CN116842270A (en) * | 2023-07-17 | 2023-10-03 | 企知道科技有限公司 | Patent search term recommending method and device based on intention recognition and electronic equipment |
-
2023
- 2023-11-30 CN CN202311624814.8A patent/CN117669582A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN116703659A (en) * | 2023-06-08 | 2023-09-05 | 万隆建设工程咨询集团有限公司 | Data processing method and device applied to engineering consultation and electronic equipment |
CN116842270A (en) * | 2023-07-17 | 2023-10-03 | 企知道科技有限公司 | Patent search term recommending method and device based on intention recognition and electronic equipment |
CN116756296A (en) * | 2023-08-18 | 2023-09-15 | 中联神帆(北京)科技有限公司 | Consultation information management method and system based on privacy protection |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN118246924A (en) * | 2024-03-28 | 2024-06-25 | 南京宁政工程咨询有限公司 | Whole process engineering consultation method, product, equipment and medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10997258B2 (en) | Bot networks | |
CN111310436B (en) | Text processing method and device based on artificial intelligence and electronic equipment | |
WO2020220823A1 (en) | Method and device for constructing decision trees | |
WO2021093643A1 (en) | Copyright authentication method, device, apparatus and system and computer readable storage medium | |
CN109241770B (en) | Information value calculation method and device based on homomorphic encryption and readable storage medium | |
WO2019196224A1 (en) | Regulation information processing method and apparatus, computer device and storage medium | |
WO2020238677A1 (en) | Data processing method and apparatus, and computer readable storage medium | |
Cao et al. | Generative steganography based on long readable text generation | |
WO2021203919A1 (en) | Method and apparatus for evaluating joint training model | |
WO2021208701A1 (en) | Method, apparatus, electronic device, and storage medium for generating annotation for code change | |
WO2021139476A1 (en) | Intersection data generation method, and federated model training method based on intersection data | |
CN110738323B (en) | Method and device for establishing machine learning model based on data sharing | |
CN111343265B (en) | Information push method, device, device and readable storage medium | |
WO2022121183A1 (en) | Text model training method, recognition method, apparatus, device and storage medium | |
CN110855648A (en) | Early warning control method and device for network attack | |
CN117556010A (en) | Knowledge base and large model-based document generation system, method, equipment and medium | |
CN113779355A (en) | Network rumor source tracing evidence obtaining method and system based on block chain | |
WO2023216494A1 (en) | Federated learning-based user service strategy determination method and apparatus | |
CN113128196A (en) | Text information processing method and device, storage medium | |
CN112214770B (en) | Malicious sample identification method, device, computing equipment and medium | |
CN117669582A (en) | Engineering consultation processing method and device based on deep learning and electronic equipment | |
CN116596094A (en) | Data auditing system, method, computer equipment and medium based on federal learning | |
KR20200047990A (en) | Method for providing fake news alert service through syntactic analysis of instant messages based on news writing and broadcast guidelines and apparatus thereof | |
CN112231309A (en) | Deduplication method, device, terminal equipment and medium for longitudinal federal data statistics | |
WO2022126962A1 (en) | Knowledge graph-based method for detecting guiding and abetting corpus and related device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |