A data processing method, device, electronic device and storage medium
By calculating and sorting accident and production data in target areas, it solves the problem of inconsistent risk control standards caused by the subjective judgment of wind control personnel in the existing technology, achieves objective assessment of safety risks in multiple areas, and improves the reliability of assessment results. and consistency.
Patent Information
- Application Number
- CN202111531777.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-12-14
- Publication Date
- 2024-09-27
- Estimated Expiration
- 2041-12-14
AI Technical Summary
In the existing technology, wind control personnel subjectively judge regional safety risks based on historical accidents, resulting in inconsistent risk control standards and affecting the objectivity and consistency of risk rankings.
By obtaining data on the number of accidents, accident casualties and production scale in the target area, we can calculate indicators such as accident mortality and fatality rates, sort them according to the size of the indicator types, and calculate the target data on safety development based on the preset weights. Sort regional target data and use unified standards for risk assessment.
It achieves an objective and unified assessment of security risks in multiple areas, reduces interference from human factors, and improves the reliability and consistency of assessment results.
Smart Images

Figure CN114416814B
Abstract
Description
Technical Field
[0001] The present application relates to the field of data processing technology, and in particular to a method, device, electronic device and storage medium for data processing. Background Art
[0002] With the development of science and technology, production safety concerns all walks of life. When managing multiple development areas, it is necessary to determine the safety development situation of each area, so that when the safety development situation in some areas is poor, manual intervention can be carried out in time to reduce the safety risks of these areas through risk control.
[0003] The inventor discovered during research that in the prior art, risk control personnel subjectively judged the safety risks of certain areas based on casualties caused by historical accidents. As a result, when different risk control personnel were involved, the safety risks of each area would be different, resulting in different rankings of safety risks in each area, making it impossible to implement risk control according to a unified standard. Summary of the invention
[0004] In view of this, embodiments of the present application provide a data processing method, device, electronic device, and storage medium to determine security risk rankings of multiple areas.
[0005] In a first aspect, an embodiment of the present application provides a method for data processing, the method comprising:
[0006] Acquire accident data indicating the number of accidents and the number of casualties in the target area and production data indicating the production scale of the target area within a target period;
[0007] According to the accident data and the production data, at least one indicator for representing the accident mortality rate and the accident fatality rate of the target area is calculated; each indicator corresponds to an indicator type; the indicator type is used to represent the safety situation of the target area from different dimensions;
[0008] For each indicator type, according to the size of the indicator of each area in the total area under the indicator type, the arrangement order of multiple indicators corresponding to the indicator type is obtained; the total area includes the target area and at least one other area except the target area;
[0009] Calculate target data for representing the safety development situation of the target area according to the sequence number of each indicator in the target area in the arrangement sequence and the weight preset for each indicator;
[0010] The target data of at least one area in the total area is sorted.
[0011] In a feasible implementation manner, after obtaining accident data indicating the number of accidents and the number of casualties in the target area within the target period and production data indicating the production scale of the target area, the method further includes:
[0012] Performing integrity check on the accident data and the production data to determine whether the data in the accident data and the production data are complete;
[0013] If at least one of the accident data and the production data is incomplete, the accident data and the production data of the target area within a target period are reacquired.
[0014] In a feasible implementation scheme, the integrity check of the accident data and the production data includes:
[0015] Determine whether the accident data includes the following first data: the number of deaths in production safety accidents, the number of deaths in industrial, mining and commercial accidents, the number of production safety accidents, and the number of deaths in first category accidents;
[0016] If at least one of the first data is missing from the accident data, determining that the accident data is incomplete;
[0017] Determine whether the production data includes the following second data: the gross domestic product of the target area, and the number of employees in industry, mining, commerce and trade;
[0018] If at least one type of the second data is missing from the production data, it is determined that the production data is incomplete.
[0019] In a feasible implementation scheme, at least one indicator for representing the accident mortality rate and accident fatality rate of the target area is calculated based on the accident data and the production data, including:
[0020] Determining a first indicator according to the ratio of the number of deaths from the production safety accident to the gross domestic product;
[0021] Determine the second indicator based on the ratio of the number of deaths in industrial, mining, commercial and trade accidents to the number of people employed in industrial, mining, commercial and trade;
[0022] Determining a third indicator according to the ratio of the number of deaths caused by the production safety accident to the number of occurrences of the production safety accident;
[0023] The fourth indicator is determined based on the ratio of the number of deaths in the first type of accidents to the number of deaths in the production safety accidents.
[0024] In a feasible implementation manner, the target data of the target area is calculated according to the sequence number of each indicator in the target area in the arrangement sequence and the weight preset for each indicator, including:
[0025] For each of the indicators, calculate the product of the value of the indicator and the sequence number of the indicator in the arrangement sequence, and use the product as the first value;
[0026] Calculate a sum value obtained by adding the first values corresponding to each of the indicators in the target area, and use the sum value as a second value;
[0027] calculating a product of the number of regions in the total region and the total number of indicator types in the total region, and taking the product as a third value;
[0028] A ratio of the second value to the third value is calculated to use the ratio as the target data.
[0029] In a second aspect, an embodiment of the present application further provides a data processing device, the device comprising:
[0030] A first acquisition unit is used to acquire accident data indicating the number of accidents and the number of casualties in the target area within a target period and production data indicating the production scale of the target area;
[0031] A first calculation unit is used to calculate at least one indicator representing the accident mortality rate and accident fatality rate of the target area according to the accident data and the production data; each indicator corresponds to an indicator type; and the indicator type is used to represent the safety situation of the target area from different dimensions;
[0032] A first sorting unit is used to obtain, for each indicator type, an arrangement order of multiple indicators corresponding to the indicator type according to the size of the indicator of each area in the total area under the indicator type; the total area includes the target area and at least one other area except the target area;
[0033] A second calculation unit, configured to calculate target data representing the safety development situation of the target area according to the sequence number of each indicator in the target area in the arrangement sequence and a weight preset for each indicator;
[0034] The second sorting unit is used to sort the target data of at least one area in the total area.
[0035] In a feasible embodiment, the device further comprises:
[0036] A verification unit is used to obtain accident data indicating the number of accidents and the number of casualties in the target area and production data indicating the production scale of the target area within a target period, and then perform integrity verification on the accident data and the production data to determine whether the data in the accident data and the production data are complete;
[0037] The second acquisition unit is configured to reacquire the accident data and the production data of the target area within a target period if at least one of the accident data and the production data is incomplete.
[0038] In a feasible implementation scheme, the verification unit is used to:
[0039] Determine whether the accident data includes the following first data: the number of deaths in production safety accidents, the number of deaths in industrial, mining and commercial accidents, the number of production safety accidents, and the number of deaths in first category accidents;
[0040] If at least one of the first data is missing from the accident data, determining that the accident data is incomplete;
[0041] Determine whether the production data includes the following second data: the gross domestic product of the target area, and the number of employees in industry, mining, commerce and trade;
[0042] If at least one type of the second data is missing from the production data, it is determined that the production data is incomplete.
[0043] In a feasible implementation manner, the first computing unit is used to:
[0044] Determining a first indicator according to the ratio of the number of deaths from the production safety accident to the gross domestic product;
[0045] Determine the second indicator based on the ratio of the number of deaths in industrial, mining, commercial and trade accidents to the number of people employed in industrial, mining, commercial and trade;
[0046] Determining a third indicator according to the ratio of the number of deaths caused by the production safety accident to the number of occurrences of the production safety accident;
[0047] The fourth indicator is determined based on the ratio of the number of deaths in the first type of accidents to the number of deaths in the production safety accidents.
[0048] In a feasible implementation manner, the second computing unit is used to:
[0049] For each of the indicators, calculate the product of the value of the indicator and the sequence number of the indicator in the arrangement sequence, and use the product as the first value;
[0050] Calculate a sum value obtained by adding the first values corresponding to each of the indicators in the target area, and use the sum value as a second value;
[0051] calculating a product of the number of regions in the total region and the total number of indicator types in the total region, and taking the product as a third value;
[0052] A ratio of the second value to the third value is calculated to use the ratio as the target data.
[0053] In a third aspect, an embodiment of the present application further provides an electronic device, comprising: a processor, a storage medium and a bus, wherein the storage medium stores machine-readable instructions executable by the processor, and when the electronic device is running, the processor communicates with the storage medium through the bus, and the processor executes the machine-readable instructions to perform the steps of the method as described in any one of the first aspects.
[0054] In a fourth aspect, an embodiment of the present application further provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the steps of the method described in any one of the first aspects are executed.
[0055] The embodiments of the present application provide a method, device, electronic device and storage medium for data processing, which obtains accident data representing the number of accidents and the number of casualties in the target area within a target period and production data representing the production scale of the target area; calculates at least one indicator representing the accident mortality rate and accident fatality rate of the target area based on the accident data and the production data; for each indicator type, obtains the arrangement order of multiple indicators corresponding to the indicator type according to the size of the indicator of each area in the total area under the indicator type; calculates the target data representing the safety development situation of the target area according to the sequence number of each indicator in the target area in the arrangement order and the weight preset for each indicator; and sorts the target data of at least one area in the total area. Compared with the scheme in the prior art in which humans subjectively judge the safety development situation of each area, the method provided in the embodiments of the present application adopts a unified standard for calculation and sorting, eliminates the interference of human factors, and the obtained results are more objective.
[0056] In order to make the above-mentioned objects, features and advantages of the present application more obvious and easy to understand, preferred embodiments are specifically cited below and described in detail with reference to the attached drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0057] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the embodiments will be briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present application and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.
[0058] Figure 1 A flow chart of a data processing method provided in an embodiment of the present application is shown.
[0059] Figure 2 A flow chart of a method for verifying data provided in an embodiment of the present application is shown.
[0060] Figure 3 A schematic diagram of the structure of a data processing device provided in an embodiment of the present application is shown.
[0061] Figure 4 A schematic structural diagram of an electronic device provided in an embodiment of the present application is shown. DETAILED DESCRIPTION
[0062] To make the purpose, technical scheme and advantages of the embodiments of the present application clearer, the technical scheme in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. It should be understood that the drawings in the present application only serve the purpose of explanation and description and are not used to limit the scope of protection of the present application. In addition, it should be understood that the schematic drawings are not drawn in real proportion. The flowchart used in this application shows the operations implemented according to some embodiments of the present application. It should be understood that the operations of the flowchart can be implemented out of sequence, and the steps without logical context can be reversed in order or implemented simultaneously. In addition, those skilled in the art can add one or more other operations to the flowchart under the guidance of the content of the present application, or remove one or more operations from the flowchart.
[0063] In addition, the described embodiments are only a part of the embodiments of the present application, rather than all the embodiments. The components of the embodiments of the present application described and shown in the drawings here can be arranged and designed in various configurations. Therefore, the following detailed description of the embodiments of the present application provided in the drawings is not intended to limit the scope of the application claimed for protection, but merely represents the selected embodiments of the present application. Based on the embodiments of the present application, all other embodiments obtained by those skilled in the art without making creative work belong to the scope of protection of the present application.
[0064] It should be noted in advance that the term "comprising" will be used in the embodiments of the present application to indicate the existence of the features declared thereafter, but does not exclude the addition of other features.
[0065] It should be noted in advance that the devices or electronic devices involved in the embodiments of the present application can be executed on a single server or on a server group. The server group can be centralized or distributed. In some embodiments, the server can be local or remote relative to the terminal. For example, the server can access information and / or data stored in a service requester terminal, a service provider terminal, or a database, or any combination thereof via a network. As another example, the server can be directly connected to at least one of the service requester terminal, the service provider terminal, and the database to access the stored information and / or data. In some embodiments, the server can be implemented on a cloud platform; as an example only, the cloud platform can include a private cloud, a public cloud, a hybrid cloud, a community cloud, a distributed cloud, an inter-cloud, a multi-cloud, etc., or any combination thereof.
[0066] Figure 1 A flow chart of a data processing method provided in an embodiment of the present application is shown. Figure 1 As shown, the method comprises the following steps:
[0067] Step 101: Acquire accident data indicating the number of accidents and the number of casualties in a target area within a target period and production data indicating the production scale of the target area.
[0068] Specifically, the target area can be a province, city, county (district), or a specific designated area. Accident data represents data on accidents caused by production activities such as production, processing and manufacturing in the target area during the target time period. Specifically, accident data includes but is not limited to: the number of deaths in production safety accidents, the number of deaths in industrial, mining and commercial accidents, the number of production safety accidents, and the number of deaths in the first category of accidents. The number of deaths in the first category of accidents refers to the sum of the number of deaths in major accidents, the number of deaths in major accidents and the number of deaths in major accidents. Production data represents the output data of production activities such as production, processing and manufacturing in the target area during the target period. Specifically, production data includes but is not limited to: the gross domestic product of the target area, the number of employees in industrial, mining and commercial trade, the unit gross domestic product, and the number of employees in the secondary and tertiary industries. The target period can be adjusted according to actual conditions. The embodiment of the present application does not limit the acquisition channels of accident data and production data, which can be obtained based on the data disclosed by the emergency management department, the data disclosed in the National Economic and Equipment Development Statistical Bulletin, or the data disclosed by the national statistical department, or it can be obtained based on the data reported by each unit or business individual in the target area.
[0069] In actual production operations, the larger the production scale, the greater the possibility of accidents, and the smaller the production scale, the smaller the possibility of accidents; under the same production scale, the more accidents occur in the accident data, the greater the possibility of casualties, and the greater the casualties in the accident data, the more unsafe the production and processing in the area.
[0070] Step 102, based on the accident data and the production data, calculate at least one indicator for representing the accident mortality rate and accident fatality rate of the target area; each indicator corresponds to an indicator type; the indicator type is used to represent the safety situation of the target area from different dimensions.
[0071] Specifically, after the accident data and production data of the target area in the target period are obtained according to step 101, at least one indicator in the target area can be obtained according to the accident data and the production data. The calculation method of each indicator type is different, and the size of the indicator corresponding to each indicator type in different target areas depends on the values of the production data and the accident data in different target areas, that is, for each indicator type, the size of the indicator of the same indicator type in different target areas may be the same or different.
[0072] Step 103, for each indicator type, according to the size of the indicator of each area in the total area under the indicator type, obtain the arrangement order of multiple indicators corresponding to the indicator type; the total area includes the target area and at least one other area except the target area.
[0073] Specifically, the calculation method of each indicator of each area in the total area is the same as the calculation method of each indicator in the target area in step 102. For each indicator type, the indicator of each area in the total area under the indicator type is determined. The multiple indicators under the indicator type in the total area are sorted to obtain the arrangement order corresponding to the indicator type.
[0074] Example 1: Assume that the total area includes area 1, area 2, and area 3. Based on the accident data and production data of each area, four indicators corresponding to each area are obtained, namely indicator 1, indicator 2, indicator 3, and indicator 4.
[0075] Indicators 1, 2, 3, and 4 in region 1 are 20, 21, 30, and 32 respectively;
[0076] Indicators 1, 2, 3, and 4 in Region 2 are 19, 29, 26, and 30 respectively;
[0077] Indicator 1, indicator 2, indicator 3 and indicator 4 in area 3 are 22, 22, 17, 20 respectively.
[0078] Then the ranking order for indicator 1 is: region 2, region 1, region 3;
[0079] The ranking order obtained for indicator 2 is: region 1, region 3, region 2;
[0080] The ranking order obtained for indicator three is: region three, region two, region one;
[0081] The ranking order for indicator four is: region three, region two, and region one.
[0082] That is, the four indicators obtained in region 1 are numbered in the order of arrangement under this indicator type: 2, 1, 3, 3;
[0083] The four indicators obtained in area 2 are numbered in the order of this indicator type: 1, 3, 2, 2;
[0084] The four indicators obtained in area three are numbered 3, 2, 1, 1 in the order of arrangement under this indicator type.
[0085] Step 104, calculating target data for representing the safety development status of the target area according to the sequence number of each indicator in the target area in the arrangement order and the weight preset for each indicator.
[0086] Specifically, the weight preset for each indicator is actually the weight preset for the indicator type corresponding to each indicator. After the sequence number of each indicator in the target area is determined, the target data corresponding to the target area is calculated according to the sequence number of each indicator in the target area and the weight determined for each indicator; the larger the target data, the greater the safety risk in the area, and the less safe the area is. Specifically, it is manifested in: a higher accident fatality rate and a higher accident mortality rate.
[0087] Step 105: sort the target data of at least one area in the total area.
[0088] Specifically, the method for calculating the target data of each area in the total area is the same as the method for calculating the target data of the target area in step 104. After the target data of each area in the total area is calculated in step 104, the multiple target data are sorted according to their sizes to obtain a ranking of the target data of each area. Thus, at least one area that needs to be risk controlled can be determined based on the ranking of the target data.
[0089] In one possible embodiment, Figure 2 A flow chart of a method for verifying data provided by an embodiment of the present application is shown as follows: Figure 2 As shown, after executing step 101, the method further includes the following steps:
[0090] Step 201 : performing integrity check on the accident data and the production data to determine whether the data in the accident data and the production data are complete.
[0091] Specifically, after obtaining the accident data indicating the number of accidents and the number of casualties in the target area and the production data indicating the production scale of the target area in the target period according to step 101, the accident data and the production data are checked for integrity. The integrity check includes: determining whether the data in the accident data is complete and determining whether the data in the production data is complete.
[0092] Step 202: if at least one of the accident data and the production data is incomplete, reacquire the accident data and the production data of the target area within a target period of time.
[0093] Specifically, when at least one of the accident data and the production data is incomplete, the accident data and the production data of the target area within the target period are re-acquired.
[0094] In a feasible implementation scheme, when executing step 201, the following steps are specifically included:
[0095] Step 211, determining whether the accident data includes the following first data: the number of deaths in production safety accidents, the number of deaths in industrial, mining and commercial accidents, the number of production safety accidents, and the number of deaths in first category accidents.
[0096] Specifically, in the embodiment of the present application, the data on the number of production safety accidents, the number of deaths in production safety accidents, the number of deaths in first-category accidents, the number of deaths in major accidents, the number of deaths in serious accidents, the number of deaths in extremely serious accidents, and the number of deaths in industrial, mining, and commercial accidents are derived from data disclosed by the emergency management department; among them, the number of deaths in first-category accidents is the number of deaths in major accidents and above, and the data disclosed by the emergency management department is sorted into a database, so that the accident data of each area including the target area can be obtained based on the data sorted in the database. For each first data, if the data disclosed by the emergency management department does not contain at least one of the above-mentioned first data of the target area, the first data is recorded as 0.
[0097] For example, if the data disclosed by the emergency management department does not include the number of deaths from production safety accidents in area A, the number of deaths from production accidents in area A shall be recorded as 0.
[0098] Step 212: If at least one of the first data is missing from the accident data, it is determined that the accident data is incomplete.
[0099] Specifically, the first data can be data with a value of 0 or non-zero data; when at least one of the first data is empty, it is considered that the accident data in the acquired target area is incomplete. Among them, for the first data with a data value of 0, accuracy verification is also required. The accuracy verification includes but is not limited to: marking the first data with a value of 0 with a to-be-verified identifier, comparing the first data carrying the to-be-verified identifier with the data in the database and the data disclosed by the emergency management department, if the three results are the same, the verification is successful, and the to-be-verified identifier of the first data is modified to a verification success identifier; if the three results are different, the verification fails, and the to-be-verified identifier of the first data is modified to a verification error identifier.
[0100] Step 213, determining whether the production data includes the following second data: the gross domestic product of the target area, and the number of employees in industry, mining, commerce and trade.
[0101] Specifically, in the embodiment of the present application, the gross domestic product and the number of employees in industry, mining, commerce and trade in the target area are derived from the statistical bulletin of national economic and social development or the data disclosed by the national statistical department. The production data is collated in the same way as the accident data in the above step 211, which will not be repeated here.
[0102] Step 214: If at least one type of the second data is missing from the production data, it is determined that the production data is incomplete.
[0103] Specifically, the verification method of the second data is the same as the verification method in step 212, and the second data can be data with a value of 0 or non-zero data; when at least one of the second data is empty, it is considered that the production data in the acquired target area is incomplete. It is necessary to perform an accuracy verification on the second data with a value of 0, and the accuracy verification method of the second data is the same as the accuracy verification method in step 212, which will not be repeated here.
[0104] In a feasible implementation scheme, when executing step 102, the following steps are specifically included:
[0105] The first indicator is determined based on the ratio of the number of deaths in production safety accidents to the gross domestic product; the second indicator is determined based on the ratio of the number of deaths in industrial, mining, commercial and trade accidents to the number of people employed in industry, mining, commerce and trade; the third indicator is determined based on the ratio of the number of deaths in production safety accidents to the number of production safety accidents; and the fourth indicator is determined based on the ratio of the number of deaths in the first type of accidents to the number of deaths in production safety accidents.
[0106] Specifically, the first indicator is the ratio of the number of deaths in production safety accidents to the gross domestic product, the second indicator is the ratio of the number of deaths in industrial, mining and commercial accidents to the number of people employed in industrial, mining and commercial trade, the third indicator is the ratio of the number of deaths in production safety accidents to the number of production safety accidents, and the fourth indicator is the ratio of the number of deaths in the first category of accidents to the number of deaths in production safety accidents. The first indicator reflects the ratio between the number of deaths in accidents and the development scale of the region. If the number of deaths in the first and second regions is the same, but the development scale / gross domestic product of the first region is twice the development scale / gross domestic product of the second region, then the first indicator of the first region is much smaller than the first indicator of the second region, indicating that when the second region develops, it needs to strengthen risk management and control, control the number of accidents and reduce the number of deaths in accidents.
[0107] In a feasible embodiment, when executing step 104, the method includes the following steps:
[0108] For each of the indicators, calculate the product of the value of the indicator and the serial number of the indicator in the arrangement order, and use the product as the first numerical value; calculate the sum of the first numerical values corresponding to each of the indicators in the target area, and use the sum as the second numerical value; calculate the product of the number of areas in the total area and the total number of indicator types in the total area, and use the product as the third numerical value; calculate the ratio of the second numerical value to the third numerical value, and use the ratio as the target data.
[0109] Specifically, the calculation formula for the target data is:
[0110]
[0111] Among them, SDI is the target data, SDI i is the target data of region i, R ij is the sequence number of the jth index in region i in the above arrangement order; W j The weight set for the jth indicator, n is the number of regions in the total area, and m is the total number of indicator types in the total area. As shown in Example 1, when the total area includes three regions, n=3; indicator 1, indicator 2, indicator 3 and indicator 4 correspond to four indicator types, then m=4. In the embodiment of the present application, the weight set for each indicator is 0.25. The size of the weight can also be adjusted according to the actual situation.
[0112] The embodiment of the present application provides a method for data processing, which obtains accident data representing the number of accidents and the number of casualties in the target area within a target period and production data representing the production scale of the target area; calculates at least one indicator representing the accident mortality rate and accident fatality rate of the target area based on the accident data and the production data; for each indicator type, obtains the arrangement order of multiple indicators corresponding to the indicator type according to the size of the indicator of each area in the total area under the indicator type; calculates the target data representing the safety development situation of the target area according to the sequence number of each indicator in the target area in the arrangement order and the weight preset for each indicator; and sorts the target data of at least one area in the total area. Compared with the scheme in the prior art in which humans subjectively judge the safety development situation of each area, the method provided in the embodiment of the present application adopts a unified standard for calculation and sorting, eliminates the interference of human factors, and the obtained results are more objective.
[0113] Figure 3 A schematic diagram of the structure of a data processing device provided in an embodiment of the present application is shown. Figure 3 As shown, the device includes: a first acquisition unit 301, a first calculation unit 302, a first sorting unit 303, a second calculation unit 304, and a second sorting unit 305.
[0114] The first acquisition unit 301 is used to acquire accident data representing the number of accidents and the number of casualties in the target area within a target period and production data representing the production scale of the target area.
[0115] The first calculation unit 302 is used to calculate at least one indicator representing the accident mortality rate and accident fatality rate of the target area based on the accident data and the production data; each indicator corresponds to an indicator type; and the indicator type is used to represent the safety situation of the target area from different dimensions.
[0116] The first sorting unit 303 is used to obtain, for each indicator type, an arrangement order of multiple indicators corresponding to the indicator type according to the size of the indicator of each area in the total area under the indicator type; the total area includes the target area and at least one other area except the target area.
[0117] The second calculation unit 304 is used to calculate the target data representing the safety development situation of the target area according to the sequence number of each indicator in the target area in the arrangement sequence and the weight preset for each indicator.
[0118] The second sorting unit 305 is used to sort the target data of at least one area in the total area.
[0119] A verification unit is used to perform integrity verification on the accident data and the production data after obtaining the accident data representing the number of accidents and the number of casualties in the target area within the target time period and the production data representing the production scale of the target area, so as to determine whether the data in the accident data and the production data are complete.
[0120] The second acquisition unit is configured to reacquire the accident data and the production data of the target area within a target period if at least one of the accident data and the production data is incomplete.
[0121] In a feasible implementation scheme, the verification unit is used to:
[0122] Determine whether the accident data includes the following first data: the number of deaths in production safety accidents, the number of deaths in industrial, mining and commercial accidents, the number of production safety accidents, and the number of deaths in first category accidents.
[0123] If at least one of the first data is missing from the accident data, it is determined that the accident data is incomplete.
[0124] Determine whether the production data includes the following second data: the gross domestic product and the number of employees in industry, mining, commerce and trade of the target area.
[0125] If at least one type of the second data is missing from the production data, it is determined that the production data is incomplete.
[0126] In a feasible implementation manner, the first computing unit is used to:
[0127] A first indicator is determined based on the ratio of the number of deaths caused by the production safety accidents to the gross domestic product.
[0128] The second indicator is determined based on the ratio of the number of deaths in industrial, mining, commercial and trade accidents to the number of people employed in the industrial, mining, commercial and trade accidents.
[0129] The third indicator is determined based on the ratio of the number of deaths caused by the production safety accident to the number of times the production safety accident occurred.
[0130] The fourth indicator is determined based on the ratio of the number of deaths in the first type of accidents to the number of deaths in the production safety accidents.
[0131] In a feasible implementation manner, the second computing unit is used to:
[0132] For each of the indicators, the product of the value of the indicator and the sequence number of the indicator in the arrangement sequence is calculated, so as to use the product as the first numerical value.
[0133] A sum value obtained by adding the first values corresponding to each of the indicators in the target area is calculated, and the sum value is used as the second value.
[0134] The product of the number of regions in the total region and the total number of indicator types in the total region is calculated to use the product as a third value.
[0135] A ratio of the second value to the third value is calculated to use the ratio as the target data.
[0136] The embodiment of the present application provides a data processing device, which obtains accident data representing the number of accidents and the number of casualties in the target area within a target period and production data representing the production scale of the target area; calculates at least one indicator representing the accident mortality rate and accident fatality rate of the target area based on the accident data and the production data; for each indicator type, obtains the arrangement order of multiple indicators corresponding to the indicator type according to the size of the indicator of each area in the total area under the indicator type; calculates the target data representing the safety development situation of the target area according to the sequence number of each indicator in the target area in the arrangement order and the weight preset for each indicator; and sorts the target data of at least one area in the total area. Compared with the solution of subjective human judgment of the safety development situation of each area in the prior art, the device provided by the embodiment of the present application adopts a unified standard for calculation and sorting, eliminates the interference of human factors, and the obtained results are more objective.
[0137] Figure 4 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application is shown, including: a processor 401, a storage medium 402 and a bus 403, wherein the storage medium 402 stores machine-readable instructions executable by the processor 401, and when the electronic device runs a data processing method such as in the embodiment, the processor 401 communicates with the storage medium 402 via the bus 403, and the processor 401 executes the machine-readable instructions to perform the steps in the embodiment.
[0138] In an embodiment, the storage medium 402 may also execute other machine-readable instructions to execute other methods described in the embodiment. For specific execution steps and principles of the method, please refer to the description of the embodiment, which will not be described in detail here.
[0139] The embodiments of the present application further provide a computer-readable storage medium, on which a computer program is stored. The computer program is executed when a processor is running to perform the steps in the embodiments.
[0140] In the embodiment of the present application, the computer program can also execute other machine-readable instructions when run by the processor to execute other methods described in the embodiment. For the specific execution method steps and principles, please refer to the description of the embodiment, which will not be repeated here.
[0141] In the several embodiments provided in the present application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. The device embodiments described above are merely schematic. For example, the division of the modules is only a logical function division. There may be other division methods in actual implementation. For example, multiple modules 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 communication interfaces, and the indirect coupling or communication connection of devices or modules can be electrical, mechanical or other forms.
[0142] The modules described as separate components may or may not be physically separated, and the components shown as modules 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.
[0143] 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.
[0144] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a non-volatile computer-readable storage medium that is executable by a processor. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for a computer device (which can be a personal computer, server, or network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as USB flash drives, mobile hard drives, ROM, RAM, magnetic disks, or optical disks.
[0145] The above are only specific implementations of the present application, but the protection scope of the present application is not limited thereto. Any technician familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.
Claims
1. A method of data processing, It is characterized in that The method comprises: Acquire accident data indicating the number of accidents and the number of casualties in the target area and production data indicating the production scale of the target area within a target period; According to the accident data and the production data, at least one indicator for representing the accident mortality rate and the accident fatality rate of the target area is calculated; each indicator corresponds to an indicator type; the indicator type is used to represent the safety situation of the target area from different dimensions; For each indicator type, according to the size of the indicator of each area in the total area under the indicator type, the arrangement order of multiple indicators corresponding to the indicator type is obtained; the total area includes the target area and at least one other area except the target area; Calculate target data for representing the safety development situation of the target area according to the sequence number of each indicator in the target area in the arrangement sequence and the weight preset for each indicator; sorting target data of at least one area in the total area; The calculating the target data of the target area according to the sequence number of each indicator in the target area in the arrangement sequence and the weight preset for each indicator includes: For each of the indicators, calculate the product of the value of the indicator and the sequence number of the indicator in the arrangement sequence, and use the product as the first value; Calculate a sum value obtained by adding the first values corresponding to each of the indicators in the target area, and use the sum value as a second value; calculating a product of the number of regions in the total region and the total number of indicator types in the total region, and taking the product as a third value; A ratio of the second value to the third value is calculated to use the ratio as the target data.
2. The method according to claim 1, It is characterized in that After acquiring the accident data indicating the number of accidents and the number of casualties in the target area and the production data indicating the production scale of the target area within the target period, the method further includes: Performing integrity check on the accident data and the production data to determine whether the data in the accident data and the production data are complete; If at least one of the accident data and the production data is incomplete, the accident data and the production data of the target area within a target period are reacquired.
3. The method according to claim 2, It is characterized in that Performing integrity check on the accident data and the production data, including: Determine whether the accident data includes the following first data: the number of deaths in production safety accidents, the number of deaths in industrial, mining and commercial accidents, the number of production safety accidents, and the number of deaths in first category accidents; If at least one of the first data is missing from the accident data, determining that the accident data is incomplete; Determine whether the production data includes the following second data: the gross domestic product of the target area, and the number of employees in industry, mining, commerce and trade; If at least one type of the second data is missing from the production data, it is determined that the production data is incomplete.
4. The method according to claim 3, It is characterized in that Calculating at least one indicator representing the accident mortality rate and accident fatality rate of the target area according to the accident data and the production data, including: Determining a first indicator according to the ratio of the number of deaths from the production safety accident to the gross domestic product; Determine the second indicator based on the ratio of the number of deaths in industrial, mining, commercial and trade accidents to the number of people employed in industrial, mining, commercial and trade; Determining a third indicator according to the ratio of the number of deaths caused by the production safety accident to the number of occurrences of the production safety accident; The fourth indicator is determined based on the ratio of the number of deaths from the first type of accidents to the number of deaths from the production safety accidents.
5. A data processing device, It is characterized in that The device comprises: A first acquisition unit is used to acquire accident data indicating the number of accidents and the number of casualties in the target area within a target period and production data indicating the production scale of the target area; A first calculation unit is used to calculate at least one indicator representing the accident mortality rate and accident fatality rate of the target area according to the accident data and the production data; each indicator corresponds to an indicator type; and the indicator type is used to represent the safety situation of the target area from different dimensions; A first sorting unit is used to obtain, for each indicator type, an arrangement order of multiple indicators corresponding to the indicator type according to the size of the indicator of each area in the total area under the indicator type; the total area includes the target area and at least one other area except the target area; A second calculation unit, configured to calculate target data representing the safety development situation of the target area according to the sequence number of each indicator in the target area in the arrangement sequence and a weight preset for each indicator; a second sorting unit, configured to sort target data of at least one area in the total area; The calculating the target data of the target area according to the sequence number of each indicator in the target area in the arrangement sequence and the weight preset for each indicator includes: For each of the indicators, calculate the product of the value of the indicator and the sequence number of the indicator in the arrangement sequence, and use the product as the first value; Calculate a sum value obtained by adding the first values corresponding to each of the indicators in the target area, and use the sum value as a second value; calculating a product of the number of regions in the total region and the total number of indicator types in the total region, and taking the product as a third value; A ratio of the second value to the third value is calculated to use the ratio as the target data.
6. The device according to claim 5, It is characterized in that The device also includes: A verification unit, configured to, after acquiring accident data indicating the number of accidents and the number of casualties in the target area and production data indicating the production scale of the target area within a target period, perform integrity verification on the accident data and the production data to determine whether the data in the accident data and the production data are complete; The second acquisition unit is configured to reacquire the accident data and the production data of the target area within a target period if at least one of the accident data and the production data is incomplete.
7. The device according to claim 5, It is characterized in that The second computing unit is used for: For each of the indicators, calculate the product of the value of the indicator and the sequence number of the indicator in the arrangement sequence, and use the product as the first value; Calculate a sum value obtained by adding the first values corresponding to each of the indicators in the target area, and use the sum value as a second value; calculating a product of the number of regions in the total region and the total number of indicator types in the total region, and taking the product as a third value; A ratio of the second value to the third value is calculated to use the ratio as the target data.
8. An electronic device, It is characterized in that include: A processor, a storage medium and a bus, wherein the storage medium stores machine-readable instructions executable by the processor, and when the electronic device is running, the processor communicates with the storage medium via the bus, and the processor executes the machine-readable instructions to perform the steps of a data processing method as described in any one of claims 1 to 4.
9. A computer-readable storage medium, It is characterized in that The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the data processing method according to any one of claims 1 to 4 are executed.
