Evaluation data processing method and device based on multi-thread technology, computer equipment, readable storage medium and program product
Through multi-threading technology, the problem of high pressure on server data processing is solved, and efficient resource utilization and business impact avoidance is achieved.
Patent Information
- Application Number
- CN202411166149.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-23
- Publication Date
- 2024-11-08
AI Technical Summary
In e-commerce operations, the huge amount of evaluation data leads to excessive pressure on server data processing. Traditional methods such as expanding capacity or upgrading hardware configurations increase economic costs and harsh conditions, resulting in insufficient resources.
Using the evaluation data processing method based on multi-threading technology, the pre-set data evaluation template is obtained, and the initial evaluation data is sent to multiple clients to obtain, and the initial evaluation data is converted into target evaluation data. The weighted calculation is performed based on the indicators and weights, and the paging is processed using multi-threading. Data, reduce server pressure.
Effectively paging the evaluation data, make full use of system resources, reduce server data processing pressure, avoid impact on other services, and improve data processing efficiency.
Smart Images

Figure CN118916143A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of computer technology, and in particular to a method, apparatus, computer device, computer-readable storage medium and computer program product for processing evaluation data based on multi-threading technology. Background Art
[0002] With the development of computer and Internet technology, more and more businesses are switching from offline operations to e-commerce operations. Due to the huge number of users, the amount of evaluation data generated in the process of e-commerce operations generally reaches millions or even tens of millions, which will bring huge data processing pressure to the server and may also affect the normal operation of other businesses.
[0003] In traditional technology, the data processing capacity of the server is mainly improved by expanding or upgrading the server hardware configuration. However, expanding or upgrading the hardware configuration will invisibly increase the economic cost of the mall operator, and the implementation conditions of this method are relatively harsh, resulting in the widespread problem of insufficient data processing resources for evaluation data. Summary of the invention
[0004] Based on this, it is necessary to provide an evaluation data processing method, device, computer equipment, computer-readable storage medium and computer program product based on multi-threading technology to address the above technical problems.
[0005] In a first aspect, the present application provides an evaluation data processing method based on multi-threading technology, comprising:
[0006] Acquire a preset data evaluation template, and send the data evaluation template to a plurality of clients respectively, so that each of the clients can acquire the initial evaluation data input by the user for the target object according to the data evaluation template;
[0007] Receiving the initial evaluation data sent by each of the clients, and converting the initial evaluation data into target evaluation data for automatic calculation;
[0008] According to the multiple indicators included in the data evaluation template and the weights corresponding to the indicators, weighted calculation is performed on the target evaluation data to obtain the evaluation score corresponding to the target evaluation data;
[0009] According to the object identification information of the target object, a corresponding target information entry in a matching object score database is matched;
[0010] The evaluation score is entered into the target information entry in the object score database.
[0011] In one of the embodiments, the client obtains initial evaluation data input by the user for the target object according to the data evaluation template, including: the client determines the target object corresponding to the evaluation request in response to the evaluation request initiated by the user; sets evaluation data input entries corresponding to multiple indicators respectively according to the multiple indicators included in the data evaluation template; and obtains the initial evaluation data input by the user for the target object at the evaluation data input entry.
[0012] In one embodiment, the receiving the initial evaluation data sent by each of the clients and converting the initial evaluation data into target evaluation data for automatic calculation includes:
[0013] According to a preset frequency, the initial evaluation data sent by each client is received regularly; the time batch of each receiving time is determined; and the initial evaluation data contained in each time batch is converted into the target evaluation data for automatic calculation in batches.
[0014] In one embodiment, the converting the initial evaluation data contained in each of the time batches into the target evaluation data for automatic calculation in batches includes:
[0015] The initial evaluation data contained in any of the time batches are cleaned; the initial evaluation data after data cleaning are normalized to obtain evaluation data with values within a preset range as the target evaluation data.
[0016] In one embodiment, performing weighted calculation on the target evaluation data according to the multiple indicators included in the data evaluation template and the weights corresponding to the indicators to obtain the evaluation score corresponding to the target evaluation data includes:
[0017] An evaluation score calculation model is constructed based on the multiple indicators included in the data evaluation template and the weights corresponding to the indicators; the target evaluation data is input into the evaluation score calculation model for weighted calculation to obtain the evaluation score output by the evaluation score calculation model.
[0018] In one embodiment, the method further comprises:
[0019] When an evaluation score export instruction for any object to be queried is received, the object identification information of the object to be queried is obtained according to the evaluation score export instruction; an object ledger containing multiple hyperlinks is exported from the object score database, and a target hyperlink corresponding to the object to be queried is identified in the object ledger according to the object identification information of the object to be queried; and the evaluation score of the object to be queried is obtained according to the target hyperlink.
[0020] In a second aspect, the present application also provides an evaluation data processing device based on multi-threading technology, comprising:
[0021] A template sending module, used to obtain a preset data evaluation template, and send the data evaluation template to multiple clients respectively, so that each client can obtain the initial evaluation data input by the user for the target object according to the data evaluation template;
[0022] A data conversion module, used for receiving the initial evaluation data sent by each of the clients, and converting the initial evaluation data into target evaluation data for automatic calculation;
[0023] A score calculation module, used to perform weighted calculation on the target evaluation data according to the multiple indicators included in the data evaluation template and the weights corresponding to the indicators, so as to obtain the evaluation score corresponding to the target evaluation data;
[0024] An entry matching module, used to match the corresponding target information entry in the object score database according to the object identification information of the target object;
[0025] A score entry module is used to enter the evaluation score into the target information entry in the object score database.
[0026] In a third aspect, the present application further provides a computer device, including a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, the following steps are implemented:
[0027] Obtain a pre-set data evaluation template, and send the data evaluation template to multiple clients respectively, so that each client can obtain the initial evaluation data input by the user for the target object according to the data evaluation template; receive the initial evaluation data sent by each client, and convert the initial evaluation data into target evaluation data for automatic calculation; perform weighted calculation on the target evaluation data according to multiple indicators included in the data evaluation template and the weights corresponding to each indicator to obtain an evaluation score corresponding to the target evaluation data; match the corresponding target information entry in the object score database according to the object identification information of the target object; and enter the evaluation score into the target information entry in the object score database.
[0028] In a fourth aspect, the present application further provides a computer-readable storage medium having a computer program stored thereon, wherein when the computer program is executed by a processor, the following steps are implemented:
[0029] Obtain a pre-set data evaluation template, and send the data evaluation template to multiple clients respectively, so that each client can obtain the initial evaluation data input by the user for the target object according to the data evaluation template; receive the initial evaluation data sent by each client, and convert the initial evaluation data into target evaluation data for automatic calculation; perform weighted calculation on the target evaluation data according to multiple indicators included in the data evaluation template and the weights corresponding to each indicator to obtain an evaluation score corresponding to the target evaluation data; match the corresponding target information entry in the object score database according to the object identification information of the target object; and enter the evaluation score into the target information entry in the object score database.
[0030] In a fifth aspect, the present application further provides a computer program product, including a computer program, which implements the following steps when executed by a processor:
[0031] Obtain a pre-set data evaluation template, and send the data evaluation template to multiple clients respectively, so that each client can obtain the initial evaluation data input by the user for the target object according to the data evaluation template; receive the initial evaluation data sent by each client, and convert the initial evaluation data into target evaluation data for automatic calculation; perform weighted calculation on the target evaluation data according to multiple indicators included in the data evaluation template and the weights corresponding to each indicator to obtain an evaluation score corresponding to the target evaluation data; match the corresponding target information entry in the object score database according to the object identification information of the target object; and enter the evaluation score into the target information entry in the object score database.
[0032] The above-mentioned evaluation data processing method, device, computer equipment, computer-readable storage medium and computer program product based on multi-threading technology, by sending a pre-set data evaluation template to multiple clients respectively, so that each client can obtain the initial evaluation data input by the user for the target object according to the data evaluation template; then receive the initial evaluation data sent by each client, and convert the initial evaluation data into target evaluation data for automatic calculation; then perform weighted calculation on the target evaluation data according to the multiple indicators contained in the data evaluation template and the weights corresponding to each indicator, and obtain the evaluation score corresponding to the target evaluation data. In summary, the present application effectively pages the evaluation data to be processed by utilizing multi-threading technology, and processes the paginated evaluation data in batches and multi-threads with the help of queues, so as to make full use of the system's data processing resources, effectively reduce the data processing pressure of the server, and at the same time avoid the impact on other businesses due to excessive data processing pressure. BRIEF DESCRIPTION OF THE DRAWINGS
[0033] In order to more clearly illustrate the technical solutions in the embodiments of the present application or related technologies, the drawings required for use in the embodiments of the present application or related technical descriptions will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.
[0034] FIG1 is an application environment diagram of an evaluation data processing method based on multi-threading technology in one embodiment;
[0035] Figure 2 A schematic diagram of a flow chart of an evaluation data processing method based on multi-threading technology in one embodiment;
[0036] Figure 3 A schematic diagram of a data conversion process in one embodiment;
[0037] Figure 4 A schematic diagram of a flow chart of an evaluation data processing method based on multi-threading technology in a specific embodiment;
[0038] Figure 5 It is a structural block diagram of an evaluation data processing device based on multi-threading technology in one embodiment;
[0039] FIG. 6 is a diagram showing the internal structure of a computer device in one embodiment. DETAILED DESCRIPTION
[0040] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0041] The evaluation data processing method based on multi-threading technology provided in the embodiment of the present application can be applied to the application environment shown in Figure 1. Among them, the client communicates with the server through the network. The data storage system can store the data that the server needs to process. The data storage system can be integrated on the server, or it can be placed on the cloud or other network servers.
[0042] Specifically, the evaluation data processing method based on multi-threading technology provided in the embodiment of the present application can be executed by a server.
[0043] Exemplarily, the server obtains a pre-set data evaluation template, and sends the data evaluation template to multiple clients respectively, so that each client can obtain the initial evaluation data input by the user for the target object according to the data evaluation template; the server receives the initial evaluation data sent by each client, and converts the initial evaluation data into target evaluation data for automatic calculation; the server performs weighted calculation on the target evaluation data according to multiple indicators included in the data evaluation template and the weight corresponding to each indicator, to obtain an evaluation score corresponding to the target evaluation data; the server matches the corresponding target information entry in the object score database according to the object identification information of the target object, and enters the evaluation score into the target information entry in the object score database.
[0044] In the application environment shown in FIG1 , the client may be, but is not limited to, various personal computers, laptops, smart phones, and tablet computers. The server may be implemented as an independent server or a server cluster consisting of multiple servers.
[0045] In one embodiment, Figure 2 As shown, a method for processing evaluation data based on multi-threading technology is provided, which is described by taking the method applied to the server in FIG1 as an example, and includes the following steps:
[0046] Step S201 , obtaining a preset data evaluation template, and sending the data evaluation template to a plurality of clients respectively, so that each client can obtain the initial evaluation data input by the user for the target object according to the data evaluation template.
[0047] The data evaluation template may include evaluation dimensions, evaluation text, evaluation indicators, and the weights corresponding to each indicator.
[0048] The target object may be a merchant in the labor protection materials mall, and the initial evaluation data may be the original evaluation data input by the user, including evaluation scores and usage feedback.
[0049] Specifically, the server obtains a data evaluation template pre-set by the operator, stores the data evaluation template in a system database, and sends the data evaluation template to multiple clients respectively, so that each client can obtain the initial evaluation data input by the user for the target object according to the data evaluation template.
[0050] Step S202: receiving initial evaluation data sent by each client, and converting the initial evaluation data into target evaluation data for automatic calculation.
[0051] The target evaluation data may be data used for calculating the evaluation score obtained after data cleaning and normalization processing of the initial evaluation data.
[0052] Specifically, the server periodically receives the initial evaluation data sent by each client according to a preset frequency; determines the time batch of each receiving time; and converts the initial evaluation data contained in each time batch into target evaluation data for automatic calculation in batches.
[0053] Step S203, performing weighted calculation on the target evaluation data according to the multiple indicators included in the data evaluation template and the weight corresponding to each indicator, to obtain an evaluation score corresponding to the target evaluation data.
[0054] Specifically, the server constructs an evaluation score calculation model based on multiple indicators included in the data evaluation template and the weights corresponding to each indicator; inputs the target evaluation data into the evaluation score calculation model for weighted calculation to obtain the evaluation score output by the evaluation score calculation model.
[0055] Step S204 , matching the corresponding target information entry in the object score database according to the object identification information of the target object, and entering the evaluation score into the target information entry in the object score database.
[0056] The object identification information may be the merchant name or merchant number of a merchant in the labor protection materials mall, and the information entries in the object score database correspond one-to-one with each merchant object through the object identification information.
[0057] Specifically, the server matches the corresponding target information entry in the object score database according to the object identification information of the target object, and packages the evaluation score and enters it into the target information entry in the object score database.
[0058] In the above-mentioned evaluation data processing method based on multi-threading technology, a pre-set data evaluation template is sent to multiple clients respectively, so that each client can obtain the initial evaluation data input by the user for the target object according to the data evaluation template; then the initial evaluation data sent by each client is received, and the initial evaluation data is converted into target evaluation data for automatic calculation; then, according to the multiple indicators contained in the data evaluation template and the weights corresponding to each indicator, the target evaluation data is weightedly calculated to obtain the evaluation score corresponding to the target evaluation data. In summary, the present application utilizes multi-threading technology to effectively page the evaluation data to be processed, and processes the paginated evaluation data in batches and multi-threads with the help of queues, so as to make full use of the system's data processing resources, effectively reduce the data processing pressure of the server, and at the same time avoid the impact on other businesses due to excessive data processing pressure.
[0059] In one embodiment, in the above step S201, the client obtains the initial evaluation data input by the user for the target object according to the data evaluation template, which specifically includes the following steps:
[0060] The client responds to the evaluation request initiated by the user and determines the target object corresponding to the evaluation request; sets evaluation data input entries corresponding to multiple indicators according to multiple indicators included in the data evaluation template; and obtains the initial evaluation data entered by the user for the target object in the evaluation data input entry.
[0061] Among them, the evaluation data input entrance may include an evaluation scoring entrance and a usage feedback entrance, and the user may be a user who has purchased goods from a merchant in the labor protection materials mall.
[0062] Specifically, the client responds to the evaluation request initiated by the user, determines the corresponding target object according to the evaluation request; and sets evaluation data input entries corresponding to multiple indicators according to multiple indicators included in the data evaluation template; and obtains the initial evaluation data entered by the user for the target object in the evaluation data input entry.
[0063] In this embodiment, by determining the target object corresponding to the evaluation request and setting evaluation data input entries corresponding to multiple indicators, the initial evaluation data input by the user for the target object in different evaluation data input entries can be clearly and accurately obtained, providing data support for the calculation of the evaluation score.
[0064] In one embodiment, if Figure 3 As shown, in the above step S202, the initial evaluation data sent by each client is received, and the initial evaluation data is converted into target evaluation data for automatic calculation, which specifically includes the following steps:
[0065] Step S301: regularly receiving initial evaluation data sent by each client according to a preset frequency.
[0066] Step S302, determining the time batch to which each receiving time belongs.
[0067] Step S303 : converting the initial evaluation data contained in each time batch into target evaluation data for automatic calculation in batches.
[0068] Among them, the preset frequency can be the initial evaluation data receiving frequency set by the operator according to actual needs, and the time batch can be a data classification rule based on the receiving time as the division standard.
[0069] Specifically, the server periodically receives the initial evaluation data sent by each client according to a preset frequency; determines the time batch of each receiving time; and converts the initial evaluation data contained in each time batch into target evaluation data for automatic calculation in batches.
[0070] In this embodiment, by periodically receiving the initial evaluation data sent by each client, and converting the initial evaluation data contained in each time batch into target evaluation data for automatic calculation, the initial evaluation data is accurately classified based on the receiving time, and efficient conversion of the data form of the evaluation data is further achieved.
[0071] In one embodiment, in the above step S303, the initial evaluation data contained in each time batch is converted into target evaluation data for automatic calculation in batches, which specifically includes the following steps:
[0072] The initial evaluation data contained in any time batch is cleaned; the initial evaluation data after data cleaning is normalized to obtain evaluation data with values within a preset range as target evaluation data.
[0073] Among them, normalization processing refers to scaling the data proportionally so that it falls into a specific range of values.
[0074] Specifically, the server cleans the initial evaluation data contained in any time batch; and normalizes the initial evaluation data after data cleaning to obtain evaluation data with a value within a preset range as target evaluation data.
[0075] In this embodiment, by performing data cleaning and normalization processing on the initial evaluation data contained in each time batch, the target evaluation data that meets the preset requirements is obtained scientifically and accurately, which is also beneficial to improving the calculation accuracy of the evaluation score.
[0076] In one embodiment, in the above step S203, weighted calculation is performed on the target evaluation data according to the multiple indicators included in the data evaluation template and the weights corresponding to the indicators to obtain the evaluation score corresponding to the target evaluation data, which specifically includes the following steps:
[0077] An evaluation score calculation model is constructed based on multiple indicators included in the data evaluation template and the weights corresponding to each indicator; the target evaluation data is input into the evaluation score calculation model for weighted calculation to obtain the evaluation score output by the evaluation score calculation model.
[0078] The evaluation score calculation model may be a mathematical formula constructed based on multiple indicators included in the data evaluation template and the weights corresponding to each indicator.
[0079] Specifically, the server constructs an evaluation score calculation model based on multiple indicators included in the data evaluation template and the weights corresponding to each indicator; inputs the target evaluation data into the evaluation score calculation model for weighted calculation to obtain the evaluation score output by the evaluation score calculation model.
[0080] In this embodiment, by using the evaluation score calculation model to perform weighted calculation on the target evaluation data, evaluation quantification calculation is achieved, and the evaluation score corresponding to the target evaluation data is accurately obtained.
[0081] In one embodiment, after entering the evaluation score into the target information entry in the object score database, the method of the present application further includes the following steps:
[0082] When an evaluation score export instruction for any object to be queried is received, the object identification information of the object to be queried is obtained according to the evaluation score export instruction; an object ledger containing multiple hyperlinks is exported from the object score database, and the target hyperlink corresponding to the object to be queried is identified in the object ledger according to the object identification information of the object to be queried; and the evaluation score of the object to be queried is obtained according to the target hyperlink.
[0083] Among them, the object ledger can be a data information set containing the evaluation scores corresponding to multiple object merchants; the hyperlink can be a content link, which is essentially a part of a web page, that is, an element that allows us to connect with other web pages or sites.
[0084] Specifically, when the server receives an evaluation score export instruction for any object to be queried, it obtains the object identification information of the object to be queried according to the evaluation score export instruction; exports an object ledger containing multiple hyperlinks from the object score database, and identifies the target hyperlink corresponding to the object to be queried in the object ledger according to the object identification information of the object to be queried; and obtains the evaluation score of the object to be queried according to the target hyperlink.
[0085] In this embodiment, the target hyperlink corresponding to the object to be queried is identified in the object ledger based on the object identification information of the object to be queried; and the evaluation score of the object to be queried is obtained based on the target hyperlink, so as to quickly and accurately identify and extract the evaluation score of the object to be queried, which is convenient for the operation personnel to perform subsequent analysis and processing of the relevant information.
[0086] In one embodiment, Figure 4 As shown, a method for processing evaluation data based on multi-threading technology in a specific embodiment is provided, which specifically includes the following steps:
[0087] Step S401, obtain a pre-set data evaluation template, and send the data evaluation template to multiple clients respectively, so that each client can respond to the evaluation request initiated by the user and determine the target object corresponding to the evaluation request; according to the multiple indicators included in the data evaluation template, set the evaluation data input entrance corresponding to the multiple indicators respectively; obtain the initial evaluation data entered by the user for the target object in the evaluation data input entrance.
[0088] Step S402, regularly receiving the initial evaluation data sent by each client according to a preset frequency; determining the time batch to which each receiving time belongs; performing data cleaning on the initial evaluation data contained in any time batch; normalizing the initial evaluation data after data cleaning to obtain evaluation data with a value within a preset range as target evaluation data.
[0089] Step S403, constructing an evaluation score calculation model according to the multiple indicators included in the data evaluation template and the weights corresponding to the indicators; inputting the target evaluation data into the evaluation score calculation model for weighted calculation to obtain the evaluation score output by the evaluation score calculation model.
[0090] Step S404, matching the corresponding target information entry in the object score database according to the object identification information of the target object; and entering the evaluation score into the target information entry in the object score database.
[0091] Step S405, when an evaluation score export instruction for any object to be queried is received, the object identification information of the object to be queried is obtained according to the evaluation score export instruction; an object ledger containing multiple hyperlinks is exported from the object score database, and according to the object identification information of the object to be queried, the target hyperlink corresponding to the object to be queried is identified in the object ledger; and the evaluation score of the object to be queried is obtained according to the target hyperlink.
[0092] The beneficial effects brought by the above embodiments are as follows:
[0093] 1) Operators can customize evaluation indicators and evaluation weights, and automatically generate evaluation templates for each terminal based on evaluation indicators, evaluation weights and other information, which increases the practicality and flexibility of the solution.
[0094] 2) All parties participate in the evaluation, and each end evaluates according to management requirements, which are automatically synchronized to the background to achieve quantitative calculation of the evaluation.
[0095] 3) Through multi-threading technology, the evaluation data to be processed is effectively paged, and the paged evaluation data is processed in batches and multi-threaded with the help of queues. On the one hand, it effectively reduces the data processing pressure of the server, and on the other hand, it can avoid the impact on other businesses due to excessive data processing pressure.
[0096] It should be understood that, although the various steps in the flowcharts involved in the above-mentioned embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps does not have a strict order restriction, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above-mentioned embodiments can include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.
[0097] Based on the same inventive concept, the embodiment of the present application also provides an evaluation data processing device based on multithreading technology for implementing the evaluation data processing method based on multithreading technology involved above. The implementation scheme for solving the problem provided by the device is similar to the implementation scheme recorded in the above method, so the specific limitations in one or more embodiments of the evaluation data processing device based on multithreading technology provided below can refer to the limitations of the evaluation data processing method based on multithreading technology above, and will not be repeated here.
[0098] In an exemplary embodiment, Figure 5 As shown, an evaluation data processing device based on multi-threading technology is provided, comprising:
[0099] The template sending module 501 is used to obtain a preset data evaluation template and send the data evaluation template to multiple clients respectively, so that each client can obtain the initial evaluation data input by the user for the target object according to the data evaluation template;
[0100] The data conversion module 502 is used to receive the initial evaluation data sent by each client and convert the initial evaluation data into target evaluation data for automatic calculation;
[0101] The score calculation module 503 is used to perform weighted calculation on the target evaluation data according to the multiple indicators included in the data evaluation template and the weights corresponding to the indicators to obtain the evaluation score corresponding to the target evaluation data;
[0102] An entry matching module 504 is used to match the corresponding target information entry in the object score database according to the object identification information of the target object;
[0103] The score entry module 505 is used to enter the evaluation score into the target information item in the object score database.
[0104] In one embodiment, the evaluation data processing device based on multi-threading technology also includes a data acquisition module, which is used to respond to an evaluation request initiated by a user and determine the target object corresponding to the evaluation request; set evaluation data input entries corresponding to multiple indicators according to multiple indicators included in the data evaluation template; and obtain the initial evaluation data entered by the user for the target object in the evaluation data input entry.
[0105] In one embodiment, the data conversion module 502 is also used to periodically receive the initial evaluation data sent by each client according to a preset frequency; determine the time batch of each receiving time; and convert the initial evaluation data contained in each time batch into target evaluation data for automatic calculation in batches.
[0106] In one embodiment, the data conversion module 502 is also used to clean the initial evaluation data contained in any time batch; normalize the initial evaluation data after data cleaning to obtain evaluation data with a value within a preset range as target evaluation data.
[0107] In one embodiment, the score calculation module 503 is also used to construct an evaluation score calculation model based on multiple indicators included in the data evaluation template and the weights corresponding to each indicator; the target evaluation data is input into the evaluation score calculation model for weighted calculation to obtain the evaluation score output by the evaluation score calculation model.
[0108] In one embodiment, the evaluation data processing device based on multi-threading technology also includes a score query module, which is used to obtain the object identification information of the object to be queried according to the evaluation score export instruction when receiving the evaluation score export instruction for any object to be queried; export an object ledger containing multiple hyperlinks from the object score database, and identify the target hyperlink corresponding to the object to be queried in the object ledger according to the object identification information of the object to be queried; and obtain the evaluation score of the object to be queried according to the target hyperlink.
[0109] Each module in the evaluation data processing device based on multi-threading technology can be implemented in whole or in part by software, hardware or a combination thereof. Each module can be embedded in or independent of a processor in a computer device in the form of hardware, or can be stored in a memory in a computer device in the form of software, so that the processor can call and execute operations corresponding to each module.
[0110] In an exemplary embodiment, a computer device is provided, which may be a server, and its internal structure diagram may be shown in FIG6. The computer device includes a processor, a memory, an input / output interface (Input / Output, referred to as I / O) and a communication interface. The processor, the memory and the input / output interface are connected via a system bus, and the communication interface is connected to the system bus via the input / output interface. The processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the computer device is used to store evaluation score data. The input / output interface of the computer device is used to exchange information between the processor and an external device. The communication interface of the computer device is used to communicate with an external terminal via a network connection. When the computer program is executed by the processor, a method for processing evaluation data based on multi-threading technology is implemented.
[0111] Those skilled in the art will understand that the structure shown in FIG. 6 is merely a block diagram of a partial structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than shown in the figure, or combine certain components, or have a different arrangement of components.
[0112] In one embodiment, a computer device is further provided, including a memory and a processor, wherein a computer program is stored in the memory, and the processor implements the steps in the above method embodiments when executing the computer program.
[0113] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the steps in the above-mentioned method embodiments are implemented.
[0114] In one embodiment, a computer program product is provided, including a computer program, which implements the steps in the above method embodiments when executed by a processor.
[0115] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with relevant regulations.
[0116] A person of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment method can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in the present application can include at least one of non-volatile memory and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, an artificial intelligence (AI) processor, etc., but are not limited to this.
[0117] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this application.
[0118] The above-described embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.
Claims
1. A method for processing evaluation data based on multi-threading technology, characterized in that: The method comprises: Acquire a preset data evaluation template, and send the data evaluation template to a plurality of clients respectively, so that each of the clients can acquire the initial evaluation data input by the user for the target object according to the data evaluation template; Receiving the initial evaluation data sent by each of the clients, and converting the initial evaluation data into target evaluation data for automatic calculation; According to the multiple indicators included in the data evaluation template and the weights corresponding to the indicators, weighted calculation is performed on the target evaluation data to obtain the evaluation score corresponding to the target evaluation data; According to the object identification information of the target object, a corresponding target information entry in a matching object score database is matched; The evaluation score is entered into the target information entry in the object score database.
2. The method according to claim 1, characterized in that The client obtains the initial evaluation data input by the user for the target object according to the data evaluation template, including: the client determines the target object corresponding to the evaluation request in response to the evaluation request initiated by the user; sets evaluation data input entries corresponding to multiple indicators respectively according to the multiple indicators included in the data evaluation template; and obtains the initial evaluation data input by the user for the target object at the evaluation data input entry.
3. The method according to claim 1, characterized in that The receiving the initial evaluation data sent by each of the clients and converting the initial evaluation data into target evaluation data for automatic calculation includes: Regularly receiving the initial evaluation data sent by each client according to a preset frequency; Determine the time batch to which each receiving time belongs; The initial evaluation data contained in each of the time batches is converted batch by batch into the target evaluation data for automatic calculation.
4. The method according to claim 3, characterized in that The step of converting the initial evaluation data contained in each of the time batches into the target evaluation data for automatic calculation in batches comprises: Performing data cleaning on the initial evaluation data contained in any of the time batches; The initial evaluation data after data cleaning is normalized to obtain evaluation data with values within a preset range as the target evaluation data.
5. The method according to claim 1, characterized in that The step of performing weighted calculation on the target evaluation data according to the multiple indicators included in the data evaluation template and the weights corresponding to the indicators to obtain the evaluation score corresponding to the target evaluation data includes: Constructing an evaluation score calculation model according to the multiple indicators included in the data evaluation template and the weights corresponding to the indicators; The target evaluation data is input into the evaluation score calculation model for weighted calculation to obtain the evaluation score output by the evaluation score calculation model.
6. The method according to any one of claims 1 to 5, characterized in that: The method further comprises: Upon receiving an evaluation score export instruction for any object to be queried, obtaining object identification information of the object to be queried according to the evaluation score export instruction; Exporting an object ledger containing multiple hyperlinks from the object score database, and identifying a target hyperlink corresponding to the object to be queried in the object ledger according to the object identification information of the object to be queried; According to the target hyperlink, an evaluation score of the object to be queried is obtained.
7. An evaluation data processing device based on multi-threading technology, characterized in that: The device comprises: A template sending module, used to obtain a preset data evaluation template, and send the data evaluation template to multiple clients respectively, so that each client can obtain the initial evaluation data input by the user for the target object according to the data evaluation template; A data conversion module, used for receiving the initial evaluation data sent by each of the clients, and converting the initial evaluation data into target evaluation data for automatic calculation; A score calculation module, used to perform weighted calculation on the target evaluation data according to the multiple indicators included in the data evaluation template and the weights corresponding to the indicators, so as to obtain the evaluation score corresponding to the target evaluation data; An entry matching module, used to match the corresponding target information entry in the object score database according to the object identification information of the target object; A score entry module is used to enter the evaluation score into the target information entry in the object score database.
8. A computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 6 are implemented.
9. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.
10. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.
