A community question-answering service method and system based on artificial intelligence
Through the division of community question-and-answer service areas and the extraction of demand characteristics, the problem of difficult to accurately identify user needs in traditional systems is solved, accurate and personalized service response is achieved, and user satisfaction is improved.
Patent Information
- Application Number
- CN202410657525.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-25
- Publication Date
- 2024-11-12
- Estimated Expiration
- 2044-05-25
AI Technical Summary
Traditional Q&A service systems are difficult to accurately identify and respond to user groups that are difficult to accurately express their needs, such as the elderly, people with disabilities, especially in the needs related to geographical location and community characteristics, and the service response is not accurate and personalized enough.
By dividing community Q&A service areas, we determine the first-level and second-level areas, extract the specific user needs characteristics, calculate user scores, quantify the urgency and importance of demand, and provide accurate and personalized service answers.
It realizes the refined description and quantification of user needs, ensures the accuracy and timeliness of service answers, optimizes resource allocation and service response, and improves user satisfaction.
Smart Images

Figure CN118349659B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of artificial intelligence technology, and specifically to a community question-and-answer service method and system based on artificial intelligence. Background Art
[0002] In today's society, with the rapid development of information technology and the popularization of intelligent services, question-answering service systems have become important tools for providing support in information query, decision-making assistance, daily life services, etc. These systems provide users with the information or solutions they need by simulating the human question-answering process, and are widely used in community services, online customer service, intelligent assistants and other fields.
[0003] However, these intelligent question-and-answer service methods often rely on users to provide clear guidance and detailed descriptions of their needs. Especially in the field of community services, users' needs are often closely related to their geographical location, community characteristics and personal situations. For those user groups who may find it difficult to accurately express their needs, such as the elderly, people with disabilities, etc., or those whose needs are closely related to the characteristics of a specific geographical area, traditional methods still have the problem of inaccurate or insufficiently personalized responses. Summary of the invention
[0004] This application provides an artificial intelligence-based community question-and-answer service method and system that can accurately identify users' specific needs and provide accurate and personalized service answers.
[0005] In a first aspect, the present application provides a community question-and-answer service method based on artificial intelligence, the method comprising: dividing the community question-and-answer service area to determine a primary area and a secondary area; determining a first type of personnel; the first type of personnel is a person who performs question-and-answer service on a question-and-answer service device set up in the primary area; obtaining a first question and answer question corresponding to the first type of personnel when performing the question-and-answer service; based on the first question and answer question, extracting multiple first purpose demand features; based on the primary area and the secondary area, determining the first-level personnel location corresponding to the first type of personnel; based on multiple first purpose demand features and the first-level personnel location, determining the second-level personnel location corresponding to the first type of personnel; based on the second-level personnel location, calculating the first score corresponding to the first type of personnel; based on the first score and multiple first purpose demand features, determining the first service demand feature corresponding to the first type of personnel; based on the first service demand feature, determining the corresponding first service answer data, and outputting the first service answer data on the question-and-answer service device set up in the primary area.
[0006] By adopting the above technical solution, by dividing the community question-and-answer service area, the first-level area and the second-level area are determined, so that more targeted services can be provided according to regional characteristics and user needs. By extracting multiple first-purpose demand features based on the first question-and-answer question, the specific needs and intentions of users can be understood more deeply. By determining the first-level personnel positioning corresponding to the first type of personnel based on the first-level area and the second-level area, and by determining the second-level personnel positioning corresponding to the first type of personnel based on multiple first-purpose demand features and the first-level personnel positioning, the user groups and demand levels can be divided more finely, and more efficient service orientation and resource allocation can be achieved. By calculating the first score corresponding to the first type of personnel based on the second-level personnel positioning, the urgency and importance of the needs of the first type of personnel are quantified, and a quantitative basis is provided for service priority. By determining the first service demand feature corresponding to the first type of personnel based on the first score and multiple first-purpose demand features, a more refined demand description is provided, so that the service answer can more accurately meet the actual needs of the user. Finally, by determining the corresponding first service answer data based on the first service demand feature, and outputting the first service answer data on the question-and-answer service device set in the first-level area, it is ensured that users can obtain timely and accurate information or solutions.
[0007] Optionally, after determining the first service demand feature corresponding to the first type of personnel based on the first score and multiple first purpose demand features, the method further includes: analyzing multiple first purpose demand features to determine whether there is a first associated feature associated with the secondary area among the multiple first purpose demand features; when the first associated feature associated with the secondary area exists among the multiple first purpose demand features, determining a second type of personnel, the second type of personnel being a person who performs question and answer service on a question and answer service device set in the secondary area; obtaining a second question and answer question corresponding to the second type of personnel when performing the question and answer service; extracting multiple second purpose demand features based on the second question and answer question; calculating a second score corresponding to the second type of personnel based on the multiple second purpose demand features; when the first type of personnel goes to the secondary area and performs question and answer service again on the question and answer service device set in the secondary area, revising the first score to obtain a revised score corresponding to the first type of personnel; determining the second service demand features corresponding to the first type of personnel and the second type of personnel respectively based on the revised score and the second score; determining the corresponding second service answer data based on the second service demand feature, and outputting the second service answer data on the question and answer service device set in the secondary area.
[0008] By adopting the above technical solution, by analyzing multiple first purpose demand features, it is determined whether there is a first correlation feature associated with the secondary area in the multiple first purpose demand features, so that the service system can identify user needs closely related to a specific geographical area. When there is a first correlation feature associated with the secondary area in the multiple first purpose demand features, it can be determined that the first type of personnel has the possibility of going to the secondary area to seek further help. And because the use demand of the question-and-answer service device in the secondary area will further increase, it is necessary to further adjust the service answer strategy of the question-and-answer service device set in the secondary area, so as to optimize the use resources of the question-and-answer service device, and then provide question-and-answer services to the first type of personnel and the second type of personnel in the secondary area more accurately and in detail. Further determine the second type of personnel, that is, the personnel who perform question-and-answer services on the question-and-answer service device set in the secondary area, so as to achieve accurate positioning and response to the needs of the second type of personnel. By extracting multiple second purpose demand features based on the second question and answer question, the service system can understand the service needs of the second type of personnel in more detail. By calculating the second score corresponding to the second type of personnel based on the multiple second purpose demand features, the service system can quantify the importance and urgency of the needs of the second type of personnel. When the first type of personnel goes to the secondary area and performs another question-and-answer service on the question-and-answer service device set up in the secondary area, the first score is corrected to obtain a corrected score corresponding to the first type of personnel, thereby realizing a dynamic response to the changes in the needs of the first type of personnel. Based on the corrected score and the second score, the second service demand characteristics corresponding to the first type of personnel and the second type of personnel are determined, respectively, so that the service system can more accurately locate the service needs of various types of personnel in the secondary area. Based on the second service demand characteristics, the corresponding second service answer data is determined, and the second service answer data is output on the question-and-answer service device set up in the secondary area, thereby ensuring that the various types of personnel in the secondary area can obtain accurate service answers under the premise of optimizing the use resources of the question-and-answer service device.
[0009] Optionally, the first-level personnel positioning includes a first-level personnel sub-positioning and a second-level personnel sub-positioning; the determination of the first-level personnel positioning corresponding to the first type of personnel specifically includes: determining the first-level area coverage corresponding to the first-level area and the second-level area coverage corresponding to the second-level area; obtaining the overall area coverage based on the first-level area coverage and the second-level area coverage; performing face recognition on the first-type personnel when the first-type personnel asks and answers questions, and obtaining the face recognition result corresponding to the first-type personnel; based on the face recognition result, judging whether the first-type personnel belongs to the overall area coverage; when the first-type personnel does not belong to the overall area coverage, determining that the first-type personnel is the first personnel sub-positioning; when the first-type personnel belongs to the overall area coverage, determining that the first-type personnel is the second personnel sub-positioning.
[0010] Optionally, determining the secondary personnel positioning corresponding to the first type of personnel based on multiple first purpose demand characteristics and the first-level personnel positioning specifically includes: screening multiple first purpose demand characteristics to obtain at least one key purpose demand characteristic; obtaining at least one purpose demand positioning corresponding to the first type of personnel based on at least one key purpose demand characteristic; combining at least one purpose demand positioning and the first personnel sub-positioning, or combining at least one purpose demand positioning and the second personnel sub-positioning, to obtain the secondary personnel positioning.
[0011] Optionally, the calculating of the first score corresponding to the first type of personnel based on the secondary personnel positioning specifically includes: determining an initial urgency coefficient and an initial correlation coefficient corresponding to each of the purpose demand positionings based on at least one of the purpose demand positionings included in the secondary personnel positioning; obtaining a comprehensive urgency coefficient based on each of the initial urgency coefficients, and obtaining a comprehensive correlation coefficient based on each of the initial correlation coefficients; determining a corresponding regional correlation coefficient based on the primary personnel positioning included in the secondary personnel positioning; calculating the first score based on the comprehensive urgency coefficient, the comprehensive correlation coefficient and the regional correlation coefficient; and calculating the first score using the following formula: ; Wherein, S is the first score, B is the preset basic score, U is the comprehensive urgency coefficient, R is the comprehensive correlation coefficient, k is equal to 1 or 2, A1 is the regional correlation coefficient corresponding to the first personnel sub-location, A2 is the regional correlation coefficient corresponding to the second personnel sub-location, is a step function, and θ is the preset threshold.
[0012] Optionally, the first score is corrected to obtain a corrected score corresponding to the first type of personnel, specifically including: obtaining a third question and answer question when the first type of personnel performs a second question and answer service on the question and answer service device set up in the secondary area, and obtaining the time interval between the two question and answer services; determining a time decay factor based on the time interval; extracting multiple third purpose demand features based on the third question and answer question; calculating the feature similarity between each of the first purpose demand features and each of the third purpose demand features; determining similar purpose demand features from multiple third purpose demand features based on the feature similarity; analyzing multiple similar purpose demand features to determine whether there is a second associated feature associated with the secondary area in the multiple similar purpose demand features; obtaining an associated problem influence factor based on the second associated feature; and correcting the first score based on the time decay factor and the associated problem influence factor to obtain the corrected score.
[0013] Optionally, the determining of the second service demand characteristics corresponding to the first type of personnel and the second type of personnel respectively based on the revised score and the second score specifically includes: determining the degree of detail of the service answers corresponding to the first type of personnel and the second type of personnel respectively based on the score range corresponding to the revised score and the second score; determining the second service demand characteristics corresponding to the first type of personnel based on the second association characteristics and the degree of detail of the service answers; determining the second service demand characteristics corresponding to the second type of personnel based on the second purpose requirement characteristics and the degree of detail of the service answers.
[0014] In a second aspect of the present application, a community question-and-answer service system based on artificial intelligence is provided, the system comprising an area division module, a processing module, an acquisition module and a question-and-answer output module; the area division module is used to divide the community question-and-answer service area to determine the primary area and the secondary area; the processing module is used to determine a first type of personnel; the first type of personnel is a person who performs question-and-answer service on a question-and-answer service device set in the primary area; the acquisition module is used to obtain a first question-and-answer question corresponding to the first type of personnel when performing the question-and-answer service; the processing module is also used to extract multiple first purpose demand features based on the first question-and-answer question; the processing module is also used to extract multiple first purpose demand features based on the primary area and the secondary area; the processing module is also used to obtain a first type of personnel based on the first type of personnel The secondary area determines the location of the first-level personnel corresponding to the first type of personnel; the processing module is also used to determine the location of the second-level personnel corresponding to the first type of personnel based on multiple first purpose demand characteristics and the first-level personnel location; the processing module is also used to calculate the first score corresponding to the first type of personnel based on the second-level personnel location; the processing module is also used to determine the first service demand characteristics corresponding to the first type of personnel based on the first score and multiple first purpose demand characteristics; the question and answer output module is used to determine the corresponding first service answer data based on the first service demand characteristics, and output the first service answer data on the question and answer service device set up in the primary area.
[0015] In the third aspect of the present application, an electronic device is provided, including a processor, a memory, a user interface and a network interface, the memory is used to store instructions, the user interface and the network interface are used to communicate with other devices, and the processor is used to execute the instructions stored in the memory so that the electronic device executes any method as described in the first aspect of the present application.
[0016] In a fourth aspect of the present application, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores a computer program that can be loaded by a processor and execute the method as described in any one of the first aspects of the present application.
[0017] In summary, one or more technical solutions provided in the embodiments of the present application have at least the following technical effects or advantages:
[0018] 1. By dividing the community question-and-answer service area, the primary area and the secondary area are determined, so that more targeted services can be provided according to regional characteristics and user needs. By extracting multiple first-purpose demand features based on the first question-and-answer question, the specific needs and intentions of users can be understood more deeply. By determining the first-level personnel positioning corresponding to the first type of personnel based on the primary area and the secondary area, and by determining the second-level personnel positioning corresponding to the first type of personnel based on multiple first-purpose demand features and the first-level personnel positioning, the user groups and demand levels can be divided more finely, and more efficient service orientation and resource allocation can be achieved. By calculating the first score corresponding to the first type of personnel based on the secondary personnel positioning, the urgency and importance of user needs are quantified, providing a quantitative basis for service priority. By determining the first service demand feature corresponding to the first type of personnel based on the first score and multiple first-purpose demand features, a more refined demand description is provided, so that the service answer can more accurately meet the actual needs of users. Finally, by determining the corresponding first service answer data based on the first service demand feature, and outputting the first service answer data on the question-and-answer service device set in the primary area, it is ensured that users can obtain timely and accurate information or solutions.
[0019] 2. By analyzing multiple first purpose demand features, it is determined whether there is a first correlation feature associated with the secondary area among the multiple first purpose demand features, so that the service system can identify user needs closely related to a specific geographical area. When there is a first correlation feature associated with the secondary area among the multiple first purpose demand features, it can be determined that the first type of personnel has the possibility of going to the secondary area to seek further help. And because the use demand of the question-and-answer service device in the secondary area will further increase, it is necessary to further adjust the service answer strategy of the question-and-answer service device set in the secondary area, so as to optimize the use resources of the question-and-answer service device, and then provide question-and-answer services to the first type of personnel and the second type of personnel in the secondary area more accurately and in detail. Further determine the second type of personnel, that is, the personnel who perform question-and-answer services on the question-and-answer service device set in the secondary area, so as to achieve accurate positioning and response to the needs of the second type of personnel. By extracting multiple second purpose demand features based on the second question-and-answer question, the service system can understand the service needs of the second type of personnel in more detail. By calculating the second score corresponding to the second type of personnel based on the multiple second purpose demand features, the service system can quantify the importance and urgency of the needs of the second type of personnel. When the first type of personnel goes to the secondary area and performs another question-and-answer service on the question-and-answer service device set up in the secondary area, the first score is corrected to obtain a corrected score corresponding to the first type of personnel, thereby realizing a dynamic response to the changes in the needs of the first type of personnel. Based on the corrected score and the second score, the second service demand characteristics corresponding to the first type of personnel and the second type of personnel are determined, respectively, so that the service system can more accurately locate the service needs of various types of personnel in the secondary area. Based on the second service demand characteristics, the corresponding second service answer data is determined, and the second service answer data is output on the question-and-answer service device set up in the secondary area, thereby ensuring that the various types of personnel in the secondary area can obtain accurate service answers under the premise of optimizing the use resources of the question-and-answer service device. BRIEF DESCRIPTION OF THE DRAWINGS
[0020] Figure 1 This is one of the flow charts of a community question-and-answer service method based on artificial intelligence provided in an embodiment of the present application;
[0021] Figure 2 This is a schematic diagram of a region division scenario provided in an embodiment of the present application;
[0022] Figure 3 This is the second flow chart of a community question-and-answer service method based on artificial intelligence provided in an embodiment of the present application;
[0023] Figure 4 This is a schematic diagram of a question-and-answer service scenario provided by an embodiment of the present application;
[0024] Figure 5 It is a structural diagram of an artificial intelligence-based community question-and-answer service system provided in an embodiment of the present application;
[0025] Figure 6 It is a structural schematic diagram of an electronic device disclosed in an embodiment of the present application.
[0026] Description of reference numerals: 600, electronic device; 601, processor; 602, communication bus; 603, user interface; 604, network interface; 605, memory. DETAILED DESCRIPTION
[0027] In order to enable technicians in this field 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 drawings in the embodiments of this specification. Obviously, the described embodiments are only part of the embodiments of this application, not all of the embodiments.
[0028] In the description of the embodiments of the present application, words such as "for example" or "for example" are used to indicate examples, illustrations or explanations. Any embodiment or design described as "for example" or "for example" in the embodiments of the present application should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of words such as "for example" or "for example" is intended to present related concepts in a specific way.
[0029] In the description of the embodiments of the present application, the meaning of the term "multiple" refers to 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. Thus, the features defined as "first" and "second" can explicitly or implicitly include one or more of the features. The terms "include", "comprise", "have" and their variations all mean "including but not limited to", unless otherwise specifically emphasized.
[0030] This application provides a community question-and-answer service method based on artificial intelligence. This solution mainly serves residents in the community, especially vulnerable groups. It is crucial to pay special attention to vulnerable groups in community services because these groups usually face more challenges and needs in daily life and when diseases occur, and may not have sufficient resources to meet these challenges. Vulnerable groups may include the elderly, people with disabilities, low-income families, etc. Therefore, providing question-and-answer community services to residents and vulnerable groups in the community can improve their quality of life and bring convenience to their lives.
[0031] Reference Figure 1 , which shows one of the flow diagrams of a community question-and-answer service method based on artificial intelligence provided in an embodiment of the present application. The method includes steps S11-S19, which are as follows:
[0032] Step S11: Divide the community question-and-answer service area into primary areas and secondary areas.
[0033] Specifically, in this technical solution, the first-level area and the second-level area are first defined based on the geographical layout of the community, the distribution of users, and the characteristics of service needs. Figure 2 , which shows a schematic diagram of a regional division scenario provided by an embodiment of the present application. Among them, the first-level area refers to the main activity area of the community, such as the town hall, community service center, convenience point, etc. in the residential area. The question-and-answer service devices in these areas often provide services for a wide range of daily needs. The second-level area refers to a relatively specific service area, such as medical and health centers, community hospitals, and school surroundings. The service devices in these areas provide more professional or in-depth question-and-answer services. By analyzing the service usage data, user activity patterns, and historical question-and-answer records within the community, these areas can be divided in a refined manner, and the corresponding service content and resources can be configured according to the regional characteristics.
[0034] By dividing the community Q&A service area into primary and secondary areas, the Q&A service system can provide more personalized and accurate services based on the specific area where the user is located. For example, users in the primary area may more frequently ask questions related to daily life, while users in the secondary area may pay more attention to professional service issues specific to the area. Through this regional division, the service system can not only identify and respond to user needs more quickly and accurately, but also dynamically adjust service resources and content according to the characteristics and demand trends of different areas, thereby improving service efficiency and user satisfaction.
[0035] Step S12: Determine the first type of personnel; the first type of personnel are personnel who provide question-and-answer service on the question-and-answer service device set up in the primary area.
[0036] Specifically, the location data of the service device, the user's geographical location information, and the content of the service request are used to define and identify the first type of person. For example, the service devices in the first-level area are more configured to respond to questions about local facilities, community activities, daily life consultation, etc. Therefore, users who ask questions on these devices are classified as the first type of person.
[0037] The first type of personnel can provide question-and-answer services on the question-and-answer service device by voice input or text input.
[0038] Step S13: Obtain the first question and answer question corresponding to the first type of personnel performing the question and answer service.
[0039] Specifically, when the first type of person performs question-and-answer service on the question-and-answer service device by voice input, the first question-and-answer question corresponding to the question-and-answer service performed by the first type of person is obtained by voice recognition technology; when the first type of person performs question-and-answer service on the question-and-answer service device by text input, the first question-and-answer question corresponding to the question-and-answer service performed by the first type of person can be directly obtained.
[0040] Step S14: Based on the first question-and-answer question, extract multiple first purpose demand features.
[0041] Specifically, this step can be done by using data analysis and natural language processing (NLP) technology to conduct in-depth analysis of the collected Q&A content. Specific operations include using text analysis tools to identify keywords, phrases, and topics in questions, and applying machine learning algorithms such as topic modeling to mine the implicit demand characteristics behind the questions. In this process, each question is carefully analyzed, and multi-dimensional features that express user needs are extracted, such as service category, urgency of the question, expected service method, etc., to obtain multiple secondary purpose demand characteristics.
[0042] Step S15: Based on the primary area and the secondary area, determine the primary personnel location corresponding to the first type of personnel.
[0043] Specifically, the first-level personnel positioning includes the first-level personnel sub-positioning and the second-level personnel sub-positioning. In step S15, the embodiment of determining the first-level personnel positioning corresponding to the first type of personnel is to more finely distinguish the user groups and provide more accurate question-and-answer services according to their specific locations in the service area. The key to this step is to optimize the distribution and content of services through an in-depth understanding of the first-level area and the second-level area where the user is located, ensuring that each user can obtain the service that best matches their actual needs and location.
[0044] In a possible implementation, step S15 specifically includes the following steps:
[0045] Determine the primary area coverage corresponding to the primary area and the secondary area coverage corresponding to the secondary area.
[0046] Specifically, in this step, a detailed community map is drawn using geographic information system (GIS) technology, and primary areas (such as community service centers and convenience points in residential areas) and secondary areas (such as medical and health centers, community hospitals, and areas around educational institutions) are marked. At the same time, the service coverage of each area is further refined by analyzing the service usage records and questioning patterns of users in these areas.
[0047] Based on the primary area coverage and the secondary area coverage, the overall area coverage is obtained.
[0048] Specifically, in this step, the coverage of the primary and secondary regions defined in the previous step is integrated, and the geographical boundaries and service characteristics of different regions are integrated into a unified map platform through GIS technology. Through the integrated analysis of the coverage of each region, the system can obtain a comprehensive regional coverage map, which clearly shows the service coverage of each region and the relationship between these regions.
[0049] When the first type of personnel is asking and answering questions, face recognition is performed on the first type of personnel to obtain a face recognition result corresponding to the first type of personnel.
[0050] Specifically, before implementing this step, the system first needs to collect and store the facial information of community residents or non-residents who frequently move around in the area in the community database. When an individual performs the initial Q&A service at a Q&A service device in the primary area, the service device captures the user's facial image through a built-in camera and processes it using facial recognition technology to obtain facial recognition results. Therefore, the Q&A service device needs to be equipped with high-quality cameras and facial recognition software. When a user makes a Q&A request on a service device in the primary area, the system automatically triggers the facial recognition process, captures the user's facial image, analyzes it through facial recognition software, and compares it with the pre-stored user facial data to verify the user's identity.
[0051] Through accurate user identification, the system can provide users with a safer service experience, prevent services from being abused by unauthorized users, and protect user privacy. Secondly, the face recognition result provides the system with a clear user identity, which is essential for subsequent personalized service responses based on the user's geographic location, service usage history, and demand characteristics. For example, the system can automatically retrieve the user's historical question records, preference settings, and personalized service feedback based on the identified user identity, thereby providing more accurate and user-friendly service responses.
[0052] Based on the face recognition results, determine whether the first type of person belongs to the overall area coverage.
[0053] Specifically, the face recognition result is matched and compared with the facial information pre-stored in the community database to determine whether the first type of person belongs to the overall area coverage. Based on the face recognition result, determining whether the first type of person belongs to the overall area coverage is to determine whether the current person belongs to the overall area.
[0054] When the first type of person does not belong to the overall area coverage, the first type of person is determined as the first person sub-location. When the first type of person belongs to the overall area coverage, the first type of person is determined as the second person sub-location.
[0055] Specifically, if the facial information of the first type of people has no matches in the community database, it means that they may be non-permanent users such as visitors or new residents. Then, the system marks these people as the first person sub-position, indicating that they have different service needs or priorities from the community's permanent residents (marked as the second person sub-position).
[0056] Step S16: Based on the multiple first purpose demand characteristics and the first-level personnel positioning, determine the second-level personnel positioning corresponding to the first type of personnel.
[0057] Specifically, based on multiple first-purpose demand characteristics and first-level personnel positioning, the second-level personnel positioning corresponding to the first type of personnel is determined, that is, the personnel positioning is further subdivided to determine what type of group the current personnel belongs to, such as elderly people who come to the area for the first time and are unfamiliar with the situation in the area, elderly people living alone in the area, people with disabilities living in the area, etc.
[0058] In a possible implementation, step S16 specifically includes the following steps:
[0059] A plurality of first purpose demand characteristics are screened to obtain at least one key purpose demand characteristic.
[0060] Specifically, first, the system uses text mining technology to extract keywords, phrases, and concepts from the question content to identify the expressed demand features. Then, the machine learning model is used to evaluate and screen the importance of these extracted demand features to identify the key purpose demand features. This process may include analyzing the frequency of demand features, user feedback, and the correlation between demand features and known user demand patterns. More specifically, by constructing a weight model for demand features, the frequency of occurrence of each demand feature in user questions and the feedback in the process of user demand satisfaction are evaluated to determine which features are key purpose demand features. For example, if a demand feature appears frequently in a large number of questions, and the service answers to these questions receive positive user feedback, then this demand feature can be identified as a key purpose demand feature.
[0061] Based on at least one key purpose demand feature, at least one purpose demand location corresponding to the first type of personnel is obtained.
[0062] Specifically, the system will process the identified key purpose demand features through data analysis technology and pattern recognition algorithms. By deeply analyzing the performance and context of these features in different user problems and the matching degree with existing service solutions, at least one purpose demand positioning can be identified. For example, if the key purpose demand feature involves "emergency medical assistance", then the demand positioning may include information such as specific medical service categories, expected response time, and special medical resources that may be required.
[0063] At least one purpose demand positioning and the first personnel sub-positioning, or at least one purpose demand positioning and the second personnel sub-positioning are combined to obtain a secondary personnel positioning.
[0064] Specifically, the system matches and integrates the personnel sub-positioning information (such as the first personnel sub-positioning or the second personnel sub-positioning) with the purpose demand positioning obtained through the previous in-depth analysis to obtain the secondary personnel positioning. For example, for a user positioned as the first personnel sub-positioning, if his purpose demand positioning points to the urgent need for specific medical services, the secondary personnel positioning is: a person who is not covered by the overall area and has an urgent need for specific medical services.
[0065] Step S17: Based on the secondary personnel positioning, a first score corresponding to the first type of personnel is calculated.
[0066] Specifically, based on the secondary personnel positioning, the first score corresponding to the first type of personnel is calculated in order to quantitatively evaluate the urgency and relevance of each user's service needs, thereby optimizing the priority and resource allocation of service responses.
[0067] In a possible implementation, step S17 specifically includes the following steps:
[0068] Based on at least one purpose demand positioning included in the secondary personnel positioning, an initial urgency coefficient and an initial correlation coefficient corresponding to each purpose demand positioning are determined.
[0069] Specifically, the initial urgency coefficient and initial relevance coefficient corresponding to each purpose demand positioning are determined to ensure that the question-answering service system can accurately evaluate and quantify the urgency of each user demand and the degree of match between the user demand and the actual situation. The urgency and relevance of each purpose demand positioning are evaluated separately. The urgency coefficient is assessed based on the nature of the demand, the context in which the user makes the demand, and the possible impact, while the relevance coefficient is determined based on the degree of match between the demand content and the actual service situation and service scope. The evaluation process quantifies urgency and relevance based on preset standards and historical data. For example, medical emergency requests may receive a higher urgency coefficient, while highly matching service requests receive a higher relevance coefficient.
[0070] Based on each initial urgency coefficient, a comprehensive urgency coefficient is obtained, and based on each initial relevance coefficient, a comprehensive relevance coefficient is obtained.
[0071] Specifically, the system will use methods such as data fusion and weighted average to comprehensively analyze and calculate all the initial urgency coefficients and initial relevance coefficients previously assessed. That is, first, the initial urgency coefficients in each user or demand case are summarized and weighted averaged to obtain a comprehensive urgency coefficient to reflect the overall urgency of user needs; similarly, the initial relevance coefficients are also summarized and weighted to obtain a comprehensive relevance coefficient to measure the overall level of matching between user needs and service provider capabilities. In the weighting process, factors such as the specificity of the needs, historical user feedback, and the actual efficiency of service processing need to be considered to ensure that the comprehensive urgency coefficient and comprehensive relevance coefficient can accurately reflect the actual situation of user needs and the needs of service response.
[0072] Based on the primary personnel positioning included in the secondary personnel positioning, the corresponding regional correlation coefficient is determined.
[0073] Specifically, the system first analyzes the service demand data of the community as a whole and identifies the urgency of certain service areas (such as health services for the elderly) within the entire community. Based on this analysis, the system assigns higher regional relevance coefficients to users who make service demands in these areas. For example, if the analysis finds that the demand for health services for the elderly in a community is particularly urgent, the regional relevance coefficients of the elderly residents in the community will be increased accordingly when they make relevant service demands. Next, the system adjusts the regional relevance coefficients based on whether the user belongs to the overall regional coverage. For the first type of people who belong to the overall regional coverage (i.e., permanent residents of the community or frequent visitors), the first type of people will be set with a higher regional relevance coefficient, reflecting the high relevance of their needs to the overall needs of the community. On the contrary, for the first type of people who do not belong to the overall regional coverage (who may be occasional visitors or new residents), since their needs may not fully reflect the main demand trends of the community, the regional relevance coefficients of the first type of people will be set lower.
[0074] Based on the comprehensive urgency coefficient, comprehensive relevance coefficient and regional relevance coefficient, the first score is calculated. The first score is calculated by the following formula:
[0075] ;
[0076] Wherein, S is the first score, B is the preset basic score, U is the comprehensive urgency coefficient, R is the comprehensive correlation coefficient, k is equal to 1 or 2, A1 is the regional correlation coefficient corresponding to the first personnel sub-positioning, A2 is the regional correlation coefficient corresponding to the second personnel sub-positioning, is a step function, and θ is the preset threshold.
[0077] Specifically, the introduction of a preset basic score is to ensure that each service request has a minimum score guarantee. This ensures the system's basic response to all requests and avoids service requests being ignored due to low scores.
[0078] Through the logarithmic function The urgency factor is designed to mitigate the impact of extreme values and ensure that the growth of the urgency score does not increase indefinitely, thereby maintaining the stability and rationality of the scoring system. This design helps to smooth the contribution of urgency to the total score and avoid excessive deviation from the balance of overall service priorities due to a single extreme emergency demand. The weight of relevance in the score is increased in the form of , emphasizing the importance of requests with a high degree of match between demand and service capabilities in service priority sorting.
[0079] is a step function, used according to Whether it exceeds the preset threshold θ, the score is adjusted to reflect the strength of the correlation between user needs and community-specific needs. The form of the step function can be, when hour, ; and when hour, Therefore, for In terms of hour, The value is equal to ;when hour, The value of is equal to 1.
[0080] The formula is designed in this way to balance the impact of urgency, relevance and regional characteristics on service demand priorities, ensuring that the service system can allocate resources scientifically and reasonably, giving priority to those service requests that are most urgent, relevant and highly matched with community needs.
[0081] Step S18: Determine the first service demand characteristics corresponding to the first type of personnel based on the first score and the multiple first purpose demand characteristics.
[0082] Specifically, the system identifies users with high scores as priority service objects by analyzing the first scores of the first type of personnel. This process requires sorting the first scores and comparing the first scores with different threshold segments to determine which users' needs should be considered more urgent. The different threshold segments can be divided into high urgency priority, medium urgency priority, and low urgency priority. If the first score belongs to the threshold segment of high urgency priority, it means that the needs of the first type of personnel should be considered more urgent. Then, the system uses the extracted first purpose demand features and applies pattern matching and data analysis techniques, such as similarity calculation or machine learning classification models, to conduct in-depth analysis and matching of these demand features. This is done to filter out the service content that best matches the actual needs of users from the numerous demand features, namely the first service demand features.
[0083] Step S19: Based on the first service demand feature, the corresponding first service answer data is determined, and the first service answer data is output on the question-and-answer service device set in the primary area.
[0084] Specifically, the system first retrieves or generates service answer data that meets these demand characteristics from the service knowledge base or related data sources based on the first service demand characteristics previously determined. That is, the demand characteristics are analyzed by using natural language processing technology, and the answer content is prepared by using methods such as database query, content generation or instant calculation. Then, the system presents these service answer data to the user in an appropriate form (text, voice, image, etc.) through the question-and-answer service device in the first-level area. If the service answer data that meets these demand characteristics cannot be retrieved or generated from the service knowledge base or related data sources, the question-and-answer service device will contact the community service staff to enable the community service staff to come and help solve the problem.
[0085] It should be noted that when the first type of person asks questions in dialect, the system will recognize the dialect, that is, by deploying a dialect recognition module in the service system, which can recognize and process dialect voice input from users. Train a speech recognition model for a specific dialect and use a large amount of dialect voice data to improve the accuracy and robustness of the model. When the question-and-answer service system needs to output voice in dialect, a text-to-speech engine that can support dialect output is deployed in the service system, that is, by selecting and integrating TTS models specially trained for different dialects to achieve voice output in dialect.
[0086] In one possible implementation, refer to Figure 3 , which shows a second flow chart of a community question-and-answer service method based on artificial intelligence provided in an embodiment of the present application. After step S18, the method further includes steps S21-S28:
[0087] Step S21: Analyze multiple first purpose demand characteristics to determine whether there is a first associated characteristic associated with the secondary area among the multiple first purpose demand characteristics.
[0088] Specifically, first, the system uses natural language processing technology to extract key information, such as keywords and topics, from the service needs raised by users in the first-level region, and organizes them into clear demand features. Then, through pattern recognition and association analysis, these demand features are further analyzed to identify those that are highly related to the environment, cultural background or geographical location of the second-level region, which are called first-association features. These features may include service needs unique to a certain region, consultation on cultural activities, or inquiries on specific community resources.
[0089] Step S22: When there is a first associated feature associated with the secondary area among the plurality of first purpose demand features, a second type of personnel is determined, where the second type of personnel is a person who performs question-and-answer service on the question-and-answer service device provided in the secondary area.
[0090] Specifically, when there is a first associated feature associated with the secondary area among multiple first purpose demand features, it can be determined that the first type of personnel has the possibility of going to the secondary area to seek further help. And because the demand for the use of the question-and-answer service device in the secondary area will further increase, it is necessary to further adjust the service answer strategy of the question-and-answer service device set in the secondary area, so as to optimize the use resources of the question-and-answer service device, and then provide more accurate and detailed question-and-answer services to the first type of personnel and the second type of personnel in the secondary area.
[0091] Similarly, the second type of personnel can provide question-and-answer services on the question-and-answer service device by voice input or text input.
[0092] To facilitate understanding of the overall scheme of steps S21-S28, refer to Figure 4 , Figure 4 A schematic diagram of a question-and-answer service scenario provided in an embodiment of the present application is shown.
[0093] Step S23: Obtain the second question and answer question corresponding to the second type of personnel performing the question and answer service.
[0094] Specifically, the implementation method of this step is the same as the implementation method of obtaining the first question and answer question corresponding to the first type of personnel performing the question and answer service in step S13, so it will not be elaborated here.
[0095] Step S24: Based on the second question-and-answer question, extract multiple second purpose demand features.
[0096] Specifically, the implementation method of this step is the same as the implementation method of extracting multiple first purpose demand features based on the first question and answer question in step S14, so it will not be elaborated here.
[0097] Step S25: Calculate a second score corresponding to the second type of personnel based on the multiple second purpose demand characteristics.
[0098] Specifically, the system matches these second purpose demand characteristics with the pre-set scoring criteria to obtain the initial score and importance coefficient corresponding to each second purpose demand characteristic, then multiplies the initial score corresponding to each second purpose demand characteristic by the importance coefficient, and performs a weighted sum, and finally adds the preset basic score to obtain the second score corresponding to the second type of personnel.
[0099] Step S26: When the first type of personnel goes to the secondary area and performs question-and-answer service again on the question-and-answer service device provided in the secondary area, the first score is revised to obtain a revised score corresponding to the first type of personnel.
[0100] Specifically, when the first type of personnel goes to the secondary area and receives another question-and-answer service on the question-and-answer service device set up in the secondary area, the first score is revised to ensure that the question-and-answer service system can respond to changes in user behavior in real time and dynamically adjust the service priority based on the revised score corresponding to the first type of personnel.
[0101] In a possible implementation, step S26 specifically includes the following steps:
[0102] A third question and answer question when the first type of personnel performs a second question and answer service on the question and answer service device set in the secondary area is obtained, and a time interval between two question and answer services is obtained.
[0103] Specifically, the system will automatically record the content and time of the user's question. Then, by comparing the timestamps of the user's questions in the primary area and the secondary area, the time interval between the two questions is calculated. By analyzing the content and time interval of users' questions in different areas, the system can identify those users with persistent needs and situations where the urgency of their needs may increase over time, thereby ensuring that those persistent and urgent needs can be responded to in a timely manner, thereby improving the accuracy and efficiency of the service.
[0104] Based on the time interval, a time decay factor is determined.
[0105] Specifically, the time decay factor will be adjusted according to the length of the time interval. A shorter time interval may mean that the user demand is more urgent, and the corresponding time decay factor will be smaller to reduce the decay effect on the score. On the contrary, a longer time interval may lead to a larger time decay factor, reflecting the reduction in the urgency of the demand.
[0106] Based on the third question and answer, multiple third purpose demand features are extracted.
[0107] Specifically, the implementation method of this step is the same as the implementation method of extracting multiple first purpose demand features based on the first question and answer question in step S14, so it will not be elaborated here.
[0108] The feature similarity between each first purpose demand feature and each third purpose demand feature is calculated.
[0109] Specifically, the implementation of this step requires the system to conduct a detailed analysis of the needs raised by users in the first-level area (first-purpose demand characteristics) and the needs raised again in the second-level area (third-purpose demand characteristics), and extract their respective key characteristics, including the specific content of the needs, urgency, related service types, etc. Then, by applying natural language processing and similarity calculation technology, the system compares these extracted demand characteristics and calculates the similarity between them. The method of calculating similarity includes but is not limited to using text similarity algorithms, such as cosine similarity, Jaccard similarity, etc., to compare the similarity between two sets of demand characteristics and express the correlation between these demands in numerical form.
[0110] Based on the feature similarity, similar purpose demand features are determined from a plurality of third purpose demand features.
[0111] Specifically, the similarity values between demand features are compared, and demand features with similarity values higher than the feature similarity threshold are selected as demand features with similar purposes. The purpose of screening out demand features with similar purposes is indeed to identify and determine the issues that users are still concerned about, thereby indicating that these issues are of high urgency and importance to users, and therefore require the service system to focus on and respond to them with priority.
[0112] Analyze multiple similar purpose demand features to determine whether there is a second associated feature associated with the secondary area among the multiple similar purpose demand features.
[0113] Specifically, an embodiment of analyzing multiple similar purpose demand features to determine whether there is a second associated feature associated with the secondary area among the multiple similar purpose demand features is intended to further deepen the service system's understanding of user needs, especially to identify those needs that are closely related to the secondary area and persist. The similar purpose demand features identified in the previous steps are further analyzed and classified, with particular attention paid to those demand features that are clearly associated with specific services, resources or activities in the secondary area. By utilizing natural language processing technology and deep learning algorithms, the system can extract key information related to the secondary area from the user's demand expression, such as place names, specific service types or activities, and thereby identify the second associated feature.
[0114] Based on the second correlation feature, the correlation problem impact factor is obtained.
[0115] Specifically, the second relevance feature is analyzed in depth based on data analysis methods, such as weighted scoring systems, machine learning algorithms, etc. The system will evaluate the degree of impact on the user based on the specific content and context of the second relevance feature, and calculate the relevance issue impact factor accordingly. For example, if a second relevance feature involves the need for emergency medical services, and this need has a significant impact on the user's activities in the secondary area, then the relevance issue impact factor of this need will be high.
[0116] Based on the time decay factor and the associated problem impact factor, the first score is corrected to obtain a corrected score.
[0117] Specifically, by analyzing the time interval between the user's needs in the secondary area and the needs in the primary area (time decay factor) and the degree to which the needs are closely related to the characteristics of the secondary area (related problem influence factor), the system can more comprehensively evaluate the urgency and importance of user needs.
[0118] The modified score is calculated using the following formula: ;
[0119] in, To correct the rating, is the first score, and CIF is the correlation factor, which quantifies the impact of the degree of correlation between the demand and a specific regional characteristic on the importance of the demand. This factor can be adjusted according to the strength of the correlation between the demand and the secondary regional characteristics. For example, if the demand is highly correlated with the secondary regional characteristics, CIF is greater than 1 to increase the priority of the demand; if the correlation is low, CIF is less than or equal to 1. It reflects the dynamic characteristics of demand urgency over time. In order to reflect the impact of time span on demand urgency, it is a function that decreases with time. δ is the time attenuation factor. For the time interval.
[0120] Step S27: Based on the revised score and the second score, second service demand characteristics corresponding to the first type of personnel and the second type of personnel are determined respectively.
[0121] Specifically, based on the modified score and the second score, the second service demand characteristics corresponding to the first type of personnel and the second type of personnel respectively are determined, aiming to accurately match and respond to users' actual service needs through in-depth analysis and optimization of user demand scores.
[0122] In a possible implementation, step S27 specifically includes the following steps:
[0123] Based on the score intervals corresponding to the revised score and the second score, the service answer detail levels corresponding to the first type of personnel and the second type of personnel respectively are determined.
[0124] Specifically, based on the score intervals corresponding to the modified score and the second score, the service answer details corresponding to the first type of personnel and the second type of personnel are determined, respectively, in order to ensure that the question-and-answer service system can provide appropriate service answers according to the urgency and importance of user needs. Since user needs vary significantly in urgency, importance, and the need for details, by determining the detail level of service answers based on the score interval, the service system can allocate resources more effectively, give priority to meeting the most urgent and important needs, and ensure that the service answers match the depth of information and detail level expected by users.
[0125] Based on the second correlation feature and the service answer detail level, a second service demand feature corresponding to the first type of personnel is determined.
[0126] Specifically, by analyzing the second correlation feature, the service system can identify which needs are closely related to the specific situation of the secondary area, and the determination of the level of detail of the service answer ensures that these needs can be answered with appropriate depth. By deeply analyzing the second correlation feature, the system can identify the specific content of the needs, such as specific service requests, information queries, or resource requirements, which constitute the second service demand feature. Then, combined with the determination of the level of detail of the service answer, the system adjusts the service content and the depth of the answer to ensure that these service answers can accurately meet the actual needs of the first type of personnel.
[0127] Based on the second purpose demand characteristics and the level of detail of the service answer, determine the second service demand characteristics corresponding to the second type of personnel.
[0128] Specifically, similarly, by analyzing the second purpose demand characteristics, the service system can identify which needs are closely related to the specific situation of the secondary area, and the determination of the level of detail of the service answer ensures that these needs can be answered with appropriate depth. By deeply analyzing the second purpose demand characteristics, the system can identify the specific content of the needs, such as specific service requests, information queries, or resource requirements, which constitute the second service demand characteristics. Then, combined with the determination of the level of detail of the service answer, the system adjusts the service content and answer depth to ensure that these service answers can accurately meet the actual needs of the second type of personnel.
[0129] Step S28: Based on the second service demand characteristics, the corresponding second service answer data is determined, and the second service answer data is output on the question-and-answer service device set in the secondary area.
[0130] Specifically, the service system generates targeted service answer data based on the determined second service demand characteristics, including the urgency, complexity, and relevance to the secondary area, and uses existing information resources. In order to ensure that the service answer data is easy for users to understand and use, the system will adjust the format and expression of the answer data according to the user's preferences and needs, such as by combining pictures and texts, simplifying the language, or providing step-by-step guidance. Finally, the system outputs the prepared service answer data to the user through the question-and-answer service device set up in the secondary area, ensuring that the user can obtain the required information or help in a timely manner.
[0131] Reference Figure 5 , which shows a structural schematic diagram of an artificial intelligence-based community question-and-answer service system provided in an embodiment of the present application, the system includes an area division module, a processing module, an acquisition module and a question-and-answer output module; the area division module is used to divide the community question-and-answer service area to determine the primary area and the secondary area; the processing module is used to determine the first type of personnel; the first type of personnel is a person who performs question-and-answer service on the question-and-answer service device set in the primary area; the acquisition module is used to obtain the first question-and-answer question corresponding to the first type of personnel when performing the question-and-answer service; the processing module is also used to extract multiple first purpose demand features based on the first question-and-answer question; the processing module, It is also used to determine the first-level personnel location corresponding to the first type of personnel based on the first-level area and the second-level area; the processing module is also used to determine the second-level personnel location corresponding to the first type of personnel based on multiple first purpose demand characteristics and the first-level personnel location; the processing module is also used to calculate the first score corresponding to the first type of personnel based on the second-level personnel location; the processing module is also used to determine the first service demand characteristics corresponding to the first type of personnel based on the first score and multiple first purpose demand characteristics; the question and answer output module is used to determine the corresponding first service answer data based on the first service demand characteristics, and output the first service answer data on the question and answer service device set in the first-level area.
[0132] In a possible implementation, the processing module is further used to analyze multiple first purpose demand features to determine whether there is a first associated feature associated with the secondary area among the multiple first purpose demand features; the processing module is further used to determine the second type of personnel when there is a first associated feature associated with the secondary area among the multiple first purpose demand features, and the second type of personnel is a person who performs question and answer service on the question and answer service device set in the secondary area; the acquisition module is further used to obtain the second question and answer question corresponding to the second type of personnel when performing the question and answer service; the processing module is further used to extract multiple second purpose demand features based on the second question and answer question; the processing module is further used to calculate the second score corresponding to the second type of personnel based on the multiple second purpose demand features; the processing module is further used to correct the first score when the first type of personnel goes to the secondary area and performs question and answer service again on the question and answer service device set in the secondary area, and obtain the corrected score corresponding to the first type of personnel; the processing module is further used to determine the second service demand features corresponding to the first type of personnel and the second type of personnel respectively based on the corrected score and the second score; the question and answer output module is further used to determine the corresponding second service answer data based on the second service demand feature, and output the second service answer data on the question and answer service device set in the secondary area.
[0133] In a possible implementation, the processing module is also used to determine the first-level area coverage corresponding to the first-level area and the second-level area coverage corresponding to the second-level area; the processing module is also used to obtain the overall area coverage based on the first-level area coverage and the second-level area coverage; the processing module is also used to perform face recognition on the first-type personnel when the first-type personnel ask questions and obtain the face recognition result corresponding to the first-type personnel; the processing module is also used to determine whether the first-type personnel belongs to the overall area coverage based on the face recognition result; the processing module is also used to determine that the first-type personnel is a first-person sub-location when the first-type personnel does not belong to the overall area coverage; the processing module is also used to determine that the first-type personnel is a second-person sub-location when the first-type personnel belongs to the overall area coverage.
[0134] In a possible implementation, the processing module is also used to screen multiple first purpose demand features to obtain at least one key purpose demand feature; the processing module is also used to obtain at least one purpose demand location corresponding to the first type of personnel based on at least one key purpose demand feature; the processing module is also used to combine at least one purpose demand location and the first personnel sub-location, or at least one purpose demand location and the second personnel sub-location, to obtain a secondary personnel location.
[0135] In a possible implementation, the processing module is further used to determine the initial urgency coefficient and the initial correlation coefficient corresponding to each purpose demand positioning based on at least one purpose demand positioning included in the secondary personnel positioning; the processing module is further used to obtain the comprehensive urgency coefficient based on each initial urgency coefficient, and obtain the comprehensive correlation coefficient based on each initial correlation coefficient; the processing module is further used to determine the corresponding regional correlation coefficient based on the primary personnel positioning included in the secondary personnel positioning; the processing module is further used to calculate the first score based on the comprehensive urgency coefficient, the comprehensive correlation coefficient and the regional correlation coefficient; the processing module is further used to calculate the first score by the following formula: ; Wherein, S is the first score, B is the preset basic score, U is the comprehensive urgency coefficient, R is the comprehensive correlation coefficient, k is equal to 1 or 2, A1 is the regional correlation coefficient corresponding to the first personnel sub-positioning, A2 is the regional correlation coefficient corresponding to the second personnel sub-positioning, is a step function, and θ is the preset threshold.
[0136] In a possible implementation, the acquisition module is also used to obtain the third question and answer question when the first type of personnel performs the second question and answer service on the question and answer service device set up in the secondary area, and obtain the time interval between the two question and answer services; the processing module is also used to determine the time decay factor based on the time interval; the processing module is also used to extract multiple third purpose demand features based on the third question and answer question; the processing module is also used to calculate the feature similarity between each first purpose demand feature and each third purpose demand feature; the processing module is also used to determine similar purpose demand features from multiple third purpose demand features based on the feature similarity; the processing module is also used to analyze multiple similar purpose demand features to determine whether there is a second associated feature associated with the secondary area in the multiple similar purpose demand features; the processing module is also used to obtain the associated problem influence factor based on the second associated feature; the processing module is also used to correct the first score based on the time decay factor and the associated problem influence factor to obtain a corrected score.
[0137] In one possible implementation, the processing module is further used to determine the service answer detail levels corresponding to the first type of personnel and the second type of personnel, respectively, based on the score ranges corresponding to the revised score and the second score; the processing module is further used to determine the second service demand characteristics corresponding to the first type of personnel based on the second association characteristics and the service answer detail levels; the processing module is further used to determine the second service demand characteristics corresponding to the second type of personnel based on the second purpose demand characteristics and the service answer detail levels.
[0138] It should be noted that: when the device provided in the above embodiment realizes its function, only the division of the above functional modules is used as an example. In actual application, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device 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 embodiment belong to the same concept, and the specific implementation process is detailed in the method embodiment, which will not be repeated here.
[0139] The present application also discloses an electronic device. Figure 6 , Figure 6 The electronic device 600 may include: at least one processor 601 , at least one network interface 604 , a user interface 603 , a memory 605 , and at least one communication bus 602 .
[0140] The communication bus 602 is used to realize the connection and communication between these components.
[0141] The user interface 603 may include a display screen (Display) and a camera (Camera). The optional user interface 603 may also include a standard wired interface and a wireless interface.
[0142] The network interface 604 may optionally include a standard wired interface or a wireless interface (such as a WI-FI interface).
[0143] Among them, the processor 601 may include one or more processing cores. The processor 601 uses various interfaces and lines to connect various parts in the entire server, and executes various functions of the server and processes data by running or executing instructions, programs, code sets or instruction sets stored in the memory 605, and calling data stored in the memory 605. Optionally, the processor 601 can be implemented in at least one hardware form 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). The processor 601 can integrate one or a combination of a central processing unit (Central Processing Unit, CPU), a graphics processor (Graphics Processing Unit, GPU) and a modem. Among them, the CPU mainly processes the operating system, user interface and application programs; the GPU is responsible for rendering and drawing the content to be displayed on the display screen; the modem is used to process wireless communications. It can be understood that the above-mentioned modem may not be integrated into the processor 601, and it can be implemented separately through a chip.
[0144] Among them, the memory 605 may include a random access memory (Random Access Memory, RAM) and may also include a read-only memory (Read-Only Memory). Optionally, the memory 605 includes a non-transitory computer-readable storage medium. The memory 605 can be used to store instructions, programs, codes, code sets or instruction sets. The memory 605 may include a program storage area and a data storage area, wherein 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 for implementing the above-mentioned various method embodiments, etc.; the data storage area may store data involved in the above-mentioned various method embodiments, etc. The memory 605 may optionally also be at least one storage device located away from the aforementioned processor 601. Refer to Figure 6 , the memory 605 as a computer-readable storage medium may include an operating system, a network communication module, a user interface module and an application program.
[0145] exist Figure 6In the electronic device 600 shown, the user interface 603 is mainly used to provide an input interface for the user and obtain the data input by the user; and the processor 601 can be used to call an application stored in the memory 605, and when executed by one or more processors 601, the electronic device 600 executes one or more methods in the above-mentioned embodiments. It should be noted that for the aforementioned method embodiments, for the sake of simple description, they are all expressed as a series of action combinations, but those skilled in the art should know that the present application is not limited by the described order of actions, because according to the present application, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also know that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required for the present application.
[0146] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0147] In the several embodiments provided in this application, it should be understood that the disclosed devices can be implemented in other ways. For example, the device embodiments described above are only schematic, such as the division of units, which is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some service interfaces, and the indirect coupling or communication connection of devices or units can be electrical or other forms.
[0148] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0149] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0150] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable memory. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, which is stored in a memory and includes several instructions for a computer device (which can be a personal computer, server or network device, etc.) to execute all or part of the steps of the various embodiments of the present application. The aforementioned memory includes: various media that can store program codes, such as USB flash drives, mobile hard drives, magnetic disks or optical disks.
[0151] The above are only exemplary embodiments of the present disclosure and cannot be used to limit the scope of the present disclosure. That is, any equivalent changes and modifications made according to the teachings of the present disclosure are still within the scope of the present disclosure. After considering the disclosure of the specification and the truth of practice, those skilled in the art will easily think of other embodiments of the present disclosure.
[0152] This application is intended to cover any variation, use or adaptation of the present disclosure, which follows the general principles of the present disclosure and includes common knowledge or customary technical means in the art not described in the present disclosure. The description and examples are to be regarded as exemplary only, and the scope and spirit of the present disclosure are defined by the claims.
Claims
1. A community question-answering service method based on artificial intelligence, characterized in that: The method comprises: Divide the community question-and-answer service area into primary and secondary areas; Determine a first type of personnel; the first type of personnel is a person who performs question-and-answer service on a question-and-answer service device disposed in the first-level area; Obtaining a first question and answer question corresponding to the first type of person performing the question and answer service; Based on the first question and answer, extract multiple first purpose demand features; Based on the primary area and the secondary area, determine the primary personnel location corresponding to the first type of personnel; based on a plurality of the first purpose demand characteristics and the primary personnel location, determine the secondary personnel location corresponding to the first type of personnel; Based on the second-level personnel positioning, calculating a first score corresponding to the first type of personnel; Determine a first service demand feature corresponding to the first type of personnel based on the first score and the plurality of first purpose demand features; Based on the first service demand feature, determining corresponding first service answer data, and outputting the first service answer data on a question-and-answer service device disposed in the first-level area; Analyze the plurality of first purpose demand characteristics to determine whether there is a first associated characteristic associated with the secondary area among the plurality of first purpose demand characteristics; When there is a first associated feature associated with the secondary area among the plurality of first purpose demand features, determining a second type of personnel, where the second type of personnel is a person who performs question-and-answer service on a question-and-answer service device provided in the secondary area; Obtaining a second question and answer question corresponding to the second type of person performing the question and answer service; Based on the second question and answer, extract multiple second purpose demand features; Calculate a second score corresponding to the second type of personnel based on the plurality of the second purpose demand characteristics; When the first type of person goes to the secondary area and performs question-and-answer service again on the question-and-answer service device set in the secondary area, the first score is corrected to obtain a corrected score corresponding to the first type of person; the correcting the first score to obtain a corrected score corresponding to the first type of person specifically includes: Obtaining a third question for the first type of personnel to perform a second question-and-answer service on the question-and-answer service device provided in the secondary area, and obtaining a time interval between two question-and-answer services; determining a time decay factor based on the time interval; Based on the third question and answer, extracting multiple demand features of the third purpose; Calculate and obtain the feature similarity between each of the first purpose demand features and each of the third purpose demand features; Based on the feature similarity, determining similar purpose demand features from a plurality of third purpose demand features; Analyze the plurality of similar purpose demand characteristics to determine whether there is a second associated characteristic associated with the secondary area among the plurality of similar purpose demand characteristics; Based on the second correlation feature, obtaining an correlation problem impact factor; Based on the time decay factor and the associated problem impact factor, modify the first score to obtain the modified score; Determining second service demand characteristics corresponding to the first type of personnel and the second type of personnel, respectively, based on the revised score and the second score; Based on the second service demand feature, corresponding second service answer data is determined, and the second service answer data is output on a question-and-answer service device disposed in the secondary area.
2. The method according to claim 1, characterized in that The first-level personnel positioning includes a first-level personnel sub-positioning and a second-level personnel sub-positioning; and determining the first-level personnel positioning corresponding to the first-type personnel specifically includes: Determine a primary area coverage range corresponding to the primary area and a secondary area coverage range corresponding to the secondary area; Based on the primary area coverage and the secondary area coverage, an overall area coverage is obtained; when the first type of personnel asks and answers questions, face recognition is performed on the first type of personnel to obtain a face recognition result corresponding to the first type of personnel; Based on the face recognition result, determining whether the first type of person belongs to the overall area coverage; when the first type of person does not belong to the overall area coverage, determining the first type of person as a first person sub-location; When the first type of personnel belongs to the overall area coverage, the first type of personnel is determined as a second personnel sub-location.
3. The method according to claim 2, characterized in that The determining the secondary personnel location corresponding to the first type of personnel based on the plurality of the first purpose demand characteristics and the primary personnel location specifically includes: screening the plurality of the first purpose demand characteristics to obtain at least one key purpose demand characteristic; Based on at least one of the key purpose demand characteristics, obtaining at least one purpose demand location corresponding to the first type of personnel; The secondary personnel location is obtained by combining at least one of the purpose demand location and the first personnel sub-location, or combining at least one of the purpose demand location and the second personnel sub-location.
4. The method according to claim 3, characterized in that The calculating, based on the second-level personnel positioning, a first score corresponding to the first type of personnel specifically includes: Based on at least one of the target demand locations included in the secondary personnel location, determining an initial urgency coefficient and an initial correlation coefficient corresponding to each of the target demand locations; Based on each of the initial urgency coefficients, a comprehensive urgency coefficient is obtained, and based on each of the initial relevance coefficients, a comprehensive relevance coefficient is obtained; Based on the primary personnel positioning included in the secondary personnel positioning, determining the corresponding regional correlation coefficient; based on the comprehensive urgency coefficient, the comprehensive correlation coefficient and the regional correlation coefficient, calculating the first score; The first score is calculated by the following formula: Among them, S is the first score, B is the preset basic score, U is the comprehensive urgency coefficient, R is the comprehensive correlation coefficient, k is equal to 1 or 2, A1 is the regional correlation coefficient corresponding to the first personnel sub-positioning, A2 is the regional correlation coefficient corresponding to the second personnel sub-positioning, Θ() is a step function, and θ is a preset threshold.
5. The method according to claim 1, characterized in that The determining, based on the modified score and the second score, second service demand characteristics corresponding to the first type of personnel and the second type of personnel respectively includes: Determining the service answer detail levels corresponding to the first type of personnel and the second type of personnel respectively based on the revised score and the score interval corresponding to the second score; Determining a second service demand feature corresponding to the first type of personnel based on the second association feature and the service answer detail level; Based on the second purpose requirement characteristics and the service answer detail level, a second service requirement characteristic corresponding to the second type of personnel is determined.
6. A community question-answering service system based on artificial intelligence, characterized in that: The system includes a region division module, a processing module, an acquisition module and a question and answer output module; The area division module is used to divide the community question-and-answer service area to determine the primary area and the secondary area; The processing module is used to determine a first type of personnel; the first type of personnel is a person who performs question-and-answer service on a question-and-answer service device provided in the primary area; The acquisition module is used to acquire the first question and answer question corresponding to the first type of personnel when performing the question and answer service; the processing module is further used to extract multiple first purpose demand features based on the first question and answer question; the processing module is further used to determine the first-level personnel location corresponding to the first type of personnel based on the first-level area and the second-level area; The processing module is further used to determine the secondary personnel location corresponding to the first type of personnel based on the plurality of first purpose demand characteristics and the primary personnel location; The processing module is further configured to calculate a first score corresponding to the first type of personnel based on the second-level personnel positioning; The processing module is further used to determine a first service demand feature corresponding to the first type of personnel based on the first score and the plurality of first purpose demand features; The question-answer output module is used to determine corresponding first service answer data based on the first service demand feature, and output the first service answer data on a question-answer service device set in the first-level area; The processing module is further used to analyze the plurality of first purpose demand characteristics to determine whether there is a first associated characteristic associated with the secondary area among the plurality of first purpose demand characteristics; The processing module is further configured to determine a second type of personnel when a first associated feature associated with the secondary area exists among the plurality of first purpose demand features, the second type of personnel being personnel performing question-and-answer service on a question-and-answer service device disposed in the secondary area; The acquisition module is further used to acquire a second question and answer question corresponding to the second type of person performing the question and answer service; The processing module is further used to extract a plurality of second purpose demand characteristics based on the second question and answer; the processing module is further used to calculate a second score corresponding to the second type of personnel based on the plurality of second purpose demand characteristics; The processing module is further configured to correct the first score when the first type of person goes to the secondary area and performs another question-and-answer service on the question-and-answer service device provided in the secondary area, so as to obtain a corrected score corresponding to the first type of person; The step of correcting the first score to obtain a corrected score corresponding to the first type of person specifically includes: The acquisition module is further used to acquire a third question and answer question when the first type of person performs a second question and answer service on the question and answer service device set in the secondary area, and acquire a time interval between two question and answer services; The processing module is further used to determine a time decay factor based on the time interval; The processing module is further used to extract multiple third purpose demand features based on the third question-answering question; the processing module is further used to calculate the feature similarity between each of the first purpose demand features and each of the third purpose demand features; The processing module is further used to determine similar purpose demand features from a plurality of third purpose demand features based on the feature similarity; The processing module is further used to analyze the plurality of similar purpose demand characteristics to determine whether there is a second associated characteristic associated with the secondary area among the plurality of similar purpose demand characteristics; The processing module is further used to obtain an associated problem impact factor based on the second associated feature; The processing module is further configured to modify the first score based on the time decay factor and the associated problem impact factor to obtain the modified score; The processing module is further used to determine second service demand characteristics corresponding to the first type of personnel and the second type of personnel respectively based on the revised score and the second score; The question-and-answer output module is further configured to determine corresponding second service answer data based on the second service demand feature, and output the second service answer data on a question-and-answer service device disposed in the secondary area.
7. An electronic device, characterized in that: The electronic device (600) comprises a processor (601), a memory (605), a user interface (603) and a network interface (604), wherein the memory (605) is used to store instructions, the user interface (603) and the network interface (604) are used to communicate with other devices, and the processor (601) is used to execute the instructions stored in the memory (605) so that the electronic device (600) executes the method according to any one of claims 1 to 5.
8. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores instructions, and when the instructions are executed, the method according to any one of claims 1 to 5 is performed.
