CN115203365A - Social event processing method applied to comprehensive treatment field - Google Patents
Social event processing method applied to comprehensive treatment field Download PDFInfo
- Publication number
- CN115203365A CN115203365A CN202210738718.5A CN202210738718A CN115203365A CN 115203365 A CN115203365 A CN 115203365A CN 202210738718 A CN202210738718 A CN 202210738718A CN 115203365 A CN115203365 A CN 115203365A
- Authority
- CN
- China
- Prior art keywords
- event
- social
- management
- component
- class
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000003672 processing method Methods 0.000 title claims abstract description 24
- 238000012545 processing Methods 0.000 claims abstract description 51
- 238000000034 method Methods 0.000 claims abstract description 41
- 238000013145 classification model Methods 0.000 claims abstract description 19
- 238000004519 manufacturing process Methods 0.000 claims abstract 2
- 239000013598 vector Substances 0.000 claims description 27
- 238000007635 classification algorithm Methods 0.000 claims description 12
- 238000012360 testing method Methods 0.000 claims description 12
- 230000004913 activation Effects 0.000 claims description 11
- 238000012549 training Methods 0.000 claims description 11
- 238000011176 pooling Methods 0.000 claims description 10
- 230000004927 fusion Effects 0.000 claims description 8
- 238000004364 calculation method Methods 0.000 claims description 5
- 239000000284 extract Substances 0.000 claims description 5
- 238000009430 construction management Methods 0.000 claims description 3
- 238000000605 extraction Methods 0.000 claims description 3
- 239000011159 matrix material Substances 0.000 claims description 3
- 238000011156 evaluation Methods 0.000 claims description 2
- 238000012706 support-vector machine Methods 0.000 claims 2
- 230000008569 process Effects 0.000 description 13
- 238000004422 calculation algorithm Methods 0.000 description 6
- 238000011161 development Methods 0.000 description 4
- 238000004891 communication Methods 0.000 description 3
- 238000013461 design Methods 0.000 description 3
- 230000006399 behavior Effects 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 238000007792 addition Methods 0.000 description 1
- 230000002349 favourable effect Effects 0.000 description 1
- 239000000463 material Substances 0.000 description 1
- 239000000203 mixture Substances 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000003032 molecular docking Methods 0.000 description 1
- 230000004044 response Effects 0.000 description 1
- 238000000926 separation method Methods 0.000 description 1
- 238000005728 strengthening Methods 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
- XLYOFNOQVPJJNP-UHFFFAOYSA-N water Substances O XLYOFNOQVPJJNP-UHFFFAOYSA-N 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/30—Information retrieval; Database structures therefor; File system structures therefor of unstructured textual data
- G06F16/33—Querying
- G06F16/3331—Query processing
- G06F16/334—Query execution
- G06F16/3344—Query execution using natural language analysis
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/30—Information retrieval; Database structures therefor; File system structures therefor of unstructured textual data
- G06F16/33—Querying
- G06F16/335—Filtering based on additional data, e.g. user or group profiles
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/30—Information retrieval; Database structures therefor; File system structures therefor of unstructured textual data
- G06F16/35—Clustering; Classification
- G06F16/353—Clustering; Classification into predefined classes
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06N—COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06N3/00—Computing arrangements based on biological models
- G06N3/02—Neural networks
- G06N3/08—Learning methods
- G06N3/084—Backpropagation, e.g. using gradient descent
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- Data Mining & Analysis (AREA)
- Databases & Information Systems (AREA)
- Computational Linguistics (AREA)
- Artificial Intelligence (AREA)
- General Health & Medical Sciences (AREA)
- Evolutionary Computation (AREA)
- Molecular Biology (AREA)
- Computing Systems (AREA)
- Biophysics (AREA)
- Biomedical Technology (AREA)
- Mathematical Physics (AREA)
- Software Systems (AREA)
- Life Sciences & Earth Sciences (AREA)
- Health & Medical Sciences (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
Description
技术领域technical field
本发明涉及社会治理技术领域,具体涉及一种应用于综治领域的社会事件处理方法。The invention relates to the technical field of social governance, in particular to a social event processing method applied to the field of comprehensive governance.
背景技术Background technique
综治领域事件处理流程一般包括事件的接受、处理结果回复、回访和满意度调查,其处理的事件范围囊括基础设施、市容市貌、市场监管、街面治安、小区管理、农村管理等社会方方面面,处理事件的部门有市监、经信、行政执法、保险、通信等部门单位以及燃气、水务、电信、移动等公司,甚至在某些情况下,上报的社会事件需要跨部门协同处理,而多部门协同处理情况下需明确主责部门,由主责部门跟进和督促事件的处理状态。The incident handling process in the field of comprehensive management generally includes the acceptance of incidents, response to handling results, return visits and satisfaction surveys. The scope of incidents handled includes infrastructure, city appearance, market supervision, street security, community management, rural management and other social aspects. , the departments handling incidents include municipal supervisors, economic and information, administrative law enforcement, insurance, communications and other departments and units, as well as gas, water, telecommunications, mobile and other companies, and even in some cases, reported social incidents require cross-departmental coordination, and In the case of multi-department collaborative processing, it is necessary to clarify the main responsible department, and the main responsible department will follow up and supervise the processing status of the incident.
目前,针对各类社会事件的处理存在如下几个问题:At present, the handling of various social events has the following problems:
一、事件上报渠道不通畅,发现问题后不知如何上报;1. The incident reporting channel is not smooth, and I do not know how to report the problem after finding the problem;
二、业务受理、处置流程不规范,各部门各自为战,没有统一的事件指派受理方法,导致事件处理过程中互相推诿,无疾而终的现象频发;2. The business acceptance and disposal procedures are not standardized, each department fights its own way, and there is no unified method for assigning and accepting incidents, which leads to the frequent occurrence of mutual shirk in the process of incident handling and ending without a problem;
三、没有对事件进行分类分级,导致多事件处理时无法搞清事件之间的轻重缓急;3. There is no classification and classification of events, resulting in the inability to clarify the priorities between events when dealing with multiple events;
四、缺乏必要的事件监督与反馈,负责人不清楚事件办理的进度,公众不了解事件的处理结果。4. There is a lack of necessary incident supervision and feedback, the person in charge does not know the progress of the incident handling, and the public does not understand the handling result of the incident.
上述现有技术中社会问题处理解决的方案大多在流程上侧重某一特定环节,、流程也比较简单,没有对事件进行分类、分级、分流,而且现阶段很多相关部门都有自身一套独有的事件采集和处理系统,系统的多样性带来事件的不兼容问题,这影响到问题解决的实时性,从而降低了社会事件处理的效率。Most of the solutions for dealing with social problems in the above-mentioned existing technologies focus on a specific link in the process, and the process is relatively simple, without classifying, grading, and diverting events, and at this stage, many relevant departments have their own unique set of procedures. The diversity of the system brings the incompatibility of events, which affects the real-time problem solving and reduces the efficiency of social event processing.
发明内容SUMMARY OF THE INVENTION
本发明的目的是针对上述问题,提供一种设计合理、处理效率高的一种应用于综治领域的社会事件处理方法。The purpose of the present invention is to address the above problems, and provide a social event processing method applied in the field of comprehensive treatment with reasonable design and high processing efficiency.
为达到上述目的,本发明采用了下列技术方案:一种应用于综治领域的社会事件处理方法,其特征在于,本方法具体包括以下步骤:In order to achieve the above object, the present invention adopts the following technical solutions: a social event processing method applied to the comprehensive treatment field, characterized in that the method specifically comprises the following steps:
S1、采用RE2模型上报事件内容并与案例库中的事件内容文本进行相似性匹配,满足阈值匹配条件的事件,参照案例库匹配的事件进入S3进行分派处理;通过RE2模型进行上报事件并与案例库中的案例对性对比分配,从而判断事件类别,能够有效提高数据准确性。S1. Use the RE2 model to report the event content and perform similarity matching with the event content text in the case database. For events that meet the threshold matching conditions, refer to the events matched by the case database and enter S3 for dispatch processing; report the event through the RE2 model and match the case with the case. Cases in the database are assigned by comparison and comparison, so as to determine the event category, which can effectively improve the accuracy of data.
S2、不满足阈值匹配条件的事件,根据一级部件/事件开放式分类模型,即Open-set Text Classification模型进行识别;S2. Events that do not meet the threshold matching conditions are identified according to the first-level component/event open classification model, that is, the Open-set Text Classification model;
S3、来自S1中事件或者S2中判定为一级部件/事件类的事件,传输至事件受理中心,制作接入事件的统一接口及数据结构;统一接口和数据结构,可以使社会事件的接收形成统一,便于管理。S3. Events from events in S1 or events determined as first-level components/events in S2 are transmitted to the event acceptance center to create a unified interface and data structure for accessing events; the unified interface and data structure can enable the reception of social events to form Unified and easy to manage.
S4、根据当前事件的一级部件/事件类别,从二级部件/事件管理画像库中调出当前一级部件/事件类类别下的所有二级部件/ 事件管理画像,采用RE2模型检测当前事件内容与二级部件/事件管理中的问题描述文本相似度;利用RE2模型对接收的事件与二级部件/事件管理画像库中的画像进行问题描述文本相似度比对,确保事件划分的准确性。S4. According to the primary component/event category of the current event, call up all secondary components/event management portraits under the current primary component/event category from the secondary component/event management portrait library, and use the RE2 model to detect the current event The similarity between the content and the problem description text in the secondary component/event management; the RE2 model is used to compare the similarity of the problem description text between the received event and the portrait in the secondary component/event management portrait library to ensure the accuracy of event division .
S5、为事件创建虚拟网络,并根据二级部件/事件管理画像,将责任部门加入到网格中作为网格成员,并根据二分类算法模型判断当前事件是否为民生事件,如果属于民生事件则采用命名实体抽取方式从当前事件中抽取当事人信息,并加入到虚拟网格中;S5. Create a virtual network for the event, and according to the secondary component/event management portrait, add the responsible department to the grid as a grid member, and judge whether the current event is a people's livelihood event according to the two-class algorithm model, and if it is a people's livelihood event, then Extract the party information from the current event by means of named entity extraction and add it to the virtual grid;
S6、对事件处理结果回访和满意度调查。满意度调查有利于优化社会事件处理的方式,并且存储满意度高的社会事件处理方式,便于参照。S6. Return visit and satisfaction survey on the event processing results. Satisfaction survey is conducive to optimizing the way of handling social events, and storing the way of handling social events with high satisfaction is convenient for reference.
在上述的一种应用于综治领域的社会事件处理方法中,在步骤S1中,RE2模型的建立具体包括以下步骤:In the above-mentioned social event processing method applied in the field of comprehensive treatment, in step S1, the establishment of the RE2 model specifically includes the following steps:
S11、输入包括当前事件event1和案例库,对于案例库的每个事件内容event2执行下列步骤:S11. The input includes the current event event1 and the case library, and the following steps are performed for each event content event2 of the case library:
S12、将文本event1和event2转成embedding形式的向量;S12. Convert the text event1 and event2 into vectors in the form of embedding;
S13、将embedding向量序列送入3个block块进行连续处理,每个block块都具有相同的结构,均由encoder层、alignment 层和fusion层组成,encoder编码层计算序列的上下文特征, alignment对齐层对文本event1和event2进行相关性特征计算, fusion融合层的输出为下一个block块的输入或者pooling池化层的输入;S13. Send the embedding vector sequence into 3 blocks for continuous processing. Each block has the same structure and consists of an encoder layer, an alignment layer and a fusion layer. The encoder encoding layer calculates the context features of the sequence, and the alignment layer The correlation feature calculation is performed on the text event1 and event2, and the output of the fusion fusion layer is the input of the next block block or the input of the pooling pooling layer;
S14、pooling池化层将block块输出的结果转成固定长度的向量;S14. The pooling pooling layer converts the output result of the block block into a fixed-length vector;
S15、event1和event2计算特征后,在预测层构建一个二分类模型,类别0表示event1和event2不相似,类别1表示event1 和event2相似。S15, after calculating the features of event1 and event2, a binary classification model is constructed in the prediction layer. Category 0 indicates that event1 and event2 are not similar, and category 1 indicates that event1 and event2 are similar.
在上述的一种应用于综治领域的社会事件处理方法中,在步骤S2中,一级部件/事件开放式分类模型中的一级部件类别有5 个,其分别为:公共设施、道路交通设施、市容环境实施、园林绿化设施和扩展部件;一级事件类别有10个,其分别为:市容环境、宣传广告、施工管理、街面秩序、街面治安、市场监管、突发事件、小区管理、农村管理和扩展事件,且二级部件/事件类别总数为235-245个;为二级部件/事件分别建立二级部件/事件管理画像库,二级部件/事件管理画像库内容包括:所属一级部件/ 事件类别、责任部门、问题描述一级处置要求。In the above-mentioned social event processing method applied in the field of comprehensive treatment, in step S2, there are 5 first-level component categories in the first-level component/event open classification model, which are: public facilities, road traffic Facilities, city appearance and environment implementation, landscaping facilities and expansion components; there are 10 first-level event categories, which are: city appearance and environment, publicity and advertising, construction management, street order, street security, market supervision, emergencies, community Management, rural management and expansion events, and the total number of secondary components/event categories is 235-245; the secondary component/event management portrait library is established for the secondary components/events respectively. The content of the secondary component/event management portrait library includes: First-level component/event category, responsible department, problem description First-level disposal requirements.
在上述的一种应用于综治领域的社会事件处理方法中,在步骤S3中,通过Open-set Text Classification算法建立一级部件/事件分类模型,一级部件/事件分类模型的类别数为12+1,12 为意义明确且固定的分类类别,其包括上述10个一级事件类别及 5个一级部件类别,其中,1为开放类,其包括新的、潜在的部件 /事件类;统一接口及数据结构包括统一的接口请求方式、数据加密方式、部门区域编码以及回调方式。In the above-mentioned social event processing method applied to the field of comprehensive treatment, in step S3, a first-level component/event classification model is established through the Open-set Text Classification algorithm, and the number of categories of the first-level component/event classification model is 12 +1,12 is a well-defined and fixed classification category, which includes the above-mentioned 10 first-level event categories and 5 first-level component categories, of which 1 is an open category, which includes new, potential component/event categories; unified The interface and data structure include unified interface request method, data encryption method, department area code and callback method.
在上述的一种应用于综治领域的社会事件处理方法中,Open-set TextClassification算法基于CNN搭建,且在进行测试时,CNN最后一层抽取输入类的语句特征,得到Activation Vector即AV,然后计算每个测试样例的Activation Vector到每个已知类距离最近的前k个距离值,并把这前k个样本的Activation Vector记为k-ClassActivation Vectors即k-CAV,计算测试样例AV与k-CAV距离,每个训练类的k个概率值之和记为total closed set probability,最后计算OSP=1-total closed set probability,用所有训练类最大的total closed set probability与OSP比较从而确定该测试类是未知类或已知类。In the above-mentioned social event processing method applied in the field of comprehensive treatment, the Open-set TextClassification algorithm is built based on CNN, and during the test, the last layer of CNN extracts the sentence features of the input class to obtain the Activation Vector or AV, and then Calculate the first k distance values from the Activation Vector of each test sample to each known class, and record the Activation Vector of the first k samples as k-ClassActivation Vectors or k-CAV, and calculate the test sample AV The distance from k-CAV, the sum of k probability values of each training class is recorded as total closed set probability, and finally OSP=1-total closed set probability is calculated, and the maximum total closed set probability of all training classes is compared with OSP to determine The test class is an unknown class or a known class.
在上述的一种应用于综治领域的社会事件处理方法中,在步骤S4中,满足最大阈值条件的画像的责任部门即为该事件的推荐处理部门,如果无法满足阈值条件则人工分派,工作人员可判定是否新建该类事件二级部件/事件管理画像。In the above-mentioned social event processing method applied in the field of comprehensive treatment, in step S4, the responsible department of the portrait that satisfies the maximum threshold condition is the recommended processing department for the event. Personnel can determine whether to create a secondary component/event management portrait for this type of event.
在上述的一种应用于综治领域的社会事件处理方法中,在步骤S5中,二分类算法模型的建立具体包括以下步骤:In the above-mentioned social event processing method applied to the field of comprehensive treatment, in step S5, the establishment of the two-classification algorithm model specifically includes the following steps:
S51、除事件文本中文字信息以外的内容形成分类训练语料集 S,并人工标注语料集S的预测变量,记yi=+1表示民生事件,yi=-1表示非民生事件;S51, the content other than the text information in the event text forms a classification training corpus S, and manually annotates the predictor variables of the corpus S, denoting that y i =+1 represents a people's livelihood event, and y i =-1 represents a non-people's livelihood event;
S52、将句子集合S按照8∶2分为Strain和Stest,对于Strain 和Stest中的每个句子分别按照下列公式计算: S52. Divide the sentence set S into Strain and Stest according to 8:2, and calculate each sentence in Strain and Stest according to the following formula:
S53、将Strain中的所有句向量组合得到矩阵X,通过 TruncatedSVD计算X的第一主成分u;S53. Combine all sentence vectors in Strain to obtain a matrix X, and calculate the first principal component u of X by TruncatedSVD;
S54、将Strain和Stest中的每个句向量Vs执行以下计算: Vs=Vs-u*uT*vs;S54, perform the following calculation on each sentence vector Vs in Strain and Stest: V s =V s -u*u T *v s ;
S55、对于和其中yi∈{+1,-1},且 i∈(1,2,…,m)∪(1,2,…,n),通过支持向量机SVM分类算法和贝叶斯参数优化器训练并评估模型。S55, for and where y i ∈ {+1, -1}, and i ∈ (1, 2,…,m)∪(1,2,…,n), trained by SVM classification algorithm and Bayesian parameter optimizer and evaluate the model.
在上述的一种应用于综治领域的社会事件处理方法中,在步骤S6中,满意度调查的结果分为:非常满意、满意、基本满意、不满意以及非常不满意,将满意度结果为非常满意以及满意的事件纳入事件处理案例库中,未来出现的事件根据事件处理案例库的历史数据向用户快速推荐相关协同部门及处理流程。In the above-mentioned social event processing method applied in the field of comprehensive treatment, in step S6, the results of the satisfaction survey are divided into: very satisfied, satisfied, basically satisfied, dissatisfied and very dissatisfied, and the satisfaction result is Very satisfied and satisfied events are included in the event processing case library, and future events will quickly recommend relevant collaborative departments and processing procedures to users based on the historical data of the event processing case library.
在上述的一种应用于综治领域的社会事件处理方法中,事件受理中心包括市民服务热线、信访以及其它相关行业管理信息系统的事件来源,规范可接入事件的数据结构,同时允许接收基础字段外的额外字段并提供了统一的方式将事件处理过程进行回调。提供多样化的社会事件受理方式,便于社会事件的及时反馈以及可供各个来源同步处理信息。In the above-mentioned social incident processing method applied in the field of comprehensive treatment, the incident acceptance center includes the citizen service hotline, petition and other relevant industry management information system incident sources, regulates the data structure of accessible incidents, and allows receiving basic The extra field outside the field and provides a unified way to call back the event handling process. Provide a variety of social incident acceptance methods, which facilitates timely feedback of social incidents and enables various sources to process information synchronously.
在上述的一种应用于综治领域的社会事件处理方法中,虚拟网络将事件的第一负责人或负责单位设置为网格长,随着社会事件流转以及处理部门人员的增加,网格自动增长,由网格长负责协调相关资源并跟踪事件的最终解决。对于涉及民生问题的事件,将事件相关当事人加入到虚拟网格中,通过PC端、移动端的方式了解并监督整个事件的进展情况,并在事件解决后进行评价。In the above-mentioned social event processing method applied in the field of comprehensive governance, the virtual network sets the first person in charge of the event or the responsible unit as the grid length. With the flow of social events and the increase of personnel in the processing department, the grid automatically Growth, the grid leader is responsible for coordinating related resources and tracking the eventual resolution of the incident. For incidents involving people's livelihood issues, the parties involved in the incident are added to the virtual grid to understand and monitor the progress of the entire incident through PC and mobile terminals, and evaluate after the incident is resolved.
与现有的技术相比,本发明的优点在于:设计合理、社会事件处理效率高,并且强化了对需要多部门协同解决的社会事件问题的牵头协调,定义了城市部件、事件二级分类体系,定义了小类的部件、事件管理画像,并且基于RE2和人工分派相结合的受理部门推荐方法;建立了事件受理中心,用于接受来自不同部门系统的事件,同时作为基层系统在申请上级协调资源时的通道;设计了虚拟网格和指挥室和两个概念,将事件负责人以及民生事件的当事人作为网格成员,针对需要跨部门协同处理的事件,发起一个在线指挥室,邀请相关部门进入指挥室进行多跨协同处理;根据处理结果回访和满意度调查,将好评事件的处理过程保存进入案例模型库,当未来出现的事件会根据案例库的历史数据向用户快速推荐相关协同部门及处理流程,有效提高了社会事件的处理效率。Compared with the existing technology, the present invention has the advantages of reasonable design, high efficiency of social event processing, and strengthening the lead coordination of social event problems that need to be solved collaboratively by multiple departments, and defines a secondary classification system for urban components and events. , defines the components and event management portraits of sub-categories, and recommends methods based on the combination of RE2 and manual assignment; an event acceptance center is established to accept events from different departmental systems, and at the same time as a grass-roots system to coordinate with higher-level applications The channel for resources; two concepts, virtual grid and command room, are designed, and the person in charge of the incident and the people involved in the people's livelihood incident are regarded as grid members. For the events that need to be handled collaboratively across departments, an online command room is launched and the relevant departments are invited. Enter the command room for multi-span collaborative processing; according to the return visit and satisfaction survey of the processing results, save the processing process of the favorable event into the case model database, and when the event occurs in the future, it will quickly recommend the relevant collaborative departments to users based on the historical data of the case database. The processing flow effectively improves the processing efficiency of social events.
附图说明Description of drawings
图1是本发明的流程图。Figure 1 is a flow chart of the present invention.
具体实施方式Detailed ways
下面结合附图和具体实施方式对本发明做进一步详细的说明。The present invention will be described in further detail below with reference to the accompanying drawings and specific embodiments.
如图1所示,一种应用于综治领域的社会事件处理方法,本方法具体包括以下步骤:As shown in Figure 1, a social event processing method applied in the field of comprehensive treatment, the method specifically includes the following steps:
S1、采用RE2模型上报事件内容并与案例库中的事件内容文本进行相似性匹配,满足阈值匹配条件的事件,参照案例库匹配的事件进入S3进行分派处理;S1. Use the RE2 model to report the event content and perform similarity matching with the event content text in the case library. Events that meet the threshold matching conditions enter S3 for dispatch processing with reference to the events matched by the case library;
S2、不满足阈值匹配条件的事件,根据一级部件/事件开放式分类模型,即Open-set Text Classification模型进行识别;S2. Events that do not meet the threshold matching conditions are identified according to the first-level component/event open classification model, that is, the Open-set Text Classification model;
S3、来自S1中事件或者S2中判定为一级部件/事件类的事件,传输至事件受理中心,制作接入事件的统一接口及数据结构;S3. The event from the event in S1 or the event determined as a first-level component/event class in S2 is transmitted to the event acceptance center, and a unified interface and data structure for accessing the event are created;
S4、根据当前事件的一级部件/事件类别,从二级部件/事件管理画像库中调出当前一级部件/事件类类别下的所有二级部件/ 事件管理画像,采用RE2模型检测当前事件内容与二级部件/事件管理中的问题描述文本相似度;S4. According to the primary component/event category of the current event, call up all secondary components/event management portraits under the current primary component/event category from the secondary component/event management portrait library, and use the RE2 model to detect the current event Similarity between content and problem description text in secondary component/incident management;
S5、为事件创建虚拟网络,并根据二级部件/事件管理画像,将责任部门加入到网格中作为网格成员,并根据二分类算法模型判断当前事件是否为民生事件,如果属于民生事件则采用命名实体抽取方式从当前事件中抽取当事人信息,并加入到虚拟网格中;S5. Create a virtual network for the event, and according to the secondary component/event management portrait, add the responsible department to the grid as a grid member, and judge whether the current event is a people's livelihood event according to the two-class algorithm model, and if it is a people's livelihood event, then Extract the party information from the current event by means of named entity extraction and add it to the virtual grid;
S6、对事件处理结果回访和满意度调查。S6. Return visit and satisfaction survey on the event processing results.
在步骤S1中,RE2模型的建立具体包括以下步骤:In step S1, the establishment of the RE2 model specifically includes the following steps:
S11、输入包括当前事件event1和案例库,对于案例库的每个事件内容event2执行下列步骤:S11. The input includes the current event event1 and the case library, and the following steps are performed for each event content event2 of the case library:
S12、将文本event1和event2转成embedding形式的向量;S12. Convert the text event1 and event2 into vectors in the form of embedding;
S13、将embedding向量序列送入3个block块进行连续处理,每个block块都具有相同的结构,均由encoder层、alignment 层和fusion层组成,encoder编码层计算序列的上下文特征, alignment对齐层对文本event1和event2进行相关性特征计算, fusion融合层的输出为下一个block块的输入或者pooling池化层的输入;S13. Send the embedding vector sequence into 3 blocks for continuous processing. Each block has the same structure and consists of an encoder layer, an alignment layer and a fusion layer. The encoder encoding layer calculates the context features of the sequence, and the alignment layer The correlation feature calculation is performed on the text event1 and event2, and the output of the fusion fusion layer is the input of the next block block or the input of the pooling pooling layer;
S14、pooling池化层将block块输出的结果转成固定长度的向量;S14. The pooling pooling layer converts the output result of the block block into a fixed-length vector;
S15、event1和event2计算特征后,在预测层构建一个二分类模型,类别0表示event1和event2不相似,类别1表示event1 和event2相似。S15, after calculating the features of event1 and event2, a binary classification model is constructed in the prediction layer. Category 0 indicates that event1 and event2 are not similar, and category 1 indicates that event1 and event2 are similar.
在步骤S2中,一级部件/事件开放式分类模型中的一级部件类别有5个,其分别为:公共设施、道路交通设施、市容环境实施、园林绿化设施和扩展部件;一级事件类别有10个,其分别为:市容环境、宣传广告、施工管理、街面秩序、街面治安、市场监管、突发事件、小区管理、农村管理和扩展事件,且二级部件/ 事件类别总数为235-245个;为二级部件/事件分别建立二级部件 /事件管理画像库,二级部件/事件管理画像库内容包括:所属一级部件/事件类别、责任部门、问题描述一级处置要求。一级部件包括城市管理公共区域内的城市基础设施,一级部件包括两个层级,第一个层级为大类,第二个层级为小类,每个大类均由若干小类组成;且一级事件与人的行为活动有关,或因自然因素导致城市市容环境和秩序受到影响或破坏的现象和行为,一级事件类别包括两个大类和小类两个层级,其中大类由若干小类组成。In step S2, there are 5 first-level component categories in the first-level component/event open classification model, which are: public facilities, road traffic facilities, city appearance environment implementation, landscaping facilities, and extended components; first-level event categories There are 10, which are: city appearance and environment, publicity and advertising, construction management, street order, street security, market supervision, emergencies, community management, rural management and expansion events, and the total number of secondary components/event categories is 235-245; establish a second-level component/event management portrait library for the second-level component/event. The content of the second-level component/event management portrait library includes: the first-level component/event category, responsible department, and problem description. First-level disposal requirements . The first-level components include urban infrastructure in the public area of urban management, and the first-level components include two levels, the first level is a major category, and the second level is a sub-category, each major category is composed of several sub-categories; and The first-level event is related to human behaviors, or the phenomenon and behavior that the urban appearance, environment and order are affected or destroyed due to natural factors. Small class composition.
在步骤S3中,通过Open-set Text Classification算法建立一级部件/事件分类模型,一级部件/事件分类模型的类别数为 12+1,12为意义明确且固定的分类类别,其包括上述10个一级事件类别及5个一级部件类别,其中,1为开放类,其包括新的、潜在的部件/事件类;统一接口及数据结构包括统一的接口请求方式、数据加密方式、部门区域编码以及回调方式。随着城市发展规模的不断扩大,新生事物的不断出现,部分管理内容要进行扩展和完善,扩展的原则是:按照大类不可变、小类可扩展的方法,新增的部件和事件添加在扩展部件和扩展事件类别下。In step S3, a first-level component/event classification model is established by the Open-set Text Classification algorithm. The number of categories of the first-level component/event classification model is 12+1, and 12 is a clear and fixed classification category, which includes the above 10 1 first-level event category and 5 first-level component categories, of which 1 is an open category, which includes new and potential component/event categories; unified interface and data structure includes unified interface request method, data encryption method, department area Encoding and callback methods. With the continuous expansion of the scale of urban development and the emergence of new things, part of the management content needs to be expanded and improved. The principle of expansion is: according to the method of immutable major categories and extensible minor categories, new components and events will be added in the under the Extended Parts and Extended Events categories.
进一步地,Open-set Text Classification算法基于CNN搭建,且在进行测试时,CNN最后一层抽取输入类的语句特征,得到Activation Vector即AV,然后计算每个测试样例的 Activation Vector到每个已知类距离最近的前k个距离值,并把这前k个样本的Activation Vector记为k-Class Activation Vectors即k-CAV,计算测试样例AV与k-CAV距离,每个训练类的k个概率值之和记为total closed set probability,最后计算OSP=1-total closed set probability,用所有训练类最大的total closed set probability与OSP比较从而确定该测试类是未知类或已知类。Further, the Open-set Text Classification algorithm is based on CNN, and when testing, the last layer of CNN extracts the sentence features of the input class to obtain the Activation Vector, ie AV, and then calculates the Activation Vector of each test sample to each Know the first k distance values with the closest class distance, and record the Activation Vector of the first k samples as k-Class Activation Vectors, namely k-CAV, calculate the distance between the test sample AV and k-CAV, and the k of each training class. The sum of the probability values is recorded as the total closed set probability. Finally, OSP=1-total closed set probability is calculated, and the maximum total closed set probability of all training classes is compared with the OSP to determine whether the test class is an unknown class or a known class.
在步骤S4中,满足最大阈值条件的画像的责任部门即为该事件的推荐处理部门,如果无法满足阈值条件则人工分派,工作人员可判定是否新建该类事件二级部件/事件管理画像。In step S4, the responsible department for the portrait that satisfies the maximum threshold condition is the recommended processing department for the event. If the threshold condition cannot be met, it will be manually assigned, and the staff can determine whether to create a secondary component/event management portrait for this type of event.
在步骤S5中,二分类算法模型的建立具体包括以下步骤:In step S5, the establishment of the binary classification algorithm model specifically includes the following steps:
S51、除事件文本中文字信息以外的内容形成分类训练语料集 S,并人工标注语料集S的预测变量,记yi=+1表示民生事件, yi=-1表示非民生事件;S51. The content other than the text information in the event text forms a classification training corpus S, and manually annotates the predictor variables of the corpus S, denoting that y i =+1 represents a people's livelihood event, and y i =-1 represents a non-people's livelihood event;
S52、将句子集合S按照8∶2分为Strain和Stest,对于Strain 和Stest中的每个句子分别按照下列公式计算: S52. Divide the sentence set S into Strain and Stest according to 8:2, and calculate each sentence in Strain and Stest according to the following formula:
S53、将Strain中的所有句向量组合得到矩阵X,通过 TruncatedSVD计算X的第一主成分u;S53. Combine all sentence vectors in Strain to obtain a matrix X, and calculate the first principal component u of X by TruncatedSVD;
S54、将Strain和Stest中的每个句向量Vs执行以下计算: vs=vs-u*uT*vs;S54, perform the following calculation on each sentence vector Vs in Strain and Stest: v s =v s -u*u T *v s ;
S55、对于和其中yi∈{+1,-1},且i∈(1,2,…,m)∪(1,2,…,n),通过支持向量机SVM分类算法和贝叶斯参数优化器训练并评估模型。此外,本发明提供一种扩展方法,允许授权的第三方系统接入事件处理方法中,便于不同层级的处理部门、不同的事件类型定制化地丰富本部门的处理流程。为实现该目的,本发明设计了一套扩展接口及接入认证方案:S55, for and where y i ∈ {+1, -1}, and i ∈ (1, 2,…,m)∪(1,2,…,n), trained by SVM classification algorithm and Bayesian parameter optimizer and evaluate the model. In addition, the present invention provides an extension method that allows an authorized third-party system to access the event processing method, which is convenient for processing departments at different levels and different event types to customize and enrich the processing flow of the department. In order to achieve this purpose, the present invention designs a set of extension interface and access authentication scheme:
1.系统按照统一的界面风格、统一的接口调用、统一的权限控制这三个统一提供框架规范,第三方依据规范开发并对接即可实现将自身业务系统进行无缝接入;1. The system provides framework specifications in accordance with the unified interface style, unified interface calling, and unified authority control. Third parties can seamlessly access their own business systems by developing and docking according to the specifications;
2.系统采用前后端分离的形式,前端提供js脚本插件,第三方页面上引入插件后,将自动规范页面样式、插入埋点,并接入后端接口;开发完的前端页面嵌入到本系统后,在打开过程中可以获取动态的登录token;2. The system adopts the form of front-end and back-end separation. The front-end provides js script plug-ins. After the plug-in is introduced on the third-party page, it will automatically standardize the page style, insert the embedded point, and access the back-end interface; the developed front-end page is embedded into the system After that, a dynamic login token can be obtained during the opening process;
3.系统提供常用多种开发语言的后端sdk,将安全加密逻辑以及开放的接口进行封装,第三方只需配置主机、key和秘钥皆可以方便的接入并调用本系统提供的接口;第三方的后端根据前端拿到的动态token可以实时获取当前登录用户、权限、业务信息,从而继续第三方内部自有的业务流程;3. The system provides back-end sdk of commonly used multiple development languages, encapsulates the security encryption logic and open interface, and the third party only needs to configure the host, key and secret key to easily access and call the interface provided by the system; The back-end of the third party can obtain the current logged-in user, permissions, and business information in real time according to the dynamic token obtained by the front-end, so as to continue the internal business process of the third party;
4.提供加密逻辑说明,供未提供sdk支持的开发语言自行开发接入;4. Provide encryption logic descriptions for development and access by development languages that do not provide sdk support;
基于以上方案,本发明既实现了高度的扩展灵活性,又拥有比较严格的规范性。Based on the above solutions, the present invention not only achieves high expansion flexibility, but also has relatively strict normativeness.
详细地,在步骤S6中,满意度调查的结果分为:非常满意、满意、基本满意、不满意以及非常不满意,将满意度结果为非常满意以及满意的事件纳入事件处理案例库中,未来出现的事件根据事件处理案例库的历史数据向用户快速推荐相关协同部门及处理流程。协助用户快速创建有效的指挥室,尽快解决问题;且指挥室针对跨部门或者跨行政区域的处理事件,邀请同一行政区域或者不同行政区域的责任单位建立多部门协同处理指挥中心,减少扯皮、推诿现象,推进社会事件的顺利解决,提高社会事件的处理效率;经指挥室办理完结的每个社会事件,系统会自动分类,结合指挥室中的协同部门处理过程保存进入案例库,当未来出现的事件会使用推荐算法根据案例库的历史数据向用户快速推荐相关协同部门及处理流程,协助用户快速创建有效的指挥室。In detail, in step S6, the results of the satisfaction survey are divided into: very satisfied, satisfied, basically satisfied, dissatisfied, and very dissatisfied, and events whose satisfaction results are very satisfied and satisfied are included in the event handling case database. In the event of an event, it can quickly recommend relevant collaborative departments and processing procedures to users based on the historical data of the event processing case library. Assist users to quickly create an effective command room and solve problems as soon as possible; and the command room invites responsible units in the same administrative region or different administrative regions to establish a multi-department collaborative processing command center for cross-department or cross-administrative area processing events to reduce wrangling and shirk. phenomenon, promote the smooth resolution of social incidents, and improve the processing efficiency of social incidents; each social incident handled by the command room will be automatically classified by the system, and saved into the case database in combination with the processing process of the collaborative departments in the command room. The event will use the recommendation algorithm to quickly recommend relevant collaborative departments and processing procedures to users based on the historical data of the case library, helping users to quickly create an effective command room.
更进一步地,事件受理中心包括市民服务热线、信访以及其它相关行业管理信息系统的事件来源,规范可接入事件的数据结构,同时允许接收基础字段外的额外字段并提供了统一的方式将事件处理过程进行回调。Furthermore, the event acceptance center includes the citizen service hotline, petition and other related industry management information system event sources, standardizes the data structure of accessible events, allows to receive additional fields beyond the basic fields, and provides a unified way to transfer events. The processing procedure is called back.
优选地,虚拟网络将事件的第一负责人或负责单位设置为网格长,随着事件流转以及处理部门人员的增加,网格自动增长,由网格长负责协调相关资源并跟踪事件的最终解决。对于涉及民生问题的社会事件,将该社会事件相关当事人加入到虚拟网格中,通过PC端、移动端的方式了解并监督整个事件的进展情况,并在事件解决后进行评价。Preferably, the virtual network sets the first person in charge of the event or the unit in charge as the grid leader. With the flow of events and the increase of processing department personnel, the grid automatically grows, and the grid leader is responsible for coordinating related resources and tracking the eventual finality solve. For social events involving people's livelihood issues, the relevant parties of the social event are added to the virtual grid, and the progress of the entire event can be understood and monitored through the PC terminal and mobile terminal, and the evaluation will be made after the event is resolved.
综上所述,本实施例的原理在于:通过建设具有接入事件的统一接口及数据结构的事件受理中心对社会事件进行接入,对该社会事件的处理部门进行智能推荐,方便工作人员快速分配,且实际分派结果会作为训练材料对推荐算法进行反向训练,提升推荐的精准度;To sum up, the principle of this embodiment is: by building an event acceptance center with a unified interface and data structure for accessing events to access social events, and intelligently recommend the processing department of the social event, which is convenient for staff to quickly distribution, and the actual distribution results will be used as training materials for reverse training of the recommendation algorithm to improve the accuracy of the recommendation;
其次,在社会事件处理过程中建立虚拟网络,并根据需要发起在线指挥室,申请多部门协同,相关人员可以通过PC端或移动端参与到整个事件的协同处理过程当中,最终处理结果将实时反馈给事件处理流程线上的所有相关人员,为满足指挥室内沟通的实时性、高效性,满足视频、语音协同沟通的顺畅,搭建为指挥室专用的硬件服务器;Secondly, establish a virtual network in the process of social event processing, and initiate an online command room as required to apply for multi-department collaboration. Relevant personnel can participate in the collaborative processing process of the entire event through the PC terminal or mobile terminal, and the final processing result will be fed back in real time. For all relevant personnel on the incident processing process line, in order to meet the real-time and efficient communication in the command room, and to meet the smooth video and voice collaborative communication, build a dedicated hardware server for the command room;
最后,社会事件处理完成后进行满意度调查,将满意度结果为非常满意以及满意的事件纳入事件处理案例库中,推荐算法将定期根据新案例进行自动训练,生成新的模型,提升事件处理方式的推荐精准度,未来出现的社会事件根据事件处理案例库的历史数据向用户快速推荐相关协同部门及处理流程。Finally, after the social event processing is completed, a satisfaction survey is carried out, and the events with the satisfaction result of being very satisfied and satisfied are included in the event processing case database. The recommendation algorithm will be automatically trained according to new cases on a regular basis, and new models will be generated to improve the event processing method. With the highest recommendation accuracy, social events that appear in the future can quickly recommend relevant collaborative departments and processing procedures to users based on the historical data of the event processing case database.
本文中所描述的具体实施例仅仅是对本发明精神作举例说明。本发明所属技术领域的技术人员可以对所描述的具体实施例做各种各样的修改或补充或采用类似的方式替代,但并不会偏离本发明的精神或者超越所附权利要求书所定义的范围。The specific embodiments described herein are merely illustrative of the spirit of the invention. Those skilled in the art to which the present invention pertains can make various modifications or additions to the described specific embodiments or substitute in similar manners, but will not deviate from the spirit of the present invention or go beyond the definitions of the appended claims range.
Claims (10)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210738718.5A CN115203365A (en) | 2022-06-24 | 2022-06-24 | Social event processing method applied to comprehensive treatment field |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210738718.5A CN115203365A (en) | 2022-06-24 | 2022-06-24 | Social event processing method applied to comprehensive treatment field |
Publications (1)
Publication Number | Publication Date |
---|---|
CN115203365A true CN115203365A (en) | 2022-10-18 |
Family
ID=83577467
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202210738718.5A Pending CN115203365A (en) | 2022-06-24 | 2022-06-24 | Social event processing method applied to comprehensive treatment field |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN115203365A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN116629804A (en) * | 2023-06-06 | 2023-08-22 | 河北华正信息工程有限公司 | Letters, interviews, supervision and tracking management system and management method |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113342978A (en) * | 2021-06-23 | 2021-09-03 | 杭州数梦工场科技有限公司 | City event processing method and device |
CN114357117A (en) * | 2022-01-11 | 2022-04-15 | 平安科技(深圳)有限公司 | Transaction information query method, device, computer equipment and storage medium |
CN114492663A (en) * | 2022-02-15 | 2022-05-13 | 平安国际智慧城市科技股份有限公司 | Intelligent event distribution method, device, equipment and storage medium |
-
2022
- 2022-06-24 CN CN202210738718.5A patent/CN115203365A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113342978A (en) * | 2021-06-23 | 2021-09-03 | 杭州数梦工场科技有限公司 | City event processing method and device |
CN114357117A (en) * | 2022-01-11 | 2022-04-15 | 平安科技(深圳)有限公司 | Transaction information query method, device, computer equipment and storage medium |
CN114492663A (en) * | 2022-02-15 | 2022-05-13 | 平安国际智慧城市科技股份有限公司 | Intelligent event distribution method, device, equipment and storage medium |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN116629804A (en) * | 2023-06-06 | 2023-08-22 | 河北华正信息工程有限公司 | Letters, interviews, supervision and tracking management system and management method |
CN116629804B (en) * | 2023-06-06 | 2024-01-09 | 河北华正信息工程有限公司 | Letters, interviews, supervision and tracking management system and management method |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2021184836A1 (en) | Method and apparatus for training recognition model, device, and readable storage medium | |
Mani et al. | Statistics and data mining techniques for lifetime value modeling | |
CN117745048B (en) | Creative flow management method assisted by artificial intelligence | |
CN111985207B (en) | Access control policy acquisition method and device and electronic equipment | |
CN112541351B (en) | Method and system for dispatching government service heat line work orders in living construction field | |
CN114693317B (en) | A telecommunication fraud security federation detection method integrating homogeneous graph and bipartite graph | |
CN113688490A (en) | Network co-construction sharing processing method, device, equipment and storage medium | |
CN116739408A (en) | Power grid dispatching safety monitoring method and system based on data tag and electronic equipment | |
CN115935245B (en) | Automatic classification and allocation method for government affair hot line cases | |
CN115203365A (en) | Social event processing method applied to comprehensive treatment field | |
CN112256884A (en) | Knowledge graph-based data asset library access method and device | |
CN119293192A (en) | Intelligent dialogue method and related device based on user authority separation | |
Cheng | Decision modeling and evaluation of enterprise digital transformation using data mining | |
CN118691210A (en) | Supply chain material data management method and system | |
CN112348257A (en) | Election prediction method driven by multi-source data fusion and time sequence analysis | |
CN115982646B (en) | Management method and system for multisource test data based on cloud platform | |
CN118427859B (en) | Data transmission method and system of cloud computer | |
Li | Implementation of a community data processing system based on data mining | |
Li et al. | [Retracted] Student Behavior Analysis and Research Model Based on Clustering Technology | |
CN118708223A (en) | Software cost measurement method, device, electronic device and storage medium | |
Globa et al. | Computation of providing services integral quality index | |
CN119150876A (en) | Electric power business interaction session processing method and system based on large language model | |
CN118761751A (en) | Talent information analysis and management method and system based on big data | |
CN118760700A (en) | Data query method, cardinality estimation method, data query model training method, information processing method based on data query model and model training platform | |
CN119807814A (en) | Data analysis and processing method and system based on big data |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |