CN111402066A - Data processing method, server and storage medium - Google Patents
Data processing method, server and storage medium Download PDFInfo
- Publication number
- CN111402066A CN111402066A CN202010109745.7A CN202010109745A CN111402066A CN 111402066 A CN111402066 A CN 111402066A CN 202010109745 A CN202010109745 A CN 202010109745A CN 111402066 A CN111402066 A CN 111402066A
- Authority
- CN
- China
- Prior art keywords
- data
- client
- request
- preset
- relation
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q40/00—Finance; Insurance; Tax strategies; Processing of corporate or income taxes
- G06Q40/08—Insurance
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/28—Databases characterised by their database models, e.g. relational or object models
- G06F16/284—Relational databases
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D10/00—Energy efficient computing, e.g. low power processors, power management or thermal management
Landscapes
- Engineering & Computer Science (AREA)
- Business, Economics & Management (AREA)
- Databases & Information Systems (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- Accounting & Taxation (AREA)
- Finance (AREA)
- General Physics & Mathematics (AREA)
- Development Economics (AREA)
- Technology Law (AREA)
- General Business, Economics & Management (AREA)
- Strategic Management (AREA)
- Marketing (AREA)
- Economics (AREA)
- Data Mining & Analysis (AREA)
- General Engineering & Computer Science (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
The invention relates to a data processing technology and provides a data processing method, a server and a storage medium. The method comprises the steps of obtaining factor coefficients of an object and dimension information of the object from a preset database, generating a plurality of relation data tables associated with the object according to the factor coefficients of the object and the dimension information of the object, receiving a request for processing object data sent by a client, determining the type of the request, obtaining the relation data tables corresponding to the type of the request and sending the relation data tables to the client so that the client can execute configuration operation on the object data to be processed, obtaining object data configured by the client when it is monitored that the client sends confirmation information of configuration completion, executing calculation processing on the configured object data to be processed based on preset calculation rules to obtain target data and feeding the target data back to the client. The invention can improve the efficiency of data processing by dynamically configuring the data of the object.
Description
Technical Field
The present invention relates to the field of data processing, and in particular, to a data processing method, a server, and a storage medium.
Background
In the data processing process, the data processing process of different objects is influenced by attribute data of the data, taking the object as an insurance product as an example, different insurance products are composed of different attribute factor coefficients, the data processing of the product can be realized by configuring different factor coefficients, the data is processed after the attribute information of the data is configured manually in the traditional mode, and the attribute information of the data is usually more and can be changed continuously, so that the data processing efficiency is low.
Disclosure of Invention
In view of the above, the present invention provides a data processing method, a server, and a storage medium, which aim to solve the problem of low data processing efficiency in the prior art.
To achieve the above object, the present invention provides a data processing method, including:
a generation step: acquiring factor coefficients of objects and dimension information to which the objects belong from a preset database, and generating a plurality of relation data tables associated with the objects according to the factor coefficients of the objects and the dimension information to which the objects belong;
a receiving step: receiving a request sent by a client for executing object data processing on the object, determining the type of the request, acquiring a relation data table corresponding to the type of the request, and sending the relation data table to the client so that the client can execute configuration operation on the object data to be processed based on the relation data table;
a monitoring step: monitoring whether a client sends confirmation information of configuration completion in real time, and acquiring to-be-processed object data of the client after configuration completion when the client sends the confirmation information of configuration completion; and
a feedback step: and performing calculation processing on the configured object data to be processed based on a preset calculation rule to obtain target data, and feeding the target data back to the client.
Preferably, the generating step comprises:
and pre-creating a mapping relation between each factor coefficient of the object and the dimension information to which the object belongs, respectively filling the factor coefficient of the object and the dimension information to which the object belongs to corresponding positions in a preset template table based on the mapping relation, generating a plurality of relation data tables associated with the object, and storing the relation data tables in a preset database.
Preferably, the receiving step includes:
when the request is a first preset processing request, determining a relation data table corresponding to the first preset processing request, and sending the relation data table to the client through a corresponding interface so that the client can perform configuration operation on the object data to be processed based on the interface;
and when the request is a second preset processing request, providing the editing interface corresponding to the object data to be processed for the client, so that the client can add or delete the object data to be processed based on the interface.
Preferably, the method further comprises:
when a request for updating the target data sent by a client is received, acquiring an identifier of the target data carried in the request, searching a factor coefficient corresponding to the target data from a preset database based on the identifier, and sending the searched factor coefficient to the client so that the client can update the target data based on the factor coefficient.
Preferably, the performing, based on a preset calculation rule, calculation processing on the configured to-be-processed object data to obtain target data includes:
analyzing the configured object data to be processed to obtain factor coefficient codes corresponding to the object data and numerical values of dimensionalities to which the object data belong;
and acquiring the preset calculation rule from a preset database according to the factor coefficient code, and calculating to obtain the target data based on the preset calculation rule and the numerical value of the dimension to which the object data belongs.
To achieve the above object, the present invention also provides a server, including: the data processing program is executed by the processor, and the following steps are realized:
a generation step: acquiring factor coefficients of objects and dimension information to which the objects belong from a preset database, and generating a plurality of relation data tables associated with the objects according to the factor coefficients of the objects and the dimension information to which the objects belong;
a receiving step: receiving a request sent by a client for executing object data processing on the object, determining the type of the request, acquiring a relation data table corresponding to the type of the request, and sending the relation data table to the client so that the client can execute configuration operation on the object data to be processed based on the relation data table;
a monitoring step: monitoring whether a client sends confirmation information of configuration completion in real time, and acquiring to-be-processed object data of the client after configuration completion when the client sends the confirmation information of configuration completion; and
a feedback step: and performing calculation processing on the configured object data to be processed based on a preset calculation rule to obtain target data, and feeding the target data back to the client.
Preferably, the generating step comprises:
and pre-creating a mapping relation between each factor coefficient of the object and the dimension information to which the object belongs, respectively filling the factor coefficient of the object and the dimension information to which the object belongs to corresponding positions in a preset template table based on the mapping relation, generating a plurality of relation data tables associated with the object, and storing the relation data tables in a preset database.
Preferably, the receiving step includes:
when the request is a first preset processing request, determining a relation data table corresponding to the first preset processing request, and sending the relation data table to the client through a corresponding interface so that the client can perform configuration operation on the object data to be processed based on the interface;
and when the request is a second preset processing request, providing the editing interface corresponding to the object data to be processed for the client, so that the client can add or delete the object data to be processed based on the interface.
Preferably, the performing, based on a preset calculation rule, calculation processing on the configured to-be-processed object data to obtain target data includes:
analyzing the configured object data to be processed to obtain factor coefficient codes corresponding to the object data and numerical values of dimensionalities to which the object data belong;
and acquiring the preset calculation rule from a preset database according to the factor coefficient code, and calculating to obtain the target data based on the preset calculation rule and the numerical value of the dimension to which the object data belongs.
To achieve the above object, the present invention also provides a computer-readable storage medium including a data processing program, which when executed by a processor, implements any of the steps in the data processing method as described above.
The data processing method, the server and the storage medium provided by the invention can dynamically configure the attribute factor coefficient of the object, so that the incremental configuration of a newly added service factor is met by supporting the differentiated configuration of different users and writing the factor coefficient into a background person in real time through a script and configuring the factor coefficient in real time, the configured object data is processed in time to obtain a target result through the real-time monitoring of the factor coefficient configured by the user, and the data processing efficiency is improved.
Drawings
FIG. 1 is a diagram of a server according to a preferred embodiment of the present invention;
FIG. 2 is a block diagram of a preferred embodiment of the data processing program of FIG. 1;
FIG. 3 is a flow chart of a preferred embodiment of a data processing method according to the present invention;
the implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Referring to fig. 1, a server 1 according to a preferred embodiment of the present invention is shown.
The server 1 includes but is not limited to: memory 11, processor 12, display 13, and network interface 14. The server 1 is connected to a network through a network interface 14 to obtain raw data. The network may be a wireless or wired network such as an Intranet (Intranet), the Internet (Internet), a Global System for mobile communications (GSM), Wideband Code Division Multiple Access (WCDMA), a 4G network, a 5G network, Bluetooth (Bluetooth), Wi-Fi, or a communication network.
The memory 11 includes at least one type of readable storage medium including a flash memory, a hard disk, a multimedia card, a card type memory (e.g., SD or DX memory, etc.), a Random Access Memory (RAM), a Static Random Access Memory (SRAM), a Read Only Memory (ROM), an Electrically Erasable Programmable Read Only Memory (EEPROM), a Programmable Read Only Memory (PROM), a magnetic memory, a magnetic disk, an optical disk, etc. In some embodiments, the storage 11 may be an internal storage unit of the server 1, such as a hard disk or a memory of the server 1. In other embodiments, the memory 11 may also be an external storage device of the server 1, such as a plug-in hard disk, a Smart Memory Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), and the like, which are equipped with the server 1. Of course, the memory 11 may also comprise both an internal storage unit of the server 1 and an external storage device thereof. In this embodiment, the memory 11 is generally used for storing an operating system installed in the server 1 and various types of application software, such as program codes of the data processing program 10. Further, the memory 11 may also be used to temporarily store various types of data that have been output or are to be output.
Processor 12 may be a Central Processing Unit (CPU), controller, microcontroller, microprocessor, or other data Processing chip in some embodiments. The processor 12 is generally used for controlling the overall operation of the server 1, such as performing data interaction or communication-related control and processing. In this embodiment, the processor 12 is configured to run the program code stored in the memory 11 or process data, for example, run the program code of the data processing program 10.
The display 13 may be referred to as a display screen or display unit, in some embodiments the display 13 may be an L ED display, a liquid crystal display, a touch-sensitive liquid crystal display, an Organic light-Emitting Diode (O L ED) touch screen, and the like, the display 13 is used for displaying information processed in the server 1 and for displaying a visual work interface, such as displaying results of data statistics.
The network interface 14 may optionally comprise a standard wired interface, a wireless interface (e.g. WI-FI interface), the network interface 14 typically being used for establishing a communication connection between the server 1 and other electronic devices.
Fig. 1 shows only a server 1 with components 11-14 and a data processing program 10, but it is to be understood that not all of the shown components are required to be implemented, and that more or fewer components may be implemented instead.
Alternatively, the server 1 may further comprise a user interface, which may comprise a Display (Display), an input unit such as a Keyboard (Keyboard), and an optional user interface may also comprise a standard wired interface, a wireless interface, alternatively, in some embodiments, the Display may be an L ED Display, a liquid crystal Display, a touch-sensitive liquid crystal Display, and an Organic light-Emitting Diode (O L ED) touch-sensitive device, etc., wherein the Display may also be appropriately referred to as a Display screen or Display unit for displaying information processed in the server 1 and for displaying a visualized user interface.
The server 1 may further include a Radio Frequency (RF) circuit, a sensor, an audio circuit, and the like, which will not be described herein.
In the above embodiment, the processor 12, when executing the data processing program 10 stored in the memory 11, may implement the following steps:
a generation step: acquiring factor coefficients of objects and dimension information to which the objects belong from a preset database, and generating a plurality of relation data tables associated with the objects according to the factor coefficients of the objects and the dimension information to which the objects belong;
a receiving step: receiving a request sent by a client for executing object data processing on the object, determining the type of the request, acquiring a relation data table corresponding to the type of the request, and sending the relation data table to the client so that the client can execute configuration operation on the object data to be processed based on the relation data table;
a monitoring step: monitoring whether a client sends confirmation information of configuration completion in real time, and acquiring to-be-processed object data of the client after configuration completion when the client sends the confirmation information of configuration completion; and
a feedback step: and performing calculation processing on the configured object data to be processed based on a preset calculation rule to obtain target data, and feeding the target data back to the client.
The storage device may be the memory 11 of the server 1, or may be another storage device communicatively connected to the server 1.
For a detailed description of the above steps, please refer to the following description of fig. 2 regarding a program module diagram of an embodiment of the data processing program 10 and fig. 3 regarding a flowchart of an embodiment of the data processing method.
In other embodiments, the data processing program 10 may be divided into a plurality of modules that are stored in the memory 12 and executed by the processor 13 to accomplish the present invention. The modules referred to herein are referred to as a series of computer program instruction segments capable of performing specified functions.
Referring to fig. 2, a block diagram of an embodiment of the data processing program 10 in fig. 1 is shown. In this embodiment, the data processing program 10 may be divided into: a generating module 110, a receiving module 120, a monitoring module 130 and a feedback module 140.
The generating module 110 is configured to obtain the factor coefficients of the object and the dimension information to which the object belongs from a preset database, and generate a plurality of relationship data tables associated with the object according to the factor coefficients of the object and the dimension information to which the object belongs.
In this embodiment, the attribute information of the object is acquired from a preset database, where the attribute information of the object includes a factor coefficient of the object and dimension information to which the object belongs, and a plurality of relationship data tables associated with the object are generated according to the factor coefficient of the object and the dimension information to which the object belongs. The object may be a product, preset data, software, or the like, in this embodiment, the present scheme is described by taking the object as an example of a certain insurance product, multiple preset types of object factor coefficients are predefined, the factor coefficients may be premium segments, industry classes, occupation classes, risk levels, non-claim amounts, non-claim rates, or the like, a program corresponding to the initialization factor coefficient is encoded into a preset database or a cache, and the program is provided for a client to obtain the relationship data between the dimension and the product factor from the cache or the database and load the relationship data to a display page, where the object factor coefficient of each type includes at least one attribute, and the attribute includes a page display attribute (e.g., segment display) and a formula algorithm attribute corresponding to the factor coefficient. Further, a mapping relation between each factor coefficient of the object and the dimension information to which the object belongs is created in advance, based on the mapping relation, the factor coefficients of the object and the dimension information to which the object belongs are respectively filled to corresponding positions in a preset template table, and a plurality of relation data tables associated with the object are generated and stored in a preset database. The factor coefficients of the object can be configured through different dimension information (such as mechanisms, channels, product codes, regions and the like), and all the relation data tables can be supported through scripts, so that the scheme can meet the formulation of different product factors, and the dynamic configuration of the factor coefficients at the front end by a user is realized.
A receiving module 120, configured to: receiving a request sent by a client for executing object data processing on the object, determining the type of the request, acquiring a relation data table corresponding to the type of the request, and sending the relation data table to the client so that the client can execute configuration operation on the object data to be processed based on the relation data table.
In this embodiment, when receiving a request for processing object data sent by a client, a server determines a type of the request, obtains a relationship data table corresponding to the type of the request, and sends the relationship data table to the client, so that the client performs configuration operation on the object data to be processed based on the relationship data table. Specifically, the server sends the configuration page to the client for display when receiving the data request.
Further, when the request is a first preset processing request, determining a relationship data table corresponding to the first preset processing request, and sending the relationship data table to the client through a corresponding interface, so that the client performs configuration operation on the to-be-processed object data based on the interface, and when the request is a second preset processing request, providing an editing interface corresponding to the to-be-processed object data to the client, so that the client adds or deletes the to-be-processed object data based on the interface.
Based on the relational data table corresponding to the request, the user can perform configuration operation on the data according to actual requirements, and can also obtain predefined factor coefficients in the cache data in real time, for example: "0-10 ten thousand __ fill in factor coefficients", when submitting configured factor coefficients, the codes and dimension values of the configured factor coefficients can be sent to the server according to the JSON format.
The monitoring module 130 is configured to monitor whether the client sends confirmation information of configuration completion in real time, and when it is monitored that the client sends confirmation information of configuration completion, obtain to-be-processed object data of configuration completion of the client.
In this embodiment, the server monitors whether the client sends confirmation information of completion of configuration in real time, and when it is monitored that the client sends confirmation information of completion of configuration, the server acquires the to-be-processed object data of completion of configuration of the client.
The feedback module 140 is configured to perform calculation processing on the configured to-be-processed object data based on a preset calculation rule to obtain target data, and feed back the target data to the client.
In this embodiment, after acquiring the to-be-processed object data configured by the client, the server performs calculation processing on the to-be-processed object data configured by the client based on a preset calculation rule to obtain target data, and feeds the target data back to the client. The technical scheme is explained by taking target data as product premium as an example, factor coefficients of configured object data to be processed are obtained, and then corresponding product premium is calculated according to corresponding calculation rules. Furthermore, an operation page can be provided for a user to enter quotation parameters, and a coefficient value fed back by a corresponding interface of the client is displayed by calling a simulation quotation parameter interface, so that a premium preview mode is realized, the real-time checking of whether the configured factor coefficient is correct or not is supported, the quotation stage function is simulated, and the accurate configuration of the factor coefficient of the object by the user is facilitated.
Wherein, the step of performing calculation processing on the configured object data to be processed based on a preset calculation rule to obtain target data comprises:
analyzing the configured object data to be processed to obtain factor coefficient codes corresponding to the object data and numerical values of dimensionalities to which the object data belong;
and acquiring the preset calculation rule from a preset database according to the factor coefficient code, and calculating to obtain the target data based on the preset calculation rule and the numerical value of the dimension to which the object data belongs.
Specifically, a request is initiated by processing the configured object data in a JSON format, a factor coefficient code obtained by analyzing the configured object data and a numerical value of the dimension to which the configured object data belongs are uploaded to a server, the server obtains a preset calculation rule from a preset database according to the factor coefficient code, and the target data is obtained by calculation based on the preset calculation rule and the numerical value of the dimension to which the object data belongs.
Linear interpolation calculation methods can also be implemented, for example: setting a factor segmentation coefficient of 0-10 ten thousand and 20-30 ten thousand of guarantee amount, and calculating the configured object data by a linear interpolation formula when the actual quoted guarantee amount is 15 ten thousand, wherein the calculation formula is as follows:
wherein, YmRepresenting a target data value, Y1Represents the value 0, XmRepresenting a 15-thousand, Y quoted premium2Represents 200000, X1Represents 100000, X2Representing 30000.
In one embodiment, the method further comprises:
when a request for updating the target data sent by a client is received, acquiring an identifier of the target data carried in the request, searching a factor coefficient corresponding to the target data from a preset database based on the identifier, and sending the searched factor coefficient to the client so that the client can update the target data based on the factor coefficient.
In addition, the invention also provides a data processing method. Fig. 3 is a schematic method flow diagram of an embodiment of the data processing method of the present invention. The processor 12 of the server 1, when executing the data processing program 10 stored in the memory 11, implements the following steps of the data processing method:
step S10: the method comprises the steps of obtaining factor coefficients of objects and dimension information of the objects from a preset database, and generating a plurality of relation data tables related to the objects according to the factor coefficients of the objects and the dimension information of the objects.
In this embodiment, the attribute information of the object is acquired from a preset database, where the attribute information of the object includes a factor coefficient of the object and dimension information to which the object belongs, and a plurality of relationship data tables associated with the object are generated according to the factor coefficient of the object and the dimension information to which the object belongs. The object may be a product, preset data, software, or the like, in this embodiment, the present scheme is described by taking the object as an example of a certain insurance product, multiple preset types of object factor coefficients are predefined, the factor coefficients may be premium segments, industry classes, occupation classes, risk levels, non-claim amounts, non-claim rates, or the like, a program corresponding to the initialization factor coefficient is encoded into a preset database or a cache, and the program is provided for a client to obtain the relationship data between the dimension and the product factor from the cache or the database and load the relationship data to a display page, where the object factor coefficient of each type includes at least one attribute, and the attribute includes a page display attribute (e.g., segment display) and a formula algorithm attribute corresponding to the factor coefficient. Further, a mapping relation between each factor coefficient of the object and the dimension information to which the object belongs is created in advance, based on the mapping relation, the factor coefficients of the object and the dimension information to which the object belongs are respectively filled to corresponding positions in a preset template table, and a plurality of relation data tables associated with the object are generated and stored in a preset database. The factor coefficients of the object can be configured through different dimension information (such as mechanisms, channels, product codes, regions and the like), and all the relation data tables can be supported through scripts, so that the scheme can meet the formulation of different product factors, and the dynamic configuration of the factor coefficients at the front end by a user is realized.
Step S20: for: receiving a request sent by a client for executing object data processing on the object, determining the type of the request, acquiring a relation data table corresponding to the type of the request, and sending the relation data table to the client so that the client can execute configuration operation on the object data to be processed based on the relation data table.
In this embodiment, when receiving a request for processing object data sent by a client, a server determines a type of the request, obtains a relationship data table corresponding to the type of the request, and sends the relationship data table to the client, so that the client performs configuration operation on the object data to be processed based on the relationship data table. Specifically, the server sends the configuration page to the client for display when receiving the data request.
Further, when the request is a first preset processing request, determining a relationship data table corresponding to the first preset processing request, and sending the relationship data table to the client through a corresponding interface, so that the client performs configuration operation on the to-be-processed object data based on the interface, and when the request is a second preset processing request, providing an editing interface corresponding to the to-be-processed object data to the client, so that the client adds or deletes the to-be-processed object data based on the interface.
Based on the relational data table corresponding to the request, the user can perform configuration operation on the data according to actual requirements, and can also obtain predefined factor coefficients in the cache data in real time, for example: "0-10 ten thousand __ fill in factor coefficients", when submitting configured factor coefficients, the codes and dimension values of the configured factor coefficients can be sent to the server according to the JSON format.
Step S30: monitoring whether the client sends confirmation information of configuration completion in real time, and acquiring the object data to be processed which is configured by the client when the client sends the confirmation information of configuration completion.
In this embodiment, the server monitors whether the client sends confirmation information of completion of configuration in real time, and when it is monitored that the client sends confirmation information of completion of configuration, the server acquires the to-be-processed object data of completion of configuration of the client.
Step S40: and performing calculation processing on the configured object data to be processed based on a preset calculation rule to obtain target data, and feeding the target data back to the client.
In this embodiment, after acquiring the to-be-processed object data configured by the client, the server performs calculation processing on the to-be-processed object data configured by the client based on a preset calculation rule to obtain target data, and feeds the target data back to the client. The technical scheme is explained by taking target data as product premium as an example, factor coefficients of configured object data to be processed are obtained, and then corresponding product premium is calculated according to corresponding calculation rules. Furthermore, an operation page can be provided for a user to enter quotation parameters, and a coefficient value fed back by a corresponding interface of the client is displayed by calling a simulation quotation parameter interface, so that a premium preview mode is realized, the real-time checking of whether the configured factor coefficient is correct or not is supported, the quotation stage function is simulated, and the accurate configuration of the factor coefficient of the object by the user is facilitated.
Wherein, the step of performing calculation processing on the configured object data to be processed based on a preset calculation rule to obtain target data comprises:
analyzing the configured object data to be processed to obtain factor coefficient codes corresponding to the object data and numerical values of dimensionalities to which the object data belong;
and acquiring the preset calculation rule from a preset database according to the factor coefficient code, and calculating to obtain the target data based on the preset calculation rule and the numerical value of the dimension to which the object data belongs.
Specifically, a request is initiated by processing the configured object data in a JSON format, a factor coefficient code obtained by analyzing the configured object data and a numerical value of the dimension to which the configured object data belongs are uploaded to a server, the server obtains a preset calculation rule from a preset database according to the factor coefficient code, and the target data is obtained by calculation based on the preset calculation rule and the numerical value of the dimension to which the object data belongs.
Linear interpolation calculation methods can also be implemented, for example: setting a factor segmentation coefficient of 0-10 ten thousand and 20-30 ten thousand of guarantee amount, and calculating the configured object data by a linear interpolation formula when the actual quoted guarantee amount is 15 ten thousand, wherein the calculation formula is as follows:
wherein, YmRepresenting a target data value, Y1Represents the value 0, XmRepresenting a 15-thousand, Y quoted premium2Represents 200000, X1Represents 100000, X2Representing 30000.
In one embodiment, the method further comprises:
when a request for updating the target data sent by a client is received, acquiring an identifier of the target data carried in the request, searching a factor coefficient corresponding to the target data from a preset database based on the identifier, and sending the searched factor coefficient to the client so that the client can update the target data based on the factor coefficient.
Furthermore, the embodiment of the present invention also provides a computer-readable storage medium, which may be any one or any combination of a hard disk, a multimedia card, an SD card, a flash memory card, an SMC, a Read Only Memory (ROM), an Erasable Programmable Read Only Memory (EPROM), a portable compact disc read only memory (CD-ROM), a USB memory, and the like. The computer readable storage medium includes a data processing program 10, and when executed by a processor, the data processing program 10 implements the following operations:
a generation step: acquiring factor coefficients of objects and dimension information to which the objects belong from a preset database, and generating a plurality of relation data tables associated with the objects according to the factor coefficients of the objects and the dimension information to which the objects belong;
a receiving step: receiving a request sent by a client for executing object data processing on the object, determining the type of the request, acquiring a relation data table corresponding to the type of the request, and sending the relation data table to the client so that the client can execute configuration operation on the object data to be processed based on the relation data table;
a monitoring step: monitoring whether a client sends confirmation information of configuration completion in real time, and acquiring to-be-processed object data of the client after configuration completion when the client sends the confirmation information of configuration completion; and
a feedback step: and performing calculation processing on the configured object data to be processed based on a preset calculation rule to obtain target data, and feeding the target data back to the client.
The embodiment of the computer readable storage medium of the present invention is substantially the same as the embodiment of the data processing method, and will not be described herein again.
It should be noted that the above-mentioned numbers of the embodiments of the present invention are merely for description, and do not represent the merits of the embodiments. And the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, apparatus, article, or method that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, apparatus, article, or method. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, apparatus, article, or method that includes the element.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium (e.g., ROM/RAM, magnetic disk, optical disk) as described above and includes instructions for enabling a terminal device (e.g., a mobile phone, a computer, a server, or a network device) to execute the method according to the embodiments of the present invention.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.
Claims (10)
1. A data processing method is applied to a server, and is characterized by comprising the following steps:
a generation step: acquiring factor coefficients of objects and dimension information to which the objects belong from a preset database, and generating a plurality of relation data tables associated with the objects according to the factor coefficients of the objects and the dimension information to which the objects belong;
a receiving step: receiving a request sent by a client for executing object data processing on the object, determining the type of the request, acquiring a relation data table corresponding to the type of the request, and sending the relation data table to the client so that the client can execute configuration operation on the object data to be processed based on the relation data table;
a monitoring step: monitoring whether a client sends confirmation information of configuration completion in real time, and acquiring to-be-processed object data of the client after configuration completion when the client sends the confirmation information of configuration completion; and
a feedback step: and performing calculation processing on the configured object data to be processed based on a preset calculation rule to obtain target data, and feeding the target data back to the client.
2. The data processing method of claim 1, wherein the generating step comprises:
and pre-creating a mapping relation between each factor coefficient of the object and the dimension information to which the object belongs, respectively filling the factor coefficient of the object and the dimension information to which the object belongs to corresponding positions in a preset template table based on the mapping relation, generating a plurality of relation data tables associated with the object, and storing the relation data tables in a preset database.
3. The data processing method of claim 1, wherein the receiving step comprises:
when the request is a first preset processing request, determining a relation data table corresponding to the first preset processing request, and sending the relation data table to the client through a corresponding interface so that the client can perform configuration operation on the object data to be processed based on the interface;
and when the request is a second preset processing request, providing the editing interface corresponding to the object data to be processed for the client, so that the client can add or delete the object data to be processed based on the interface.
4. The data processing method of claim 1, wherein the method further comprises:
when a request for updating the target data sent by a client is received, acquiring an identifier of the target data carried in the request, searching a factor coefficient corresponding to the target data from a preset database based on the identifier, and sending the searched factor coefficient to the client so that the client can update the target data based on the factor coefficient.
5. The data processing method according to any one of claims 1 to 4, wherein the performing, based on a preset calculation rule, a calculation process on the configured object data to be processed to obtain target data includes:
analyzing the configured object data to be processed to obtain factor coefficient codes corresponding to the object data and numerical values of dimensionalities to which the object data belong;
and acquiring the preset calculation rule from a preset database according to the factor coefficient code, and calculating to obtain the target data based on the preset calculation rule and the numerical value of the dimension to which the object data belongs.
6. A server comprising a memory and a processor, wherein the memory stores a data processing program, and the data processing program is executed by the processor to implement the steps of:
a generation step: acquiring factor coefficients of objects and dimension information to which the objects belong from a preset database, and generating a plurality of relation data tables associated with the objects according to the factor coefficients of the objects and the dimension information to which the objects belong;
a receiving step: receiving a request sent by a client for executing object data processing on the object, determining the type of the request, acquiring a relation data table corresponding to the type of the request, and sending the relation data table to the client so that the client can execute configuration operation on the object data to be processed based on the relation data table;
a monitoring step: monitoring whether a client sends confirmation information of configuration completion in real time, and acquiring to-be-processed object data of the client after configuration completion when the client sends the confirmation information of configuration completion; and
a feedback step: and performing calculation processing on the configured object data to be processed based on a preset calculation rule to obtain target data, and feeding the target data back to the client.
7. The server of claim 6, wherein the generating step comprises:
and pre-creating a mapping relation between each factor coefficient of the object and the dimension information to which the object belongs, respectively filling the factor coefficient of the object and the dimension information to which the object belongs to corresponding positions in a preset template table based on the mapping relation, generating a plurality of relation data tables associated with the object, and storing the relation data tables in a preset database.
8. The server of claim 6, wherein the receiving step comprises:
when the request is a first preset processing request, determining a relation data table corresponding to the first preset processing request, and sending the relation data table to the client through a corresponding interface so that the client can perform configuration operation on the object data to be processed based on the interface;
and when the request is a second preset processing request, providing the editing interface corresponding to the object data to be processed for the client, so that the client can add or delete the object data to be processed based on the interface.
9. The server according to claim 6, wherein the performing, based on the preset calculation rule, the calculation processing on the configured to-be-processed object data to obtain target data includes:
analyzing the configured object data to be processed to obtain factor coefficient codes corresponding to the object data and numerical values of dimensionalities to which the object data belong;
and acquiring the preset calculation rule from a preset database according to the factor coefficient code, and calculating to obtain the target data based on the preset calculation rule and the numerical value of the dimension to which the object data belongs.
10. A computer-readable storage medium, comprising a data processing program which, when executed by a processor, implements the steps of the data processing method according to any one of claims 1 to 5.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010109745.7A CN111402066B (en) | 2020-02-22 | 2020-02-22 | Data processing method, server and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010109745.7A CN111402066B (en) | 2020-02-22 | 2020-02-22 | Data processing method, server and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN111402066A true CN111402066A (en) | 2020-07-10 |
CN111402066B CN111402066B (en) | 2023-06-23 |
Family
ID=71430372
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010109745.7A Active CN111402066B (en) | 2020-02-22 | 2020-02-22 | Data processing method, server and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111402066B (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111861718A (en) * | 2020-07-24 | 2020-10-30 | 招商局通商融资租赁有限公司 | Data processing method, server and storage medium based on collaboration platform |
CN112800047A (en) * | 2021-03-03 | 2021-05-14 | 百果园技术(新加坡)有限公司 | User associated data processing method, device, equipment and storage medium |
CN113569110A (en) * | 2021-07-23 | 2021-10-29 | 用友汽车信息科技(上海)股份有限公司 | Data processing method, data processing system, computer device, and storage medium |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20160034502A1 (en) * | 2014-08-04 | 2016-02-04 | Ron Dupey | Automatic Detection of Potential Data Quality Problems |
CN107688464A (en) * | 2017-06-28 | 2018-02-13 | 上海壹账通金融科技有限公司 | Software customized server, method and computer-readable recording medium |
CN110019112A (en) * | 2017-08-25 | 2019-07-16 | 阿里巴巴集团控股有限公司 | Data transactions method, apparatus and electronic equipment |
CN110503564A (en) * | 2019-07-05 | 2019-11-26 | 中国平安人寿保险股份有限公司 | Save case processing method, system, equipment and storage medium from damage based on big data |
CN110716989A (en) * | 2019-08-27 | 2020-01-21 | 苏宁云计算有限公司 | Dimension data processing method and device, computer equipment and storage medium |
-
2020
- 2020-02-22 CN CN202010109745.7A patent/CN111402066B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20160034502A1 (en) * | 2014-08-04 | 2016-02-04 | Ron Dupey | Automatic Detection of Potential Data Quality Problems |
CN107688464A (en) * | 2017-06-28 | 2018-02-13 | 上海壹账通金融科技有限公司 | Software customized server, method and computer-readable recording medium |
CN110019112A (en) * | 2017-08-25 | 2019-07-16 | 阿里巴巴集团控股有限公司 | Data transactions method, apparatus and electronic equipment |
CN110503564A (en) * | 2019-07-05 | 2019-11-26 | 中国平安人寿保险股份有限公司 | Save case processing method, system, equipment and storage medium from damage based on big data |
CN110716989A (en) * | 2019-08-27 | 2020-01-21 | 苏宁云计算有限公司 | Dimension data processing method and device, computer equipment and storage medium |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111861718A (en) * | 2020-07-24 | 2020-10-30 | 招商局通商融资租赁有限公司 | Data processing method, server and storage medium based on collaboration platform |
CN112800047A (en) * | 2021-03-03 | 2021-05-14 | 百果园技术(新加坡)有限公司 | User associated data processing method, device, equipment and storage medium |
CN112800047B (en) * | 2021-03-03 | 2024-04-05 | 百果园技术(新加坡)有限公司 | User associated data processing method, device, equipment and storage medium |
CN113569110A (en) * | 2021-07-23 | 2021-10-29 | 用友汽车信息科技(上海)股份有限公司 | Data processing method, data processing system, computer device, and storage medium |
CN113569110B (en) * | 2021-07-23 | 2022-09-27 | 用友汽车信息科技(上海)股份有限公司 | Data processing method, data processing system, computer device, and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN111402066B (en) | 2023-06-23 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109358851B (en) | Chart component creating method and device and computer-readable storage medium | |
CN109783555B (en) | Form template storage method and device, storage medium and electronic equipment | |
CN108874926B (en) | Mass data query method, device, computer equipment and storage medium | |
CN107944187B (en) | Revit-based steel bar calculation method and device, terminal equipment and medium | |
CN111400380A (en) | Method for checking table data, electronic device and storage medium | |
CN111402066B (en) | Data processing method, server and storage medium | |
CN112669076A (en) | Data distribution method based on rule engine, server and storage medium | |
CN113761012A (en) | Analysis visualization method of remote sensing data, server and storage medium | |
CN110837366A (en) | Form generation method, electronic device and computer readable storage medium | |
CN110738035A (en) | document template generation method and device | |
CN110647564A (en) | Hive table establishing method, electronic device and computer readable storage medium | |
CN110737711A (en) | Report exporting method and device, computer equipment and storage medium | |
CN115455925A (en) | Contract generation method and device, electronic equipment and storage medium | |
CN112541240B (en) | Part drawing method, computer device and storage medium | |
CN108427704B (en) | Compression tool calling method and device and storage medium | |
CN110837500B (en) | Data screening method and device based on socal embedded window and computer equipment | |
CN108052521B (en) | Coordinated data display method, application server and storage medium | |
CN109118370B (en) | Model-based product construction method, device, computer equipment and storage medium | |
CN115905397A (en) | Visual display method, device, system and medium for business data | |
CN111489295B (en) | Image processing method, electronic device, and storage medium | |
CN115185960A (en) | Data processing method, data association system, and computer-readable storage medium | |
CN112860629B (en) | Method and system for attributing performance, computer equipment and readable storage medium thereof | |
CN110442663B (en) | Raster data batch clipping method and device and computer readable storage medium | |
CN114817152A (en) | Method and system for querying slice file | |
CN115169316A (en) | Data processing template generation method and device, electronic equipment and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |