Score management system and operation method thereof
By designing a score management system that uses web front-end technology and Go language to call Java programs, the shortcomings of traditional systems in resource consumption and data processing are solved, and the effective processing of diversified score data and the generation of score files in complex formats are realized, which improves the efficiency of score entry and the flexibility of the system.
Patent Information
- Application Number
- CN202510015001.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-01-06
- Publication Date
- 2025-05-13
Smart Images

Figure CN119988679A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of information management, and in particular to a performance management system. Background Art
[0002] The backend of traditional grade management information systems is usually implemented in Java programming language. Running web services for a long time consumes a lot of resources, especially memory resources, which is not the best solution for limited resources or cloud computing environments. In addition, due to the diversity of entered grades, there are differences such as gender differences and grade differences. After entering grades, traditional grade management information systems are difficult to fully cover the data processing of different types of grades. Summary of the invention
[0003] The present application provides a performance management system and an operation method thereof, so as to reduce memory resource consumption and complete the conversion and verification of diversified performance data after entry.
[0004] In the first aspect, the present application provides a grade management system, comprising: an input module, for receiving a number of input grade signals input from the outside, and transmitting the input grade signals to a processing module, the input grade signals comprising: a number of grade entry values, a grade table; a processing module, connected to the input module, for, upon receiving the input grade signal, using web front-end technology to perform preset processing operations on the input grade signal, to obtain a number of original grades for a single subject, and transmitting the number of original grades for a single subject to a network database; a network database, connected to the processing module, for storing a number of original grades for a single subject; the input module, also for transmitting the export signal to the network database and the export module when receiving an external input export signal, the export signal comprising: student admission age information, student grade year information; an export module, connected to the input module and the network database, for calling a preset Java program using the go language according to the export signal and the network database to generate an export file.
[0005] In some implementations, the design management module is connected to the processing module and includes a number of configuration parameters and calculation formulas; the design management module configures the preset processing operations according to the visualization configuration parameters and calculation formulas; the processing module 20 is also used to display the original scores of individual subjects in the score entry interface in the input module 10.
[0006] In some implementations, the export module also includes a first text generation submodule, which is used to use the go language to search the network database according to the export signal, and to combine the export signal with the original scores of the single subject to obtain several groups of matching arrays; the first text generation submodule is used to generate json export text according to the several groups of matching arrays; the export module also includes a second text generation submodule, which is connected to the first text generation submodule and is used to use the go language to call a preset Java program to process the json export text and generate an xls text as an export file.
[0007] In some implementations, the grade management system also includes a calculation module, which is connected to the processing module. The calculation module uses a grade conversion algorithm to convert the original grade of each subject into a corresponding single subject percentage score according to a number of preset conversion rule files; the calculation module is connected to the network database and uses a preset go language weighted program to perform a weighted average of the percentage scores of each subject to calculate the individual's total grade for the year, and store the individual's total grade for the year in the network database; the calculation module is also used to perform a weighted average of each individual's total grade for the year according to the graduation grade weighted model table in the network database to calculate the graduation grade.
[0008] In some implementations, the calculation module is also used to, when the percentage score of a single subject is greater than the upper limit of the percentage score, subtract the upper limit of the percentage score from the percentage score of the single subject to calculate the additional points; the calculation module is also used to calculate the percentage score of the single subject, the additional points, and the preset weights corresponding to the percentage score of the single subject according to the additional points weighted formula to obtain the individual's total score for the year; the additional points calculation formula is T = sum(Ti*Xi+Fi); wherein T is the individual's total score for the year, Ti is the percentage score of the single subject, Xi is the preset weight, and Fi is the additional points.
[0009] In some implementations, the grade management system also includes a verification module, which is connected to the input module and is also used to receive a number of input grade signals sent by the input module, and divide the input grade signals into a number of original arrays according to a number of preset identification codes; wherein the number of preset identification codes correspond to the student information in the number of input grade signals, and the original array is in json format; the verification module is also connected to the network database, and is used to call the preset verification student list stored in the network database, and convert the preset verification student list into a verification array; wherein the preset student list includes a preset identification code, and the verification array is in json format; the verification module is also used to analyze the original array and the verification array according to the preset identification code to obtain a conversion array; and transmit the conversion array as the converted original score of a single subject to the network database.
[0010] In some implementations, the verification module also includes a data screening submodule, which is used to remove the student information corresponding to the preset identification code in the original array when the original array includes a preset identification code and the verification array does not include the preset identification code, and generate a screened conversion array.
[0011] In the second aspect, the present application provides an operating method of a grade management system, including: the grade management system continuously obtains external signals, the external signals include: a number of input grade signals and export signals; when the grade management system receives a number of input grade signals, the grade management system uses web front-end technology to perform preset processing operations on the input grade signals to obtain a number of original grades for a single subject; the input grade signals include: grade entry values, grade tables; the original grades for a number of single subjects are stored in a network database; when the grade management system receives an export signal, the grade management system uses the go language to call a preset Java program based on the export signal and the network database to generate an export file; the export signal includes: student admission age information, student grade year information.
[0012] In some implementations, when the grade management system receives an export signal, the grade management system uses the go language to call a preset Java program based on the export signal and the network database to generate an export file, including: when the grade management system receives an export signal, the grade management system uses the go language to search the network database based on the export signal, and combines the student information with the original scores of the single subject to obtain several groups of matching arrays; generates a json export text based on the several groups of matching arrays; uses the go language to call a preset Java program to process the json export text, and generates an xls text as an export file.
[0013] In some implementations, after storing the original scores of several subjects in the network database, the method also includes: converting the original score of each subject into a corresponding percentage score of the subject according to several preset conversion rule files and using a score conversion algorithm; using a preset go language weighted program to perform a weighted average on the percentage score of each subject to calculate the individual's total score for the year; storing the individual's total score for the year in the network database; and according to the graduation score weighted model table in the network database, performing a weighted average on the total score of each individual in the graduation score weighted model table to calculate the graduation score.
[0014] In some implementations, the use of a preset go language weighted program to perform a weighted average of the percentage scores of each subject to calculate the individual's total score for the year also includes: when the percentage score of a subject is greater than the upper limit of the percentage score, subtract the upper limit of the percentage score from the percentage score of the subject to obtain additional points; according to the additional point weighted formula, the percentage score of the subject, the additional points, and the preset weights corresponding to the percentage scores of the subject are calculated to obtain the individual's total score for the year; the additional point calculation formula is T=sum(Ti*Xi+Fi); wherein T is the individual's total score for the year, Ti is the percentage score of the subject, Xi is the preset weight, and Fi is the additional points.
[0015] In some implementations, when the grade management system receives a number of input grade signals, the grade management system uses web front-end technology to perform preset processing operations on the input grade signals to obtain a number of original grades for a single subject. It also includes: when the grade management system receives a number of input grade signals, according to a number of preset identification codes, the input grade signals are divided into a number of original arrays; wherein the number of preset identification codes correspond to the student information in the number of input grade signals, and the original array is in json format; calling the preset verification student list stored in the network database, and converting the preset verification student list into a verification array; wherein the preset student list includes a preset identification code, and the verification array is in json format; according to the preset identification code, analyzing the original array and the verification array to obtain a conversion array; and using the conversion array as the converted number of original grades for a single subject.
[0016] In some implementations, the method of analyzing the original array and the verification array according to the preset identification code to obtain the conversion array also includes: when the original array includes the preset identification code and the verification array does not include the preset identification code, removing the student information corresponding to the preset identification code in the original array to generate the conversion array.
[0017] Compared with the prior art, the present invention has at least one of the following beneficial effects:
[0018] The grade management system in this application uses web front-end technology to process various input grade signals to obtain the original grades of individual subjects, and calls the Java process through the go language to realize the generation and export of grade files in complex formats, thereby meeting the needs of the system in more scenarios; and this application uses the go language as the main back-end programming language to further save the network resources required by traditional development languages.
[0019] In this application, the grade management system calls a preset conversion rule file that matches the scenario to convert the original grades of a single subject into a percentage score, and implements the respective percentage conversion rules for the original grades of a single subject of different categories; and uses the go language to implement the weighted average of the percentage scores, and finally calculates the graduation grades, thereby avoiding manual score calculation and statistics and improving the efficiency of grade entry.
[0020] In this application, the grade management system also uses a calculation module to convert the original scores of individual subjects into percentage scores of individual subjects, and then calculates the additional scores to meet the statistical needs of the grade management system in more scenarios.
[0021] The grade management system in this application also verifies the input grade signal through the verification module, and removes the student grade data that does not meet the verification conditions, thereby saving the time cost of manually verifying student information. BRIEF DESCRIPTION OF THE DRAWINGS
[0022] The following is a brief introduction to the drawings used in describing the embodiments of this application:
[0023] Figure 1 It is a structural block diagram of a performance management system provided by an embodiment of the present application;
[0024] Figure 2 It is a flow chart of an operating method of a performance management system provided by an embodiment of the present application;
[0025] Figure 3 It is a flow chart of an operating method of a performance management system provided by an embodiment of the present application;
[0026] Figure 4 It is a flow chart of an operating method of a performance management system provided by an embodiment of the present application;
[0027] Figure 5 It is a flow chart of an operating method of a performance management system provided by an embodiment of the present application;
[0028] Explanation of the accompanying figures: 10 - input module; 20 - processing module; 30 - network database; 40 - export module; 41 - first text generation submodule; 42 - second text generation submodule; 50 - design management module; 60 - calculation module; 70 - verification module; 71 - data screening submodule. DETAILED DESCRIPTION
[0029] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the specific implementation methods of the present application will be described below with reference to the accompanying drawings. The accompanying drawings and implementation methods described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings and implementation methods can be obtained based on these accompanying drawings and implementation methods without paying creative work. Adjustments and improvements made without departing from the concept of the present application are all within the scope of protection of the present application.
[0030] In order to simplify the drawings, only the parts related to the present application are schematically shown in each figure, and they do not represent the actual structure of the product. In addition, in order to simplify the drawings and facilitate understanding, in some figures, only parts with the same structure or function are schematically shown, and there may be more or fewer parts with the same structure or function in reality.
[0031] In this application, unless otherwise expressly specified and limited, ordinal numbers, such as "first", "second", etc., are only used to distinguish and describe related objects, and cannot be understood as indicating or implying the relative importance or order between related objects; in addition, they do not represent the number of related objects. The terms "install" and "connect" should be understood in a broad sense. For example, "install" can be installed directly or through other components; "connect" can be connected directly or through other components.
[0032] The backend of traditional grade management systems is usually implemented in Java programming language. Running web services for a long time consumes a lot of resources, especially memory resources, which requires 1-4GB of memory. It is not the best solution for limited resources or cloud computing environments. And because the input grades are diverse and there are differences such as gender differences and grade differences, it is difficult for traditional grade management information systems to fully cover the data processing of different types of grades after the grades are entered. In addition, the traditional grade management system cannot fully cover the data processing of grade entry, table import, verification, additional points processing, percentage grade conversion, additional points processing, graduation grade weighted calculation, etc. In addition, using only the go language program as the backend programming language of the grade management system has defects when exporting xls files and cannot meet the export requirements of complex formats.
[0033] Therefore, the embodiment of the present application provides a grade management system and its operation method, which can process a variety of input grade signals through a preset conversion rule file, and generate and export grade files in complex formats by calling a Java process through the go language, thereby meeting the needs of the system in more scenarios; and also completes the additional score processing and student identity authentication through a calculation module and a verification module, respectively, to improve the function of the grade management system. The following is a description with reference to the accompanying drawings:
[0034] Please refer to the instruction manual Figure 1 , which is a structural block diagram of a performance management system provided by an embodiment of the present application. Figure 1 As shown, the score management system includes an input module 10 , a processing module 20 , a network database 30 , and an export module 40 .
[0035] The input module 10 is used to receive a plurality of input score signals input from the outside, and transmit the input score signals to the processing module 20. The input score signals include: a plurality of score entry values and score tables. When the input score signals are score entry values, the scores are entered subject by subject through the front-end score entry interface; when the input score signals are score tables, the table file can be parsed into a two-dimensional array through the front-end web page component, and the input score signals in the form of two-dimensional arrays are subsequently processed.
[0036] The processing module 20 is connected to the input module 10, and is used to perform preset processing operations on the input score signal using the web front-end technology when receiving the input score signal, obtain a number of original scores of individual subjects, and transmit the original scores of individual subjects to the network database 30; the front-end network can use JS+H5 development language and supporting framework. The processing module 20 processes the diversified input score signals based on the preset processing operations of the front-end web page. The diversified input score signals refer to the input score signals of different subjects that need to use different score conversion methods to obtain the converted original scores of individual subjects. For example: the score management system obtains the following according to the score data in the input score signal: the student weight is 75kg, the student height is 1.76m, and when calculating the height-weight index subject, it is also necessary to call the calculation formula bmi=weight / (height*height), where bmi is the height-weight index, weight is the student weight, and height is the student height.
[0037] The network database 30 is connected to the processing module 20 and is used to store a number of original scores of individual subjects. The network database 30 can use a Mysql database.
[0038] The input module 10 is also used to receive an externally input export signal and transmit the export signal to the network database 30 and the export module 40. The export signal includes: student enrollment age information and student grade year information. The export module 40 is connected to the input module 10 and the network database 30, and is used to call a preset Java program using the go language according to the export signal and the network database 30 to generate an export file. The export module 40 calls a preset Java program with a script as the running entry through the command line interface of the go language to complete the generation of the grade data file in the required format; the script uses a file in the sh format, and the preset Java program is started by calling the script.
[0039] The grade management system of this embodiment processes various input grade signals through web front-end technologies such as JS+H5 development language and supporting framework to obtain the original grades of single subjects, and adopts Go development language and corresponding development framework at the back end. The Go language calls the preset Java program with script as the running entry to realize the generation and export of grade files in complex formats, thereby meeting the needs of the system in more scenarios. And using Go language as the main back-end programming language of the grade management system also saves the network resources required by traditional development languages.
[0040] This embodiment provides a performance management system based on the above-mentioned embodiment, and further includes a design management module 50 .
[0041] The design management module 50 is connected to the processing module 20 and includes a number of visual configuration parameters and calculation formulas; the design management module 50 configures the preset processing operation according to the configuration parameters and the calculation formulas;
[0042] The processing module 20 is also used to display the original scores of individual subjects on the score entry interface in the input module 10 .
[0043] Specifically, the input module 10 includes a score entry interface of the front-end web page, and the score entry value is input and displayed by the score entry interface in the input module 10. The original score of a single subject obtained by data processing by the processing module 20 is also displayed in the score entry interface, and the design management module 50 performs a visual configuration of the preset processing operations performed by the processing module 20. The following table 1 is a visual configuration interface of the design management module 50 for four subjects, namely height, weight, BMI, and long-distance running. The configuration parameters include gender matching, value type, and parameters representing whether the subject score is displayed in the score attribute. The calculation formula includes a single subject original score calculation formula, such as: height and weight index calculation formula. The processing module 20 calculates and displays the original score of a single subject according to several configuration parameters and calculation formulas in the design management module 50. Among them, the subject name is represented by a combination of English letters. The title is usually in Chinese. Table 1 contains comma-separated titles. The title starting with M indicates the 1000-meter long-distance running test item for boys, and the title starting with F indicates the 800-meter long-distance running test item for girls. The title is displayed on the score entry interface and is used to identify the subject when performing the input score operation or the export score operation. Gender matching indicates that the score of this subject is suitable for gender. The value range is: A indicates that it is suitable for both boys and girls, M indicates that it is suitable for boys, and F indicates that it is suitable for girls. The value type is used to control the display type of the subject. There are two formats of value types: one format is a V:N number combination, which indicates a number with a specific precision, such as N0 indicates an integer, N1 indicates that 1 decimal place is retained, N2 indicates that 2 decimal places are retained, and so on; the other format is a calculation format in the form of "E: expression". The N number combination in the expression is the same as above, indicating a number with a specific precision, such as E:N0"N2' indicates that the long-distance running format supports the form of 3"02'. In the score attribute, I means that the score does not need to be displayed, S means that the score needs to be displayed, and other formats are calculation expressions, which represent non-input fields. The calculation expression is used to automatically generate and display the calculated value. For example: The calculation expression in Table 1 below is the height and weight index generation formula bmi={weight} / (0.01*{height}*0.01*{height}).
[0044]
[0045] Table 1
[0046] Table 2 below is a score entry interface generated according to Table 1. The score entry interface is displayed row by row. The first column is the subject name, the second column is the input box, the third column is the score name, and the fourth column is a read-only input box for the value of the original score of a single subject. The input box is displayed as a corresponding digital input box according to the data type, and the precision range is set. The input box is the score entry value in the input score signal. The third and fourth columns in the score entry interface determine whether to display according to the score attribute in Table 1. If it is I, it will not be displayed, and S will be displayed normally. When the value in the input box corresponding to the score changes, the score is automatically calculated and displayed in the last column. Specifically, it can be seen in Table 2 below that height and weight are written according to the score entry value, but the score is not displayed; the height and weight index substitutes the height and weight entry values into the calculation expression in Table 1 to obtain the height and weight index as the score entry value of the processed BMI subject. This part can be specifically realized through the front-end technology to read the data of the height and weight subject, and the calculation expression is executed through the eval function of the web page front-end JS.
[0047]
[0048] Table 2
[0049] This embodiment provides a performance management system based on the above embodiments.
[0050] The export module 40 also includes a first text generation submodule 41. The first text generation submodule 41 also searches the network database 30 through the go language based on the student's admission grade and grade year information in the export signal, and combines the export signal with the original grades of the individual subjects to obtain several groups of matching arrays.
[0051] The specific format of the matching array is as follows:
[0052] {
[0053] "codeNo":"00001",
[0054] "name":"Zhang San",
[0055] "sex":"male",
[0056] "year":2022,
[0057] "testYear":2022,
[0058] ""
[0059] scores:
[0060] {
[0061] "height":176.5,
[0062] "weight":75,
[0063] "longRace":"3'40\"",
[0064] "bmiScore":90,
[0065] "longRaceScore":60,
[0066] }
[0067] The first text generation submodule 41 is also used to generate a json export text according to a plurality of matching arrays. The json export text is generated by first generating a unique random serial number through the UUID component of the go language, then generating a temporary json file named / tmp / [UUID].json, filling the plurality of matching arrays into the temporary json file to finally obtain the json export text, and the first text is the json export text.
[0068] The export module 40 also includes a second text generation submodule 42, which is connected to the first text generation submodule 41 and is also used to call a preset Java program through the go language to process the json export text and generate an xls text as an export file. The second text is the xls text.
[0069] Among them, the basic logic of the preset Java program includes: obtaining the UUID serial number; reading the json export text according to the UUID serial number; reading the preset xls text template; using the poi component to generate the xls file corresponding to the json export text; writing the xls file corresponding to the json export text into the preset xls text template to obtain the required export file / tmp / uuid.xls file; finally converting it into the form of http stream and returning it to the client to complete the file export. When pre-making the preset xls text template, the following method can be used. First, correspond the title name to the above subject title, such as 1000 meters, vital capacity, etc., and add the corresponding score title column after each column title. At this time, the title in the preset xls text template becomes: 1000 meters, 1000 meters score, vital capacity, vital capacity score, etc. Continue to add student information before the first column title: grade, class, student ID, name, gender, test year and other information. The final title is: Grade, Class, Student ID, Name, Gender, Test Year, 1000m, 1000m Score, Vital Capacity, Vital Capacity Score, etc. The rest of the title is left blank for subsequent filling in of the student's real information and scores.
[0070] This embodiment uses the interaction between the go language and the Java language, and completes the highly flexible xls file export task through a configurable preset xls text template, which significantly improves the experience in the score export process; it not only solves the problem that traditional development languages are difficult to meet the needs of xls file export, but also avoids the technical problem of difficulty in realizing complex format export when only using the go language as the system development language. Complex formats include multiple fonts, colors, and sizes.
[0071] This embodiment provides a performance management system based on the above-mentioned embodiment, further comprising a calculation module 60.
[0072] The calculation module 60 is connected to the processing module 20. The calculation module 60 is used to use a score conversion algorithm and, based on a number of preset conversion rule files, convert the original score of each subject into a corresponding percentage score of the subject.
[0073] Specifically, the performance conversion algorithm converts the initial performance into the digital format required by the preset conversion rule file. For example, when processing the running performance, the input performance value 3"20' is converted to 3.20, so that the preset conversion rule file can compare the performance level of the input performance value in the preset conversion rule file.
[0074] The preset conversion rule file needs to control the calculation of the percentage score of each subject for different genders and grades of students. A total of eight files are designed: Male_0.json, Male_1.json, Male_2.json, Male_3.json, Female_0.json, Female_1.json, Female_2.json, Female_3.json. The eight files represent the first year of male students, the second year of male students, the third year of male students, the fourth year of male students, the first year of female students, the second year of female students, the third year of female students, and the fourth year of female students.
[0075] The following takes the Male_0.json file as an example to illustrate the design of a specific conversion rule file.
[0076]
[0077]
[0078] The preset conversion file is an object model, in which longrace indicates that the male 1000-meter running subject corresponds to the subject name in the input score signal, min indicates the set minimum value of the score value entered by the input score signal, and max indicates the set maximum value of the score value entered by the input score signal. If the score value entered on the score entry interface is less than min, the entered score is automatically converted to the min value, and if the entered score value is greater than max, the entered score is automatically converted to max; to avoid errors in the score management system caused by abnormal input data. Items represents a list of conversion rules for converting the entered score to a percentage score. Each object in items contains score, max, min, and label attributes. When the entered score is between [min, max], score is used as the percentage score of the entered score, and label coordinates the grade of the entered score; among them, when max is empty, the max value of the parent object is taken, that is, 9.99; when min is empty, the min value of the parent object is taken, that is, 3.18. Based on the configuration of the above preset conversion file, the visual configuration of the conversion of percentage scores for different grades and genders is realized.
[0079] The calculation module 60 is also connected to the network database 30, and uses a preset go language weighted program to perform a weighted average on the percentage score of each subject, calculate the individual's total score for the year, and store the individual's total score for the year in the network database.
[0080] The calculation module 60 is also used to calculate the graduation score by weighted average of each individual's total score in the graduation score weighted model table. The score weighted model table is stored in the relational database in the network database 30. For details, please refer to the following table 3. In addition, when calculating the graduation score of a repeater, first, the individual score of the repeater when repeating the grade is marked as 0; then the individual total score of the repeater each year that is not 0 is obtained to form the following list: [s0, s1, s2, s3], which corresponds to the individual total score of the four academic years. Then, the weight coefficients in the score weighted model table are obtained to form a list: [x0, x1, x2, x3]. Finally, the graduation score FinalScore is calculated by the graduation score calculation formula: FinalScore = s0*x0+s1*x1+s2*x2+s3*x3.
[0081] Grade Number Weight coefficient 0 x0 1 x1 2 x2 3 x3
[0082] Table 3
[0083] This embodiment provides a score management system based on the above-mentioned embodiment. The calculation module 60 is also used to subtract the upper limit of the percentage system score from the percentage system score of the single subject to calculate the additional points when the percentage system score of the single subject is greater than the upper limit of the percentage system score.
[0084] The calculation module 60 calculates the preset weights corresponding to the percentage score of a single subject, the additional score, and the percentage score of a single subject according to the additional score weighting formula to obtain the individual's total score for the year;
[0085] Among them, the formula for calculating additional points is T=sum(Ti*Xi+Fi); among them, T is the individual's total score for the year, Ti is the score of a single subject in percentage, Xi is the preset weight, and Fi is the additional points; when Ti<=100, Fi=0, when Ti>100, Fi=(Ti-100), Ti=100.
[0086] This embodiment provides a performance management system based on the above-mentioned embodiment, and further includes a verification module 70 .
[0087] The verification module 70 is connected to the input module 10 and is also used to receive a number of input score signals sent by the input module 10, and divide the input score signals into a number of original arrays according to a number of preset identification codes; wherein the number of preset identification codes correspond to the student information in the number of input score signals, and the original array is in json format. The preset identification code can be a student ID number, and the student ID number corresponding to each student is named in English code codeNo. The json format original array with codeNo of 00001 is as follows: [
[0089] {
[0090] "codeNo":"00001",
[0091] """"
[0092] error:,
[0093] "scores":{
[0094] "height":176.5,
[0095] "weight":75,
[0096] "longRace":"3'40\"",
[0097] …
[0098] }
[0099] },...... ]
[0101] The original array also has an error variable, which is used to determine whether the scores in the input score signal are normal. For input score signals with empty scores, they are ignored and the student's scores are not parsed. The scores value in the json object is replaced by null, and the error value is filled with "no score". The original json format array with no scores is as follows:
[0102]
[0103] The verification module 70 is also connected to the network database 30, and is used to call the preset verification student list stored in the network database 30, and convert the preset verification student list into a verification array; wherein the preset student list includes a preset identification code, student name, student gender, and year of admission, and the verification array is in json format.
[0104] The validation array is as follows: [
[0106] {
[0107] "codeNo":"00001",
[0108] "name":"Zhang San",
[0109] "sex":"male",
[0110] "year":2022
[0111] },
[0112] {
[0113] "codeNo":"00002",
[0114] "name":"Li Si",
[0115] "sex":"male",
[0116] "year":2022
[0117] }, ]
[0119] The verification module 70 is also used to analyze the original array and the verification array according to the preset identification code to obtain the conversion array; the specific generation logic of the conversion array is: the original array is traversed to check whether its codeNo exists in the verification array. If it exists, the field name is added to the original array object, and the value is the name value matched by the verification array, and so on to fill in sex and year as the fields of gender and year of admission. If it does not exist, the error value in the original array is changed to "student not found". Taking the above original array and verification array as an example, the final processing result is as follows: the first row finds Zhang San's student, and fills in name with Zhang San; the second row finds Li Si, and fills in name with Li Si; if the original array still contains a student with codeNo "00003" and the verification array does not contain a student with codeNo "00003", the student does not exist in the verification array, indicating that the student ID number is not a student in the class. The specific conversion array is as follows: [
[0121] {
[0122] "codeNo":"00001",
[0123] """"
[0124] error:,
[0125] "name":"Zhang San",
[0126] "sex":"male",
[0127] "year":2022,
[0128] "scores":{
[0129] "height":176.5,
[0130] "weight":75,
[0131] "longRace":"3'40\"",
[0132] …
[0133] }
[0134] },
[0135] {
[0136] "codeNo":"00002",
[0137] "name":"Li Si",
[0138] "error":"No results",
[0139] "sex":"male",
[0140] "year":2022,
[0141] "scores":null
[0142] },
[0143] {
[0144] "codeNo":"00003",
[0145] """"
[0146] name:,
[0147] "error":"Student not found",
[0148] "scores":{
[0149] "height":173.5,
[0150] "weight":72,
[0151] "longRace":"4'10\"",
[0152] …
[0153] }
[0154] },...... ]
[0156] The verification module 70 also includes a data screening submodule 71, which is used to remove the student information corresponding to the preset identification code in the original array when the original array includes the preset identification code and the verification array does not include the preset identification code, and generate a filtered conversion array. Specifically, when importing the school's historical score table, since the school's historical score table contains the scores of some junior college students, the scores of junior college students need to be removed according to the statistical requirements of the score management system; the undergraduate student's student ID number is used as the preset identification code in the verification array and stored in the network database 30. The student verification and screening functions can be conveniently implemented through the verification module 70.
[0157] In this embodiment, the verification module 70 first compares the original array converted into json format with the verification array to complete the student identity verification; then the conversion array is used as the updated input score signal, and the conversion array is processed according to the logic of processing scores in the preset conversion rule files of the above-mentioned embodiment to obtain several original scores of individual subjects. This embodiment saves the need to manually verify whether the student identity is normal when manually inputting scores into the score management system, thereby improving the user experience of the score management system.
[0158] Reference Manual Attached Figure 2 , which is a flow chart of an operation method of a performance management system provided by the present application, including:
[0159] S110, the performance management system continuously obtains external signals, which include: a number of input performance signals and export signals.
[0160] S210, when the grade management system receives a number of input grade signals, the grade management system uses web front-end technology to perform preset processing operations on the input grade signals to obtain a number of original grades of individual subjects; the input grade signals include: grade entry values and grade tables.
[0161] In step S210, when the input score signal is a score entry value, the scores are entered subject by subject through the front-end score entry interface; when the input score signal is a score table, the table file can be parsed into a two-dimensional array through the front-end web page component, and the input score signal in the form of a two-dimensional array is subsequently processed.
[0162] S220, storing the original scores of several subjects in a network database.
[0163] In step S220, the network database may use a Mysql database.
[0164] S310, when the grade management system receives the export signal, the grade management system uses the go language to call the preset Java program according to the export signal and the network database to generate an export file; the export signal includes: student admission age information, student grade year information.
[0165] When the grade management system of this embodiment receives an input grade signal, it uses multiple preset conversion rule files to process diversified input grade signals; when the grade management system receives an export signal, it uses the go language to call a preset Java program with a script as the running entry to generate and export grade files in complex formats, thereby meeting the needs of the system in more scenarios; and using the go language as the main programming language of the grade management system also saves the network resources required by traditional development languages.
[0166] This embodiment provides an operation method of a performance management system based on the above embodiment. Step S310 includes:
[0167] S311, when the grade management system receives the export signal, the grade management system uses the go language to search the network database according to the export signal, and combines the student information with the original grades of the single subject to obtain several sets of matching arrays.
[0168] S312, generating JSON export text according to several groups of matching arrays.
[0169] S313, using the go language to call the preset Java program, processing the json export text, and generating an xls text as an export file.
[0170] This embodiment completes the export operation of the grade management system through the interaction of the go language and the Java language, which not only solves the problem that traditional development languages are difficult to meet the export requirements of the xls file format, but also avoids the technical problem of difficulty in realizing the export of complex formats when only the go language is used as the development language. The complex format includes multiple fonts, colors, and sizes.
[0171] This embodiment provides an operation method of a performance management system based on the above embodiment, and after step S220, further includes:
[0172] S221, according to a number of preset conversion rule files and using a score conversion algorithm, convert each subject's original score into a corresponding subject's percentage score.
[0173] S222, using the preset go language weighted program, perform weighted average of the percentage scores of each subject to calculate the individual's total score for the year.
[0174] S223, storing the individual's total score for the year in a network database.
[0175] S224, according to the graduation score weighted model table in the network database, the total score of each individual in the graduation score weighted model table is weighted averaged to calculate the graduation score.
[0176] This embodiment uses a preset conversion rule file to complete the conversion of the original scores of a single subject into a percentage score of a single subject, thereby realizing the classification of scores of students of different grades and genders; and the graduation score calculation is completed based on programming based on the back-end go language weighted program, saving the network resources required by traditional development languages.
[0177] This embodiment provides an operation method of a performance management system based on the above embodiment, step S222 further includes:
[0178] When the percentage score of a single subject is greater than the upper limit of the percentage score, the percentage score of the single subject will be subtracted from the upper limit of the percentage score to get the additional points.
[0179] According to the weighted formula for additional points, the preset weights corresponding to the subject's percentage score, additional points, and subject's percentage score are calculated to obtain the individual's total score for the year.
[0180] The formula for calculating additional points is T=sum(Ti*Xi+Fi); among them, T is the individual's total score for the year, Ti is the score of a single subject out of percentage, Xi is the preset weight, and Fi is the additional points.
[0181] In this embodiment, the upper limit of the percentage score is 100. When Ti<=100, Fi=0. When Ti>100, Fi=(Ti-100), Ti=100. By calculating the additional points after the percentage score of a single subject, the statistical needs of the score management system in more scenarios can be met.
[0182] This embodiment provides an operation method of a performance management system based on the above embodiment, step S210 further includes:
[0183] S211, when the grade management system receives a number of input grade signals, it divides the input grade signals into a number of original arrays according to a number of preset identification codes; wherein the number of preset identification codes correspond to and match the student information in the number of input grade signals, and the original arrays are in json format.
[0184] S212, calling the preset verification student list stored in the network database, and converting the preset verification student list into a verification array; wherein the preset student list includes a preset identification code, and the verification array is in json format.
[0185] S213, analyzing the original array and the verification array according to the preset identification code to obtain a conversion array.
[0186] In step S213, if the original array includes the preset identification code and the verification array does not include the preset identification code, the student information corresponding to the preset identification code in the original array is removed to generate a filtered conversion array.
[0187] S214, the score management system processes the corresponding conversion arrays according to a number of preset conversion rule files, and uses the conversion arrays as the converted original scores of a number of single subjects.
[0188] In this embodiment, the grade management system also verifies the input grade signal and removes the student grade data that does not meet the verification conditions, thereby saving the time cost of manually verifying student information; in addition, when exporting grades, the same verification method can be used to verify the student information before executing the corresponding export process.
[0189] It should be noted that the above embodiments can be freely combined as needed. The above is only a partial implementation of the present application. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principle of the present application, and these improvements and modifications should also be regarded as the protection scope of the present application.
Claims
1. A performance management system, characterized in that: include: An input module, used for receiving a plurality of input performance signals inputted from the outside, and transmitting the input performance signals to a processing module, wherein the input performance signals include: a plurality of performance input values and a performance table; The processing module is connected to the input module and is used to perform a preset processing operation on the input score signal by using the web front-end technology when receiving the input score signal, obtain a number of original scores of individual subjects, and transmit the original scores of individual subjects to the network database; The network database is connected to the processing module and is used to store a number of the original scores of the single subjects; The input module is further used to transmit the export signal to the network database and the export module when receiving the export signal input from the outside, wherein the export signal includes: the student's enrollment age information and the student's grade year information; The export module is connected to the input module and the network database, and is used to call a preset Java program using the go language to generate an export file according to the export signal and the network database.
2. A performance management system according to claim 1, characterized in that: Also includes design management module, The design management module is connected to the processing module and includes a number of configuration parameters and calculation formulas; the design management module configures the preset processing operation according to the configuration parameters and the calculation formulas; The processing module is also used to display the original scores of the single subjects on the score entry interface in the input module.
3. A performance management system according to claim 1, characterized in that: The export module further includes a first text generation submodule, which is further used to use the Go language to search the network database according to the export signal, and to combine the export signal with the original score of the single subject to obtain a plurality of matching arrays; The first text generation submodule is further used to generate JSON export text according to several groups of matching arrays; The export module also includes a second text generation submodule, which is connected to the first text generation submodule and is also used to call the preset Java program using the go language, process the json export text, and generate an xls text as the export file.
4. A performance management system according to claim 1, characterized in that: It also includes a computing module, The calculation module is connected to the processing module, and uses a score conversion algorithm to convert each of the original scores of the subject into a corresponding score in the percentage system according to a plurality of preset conversion rule files; The calculation module is connected to the network database, and uses a preset go language weighting program to perform a weighted average on the percentage score of each subject, calculate the individual's total score for the year, and store the individual's total score for the year in the network database; The calculation module is also used to calculate the graduation score by taking the weighted average of the total score of each individual in the year according to the graduation score weighted model table in the network database.
5. A performance management system according to claim 4, characterized in that: The calculation module is further configured to, when the single subject percentage score is greater than the percentage score upper limit, calculate the additional points by subtracting the percentage score upper limit from the single subject percentage score; The calculation module is further used to calculate the preset weights corresponding to the percentage score of the single subject, the additional score, and the percentage score of the single subject according to the additional score weighting formula to obtain the individual's total score for the year; The additional score calculation formula is T=sum(Ti*Xi+Fi); wherein T is the individual's total score for the year, Ti is the score in percentage for the single subject, Xi is the preset weight, and Fi is the additional score.
6. A performance management system according to claim 1, characterized in that: Also includes the verification module, The verification module is connected to the input module, and is further used to receive the input score signals sent by the input module, and divide the input score signals into a plurality of original arrays according to a plurality of preset identification codes; wherein the plurality of preset identification codes correspond to and match the student information in the plurality of input score signals, and the original arrays are in json format; The verification module is also connected to the network database, and is used to call the preset verification student list stored in the network database, and convert the preset verification student list into a verification array; wherein the preset student list includes the preset identification code, and the verification array is in json format; The verification module is further used to analyze the original array and the verification array according to the preset identification code to obtain a conversion array; and transmit the conversion array as the converted original score of the single subject to the network database.
7. A performance management system according to claim 6, characterized in that: The verification module also includes a data screening submodule, which is used to remove the student information corresponding to the preset identification code in the original array when the original array includes the preset identification code and the verification array does not include the preset identification code, and generate the filtered conversion array.
8. A method for operating a performance management system, characterized in that: include: The performance management system continuously obtains external signals, which include: a number of input performance signals and derived signals; When the score management system receives a plurality of the input score signals, the score management system uses the web front-end technology to perform preset processing operations on the input score signals to obtain a plurality of original scores of individual subjects; the input score signals include: score entry values and score tables; storing the original scores of the several subjects in a network database; When the grade management system receives the export signal, the grade management system uses the go language to call a preset Java program based on the export signal and the network database to generate an export file; the export signal includes: student admission age information and student grade year information.
9. The method for operating a performance management system according to claim 8, characterized in that: When the score management system receives the export signal, the score management system uses the go language to call a preset Java program according to the export signal and the network database to generate an export file, including: When the score management system receives the export signal, The score management system uses the Go language to search the network database according to the export signal, and combines the student information with the original scores of the single subject to obtain a plurality of matching arrays; Generate json export text according to several groups of matching arrays; The preset Java program is called by using the go language to process the json export text and generate an xls text as the export file.
10. The method for operating a performance management system according to claim 8, characterized in that: After storing the original scores of the several subjects in the network database, the method further includes: According to the preset conversion rule files, and using the score conversion algorithm, each of the original scores of the single subject is converted into a corresponding score in percentage system of the single subject; Using the preset go language weighting program, the weighted average of the percentage score of each subject is calculated to obtain the individual's total score for the year; Storing the individual's total score for the year in the network database; According to the graduation score weighted model table in the network database, the total score of each individual in the graduation score weighted model table for the year is weighted averaged to calculate the graduation score.
11. The method for operating a performance management system according to claim 10, characterized in that: The method of using a preset go language weighting program to perform a weighted average on the percentage score of each subject to calculate the individual's total score for the year also includes: When the percentage score of the single subject is greater than the upper limit of the percentage score, the percentage score of the single subject is subtracted from the upper limit of the percentage score to obtain the additional points; According to the additional score weighting formula, the preset weights corresponding to the single subject percentage score, the additional score, and the single subject percentage score are calculated to obtain the individual's total score for the year; The additional score calculation formula is T=sum(Ti*Xi+Fi); wherein T is the individual's total score for the year, Ti is the score in percentage for the single subject, Xi is the preset weight, and Fi is the additional score.
12. The method for operating a performance management system according to claim 8, characterized in that: When the score management system receives the input score signals, the score management system uses the web front-end technology to perform preset processing operations on the input score signals to obtain the original scores of several subjects, and further includes: When the score management system receives a plurality of the input score signals, According to a plurality of preset identification codes, the input score signal is divided into a plurality of original arrays; wherein the plurality of preset identification codes are matched with the student information in the plurality of input score signals, and the original arrays are in json format; Calling the preset verification student list stored in the network database, and converting the preset verification student list into a verification array; wherein the preset student list includes the preset identification code, and the verification array is in json format; According to the preset identification code, the original array and the verification array are analyzed to obtain a conversion array, and the conversion array is used as the converted original scores of the several single subjects.
13. The method for operating a performance management system according to claim 12, characterized in that: The step of analyzing the original array and the verification array according to the preset identification code to obtain a conversion array further includes: When the original array includes the preset identification code and the verification array does not include the preset identification code, the student information corresponding to the preset identification code in the original array is removed to generate the conversion array.