Resource value determination method and apparatus, computer device, and storage medium

By automating the acquisition and updating of resource values ​​from target data sources, the problem of high labor costs in resource management organizations is solved, and the accuracy and automated processing of resource values ​​are achieved.

CN117312338BActive Publication Date: 2026-08-04INDUSTRIAL AND COMMERCIAL BANK OF CHINA
View PDF 2 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
INDUSTRIAL AND COMMERCIAL BANK OF CHINA
Filing Date
2023-09-06
Publication Date
2026-08-04

AI Technical Summary

Technical Problem

In existing technologies, resource management agencies face excessively high labor costs when acquiring and correcting resource product values.

Method used

Resource values ​​of resource products are obtained automatically. Using preset data source order and conditions, the target data source is updated until the preset conditions are met, and the initial resource values ​​are used as the target resource values ​​of the resource products.

Benefits of technology

It has enabled the automated determination of resource values, reduced labor costs, and improved the accuracy of resource values.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117312338B_ABST
    Figure CN117312338B_ABST
Patent Text Reader

Abstract

The application relates to a resource value determination method and device, computer equipment and a storage medium, and relates to the field of financial technology or other related fields. The method comprises the following steps: obtaining a resource product for which a resource value is to be determined, determining a resource value submission time based on the resource product; in the case where the current time meets the resource value submission time, determining a target data source from a plurality of data sources providing resource values of the resource product in a preset data source order, and obtaining an initial resource value provided by the target data source for the resource product; in the case where the target data source does not meet a preset condition, updating the data source order of the plurality of data sources, and returning to the step of determining the target data source until the target data source meets the preset condition; and in the case where the target data source meets the preset condition, taking the initial resource value as a target resource value of the resource product. The method can reduce the cost of manually determining the resource value of the resource product.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of financial technology or other related fields, and in particular to a method, apparatus, computer equipment and storage medium for determining resource values. Background Technology

[0002] With the development of financial services, the exchange of resource products is becoming increasingly widespread, making it more and more important for users to have real-time access to resource values. Currently, users can obtain resource value information from various resource management institutions. These institutions can obtain resource values ​​from multiple data sources in real time. To ensure the accuracy of these values, resource management institutions need to update them regularly, requiring them to access resource values ​​from multiple data sources within a preset timeframe.

[0003] Currently, resource management agencies obtain resource values ​​for resource products manually. Furthermore, if the resource values ​​are inaccurate, manual judgment and correction are required. Existing technologies result in excessively high labor costs for correcting resource values. Summary of the Invention

[0004] Therefore, it is necessary to provide a method, apparatus, computer equipment, and storage medium for determining resource values ​​that can reduce the cost of manually determining resource values ​​for resource products, in order to address the aforementioned technical problems.

[0005] Firstly, this application provides a method for determining resource values, the method comprising:

[0006] Obtain resource products with undetermined resource values, and determine the resource value reporting time based on the resource products;

[0007] If the current time meets the resource value reporting time, the target data source is determined from multiple data sources that provide resource values ​​for resource products according to the preset data source order, and the initial resource values ​​provided by the target data source for the resource product are obtained.

[0008] If the target data source does not meet the preset conditions, update the data source order of multiple data sources, and return to the step of determining the target data source from multiple data sources that provide resource values ​​of resource products according to the preset data source order, until the target data source meets the preset conditions.

[0009] If the target data source meets the preset conditions, the initial resource value will be used as the target resource value of the resource product.

[0010] In one embodiment, determining the resource value reporting time based on the resource product includes:

[0011] Obtain the initial value reporting time preset for the resource product, and obtain the non-business processing time of the regional location associated with the resource product;

[0012] The resource value reporting time is obtained based on the initial value reporting time and the non-business processing time.

[0013] In one embodiment, the resource value reporting time is obtained based on the initial value reporting time and the non-business processing time, including:

[0014] If there is non-business processing time within the preset time period, obtain the intersection time period between the initial value submission time and the non-business processing time.

[0015] If the non-business processing time includes the initial value submission time, then the resource value submission time within the preset time period will be excluded.

[0016] If the non-business processing time does not include the initial value submission time, the resource value submission time is determined based on the start time of the initial value submission time, the end time of the initial value submission time, the start time of the non-business processing time, and the end time of the non-business processing time.

[0017] In one embodiment, the resource value reporting time is determined based on the start time of the initial value reporting time, the end time of the initial value reporting time, the start time of the non-business processing time, and the end time of the non-business processing time, including:

[0018] If the initial data reporting time includes non-business processing time, the start time of the initial data reporting time shall be taken as the first start time of the resource data reporting time, and the start time of the non-business processing time shall be taken as the first end time of the resource data reporting time.

[0019] The end time of non-business processing time is taken as the second start time of resource value reporting time, and the end time of the initial value reporting time is taken as the second end time of resource value reporting time.

[0020] If the initial data reporting time does not include non-business processing time, and the start time of the initial data reporting time is earlier than the start time of the non-business processing time, and the end time of the initial data reporting time is earlier than or equal to the end time of the non-business processing time, then the start time of the initial data reporting time shall be taken as the start time of the resource data reporting time, and the start time of the non-business processing time shall be taken as the end time of the resource data reporting time.

[0021] If the non-business processing time is equal to the initial value submission time, then the resource value submission time within the preset time period will be excluded.

[0022] In one embodiment, if the target data source does not meet preset conditions, the data source order of multiple data sources is updated, including:

[0023] Determine the time to retrieve the initial resource values ​​from the target data source;

[0024] Obtain the pre-set time window threshold;

[0025] If the difference between the current time and the time when the value is acquired does not meet the time condition, and the number of times the target data source fails to meet the time condition meets the preset number, then the data source order of multiple data sources will be updated; the time condition is that the difference between the current time and the time when the value is acquired is less than or equal to the time window threshold.

[0026] In one embodiment, if the target data source does not meet preset conditions, the data source order of multiple data sources is updated, including:

[0027] Obtain historical resource values ​​provided by the target data source for the resource product;

[0028] Obtain the pre-set resource value threshold;

[0029] If the difference between the initial resource value and the historical resource value is greater than the resource value threshold, the next data source of the target data source is determined according to the preset data source order, and the resource value provided by the next data source is obtained.

[0030] If the difference between the initial resource value and the resource value provided by the next data source is greater than the resource value threshold, then the data source order of multiple data sources is updated.

[0031] In one embodiment, after obtaining a pre-set resource value threshold, the method further includes:

[0032] If the difference between the initial resource value and the historical resource value is less than or equal to the resource value threshold, obtain multiple resource values ​​provided by multiple data sources at the current time.

[0033] Get the average value of multiple resource values ​​provided by multiple data sources at the current time;

[0034] If the difference between the initial resource value and the average value is greater than the resource value threshold, update the data source order of multiple data sources.

[0035] In one embodiment, the target data source is the first data source in the data source sequence;

[0036] Update the data source order of multiple data sources, including:

[0037] The target data source is placed last in the order of multiple data sources, and the order of each data source other than the target data source is moved forward by one position.

[0038] Secondly, this application also provides a resource value determination apparatus, the apparatus comprising:

[0039] The submission time determination module is used to obtain resource products for determining resource values ​​and to determine the submission time of resource values ​​based on resource products.

[0040] The initial value determination module is used to determine the target data source from multiple data sources that provide resource values ​​for resource products, according to a preset data source order, and obtain the initial resource values ​​provided by the target data source for the resource product, provided that the resource value reporting time is met at the current time.

[0041] The data source order update module is used to update the data source order of multiple data sources when the target data source does not meet the preset conditions, and return to the execution of the step of determining the target data source from multiple data sources that provide resource values ​​of resource products according to the preset data source order, until the target data source meets the preset conditions.

[0042] The target value determination module is used to use the initial resource value as the target resource value of the resource product when the target data source meets the preset conditions.

[0043] Thirdly, this application also provides a computer device. This computer device includes a memory and a processor, the memory storing a computer program, and the processor executing the computer program to implement the steps of the method described above.

[0044] Fourthly, this application also provides a computer-readable storage medium. This computer-readable storage medium stores a computer program thereon, which, when executed by a processor, implements the steps of the above-described method.

[0045] Fifthly, this application also provides a computer program product. This computer program product includes a computer program that, when executed by a processor, implements the steps of the above-described method.

[0046] The aforementioned method, apparatus, computer equipment, and storage medium for determining resource values ​​involve: acquiring a resource product for which resource values ​​are to be determined; determining a resource value reporting time based on the resource product; if the current time meets the resource value reporting time requirement, determining a target data source from multiple data sources providing resource values ​​for the resource product according to a preset data source order, and acquiring the initial resource value provided by the target data source for the resource product; if the target data source does not meet the preset conditions, updating the data source order of the multiple data sources, and returning to the step of determining the target data source from multiple data sources providing resource values ​​for the resource product according to the preset data source order, until the target data source meets the preset conditions; if the target data source meets the preset conditions, using the initial resource value as the target resource value for the resource product. Compared with traditional technologies, this application achieves automation and reduces labor costs by automatically determining the target resource value when the current time meets the resource value reporting time requirement, without relying on manual acquisition of resource values. Meanwhile, this application updates the target data source order when the target data source does not meet the preset conditions until the target data source meets the preset conditions; when the target data source meets the preset conditions, the initial resource value provided by the target data source is used as the target resource value of the resource product. This can achieve automatic updating of the target data source and obtain the target resource value of the resource product from the updated target data source, thereby reducing the cost of manually correcting the data source and ensuring the accuracy of the target resource value of the resource product. Attached Figure Description

[0047] Figure 1 This is a flowchart illustrating a method for determining resource values ​​in one embodiment;

[0048] Figure 2 This is a flowchart illustrating the steps for obtaining resource value reporting time in one embodiment;

[0049] Figure 3 This is a flowchart illustrating the sequential steps of updating multiple data sources in one embodiment.

[0050] Figure 4 This is a flowchart illustrating the sequential steps of updating multiple data sources in another embodiment;

[0051] Figure 5 This is a flowchart illustrating the process of determining the resource value reporting time in one embodiment;

[0052] Figure 6 This is a structural block diagram of a resource value determination device in one embodiment;

[0053] Figure 7 This is an internal structural diagram of a computer device in one embodiment. Detailed Implementation

[0054] To make the objectives, technical solutions, and advantages of this application clearer, the following detailed description is provided in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the scope of this application.

[0055] In one embodiment, such as Figure 1 As shown, a method for determining resource values ​​is provided. This embodiment illustrates the application of this method to a terminal. It is understood that this method can also be applied to a server, and further to a system including both a terminal and a server, and is implemented through interaction between the terminal and the server. In this embodiment, the method includes the following steps:

[0056] S102, Obtain the resource product whose resource value is to be determined, and determine the resource value reporting time based on the resource product.

[0057] Here, a resource product can be a resource whose value needs to be determined, or a product related to that resource. The resource value can be the numerical value corresponding to the resource product, such as its monetary value. The resource value reporting time can be the time when the resource value of the resource product is reported. For example, if the resource value of a resource product needs to be updated, the time of each update can be used as the resource value reporting time. The resource value reporting time can also be the time when the resource value of the resource product is obtained from other data sources.

[0058] For example, the resource products that need to be reported can be identified, and the time for reporting resource values ​​can be determined based on the resource products.

[0059] S104. If the current time meets the resource value reporting time, determine the target data source from multiple data sources that provide resource values ​​for resource products according to the preset data source order, and obtain the initial resource values ​​provided by the target data source for the resource product.

[0060] Here, "current time" can refer to the current moment when the system processes the resource values ​​of the resource product, or it can be the system's current time. "Data source order" can be a pre-set arrangement of data sources. The data source arrangement order can be the order in which the resource values ​​of the data sources are obtained, i.e., the order in which the resource values ​​of the resource product are determined from which data source. The data source can be the resource management organization that provides the resource values ​​of the resource product. The data source order can be the order determined during the previous resource value submission process. "Target data source" can be the data source used to determine the resource values ​​of the resource product, or it can be the data source used in the previous resource value determination, i.e., the resource values ​​of the resource product were determined using the resource values ​​provided by the target data source in the previous process. "Initial resource values" can be the resource values ​​provided by the target data source for the resource product whose resource values ​​need to be determined this time.

[0061] For example, if the current time meets the resource value reporting time, the target data source can be automatically determined from multiple data sources providing resource values ​​for the resource product according to the data source order, and the initial resource value of the target data source for the resource product provided in this instance can be obtained. In this way, it is possible to automatically determine whether the current time meets the resource value reporting time, thereby reducing the need for manual initiation of the resource value acquisition task and lowering labor costs.

[0062] S106, if the target data source does not meet the preset conditions, update the data source order of multiple data sources, and return to the step of determining the target data source from multiple data sources that provide resource values ​​of resource products according to the preset data source order, until the target data source meets the preset conditions.

[0063] The preset conditions can be used to determine the reliability of the resource values ​​provided by the target data source during this resource value submission process. For example, preset conditions can be used to determine whether the target data source has updated the resource values ​​of the resource product, or whether the resource values ​​of the resource product meet the publicly disclosed value criteria.

[0064] For example, if the target data source does not meet the preset conditions, the data source order of multiple data sources can be updated to update the target data source. The target data source can be determined from multiple data sources providing resource values ​​for resource products according to the updated data source order, until the target data source meets the preset conditions. In this way, updating target data sources that do not meet the preset conditions can be achieved, thereby improving the accuracy of resource values ​​for resource products.

[0065] S108, if the target data source meets the preset conditions, the initial resource value is used as the target resource value of the resource product.

[0066] The target resource value can be the resource value determined for the resource product in this resource value submission. In other words, the target resource value can be updated to the historical resource value of the resource product. The historical resource value can be the resource data determined in the last time.

[0067] For example, if the target data source meets the preset conditions, the initial resource value of the target resource value can be used as the target resource value of the resource product, and the target resource value can be used to update the previously determined resource data for the resource product.

[0068] In this embodiment, a resource product for which the resource value to be determined is acquired, and a resource value reporting time is determined based on the resource product. If the current time meets the resource value reporting time, a target data source is determined from multiple data sources providing resource values ​​for the resource product according to a preset data source order, and the initial resource value provided by the target data source for the resource product is obtained. If the target data source does not meet the preset conditions, the data source order of the multiple data sources is updated, and the process of determining the target data source from multiple data sources providing resource values ​​for the resource product according to the preset data source order is returned until the target data source meets the preset conditions. If the target data source meets the preset conditions, the initial resource value is used as the target resource value for the resource product. Compared with traditional technologies, this application automatically determines the target resource value when the current time meets the resource value reporting time, without relying on manual acquisition of resource values, thereby achieving automation and reducing labor costs. Meanwhile, this application updates the target data source order when the target data source does not meet the preset conditions until the target data source meets the preset conditions; when the target data source meets the preset conditions, the initial resource value provided by the target data source is used as the target resource value of the resource product. This can achieve automatic updating of the target data source and obtain the target resource value of the resource product from the updated target data source, thereby reducing the cost of manually correcting the data source and ensuring the accuracy of the target resource value of the resource product.

[0069] In one embodiment, determining the resource value reporting time based on the resource product includes:

[0070] Obtain the initial value reporting time preset for the resource product, and obtain the non-business processing time of the regional location associated with the resource product;

[0071] The resource value reporting time is obtained based on the initial value reporting time and the non-business processing time.

[0072] The initial data submission time can be the time when resource values ​​for a resource product are submitted, and the initial data submission time can be a period of time. The initial data submission times for different types of resource products are shown in Table 1.

[0073] Table 1 Initial Value Reporting Time for Different Types of Resource Products

[0074]

[0075] Non-business processing time can be the time when no business is processed in a specific region. This time can be a period of time, such as holidays in a particular region. The region associated with a resource product can be the region related to that resource product. For example, if a resource product corresponding to region B is obtained in region A, then the resource value of that product can be provided by region B, and the region associated with that resource product is region B. Therefore, the non-business processing time can be the time determined by region B. Regions A and B can have different resource exchange ratios.

[0076] For example, the initial data reporting time preset for the resource product can be obtained, along with the non-business processing time of the region associated with the resource product. The resource data reporting time can then be determined using both the initial data reporting time and the non-business processing time. This enables automated processing of resource data reporting tasks for resource products, thereby reducing labor costs.

[0077] In this embodiment, by obtaining the initial value reporting time preset for the resource product and the non-business processing time of the regional location associated with the resource product, the resource value reporting time is obtained based on the initial value reporting time and the non-business processing time, thereby automatically determining the resource value of the resource tea product and reducing processing costs.

[0078] In one embodiment, such as Figure 2 As shown, based on the initial data reporting time and non-business processing time, the resource data reporting time is obtained, including:

[0079] S202, if there is non-business processing time in the preset time period, obtain the intersection time period between the initial value reporting time and the non-business processing time.

[0080] The preset time period can be a time period set for each time cycle, such as a week.

[0081] For example, it can be determined whether there is non-business processing time within the preset time period. If there is no non-business processing time within the preset time period, the initial value reporting time can be used as the resource value reporting time. If there is non-business processing time within the preset time period, the resource value reporting time can be determined based on the intersection time between the initial value reporting time and the non-business processing time.

[0082] For example, before the start of each week's resource data reporting, it is determined whether there are any holidays in that week. If there are no holidays, the pre-set initial data reporting time is used as the resource data reporting time. If there are holidays, the final resource data reporting time can be determined based on the holiday information and the pre-set initial data reporting time.

[0083] S204. If the non-business processing time includes the initial value submission time, then the resource value submission time within the preset time period shall be excluded.

[0084] For example, if the non-business processing time includes the initial value reporting time, that is, the start time of the non-business processing time is earlier than the start time of the initial value reporting time, and the end time of the non-business processing time is later than the end time of the initial value reporting time, then the resource value reporting time within the preset time period can be excluded. During the preset time period, the resource value reporting of the resource product can be stopped, that is, the task of determining the resource value of the resource product can be stopped during the preset time period.

[0085] S206 If the non-business processing time does not include the initial value reporting time, the resource value reporting time shall be determined based on the start time of the initial value reporting time, the end time of the initial value reporting time, the start time of the non-business processing time, and the end time of the non-business processing time.

[0086] For example, if the non-business processing time does not include the initial value reporting time, the final resource value reporting time can be determined based on the time sequence relationship between the start time of the initial value reporting time, the end time of the initial value reporting time, the start time of the non-business processing time, and the end time of the non-business processing time.

[0087] In this embodiment, it is possible to determine whether there is a non-business processing time within a preset time period. Furthermore, if there is a non-business processing time within the preset time period, the intersection time between the initial value reporting time and the non-business processing time can be obtained to determine the resource value reporting time. In this way, the resource value determination task of resource products can be automatically performed, reducing costs.

[0088] In one embodiment, determining the resource value reporting time based on the start time of the initial value reporting time, the end time of the initial value reporting time, the start time of the non-business processing time, and the end time of the non-business processing time includes:

[0089] If the initial data reporting time includes non-business processing time, the start time of the initial data reporting time shall be taken as the first start time of the resource data reporting time, and the start time of the non-business processing time shall be taken as the first end time of the resource data reporting time.

[0090] The end time of non-business processing time is taken as the second start time of resource value reporting time, and the end time of the initial value reporting time is taken as the second end time of resource value reporting time.

[0091] The first start time can be the start time of the first phase of resource value reporting. The first end time can be the end time of the first phase of resource value reporting. The second start time can be the start time of the second phase of resource value reporting, and the second end time can be the end time of the second phase of resource value reporting.

[0092] For example, if the initial data reporting time includes non-business processing time, then the start time of the initial data reporting time can be considered earlier than the start time of the non-business processing time, and the end time of the initial data reporting time can be earlier than the end time of the non-business processing time. In this case, the start time of the initial data reporting time can be used as the start time of the first stage of resource data reporting time, and the start time of the non-business processing time can be used as the end time of the first stage of resource data reporting time; the end time of the non-business processing time can be used as the start time of the second stage of resource data reporting time, and the end time of the initial data reporting time can be used as the end time of the second stage of resource data reporting time.

[0093] If the initial data reporting time does not include non-business processing time, and the start time of the initial data reporting time is earlier than the start time of the non-business processing time, and the end time of the initial data reporting time is earlier than or equal to the end time of the non-business processing time, then the start time of the initial data reporting time shall be taken as the start time of the resource data reporting time, and the start time of the non-business processing time shall be taken as the end time of the resource data reporting time.

[0094] For example, if the initial value reporting time does not include non-business processing time, and the non-business processing time does not include the initial value reporting time, then it can be considered that there are multiple possibilities for the time order between the start time of the initial value reporting time and the start time of the non-business processing time, and the time order between the end time of the initial value reporting time and the end time of the non-business processing time.

[0095] In this case, if the start time of the initial value reporting time is earlier than the start time of the non-business processing time, and the end time of the initial value reporting time is earlier than or equal to the end time of the non-business processing time, then the start time of the initial value reporting time can be used as the start time of the resource value reporting time, and the start time of the non-business processing time can be used as the end time of the resource value reporting time.

[0096] If the start time of the initial value reporting time is later than or equal to the start time of the non-business processing time, and the end time of the initial value reporting time is later than the end time of the non-business processing time, then the end time of the non-business processing time can be used as the start time of the resource value reporting time, and the end time of the initial value reporting time can be used as the end time of the resource value reporting time.

[0097] If the non-business processing time is equal to the initial value submission time, then the resource value submission time within the preset time period will be excluded.

[0098] For example, if the start time of non-business processing time is equal to the start time of initial value submission time, and the end time of non-business processing time is equal to the end time of initial value submission time, then resource value submission time within the preset time period can be excluded.

[0099] In this embodiment, through the discussion and judgment of the above-mentioned situations, it is possible to determine the resource value reporting time based on the non-business processing time and the initial value reporting time, thereby enabling the automatic determination of resource values ​​for resource products and reducing costs.

[0100] In one embodiment, such as Figure 3 As shown, when the target data source does not meet the preset conditions, the data source order of multiple data sources is updated, including:

[0101] S302, Determine the time for obtaining the initial resource value from the target data source;

[0102] S304, Obtain the preset time window threshold;

[0103] S306, if the difference between the current time and the time of numerical acquisition does not meet the time condition, and the number of times the target data source fails to meet the time condition meets the preset number, then update the data source order of multiple data sources; the time condition is that the difference between the current time and the time of numerical acquisition is less than or equal to the time window threshold.

[0104] The data acquisition time can be the time it takes to obtain the initial resource value from the target data source. The time window threshold can be a pre-set threshold, or a threshold used to compare the difference between the current time and the data acquisition time. The difference between the current time and the data acquisition time can be the time interval between them. The time condition can be that the time interval between the current time and the data acquisition time is less than or equal to the time window threshold. A time condition not met can be that the time interval between the current time and the data acquisition time is greater than the time window threshold. The preset number of attempts can be a pre-set number of attempts, or a threshold set for the number of times the time condition is not met.

[0105] For example, the value acquisition time corresponding to the initial resource value reported by the target data source can be determined, and a pre-set time window threshold can be obtained. The difference between the current time and the value acquisition time can be compared with the time window threshold. If the difference between the current time and the value acquisition time is greater than the time window threshold, and the number of times the time difference corresponding to the target data source is greater than the time window threshold reaches a preset number, the data source order of multiple data sources can be updated. For example, if the target data source fails to meet the time condition three times consecutively, the data source order of multiple data sources can be updated. In this way, it can be avoided that the target data source does not update the resource value of the resource product, resulting in inaccurate resource values.

[0106] In this embodiment, by determining the value acquisition time for obtaining the initial resource value from the target data source; obtaining a pre-set time window threshold; if the difference between the current time and the value acquisition time does not meet the time condition, and the number of times the target data source fails to meet the time condition meets the preset number, the data source order of multiple data sources is updated, thereby improving the accuracy of resource product resource values ​​and automatically updating the target data source, reducing the cost of data source updates.

[0107] In one embodiment, such as Figure 4 As shown, when the target data source does not meet the preset conditions, the data source order of multiple data sources is updated, including:

[0108] S402, Obtain historical resource values ​​provided by the target data source for the resource product;

[0109] S404, Obtain the preset resource value threshold;

[0110] S406, If the difference between the initial resource value and the historical resource value is greater than the resource value threshold, determine the next data source of the target data source according to the preset data source order, and obtain the resource value provided by the next data source.

[0111] S408, if the difference between the initial resource value and the resource value provided by the next data source is greater than the resource value threshold, then update the data source order of multiple data sources.

[0112] Here, "historical resource value" can be the target resource value determined in the previous resource value determination task. "Resource value threshold" can be a threshold set for comparing resource values. "Next data source" can be the data source corresponding to the next order in the data source sequence of the target data source.

[0113] For example, the resource value previously provided by the target data source for the resource product can be obtained, along with a pre-set resource value threshold. The difference between the initial resource value provided by the target data source this time and the previously provided resource value, as well as the resource value threshold, can be compared. If the difference between the initial resource value and the historical resource value is greater than the resource value threshold, the next data source in the data source order corresponding to the target data source can be determined according to a pre-defined data source order, and the resource value provided by the next data source can be obtained. If the difference between the initial resource value provided by the target data source and the resource value provided by the next data source is still greater than the resource value threshold, the data source order of multiple data sources can be updated.

[0114] In this embodiment, if the difference between the initial resource value and the historical resource value is greater than a resource value threshold, the difference between the initial resource value and the resource value provided by the next data source is further compared with the resource value threshold. If the difference is still greater than the resource value threshold, the data source order of multiple data sources is updated. This effectively determines whether the initial resource value provided by the target data source deviates from the normal value of the resource product, thereby improving the accuracy of the resource product's resource value.

[0115] In one embodiment, after obtaining a pre-set resource value threshold, the method further includes:

[0116] If the difference between the initial resource value and the historical resource value is less than or equal to the resource value threshold, obtain multiple resource values ​​provided by multiple data sources at the current time.

[0117] Get the average value of multiple resource values ​​provided by multiple data sources at the current time;

[0118] If the difference between the initial resource value and the average value is greater than the resource value threshold, update the data source order of multiple data sources.

[0119] For example, if the difference between the initial resource value and the historical resource value is less than or equal to a resource value threshold, there is still a possibility that the initial resource value provided by the target data source deviates from the normal value of the resource product. In this case, multiple resource values ​​provided by multiple data sources at the current time can be obtained and compared with the initial resource value provided by the target data source. For instance, the average of the multiple resource values ​​provided by multiple data sources at the current time can be obtained, and the difference between the initial resource value and the average value can be compared with the resource value threshold. If the difference between the initial resource value and the average value is greater than the resource value threshold, it can be considered that the initial resource value provided by the target data source deviates from the normal value of the resource product, and the data source order of the multiple data sources can be updated.

[0120] In this embodiment, if the difference between the initial resource value and the historical resource value is less than or equal to the resource value threshold, it is further determined whether the initial resource value provided by the target data source deviates from the normal value of the resource product. If the difference between the initial resource value and the average value is greater than the resource value threshold, the data source order of multiple data sources is updated, thereby improving the accuracy of the resource value of the resource product.

[0121] In one embodiment, the target data source is the first data source in the data source sequence;

[0122] Update the data source order of multiple data sources, including:

[0123] The target data source is placed last in the order of multiple data sources, and the order of each data source other than the target data source is moved forward by one position.

[0124] The first data source can be the first data source in the order of data sources.

[0125] For example, the order of the target data source can be set as the last in the order of multiple data sources, and the order of each data source other than the target data source can be moved forward by one position in turn to update the order of multiple data sources.

[0126] In this embodiment, by making the target data source the last in the order of multiple data sources, and by advancing the order of each data source other than the target data source by one position, the accuracy of the target data source in the task of determining resource values ​​can be improved, thereby improving the accuracy of resource values ​​of resource products.

[0127] In one embodiment, resource values ​​are automatically confirmed based on pre-set initial value reporting times for various resource products and non-business processing times related to the regional location associated with the resource product. The initial value reporting times for different types of resource products can be shown in Table 1 above.

[0128] For example, Table 2 illustrates the non-business processing time using the regional location associated with resource products in 2023 as an example.

[0129] Table 2. Non-business processing time of resource product-related regional locations in 2023

[0130]

[0131]

[0132] For resource products that require continuous determination of resource values, before the weekly resource value reporting begins, it is first determined whether there are any non-business processing times within the week. If not, the start and stop times are set according to the resource value reporting time for each resource product. For example, the resource value reporting start time for resource product A is Monday at 7:00 AM, and the stop time is Saturday at 4:00 AM. If there are non-business processing times within the week, and if the start time of the non-business processing time is later than the resource value reporting start time, and the end time of the non-business processing time is earlier than the resource value reporting stop time, then the start time of the non-business processing time is added to the original start and stop times as the stop time for resource value reporting, and the end time of the non-business processing time is used as the start time for resource value reporting. If the start time of the non-business processing time is equal to or earlier than the resource value reporting start time, and the end time of the non-business processing time is earlier than the resource value reporting stop time, then the start time of resource value reporting is removed, and the end time of the non-business processing time is added. The time is used as the start time for resource value submission. If the start time of non-business processing time is later than the start time of resource value submission, and the end time of non-business processing time is equal to or later than the stop time of resource value submission, then the start time of non-business processing time is added as the stop time of resource value submission, and the original stop time of resource value submission is removed. If the start time of non-business processing time is equal to or earlier than the start time of resource value submission, and the end time of non-business processing time is equal to or later than the stop time of resource value submission, then both the start time and stop time of resource value submission are removed, and no resource value submission will be conducted this week.

[0133] like Figure 5 As shown, S501, determine if there are any non-business processing times this week; if not, proceed to S502, set the start and stop times according to the resource value reporting time of each resource product; if yes, proceed to S503, check if the start time of the non-business processing time is earlier than the start time of resource value reporting; if no, proceed to S504, if the start time of resource value reporting is equal to the non-business processing time, remove the quotation start time; if yes, proceed to S505, add the start time of the non-business processing time as the stop time for resource value reporting; S506, check if the end time of the non-business processing time is earlier than the stop time for resource value reporting; if no, proceed to S507, if the end time of the non-business processing time is equal to the stop time for resource value reporting, remove the stop time for resource value reporting; if yes, proceed to S508, add the end time of the non-business processing time as the start time for resource value reporting.

[0134] For non-continuous resource data reporting products, before the weekly resource data reporting begins, it is first determined whether there are any non-business processing times during that week. If not, the start and stop times are set according to the resource data reporting time of each resource product. For example, the resource data reporting start time for resource product A is 9:30 AM every day from Monday to Friday, and the stop time is 4:00 AM every day from Tuesday to Saturday. If there are non-business processing times, the start and stop times for each continuous resource data reporting period are set in the same logic as for continuous resource data reporting products.

[0135] If a resource value reported by a data source is not updated, and the difference between the time the resource value was received and the current system time exceeds a set time window threshold, the reported resource value is considered invalid. If three consecutive reports of invalid resource values ​​occur, the current order of the data sources is saved, and the current target data source is automatically removed, with the order of other data sources adjusted accordingly. When it is detected that the resource values ​​reported by the target data source are valid three times consecutively, the order of the target data source is adjusted back to its original order. For example, if the data source order is data source A, B, C, D, and if data source A is found to have no updated resource values ​​three times consecutively, the data source order becomes B, C, D, A. If data source A is found to have updated resource values ​​three times consecutively, the data source order is restored to data source A, B, C, D.

[0136] When resource values ​​from a data source deviate from the normal value of the resource product, the automatic resource value reporting logic prioritizes the first data source. If the difference between the current resource value reported by the first data source and the previously reported value exceeds a set threshold, it will be compared with the second data source. If the difference does not exceed the threshold, resource value reporting continues; otherwise, it is discarded. However, if the current resource value reported by the first data source does not exceed the set threshold, it will continue to be used. When the resource value from this first data source deviates from the normal value of the resource product, the reported resource value will also deviate from the normal value. To address this, every N reports of resource values ​​are compared with the resource values ​​from other data sources. If the resource value exceeds the set threshold for M consecutive reports, the current resource value from this data source is considered to deviate from the normal value. This data source is then moved to the last data source, and the other data sources are moved up one position in order. The next resource value report will prioritize the original second data source to prevent the reported resource value from deviating from the normal value.

[0137] When all data sources have no resource values, resource values ​​cannot be submitted. In this case, manual intervention can be used to adjust the resource values ​​before submission.

[0138] As an example, data sources deviating from normal resource values ​​can be temporarily removed by treating them as data sources with no resource values, and then restored once the resource values ​​return to normal. The logic for reporting data sources with no resource values ​​can also be the same as for data sources deviating from normal resource values: move that data source to the last position in the order, and move other data sources to the first position.

[0139] In this embodiment, resource values ​​are not obtained manually, thus achieving automation and reducing labor costs. Simultaneously, the target data source can be automatically updated, and the target resource values ​​of resource products can be obtained from the updated target data source, thereby reducing the cost of manually correcting the data source and ensuring the accuracy of the target resource values ​​of resource products.

[0140] It should be understood that although the steps in the flowcharts of the embodiments described above are shown sequentially according to the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless explicitly stated herein, there is no strict order restriction on the execution of these steps, and they can be executed in other orders. Moreover, at least some steps in the flowcharts of the embodiments described above may include multiple steps or multiple stages. These steps or stages are not necessarily completed at the same time, but can be executed at different times. The execution order of these steps or stages is not necessarily sequential, but can be performed alternately or in turn with other steps or at least some of the steps or stages of other steps.

[0141] Based on the same inventive concept, this application also provides a resource value determination apparatus for implementing the resource value determination method described above. The solution provided by this apparatus is similar to the implementation scheme described in the above method; therefore, the specific limitations in one or more resource value determination apparatus embodiments provided below can be found in the limitations of the resource value determination method described above, and will not be repeated here.

[0142] In one embodiment, such as Figure 6 As shown, a resource value determination device 600 is provided, including: a reporting time determination module 610, an initial value determination module 620, a data source sequence update module 630, and a target value determination module 640, wherein:

[0143] The submission time determination module 610 is used to obtain the resource product whose resource value is to be determined, and determine the submission time of the resource value based on the resource product.

[0144] The initial value determination module 620 is used to determine the target data source from multiple data sources that provide resource values ​​for resource products, according to a preset data source order, and obtain the initial resource values ​​provided by the target data source for the resource product, provided that the current time meets the resource value reporting time.

[0145] The data source order update module 630 is used to update the data source order of multiple data sources when the target data source does not meet the preset conditions, and return to the execution of the step of determining the target data source from multiple data sources that provide resource values ​​of resource products according to the preset data source order, until the target data source meets the preset conditions.

[0146] The target value determination module 640 is used to take the initial resource value as the target resource value of the resource product when the target data source meets the preset conditions.

[0147] In one embodiment, the reporting time determination module includes an initial time acquisition unit and a reporting time determination unit.

[0148] The initial time acquisition unit is used to acquire the pre-set initial value reporting time for the resource product, and to acquire the non-business processing time of the regional location associated with the resource product. The reporting time determination unit is used to obtain the resource value reporting time based on the initial value reporting time and the non-business processing time.

[0149] In one embodiment, the reporting time determination unit includes an intersecting time period acquisition unit, a rejection unit, and a time inclusion determination unit.

[0150] The intersection time period acquisition unit is used to acquire the intersection time period between the initial value reporting time and the non-business processing time when there is non-business processing time within a preset time period. The elimination unit is used to eliminate resource value reporting times within the preset time period if the non-business processing time includes the initial value reporting time. The time inclusion judgment unit determines the resource value reporting time based on the start time, end time, start time, and end time of the initial value reporting time, if the non-business processing time does not include the initial value reporting time.

[0151] In one embodiment, the time inclusion determination unit includes a first start and end time unit, a second start and end time unit, a start and end time reporting unit, and an exclusion unit.

[0152] The first start and end time unit is used to determine the first start time of the resource value reporting time and the first end time of the resource value reporting time when the initial value reporting time includes non-business processing time. The second start and end time unit is used to determine the second start time of the resource value reporting time and the second end time of the resource value reporting time when the initial value reporting time does not include non-business processing time. If the start time of the initial value reporting time is earlier than the start time of the non-business processing time, and the end time of the initial value reporting time is earlier than or equal to the end time of the non-business processing time, then the start time of the initial value reporting time is used as the start time of the resource value reporting time, and the start time of the non-business processing time is used as the end time of the resource value reporting time. The exclusion unit is used to exclude resource value reporting times within a preset time period if the non-business processing time is equal to the initial value reporting time.

[0153] In one embodiment, the data source sequential update module includes a numerical acquisition time unit, a time window threshold unit, and a time window condition unit.

[0154] The Value Acquisition Time Unit is used to determine the value acquisition time for obtaining the initial resource value from the target data source. The Time Window Threshold Unit is used to acquire a pre-set time window threshold. The Time Window Condition Unit is used to update the data source order of multiple data sources if the difference between the current time and the value acquisition time does not meet the time condition, and the number of times the target data source fails to meet the time condition meets a preset number; the time condition is that the difference between the current time and the value acquisition time is less than or equal to the time window threshold.

[0155] In one embodiment, the data source sequential update module includes a historical resource value unit, a resource value threshold unit, a next data source unit, and a data source sequential update unit.

[0156] The Historical Resource Value unit is used to obtain historical resource values ​​provided by the target data source for the resource product. The Resource Value Threshold unit is used to obtain a pre-set resource value threshold. The Next Data Source unit is used to determine the next data source for the target data source according to a preset data source order, and obtain the resource value provided by the next data source, if the difference between the initial resource value and the historical resource value is greater than the resource value threshold. The Data Source Order Update unit is used to update the data source order of multiple data sources if the difference between the initial resource value and the resource value provided by the next data source is greater than the resource value threshold.

[0157] In one embodiment, the resource value determination device further includes multiple resource value modules, an average value module, and an average value condition module.

[0158] The Multiple Resource Values ​​module is used to obtain multiple resource values ​​provided by multiple data sources at the current time, provided that the difference between the initial resource value and the historical resource value is less than or equal to a resource value threshold. The Average Values ​​module is used to obtain the average value of the multiple resource values ​​provided by multiple data sources at the current time. The Average Values ​​Conditions module is used to update the data source order of multiple data sources if the difference between the initial resource value and the average value is greater than a resource value threshold.

[0159] In one embodiment, the target data source is the first data source in the data source order. The data source order update module is used to make the target data source the last in the data source order of multiple data sources, and to advance the order of each data source other than the target data source by one position in turn.

[0160] Each module in the aforementioned resource value determination device can be implemented entirely or partially through software, hardware, or a combination thereof. These modules can be embedded in the processor of a computer device in hardware form or independent of it, or stored in the memory of a computer device in software form, so that the processor can call and execute the operations corresponding to each module.

[0161] In one embodiment, a computer device is provided, which may be a server, and its internal structure diagram may be as follows: Figure 7 As shown, this computer device includes a processor, memory, input / output interfaces (I / O), and a communication interface. The processor, memory, and I / O interfaces are connected via a system bus, and the communication interface is also connected to the system bus via the I / O interfaces. The processor provides computational and control capabilities. The memory includes non-volatile storage media and internal memory. The non-volatile storage media stores the operating system, computer programs, and a database. The internal memory provides the environment for the operation of the operating system and computer programs stored in the non-volatile storage media. The database stores resource numerical data. The I / O interfaces are used for exchanging information between the processor and external devices. The communication interface is used for communication with external terminals via a network connection. When executed by the processor, the computer program implements a resource numerical determination method.

[0162] Those skilled in the art will understand that Figure 7The structure shown is merely a block diagram of a portion of the structure related to the present application and does not constitute a limitation on the computer device to which the present application is applied. Specific computer devices may include more or fewer components than those shown in the figure, or combine certain components, or have different component arrangements.

[0163] In one embodiment, a computer device is also provided, including a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to implement the steps in the above method embodiments.

[0164] In one embodiment, a computer-readable storage medium is provided having a computer program stored thereon that, when executed by a processor, implements the steps in the above method embodiments.

[0165] In one embodiment, a computer program product is provided, including a computer program that, when executed by a processor, implements the steps in the above method embodiments.

[0166] Those skilled in the art will understand that all or part of the processes in the methods of the above embodiments can be implemented by a computer program instructing related hardware. The computer program can be stored in a non-volatile computer-readable storage medium, and when executed, it can include the processes of the embodiments of the above methods. Any references to memory, databases, or other media used in the embodiments provided in this application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. By way of illustration and not limitation, RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM). The databases involved in the embodiments provided in this application may include at least one type of relational database and non-relational database. Non-relational databases may include, but are not limited to, blockchain-based distributed databases. The processors involved in the embodiments provided in this application may be general-purpose processors, central processing units, graphics processing units, digital signal processors, programmable logic devices, quantum computing-based data processing logic devices, etc., and are not limited to these.

[0167] The technical features of the above embodiments can be combined in any way. For the sake of brevity, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0168] The embodiments described above are merely illustrative of several implementation methods of this application, and while the descriptions are specific and detailed, they should not be construed as limiting the scope of this patent application. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of this application, and these all fall within the protection scope of this application. Therefore, the protection scope of this application should be determined by the appended claims.

Claims

1. A method for determining resource values, characterized in that, include: Obtain resource products with resource values ​​to be determined, and determine the resource value reporting time based on the resource products; If the resource value reporting time is met at the current time, the target data source is determined from multiple data sources that provide the resource value of the resource product according to the preset data source order, and the initial resource value provided by the target data source for the resource product is obtained. If the target data source does not meet the preset conditions, the data source order of the multiple data sources is updated, and the process returns to the step of determining the target data source from the multiple data sources that provide the resource values ​​of the resource product according to the preset data source order, until the target data source meets the preset conditions. The preset conditions include the condition of judging whether the resource values ​​provided by the target data source in this resource value reporting process are reliable. If the target data source meets the preset conditions, the initial resource value will be used as the target resource value of the resource product. Wherein, updating the data source order of the plurality of data sources when the target data source does not meet the preset conditions includes: Obtain historical resource values ​​provided by the target data source for the resource product; Obtain the pre-set resource value threshold; If the difference between the initial resource value and the historical resource value is greater than the resource value threshold, the next data source of the target data source is determined according to the preset data source order, and the resource value provided by the next data source is obtained. If the difference between the initial resource value and the resource value provided by the next data source is greater than the resource value threshold, then the data source order of the multiple data sources is updated.

2. The method according to claim 1, characterized in that, The determination of the resource value reporting time based on the resource product includes: Obtain the initial value reporting time preset for the resource product, and obtain the non-business processing time of the regional location associated with the resource product; The resource value reporting time is obtained based on the initial value reporting time and the non-business processing time.

3. The method according to claim 2, characterized in that, The process of obtaining the resource value reporting time based on the initial value reporting time and the non-business processing time includes: If the non-business processing time exists within the preset time period, obtain the intersection time period between the initial value reporting time and the non-business processing time. If the non-business processing time includes the initial value reporting time, then the resource value reporting time within the preset time period shall be excluded. If the non-business processing time does not include the initial value reporting time, the resource value reporting time is determined based on the start time of the initial value reporting time, the end time of the initial value reporting time, the start time of the non-business processing time, and the end time of the non-business processing time.

4. The method according to claim 3, characterized in that, The determination of the resource value reporting time based on the start time of the initial value reporting time, the end time of the initial value reporting time, the start time of the non-business processing time, and the end time of the non-business processing time includes: If the initial value reporting time includes the non-business processing time, the start time of the initial value reporting time shall be taken as the first start time of the resource value reporting time, and the start time of the non-business processing time shall be taken as the first end time of the resource value reporting time. The end time of the non-business processing time shall be used as the second start time of the resource value reporting time, and the end time of the initial value reporting time shall be used as the second end time of the resource value reporting time. If the initial value reporting time does not include the non-business processing time, and if the start time of the initial value reporting time is earlier than the start time of the non-business processing time, and the end time of the initial value reporting time is earlier than or equal to the end time of the non-business processing time, then the start time of the initial value reporting time shall be taken as the start time of the resource value reporting time, and the start time of the non-business processing time shall be taken as the end time of the resource value reporting time. If the non-business processing time is equal to the initial value reporting time, then the resource value reporting time within the preset time period is excluded.

5. The method according to claim 1, characterized in that, The step of updating the data source order of the multiple data sources when the target data source does not meet the preset conditions includes: Determine the time for acquiring the initial resource value from the target data source; Obtain the pre-set time window threshold; If the difference between the current time and the time when the value is acquired does not meet the time condition, and the number of times the target data source fails to meet the time condition meets a preset number, then the data source order of the multiple data sources is updated; the time condition is that the difference between the current time and the time when the value is acquired is less than or equal to the time window threshold.

6. The method according to claim 1, characterized in that, After obtaining the pre-set resource value threshold, the process includes: If the difference between the initial resource value and the historical resource value is less than or equal to the resource value threshold, then obtain multiple resource values ​​provided by the multiple data sources at the current time. Obtain the average value of multiple resource values ​​provided by the multiple data sources at the current time; If the difference between the initial resource value and the average value is greater than the resource value threshold, the data source order of the multiple data sources is updated.

7. The method according to any one of claims 1 to 6, characterized in that, The target data source is the first data source in the data source sequence; The update of the data source order of the multiple data sources includes: The order of the target data source is taken as the last in the order of the multiple data sources, and the order of each data source other than the target data source is moved forward one position in turn.

8. A resource value determination device, characterized in that, The device includes: The submission time determination module is used to obtain resource products whose resource values ​​are to be determined, and determine the submission time of the resource values ​​based on the resource products; The initial value determination module is used to determine the target data source from multiple data sources that provide the resource value of the resource product according to a preset data source order, and obtain the initial resource value provided by the target data source for the resource product, provided that the resource value reporting time is met at the current time. The data source order update module is used to update the data source order of the multiple data sources when the target data source does not meet the preset conditions, and return to the step of determining the target data source from the multiple data sources that provide the resource value of the resource product according to the preset data source order, until the target data source meets the preset conditions, wherein the preset conditions include the condition of judging whether the resource value provided by the target data source in this resource value reporting process is reliable. The target value determination module is used to take the initial resource value as the target resource value of the resource product when the target data source meets the preset conditions. The data source order update module includes a historical resource value unit, a resource value threshold unit, a next data source unit, and a data source order update unit. The historical resource value unit is used to obtain the historical resource values ​​provided by the target data source for the resource product. The resource value threshold unit is used to obtain a pre-set resource value threshold. The next data source unit is used to determine the next data source of the target data source according to the preset data source order and obtain the resource value provided by the next data source if the difference between the initial resource value and the historical resource value is greater than the resource value threshold. The data source order update unit is used to update the data source order of multiple data sources if the difference between the initial resource value and the resource value provided by the next data source is greater than the resource value threshold.

9. A computer device comprising a memory and a processor, wherein the memory stores a computer program, characterized in that, When the processor executes the computer program, it implements the steps of the method according to any one of claims 1 to 7.

10. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by a processor, it implements the steps of the method according to any one of claims 1 to 7.

11. A computer program product, comprising a computer program, characterized in that, When the computer program is executed by a processor, it implements the steps of the method according to any one of claims 1 to 7.