CN111709811A - Data processing method, system and computer readable medium - Google Patents

Data processing method, system and computer readable medium Download PDF

Info

Publication number
CN111709811A
CN111709811A CN202010557927.0A CN202010557927A CN111709811A CN 111709811 A CN111709811 A CN 111709811A CN 202010557927 A CN202010557927 A CN 202010557927A CN 111709811 A CN111709811 A CN 111709811A
Authority
CN
China
Prior art keywords
trial calculation
trial
request
server
user terminal
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
Application number
CN202010557927.0A
Other languages
Chinese (zh)
Other versions
CN111709811B (en
Inventor
郭军
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Golden Axe Network Technology Co ltd
Original Assignee
Shenzhen Golden Axe Network Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Golden Axe Network Technology Co ltd filed Critical Shenzhen Golden Axe Network Technology Co ltd
Priority to CN202010557927.0A priority Critical patent/CN111709811B/en
Publication of CN111709811A publication Critical patent/CN111709811A/en
Application granted granted Critical
Publication of CN111709811B publication Critical patent/CN111709811B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION 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
    • G06Q30/00Commerce
    • G06Q30/06Buying, selling or leasing transactions
    • G06Q30/0601Electronic shopping [e-shopping]
    • G06Q30/0631Item recommendations
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/901Indexing; Data structures therefor; Storage structures
    • G06F16/9024Graphs; Linked lists
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/951Indexing; Web crawling techniques
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/953Querying, e.g. by the use of web search engines
    • G06F16/9535Search customisation based on user profiles and personalisation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION 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
    • G06Q30/00Commerce
    • G06Q30/02Marketing; Price estimation or determination; Fundraising
    • G06Q30/0241Advertisements
    • G06Q30/0251Targeted advertisements
    • G06Q30/0269Targeted advertisements based on user profile or attribute
    • G06Q30/0271Personalized advertisement
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION 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
    • G06Q30/00Commerce
    • G06Q30/02Marketing; Price estimation or determination; Fundraising
    • G06Q30/0241Advertisements
    • G06Q30/0277Online advertisement

Abstract

The embodiment of the application discloses a data processing method, a system and a computer readable medium, wherein the method comprises the following steps: sending the acquired trial calculation factor list to a user terminal; the user terminal displays a plurality of trial calculation factors which are sequentially arranged, obtains a selected value input according to the displayed trial calculation factors, and sends the selected value corresponding to all the trial calculation factors contained in the trial calculation factor list to the trial calculation server; the trial calculation server stores the selected values corresponding to all the received trial calculation factors in a mapping table, acquires splicing format data, splices the selected values in the mapping table into corresponding character strings according to the splicing format data, and acquires a fee rate value; the user terminal sends a trial calculation request to a trial calculation server; the trial calculation server acquires a character string and a rate value corresponding to a target trial calculation project, performs analysis operation on the acquired character string and rate value to obtain an operation result, and sends the operation result to the user terminal; and the user terminal displays the operation result.

Description

Data processing method, system and computer readable medium
Technical Field
The present application relates to the field of computer technologies, and in particular, to a data processing method, system, and computer readable medium.
Background
With the rapid development of the internet, more and more users can directly purchase on line, and simultaneously, internet products supporting on-line purchase are more and more abundant, so that the convenience of commodity purchase is greatly improved. With the increase of the richness of internet products, the product combination structure is designed to be more and more complex. When purchasing a product, matching conditions of the product can be input, and a suitable product is recommended to a user according to the conditions. The dependency relationship between various matching factors is more and more complex when purchasing products, which brings great challenges to the matching process of supporting internet products of various structures by using the same internet system.
Disclosure of Invention
The embodiment of the application provides a data processing method, a data processing system and a computer readable medium, which can improve the data processing efficiency.
A method of data processing, comprising:
sending the obtained trial calculation factor list to a user terminal through a trial calculation server, wherein the trial calculation factor list comprises a plurality of trial calculation factors which are sequentially arranged;
under the condition that the user terminal receives the trial calculation factor list, displaying the trial calculation factors arranged in sequence, acquiring selected values input according to the displayed trial calculation factors, and sending the selected values corresponding to all the trial calculation factors contained in the trial calculation factor list to the trial calculation server;
under the condition that the trial calculation server receives the selected values corresponding to all trial calculation factors contained in the trial calculation factor list, storing the selected values corresponding to all the received trial calculation factors in a mapping table, acquiring the stored splicing format data corresponding to one or more trial calculation items from a database, splicing the selected values in the mapping table into corresponding character strings according to the one or more splicing format data, and acquiring the charge rate values of the one or more trial calculation items;
sending a trial calculation request to the trial calculation server through the user terminal, wherein the trial calculation request comprises a target trial calculation item;
acquiring a character string and a rate value corresponding to the target trial calculation project through the trial calculation server, performing analysis operation on the acquired character string and rate value to obtain an operation result, and sending the operation result to the user terminal;
and displaying the operation result under the condition that the user terminal receives the operation result.
Further, before sending the obtained trial calculation factor list to the user terminal through the trial calculation server, the method further includes:
receiving trial calculation requests sent by the user terminal through a load server, acquiring load data of each candidate trial calculation server under the condition that the trial calculation requests pass safety verification, selecting the trial calculation servers from all the candidate trial calculation servers according to the load data, and sending the trial calculation requests to the trial calculation servers;
the step of sending the obtained trial calculation factor list to the user terminal through the trial calculation server comprises the following steps:
and sending the acquired trial calculation factor list to the user terminal corresponding to the trial calculation request through the trial calculation server.
Further, the obtaining load data of each candidate trial calculation server, selecting a trial calculation server from all candidate trial calculation servers according to the load data, and sending the trial calculation request to the trial calculation server includes:
storing the trial calculation requests into a request queue, acquiring the request time and the user grade of each trial calculation request in the request queue, and sequencing the trial calculation requests in the request queue according to the request time and the user grade;
reading the trial calculation requests in the request queue one by one in sequence, acquiring load data of each candidate trial calculation server and a user grade of the currently read trial calculation request, selecting the trial calculation server from all the candidate trial calculation servers according to the load data and the user grade, and sending the trial calculation request to the trial calculation server.
Further, the sorting the trial computation requests in the request queue according to the request time and the user level includes:
taking the trial calculation request with the request time exceeding a time threshold in the request queue as a first trial calculation request, and taking the trial calculation request with the request time not exceeding the time threshold in the request queue as a second trial calculation request;
arranging the first trial calculation requests according to the sequence of the request time from morning to evening, and moving the arranged first trial calculation requests to the head of the request queue;
obtaining a first weight of the second trial calculation request according to the request time corresponding to the second trial calculation request, obtaining a second weight of the second trial calculation request according to the user level corresponding to the second trial calculation request, adding the first weight and the second weight to obtain a sequencing weight, sequencing the second trial calculation requests according to the sequence of the sequencing weight from high to low, and storing the sequenced second trial calculation requests to a position in the request queue behind the first trial calculation request.
Further, the selecting a trial server from all candidate trial servers according to the load data and the user rank includes:
acquiring a load threshold corresponding to the user level according to a pre-established corresponding relation;
under the condition that candidate trial calculation servers with corresponding load data smaller than the load threshold exist, selecting the candidate trial calculation server with the minimum load data from the candidate trial calculation servers with corresponding load data smaller than the load threshold as a trial calculation server;
and under the condition that no candidate trial calculation server with corresponding load data smaller than the load threshold exists, entering a waiting state, stopping waiting until the candidate trial calculation server with corresponding load data smaller than the load threshold exists, and selecting the candidate trial calculation server with the minimum load data from the candidate trial calculation servers with corresponding load data smaller than the load threshold as the trial calculation server.
Further, the obtaining the selected value input according to the displayed trial calculation factor includes:
and acquiring a first selected median value input according to the displayed trial calculation factor, updating the displayed trial calculation factor according to the first selected value, and acquiring a second selected median value input according to the displayed updated trial calculation factor.
Further, after obtaining the selected value input according to the demonstrated trial calculation factor, the method further includes:
judging whether the input selected median meets the constraint condition of the trial calculation factor;
under the condition that the selected value meets the constraint condition, the step of sending the selected value corresponding to all trial calculation factors contained in the trial calculation factor list to the trial calculation server is executed;
and under the condition that the selected value does not meet the constraint condition, updating the selected value which does not meet the constraint condition to a preset default value, and displaying modification prompt information.
A data processing system comprising:
the trial calculation server is used for sending the obtained trial calculation factor list to the user terminal, wherein the trial calculation factor list comprises a plurality of trial calculation factors which are sequentially arranged; under the condition that the received trial calculation factor list contains the selected values corresponding to all trial calculation factors, storing the selected values corresponding to all the received trial calculation factors in a mapping table, acquiring splicing format data corresponding to one or more stored trial calculation items from a database, splicing the selected values in the mapping table into corresponding character strings according to the one or more splicing format data, and acquiring charge rate values of the one or more trial calculation items; acquiring a character string and a rate value corresponding to the target trial calculation project, performing analysis operation on the acquired character string and rate value to obtain an operation result, and sending the operation result to the user terminal;
the user terminal is used for displaying the trial calculation factors which are sequentially arranged under the condition of receiving the trial calculation factor list, acquiring selected values input according to the displayed trial calculation factors, and sending the selected values corresponding to all the trial calculation factors contained in the trial calculation factor list to the trial calculation server; sending a trial calculation request to the trial calculation server, wherein the trial calculation request comprises a target trial calculation item; and displaying the operation result under the condition of receiving the operation result.
An electronic device comprises a memory and a processor, wherein the memory stores computer-executable instructions, and the processor realizes the method when executing the computer-executable instructions on the memory.
A computer-readable storage medium, on which a computer program is stored which, when executed by a processor, carries out the above-mentioned method.
The data processing method, the system and the computer readable medium can generate the character strings and the rate values of a plurality of trial calculation items according to the selected value input by the user, and then search the corresponding character strings and rate values according to the target trial calculation item input by the user, thereby generating the operation result corresponding to the target trial calculation item. Therefore, the operation result can be dynamically adjusted according to the selected value input by the user, and each trial calculation item does not need to be adapted to different systems, so that the data processing efficiency is improved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings used in the description of the embodiments will be briefly introduced below.
FIG. 1 is a flow diagram of a data processing method in one embodiment.
FIG. 2 is a block diagram of a data processing system in one embodiment.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some, but not all, embodiments of the present application. 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 application.
It will be understood that the terms "comprises" and/or "comprising," when used in this specification and the appended claims, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.
It is also to be understood that the terminology used in the description of the present application herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the application. As used in the specification of the present application and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise.
It should be further understood that the term "and/or" as used in this specification and the appended claims refers to and includes any and all possible combinations of one or more of the associated listed items.
As used in this specification and the appended claims, the term "if" may be interpreted contextually as "when", "upon" or "in response to a determination" or "in response to a detection". Similarly, the phrase "if it is determined" or "if a [ described condition or event ] is detected" may be interpreted contextually to mean "upon determining" or "in response to determining" or "upon detecting [ described condition or event ]" or "in response to detecting [ described condition or event ]".
Fig. 1 is a flowchart of a data processing method in an embodiment, as shown in fig. 1, the data processing method includes steps 102 to 112, where:
and 102, sending the acquired trial calculation factor list to the user terminal through the trial calculation server, wherein the trial calculation factor list comprises a plurality of trial calculation factors which are sequentially arranged.
The trial calculation factor is used for expressing a relevant influence factor influencing the matched commodity when the user is matched with the proper commodity. For example, the trial factors may be, but are not limited to, the age, sex, presence or absence of disease history of the user, etc. when purchasing insurance products.
And 104, under the condition that the user terminal receives the trial calculation factor list, displaying the trial calculation factors which are sequentially arranged, acquiring the selected values input according to the displayed trial calculation factors, and sending the selected values corresponding to all the trial calculation factors contained in the trial calculation factor list to the trial calculation server.
In one embodiment, the server may send the trial calculation factor list to the user terminal, and the user terminal may display the trial calculation factor list so that the user inputs the selected value according to the displayed trial calculation factor. For example, the user terminal presents the trial calculation factor "age" on the display screen, and the user inputs his actual age "50 years" in the dialog box.
Because trial factors may be correlated before, the trial factors displayed by the user terminal are arranged in sequence, and the user inputs corresponding selected values according to the displayed sequence. For example, the start date is entered first, and then the end date is entered, and the end date should not be earlier than the start date.
For another example, if the trial calculation factor a refers to the trial calculation factor B, it means that the trial calculation factor a depends on the selected median of the trial calculation factor B, so that the priority of the trial calculation factor B is higher than that of the trial calculation factor a when the result is obtained. When trial calculation factors are configured, the dependency relationships among all trial calculation factors can be stored by using a directed graph data structure, a topology sorting algorithm is executed on the graph data structure, whether the directed graph has cyclic dependency or not is judged firstly, and if yes, an error can be prompted; if not, the corresponding priority can be set for each trial calculation factor according to the sequence returned by the topology sorting algorithm, and the priorities are sequentially decreased from top to bottom to obtain the sorting sequence of the trial calculation factors.
And 106, under the condition that the trial calculation server receives the trial calculation factor list containing the selected values corresponding to all the trial calculation factors, storing the selected values corresponding to all the received trial calculation factors in the mapping table, acquiring the stored splicing format data corresponding to one or more trial calculation items from the database, splicing the selected values in the mapping table into corresponding character strings according to the one or more splicing format data, and acquiring the charge rate value of the one or more trial calculation items.
And after the user terminal inputs the selected value, the selected value is sent to the server. The server, upon receiving the selected value of the trial factor, stores the selected value in the mapping table. The database of the server also stores splicing format data corresponding to one or more trial calculation projects. The splicing format data is used for representing a format for splicing the selected values, and the selected values are spliced according to the splicing format data to generate corresponding character strings. The character string is used for expressing the connection relation between the selected values so as to obtain a final matching result according to the character string. And the server obtains the charge rate value of one or more trial projects, wherein the charge rate value is used for expressing the charge rate of each part generated by the matching result generated on the character string.
For example, when purchasing insurance products, the trial calculation factor can be input according to the actual situation of the insured person, then the selected value of the trial calculation factor is generated into a character string, the premium of the corresponding risk is calculated according to the character string, and then the fees which need to be borne by the insurer and the insured person respectively are calculated according to the rate value.
Step 108, sending a trial calculation request to the trial calculation server through the user terminal, wherein the trial calculation request comprises a target trial calculation item.
After obtaining the character strings and the rate values corresponding to the respective trial calculation items according to the selected value, the user terminal may transmit a trial calculation request to the server. The trial calculation request includes a target trial calculation item for indicating a trial calculation item that the user wants to obtain a trial calculation result.
And step 110, acquiring a character string and a rate value corresponding to the target trial calculation project, performing analysis operation on the acquired character string and rate value to obtain an operation result, and sending the operation result to the user terminal.
In an embodiment, after receiving the trial calculation request, the server may obtain a character string and a rate value corresponding to a target trial calculation item included in the trial calculation request, and then perform an analysis operation on the character string and the rate value to obtain an operation result. And finally, sending the operation result to the user terminal.
And 112, displaying the operation result under the condition that the user terminal receives the operation result.
And when receiving the operation result, the user terminal displays the operation result for the user to check. The user can view the operation result of the trial calculation item to be acquired according to the operation result.
The data processing method provided by the above embodiment may generate the character strings and the rate values of a plurality of trial calculation items according to the selected value input by the user, and then search the corresponding character strings and rate values according to the target trial calculation item input by the user, thereby generating the operation result corresponding to the target trial calculation item. Therefore, the operation result can be dynamically adjusted according to the selected value input by the user, and each trial calculation item does not need to be adapted to different systems, so that the data processing efficiency is improved.
In one embodiment, before sending the obtained trial calculation factor list to the user terminal through the trial calculation server, the method further includes: receiving trial calculation requests sent by a user terminal through a load server, acquiring load data of each candidate trial calculation server under the condition that the trial calculation requests pass safety verification, selecting the trial calculation servers from all the candidate trial calculation servers according to the load data, and sending the trial calculation requests to the trial calculation servers; sending the obtained trial calculation factor list to the user terminal through the trial calculation server, wherein the trial calculation server comprises the following steps: and sending the acquired trial calculation factor list to a user terminal corresponding to the trial calculation request through the trial calculation server.
Specifically, the load server is connected with the user terminal and is connected with at least two candidate trial calculation servers. The user terminal sends the trial calculation request to the load server, and the load server can carry out security verification on the trial calculation request. For example, whether the trial calculation request contains a preset keyword or not is verified, whether the format of the trial calculation request meets the standard or not is verified, and the like. After the safety verification of the trial calculation request is passed, the load server selects a server for processing the trial calculation request according to the load condition of each candidate trial calculation server, and sends the trial calculation request to the selected server for processing.
In the embodiment provided by the present application, acquiring load data of each candidate trial calculation server, selecting a trial calculation server from all candidate trial calculation servers according to the load data, and sending a trial calculation request to the trial calculation server includes: storing the trial calculation requests into a request queue, acquiring the request time and the user grade of each trial calculation request in the request queue, and sequencing the trial calculation requests in the request queue according to the request time and the user grade; reading trial calculation requests in the request queue one by one in sequence, acquiring load data of each candidate trial calculation server and a user grade of the currently read trial calculation request, selecting the trial calculation server from all the candidate trial calculation servers according to the load data and the user grade, and sending the trial calculation request to the trial calculation server.
It will be appreciated that the capacity of the server to process trial requests is limited, and sending the requests to the trial server may cause the trial server to be overloaded and result in inefficient data processing. Therefore, the load server can establish a request queue, store all the received trial calculation requests in the request queue, and process the trial calculation requests in the request queue one by one.
Trial calculation requests in the request queue can be sorted according to request time and user levels, the earlier the request time is, the higher the user level is, and the earlier the sorting is, the higher the priority processing level is. The request time refers to the time for initiating the trial calculation request, and the user level refers to the level of the user initiating the trial calculation request and is used for representing the importance degree of the user.
In one embodiment, sorting the trial calculation requests in the request queue according to request time and user rank comprises: taking a trial calculation request with the request time exceeding a time threshold in the request queue as a first trial calculation request, and taking a trial calculation request with the request time not exceeding the time threshold in the request queue as a second trial calculation request; arranging the first trial calculation requests according to the sequence of the request time from morning to evening, and moving the arranged first trial calculation requests to the head of the request queue; and obtaining a first weight of the second trial calculation request according to the request time corresponding to the second trial calculation request, obtaining a second weight of the second trial calculation request according to the user level corresponding to the second trial calculation request, adding the first weight and the second weight to obtain a sequencing weight, sequencing the second trial calculation requests according to the sequencing weight from high to low, and storing the sequenced second trial calculation requests to the position in the request queue behind the first trial calculation request.
When the request time exceeds the time threshold, which indicates that the waiting time of the user is too long, the priority of the trial request processing can be determined only according to the request time. When the request time does not exceed the time threshold, the trial requests may be ranked according to both the request time and the user rank. Trial requests exceeding the time threshold value are arranged at the head of the queue to be processed preferentially, and trial requests not exceeding the time threshold value are arranged at the end of the queue.
For trial calculation requests for which the request time does not exceed the time threshold, a first weight may be obtained according to the request time, and a second weight may be obtained according to the user level. And adding the obtained first weight and the second weight to obtain a sorting weight, and sorting the trial calculation requests according to the sequence of the sorting weight from high to low.
In an embodiment provided by the present application, selecting a trial calculation server from all candidate trial calculation servers according to load data and a user rank includes: acquiring a load threshold corresponding to the user level according to a pre-established corresponding relation; under the condition that candidate trial calculation servers with corresponding load data smaller than a load threshold exist, selecting the candidate trial calculation server with the minimum load data from the candidate trial calculation servers with corresponding load data smaller than the load threshold as a trial calculation server; and under the condition that no candidate trial calculation server with the corresponding load data smaller than the load threshold exists, entering a waiting state, stopping waiting until the candidate trial calculation server with the corresponding load data smaller than the load threshold exists, and selecting the candidate trial calculation server with the minimum load data from the candidate trial calculation servers with the corresponding load data smaller than the load threshold as the trial calculation server.
Specifically, load data of each candidate trial calculation server is obtained, and when there is a candidate trial calculation server corresponding to which the load data is smaller than the load threshold, it is indicated that there is a candidate trial calculation server with sufficient resources, and then a trial calculation server with the minimum load can be selected from the candidate trial calculation servers with sufficient resources. If the candidate trial calculation servers with the corresponding load data smaller than the load threshold do not exist, the resources of the candidate trial calculation servers are all in tension, the candidate trial calculation servers can temporarily enter a waiting state, and the trial calculation request is processed after the candidate trial calculation servers which are relatively idle exist.
In an embodiment provided by the present application, obtaining a selected value input according to a displayed trial calculation factor includes: and acquiring a first selected median value input according to the displayed trial calculation factor, updating the displayed trial calculation factor according to the first selected value, and acquiring a second selected median value input according to the displayed updated trial calculation factor.
In the process of inputting the selected value, the user may need to rely on the input selected value for the subsequent trial calculation factor, so that the displayed trial calculation factor can be changed according to the input selected value.
In one embodiment, after obtaining the selected value input according to the displayed trial calculation factor, the method further comprises: judging whether the input selected value meets the constraint condition of the trial calculation factor; under the condition that the selected value meets the constraint condition, the step of sending the selected value corresponding to all trial factors contained in the trial factor list to a trial server is executed; and under the condition that the selected value does not meet the constraint condition, updating the selected value which does not meet the constraint condition to a preset default value, and displaying modification prompt information.
Specifically, when the selected value input by the user does not meet the preset constraint condition, the selected value can be directly modified to a preset default value, and modification prompt information is displayed to the user to prompt the user to confirm whether the selected value is modified.
FIG. 2 is a block diagram of a data processing system in one embodiment. As shown in fig. 2, the data processing system includes a trial server 202 and a user terminal 204, wherein:
the trial calculation server 202 is configured to send the obtained trial calculation factor list to the user terminal, where the trial calculation factor list includes a plurality of trial calculation factors arranged in sequence; under the condition that the received trial calculation factor list contains the selected values corresponding to all trial calculation factors, storing the selected values corresponding to all the received trial calculation factors in a mapping table, acquiring splicing format data corresponding to one or more stored trial calculation items from a database, splicing the selected values in the mapping table into corresponding character strings according to one or more splicing format data, and acquiring charge rate values of one or more trial calculation items; acquiring a character string and a rate value corresponding to a target trial calculation project, performing analysis operation on the acquired character string and rate value to obtain an operation result, and sending the operation result to a user terminal;
the user terminal 204 is configured to, in a case that the trial computation factor list is received, display the trial computation factors arranged in sequence, obtain a selected value input according to the displayed trial computation factors, and send the selected value corresponding to all the trial computation factors included in the trial computation factor list to the trial computation server; sending a trial calculation request to a trial calculation server, wherein the trial calculation request comprises a target trial calculation item; and displaying the operation result under the condition of receiving the operation result.
The data processing system provided in the above embodiment may generate character strings and rate values of a plurality of trial calculation items according to the selected value input by the user, and then search for corresponding character strings and rate values according to the target trial calculation item input by the user, thereby generating an operation result corresponding to the target trial calculation item. Therefore, the operation result can be dynamically adjusted according to the selected value input by the user, and each trial calculation item does not need to be adapted to different systems, so that the data processing efficiency is improved.
In one embodiment, the data processing system further includes a load server, where the load server is configured to receive a trial calculation request sent by the user terminal, obtain load data of each candidate trial calculation server when the trial calculation request is subjected to security verification, select a trial calculation server from all candidate trial calculation servers according to the load data, and send the trial calculation request to the trial calculation server; and the trial calculation server is also used for sending the acquired trial calculation factor list to the user terminal corresponding to the trial calculation request.
In one embodiment, the load server is further configured to store the trial calculation requests in a request queue, obtain request time and user level of each trial calculation request in the request queue, and sort the trial calculation requests in the request queue according to the request time and the user level; reading trial calculation requests in the request queue one by one in sequence, acquiring load data of each candidate trial calculation server and a user grade of the currently read trial calculation request, selecting the trial calculation server from all the candidate trial calculation servers according to the load data and the user grade, and sending the trial calculation request to the trial calculation server.
In one embodiment, the load server is further configured to use a trial calculation request with a request time exceeding a time threshold in the request queue as a first trial calculation request, and use a trial calculation request with a request time not exceeding the time threshold in the request queue as a second trial calculation request; arranging the first trial calculation requests according to the sequence of the request time from morning to evening, and moving the arranged first trial calculation requests to the head of the request queue; and obtaining a first weight of the second trial calculation request according to the request time corresponding to the second trial calculation request, obtaining a second weight of the second trial calculation request according to the user level corresponding to the second trial calculation request, adding the first weight and the second weight to obtain a sequencing weight, sequencing the second trial calculation requests according to the sequencing weight from high to low, and storing the sequenced second trial calculation requests to the position in the request queue behind the first trial calculation request.
In one embodiment, the load server is further configured to obtain a load threshold corresponding to the user level according to a pre-established correspondence; under the condition that candidate trial calculation servers with corresponding load data smaller than a load threshold exist, selecting the candidate trial calculation server with the minimum load data from the candidate trial calculation servers with corresponding load data smaller than the load threshold as a trial calculation server; and under the condition that no candidate trial calculation server with the corresponding load data smaller than the load threshold exists, entering a waiting state, stopping waiting until the candidate trial calculation server with the corresponding load data smaller than the load threshold exists, and selecting the candidate trial calculation server with the minimum load data from the candidate trial calculation servers with the corresponding load data smaller than the load threshold as the trial calculation server.
In one embodiment, the user terminal 204 is further configured to obtain a first selected median value input according to the displayed trial calculation factor, update the displayed trial calculation factor according to the first selected median value, and obtain a second selected median value input according to the displayed updated trial calculation factor.
In one embodiment, the user terminal 204 is further configured to determine whether the input selected value satisfies a constraint condition of the trial calculation factor; under the condition that the selected value meets the constraint condition, the step of sending the selected value corresponding to all trial factors contained in the trial factor list to a trial server is executed; and under the condition that the selected value does not meet the constraint condition, updating the selected value which does not meet the constraint condition to a preset default value, and displaying modification prompt information.
An embodiment in the present application provides a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements the method provided in the above-described embodiment.
In one embodiment of the present application, an electronic device is provided, which includes a memory and a processor, where the memory stores computer-executable instructions, and the processor executes the computer-executable instructions on the memory to implement the method provided in the above embodiment.
The electronic device may further comprise an input means, an output means. The input device, the output device, the memory and the processor are connected with each other through a bus.
The memory includes, but is not limited to, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM), or a portable read-only memory (CD-ROM), which is used for storing instructions and data.
The input means are for inputting data and/or signals and the output means are for outputting data and/or signals. The output means and the input means may be separate devices or may be an integral device.
The processor may include one or more processors, for example, one or more Central Processing Units (CPUs), and in the case of one CPU, the CPU may be a single-core CPU or a multi-core CPU. The processor may also include one or more special purpose processors, which may include GPUs, FPGAs, etc., for accelerated processing.
The memory is used to store program codes and data of the network device.
The processor is used for calling the program codes and data in the memory and executing the steps in the method embodiment. Specifically, reference may be made to the description of the method embodiment, which is not repeated herein.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the several embodiments provided in the present application, it should be understood that the disclosed system, apparatus and method may be implemented in other ways. For example, the division of the unit is only one logical function division, and other division may be implemented in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. The shown or discussed mutual coupling, direct coupling or communication connection may be an indirect coupling or communication connection of devices or units through some interfaces, and may be in an electrical, mechanical or other form.
Units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In the above embodiments, the implementation may be wholly or partially realized by software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. The procedures or functions according to the embodiments of the present application are wholly or partially generated when the computer program instructions are loaded and executed on a computer. The computer may be a general purpose computer, a special purpose computer, a network of computers, or other programmable device. The computer instructions may be stored on or transmitted over a computer-readable storage medium. The computer instructions may be transmitted from one website, computer, trial server, or data center to another website, computer, trial server, or data center via wired (e.g., coaxial cable, fiber optic, Digital Subscriber Line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) means. The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device, such as a trial server, a data center, etc., that includes one or more of the available media. The usable medium may be a read-only memory (ROM), or a Random Access Memory (RAM), or a magnetic medium, such as a floppy disk, a hard disk, a magnetic tape, a magnetic disk, or an optical medium, such as a Digital Versatile Disk (DVD), or a semiconductor medium, such as a Solid State Disk (SSD).
The above description is only for the specific embodiments of the present application, but the scope of the present application is not limited thereto, and any person skilled in the art can easily conceive various equivalent modifications or substitutions within the technical scope of the present application, and these modifications or substitutions should be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (10)

1. A data processing method, comprising:
sending the obtained trial calculation factor list to a user terminal through a trial calculation server, wherein the trial calculation factor list comprises a plurality of trial calculation factors which are sequentially arranged;
under the condition that the user terminal receives the trial calculation factor list, displaying the trial calculation factors arranged in sequence, acquiring selected values input according to the displayed trial calculation factors, and sending the selected values corresponding to all the trial calculation factors contained in the trial calculation factor list to the trial calculation server;
under the condition that the trial calculation server receives the selected values corresponding to all trial calculation factors contained in the trial calculation factor list, storing the selected values corresponding to all the received trial calculation factors in a mapping table, acquiring the stored splicing format data corresponding to one or more trial calculation items from a database, splicing the selected values in the mapping table into corresponding character strings according to the one or more splicing format data, and acquiring the charge rate values of the one or more trial calculation items;
sending a trial calculation request to the trial calculation server through the user terminal, wherein the trial calculation request comprises a target trial calculation item;
acquiring a character string and a rate value corresponding to the target trial calculation project through the trial calculation server, performing analysis operation on the acquired character string and rate value to obtain an operation result, and sending the operation result to the user terminal;
and displaying the operation result under the condition that the user terminal receives the operation result.
2. The method according to claim 1, wherein before sending the obtained list of trial calculation factors to the user terminal through the trial calculation server, the method further comprises:
receiving trial calculation requests sent by the user terminal through a load server, acquiring load data of each candidate trial calculation server under the condition that the trial calculation requests pass safety verification, selecting the trial calculation servers from all the candidate trial calculation servers according to the load data, and sending the trial calculation requests to the trial calculation servers;
the step of sending the obtained trial calculation factor list to the user terminal through the trial calculation server comprises the following steps:
and sending the acquired trial calculation factor list to the user terminal corresponding to the trial calculation request through the trial calculation server.
3. The method according to claim 2, wherein the obtaining load data of each candidate trial calculation server, selecting a trial calculation server from all candidate trial calculation servers according to the load data, and sending the trial calculation request to the trial calculation server comprises:
storing the trial calculation requests into a request queue, acquiring the request time and the user grade of each trial calculation request in the request queue, and sequencing the trial calculation requests in the request queue according to the request time and the user grade;
reading the trial calculation requests in the request queue one by one in sequence, acquiring load data of each candidate trial calculation server and a user grade of the currently read trial calculation request, selecting the trial calculation server from all the candidate trial calculation servers according to the load data and the user grade, and sending the trial calculation request to the trial calculation server.
4. The method of claim 3, wherein sorting the trial requests in the request queue according to the request time and the user rank comprises:
taking the trial calculation request with the request time exceeding a time threshold in the request queue as a first trial calculation request, and taking the trial calculation request with the request time not exceeding the time threshold in the request queue as a second trial calculation request;
arranging the first trial calculation requests according to the sequence of the request time from morning to evening, and moving the arranged first trial calculation requests to the head of the request queue;
obtaining a first weight of the second trial calculation request according to the request time corresponding to the second trial calculation request, obtaining a second weight of the second trial calculation request according to the user level corresponding to the second trial calculation request, adding the first weight and the second weight to obtain a sequencing weight, sequencing the second trial calculation requests according to the sequence of the sequencing weight from high to low, and storing the sequenced second trial calculation requests to a position in the request queue behind the first trial calculation request.
5. The method of claim 3, wherein selecting a trial server from all candidate trial servers based on the load data and the user rating comprises:
acquiring a load threshold corresponding to the user level according to a pre-established corresponding relation;
under the condition that candidate trial calculation servers with corresponding load data smaller than the load threshold exist, selecting the candidate trial calculation server with the minimum load data from the candidate trial calculation servers with corresponding load data smaller than the load threshold as a trial calculation server;
and under the condition that no candidate trial calculation server with corresponding load data smaller than the load threshold exists, entering a waiting state, stopping waiting until the candidate trial calculation server with corresponding load data smaller than the load threshold exists, and selecting the candidate trial calculation server with the minimum load data from the candidate trial calculation servers with corresponding load data smaller than the load threshold as the trial calculation server.
6. The method of claim 1, wherein said obtaining a selected value input based on said trial factors presented comprises:
and acquiring a first selected median value input according to the displayed trial calculation factor, updating the displayed trial calculation factor according to the first selected value, and acquiring a second selected median value input according to the displayed updated trial calculation factor.
7. The method of claim 1, wherein after obtaining the selected value input according to the demonstrated trial factor, further comprising:
judging whether the input selected median meets the constraint condition of the trial calculation factor;
under the condition that the selected value meets the constraint condition, the step of sending the selected value corresponding to all trial calculation factors contained in the trial calculation factor list to the trial calculation server is executed;
and under the condition that the selected value does not meet the constraint condition, updating the selected value which does not meet the constraint condition to a preset default value, and displaying modification prompt information.
8. A data processing system, comprising:
the trial calculation server is used for sending the obtained trial calculation factor list to the user terminal, wherein the trial calculation factor list comprises a plurality of trial calculation factors which are sequentially arranged; under the condition that the received trial calculation factor list contains the selected values corresponding to all trial calculation factors, storing the selected values corresponding to all the received trial calculation factors in a mapping table, acquiring splicing format data corresponding to one or more stored trial calculation items from a database, splicing the selected values in the mapping table into corresponding character strings according to the one or more splicing format data, and acquiring charge rate values of the one or more trial calculation items; acquiring a character string and a rate value corresponding to the target trial calculation project, performing analysis operation on the acquired character string and rate value to obtain an operation result, and sending the operation result to the user terminal;
the user terminal is used for displaying the trial calculation factors which are sequentially arranged under the condition of receiving the trial calculation factor list, acquiring selected values input according to the displayed trial calculation factors, and sending the selected values corresponding to all the trial calculation factors contained in the trial calculation factor list to the trial calculation server; sending a trial calculation request to the trial calculation server, wherein the trial calculation request comprises a target trial calculation item; and displaying the operation result under the condition of receiving the operation result.
9. An electronic device comprising a memory having computer-executable instructions stored thereon and a processor that, when executing the computer-executable instructions on the memory, implements the method of any of claims 1-7.
10. A computer-readable storage medium, on which a computer program is stored which, when executed by a processor, carries out the method of any one of claims 1 to 7.
CN202010557927.0A 2020-06-18 2020-06-18 Data processing method, system and computer readable medium Active CN111709811B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010557927.0A CN111709811B (en) 2020-06-18 2020-06-18 Data processing method, system and computer readable medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010557927.0A CN111709811B (en) 2020-06-18 2020-06-18 Data processing method, system and computer readable medium

Publications (2)

Publication Number Publication Date
CN111709811A true CN111709811A (en) 2020-09-25
CN111709811B CN111709811B (en) 2023-09-29

Family

ID=72541080

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010557927.0A Active CN111709811B (en) 2020-06-18 2020-06-18 Data processing method, system and computer readable medium

Country Status (1)

Country Link
CN (1) CN111709811B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112686757A (en) * 2020-12-31 2021-04-20 京东数字科技控股股份有限公司 Method and device for processing security business data, electronic equipment and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107729335A (en) * 2016-08-11 2018-02-23 上海商保通健康科技有限公司 Medical insurance policies management platform
CN109359955A (en) * 2018-10-25 2019-02-19 平安科技(深圳)有限公司 Transaction processing method, device, computer equipment and storage medium
CN111275557A (en) * 2020-02-28 2020-06-12 中国建设银行股份有限公司 Method and device for controlling risk of resource management

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107729335A (en) * 2016-08-11 2018-02-23 上海商保通健康科技有限公司 Medical insurance policies management platform
CN109359955A (en) * 2018-10-25 2019-02-19 平安科技(深圳)有限公司 Transaction processing method, device, computer equipment and storage medium
CN111275557A (en) * 2020-02-28 2020-06-12 中国建设银行股份有限公司 Method and device for controlling risk of resource management

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
孙玉文: "移动通信话单分片计费策略", 科技前沿, pages 7 - 8 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112686757A (en) * 2020-12-31 2021-04-20 京东数字科技控股股份有限公司 Method and device for processing security business data, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN111709811B (en) 2023-09-29

Similar Documents

Publication Publication Date Title
CN111552870A (en) Object recommendation method, electronic device and storage medium
CN112307374A (en) Jumping method, device and equipment based on backlog and storage medium
CN110704677A (en) Program recommendation method and device, readable storage medium and terminal equipment
CN111709811A (en) Data processing method, system and computer readable medium
US10474688B2 (en) System and method to recommend a bundle of items based on item/user tagging and co-install graph
JP4869292B2 (en) Server, method, and program for recommending search keywords
CN113946566B (en) Web system fingerprint database construction method and device and electronic equipment
CN110852078A (en) Method and device for generating title
CN112035512B (en) Knowledge base retrieval method and device, electronic equipment and computer storage medium
CN110674491B (en) Method and device for real-time evidence obtaining of android application and electronic equipment
CN114048315A (en) Method and device for determining document tag, electronic equipment and storage medium
JP6451904B1 (en) Score calculation unit, search device, score calculation method, and score calculation program
JP2023525814A (en) User search category predictor
CN111858917A (en) Text classification method and device
CN112784861A (en) Similarity determination method and device, electronic equipment and storage medium
CN112131502A (en) Data processing method, data processing apparatus, electronic device, and medium
CN111324830B (en) Object processing method and device, electronic equipment and computer readable storage medium
CN115225489B (en) Dynamic control method for queue service flow threshold, electronic equipment and storage medium
CN113886723B (en) Method and device for determining ordering stability, storage medium and electronic equipment
CN115114532A (en) Data searching method, device and equipment based on user behaviors
CN110245146B (en) User identification method and related device
CN116402607A (en) Data processing method, device, equipment and storage medium of product resources
CN117235541A (en) Confidence matching method, device, equipment and storage medium for logistics data
CN114490400A (en) Method and device for processing test cases
CN114693255A (en) Mail data processing method and related product

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