A linkage processing method, device, equipment, and storage medium
By implementing the application of recursive processing and preset processing formulas on the linkage processing server, the problem that the linkage processing of the account items in the existing technology is not fully implemented, and the accuracy of the results of the associated account are improved.
Patent Information
- Application Number
- CN202110990099.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-08-26
- Publication Date
- 2025-04-18
- Estimated Expiration
- 2041-08-26
AI Technical Summary
When the account item editing of the existing financial system involves multi-page associated account items, it is impossible to achieve comprehensive linkage processing, resulting in numerical processing errors.
By implementing the linkage processing method on the linkage processing server, receiving the account processing request sent by the backend, recursively processing based on the editing account item, determining the preset processing formula, and obtaining the associated account result according to the formula, and sending it to the backend.
Ensure that all associated account items can be correctly associated, the accuracy of the obtained associated account results is improved, and numerical processing errors are avoided.
Smart Images

Figure CN113706010B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of numerical processing technology, and in particular to a linkage processing method and device, equipment, and storage medium. Background Art
[0002] At present, the editing of account items in many financial systems involves the automatic linkage processing of formulas of other related account items. For web applications with separate front-end and back-end, this function is generally implemented by binding the monitoring event of account item changes through the front-end component. When the component monitors the change of account items, it automatically determines the corresponding preset processing formula to process the related account items that are directly and indirectly dependent on the changed account item.
[0003] However, when monitoring changes in subject items through components, it is only possible to monitor all subject items on the same page; therefore, if all related subject items are not displayed on the same page after a subject item changes, all related subject items cannot be associated during linkage processing, which will cause numerical processing errors. Summary of the invention
[0004] The embodiments of the present invention hope to provide a linkage processing method and apparatus, equipment, and storage medium, which can perform linkage processing through a linkage processing server, and when performing linkage processing, associate with all required subject items, and the subject items of all subject items are the latest subject items, thereby improving the accuracy of the associated subject results of the linkage processing.
[0005] The technical solution of the present invention is achieved in this way:
[0006] An embodiment of the present invention provides a linkage processing method, which is applied to a linkage processing server, including:
[0007] Receiving a subject processing request sent by a back end, wherein the subject processing request carries an edited subject item;
[0008] In response to the subject processing request, recursively process and obtain corresponding associated subject items based on the edited subject items;
[0009] According to the associated subject item, determining a preset processing formula corresponding to the associated subject item;
[0010] Based on the preset processing formula, the corresponding associated subject results are obtained and sent to the back end.
[0011] In the above solution, in response to the subject processing request, based on the edited subject item, recursively obtaining the corresponding associated subject item includes:
[0012] Compare the edited subject items with the subject items in the database and obtain a comparison result;
[0013] Determine the modified account item according to the comparison result;
[0014] According to the modified subject item, recursive processing is performed to obtain the corresponding associated subject item.
[0015] In the above solution, comparing the edited subject item with the subject item in the database and obtaining the comparison result includes:
[0016] Compare the first edited subject item with the first subject item and obtain the comparison result; until the edited subject items are compared and multiple comparison results are obtained; wherein the first edited subject item is any one of the edited subject items, and the first subject item is a subject item in the subject items corresponding to the first edited subject item.
[0017] In the above solution, determining the modified account item according to the comparison result includes:
[0018] If the comparison result is that the first edited subject item is different from the first subject item, then the first edited subject item corresponding to the comparison result is determined to be the modified subject item.
[0019] In the above solution, based on the preset processing formula, obtaining the corresponding associated subject result and sending it to the back end includes:
[0020] Determine dependent account items based on the preset processing formula;
[0021] Substitute the dependent subject item into the preset processing formula, obtain the corresponding associated subject result and send it to the back end.
[0022] In the above scheme, the dependent subject item includes at least one of the following: the associated subject result, the modified subject item and the subject item.
[0023] In the above solution, obtaining dependent subject items based on the preset processing formula includes:
[0024] Based on the preset processing formula, the editing subject item is tested and a first test result is obtained;
[0025] If the first detection result is that the editing subject corresponding to the preset processing formula exists, the editing subject item is determined to be the dependent subject item.
[0026] In the above solution, after the editing subject item is detected based on the preset processing formula and a first detection result is obtained, the method further includes:
[0027] If the first detection result is that the edited subject item corresponding to the preset processing formula does not exist, then the associated subject result is detected and a corresponding second detection result is obtained;
[0028] If the second detection result is that there is the associated subject result corresponding to the preset processing formula, then the associated subject result is determined to be the dependent subject item.
[0029] In the above scheme, if the first detection result is that the edited subject item corresponding to the preset processing formula does not exist, then after detecting the associated subject result and obtaining the corresponding second detection result, the method further includes:
[0030] If the second detection result is that the associated subject result corresponding to the preset processing formula does not exist, then the subject item is detected to obtain a third detection result;
[0031] If the third detection result is that there is a subject item result corresponding to the preset processing formula, it is determined that the subject item is the dependent subject item.
[0032] An embodiment of the present invention provides a linkage processing method, which is applied to a backend and includes:
[0033] Receive edit account item and account item modification requests sent by the front end;
[0034] In response to the subject item modification request, sending the subject item editing and subject processing request to the linkage processing server;
[0035] receiving the associated subject result sent by the linkage processing server in response to the subject processing request;
[0036] Send the associated subject results to the front end.
[0037] In the above solution, the method further includes:
[0038] Receiving a save request and editing subject item sent by the front end;
[0039] In response to the save request, sending a subject processing request and the edited subject item to a linkage processing server;
[0040] receiving the associated subject result sent by the linkage processing server in response to the subject processing request, and saving the associated subject result;
[0041] Generate save feedback information according to the save result and send it to the front end, where the save feedback information is the response result of the save request.
[0042] The embodiment of the present invention provides a linkage processing method, which is applied to a front end and includes:
[0043] Send edit account item and account item modification requests to the backend;
[0044] The associated subject result sent by the backend in response to the subject item modification request is received and displayed; the associated subject result is obtained based on the linkage processing of the edited subject item.
[0045] In the above solution, the method further includes:
[0046] Sending a save request and the edited subject item to a backend; the save request is used to request the backend to save the associated subject result;
[0047] Receive the save feedback information sent by the backend in response to the save request, where the save feedback information is a response result of the save request.
[0048] The embodiment of the present invention provides a linkage processing device, comprising a first receiving unit, a first acquiring unit, a determining unit and a first sending unit; wherein,
[0049] The first receiving unit is used to receive a subject processing request sent by the back end, wherein the subject processing request carries an edited subject item;
[0050] The first acquisition unit is used to respond to the subject processing request and recursively process the edited subject item to obtain the corresponding associated subject item; and to obtain the corresponding associated subject result based on a preset processing formula;
[0051] The determining unit is used to determine the preset processing formula corresponding to the associated subject item according to the associated subject item;
[0052] The first sending module is used to send the associated subject result to the back end.
[0053] In the above scheme, the first acquisition unit is also used to compare the edited subject item with the subject item in the database and obtain the comparison result; it is also used to recursively process and obtain the corresponding associated subject item based on the modified subject item; it is also used to determine the modified subject item based on the comparison result.
[0054] In the above scheme, the first acquisition unit is also used to compare the first edited subject item with the first subject item and obtain the comparison result; until the comparison of the edited subject items is completed and multiple comparison results are obtained; wherein, the first edited subject item is any one of the edited subject items, and the first subject item is a subject item in the subject items corresponding to the first edited subject item.
[0055] In the above scheme, the first acquisition unit is further used to determine that the first edited subject item corresponding to the comparison result is the modified subject item if the comparison result is that the first edited subject item is different from the first subject item.
[0056] In the above scheme, the first acquisition unit is also used to determine the dependent subject items based on the preset processing formula; wherein the dependent subject items are used to be substituted into the preset processing formula; and is also used to substitute the dependent subject items into the preset processing formula to obtain the corresponding associated subject results.
[0057] In the above scheme, the first acquisition unit is also used to determine the dependent subject item based on the preset processing formula according to the preset priority; wherein the preset priority is to determine that the priority of the editing subject item is higher than the priority of determining the associated subject result, and the priority of determining the associated subject result is higher than the priority of determining the subject item.
[0058] In the above scheme, the first acquisition unit is also used to detect the editing subject item based on the preset processing formula and obtain a first detection result; and is also used to determine the editing subject item if the first detection result is that the editing subject corresponding to the preset processing formula exists.
[0059] In the above scheme, the first acquisition unit is also used to detect the associated subject result and obtain the corresponding second detection result if the first detection result is that the edited subject item corresponding to the preset processing formula does not exist; and is also used to determine the associated subject result if the second detection result is that the associated subject result corresponding to the preset processing formula exists.
[0060] In the above scheme, the first acquisition unit is also used to detect the subject item and obtain a third detection result if the second detection result is that the associated subject result corresponding to the preset processing formula does not exist; and is also used to determine the subject item if the third detection result is that the subject item result corresponding to the preset processing formula exists.
[0061] The embodiment of the present invention provides a linkage processing device, comprising a second receiving unit and a second sending unit; wherein:
[0062] The second receiving unit is used to receive the edit subject item and subject item modification request sent by the front end; and is used to receive the associated subject result sent by the linkage processing server in response to the subject processing request;
[0063] The second sending unit is used to send the edited subject item and subject processing request to the linkage processing server in response to the subject item modification request; and is used to send the associated subject result to the front end to receive the subject processing request and edited subject item sent by the back end.
[0064] In the above solution, the device further includes a storage unit and a generation unit; wherein,
[0065] The first receiving unit is further used to receive the save request and edit subject item sent by the front end; and is also used to receive the associated subject result sent by the linkage processing server in response to the subject processing request;
[0066] The first sending unit is further used to send the subject processing request and the edited subject item to the linkage processing server in response to the save request; and is also used to send the save feedback information to the front end;
[0067] The storage unit is used to store the associated subject result;
[0068] The generating unit is used to generate saving feedback information according to the saving result, and the saving feedback information is a response result of the saving request.
[0069] The embodiment of the present invention provides a linkage processing device, comprising a third receiving unit and a third sending unit; wherein:
[0070] The third receiving unit is used to receive the result of associating subjects sent by the back end, receive the subject processing request and edit subject items sent by the back end;
[0071] The third sending module is used to send subject item editing and subject item modification requests to the back end.
[0072] In the above solution, the third sending module is further used to send the save request and the edited subject item to the back end;
[0073] The third receiving unit is further configured to receive the save feedback information sent by the back end, where the save feedback information is a response result of the save request.
[0074] An embodiment of the present invention provides a linkage processing server, the linkage processing server comprising:
[0075] A first memory, used to store executable instructions;
[0076] A first communication bus, used to implement communication between the first memory and the first processor;
[0077] The first processor is used to execute the executable instructions stored in the first memory to implement the linkage processing method as described in the embodiment of the present invention.
[0078] An embodiment of the present invention provides a backend, the backend comprising:
[0079] A second memory, used for storing executable instructions;
[0080] A second communication bus, used to implement communication between the second memory and the second processor;
[0081] The second processor is used to execute the executable instructions stored in the second memory to implement the linkage processing method as described in the embodiment of the present invention.
[0082] An embodiment of the present invention provides a front end, the front end comprising:
[0083] A third memory, used to store executable instructions;
[0084] A third communication bus, used to implement communication between the third memory and the third processor;
[0085] The third processor is used to execute the executable instructions stored in the third storage to implement the linkage processing method as described in the embodiment of the present invention.
[0086] An embodiment of the present invention provides a storage medium, wherein the storage medium stores executable instructions, and when the executable instructions are executed, is used to cause a first processor to execute the linkage processing method as described in the embodiment of the present invention.
[0087] An embodiment of the present invention provides a storage medium, wherein the storage medium stores executable instructions, and when the executable instructions are executed, the second processor is used to execute the linkage processing method according to the embodiment of the present invention.
[0088] An embodiment of the present invention provides a storage medium, wherein the storage medium stores executable instructions, and when the executable instructions are executed, the third processor is used to execute the linkage processing method as described in the embodiment of the present invention.
[0089] An embodiment of the present invention provides a linkage processing method and apparatus, equipment, and storage medium, wherein the method includes that after the linkage processing server receives a subject processing request and an edited subject item sent by a backend, based on the edited subject item, it obtains an associated subject item corresponding to the edited subject item, and based on the associated subject item, determines a preset processing formula corresponding to the associated subject item, and based on the preset processing formula, obtains the corresponding associated subject result and sends it to the backend to complete the linkage processing of the subject item.
[0090] The embodiment of the present invention can perform linkage processing through a linkage processing server, and during linkage processing, associate to all required subject items, and the subject items of all subject items are the latest subject items, thereby improving the accuracy of the associated subject results of the linkage processing. BRIEF DESCRIPTION OF THE DRAWINGS
[0091] Figure 1 A schematic diagram of a linkage processing method applied to a linkage processing server provided in an embodiment of the present invention Figure 1 ;
[0092] Figure 2 A schematic diagram of a linkage processing method applied to a linkage processing server provided in an embodiment of the present invention Figure 2 ;
[0093] Figure 3 A schematic diagram of a linkage processing method applied to a linkage processing server provided in an embodiment of the present invention Figure 3 ;
[0094] Figure 4 A schematic diagram of a linkage processing method applied to a back-end provided in an embodiment of the present invention Figure 1 ;
[0095] Figure 5 A schematic diagram of a linkage processing method applied to a back-end provided in an embodiment of the present invention Figure 2 ;
[0096] Figure 6 A schematic diagram of a linkage processing method applied to a front end provided in an embodiment of the present invention Figure 1 ;
[0097] Figure 7 FIG. 1 is a flow chart of a linkage processing method applied to a front end provided by an embodiment of the present invention. Figure 2 ;
[0098] Figure 8 A schematic diagram of a linkage processing method provided by an embodiment of the present invention Figure 1 ;
[0099] Fig. 9 A schematic diagram of a linkage processing method provided by an embodiment of the present invention Figure 2 ;
[0100] Fig.10 A schematic diagram of a linkage processing method provided by an embodiment of the present invention Figure 3 ;
[0101] Fig.11 A schematic diagram of a linkage processing server provided in an embodiment of the present invention Figure 1 ;
[0102] Fig.12 A schematic diagram of the structure of a linkage processing device provided by an embodiment of the present invention;
[0103] Fig.13 A schematic diagram of the structure of another linkage processing device provided by an embodiment of the present invention;
[0104] Fig.14 A schematic diagram of the structure of another linkage processing device provided by an embodiment of the present invention;
[0105] Fig.15 A schematic diagram of a linkage processing server provided in an embodiment of the present invention Figure 2 ;
[0106] Fig.16 A schematic diagram of the structure of a backend provided by an embodiment of the present invention;
[0107] Fig.17 A schematic diagram of the structure of a front end provided in an embodiment of the present invention. DETAILED DESCRIPTION
[0108] The technical solutions in the embodiments of the present invention will be described clearly and completely below in conjunction with the accompanying drawings in the embodiments of the present invention.
[0109] Before further describing the embodiments of the present invention in detail, the nouns and terms involved in the embodiments of the present invention are described. The nouns and terms involved in the embodiments of the present invention are subject to the following interpretations.
[0110] 1) In response, it is used to indicate the conditions or states on which the executed operations depend. When the dependent conditions or states are met, one or more operations executed may be in real time or have a set delay. Unless otherwise specified, there is no restriction on the order in which the multiple operations executed are executed.
[0111] The embodiment of the present invention provides a linkage processing method, which is applied to a linkage processing server. Figure 1 A schematic diagram of a linkage processing method applied to a linkage processing server provided by an embodiment of the present invention Figure 1 ,like Figure 1 As shown, the method includes:
[0112] S101. Receive a subject processing request sent by a backend, wherein the subject processing request carries an edit subject item.
[0113] The embodiment of the present invention is applicable to a scenario in which when a subject item is edited, linkage processing is performed at the back end according to the edited subject item.
[0114] In an embodiment of the present invention, the linkage processing server receives a subject processing request sent by the backend, wherein the linkage processing server can perform subject processing in response to the subject processing request, and the subject processing request carries an edited subject item.
[0115] In an embodiment of the present invention, a subject processing request may carry multiple edit subject items; wherein each edit subject item is associated with at least one associated subject item, an edit subject item refers to a subject item that can be edited among all subject items, and editable means that the value of the subject item corresponding to the edited subject item can be modified.
[0116] In the embodiment of the present invention, the linkage processing server may be integrated into the back end, or may interact with the linkage processor via a data line, which is not limited in the embodiment of the present invention.
[0117] In the embodiment of the present invention, the linkage processing in the linkage processing server refers to processing other associated subject items associated with the edited subject item as the edited subject item changes. That is, since each edited subject item is associated with at least one associated subject item, if the edited subject item is edited, the linkage processing server should calculate the associated subject item corresponding to the edited edited subject item to update the subject item value of the associated subject item.
[0118] In an embodiment of the present invention, the linkage processing server can configure processing rules. For example, a table can be established in the linkage processing server to sort out the calculation rules of all account items; wherein the table at least includes the following contents: account items, edited account items, associated account items and preset processing formulas.
[0119] In an embodiment of the present invention, the linkage processing server can store the edited subject items received in a database. In the database, multiple groups can be set to store different data. Exemplarily, a group editMap can be set in the database to store the edited subject items received by the linkage server.
[0120] It can be understood that in the embodiment of the present invention, the linkage processing server receives the subject processing request for linkage processing, and places the processing logic in the linkage processing server, which can reduce the consumption of the central processing unit (CPU).
[0121] S102. In response to the subject processing request, based on the edited subject item, recursive processing is performed to obtain corresponding associated subject items.
[0122] The embodiment of the present invention is applicable to the scenario where the linkage processing server responds to the subject processing request after receiving the subject processing request.
[0123] In the embodiment of the present invention, after receiving the subject processing request, the linkage processing server will perform recursive processing based on the edited subject item, thereby obtaining the corresponding associated subject item to respond to the subject processing request.
[0124] In the embodiment of the present invention, each edited subject item corresponds to at least one associated subject item, and recursive processing is a processing method for solving a problem by repeatedly decomposing the problem into similar sub-problems.
[0125] It can be understood that the embodiment of the present invention determines the associated subject items through recursive processing, which can ensure that the linkage processing server can obtain all corresponding associated subject items to prevent omissions, thereby ensuring the accuracy of subsequent linkage processing.
[0126] In some embodiments of the present invention, Figure 2 A schematic diagram of a linkage processing method applied to a linkage processing server provided by an embodiment of the present invention Figure 2 ,like Figure 2 As shown, S102 may also include S1021-S1023, as follows:
[0127] S1021. Compare the edited subject items with the subject items in the database to obtain comparison results.
[0128] In some embodiments of the present invention, it is applicable to a scenario in which, after receiving an edited subject item, the linkage processing server determines the modified subject item among the subject items in the database according to the edited subject item.
[0129] In some embodiments of the present invention, after receiving the edited subject item, the linkage processing server compares the edited subject item with the subject items stored in the database and obtains the comparison result of each subject item.
[0130] In some embodiments of the present invention, each edited subject item corresponds to a subject item in the database; wherein, the number of edited subject items should be less than or equal to the subject items in the database, and the subject items in the database are all unedited subject items, and the edited subject items contain edited subject items.
[0131] It can be understood that the embodiment of the present invention compares all edited subject items with the subject items in the database to determine the modified subject items, so that the linkage processing server can obtain all modified subject items, thereby ensuring the accuracy of subsequent linkage processing.
[0132] In some embodiments of the present invention, S1021 includes: comparing the first edited subject item with the first subject item and obtaining a comparison result; until all edited subject items are compared and multiple comparison results are obtained; wherein the first edited subject item is any one of the edited subject items, and the first subject item is a subject item in the subject items corresponding to the first edited subject item.
[0133] In some embodiments of the present invention, when the linkage processing server compares the edited subject items with the subject items in the database, any one of the edited subject items is selected as the first edited subject item, and any one of the subject items in the database is selected as the first subject item; the first edited subject item is compared with the first subject item, and a comparison result is obtained. Since there are multiple edited subject items in the edited subject item, each edited subject item needs to be compared with the corresponding subject item, so as to obtain multiple comparison results.
[0134] It can be understood that in the embodiment of the present invention, the linkage processing server compares the edited subject items with the subject items one by one, which can ensure that the linkage processing server obtains all modified subject items.
[0135] S1022. Determine the modified account items based on the comparison results.
[0136] In some embodiments of the present invention, it is applicable to determine a scenario of a modified subject item.
[0137] In some embodiments of the present invention, the linkage processing server determines the modified subject item based on the comparison result between the edited subject item and the subject item stored in the database.
[0138] In some embodiments of the present invention, since the subject items in the database are all unedited subject items, there are edited subject items in the edited subject items; therefore, the edited subject items are compared with the subject items in the database, and based on the comparison results, the edited subject items in the edited subject items can be determined and used as the modified subject items.
[0139] It is understandable that the embodiment of the present invention determines the modified subject items by comparing the results, which can ensure the accuracy of the acquired modified subject items, thereby ensuring the accuracy of subsequent linkage processing.
[0140] In some embodiments of the present invention, S1022 includes: if the comparison result is that the first edited subject item is different from the first subject item, determining that the first edited subject item corresponding to the first sub-comparison result is a modified subject item.
[0141] In some embodiments of the present invention, if the comparison result obtained by the linkage processing server is that the first edited subject item is different from the first subject item, the first edited subject item corresponding to the comparison result is determined to be the modified subject item.
[0142] In some embodiments of the present invention, the first edited subject item being different from the first subject item means that the subject item value of the first edited subject item is different from the subject item value of the first subject item.
[0143] In some embodiments of the present invention, if the comparison result shows that the first edited subject item is the same as the first subject item, it is determined that the first edited subject item corresponding to the first sub-comparison result is not a modified subject item. At this time, the linkage processing server takes another edited subject item from the edited subject items as the first edited subject item and compares it with the corresponding first subject item.
[0144] It can be understood that the embodiment of the present invention can ensure that the linkage processing server obtains all modified account items.
[0145] S1023. According to the modified subject item, recursively process to obtain the corresponding associated subject item.
[0146] In some embodiments of the present invention, it is applicable to determine scenarios of associated subject items.
[0147] In some embodiments of the present invention, the linkage processing server obtains associated subject items corresponding to the modified subject items through recursive processing based on the determined modified subject items.
[0148] In some embodiments of the present invention, each modified subject item corresponds to at least one associated subject item, and the associated subject item refers to a subject item associated with the modified subject item. In actual use, if the edited subject item is edited to obtain a modified subject item, the linkage processing server should perform linkage calculation on the associated subject items associated with the modified subject item based on the modified subject item to ensure the uniformity of the data.
[0149] It can be understood that the embodiment of the present invention obtains the associated subject items corresponding to the modified subject items through recursive processing, which can ensure the integrity of the associated subject items obtained by the linkage processing service and prevent omissions.
[0150] S103. Determine the preset processing formula corresponding to the associated subject item according to the associated subject item.
[0151] In the embodiment of the present invention, it is applicable to the scenario where after the linkage processing service obtains the associated subject items, the corresponding preset processing formula is determined according to the associated subject items.
[0152] In the embodiment of the present invention, after the linkage processing server obtains the associated subject items through S102, it determines the corresponding preset processing formula according to the associated subject items.
[0153] In the embodiment of the present invention, the associated subject items correspond to the preset processing formulas one by one, and the preset processing formulas are preset in the linkage processing server. In actual use, the preset processing formulas can be changed by the linkage processing server, which is not limited in the embodiment of the present invention.
[0154] In the embodiment of the present invention, when a table is established in the linkage processing server to sort out the calculation rules of all account items, the table may also include the name of the preset processing formula (function name) and the input parameter type of the preset processing formula. The input parameter refers to the value used by the linkage service processor when determining the preset processing formula, and the input parameter type refers to the type of value used by the linkage service processor when determining the preset processing formula.
[0155] Exemplarily, the input parameter type may be BigDecimal. Each preset processing formula may correspond to one input parameter type or may correspond to multiple input parameter types, which is not limited in the embodiment of the present invention.
[0156] It is understandable that the linkage processor determines the corresponding preset processing formula according to the associated subject items to facilitate subsequent linkage processing.
[0157] S104. Based on the preset processing formula, obtain the corresponding associated subject results and send them to the backend.
[0158] The embodiment of the present invention is suitable for performing linkage processing to obtain corresponding associated subject results and send them to the back end.
[0159] In the embodiment of the present invention, after the linkage processing server determines the preset processing formula, it performs linkage processing based on the preset processing formula to obtain the corresponding associated subject results and send them to the back end.
[0160] In an embodiment of the present invention, when linkage processing is performed based on a preset processing formula, it is necessary to determine the preset processing formula, substitute the numerical value required by the preset processing formula into the preset processing formula, so as to perform linkage processing and obtain the corresponding associated subject results. When determining the preset processing formula, the preset formula function can be determined by a Java reflection determination method, and the preset formula function can be converted into a Java enumeration class by determining the preset formula function by a Java reflection determination method, so as to facilitate subsequent linkage processing.
[0161] In the embodiment of the present invention, the associated subject results correspond to the preset processing formulas one by one, and the linkage processing server can send all the associated subject results to the backend after obtaining all the associated subject results, or send the associated subject results to the backend in real time or periodically. The embodiment of the present invention is not limited.
[0162] In the embodiment of the present invention, after the linkage processing server obtains the corresponding associated subject result, the obtained associated subject result can be stored in the database. Exemplarily, a grouping computeMap can also be set in the database to store the associated subject result obtained by the linkage server.
[0163] It can be understood that in the embodiment of the present invention, the associated subject results are obtained by the linkage processing server, and the linkage processing server will associate all required subject items during the linkage processing, and the subject items of all subject items are the latest subject items, which can improve the accuracy of the associated subject results of the linkage processing.
[0164] In some embodiments of the present invention, Figure 3 A schematic diagram of a linkage processing method applied to a linkage processing server provided by an embodiment of the present invention Figure 3 ,like Figure 3 As shown, S104 may also include S1041-S1042; as follows:
[0165] S1041. Determine dependent account items based on preset processing formulas.
[0166] In some embodiments of the present invention, it is applicable to the scenario where after a preset processing formula is determined, the results of associated subjects are obtained based on the preset processing formula.
[0167] In some embodiments of the present invention, after the linkage processing server determines the preset processing formula according to S103, it determines the dependent subject items according to the requirements of the preset processing formula.
[0168] In some embodiments of the present invention, the dependent subject items include at least one of the following: associated subject results, edited subject items, and subject items; wherein a group dbMap may be set in the database for storing subject items. When the linkage processing server determines the dependent subject items, it determines the edited subject items from editMap, determines the associated subject results in computeMap, and determines the subject items in dbMap as needed.
[0169] In some embodiments of the present invention, dependent subject items are determined according to preset priorities based on preset processing formulas; wherein the preset priorities are such that the priority of determining editing subject items is higher than the priority of determining associated subject results, and the priority of determining associated subject results is higher than the priority of determining subject items.
[0170] In some embodiments of the present invention, the linkage processing server determines the dependent subject items according to the preset priorities and the requirements of the preset processing formula, wherein the priority of editing subject items is higher than the priority of associating subject results, and the priority of associating subject results is higher than the priority of subject items.
[0171] It can be understood that the linkage processing server determines the dependent subject items according to the preset priorities, thereby ensuring the orderliness of the determination of the dependent subject items.
[0172] In some embodiments of the present invention, based on a preset processing formula, determining dependent subject items according to a preset priority includes: based on the preset processing formula, detecting the editing subject item and obtaining a first detection result; if the first detection result is that there is an editing subject corresponding to the preset processing formula, then determining that the editing subject item is a dependent subject item.
[0173] In some embodiments of the present invention, it is applicable to a scenario where a linkage processing server determines dependent subject items based on a preset processing formula and substitutes the items into the preset processing formula to perform linkage processing.
[0174] In some embodiments of the present invention, the linkage processing server detects the edited subject items based on the preset processing formula to detect whether there are edited subject items in the edited subject items that need to be substituted into the preset processing formula, and obtains a first detection result. If the first detection result is that there is an edited subject corresponding to the preset processing formula, the edited subject item is determined to be a dependent subject item.
[0175] In some embodiments of the present invention, after determining that the edited subject item is a dependent subject item, the edited subject item is substituted into the corresponding preset processing formula.
[0176] In some embodiments of the present invention, based on a preset processing formula, the dependent subject items are determined according to a preset priority, and also include: if the first detection result is that there is no editing subject item corresponding to the preset processing formula, then the associated subject result is detected and the corresponding second detection result is obtained; if the second detection result is that there is an associated subject result corresponding to the preset processing formula, then the associated subject result is determined to be a dependent subject item.
[0177] In some embodiments of the present invention, it is applicable to the scenario where the linkage processing server, based on a preset processing formula, fails to determine that the edited subject item is a dependent subject item, and attempts to determine the associated subject result according to a preset priority to substitute it into the preset processing formula for linkage processing.
[0178] In some embodiments of the present invention, if the first detection result is that there is no edited subject item corresponding to the preset processing formula in the database of the linkage processing server, the linkage processing server detects the associated subject result based on the preset processing formula and obtains the corresponding second detection result; wherein, if the second detection result is that there is an associated subject result corresponding to the preset processing formula, the linkage processing server determines that the associated subject result is a dependent subject item.
[0179] In some embodiments of the present invention, after determining that the associated subject result is a dependent subject item, the associated subject result is substituted into the corresponding preset processing formula.
[0180] In some embodiments of the present invention, based on a preset processing formula, the dependent subject items are determined according to a preset priority, and also include: if the second test result is that there is no associated subject result corresponding to the preset processing formula, the subject item is tested and a third test result is obtained; if the third test result is that there is a subject item result corresponding to the preset processing formula, the subject item is determined to be a dependent subject item.
[0181] In some embodiments of the present invention, it is applicable to the scenario where the linkage processing server, based on a preset processing formula, fails to determine that the associated subject result is a dependent subject item, and attempts to determine the subject item according to a preset priority to substitute it into the preset processing formula for linkage processing.
[0182] In some embodiments of the present invention, if the second detection result is that there is no associated subject result corresponding to the preset processing formula in the database of the linkage processing server, the linkage processing server detects the subject item based on the preset processing formula and obtains a third detection result; wherein, if the third detection result is that there is a subject item corresponding to the preset processing formula, the linkage processing server determines that the subject item is a dependent subject item.
[0183] In some embodiments of the present invention, after determining that a subject item is a dependent subject item, the subject item is substituted into a corresponding preset processing formula.
[0184] It can be understood that the linkage processing server determines the dependent subject items as editing subject items, associated subject results or subject items in sequence according to preset priorities, which can prevent omissions in the determination process and ensure the accuracy of the associated subject results obtained by subsequent linkage processing.
[0185] S1042. Substitute the dependent subject item into the preset processing formula to obtain the corresponding associated subject result.
[0186] In some embodiments of the present invention, it is applicable to the scenario where the linkage processing server obtains the corresponding associated subject results after determining the required dependent subject items.
[0187] In some embodiments of the present invention, the linkage processing server determines dependent subject items and substitutes the dependent subject items into a preset processing formula to obtain corresponding associated subject results.
[0188] In some embodiments of the present invention, after the linkage processing server obtains the corresponding associated subject results, it sends the associated subject results to the backend and may also save the associated subject results in a database.
[0189] It can be understood that in the embodiment of the present invention, the linkage processing server associates and edits the subject items, the associated subject results, the modified subject items and the subject items for processing, which can avoid the omission of subject items, thereby improving the accuracy of the associated subject results of the linkage processing.
[0190] The embodiment of the present invention provides a linkage processing method, which is applied to a back-end. Figure 4 This is a schematic diagram of a linkage processing method applied to the back end provided by an embodiment of the present invention. Figure 1 ,like Figure 4 As shown, the method includes:
[0191] S201. Receive the edit subject item and subject item modification request sent by the front end.
[0192] The embodiment of the present invention is applicable to the scenario where the back end performs linkage processing after receiving a request to edit a subject item and a request to modify a subject item sent by a front end.
[0193] In the embodiment of the present invention, the back end receives the edit subject item and subject item modification request sent by the front end.
[0194] In the embodiment of the present invention, the subject item modification request is used to indicate that the edited subject item has been edited, and the backend needs to send the edited subject item to the linkage processing server for linkage processing.
[0195] It can be understood that the back end receives requests to edit subject items and modify subject items, and the linkage processing can be placed on the back end or sent to other devices for execution, which can reduce the consumption of the central processing unit.
[0196] S202. In response to a subject item modification request, a subject item editing and subject item processing request is sent to a linkage processing server.
[0197] The embodiment of the present invention is applicable to the scenario where the backend requests the linkage processing server for subject processing after receiving a subject item modification request.
[0198] In the embodiment of the present invention, the backend sends the edit subject item and subject processing request to the linkage processing server to respond to the subject item modification request.
[0199] In the embodiment of the present invention, the subject processing request is used to request linkage processing from the linkage processing server.
[0200] It is understandable that the backend places the linkage processing on the linkage processing server, so that it can be maintained uniformly by the backend, which can not only reduce the consumption of the central processor, but also reduce the maintenance cost and the cost of front-end and back-end joint debugging.
[0201] S203: Receive the associated subject result sent by the linkage processing server in response to the subject processing request.
[0202] The embodiment of the present invention is applicable to the scenario where the back end obtains the results of related subjects.
[0203] In the embodiment of the present invention, the back end receives the associated subject result sent by the linkage processing server in response to the subject processing request.
[0204] It is understandable that after the back end receives the associated subject results, it can not only send the associated subject results to the front end, but also save the associated subject results, which improves the applicability of the method.
[0205] S204. Send the results of related subjects to the front end.
[0206] The embodiment of the present invention is applicable to the scenario where after the backend obtains the associated subject results, the associated subject results are further processed.
[0207] In the embodiment of the present invention, after receiving the associated subject result, the back end sends the associated subject result to the front end.
[0208] It is understandable that the backend sends the associated subject results to the frontend so that the user can view the latest associated subject results through the frontend.
[0209] In some embodiments of the present invention, Figure 5 This is a schematic diagram of a linkage processing method applied to the back end provided by an embodiment of the present invention. Figure 2 ,like Figure 5 As shown, the method also includes:
[0210] S205. Receive the save request and edit subject item sent by the front end.
[0211] In some embodiments of the present invention, it is applicable to a scenario where a backend receives a save request sent by a frontend.
[0212] In some embodiments of the present invention, the back end receives a save request sent by the front end, wherein the save request carries an edited subject item.
[0213] In some embodiments of the present invention, the edited subject items received by the back end may be the same as or different from the edited subject items received by the back end in S201, which is not limited in the embodiments of the present invention.
[0214] It can be understood that the back end receives the save request and edited subject items sent by the front end, and the above-mentioned edited subject items are the latest edited subject items, which can ensure that the edited subject items sent by the back end to the linkage processing server after receiving the save request are the latest edited subject items, thereby ensuring that the final saved associated subject results are based on the latest edited subject items, thereby ensuring the accuracy of the final saved associated subject results.
[0215] S206. In response to the save request, send the subject processing request and edit subject item to the linkage processing server.
[0216] In some embodiments of the present invention, it is applicable to the scenario after the back end receives a save request sent by the front end.
[0217] In some embodiments of the present invention, after receiving the save request sent by the front end, the back end sends a subject processing request and an edited subject item to the linkage processing server in response to the save request.
[0218] In some embodiments of the present invention, after receiving the save request sent by the front end, the back end sends a subject processing request and an edited subject item to the linkage processing server to request the linkage processing server to perform linkage processing based on the above-mentioned edited subject item, thereby ensuring that the associated subject results saved by the back end in response to the save request are the latest.
[0219] It can be understood that the embodiment of the present invention can ensure that the associated subject results saved by the backend in response to the save request are the latest.
[0220] S207: Receive the associated subject result sent by the linkage processing server in response to the subject processing request, and save the associated subject result.
[0221] In some embodiments of the present invention, it is applicable to the scenario where the back end receives and saves the results of associated subjects.
[0222] In some embodiments of the present invention, after receiving the associated subject result sent by the linkage processing server in response to the subject processing request, the backend saves the received associated subject result.
[0223] In some embodiments of the present invention, when the back end saves the associated subject results, the associated subject results can be saved in the database of the linkage processing server, that is, the back end and the linkage processing server can share a database, and the back end can also save the associated subject results in the back end, which is not limited by the embodiments of the present invention.
[0224] It is understandable that the backend saves the results of associated subjects, and when the front end is closed, the results of associated subjects will not be lost, which improves the security of data preservation.
[0225] S208: Generate saving feedback information according to the saving result and send it to the front end. The saving feedback information is the response result of the saving request.
[0226] In some embodiments of the present invention, it is applicable to the scenario where feedback is provided after the backend completes the saving of the results of the associated subjects.
[0227] In some embodiments of the present invention, after the backend saves the associated subject results, it generates save feedback information based on the save results and sends it to the frontend; wherein the save feedback information is a response result of the save request.
[0228] In some embodiments of the present invention, the backend sends the saving feedback information to notify the frontend of the saving result, and the saving feedback information may be a saving success or a saving failure.
[0229] It is understandable that the backend generates saving feedback information based on the saving result and sends it to the frontend, which can ensure the transparency and timeliness of the interaction between the backend and the frontend.
[0230] The embodiment of the present invention provides a linkage processing method, which is applied to a front end. Figure 6 This is a schematic diagram of a linkage processing method applied to a front end provided by an embodiment of the present invention. Figure 1 ,like Figure 6 As shown, the method includes:
[0231] S301, sending a request to edit a subject item and modify a subject item to the backend.
[0232] The embodiment of the present invention is applicable to the scenario where linkage processing is required after the editing subject item of the front end is edited.
[0233] In the embodiment of the present invention, the front end sends a request to edit a subject item and a request to modify a subject item to the back end.
[0234] In an embodiment of the present invention, the edited subject item is an editable subject item displayed on the front end. After the edited subject item is edited, the front end sends a subject item modification request to the back end to request the latest associated subject result. When the front end sends the subject item modification request to the back end, it also needs to send the edited subject item to the back end to provide data support for linkage processing.
[0235] It is understandable that the front end does not run processing logic, which can reduce the consumption of the central processing unit.
[0236] S302: Receive and display the associated subject result sent by the backend in response to the subject item modification request. The associated subject result is obtained based on the linkage processing of editing the subject item.
[0237] The embodiment of the present invention is applicable to a scenario in which a front end receives the associated subject results sent by a back end and displays the latest associated subject results.
[0238] In an embodiment of the present invention, the front end receives the associated subject results sent by the back end and displays the associated subject results, wherein the associated subject results are obtained by the back end responding to the subject item modification request and sending a subject processing request to the linkage processing server, and the associated subject results need to be obtained based on the linkage processing of the edited subject item.
[0239] In an embodiment of the present invention, the associated subject result is the subject item value of all subject items. When the subject item value of the edited subject item displayed on the front end is edited, the subject item values of all associated subject items associated with the edited subject item will change with the change of the edited subject item.
[0240] It can be understood that after the front end receives the associated subject results sent by the back end, it displays the associated subject results, so that the front end only has a display function, reducing the consumption of the central processing unit, and in this way the front end does not perform linkage processing. When the front end displays the page, it does not need to consider the requirements of the linkage processing for the display page, which reduces the front end's requirements for the page display format.
[0241] In some embodiments of the present invention, Figure 7 This is a schematic diagram of a linkage processing method applied to a front end provided by an embodiment of the present invention. Figure 2 ,like Figure 7 As shown, the method also includes:
[0242] S303, sending a save request and editing subject items to the backend. The save request is used to request the backend to save the associated subject results.
[0243] In some embodiments of the present invention, it is applicable to the scenario where the front end needs to save the content displayed on the current page.
[0244] In some embodiments of the present invention, the front end sends a save request to the back end, wherein the save request carries the edited subject item displayed on the current page, and is used to request the back end to save the associated subject results.
[0245] In some embodiments of the present invention, when the user clicks save, the front end sends a save request to the back end; wherein, the front end may also periodically send a save request to the back end according to a preset time to avoid data loss due to accidents causing the user to fail to click save.
[0246] It is understandable that when the front end sends a save request to the back end, the save request carries the edited subject item displayed on the current page to ensure that the associated subject results displayed and saved by the front end are obtained based on the latest edited subject item linkage processing, thereby ensuring the accuracy of the associated subject results of the linkage processing.
[0247] S304: Receive the save feedback information sent by the backend in response to the save request. The save feedback information is the response result of the save request.
[0248] In some embodiments of the present invention, it is applicable to the scenario where after the front end sends a save request, the response result of the save request is fed back.
[0249] In some embodiments of the present invention, the front end receives the save feedback information sent by the back end; wherein the save feedback information is a response result of the save request.
[0250] In some embodiments of the present invention, when the user clicks Save, the front end sends a save request to the back end; if the back end saves successfully, the front end receives the save feedback information of the save success sent by the back end, and displays the save success to the user; if the back end save fails, the front end receives the save feedback information of the save failure sent by the back end, and displays the save failure to the user, so that the user clicks Save again, or the front end sends the save request again.
[0251] It is understandable that the front end displays the saving result by saving feedback information to inform the user of the saving result.
[0252] The embodiment of the present invention provides a linkage processing method. Figure 8 A schematic diagram of a linkage processing method provided by an embodiment of the present invention Figure 1 ,like Figure 8 As shown, the method includes:
[0253] S401, the front end sends a request to edit a subject item and modify a subject item to the back end.
[0254] S402. The backend responds to the subject item modification request and sends a subject item editing and subject processing request to the linkage processing server.
[0255] S403. The linkage processing server responds to the subject processing request and performs recursive processing to obtain corresponding associated subject items based on the edited subject items.
[0256] S404. The linkage processing server determines a preset processing formula corresponding to the associated subject item according to the associated subject item.
[0257] S405. The linkage processing server obtains corresponding associated subject results based on a preset processing formula.
[0258] S406. The linkage processing server sends the associated subject results to the backend.
[0259] S407, the back end sends the associated subject results to the front end.
[0260] S408. The front end displays the results of related subjects.
[0261] It can be understood that the embodiment of the present invention performs linkage processing through a linkage processing server, and during the linkage processing, it is associated with all required subject items, and the subject items of all subject items are the latest subject items, thereby improving the accuracy of the associated subject results of the linkage processing.
[0262] The embodiment of the present invention provides a linkage processing method based on Figure 8 , Fig. 9 A schematic diagram of a linkage processing method provided by an embodiment of the present invention Figure 2 ,like Fig. 9 As shown, the method also includes:
[0263] S501, the front end sends a save request and edits the subject item to the back end.
[0264] S502. In response to the save request, the backend sends a subject processing request and edited subject items to the linkage processing server.
[0265] S503. The linkage processing server responds to the subject processing request and performs recursive processing to obtain corresponding associated subject items based on the edited subject items.
[0266] S504. The linkage processing server determines a preset processing formula corresponding to the associated subject item according to the associated subject item.
[0267] S505. The linkage processing server obtains corresponding associated subject results based on a preset processing formula.
[0268] S506. The linkage processing server sends the associated subject results to the backend.
[0269] S507. The backend saves the results of the associated subjects.
[0270] S508: The backend generates saving feedback information according to the saving result.
[0271] S509: The backend sends the saved feedback information to the frontend.
[0272] It is understandable that in the prior art, linkage processing is performed by the front end, and the results of the associated subjects obtained by the linkage processing are transmitted to the back end and saved when the user clicks Save. If the user does not click Save and refreshes the page, the values of the subject items in the refreshed page are restored to the initial values. In the embodiment of the present invention, linkage processing is performed by a linkage processing server, and the results of the associated subjects are saved in the back end, so that after the user refreshes the page, the values of the subject items in the front end page will not be restored to the initial values, thereby avoiding data loss.
[0273] The embodiment of the present invention provides a linkage processing method, which is applied to a linkage processing server. Fig.10A schematic diagram of a linkage processing method provided by an embodiment of the present invention Figure 3 ,like Fig.10 As shown, the method includes:
[0274] S601. Obtain the modified account item.
[0275] In some embodiments of the present invention, when a user modifies an edited subject item in a subject item displayed on the front end, the front end sends the edited subject item to the back end, and the back end sends the edited subject item to the linkage processing server. The linkage processing server obtains the modified subject item through S1021 and S1022 based on the edited subject item.
[0276] In some embodiments of the present invention, Fig.11 This is a schematic diagram of the structure of a linkage processing server provided by an embodiment of the present invention. Figure 1 ,like Fig.11 As shown, the linkage computing server may include a processing engine rule configuration module, an associated subject item acquisition module and a linkage processing module.
[0277] In some embodiments of the present invention, the processing engine rule configuration module is used to configure the processing formula, associated subject items, processing formula parameters and edit subject items. Exemplarily, the processing engine rule configuration module can sort out the processing rules of all subject items through Table 1, as follows:
[0278]
[0279]
[0280] Table 1
[0281] Among them, Table 1 includes account items, whether they are editable, dependent account items, processing formulas, processing formula functions and function input parameter types. Account items are represented by numbers, and processing formulas are represented by item_account item numbers. In actual use, the content in Table 1 can be converted into a Java enumeration class for subsequent linkage processing.
[0282] In some embodiments of the present invention, the associated subject item acquisition module is used to acquire associated subject items. In actual use, the associated subject item acquisition module first acquires the edited subject items, where the edited subject items are subject items that can be edited; for example, subject item 1, subject item 3, subject item 9, and subject item 10 in Table 1. Secondly, the acquired edited subject items are compared with the database to acquire the modified items (modified subject items), and finally the associated subject items are acquired through recursive processing according to the modified items.
[0283] In some embodiments of the present invention, a linkage processing module is used to perform linkage processing; during linkage processing, first determine the processing formula corresponding to the associated subject item, then determine the dependent subject item, then substitute the dependent subject item into the processing formula, and finally obtain the associated subject result.
[0284] S602, obtain related subject items.
[0285] In some embodiments of the present invention, after obtaining the modified subject item, the linkage processing server can obtain the associated subject item corresponding to the modified subject item through recursive processing based on Table 1 in S601.
[0286] S603, loop S602 to obtain all related subject items.
[0287] In some embodiments of the present invention, the linkage processing server needs to loop S602 to obtain all associated account items corresponding to each modified account item. For example, in Table 1, account items 1 and 3 are modified account items, then all associated account items of account item 1 are: account item 2, account item 31, account item 6; all associated account items of account item 3 are account item 13.
[0288] S604. Obtain dependent subject items from editMap.
[0289] In some embodiments of the present invention, after the linkage processing server obtains all the associated subject items, it can be known based on Table 1 in S601 that the associated subject results corresponding to the associated subject items need to substitute the dependent subject items into the processing formula corresponding to the associated subject items. Among them, first obtain the dependent subject items through S604, that is, check whether there are dependent subject items corresponding to the processing formula in editMap, if the required dependent subject items exist in editMap, then call the above dependent subject items and substitute them into the processing formula.
[0290] S605. Obtain dependent subject items from computMap.
[0291] In some embodiments of the present invention, if the required dependent subject item does not exist in editMap, the dependent subject item is obtained through S605, that is, it is detected in computMap whether there is a dependent subject item corresponding to the processing formula; similarly, if the required dependent subject item exists in computMap, the above-mentioned dependent subject item is called and substituted into the processing formula.
[0292] S606. Obtain dependent subject items from dbMap.
[0293] In some embodiments of the present invention, if the required dependent subject item does not exist in computMap, the dependent subject item is obtained through S606, that is, it is detected in dbMap whether there is a dependent subject item corresponding to the processing formula; similarly, if the required dependent subject item exists in dbMap, the above-mentioned dependent subject item is called and substituted into the processing formula; wherein, if the required dependent subject item does not exist in dbMap, the linkage processing server can terminate the linkage processing and send an error message.
[0294] S607, substitute into the processing formula.
[0295] In some embodiments of the present invention, after the linkage processing server obtains the required dependent subject items through S604-S606, it substitutes the obtained dependent subject items into the processing formula.
[0296] In some embodiments of the present invention, according to Table 1 in S601, it can be seen that the processing formulas correspond one-to-one to the subject items, that is, each associated subject item corresponds to a processing formula, and each processing formula corresponds to a processing formula function; wherein, the processing formula function is equivalent to the name of the processing formula. In actual use, the processing formula function is called through Java reflection, so that the processing formula corresponding to the processing formula function can be called, thereby substituting the acquired dependent subject items into the processing formula.
[0297] S608. Obtain processing results of all associated subject items (associated subject results).
[0298] In some embodiments of the present invention, after the dependent subject items are substituted into the processing formula in S607, the processing results of the associated subject items corresponding to the processing formula can be obtained; S604-S607 are looped until the processing results of all associated subject items are obtained, and the linkage processing is completed. At this time, the linkage processing server can send the processing results of the associated subject items to the backend for storage, or send the processing results of the associated subject items to the frontend for display through the backend.
[0299] S609. Save the processing results (related subject results) to computMap.
[0300] In some embodiments of the invention, since the processing result belongs to a dependent subject item, after the linkage processing server obtains the processing result, it saves the processing result to the computMap.
[0301] It is understandable that after the linkage processing server obtains the processing results of all related subject items, it saves the processing results to computMap, which is more convenient for subsequent linkage processing.
[0302] An embodiment of the present invention provides a linkage processing device, corresponding to a linkage processing method applied to a linkage processing server; Fig.12 is a structural diagram of a linkage processing device provided by an embodiment of the present invention, the linkage processing device includes a first receiving unit, a first acquiring unit, a determining unit and a first sending unit; wherein,
[0303] The first receiving unit is used to receive a subject processing request sent by the back end, wherein the subject processing request carries an edited subject item;
[0304] The first acquisition unit is used to respond to the subject processing request and recursively process the edited subject item to obtain the corresponding associated subject item; and is used to obtain the corresponding associated subject result based on the preset processing formula;
[0305] The determining unit is used to determine the preset processing formula corresponding to the associated subject item according to the associated subject item;
[0306] The first sending module is used to send the associated subject result to the back end.
[0307] In some embodiments of the present invention, the first acquisition unit is also used to compare the edited subject item with the subject item in the database and obtain a comparison result; it is also used to recursively process and obtain the corresponding associated subject item based on the modified subject item; and it is also used to determine the modified subject item based on the comparison result.
[0308] In some embodiments of the present invention, the first acquisition unit is also used to compare the first edited subject item with the first subject item and obtain the comparison result; until the comparison of the edited subject items is completed and multiple comparison results are obtained; wherein the first edited subject item is any one of the edited subject items, and the first subject item is a subject item in the subject items corresponding to the first edited subject item.
[0309] In some embodiments of the present invention, the first acquisition unit is further used to determine that the first edited subject item corresponding to the comparison result is the modified subject item if the comparison result is that the first edited subject item is different from the first subject item.
[0310] In some embodiments of the present invention, the first acquisition unit is also used to determine dependent subject items based on the preset processing formula; wherein the dependent subject items are used to be substituted into the preset processing formula; and is also used to substitute the dependent subject items into the preset processing formula to obtain corresponding associated subject results.
[0311] In some embodiments of the present invention, the first acquisition unit is also used to determine the dependent subject item based on the preset processing formula according to a preset priority; wherein the preset priority is to determine that the priority of the editing subject item is higher than the priority of determining the associated subject result, and the priority of determining the associated subject result is higher than the priority of determining the subject item.
[0312] In some embodiments of the present invention, the first acquisition unit is further used to detect the editing subject item based on the preset processing formula and obtain a first detection result; and is also used to determine the editing subject item if the first detection result is that the editing subject corresponding to the preset processing formula exists.
[0313] In some embodiments of the present invention, the first acquisition unit is also used to detect the associated subject result and obtain the corresponding second detection result if the first detection result is that the edited subject item corresponding to the preset processing formula does not exist; and is also used to determine the associated subject result if the second detection result is that the associated subject result corresponding to the preset processing formula exists.
[0314] In some embodiments of the present invention, the first acquisition unit is also used to detect the subject item and obtain a third detection result if the second detection result is that the associated subject result corresponding to the preset processing formula does not exist; and is also used to determine the subject item if the third detection result is that the subject item result corresponding to the preset processing formula exists.
[0315] The embodiment of the present invention provides a linkage processing device, corresponding to a linkage processing method applied to a backend; Fig.13 is a structural diagram of another linkage processing device provided by an embodiment of the present invention, the linkage processing device includes a second receiving unit and a second sending unit; wherein,
[0316] The second receiving unit is used to receive the edit subject item and subject item modification request sent by the front end; and is used to receive the associated subject result sent by the linkage processing server in response to the subject processing request;
[0317] The second sending unit is used to send the edited subject item and subject processing request to the linkage processing server in response to the subject item modification request; and is used to send the associated subject result to the front end to receive the subject processing request and edited subject item sent by the back end.
[0318] In some embodiments of the present invention, the device further comprises a saving unit and a generating unit; wherein the first receiving unit is further used to receive the saving request and the editing subject item sent by the front end; and is further used to receive the associated subject result sent by the linkage processing server in response to the subject processing request;
[0319] The first sending unit is further used to send the subject processing request and the edited subject item to the linkage processing server in response to the save request; and is also used to send the save feedback information to the front end;
[0320] The storage unit is used to store the associated subject result;
[0321] The generating unit is used to generate saving feedback information according to the saving result, and the saving feedback information is a response result of the saving request.
[0322] The embodiment of the present invention provides a linkage processing device, corresponding to a linkage processing method applied to a front end; Fig.14 is a structural diagram of another linkage processing device provided by an embodiment of the present invention, the linkage processing device includes a third receiving unit and a third sending unit; wherein,
[0323] The third receiving unit is used to receive the associated subject result sent by the back end, receive the subject processing request and edit subject item sent by the back end;
[0324] The third sending module is used to send subject item editing and subject item modification requests to the back end.
[0325] In some embodiments of the present invention, the third sending module is further used to send the save request and the edited subject item to the back end;
[0326] The third receiving unit is further configured to receive the save feedback information sent by the back end, where the save feedback information is a response result of the save request.
[0327] An embodiment of the present invention provides a linkage processing server, corresponding to a linkage processing method applied to the linkage processing server; Fig.15 The structure of a linkage processing device provided by an embodiment of the present invention is schematically shown in FIG. Figure 2 ,like Fig.15As shown, the linkage processing server 9 includes: a first processor 91, a first memory 92 and a first communication bus 94. The first memory 92 communicates with the first processor 91 through the first communication bus 94. The first memory 92 stores one or more programs executable by the first processor 91. When the one or more programs are executed, the first processor 91 executes the linkage processing method as in the embodiment of the present invention. Specifically, the linkage processing server 9 also includes a first communication component 93 for data transmission, wherein the first processor 91 is provided with at least one.
[0328] In the embodiment of the present invention, the components in the linkage processing server 9 are coupled together via a bus 94. It is understood that the bus 94 is used to realize the connection and communication between these components. In addition to the data bus, the bus 94 also includes a power bus, a control bus, and a status signal bus. However, for the sake of clarity, Fig.15 Various buses are labeled as passing through bus 94.
[0329] An embodiment of the present invention provides a backend, corresponding to a linkage processing method applied to the backend; Fig.16 is a schematic diagram of a backend structure provided by an embodiment of the present invention, such as Fig.16 As shown, the back end 10 includes: a second processor 101, a second memory 102 and a second communication bus 104. The second memory 102 communicates with the second processor 101 through the second communication bus 104. The second memory 102 stores one or more programs executable by the second processor 101. When the one or more programs are executed, the second processor 101 executes the linkage processing method as in the embodiment of the present invention. Specifically, the back end 10 also includes a second communication component 103 for data transmission, wherein the second processor 101 is provided with at least one.
[0330] In the embodiment of the present invention, the components in the back end 10 are coupled together via the bus 104. It is understood that the bus 104 is used to realize the connection and communication between these components. In addition to the data bus, the bus 104 also includes a power bus, a control bus, and a status signal bus. However, for the sake of clarity, Fig.16 Various buses are labeled as passing through bus 104.
[0331] An embodiment of the present invention provides a front end, corresponding to a linkage processing method applied to the front end; Fig.17 is a schematic diagram of the structure of a front end provided by an embodiment of the present invention, such as Fig.17As shown, the front end 11 includes: a third processor 111, a third memory 112 and a third communication bus 114. The third memory 112 communicates with the third processor 111 through the third communication bus 114. The third memory 112 stores one or more programs executable by the third processor 111. When the one or more programs are executed, the third processor 111 executes the linkage processing method as in the embodiment of the present invention. Specifically, the front end 11 also includes a third communication component 113 for data transmission, wherein the third processor 111 is provided with at least one.
[0332] In the embodiment of the present invention, the components in the front end 11 are coupled together via the bus 114. It is understood that the bus 114 is used to realize the connection and communication between these components. In addition to the data bus, the bus 114 also includes a power bus, a control bus, and a status signal bus. However, for the sake of clarity, Fig.17 Various buses are labeled as passing through bus 114.
[0333] An embodiment of the present invention provides a storage medium, wherein the storage medium stores executable instructions, and when the executable instructions are executed, is used to cause a first processor to execute the linkage processing method as described in the embodiment of the present invention.
[0334] An embodiment of the present invention provides a storage medium, wherein the storage medium stores executable instructions, and when the executable instructions are executed, the second processor is used to execute the linkage processing method according to the embodiment of the present invention.
[0335] An embodiment of the present invention provides a storage medium, wherein the storage medium stores executable instructions, and when the executable instructions are executed, the third processor is used to execute the linkage processing method as described in the embodiment of the present invention.
[0336] Those skilled in the art will appreciate that embodiments of the present invention may be provided as methods, systems, or computer program products. Therefore, the present invention may take the form of hardware embodiments, software embodiments, or embodiments combining software and hardware. Moreover, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage and optical storage, etc.) containing computer-usable program codes.
[0337] The present invention is described with reference to flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0338] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0339] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0340] The above description is only a preferred embodiment of the present invention and is not intended to limit the protection scope of the present invention.
Claims
1. A linkage processing method, characterized in that: Applied to linkage processing servers, including: Receiving a subject processing request sent by a back end, wherein the subject processing request carries an edited subject item; In response to the subject processing request, the edited subject item is compared with the subject item in the database, and a comparison result is obtained; wherein each edited subject item in the edited subject item corresponds to a subject item in the database, and the number of the edited subject items is less than or equal to the number of subject items in the database; the subject items in the database are all unedited subject items, and the edited subject items contain edited subject items; Determine the modified account item according to the comparison result; According to the modified subject item, recursively process to obtain the corresponding associated subject item; According to the associated subject item, determining a preset processing formula corresponding to the associated subject item; Based on the preset processing formula, the numerical value required by the preset processing formula is substituted into the preset processing formula to perform linkage processing to obtain the corresponding related subject results and send them to the back end.
2. The method according to claim 1, characterized in that The step of comparing the edited subject item with the subject item in the database and obtaining the comparison result includes: Compare the first edited subject item with the first subject item and obtain the comparison result; until the edited subject items are compared and multiple comparison results are obtained; wherein the first edited subject item is any one of the edited subject items, and the first subject item is a subject item in the subject items corresponding to the first edited subject item.
3. The method according to claim 2, characterized in that Determining the modified subject items according to the comparison results includes: If the comparison result is that the first edited subject item is different from the first subject item, then the first edited subject item corresponding to the comparison result is determined to be the modified subject item.
4. The method according to claim 3, characterized in that Based on the preset processing formula, the numerical value required by the preset processing formula is substituted into the preset processing formula to perform linkage processing to obtain the corresponding associated subject result and send it to the back end, including: Based on the preset processing formula, determining dependent subject items according to preset priorities; Substitute the dependent subject item into the preset processing formula, obtain the corresponding associated subject result and send it to the back end.
5. The method according to claim 4, characterized in that The dependent subject items include at least one of the following: the associated subject results, the edited subject items and the subject items, and the preset priority is to determine that the priority of the edited subject items is higher than the priority of determining the associated subject results, and to determine that the priority of the associated subject results is higher than the priority of determining the subject items.
6. The method according to claim 5, characterized in that The step of determining dependent subject items based on the preset processing formula and according to preset priorities includes: Based on the preset processing formula, the editing subject item is tested and a first test result is obtained; If the first detection result is that the editing subject item corresponding to the preset processing formula exists, the editing subject item is determined to be the dependent subject item.
7. The method according to claim 6, characterized in that After the editing subject item is detected based on the preset processing formula and a first detection result is obtained, the method further includes: If the first detection result is that the edited subject item corresponding to the preset processing formula does not exist, then the associated subject result is detected and a corresponding second detection result is obtained; If the second detection result is that there is the associated subject result corresponding to the preset processing formula, then the associated subject result is determined to be the dependent subject item.
8. The method according to claim 7, characterized in that If the first detection result is that the edited subject item corresponding to the preset processing formula does not exist, then after detecting the associated subject result and obtaining the corresponding second detection result, the method further includes: If the second detection result is that the associated subject result corresponding to the preset processing formula does not exist, then the subject item is detected to obtain a third detection result; If the third detection result is that the subject item corresponding to the preset processing formula exists, then the subject item is determined to be the dependent subject item.
9. A linkage processing method, characterized in that: Applied to the backend, including: Receive edit account item and account item modification requests sent by the front end; In response to the subject item modification request, sending the subject item editing and subject processing request to the linkage processing server; receiving the associated subject result sent by the linkage processing server in response to the subject processing request; Sending the associated subject result to the front end; The associated subject result is obtained by the linkage processing server based on a preset processing formula by substituting the numerical value required by the preset processing formula into the preset processing formula for linkage processing; the preset processing formula corresponds to the associated subject item; the associated subject item is obtained by the linkage processing server by responding to the subject processing request, comparing the edited subject item with the subject item in the database, and obtaining the comparison result, determining the modified subject item according to the comparison result, and obtaining the modified subject item through recursive processing according to the modified subject item; Each of the edited subject items corresponds to a subject item in the database, and the number of the edited subject items is less than or equal to the number of subject items in the database; the subject items in the database are all unedited subject items, and the edited subject items include edited subject items.
10. The method according to claim 9, characterized in that The method further comprises: Receiving a save request and editing subject item sent by the front end; In response to the save request, sending a subject processing request and the edited subject item to a linkage processing server; receiving the associated subject result sent by the linkage processing server in response to the subject processing request, and saving the associated subject result; Generate save feedback information according to the save result and send it to the front end, where the save feedback information is the response result of the save request.
11. A linkage processing method, characterized in that: Applied to the front end, including: Send edit account item and account item modification requests to the backend; receiving and displaying the associated subject result sent by the backend in response to the subject item modification request; The associated subject result is obtained by the linkage processing server based on a preset processing formula, by substituting the numerical value required by the preset processing formula into the preset processing formula for linkage processing; the preset processing formula corresponds to the associated subject item; the associated subject item is obtained by the linkage processing server by responding to the subject processing request, comparing the edited subject item with the subject item in the database, and obtaining the comparison result, determining the modified subject item according to the comparison result, and obtaining the modified subject item by recursive processing according to the modified subject item; Each of the edited subject items corresponds to a subject item in the database, and the number of the edited subject items is less than or equal to the number of subject items in the database; the subject items in the database are all unedited subject items, and the edited subject items include edited subject items.
12. The method according to claim 11, characterized in that The method further comprises: Sending a save request and the edited subject item to a backend; the save request is used to request the backend to save the associated subject result; The save feedback information sent by the backend in response to the save request is received, where the save feedback information is a response result of the save request.
13. A linkage processing device, characterized in that: It includes a first receiving unit, a first acquiring unit, a determining unit and a first sending unit; wherein, The first receiving unit is used to receive a subject processing request sent by the back end, wherein the subject processing request carries an edited subject item; The first acquisition unit is used to respond to the subject processing request, compare the edited subject item with the subject item in the database, and obtain a comparison result; wherein each edited subject item in the edited subject item corresponds to a subject item in the database, and the number of the edited subject items is less than or equal to the number of subject items in the database; the subject items in the database are all unedited subject items, and there are edited subject items in the edited subject items; according to the comparison result, determine the modified subject item; according to the modified subject item, recursively process and obtain the corresponding associated subject item; The determining unit is used to determine the preset processing formula corresponding to the associated subject item according to the associated subject item; The first acquisition unit is further used to substitute the numerical value required by the preset processing formula into the preset processing formula based on the preset processing formula, so as to perform linkage processing to obtain the corresponding associated subject result; The first sending unit is used to send the associated subject result to the back end.
14. A linkage processing device, characterized in that: It includes a second receiving unit and a second sending unit; wherein, The second receiving unit is used to receive the edit subject item and subject item modification request sent by the front end; The second sending unit is used to send the edit subject item and subject processing request to the linkage processing server in response to the subject item modification request; The second receiving unit is further configured to receive the associated subject result sent by the linkage processing server in response to the subject processing request; The second sending unit is further used to send the associated subject result to the front end to receive the subject processing request and edit subject item sent by the back end; The associated subject result is obtained by the linkage processing server based on a preset processing formula, by substituting the numerical value required by the preset processing formula into the preset processing formula for linkage processing; the preset processing formula corresponds to the associated subject item; the associated subject item is obtained by the linkage processing server by responding to the subject processing request, comparing the edited subject item with the subject item in the database, and obtaining the comparison result, determining the modified subject item according to the comparison result, and obtaining the modified subject item through recursive processing according to the modified subject item; Each of the edited subject items corresponds to a subject item in the database, and the number of the edited subject items is less than or equal to the number of subject items in the database; the subject items in the database are all unedited subject items, and the edited subject items include edited subject items.
15. A linkage processing device, characterized in that: It includes a third receiving unit and a third sending unit; wherein, The third receiving unit is used to receive the result of associating subjects sent by the back end, receive the subject processing request and edit subject items sent by the back end; The third sending unit is used to send a request to edit a subject item and a request to modify a subject item to the back end; The associated subject result is obtained by the linkage processing server based on a preset processing formula, by substituting the numerical value required by the preset processing formula into the preset processing formula for linkage processing; the preset processing formula corresponds to the associated subject item; the associated subject item is obtained by the linkage processing server by responding to the subject processing request, comparing the edited subject item with the subject item in the database, and obtaining the comparison result, determining the modified subject item according to the comparison result, and obtaining the modified subject item by recursive processing according to the modified subject item; Each of the edited subject items corresponds to a subject item in the database, and the number of the edited subject items is less than or equal to the number of subject items in the database; the subject items in the database are all unedited subject items, and the edited subject items include edited subject items.
16. A linkage processing server, characterized in that: The linkage processing server comprises: A first memory, used to store executable instructions; A first communication bus, used to implement communication between the first memory and the first processor; The first processor is used to execute the executable instructions stored in the first memory to implement the linkage processing method according to any one of claims 1 to 8.
17. A back end, characterized in that: The backend includes: A second memory, used for storing executable instructions; A second communication bus, used to implement communication between the second memory and the second processor; The second processor is used to execute the executable instructions stored in the second memory to implement the linkage processing method according to claim 9 or 10.
18. A front end, characterized in that: The front end comprises: A third memory, used to store executable instructions; A third communication bus, used to implement communication between the third memory and the third processor; The third processor is used to execute the executable instructions stored in the third memory to implement the linkage processing method as claimed in claim 11 or 12.
19. A storage medium, characterized in that: The storage medium stores executable instructions, which, when executed, are used to cause the first processor to execute the linkage processing method as described in any one of claims 1 to 8; or, to cause the second processor to execute the linkage processing method as described in claim 9 or 10; or, to cause the third processor to execute the linkage processing method as described in claim 11 or 12.
Citation Information
Patent Citations
Page element linkage methods, page element linkage device and server
CN108874808A