Data modification method and device, equipment, medium and product
By automatically detecting and notifying users to adjust the reserve ratio data, the problems of low efficiency and high cost caused by manual detection dependence in the prior art are solved, and the rapid and accurate modification of the reserve ratio data is achieved.
Patent Information
- Application Number
- CN202411373726.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-29
- Publication Date
- 2025-01-07
AI Technical Summary
In the prior art, the adjustment of the reserve ratio data for redeeming target resources depends on manual detection and notification, resulting in low efficiency and high labor costs.
By receiving the target reserve ratio data and user identification, the user is automatically detected and prompted to modify the reserve ratio data, and after the user confirms, check whether the data is within the preset range to achieve automatic adjustment.
The efficiency of adjusting the reserve ratio data has been improved, labor costs have been reduced, and the rapid and accurate modification of the target reserve ratio data has been achieved.
Smart Images

Figure CN119271139A_ABST
Abstract
Description
Technical Field
[0001] The present application belongs to the field of big data technology, and in particular relates to a data modification method, device, equipment, medium and product. Background Art
[0002] At present, the reserve ratio data of the reserve resources of the exchange target resources, such as the housing provident fund payment ratio data, may be adjusted, so it is necessary to promptly notify users to make adaptive adjustments to the reserve ratio data. However, the current detection of the reserve ratio data relies on manual detection and manual notification of users to adjust the reserve ratio, which leads to low efficiency and high labor costs in the reserve ratio adjustment. Summary of the invention
[0003] The embodiments of the present application provide a data modification method, apparatus, device, medium and product, which can improve the efficiency of modifying the reserve ratio data of the reserve resources of the exchange target resources.
[0004] In a first aspect, an embodiment of the present application provides a data modification method, which is applied to a first device, and the method includes:
[0005] receiving target reserve ratio data and a target user identifier corresponding to the target reserve ratio data sent by a second device, wherein the target reserve ratio data is reserve ratio data of a reserve resource for exchanging a target resource within a non-preset reserve ratio range detected by the second device;
[0006] Determine the target user equipment identifier corresponding to the target user identifier based on the preset correspondence relationship between the user identifier and the user equipment identifier;
[0007] Sending a prompt message to the user equipment corresponding to the target user equipment identifier, where the prompt message is used to prompt the user to modify the target reserve ratio data;
[0008] receiving modification data for modifying the target reserve ratio data and a target user equipment identifier sent by the target user equipment;
[0009] A first request message is sent to a second device, where the first request message includes the modification data and a target user identifier corresponding to the target user device identifier, so that the second device verifies whether a preset reserve ratio range includes the modification data, obtains a verification result, and when the verification result includes that the preset reserve ratio range includes the modification data, modifies the target reserve ratio data corresponding to the target user identifier to the modification data.
[0010] In a second aspect, an embodiment of the present application provides a data modification method, which is applied to a user equipment, and the method includes:
[0011] receiving a prompt message sent by the first device, the prompt message being information for prompting a user to modify reserve ratio data of a reserve resource for exchanging a target resource, the prompt message being information for prompting a user to modify reserve ratio data of a reserve resource for exchanging a target resource, the prompt message being information for prompting a user to modify the target reserve ratio data, wherein the target reserve ratio data is reserve ratio data of a reserve resource for exchanging a target resource within a non-preset reserve ratio range detected by the second device, and the target user identifier is an identifier determined by the second device based on the correspondence between the preset reserve ratio data and the user identifier and the target reserve ratio data;
[0012] receiving modification data input by a user for modifying target reserve ratio data of a reserve resource for exchanging a target resource;
[0013] The modification data and the target user device identifier are sent to the first device, so that the first device sends a first request message to the second device, the first request message including the modification data and the target user identifier corresponding to the target user device identifier, so that the second device verifies whether the preset reserve ratio range includes the modification data, obtains a verification result, and modifies the target reserve ratio data corresponding to the target user identifier to the modification data when the verification result includes that the preset reserve ratio range includes the modification data.
[0014] In a third aspect, an embodiment of the present application provides a data modification device, which is applied to a first device, and the device includes:
[0015] A receiving module, configured to receive target reserve ratio data and a target user identifier corresponding to the target reserve ratio data sent by a second device, wherein the target reserve ratio data is reserve ratio data of a reserve resource for exchanging a target resource within a non-preset reserve ratio range detected by the second device;
[0016] A determination module, configured to determine a target user equipment identifier corresponding to a target user identifier based on a preset correspondence relationship between a user identifier and a user equipment identifier;
[0017] A sending module, used to send a prompt message to the user equipment corresponding to the target user equipment identifier, where the prompt message is used to prompt the user to modify the target reserve ratio data;
[0018] The receiving module is further used to receive the modification data for modifying the target reserve ratio data and the target user equipment identification sent by the target user equipment;
[0019] The sending module is also used to send a first request message to the second device, where the first request message includes the modification data and the target user identifier corresponding to the target user device identifier, so that the second device can verify whether the preset reserve ratio range includes the modification data, obtain a verification result, and if the verification result includes that the preset reserve ratio range includes the modification data, modify the target reserve ratio data corresponding to the target user identifier to the modification data.
[0020] In a fourth aspect, an embodiment of the present application provides a data modification device, which is applied to a user equipment, and the device includes:
[0021] a receiving module, configured to receive a prompt message sent by a first device, wherein the prompt message is information for prompting a user to modify reserve ratio data of a reserve resource for exchanging a target resource, wherein the prompt message is information for prompting a user to modify reserve ratio data of a reserve resource for exchanging a target resource, wherein the first device determines a target user device identifier corresponding to the target user identifier based on a correspondence relationship between a preset user identifier and a user device identifier when receiving the target reserve ratio data and a target user identifier corresponding to the target reserve ratio data sent by a second device, and sends the prompt message to a user device corresponding to the target user device identifier, wherein the prompt message is used to prompt the user to modify the target reserve ratio data, wherein the target reserve ratio data is reserve ratio data of a reserve resource for exchanging a target resource within a non-preset reserve ratio range detected by the second device, and the target user identifier is an identifier determined by the second device based on a correspondence relationship between the preset reserve ratio data and the user identifier and the target reserve ratio data;
[0022] The receiving module is further used to receive modification data input by a user for modifying the target reserve ratio data of the reserve resources for exchanging the target resources;
[0023] A sending module is used to send modification data and a target user device identifier to a first device, so that the first device sends a first request message to a second device, wherein the first request message includes the modification data and a target user identifier corresponding to the target user device identifier, so that the second device verifies whether a preset reserve ratio range includes the modification data, obtains a verification result, and when the verification result includes that the preset reserve ratio range includes the modification data, modifies the target reserve ratio data corresponding to the target user identifier to the modification data.
[0024] In a fifth aspect, an embodiment of the present application provides an electronic device, the device comprising:
[0025] a processor and a memory storing computer program instructions;
[0026] When the processor executes the computer program instructions, it is used to execute the data modification method of the first aspect or the second aspect mentioned above.
[0027] In a sixth aspect, an embodiment of the present application provides a computer storage medium on which computer program instructions are stored. When the computer program instructions are executed by a processor, the data modification method of the first aspect or the second aspect described above is implemented.
[0028] In a seventh aspect, an embodiment of the present application provides a computer program product, including a computer program, which, when processed by a processor, implements the data modification method of the first aspect or the second aspect mentioned above.
[0029] The data modification method, device, equipment, medium and product provided in the embodiment of the present application, when the first device receives the target reserve ratio data and the target user equipment identification sent by the second device, based on the correspondence relationship between the preset user identification and the user equipment identification, determines the target user equipment identification corresponding to the target user identification, and sends a prompt message to the target user equipment corresponding to the target user equipment identification to prompt the user to modify the target reserve ratio data in time, so as to realize automatic detection of the reserve ratio data and timely notify the user to modify the reserve ratio data when detecting the target reserve ratio data not within the preset range, thereby improving the efficiency of adjusting the reserve ratio data. Afterwards, the target user equipment identification and the modification data for modifying the target reserve ratio data sent by the target user equipment can be received, and the target user identification and the modification data can be sent to the second device so that the second device verifies whether the above modification data is within the preset reserve ratio range, obtains the verification result, and when the verification result includes that the modification data is within the preset reserve ratio range, the target reserve ratio data corresponding to the target user identification is modified to the modification data, and the target reserve ratio data can be modified in time based on the modification data sent by the user equipment and sent to the second device so that the second device verifies the modification data, and the target reserve ratio data is modified after the verification passes, thereby realizing the automatic verification of the target reserve ratio data. BRIEF DESCRIPTION OF THE DRAWINGS
[0030] In order to more clearly illustrate the technical solution of the embodiments of the present application, the following is a brief introduction to the drawings required for use in the embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.
[0031] Figure 1 A flowchart of a data modification method provided for some embodiments of the present application.
[0032] Figure 2 A flowchart of another data modification method provided for some embodiments of the present application.
[0033] Figure 3 A flowchart of another data modification method provided for some embodiments of the present application.
[0034] Figure 4 A flowchart of another data modification method provided for some embodiments of the present application.
[0035] Figure 5 A flowchart of another data modification method provided for some embodiments of the present application.
[0036] Figure 6 A schematic diagram of a data modification device provided for some embodiments of the present application.
[0037] Figure 7 A schematic diagram of another data modification device provided for some embodiments of the present application.
[0038] Figure 8 A schematic diagram of the hardware structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0039] The features and exemplary embodiments of various aspects of the present application will be described in detail below. In order to make the purpose, technical solutions and advantages of the present application clearer, the present application will be further described in detail below in conjunction with the accompanying drawings and specific embodiments. It should be understood that the specific embodiments described herein are only intended to explain the present application, rather than to limit the present application. For those skilled in the art, the present application can be implemented without the need for some of these specific details. The following description of the embodiments is only to provide a better understanding of the present application by illustrating the examples of the present application.
[0040] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the statement "include..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.
[0041] It should be noted that the acquisition, storage, use and processing of data in the embodiments of the present application are in compliance with the relevant provisions of national laws and regulations.
[0042] It should be noted that in the embodiments of the present application, certain software, components, models and other existing solutions in the industry may be mentioned, and they should be regarded as exemplary. Their purpose is only to illustrate the feasibility of implementing the technical solution of the present application, but it does not mean that the applicant has or will necessarily use the solution.
[0043] Before describing the technical solutions provided by the embodiments of the present application, in order to facilitate the understanding of the embodiments of the present application, the present application first specifically describes the problems existing in the related art:
[0044] At present, the reserve ratio data of the reserve resources of the exchange target resources, such as the housing provident fund payment ratio data, may be adjusted, so it is necessary to promptly notify users to make adaptive adjustments to the reserve ratio data. However, the current detection of the reserve ratio data relies on manual detection and manual notification of users to adjust the reserve ratio, which leads to low efficiency and high labor costs in the reserve ratio adjustment.
[0045] At present, the reserve ratio data of the reserve resources for exchanging target resources, such as the housing provident fund contribution ratio data, relies on manual detection, and when the target reserve ratio data outside the preset range is detected, it is necessary to manually notify the user to adjust the reserve ratio, resulting in low efficiency and high labor cost in adjusting the reserve ratio data.
[0046] Based on this, the embodiments of the present application provide a data modification method, device, equipment, medium and product, which can solve the above problems.
[0047] In some embodiments, Figure 1 As shown, an embodiment of the present application provides a data modification method, which is applied to a first device. The method includes the following steps S110-S130:
[0048] S110: The first device receives the target reserve ratio data and the target user identifier corresponding to the target reserve ratio data sent by the second device, the target reserve ratio data being the reserve ratio data of the reserve resources for exchange of the target resources within the non-preset reserve ratio range detected by the second device, and the target user identifier being the identifier determined by the second device based on the correspondence between the preset reserve ratio data and the user identifier and the target reserve ratio data.
[0049] Here, the second device may periodically detect whether the reserve ratio data of the reserve resources of the plurality of exchange target resources stored in the second device are within a preset reserve ratio range. It is conceivable that the preset reserve ratio range is a variable range. For example, when the reserve ratio data of the reserve resources of the exchange target resources is the payment ratio data of the housing provident fund, the preset payment ratio range of the housing provident fund is a variable range.
[0050] When the second device detects target reserve ratio data that is not within the preset reserve ratio range, the target user device identifier corresponding to the target reserve ratio data may be determined based on the correspondence between the reserve ratio data and the user identifier.
[0051] S120: The first device determines a target user equipment identifier corresponding to the target user identifier based on a preset correspondence relationship between the user identifier and the user equipment identifier.
[0052] The first device may determine the target user equipment identifier corresponding to the target user identifier based on a preset correspondence relationship between the user identifier and the user equipment identifier.
[0053] S130: The first device sends a prompt message to the user equipment corresponding to the target user equipment identifier, where the prompt message is used to prompt the user to modify the target reserve ratio data.
[0054] The first device may send prompt information to the target user equipment to indicate the corresponding user equipment, for example, sending prompt information indicating that the reserve ratio data is not within a preset reserve ratio range, and the prompt information may prompt the user to modify the target reserve ratio data.
[0055] It is conceivable that when the reserve ratio data of the reserve resources of the above-mentioned exchange target resources is the payment ratio data of the housing provident fund, the first device can be a financial institution device, and the second device can be a housing provident fund management center device.
[0056] S140: The user equipment receives modification data input by the user for modifying target reserve ratio data of the reserve resource for exchanging the target resource.
[0057] The user equipment may receive modification data input by the user to modify the target reserve ratio data of the reserve resource exchanged for the target resource, and the modification data may be data for adjusting the reserve ratio to the target reserve ratio.
[0058] S150: The user equipment sends the modification data and the target user equipment identifier to the first device.
[0059] S160: The first device sends first request information to the second device, where the first request information includes modification data and a target user identifier corresponding to the target user device identifier.
[0060] The first device may send a first request message to the second device, and the first request message may include the modification data and a target user identifier corresponding to the target user equipment identifier. Here, the target user identifier is determined by the first device based on a preset correspondence between the user equipment identifier and the user identifier.
[0061] S170: The second device verifies whether the preset reserve ratio range includes the modified data, obtains a verification result, and modifies the target reserve ratio data corresponding to the target user identifier into the modified data if the verification result includes that the preset reserve ratio range includes the modified data.
[0062] The second device can verify whether the preset reserve ratio range includes the modified data, that is, verify whether the modified data of the reserve ratio is within the preset reserve ratio range, and obtain a verification result. When the second device determines that the verification result includes that the preset reserve ratio range includes the modified data, the target reserve ratio data corresponding to the target user identifier can be modified to the modified data. In the embodiment of the present application, when the first device receives the target reserve ratio data and the target user device identifier sent by the second device, based on the correspondence between the preset user identifier and the user device identifier, the target user device identifier corresponding to the target user identifier is determined, so as to realize automatic detection of the reserve ratio data and timely notify the user to modify the reserve ratio data when detecting the target reserve ratio data not within the preset range. After that, by sending a prompt message to the target user device corresponding to the target user device identifier, the user can be prompted to modify the target reserve ratio data in time, thereby improving the efficiency of adjusting the reserve ratio data. Afterwards, after receiving the prompt information on the user device, the modification data for modifying the reserve ratio input by the user is received, the modification data and the target user device identifier are sent to the first device through the user device, the modification data and the target user device identifier corresponding to the target user device identifier are forwarded to the second device through the first device, and the modification data is verified by the second device to see whether it is within the preset reserve ratio range, so as to realize the review of the modification data, and when the second device determines that the verified modification data is within the preset reserve ratio range, the target s reserve ratio data corresponding to the target user identifier is modified to the above-mentioned modification data, thereby realizing rapid adjustment of the reserve ratio data and improving the modification efficiency of the reserve ratio data.
[0063] It is conceivable that when determining the target user device identifier based on the target user identifier, a "white list" mechanism can be set to detect whether the target user identifier is in the "white list" to determine whether the user corresponding to the target user identifier needs to adjust the reserve ratio.
[0064] In some embodiments, Figure 2 As shown, after the above step S170, the above data modification method may further include the following steps S210-S220:
[0065] S210: The second device sends response information to the first device.
[0066] S220: The first device modifies the target reserve ratio data corresponding to the target user identifier into modified data.
[0067] It is conceivable that after the second device completes the modification of the target reserve ratio data of the target user identifier, it can send a response message to the first device. After receiving the response message, the first device can modify the above target reserve ratio data corresponding to the target user identifier to the above modified data, thereby achieving synchronization of the target reserve ratio data of the first device and the second device.
[0068] The embodiment of the present application sends a response message to the first device after the second device modifies the target reserve ratio data corresponding to the target device identifier to the modified data, and synchronously modifies the target reserve ratio data corresponding to the target user identifier to the modified data through the first device, thereby achieving synchronization of the reserve ratio data of the first device and the second device, and facilitating subsequent adjustment of the reserve ratio data.
[0069] In some embodiments, Figure 3 As shown, before the first device determines the target user equipment identifier corresponding to the target user identifier based on the preset correspondence relationship between the user identifier and the user equipment identifier, the method may further include steps S310-S320:
[0070] S310: The first device detects whether a database of the first device includes a target user identifier, and obtains a detection result.
[0071] The first device can detect whether the database of the first device includes the above-mentioned target user identifier. Here, the first device can detect whether the whitelist in the database includes the target user identifier and obtain a detection result. The whitelist includes user identifiers for which the reserve ratio does not need to be modified. It can be detected whether the above-mentioned whitelist includes the target user identifier.
[0072] Step S120: the first device determines the target user equipment identifier corresponding to the target user identifier based on the preset correspondence relationship between the user identifier and the user equipment identifier, which may include:
[0073] S320: When the detection result includes that the target user identifier is not included in the database, determine the target user equipment identifier corresponding to the target user identifier based on a preset correspondence relationship between the user identifier and the user equipment identifier.
[0074] When the detection result includes that the target user identifier is not included in the database, that is, the target user identifier is not included in the whitelist, the target user device identifier may be determined based on a preset corresponding relationship between the user identifier and the user device identifier.
[0075] In the embodiment of the present application, the first device detects whether the database includes the target user identifier, that is, detects whether the target user identifier is included in the "white list". When it is determined that the detection result includes that the database does not include the target user identifier, that is, when the target user identifier is not included, the target user device identifier is determined based on the above-mentioned corresponding relationship, that is, the target user device identifier for which the reserve ratio needs to be modified is determined. By setting a "white list" mechanism, users who do not need to modify the reserve ratio can be pre-set, thereby simplifying the reserve ratio adjustment process.
[0076] It can be imagined that when the target user identifier is included in the first device detection database, that is, the "white list", a request message can be sent to the second device to modify the state of the target reserve ratio data of the user's second device, so as to avoid the second device continuously detecting that the target reserve ratio data is data outside the preset reserve ratio range, thereby improving detection efficiency.
[0077] In some embodiments, Figure 4 As shown, step S210 detects whether the database of the first device includes the target user identifier. After obtaining the detection result, the method may further include steps S410-S420:
[0078] S410: When the detection result includes a target user identifier in the database, the first device sends second request information to the second device, where the second request information includes the target user identifier.
[0079] When the first device determines that the detection result includes the target user identifier in the database, that is, when the target user identifier is identification data in the "white list", it can send a second request message to the second device. The second request message allows the second device to modify the status of the target reserve ratio data. The second request message may include the target user identifier.
[0080] S420: The second device modifies the state of the target reserve ratio data corresponding to the target user identifier into a target state, where the target state indicates that the target reserve ratio data is within a preset reserve ratio range.
[0081] The second device may modify the state of the target reserve ratio data corresponding to the target user identifier to the target state. It is conceivable that, for the reserve ratio data modified to the target state, the second device will not subsequently detect whether it is within a preset reserve ratio range.
[0082] In an embodiment of the present application, when the first device detects that the target user identifier is included in the database, a second request message can be sent to the second device. The second device promptly modifies the state of the target reserve ratio data corresponding to the target user identifier through the target user identifier in the second request message, thereby improving the efficiency of the second device in detecting the reserve ratio data.
[0083] It can be imagined that before the first device receives the target reserve ratio data and the target user identifier corresponding to the target reserve ratio data sent by the second device, the user device needs to apply for storage of reserve resources for exchanging target resources, as well as the reserve ratio of reserve resources for exchanging target resources.
[0084] In some embodiments, Figure 5 As shown, before the first device receives the target reserve ratio data and the target user identifier corresponding to the target reserve ratio data sent by the second device in step S110, the method may further include:
[0085] S510: The user equipment receives a target user identifier input by a user and target reserve ratio data of reserve resources for exchanging target resources.
[0086] S520: The user equipment sends third request information to the first equipment, where the third request information includes a target user equipment identifier, a target user identifier, and target reserve ratio data.
[0087] When the user device receives the target user identifier and the target reserve ratio data of the reserve resource for exchanging the target resource input by the user, the user device may send a third request message to the first device, and the third request message includes the target user identifier, the target user identifier and the target reserve ratio data. For example, the user device may send a request message for applying for housing provident fund payment to the financial institution device, and the request message may include the target user identifier and the payment ratio of the housing provident fund payment. Here, the target user identifier may include identifiers such as the user name and ID number.
[0088] S530: The first device stores the target user device identifier, the target user identifier, and the target reserve ratio data, and sends fourth request information to the second device, where the fourth request information includes the target user identifier and the target reserve ratio data.
[0089] When the first device stores the target user device identifier, the target user identifier, and the target reserve ratio data, the first device may establish a correspondence between the target user device identifier, the target user identifier, and the target reserve ratio data, and send a fourth request message to the second device, where the fourth request message may include the target user identifier and the target reserve ratio data. For example, when the first device is a financial institution device, the financial institution device may create a housing provident fund payment account for the target user.
[0090] S540: The second device stores the target user identifier and the target reserve ratio data.
[0091] When the second device stores the target user identifier and the target reserve ratio data, it can establish a corresponding relationship between the user identifier and the reserve ratio data. For example, when the second device is a housing provident fund management center device, the housing provident fund management center device can detect the above target reserve ratio data to detect whether it is within the preset reserve ratio range, obtain the detection result, and when it is detected that it is not within the preset reserve ratio range, promptly notify the financial institution device to send a prompt message to the user device to modify the reserve ratio data.
[0092] In some examples, the second device may obtain a preset reserve ratio range of the location based on the location corresponding to the target user identifier, and detect whether the target reserve ratio data is within the preset reserve ratio range of the location, which will not be repeated here.
[0093] In an embodiment of the present application, before the first device receives the target reserve ratio data and the target user identifier corresponding to the target reserve ratio data sent by the second device, the first device receives a third request message sent by the target user device. When the first device stores the target user device identifier, the target user identifier and the target reserve ratio data in the third request message, it can send a fourth request message to the second device. The second device can store the target user identifier and the target reserve ratio data based on the fourth request message, thereby creating reserve resources for the user to exchange the target resources and determining the reserve ratio of the reserve resources, thereby improving the user experience.
[0094] Based on the same inventive concept, an embodiment of the present application also provides a data modification device.
[0095] In some embodiments, Figure 6 As shown, an embodiment of the present application provides a data modification device, which is applied to a first device, and the device includes:
[0096] Receiving module 601, used to receive target reserve ratio data and a target user identifier corresponding to the target reserve ratio data sent by a second device, wherein the target reserve ratio data is reserve ratio data of a reserve resource for exchanging a target resource within a non-preset reserve ratio range detected by the second device;
[0097] A determination module 602 is used to determine a target user equipment identifier corresponding to a target user identifier based on a preset correspondence relationship between a user identifier and a user equipment identifier;
[0098] A sending module 603 is used to send a prompt message to the user equipment corresponding to the target user equipment identifier, where the prompt message is used to prompt the user to modify the target reserve ratio data;
[0099] The receiving module 601 is further used to receive modification data for modifying the target reserve ratio data and the target user equipment identifier sent by the target user equipment;
[0100] The sending module 602 is also used to send a first request message to the second device, where the first request message includes the modification data and the target user identifier corresponding to the target user device identifier, so that the second device can verify whether the preset reserve ratio range includes the modification data, obtain a verification result, and if the verification result includes that the preset reserve ratio range includes the modification data, modify the target reserve ratio data corresponding to the target user identifier to the modification data.
[0101] In some embodiments, the device further comprises a detection module for:
[0102] Detecting whether a database of the first device includes a target user identifier, and obtaining a detection result;
[0103] Determining a target user equipment identifier corresponding to the target user identifier based on a preset correspondence relationship between the user identifier and the user equipment identifier includes:
[0104] In a case where the detection result includes that the target user identifier is not included in the database, the target user equipment identifier corresponding to the target user identifier is determined based on a preset correspondence relationship between the user identifier and the user equipment identifier.
[0105] In some embodiments, the sending module 603 is further configured to:
[0106] When the detection result includes the target user identifier in the database, a second request message is sent to the second device, and the second request message includes the target user identifier, so that the second device modifies the state of the target reserve ratio data corresponding to the target user identifier to a target state, and the target state indicates that the target reserve ratio data is within a preset reserve ratio range.
[0107] In some embodiments, the receiving module 601 is further configured to:
[0108] receiving third request information sent by a target user device, the third request information including a target user device identifier, a target user identifier, and target reserve ratio data of a reserve resource for exchanging a target resource;
[0109] The target user device identifier, the target user identifier and the target reserve ratio data are stored, and a fourth request message is sent to the second device, the fourth request message including the target user identifier and the target reserve ratio data, so that the second device stores the target user identifier and the target reserve ratio data.
[0110] In some embodiments, Figure 7 As shown, an embodiment of the present application provides a data modification device, which is applied to a user equipment, and the device includes:
[0111] The receiving module 701 is used to receive a prompt message sent by the first device, where the prompt message is information prompting the user to modify the reserve ratio data of the reserve resources for exchanging the target resources, and the prompt message is information for prompting the user to modify the reserve ratio data of the reserve resources for exchanging the target resources, and the prompt message is information for prompting the user to modify the target reserve ratio data, where the target reserve ratio data is the reserve ratio data of the reserve resources for exchanging the target resources within the non-preset reserve ratio range detected by the second device, and the target user identifier is an identifier determined by the second device based on the correspondence between the preset reserve ratio data and the user identifier and the target reserve ratio data;
[0112] The receiving module 701 is further used to receive modification data input by a user for modifying the target reserve ratio data of the reserve resource for exchanging the target resource;
[0113] The sending module 702 is used to send the modification data and the target user device identifier to the first device, so that the first device sends a first request message to the second device, the first request message includes the modification data and the target user identifier corresponding to the target user device identifier, so that the second device verifies whether the preset reserve ratio range includes the modification data, obtains the verification result, and when the verification result includes that the preset reserve ratio range includes the modification data, modifies the target reserve ratio data corresponding to the target user identifier to the modification data.
[0114] In some embodiments, the receiving module 701 is further configured to:
[0115] Receive a target user ID and target reserve ratio data of a reserve resource for exchanging a target resource input by a user;
[0116] A third request message is sent to the first device, wherein the third request message includes the target user device identifier, the target user identifier, and the target reserve ratio data, so that the first device stores the target user device identifier, the target user identifier, and the target reserve ratio data; and a fourth request message is sent to the second device, wherein the fourth request message includes the target user identifier and the target reserve ratio data, so that the second device stores the target user identifier and the target reserve ratio data.
[0117] The device of the above embodiment is used to implement the corresponding data modification method in any of the above embodiments, and has the beneficial effects of the corresponding method embodiment, which will not be described in detail here.
[0118] Figure 8A schematic diagram of the hardware structure of an electronic device provided in an application embodiment.
[0119] The electronic device 800 may include a processor 801 and a memory 802 storing computer program instructions.
[0120] Specifically, the processor 801 may include a central processing unit (CPU), or an application specific integrated circuit (ASIC), or may be configured to implement one or more integrated circuits of the embodiments of the present application.
[0121] The memory 802 may include a large capacity memory for data or instructions. By way of example and not limitation, the memory 802 may include a hard disk drive (HDD), a floppy disk drive, a flash memory, an optical disk, a magneto-optical disk, a magnetic tape, or a universal serial bus (USB) drive or a combination of two or more of these. In appropriate cases, the memory 802 may include a removable or non-removable (or fixed) medium. In appropriate cases, the memory 802 may be inside or outside the integrated gateway disaster recovery device. In a specific embodiment, the memory 802 is a non-volatile solid-state memory.
[0122] In certain embodiments, memory 802 includes a read-only memory (ROM). The ROM may be a mask-programmed ROM, a programmable ROM (PROM), an erasable PROM (EPROM), an electrically erasable PROM (EEPROM), an electrically alterable ROM (EAROM), or flash memory, or a combination of two or more of the above, where appropriate.
[0123] The memory may include a read-only memory (ROM), a random access memory (RAM), a magnetic disk storage medium device, an optical storage medium device, a flash memory device, an electrical, optical or other physical / tangible memory storage device. Thus, typically, the memory includes one or more tangible (non-transitory) computer-readable storage media (e.g., a memory device) encoded with software including computer-executable instructions, and when the software is executed (e.g., by one or more processors), it is operable to perform the operations described with reference to the method according to the first aspect of the present application.
[0124] The processor 801 implements any one of the data modification methods in the above embodiments by reading and executing computer program instructions stored in the memory 802 .
[0125] In one example, the electronic device may further include a communication interface 803 and a bus 804. Figure 8The processor 801, the memory 802, and the communication interface 803 are connected via a bus 804 and communicate with each other.
[0126] The communication interface 803 is mainly used to implement communication between various modules, devices, units and / or equipment in the embodiments of the present application.
[0127] Bus 804 includes hardware, software or both, and the parts of online data flow billing equipment are coupled to each other. For example, but not limitation, bus may include accelerated graphics port (AGP) or other graphics bus, enhanced industrial standard architecture (EISA) bus, front-end bus (FSB), hypertransport (HT) interconnection, industrial standard architecture (ISA) bus, infinite bandwidth interconnection, low pin count (LPC) bus, memory bus, micro channel architecture (MCA) bus, peripheral component interconnection (PCI) bus, PCI-Express (PCI-X) bus, serial advanced technology attachment (SATA) bus, video electronics standard association local (VLB) bus or other suitable bus or two or more of these combinations. In appropriate cases, bus 804 may include one or more buses. Although the present application embodiment describes and shows a specific bus, the application considers any suitable bus or interconnection.
[0128] The electronic device of the above embodiment is used to implement the corresponding data modification method in any of the above embodiments, and has the beneficial effects of the corresponding method embodiment, which will not be described in detail here.
[0129] In addition, in combination with the data modification method in the above embodiment, the embodiment of the present application can provide a computer storage medium for implementation. The computer storage medium stores computer program instructions; when the computer program instructions are executed by a processor, any one of the data modification methods in the above embodiment is implemented.
[0130] In addition, in combination with the data modification method in the above embodiment, the embodiment of the present application can provide a computer program product to implement. When the computer program product instructions are executed by a processor of an electronic device, any one of the data modification methods in the above embodiment is implemented.
[0131] Those skilled in the art should understand that the discussion of any of the above embodiments is merely illustrative and is not intended to imply that the scope of the present application (including the claims) is limited to these examples. In line with the concept of the present application, the technical features in the above embodiments or different embodiments may be combined, the steps may be implemented in any order, and there are many other variations of the different aspects of the embodiments of the present application as described above, which are not provided in detail for the sake of simplicity.
[0132] The functional blocks shown in the above-described block diagram can be implemented as hardware, software, firmware or a combination thereof. When implemented in hardware, it can be, for example, an electronic circuit, an application specific integrated circuit (ASIC), appropriate firmware, a plug-in, a function card, etc. When implemented in software, the elements of the present application are programs or code segments that are used to perform the required tasks. The program or code segment can be stored in a machine-readable medium, or transmitted on a transmission medium or a communication link by a data signal carried in a carrier wave. "Machine-readable medium" can include any medium capable of storing or transmitting information. Examples of machine-readable media include electronic circuits, semiconductor memory devices, ROM, flash memory, erasable ROM (EROM), floppy disks, CD-ROMs, optical disks, hard disks, optical fiber media, radio frequency (RF) links, etc. The code segment can be downloaded via a computer network such as the Internet, an intranet, etc.
[0133] It should also be noted that the exemplary embodiments mentioned in this application describe some methods or devices based on a series of steps or devices. However, this application is not limited to the order of the above steps, that is, the steps can be performed in the order mentioned in the embodiment, or in a different order from the embodiment, or several steps can be performed simultaneously.
[0134] The above reference is according to the method of the embodiment of the present application, the flow chart of the device (device) and the computer program product and / or the block diagram described various aspects of the present application.It should be understood that each square box in the flow chart and / or the block diagram and the combination of each square box in the flow chart and / or the block diagram can be realized by computer program instructions.These computer program instructions can be provided to the processor of a general-purpose computer, a special-purpose computer or other programmable data processing device to produce a machine so that these instructions executed by the processor of the computer or other programmable data processing device enable the realization of the function / action specified in one or more square boxes of the flow chart and / or the block diagram.Such a processor can be but is not limited to a general-purpose processor, a special-purpose processor, a special application processor or a field programmable logic circuit.It can also be understood that each square box in the block diagram and / or the flow chart and the combination of the square boxes in the block diagram and / or the flow chart can also be realized by the dedicated hardware that performs the specified function or action, or can be realized by the combination of dedicated hardware and computer instructions.
[0135] The above is only a specific implementation of the present application. Those skilled in the art can clearly understand that for the convenience and simplicity of description, the specific working processes of the above-described devices, modules and units can refer to the corresponding processes in the aforementioned method embodiments, and will not be repeated here. It should be understood that the protection scope of the present application is not limited to this. Any technician familiar with the technical field can easily think of various equivalent modifications or replacements within the technical scope disclosed in the present application, and these modifications or replacements should be included in the protection scope of the present application.
Claims
1. A data modification method, characterized in that: Applied to a first device, the method includes: Receive target reserve ratio data and a target user identifier corresponding to the target reserve ratio data sent by a second device, wherein the target reserve ratio data is reserve ratio data of a reserve resource for exchange of a target resource within a non-preset reserve ratio range detected by the second device, and the target user identifier is an identifier determined by the second device based on a correspondence between preset reserve ratio data and a user identifier and the target reserve ratio data; Determine the target user equipment identifier corresponding to the target user identifier based on a preset correspondence relationship between the user identifier and the user equipment identifier; Sending a prompt message to a user device corresponding to the target user device identifier, wherein the prompt message is used to prompt the user to modify the target reserve ratio data; receiving modification data for modifying the target reserve ratio data and a target user equipment identifier sent by the target user equipment; A first request message is sent to the second device, wherein the first request message includes the modification data and the target user identifier corresponding to the target user device identifier, so that the second device verifies whether the preset reserve ratio range includes the modification data, obtains a verification result, and if the verification result includes that the preset reserve ratio range includes the modification data, modifies the target reserve ratio data corresponding to the target user identifier to the modification data.
2. The data modification method according to claim 1, characterized in that: Before determining the target user equipment identifier corresponding to the target user identifier based on the preset correspondence relationship between the user identifier and the user equipment identifier, the method further includes: Detecting whether a database of the first device includes the target user identifier, and obtaining a detection result; The determining, based on a preset correspondence between a user identifier and a user equipment identifier, a target user equipment identifier corresponding to the target user identifier includes: In a case where the detection result includes that the database does not include the target user identifier, a target user equipment identifier corresponding to the target user identifier is determined based on a preset correspondence relationship between user identifiers and user equipment identifiers.
3. The data modification method according to claim 2, characterized in that: After detecting whether the database of the first device includes the target user identifier and obtaining the detection result, the method further includes: In a case where the detection result includes the target user identifier in the database, a second request message is sent to the second device, the second request message including the target user identifier, so that the second device modifies the state of the target reserve ratio data corresponding to the target user identifier to a target state, wherein the target state represents that the target reserve ratio data is within the preset reserve ratio range.
4. The data modification method according to claim 1, characterized in that: Before receiving the target reserve ratio data and the target user identifier corresponding to the target reserve ratio data sent by the second device, the method further includes: receiving third request information sent by the target user equipment, wherein the third request information includes the target user equipment identifier, the target user identifier, and target reserve ratio data of the reserve resource for exchanging the target resource; The target user device identifier, the target user identifier and the target reserve ratio data are stored, and a fourth request message is sent to the second device, wherein the fourth request message includes the target user identifier and the target reserve ratio data, so that the second device stores the target user identifier and the target reserve ratio data.
5. A data modification method, characterized in that: Applied to user equipment, the method comprises: Receive prompt information sent by the first device, the prompt information is information prompting the user to modify the reserve ratio data of the reserve resources for exchanging the target resources, the prompt information is information that the first device determines the target user device identifier corresponding to the target user identifier based on the correspondence relationship between the preset user identifier and the user device identifier when receiving the target reserve ratio data sent by the second device and the target user identifier corresponding to the target reserve ratio data, and sends to the user device corresponding to the target user device identifier, the prompt information is used to prompt the user to modify the target reserve ratio data, wherein the target reserve ratio data is the reserve ratio data of the reserve resources for exchanging the target resources within the non-preset reserve ratio range detected by the second device, and the target user identifier is an identifier determined by the second device based on the correspondence relationship between the preset reserve ratio data and the user identifier and the target reserve ratio data; receiving modification data input by a user for modifying target reserve ratio data of a reserve resource for exchanging a target resource; The modification data and the target user device identifier are sent to the first device so that the second device sends a first request message, wherein the first request message includes the modification data and a target user identifier corresponding to the target user device identifier, so that the second device verifies whether the preset reserve ratio range includes the modification data, obtains a verification result, and modifies the target reserve ratio data corresponding to the target user identifier to the modification data when the verification result includes that the preset reserve ratio range includes the modification data.
6. The data modification method according to claim 5, characterized in that: Before receiving the modification data input by the user for modifying the target reserve ratio data, the method further includes: Receive a target user ID and target reserve ratio data of a reserve resource for exchanging a target resource input by a user; A third request message is sent to the first device, wherein the third request message includes the target user device identifier, the target user identifier, and the target reserve ratio data, so that the first device stores the target user device identifier, the target user identifier, and the target reserve ratio data; and a fourth request message is sent to the second device, wherein the fourth request message includes the target user identifier and the target reserve ratio data, so that the second device stores the target user identifier and the target reserve ratio data.
7. A data modification device, characterized in that: Applied to a first device, the apparatus comprises: A receiving module, configured to receive target reserve ratio data and a target user identifier corresponding to the target reserve ratio data sent by a second device, wherein the target reserve ratio data is reserve ratio data of a reserve resource for exchanging a target resource within a non-preset reserve ratio range detected by the second device; A determination module, configured to determine a target user equipment identifier corresponding to the target user identifier based on a preset correspondence relationship between a user identifier and a user equipment identifier; A sending module, configured to send a prompt message to a user device corresponding to the target user device identifier, wherein the prompt message is used to prompt the user to modify the target reserve ratio data; The receiving module is further used to receive modification data for modifying the target reserve ratio data and a target user equipment identifier sent by the target user equipment; The sending module is also used to send a first request message to the second device, wherein the first request message includes the modification data and the target user identifier corresponding to the target user device identifier, so that the second device can verify whether the preset reserve ratio range includes the modification data, obtain a verification result, and if the verification result includes that the preset reserve ratio range includes the modification data, modify the target reserve ratio data corresponding to the target user identifier to the modification data.
8. A data modification device, characterized in that: Applied to user equipment, the device comprises: a receiving module, configured to receive a prompt message sent by a first device, wherein the prompt message is information prompting a user to modify reserve ratio data of a reserve resource for exchanging a target resource, wherein the prompt message is information for prompting a user to modify reserve ratio data of a reserve resource for exchanging a target resource, wherein the first device determines a target user device identifier corresponding to the target user identifier based on a preset correspondence relationship between a user identifier and a user device identifier when receiving the target reserve ratio data sent by a second device and a target user identifier corresponding to the target reserve ratio data, and sends the prompt message to a user device corresponding to the target user device identifier, wherein the prompt message is used to prompt the user to modify the target reserve ratio data, wherein the target reserve ratio data is reserve ratio data of a reserve resource for exchanging a target resource within a non-preset reserve ratio range detected by the second device, and the target user identifier is an identifier determined by the second device based on a preset correspondence relationship between the reserve ratio data and the user identifier and the target reserve ratio data; The receiving module is further used to receive modification data input by a user for modifying the target reserve ratio data of the reserve resources for exchanging the target resources; A sending module, used for sending the modification data and the target user device identifier to the first device, so that the first device sends a first request message to the second device, the first request message including the modification data and the target user identifier corresponding to the target user device identifier, so that the second device verifies whether the preset reserve ratio range includes the modification data, obtains a verification result, and modifies the target reserve ratio data corresponding to the target user identifier to the modification data when the verification result includes that the preset reserve ratio range includes the modification data.
9. An electronic device, characterized in that: The device comprises: a processor, and a memory storing computer program instructions; The processor reads and executes the computer program instructions to implement the data modification method according to any one of claims 1 to 6.
10. A readable storage medium, characterized in that: The readable storage medium stores computer program instructions, and when the computer program instructions are executed by a processor, the data modification method according to any one of claims 1 to 6 is implemented.
11. A computer program product, comprising a computer program, characterized in that When the computer program is processed by a processor, the data modification method according to any one of claims 1 to 6 is implemented.