CN115048379A - Statistical method, terminal device and computer-readable storage medium - Google Patents

Statistical method, terminal device and computer-readable storage medium Download PDF

Info

Publication number
CN115048379A
CN115048379A CN202210663130.8A CN202210663130A CN115048379A CN 115048379 A CN115048379 A CN 115048379A CN 202210663130 A CN202210663130 A CN 202210663130A CN 115048379 A CN115048379 A CN 115048379A
Authority
CN
China
Prior art keywords
volunteer
statistical
counted
volunteers
determining
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
Application number
CN202210663130.8A
Other languages
Chinese (zh)
Inventor
陈伟杰
连樟文
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Yongxing Shenzhen Polytron Technologies Inc
Original Assignee
Yongxing Shenzhen Polytron Technologies Inc
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Yongxing Shenzhen Polytron Technologies Inc filed Critical Yongxing Shenzhen Polytron Technologies Inc
Priority to CN202210663130.8A priority Critical patent/CN115048379A/en
Publication of CN115048379A publication Critical patent/CN115048379A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/22Indexing; Data structures therefor; Storage structures
    • G06F16/2282Tablespace storage structures; Management thereof
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/24Querying
    • G06F16/245Query processing
    • G06F16/2458Special types of queries, e.g. statistical queries, fuzzy queries or distributed queries
    • G06F16/2462Approximate or statistical queries
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/24Querying
    • G06F16/248Presentation of query results
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/28Databases characterised by their database models, e.g. relational or object models
    • G06F16/284Relational databases
    • G06F16/285Clustering or classification

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Databases & Information Systems (AREA)
  • General Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Computational Linguistics (AREA)
  • Probability & Statistics with Applications (AREA)
  • Software Systems (AREA)
  • Fuzzy Systems (AREA)
  • Mathematical Physics (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)
  • Computer And Data Communications (AREA)

Abstract

The invention discloses a statistical method, which comprises the following steps: carrying out regional coding on service areas corresponding to all volunteer management departments in advance to generate volunteer management department tables corresponding to all the service areas; when a volunteer counting instruction is received, acquiring a target service area of a volunteer area management department to be counted according to the volunteer management department table; acquiring volunteer information related to volunteers to be counted from a national volunteer table according to the target service area; performing data analysis on the obtained volunteer information; and performing statistical analysis according to the statistical dimension in the volunteer statistical instruction, generating a corresponding analysis report according to the statistical analysis result, and displaying the analysis report on an information system so that a user can manage all volunteers in the target service area administered by the user, wherein the volunteer statistical instruction comprises the statistical dimension. The invention also discloses a terminal device and a computer readable storage medium, which realize the automatic statistics and analysis of volunteers.

Description

Statistical method, terminal device and computer-readable storage medium
Technical Field
The present invention relates to the field of data processing technologies, and in particular, to a statistical method, a terminal device, and a computer-readable storage medium.
Background
With the organization and development of various large activities, a huge volunteer service team is owned all over the country at present. A large number of enthusiastic volunteers are newly introduced every year, and continuously participate in various volunteer service activities at home and abroad, and the volunteer service activities are always important components of social activities.
However, at present, because there is no systematic and normative volunteer counting and analyzing method, the management departments in various regions have no way to clearly recognize the service conditions and the number of volunteers in the regions, which is not beneficial to developing the volunteer service work. In other words, the information of all the volunteers in the corresponding jurisdiction can not be effectively displayed according to the jurisdiction area of the management department, and the information which can be mastered by the management department can not clearly reflect the situation that the volunteers participate in the volunteer service activities, which is not beneficial to managing the volunteers.
The above is only for the purpose of assisting understanding of the technical aspects of the present invention, and does not represent an admission that the above is prior art.
Disclosure of Invention
The invention mainly aims to provide a statistical method, terminal equipment and a computer readable storage medium, and aims to realize the classification statistics of volunteers so as to improve the management efficiency of the volunteers.
In order to achieve the above object, the present invention provides a statistical method, which comprises the steps of:
carrying out regional coding on service areas corresponding to all volunteer management departments in advance to generate volunteer management department tables corresponding to all the service areas;
when a volunteer counting instruction is received, acquiring a target service area of a management department to be counted according to the volunteer management department table;
obtaining volunteer information related to volunteers to be counted from a national volunteer table according to the target service area, wherein the national volunteer table comprises the stored volunteer information of all the volunteers;
performing data analysis on the obtained volunteer information;
and performing statistical analysis according to the statistical dimension in the volunteer statistical instruction, generating a corresponding analysis report according to the statistical analysis result, and displaying the analysis report on the information system so that a user can manage all volunteers in the target service area administered by the user, wherein the volunteer statistical instruction comprises the statistical dimension.
Optionally, performing statistical analysis according to the statistical dimensions in the volunteer statistical instruction, and generating a corresponding analysis report according to the statistical analysis result includes:
determining the characteristic index of the volunteer to be counted according to the volunteer information and the counting dimension;
the characteristic indexes are used as input of a preset model, and the volunteer types corresponding to the volunteers to be counted are determined through the preset model;
and carrying out statistical analysis on the volunteers to be counted according to the volunteer distribution condition corresponding to the volunteer type, and generating an analysis report according to the statistical analysis result.
Optionally, the step of determining the feature index of the volunteer to be counted according to the volunteer information and the counting dimension includes:
screening volunteer information corresponding to the statistical dimension from the volunteer information;
and determining the volunteer information corresponding to the statistical dimension as the characteristic index of each volunteer to be counted.
Optionally, the step of determining, by using the characteristic index as an input of a preset model, a volunteer type corresponding to each volunteer to be counted by using the preset model includes:
obtaining classification intervals corresponding to the statistical dimensions and threshold ranges corresponding to the classification intervals;
comparing the characteristic indexes with threshold value ranges corresponding to the classification intervals to determine the classification intervals corresponding to the characteristic indexes;
determining the volunteer type corresponding to the classification interval according to the corresponding relation between the preset classification interval and the volunteer type;
and determining the volunteer type corresponding to the classification interval as the volunteer type of the volunteer to be counted.
Optionally, the preset model includes a clustering model, the step of determining the volunteer type corresponding to each volunteer to be counted by using the characteristic index as an input of the preset model includes:
determining the number of clusters corresponding to the statistical dimension;
clustering the characteristic indexes according to the clustering number to generate each target cluster;
and determining the volunteer type according to the target cluster to which the volunteer to be counted belongs.
Optionally, the step of performing statistical analysis on the volunteers to be counted according to the volunteer distribution condition corresponding to the volunteer type and generating an analysis report according to a statistical analysis result includes:
determining volunteers to be counted corresponding to each classification interval according to the characteristic indexes contained in each classification interval;
determining the volunteer distribution condition corresponding to each volunteer type according to the volunteers to be counted corresponding to each classification interval;
acquiring the number of volunteers corresponding to each volunteer type according to the volunteer distribution condition, and determining the statistical analysis result according to the number of volunteers corresponding to each volunteer type;
and generating the analysis report according to the statistical analysis result.
Optionally, the step of performing statistical analysis on the volunteers to be counted according to the volunteer distribution condition corresponding to the volunteer type and generating an analysis report according to a statistical analysis result includes:
determining the number of volunteers to be counted corresponding to each volunteer type according to the number of the characteristic indexes contained in each target cluster, and determining the number of volunteers to be counted corresponding to each volunteer type as the volunteer distribution condition;
determining the statistical analysis result according to the number of the volunteers to be counted corresponding to each volunteer type;
and generating the analysis report according to the statistical analysis result.
Optionally, the step of displaying the analysis report on the information system includes:
and outputting the analysis report in a preset display mode, wherein the preset display mode comprises at least one of a list mode, a tree diagram mode and a pie diagram mode.
In addition, to achieve the above object, the present invention also provides a terminal device, including: a memory, a processor and a statistical program stored on the memory and executable on the processor, the volunteer statistical program when executed by the processor implementing the steps of the statistical method as described above.
Furthermore, to achieve the above object, the present invention also provides a computer readable storage medium having a statistical program stored thereon, the statistical program implementing the steps of the statistical method as described above when executed by a processor.
According to the statistical method, the terminal equipment and the computer readable storage medium provided by the embodiment of the invention, the service areas corresponding to the volunteer management departments are subjected to area coding in advance to generate a volunteer management department table corresponding to each service area; when a volunteer counting instruction is received, acquiring a target service area of a management department to be counted according to the volunteer management department table; obtaining volunteer information related to volunteers to be counted from a national volunteer table according to the target service area, wherein the national volunteer table comprises the stored volunteer information of all the volunteers; performing data analysis on the obtained volunteer information; and performing statistical analysis according to the statistical dimension in the volunteer statistical instruction, generating a corresponding analysis report according to the statistical analysis result, and displaying the analysis report on the information system so that a user can manage all volunteers in the target service area administered by the user, wherein the volunteer statistical instruction comprises the statistical dimension.
The invention has the following beneficial effects:
1. the embodiment of the invention classifies, counts and displays the volunteer information (such as field information of volunteer name, nationality, political aspect, volunteer service duration and the like) of the volunteer, facilitates the management department to visually and clearly know the volunteer information in the area, and can actively provide different management operations for the management department aiming at the volunteers of different volunteer types, so that the embodiment of the invention can accurately perform appropriate management behaviors aiming at the volunteers of different types, can assist the management department to standardize the volunteer service work, and promotes the development of the volunteer service business.
2. The embodiment of the invention comprehensively displays the information of all volunteers in the corresponding area of the management department through a self-research algorithm, and the displayed information can directly and effectively reflect the service condition of the volunteers, so that the management department can conveniently issue proper policies according to the classification condition of the volunteers and perform proper management behaviors according to the related data of the volunteers.
3. After logging in the information system, the management department can accurately inquire the volunteer information of all volunteers in the administration area managed by the management department, and can fully reflect the situation of volunteer service activities participated by the volunteers.
Drawings
Fig. 1 is a schematic structural diagram of a terminal device in a hardware operating environment according to an embodiment of the present invention;
FIG. 2 is a schematic flow chart of a statistical method according to a first embodiment of the present invention;
FIG. 3 is an exemplary diagram of a volunteer management department table;
FIG. 4 is a detailed flowchart of step S50 of the first embodiment of the statistical method according to the present invention;
FIG. 5 is a detailed flowchart of step S52 of the first embodiment of the statistical method according to the present invention;
FIG. 6 is a flowchart illustrating a step S53 of the statistical method according to the first embodiment of the present invention;
FIGS. 7 a-7 b are schematic diagrams of an analysis report according to a first embodiment of the statistical method of the present invention;
FIG. 8 is a flowchart illustrating a step S52 of the statistical method according to the second embodiment of the present invention;
FIG. 9 is a flowchart illustrating the step S53 of the statistical method according to the second embodiment of the present invention;
the implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
The main solution of the embodiment of the invention is as follows: carrying out regional coding on service areas corresponding to all volunteer management departments in advance to generate volunteer management department tables corresponding to all the service areas; when a volunteer counting instruction is received, acquiring a target service area of a management department to be counted according to the volunteer management department table; obtaining volunteer information related to volunteers to be counted from a national volunteer table according to the target service area, wherein the national volunteer table comprises the stored volunteer information of all the volunteers; performing data analysis on the obtained volunteer information; and performing statistical analysis according to the statistical dimension in the volunteer statistical instruction, generating a corresponding analysis report according to the statistical analysis result, and displaying the analysis report on the information system so that a user can manage all volunteers in the target service area administered by the user, wherein the volunteer statistical instruction comprises the statistical dimension.
As shown in fig. 1, fig. 1 is a schematic structural diagram of a terminal device in a hardware operating environment according to an embodiment of the present invention.
The terminal equipment of the embodiment of the invention can be a PC, and can also be terminal equipment such as a smart phone, a tablet computer, a portable computer and the like.
As shown in fig. 1, the terminal device may include: a processor 1001, such as a CPU, a network interface 1004, a user interface 1003, a memory 1005, a communication bus 1002. Wherein a communication bus 1002 is used to enable connective communication between these components. The user interface 1003 may comprise a display screen, an input unit such as a keyboard, and the optional user interface 1003 may also comprise a standard wired interface, a wireless interface. The network interface 1004 may optionally include a standard wired interface, a wireless interface (e.g., WI-FI interface). The memory 1005 may be a high speed RAM memory or a stable memory such as a disk memory. The memory 1005 may alternatively be a storage device separate from the processor 1001.
Those skilled in the art will appreciate that the terminal device configuration shown in fig. 1 is not intended to be limiting of the terminal device and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
As shown in fig. 1, a memory 1005, which is a kind of computer storage medium, may include therein an operating system, a network communication module, a user interface module, and a statistical program.
In the terminal device shown in fig. 1, the network interface 1004 is mainly used for connecting to a backend server and performing data communication with the backend server; the user interface 1003 is mainly used for connecting a client (user side) and performing data communication with the client; and the processor 1001 may be configured to call the statistical program stored in the memory 1005 and perform the following operations:
carrying out regional coding on service areas corresponding to all volunteer management departments in advance to generate volunteer management department tables corresponding to all the service areas;
when a volunteer counting instruction is received, acquiring a target service area of a management department to be counted according to the volunteer management department table;
obtaining volunteer information related to volunteers to be counted from a national volunteer table according to the target service area, wherein the national volunteer table comprises the stored volunteer information of all the volunteers;
performing data analysis on the obtained volunteer information;
and performing statistical analysis according to the statistical dimension in the volunteer statistical instruction, generating a corresponding analysis report according to the statistical analysis result, and displaying the analysis report on the information system so that a user can manage all volunteers in the target service area administered by the user, wherein the volunteer statistical instruction comprises the statistical dimension.
Based on the systematic and normative volunteer counting and analyzing method, the management departments in various regions have no way to clearly know the service conditions and the number of the volunteers in the regions, and the volunteer counting and analyzing method is not beneficial to developing the volunteer service work. In other words, usually, the information of all volunteers in the corresponding jurisdiction cannot be effectively displayed according to the jurisdiction area of the management department, and the information which can be controlled by the management department cannot clearly reflect the situation that the volunteers participate in the volunteer service activities, which is not beneficial to managing the volunteers, based on which, the embodiment of the application arranges the area codes of the areas corresponding to the management departments by innovative collection, generates the volunteer area management table corresponding to each service area according to the area codes, each volunteer area management table records the volunteer information of a plurality of volunteers in each area, each volunteer is associated with one area, and then classifies the volunteer data by statistical dimensions, and further generates an analysis report, and displays the analysis report, so that the management departments can make different volunteer management modes for different types of volunteers according to the analysis report, so as to accurately perform proper management operation aiming at different types of volunteer teams.
First embodiment
Referring to fig. 2, a first embodiment of the statistical method of the present invention provides a method comprising the steps of:
step S10, performing area coding on the service areas corresponding to the volunteer management departments in advance to generate a volunteer management department table corresponding to each service area;
step S20, when receiving a volunteer counting instruction, acquiring a target service area of a volunteer to be counted according to the volunteer management department table;
step S30, obtaining volunteer information related to volunteers to be counted from a national volunteer table according to the target service area, wherein the national volunteer table comprises the stored volunteer information of all the volunteers;
step S40, performing data analysis on the obtained volunteer information;
step S50, performing statistical analysis according to the statistical dimensions in the volunteer statistical instruction, generating a corresponding analysis report according to the statistical analysis result, and displaying the analysis report on the information system so that the user can manage all volunteers in the target service area administered by the user, wherein the volunteer statistical instruction comprises the statistical dimensions.
In this embodiment, the information system applied to the terminal device stores the volunteer information of all volunteers on a storage device on a remote server, the storage device includes but is not limited to a memory, the information system accesses the storage device through an interface protocol to query the volunteer information of the volunteers, the volunteer information includes but is not limited to volunteer name, gender, date of birth, service area, certificate number, service category, specialty skill, volunteer service duration, real name status, the service areas corresponding to different volunteers are different, in order to facilitate the volunteer management department to manage the volunteers of the service area under jurisdiction, the embodiment of the present application performs area coding on the service area corresponding to each volunteer management department in advance to generate a volunteer management department table corresponding to each service area, the different area coding corresponding to different service areas, one volunteer management department corresponds to at least one service area, and the volunteer management department table comprises area codes corresponding to the service areas governed by the volunteer management department, and/or volunteers in the governed service areas, and/or volunteer information of the volunteers in the governed service areas, for example, one volunteer management department is a beijing city management department, and the service areas corresponding to the beijing city management department can comprise a beijing city east city area, a beijing city west city area, a sunny area, a changlie district, and the like.
Optionally, before receiving a volunteer counting instruction of the user, the information system may further receive a login instruction of the user, determine a volunteer management department to which the user belongs according to the login instruction, obtain a corresponding volunteer management department table according to the volunteer management department to which the user belongs, display each service area according to the volunteer management department table, and/or volunteer information of each volunteer, so that the user can conveniently query the volunteer information of all volunteers of the service area governed by the volunteer management department in time, and referring to fig. 3, fig. 3 shows an example diagram showing the volunteer management department table.
Optionally, after the information system receives a volunteer counting instruction, determining a management department to be counted according to the volunteer counting instruction, after determining the management department to be counted, determining a volunteer management department corresponding to the management department to be counted according to each stored volunteer management department table, and determining a target service area of the management department to be counted according to the volunteer management department corresponding to the management department to be counted, wherein the target service area is a service area to which the volunteer to be counted belongs.
Optionally, after the target service area is obtained, volunteer information related to volunteers to be counted is obtained from a national volunteer table according to the target service area, wherein the national volunteer table includes the stored volunteer information of all volunteers, the service area to which the volunteer to be counted belongs is the target service area, specifically, the national volunteer table, which summarizes volunteer information of all volunteers, is stored on a storage device on a remote server, including but not limited to a memory, the information system accesses the storage device via an interface protocol to obtain the national volunteer table, and screening volunteers to be counted meeting screening conditions according to the national volunteer table, wherein the screening conditions are that service areas in the volunteer information are consistent with the target service area.
Optionally, the national volunteer table may also be stored in an Elasticsearch engine, respective corresponding indexes are generated according to the volunteer information of each volunteer in the national volunteer table, the indexes and the volunteer information are simultaneously stored in the Elasticsearch engine, when a volunteer to be counted meeting a screening condition is screened out in actual need, a target index corresponding to the screening condition is determined from the indexes stored in the Elasticsearch engine according to the screening condition, the volunteer to be counted and the volunteer information related to the volunteer to be counted are determined according to the target index, the volunteer information related to the volunteer to be counted is stored by using the Elasticsearch engine based on the embodiment of the application, and the efficiency of acquiring the volunteer information related to the volunteer to be counted is improved in actual statistics, so that the statistical efficiency is improved.
Optionally, after obtaining the volunteer information associated with the volunteer to be counted, performing data analysis on the obtained volunteer information, and optionally, storing the volunteer information in a field form, for example: and when the gender is female, the field is 1, when the gender is male, the field is 2, when the service area is Beijing Toyota, the field is AA, when the service area is Beijing Chaoyang, the field is BB, and on the basis, after the field corresponding to the volunteer information is obtained, data analysis is carried out on the field corresponding to the volunteer information to determine the semantics corresponding to each field, and complete volunteer information is generated according to the semantics.
Optionally, after performing data analysis on the obtained volunteer information, referring to fig. 4, the step of performing statistical analysis according to a statistical dimension in the volunteer statistical instruction includes:
step S51, determining the characteristic index of the volunteer to be counted according to the volunteer information and the counting dimension;
step S52, the characteristic indexes are used as input of a preset model, and the volunteer types corresponding to the volunteers to be counted are determined through the preset model;
and step S53, performing statistical analysis on the volunteers to be counted according to the volunteer distribution condition corresponding to the volunteer type, and generating an analysis report according to the statistical analysis result.
Optionally, determining a characteristic index of the volunteer to be counted according to the volunteer information and the volunteer counting instruction, wherein the characteristic index is determined according to the volunteer information, the volunteer counting instruction further includes a counting dimension, and specifically, the counting dimension corresponding to the volunteer counting instruction is obtained; screening volunteer information corresponding to the statistical dimension from the volunteer information, determining the volunteer information corresponding to the statistical dimension as the characteristic index of each volunteer to be counted, wherein the volunteer counting instruction comprises the statistical dimension, and the statistical dimension comprises but is not limited to a service area dimension, an age dimension, a service category dimension, a characteristic skill dimension, a gender dimension, and a service duration dimension.
Optionally, after the statistical dimension is determined, screening volunteer information corresponding to the statistical dimension from the volunteer information, and determining the volunteer information corresponding to the statistical dimension as the characteristic index of each volunteer to be counted. For example: and when the statistical dimension is a service area dimension, the volunteer information corresponding to the statistical dimension is the service area of each volunteer, and the characteristic index is the service area of the volunteer.
Optionally, after the characteristic index is determined, the characteristic index is used as an input of a preset model, the volunteer type corresponding to each volunteer to be counted is determined through the preset model, and optionally, the preset model is used for classifying each volunteer to be counted according to the characteristic index corresponding to each volunteer to be counted so as to determine the volunteer type corresponding to each volunteer to be counted.
Optionally, in an embodiment, referring to fig. 5, the step S52 includes the following steps:
step S521, obtaining classification intervals corresponding to the statistical dimensions and threshold ranges corresponding to the classification intervals;
step S522, comparing the feature indexes with the threshold ranges corresponding to the classification intervals to determine the classification intervals corresponding to the feature indexes;
step S523, determining the volunteer type corresponding to the classification interval according to the corresponding relation between the preset classification interval and the volunteer type;
step S524, determining the volunteer type corresponding to the classification interval as the volunteer type of the volunteer to be counted.
Optionally, when the statistical dimension is determined, a classification interval corresponding to the statistical dimension and a threshold range corresponding to each classification interval are determined, where different statistical dimensions correspond to different classification intervals, and different classification intervals correspond to different threshold ranges, for example, when the statistical dimension is a service area dimension, a classification interval may be set according to different service areas, where the threshold range corresponding to the classification interval is a boundary position corresponding to the service area, and when the statistical dimension is a duration dimension, a classification interval may be set according to different durations, such as [0,20], [20,40], [40 ], where not limited herein, and when the statistical dimension is a composition dimension of an area dimension and an age dimension, the classification interval includes a first classification interval and a second classification interval, where the first classification interval is used for performing a first classification on each volunteer to be counted, and after the first classification is finished, classifying the volunteers to be counted in each first classification interval according to the second classification interval.
Optionally, after the classification interval and the threshold range corresponding to each classification interval are obtained, the feature indexes are compared with the threshold range corresponding to the classification interval to determine the classification interval corresponding to each feature index, where the classification interval corresponding to each feature index is the classification interval to which the resource to be counted belongs.
Optionally, after the classification interval to which each volunteer to be counted belongs is determined, the counting device further stores a preset corresponding relationship between the classification interval and the volunteer type, further determines the volunteer type corresponding to the classification interval to which the volunteer to be counted belongs according to the preset corresponding relationship between the classification interval and the volunteer type, and determines the volunteer type corresponding to the classification interval to which the volunteer to be counted belongs as the volunteer type of the volunteer to be counted.
Optionally, after determining the volunteer type of each volunteer to be counted, performing statistical analysis on the volunteer to be counted according to the volunteer distribution condition corresponding to the volunteer type, and generating an analysis report according to a result of the statistical analysis, specifically, referring to fig. 6, the step S53 includes:
step S531, determining volunteers to be counted corresponding to each classification interval according to the characteristic indexes contained in each classification interval;
step S532, determining the volunteer distribution situation corresponding to each volunteer type according to the volunteers to be counted corresponding to each classification interval;
step S533, obtaining the number of volunteers corresponding to each volunteer type according to the volunteer distribution condition, and determining the statistical analysis result according to the number of volunteers corresponding to each volunteer type;
and step S534, generating the analysis report according to the statistical analysis result.
Optionally, after the characteristic indexes are respectively induced in the corresponding classification intervals, the volunteers to be counted included in each classification interval are determined according to the characteristic indexes included in each classification interval based on the characteristic indexes corresponding to the volunteers to be counted, and the volunteer distribution conditions corresponding to each volunteer type can be determined according to the volunteers to be counted included in each classification interval based on the different volunteer types corresponding to the different classification intervals, wherein the volunteer distribution conditions include the number of the volunteers to be counted corresponding to each volunteer type.
Optionally, after determining the volunteer distribution situation corresponding to each volunteer type, determining the statistical analysis result according to the number of the volunteers to be counted corresponding to each volunteer type, specifically, when the statistical dimension is a region dimension, each region dimension includes a classification interval corresponding to each province, that is, the volunteer type includes different provinces, and the statistical analysis result includes: jiangsu province: 100 volunteers, Guangdong province: 200 volunteers, or when the region dimension is a year dimension, each year dimension corresponds to a classification interval corresponding to each year, that is, the volunteer types include different years, and the statistical analysis result includes: in 2000, 100 names; 2001, 105 names, etc.
Optionally, the determining the statistical analysis result according to the number of the to-be-counted volunteers corresponding to each volunteer type further includes determining a ratio corresponding to each volunteer type according to the number of the to-be-counted volunteers corresponding to each volunteer type and the number of the to-be-counted volunteers, and generating the statistical analysis result according to the ratio corresponding to each volunteer type.
Optionally, after the statistical analysis result is determined, the analysis report is generated according to the statistical analysis result, the analysis report is used for counting the volunteers to be counted, and specifically, each volunteer to be counted can be added into the analysis report according to different volunteer types.
Optionally, the manner of generating the analysis report may also be to compare the number of volunteers corresponding to each volunteer type to sort each volunteer type, and add each volunteer to be counted into the analysis report according to the sort and the volunteer type.
Optionally, after the analysis report is generated, the analysis report is displayed on the information system, so that a user can manage all volunteers in the target service area governed by the user, and specifically, the analysis report is output in a preset display manner, where the preset display manner includes at least one of a list manner, a tree diagram manner, and a pie diagram manner. Referring to fig. 7 a-7 b, fig. 7 a-7 b are schematic diagrams illustrating output of an analytic report in different preset display manners.
The volunteers to be counted can be classified and counted and analyzed according to different counting dimensions, and the user can quickly know the influence relationship between the volunteers to be counted and the counting dimensions based on the analysis report, so that the key information of the volunteers to be counted can be visually displayed, and the management department can conveniently know the volunteer service condition of the volunteers.
Example 1: and when the statistical dimension is the service area dimension, the relation between the number of the volunteers to be counted and the regionality is counted according to the number of the volunteers to be counted corresponding to each area.
Example 2: and when the statistical dimension is a year dimension, determining the annual growth rate of the volunteers to be counted according to the number of the volunteers to be counted corresponding to each year, and obtaining the number change condition of the volunteers with the increase of the years according to the annual growth rate.
Example 3: and when the statistical dimension is a combined dimension of the service category dimension and the service area dimension, the distribution condition of the volunteers of different service categories in each service area can be obtained according to the number of the volunteers to be counted corresponding to each volunteer type.
Example 4, when the statistical dimension is a gender dimension, the relationship between the number of volunteers to be counted and the gender factor can be obtained according to the number of volunteers to be counted corresponding to different genders.
Optionally, the above examples are only examples for analysis, the information system according to the embodiment of the present application performs a classified statistical analysis on each resource to be counted through a volunteer statistical instruction, and based on the volunteers to be counted after the classified statistical analysis, the volunteers corresponding to each resource to be counted and the volunteer distribution situation corresponding to each volunteer type can be determined, and then the information system can perform corresponding operations according to the volunteers of different volunteer types, for example, when the statistical dimension is a service category dimension, service items of different service categories are distributed to the volunteers corresponding to different volunteer types, when the statistical dimension is an area dimension, service items of different areas are distributed to the volunteers corresponding to different volunteer types, and corresponding volunteers to be distributed can also be distributed according to the volunteers corresponding to different volunteer types, and when the statistical dimension is a real-name state dimension and the volunteer type is a real-name state, distributing corresponding service items or corresponding volunteer teams for the volunteers in the real-name state, performing automatic real-name authentication for the volunteers in the non-real-name state, deleting the volunteers, and the like. In addition, after the analysis report is output, the management operation of the user on each classified volunteer to be counted can be received, the management operation is responded, the management operation is recorded, and the management operation is stored in the information system so that the information system can directly finish the operation on the classified volunteer to be counted according to the management operation subsequently without the autonomous operation of the user.
Optionally, while the analysis report is output, the embodiment of the present application may also perform classified storage on the volunteers to be counted after the classified statistics, where the Elasticsearch engine is composed of an Elasticsearch engine cluster, the Elasticsearch engine includes a plurality of storage nodes, and each storage node stores different data. After carrying out classified statistics on the volunteers to be counted, determining volunteers corresponding to the volunteers of different types, generating corresponding index tables for the volunteers of different types, and classifying the volunteers to be counted belonging to the same volunteer type into the same index table, wherein the index table comprises indexes associated with the volunteers to be counted, the indexes of the volunteers to be counted can be determined according to the volunteer information associated with the volunteers to be counted, the indexes can be fields corresponding to the volunteer names of the volunteers to be counted and fields corresponding to the genders of the volunteers to be counted, and are not limited, optionally, one volunteer to be counted can be associated with at least one index, each index associated with the volunteers to be counted corresponds to the same volunteer to be counted, after generating the index tables and indexes corresponding to the volunteers to be counted, and storing the volunteers to be counted in the Elastic search engine according to different index table classifications.
In the embodiment of the application, a corresponding volunteer management department table is set for service areas governed by each management department in advance, a national volunteer table is generated according to volunteer information of all volunteers, the volunteer management department table comprises service areas governed by the management department, the national volunteer table comprises the volunteer information of all volunteers, after a team statistical instruction is received, a target service area of the management department to be counted is obtained through the volunteer management department table corresponding to the management department to be counted, further information of volunteers to be counted and volunteers related to the volunteers to be counted in the target service area is obtained, a characteristic index corresponding to each volunteer to be counted is screened out according to a statistical dimension corresponding to the team statistical instruction, and the characteristic dimension is used as an input of a preset model, the volunteer types corresponding to the volunteers to be counted are determined through the preset model, then the volunteers to be counted are subjected to statistical analysis according to the volunteer distribution conditions corresponding to the volunteer types, and an analysis report is generated according to the statistical analysis result.
Second embodiment
Referring to fig. 8, according to the first embodiment, the step S52 includes:
step S525, determining the number of clusters corresponding to the statistical dimension;
step S526, clustering the characteristic indexes according to the clustering number to generate each target cluster;
step S527, determining the volunteer type according to the target cluster to which the volunteer to be counted belongs.
In this embodiment of the present application, the preset model may be a clustering model, the clustering model is obtained by performing iterative training on training data through a preset clustering algorithm, the preset clustering algorithm may be at least one of a KMeans clustering algorithm, a hierarchical clustering algorithm, and a density clustering algorithm, and preferably, the KMeans clustering algorithm is used as an example analysis in the present application.
Optionally, the K value of the number of clusters may be directly determined according to the statistical dimension, for example, the statistical dimension includes a gender dimension, and the K value is 2. In addition, the K value of the number of clusters can be determined according to an elbow rule, specifically, a K value interval is randomly determined, a loss function is obtained, the sum of squares of errors of each K value in the K value interval is determined according to the loss function, and the K value corresponding to the sum of squares of errors is determined as the number of clusters.
Optionally, after determining the number of clusters, clustering the feature indicators according to the number of clusters includes selecting feature indicators of the number of clusters from the feature indicators according to a maximum distance method according to the number of clusters, using the selected feature indicators as cluster centers, clustering the feature indicators except for the cluster centers according to the initial cluster centers, that is, obtaining distances between the feature indicators except for the cluster centers and the initial cluster centers, dividing the feature indicators into clusters closest to the cluster centers, after obtaining each cluster, determining an average feature indicator of each cluster according to the feature indicators included in each cluster, replacing the cluster centers according to the average feature indicators of each cluster, and further clustering the feature indicators again according to the cluster centers, and circulating the steps until a clustering condition is met, wherein the clustering condition can be that the clustering frequency reaches a preset clustering frequency, or that the difference value between the finally obtained average characteristic index and the clustering center is less than a set threshold value.
Optionally, after a clustering condition is met, determining each cluster obtained last time as a target cluster corresponding to the volunteer to be counted, wherein each target cluster comprises a plurality of characteristic indexes, and the similarity of the characteristic indexes in the same target cluster is higher than the similarity of the characteristic indexes not in the same target cluster.
Optionally, after the target clusters are generated, based on the feature indexes being associated with the corresponding volunteers to be counted, after the feature indexes included in each target cluster are determined, the target cluster to which each volunteer to be counted belongs can be determined according to the volunteers to be counted associated with the feature indexes, and then the volunteer type can be determined according to the target cluster to which the volunteer to be counted belongs, specifically, the volunteer type corresponding to the target cluster is determined according to the cluster center corresponding to the target cluster, and then the volunteer type corresponding to the volunteer to be counted is determined according to the volunteer type corresponding to each target cluster, for example, in the case that the cluster centers are 25 years old, 40 years old, and 60 years old, the volunteer type corresponding to each target cluster can be determined to be a young type, a middle-aged type, and an old-aged type.
Optionally, after determining the volunteer type corresponding to each volunteer, referring to fig. 9, the step S53 includes:
step 535, determining the number of the volunteers to be counted corresponding to each volunteer type according to the number of the characteristic indexes contained in each target cluster, and determining the number of the volunteers to be counted corresponding to each volunteer type as the volunteer distribution condition;
step S536, determining the statistical analysis result according to the number of the volunteers to be counted corresponding to each volunteer type;
and step S537, generating the analysis report according to the statistical analysis result.
Optionally, determining a volunteer distribution situation corresponding to each volunteer type according to the number of the characteristic indexes included in the target cluster, where the volunteer distribution situation includes the number of volunteers to be counted corresponding to each volunteer type.
Optionally, after determining the volunteer distribution situation corresponding to each volunteer type, determining the statistical analysis result according to the analysis and statistics manner of the first embodiment, and further generating the analysis report according to the statistical analysis result, which is described in detail based on the first embodiment and is not repeated here.
In the embodiment of the application, after the corresponding characteristic indexes are obtained, the characteristic indexes are clustered according to a preset clustering algorithm to generate a plurality of target clusters, the similarity of the characteristic indexes in the same target cluster is high, and based on the fact that the volunteers to be counted are divided into the target clusters, a user can set corresponding management strategies for the volunteers to be counted according to the target clusters, so that the management efficiency is improved.
Furthermore, an embodiment of the present invention further provides a computer-readable storage medium, where a statistical program is stored, and the statistical program, when executed by a processor, implements the steps of the above-described embodiments.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or system. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or system that comprises the element.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium (e.g., ROM/RAM, magnetic disk, optical disk) as described above and includes instructions for enabling a terminal device (e.g., a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
The above description is only a preferred embodiment of the present invention, and is not intended to limit the scope of the present invention, and all equivalent structures or equivalent processes performed by the present invention or directly or indirectly applied to other related technical fields are also included in the scope of the present invention.

Claims (10)

1. A statistical method is applied to an information system of a terminal device, and is characterized in that the statistical method comprises the following steps:
carrying out regional coding on service areas corresponding to all volunteer management departments in advance to generate volunteer management department tables corresponding to all the service areas;
when a volunteer counting instruction is received, acquiring a target service area of a management department to be counted according to the volunteer management department table;
obtaining volunteer information related to volunteers to be counted from a national volunteer table according to the target service area, wherein the national volunteer table comprises the stored volunteer information of all the volunteers;
performing data analysis on the obtained volunteer information;
and performing statistical analysis according to the statistical dimension in the volunteer statistical instruction, generating a corresponding analysis report according to the statistical analysis result, and displaying the analysis report on the information system so that a user can manage all volunteers in the target service area administered by the user, wherein the volunteer statistical instruction comprises the statistical dimension.
2. The statistical method of claim 1, wherein performing statistical analysis according to statistical dimensions in the volunteer statistical instruction and generating a corresponding analysis report according to a result of the statistical analysis comprises:
determining the characteristic index of the volunteer to be counted according to the volunteer information and the counting dimension;
the characteristic indexes are used as input of a preset model, and the volunteer types corresponding to the volunteers to be counted are determined through the preset model;
and carrying out statistical analysis on the volunteers to be counted according to the volunteer distribution condition corresponding to the volunteer type, and generating an analysis report according to the statistical analysis result.
3. The statistical method of claim 2, wherein the step of determining the characteristic indicator of the volunteer to be counted according to the volunteer information and the statistical dimension comprises:
screening volunteer information corresponding to the statistical dimension from the volunteer information;
and determining the volunteer information corresponding to the statistical dimension as the characteristic index of each volunteer to be counted.
4. The statistical method of claim 2, wherein the step of determining the volunteer type corresponding to each volunteer to be counted through the preset model by using the characteristic index as an input of the preset model comprises:
obtaining classification intervals corresponding to the statistical dimensions and threshold ranges corresponding to the classification intervals;
comparing the characteristic indexes with threshold ranges corresponding to the classification intervals to determine the classification intervals corresponding to the characteristic indexes;
determining the volunteer type corresponding to the classification interval according to the corresponding relation between the preset classification interval and the volunteer type;
and determining the volunteer type corresponding to the classification interval as the volunteer type of the volunteer to be counted.
5. The statistical method of claim 2, wherein the preset model comprises a clustering model, the characteristic index is used as an input of the preset model, and the step of determining the volunteer type corresponding to each volunteer to be counted through the preset model comprises:
determining the number of clusters corresponding to the statistical dimension;
clustering the characteristic indexes according to the clustering number to generate each target cluster;
and determining the volunteer type according to the target cluster to which the volunteer to be counted belongs.
6. The statistical method of claim 4, wherein the step of performing statistical analysis on the volunteers to be counted according to the volunteer distribution corresponding to the volunteer type and generating an analysis report according to the statistical analysis result comprises:
determining volunteers to be counted corresponding to each classification interval according to the characteristic indexes contained in each classification interval;
determining the volunteer distribution situation corresponding to each volunteer type according to the volunteers to be counted corresponding to each classification interval;
acquiring the number of volunteers corresponding to each volunteer type according to the volunteer distribution condition, and determining the statistical analysis result according to the number of volunteers corresponding to each volunteer type;
and generating the analysis report according to the statistical analysis result.
7. The statistical method of claim 5, wherein the step of performing statistical analysis on the volunteers to be counted according to the volunteer distribution corresponding to the volunteer type and generating an analysis report according to the statistical analysis result comprises:
determining the number of volunteers to be counted corresponding to each volunteer type according to the number of the characteristic indexes contained in each target cluster, and determining the number of volunteers to be counted corresponding to each volunteer type as the volunteer distribution condition;
determining the statistical analysis result according to the number of the volunteers to be counted corresponding to each volunteer type;
and generating the analysis report according to the statistical analysis result.
8. The statistical method of claim 1, wherein the step of presenting the analytic report on the information system comprises:
and outputting the analysis report in a preset display mode, wherein the preset display mode comprises at least one of a list mode, a tree diagram mode and a pie diagram mode.
9. A terminal device, characterized in that the terminal device comprises: memory, processor and statistical program stored on the memory and executable on the processor, the statistical program when executed by the processor implementing the steps of the statistical method according to any one of claims 1 to 8.
10. A computer-readable storage medium, characterized in that the computer-readable storage medium has stored thereon a statistical program which, when executed by a processor, implements the steps of the statistical method according to any one of claims 1 to 8.
CN202210663130.8A 2022-06-13 2022-06-13 Statistical method, terminal device and computer-readable storage medium Pending CN115048379A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210663130.8A CN115048379A (en) 2022-06-13 2022-06-13 Statistical method, terminal device and computer-readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210663130.8A CN115048379A (en) 2022-06-13 2022-06-13 Statistical method, terminal device and computer-readable storage medium

Publications (1)

Publication Number Publication Date
CN115048379A true CN115048379A (en) 2022-09-13

Family

ID=83161860

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210663130.8A Pending CN115048379A (en) 2022-06-13 2022-06-13 Statistical method, terminal device and computer-readable storage medium

Country Status (1)

Country Link
CN (1) CN115048379A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116468213A (en) * 2023-03-07 2023-07-21 杭州城市大脑有限公司 Personnel information matching and calling method based on urban brain

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116468213A (en) * 2023-03-07 2023-07-21 杭州城市大脑有限公司 Personnel information matching and calling method based on urban brain
CN116468213B (en) * 2023-03-07 2023-10-27 杭州城市大脑有限公司 Personnel information matching and calling method based on urban brain

Similar Documents

Publication Publication Date Title
CN112163724A (en) Environment information data resource integration system
CN109784721B (en) Employment data analysis and data mining analysis platform system
CN110109908B (en) Analysis system and method for mining potential relationship of person based on social basic information
CN110674206A (en) Knowledge sharing platform applied to enterprises
CN111652468A (en) Business process generation method and device, storage medium and computer equipment
CN112817834B (en) Data table evaluation method and device
CN111709714A (en) Method and device for predicting lost personnel based on artificial intelligence
CN111222790B (en) Method, device and equipment for predicting risk event occurrence probability and storage medium
CN115048379A (en) Statistical method, terminal device and computer-readable storage medium
CN112330227A (en) Urban management capability evaluation method and system based on digital urban management service construction
TWI684147B (en) Cloud self-service analysis platform and analysis method thereof
CN116089490A (en) Data analysis method, device, terminal and storage medium
CN117520386A (en) Index query method, system, electronic device and storage medium
Ponomareva et al. Training of specialists in on-board communication systems
Riemer et al. Metrics selection for group type identification in Enterprise Social Network (ESN) analytics.
CN114185878A (en) Method and device for generating data verification based on field definition
CN110189045A (en) A method of it is supervised for judicial early warning
CN116719665B (en) Intelligent judging and identifying method for abnormal state of meteorological numerical mode
CN112800176B (en) Organization member mining method and device based on identity and terminal identification
CN114155038B (en) Epidemic situation affected user identification method
US20210358267A1 (en) Operation system based on membership level and method thereof
CN113919563A (en) Data prediction method, device, equipment and readable storage medium
Riemer et al. What’s in a Group? Identification of group types for Enterprise Social Network Analytics using SWOOP data
Zhu Analysis of the Wordle data based on a time-series prediction model
Al-Mamory et al. Enhancing attribute oriented induction of data mining

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