Method, device, storage medium and electronic device for transferring account data

By adjusting the target data of the accounted data and combining the idle test resources of the peripheral system, the problem of inflexible uploading of accounted data in batches in the existing technology is solved, and the effect of timely processing of peripheral systems and flexible adjustment of batches is achieved.

CN115348256BActive Publication Date: 2025-04-18PING AN BANK CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202210932674.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-08-04
Publication Date
2025-04-18
Estimated Expiration
2042-08-04

AI Technical Summary

Technical Problem

When the prior art passes the recorded data to the peripheral system in batches, it fails to consider the idle test resources of the peripheral system, resulting in too large data volume and the peripheral system cannot process it in time; at the same time, the batch method is inflexible and the batch number cannot be adjusted according to the data volume.

Method used

By obtaining the free test resources and reference batch data volume of the peripheral system, adjusting the target data volume of the accounted data to determine the size of each batch of data, ensuring that the peripheral system can process it in a timely manner, and flexibly adjusting the batch number.

Benefits of technology

It realizes the flexibly adjusting the size and batch number of each batch of data while ensuring that the peripheral system processes the accounted data in a timely manner, so as to facilitate the peripheral system to obtain the accounted data.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115348256B_ABST
    Figure CN115348256B_ABST
Patent Text Reader

Abstract

The embodiment of the present application provides a method, device, storage medium and electronic device for transmitting accounting data, the method comprising: obtaining the accounting data to be processed by the peripheral system based on the accounting data already recorded in the core system, and calculating the data volume of the accounting data; determining the idle test resources of the peripheral system in the test scenario, and determining the target data volume of the same batch of accounting data when the accounting data is transmitted in batches based on the idle test resources and the data volume of the accounting data; batching the accounting data based on the target data volume to obtain multiple batches of target accounting data; sending the multiple batches of accounting data to the peripheral system in sequence, so that the peripheral system processes the multiple batches of target accounting data and completes the joint debugging test with the core system. When batching the accounting data, the embodiment of the present application determines the data volume of each batch of accounting data by obtaining the idle test resources of the peripheral system in the test scenario and the data volume of the accounting data, thereby determining the number of batches.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of data processing technology, and in particular to a method, device, storage medium and electronic device for transmitting account data. Background Art

[0002] The core system processes the transaction data for accounting. After obtaining the accounting data, the accounting data needs to be transferred to the peripheral system in the form of a file for processing. In the prior art, when the accounting data is divided into batches, the current idle test resources of the peripheral system are not considered. The amount of data in each batch of accounting data obtained is greater than the amount of idle batch data corresponding to the idle resources, resulting in the peripheral system currently being unable to process each batch of accounting data.

[0003] In addition, in the prior art, regardless of whether the amount of the account data is large or small, when the account data is divided into batches, the amount of data in each batch of the account data is fixed, and the batching method is not flexible. Therefore, when the account data is certain, the number of batches into which the account data is divided is already fixed, and the number of batches cannot be modified. When the amount of the account data is large, it is impossible to reduce the number of batches when the account data is divided into batches to facilitate the peripheral system to obtain the batch of account data. For example, the amount of data in each batch of account data is fixed to 10M. When the amount of the account data is 100M, 10 batches of account data are obtained after batching. At this time, it is felt that the number of batches of batch account data (10 batches) is too much, and it is difficult for the peripheral system to obtain the batch of account data, but there is no way to reduce the number of batches of account data.

[0004] Therefore, the prior art has defects and needs to be improved and developed. Summary of the invention

[0005] The embodiments of the present application provide a method, device, storage medium and electronic device for transmitting accounting data. On the one hand, it can ensure that the peripheral system processes each batch of accounting data in a timely manner, and on the other hand, it can flexibly determine the data volume of each batch of accounting data to modify the batch number of accounting data, so as to facilitate the peripheral system to obtain the batch of accounting data.

[0006] The present application provides a method for transmitting account data, the method comprising:

[0007] Based on the recorded data of the core system, the recorded data to be processed by the peripheral system is obtained, and the data volume of the recorded data is calculated;

[0008] Determine idle test resources of the peripheral system in a test scenario, and determine a target data volume of the same batch of account data when the account data is transmitted in batches based on the idle test resources and the data volume of the account data;

[0009] Based on the target data volume, the account entry data is divided into batches to obtain multiple batches of target account entry data;

[0010] The multiple batches of the accounting data are sent to the peripheral system in sequence, so that the peripheral system processes the multiple batches of the target accounting data and completes the joint debugging test with the core system.

[0011] In the method for transmitting accounting data in an embodiment of the present application, determining the idle test resources of the peripheral system in a test scenario, and determining the target data volume of the same batch of accounting data when the accounting data is transmitted in batches based on the idle test resources and the data volume of the accounting data, includes:

[0012] Acquire the current idle test resources of the peripheral system in the test scenario;

[0013] Acquire reference idle resources and a reference batch data size corresponding to the reference idle resources;

[0014] Comparing the idle test resource with the reference idle resource to obtain a comparison result;

[0015] Based on the data volume of the accounting data and the comparison result, the reference batch data volume is adjusted to obtain a target data volume of the same batch of accounting data when the accounting data is transmitted in batches.

[0016] In the method for transmitting accounting data according to an embodiment of the present application, adjusting the reference batch data size based on the data size of the accounting data and the comparison result to obtain the target data size of the same batch of accounting data when the accounting data is transmitted in batches includes:

[0017] Comparing the data size of the account entry data with a preset data size;

[0018] If the data volume of the recorded data is larger than the preset data volume, and the comparison result is that the idle test resources are larger than the reference idle resources, the reference batch data volume is increased to obtain an adjusted reference batch data volume, wherein the adjusted reference batch data volume is smaller than or equal to the idle batch data volume corresponding to the idle test resources;

[0019] The adjusted reference batch data volume is used as the target data volume of the same batch of accounting data when the accounting data is transmitted in batches.

[0020] In the method for transmitting the accounting data described in the embodiment of the present application, after comparing the data size of the accounting data with the preset data size, the method further includes:

[0021] If the data volume of the recorded data is equal to the preset data volume, and the comparison result is that the idle test resources are larger than the reference idle resources, the reference batch data volume is increased or kept unchanged to obtain an adjusted reference batch data volume, wherein when the reference batch data volume is increased, the adjusted reference batch data volume is less than or equal to the idle batch data volume corresponding to the idle test resources;

[0022] The adjusted reference batch data volume is used as the target data volume of the same batch of accounting data when the accounting data is transmitted in batches.

[0023] In the method for transmitting the accounting data described in the embodiment of the present application, after comparing the data size of the accounting data with the preset data size, the method further includes:

[0024] If the data volume of the recorded data is smaller than the preset data volume, and the comparison result is that the idle test resources are larger than the reference idle resources, the reference batch data volume is increased, kept unchanged, or decreased to obtain an adjusted reference batch data volume, wherein when the reference batch data volume is increased, the obtained adjusted reference batch data volume is smaller than or equal to the idle batch data volume corresponding to the idle test resources;

[0025] The adjusted reference batch data volume is used as the target data volume of the same batch of accounting data when the accounting data is transmitted in batches.

[0026] In the method for transmitting the accounting data described in the embodiment of the present application, after comparing the data size of the accounting data with the preset data size, the method further includes:

[0027] If the data volume of the account data is greater than or equal to the preset data volume, and the comparison result is that the idle test resources are less than the reference idle resources, then the reference batch data volume is reduced to obtain an adjusted reference batch data volume;

[0028] The adjusted reference batch data volume is used as the target data volume of the same batch of accounting data when the accounting data is transmitted in batches.

[0029] In the method for transmitting the accounting data described in the embodiment of the present application, after comparing the data size of the accounting data with the preset data size, the method further includes:

[0030] If the data volume of the recorded data is smaller than the preset data volume, and the comparison result is that the idle test resources are smaller than the reference idle resources, then the reference batch data volume is reduced to obtain an adjusted reference batch data volume;

[0031] The adjusted reference batch data volume is used as the target data volume of the same batch of accounting data when the accounting data is transmitted in batches.

[0032] The embodiment of the present application also provides a device for transmitting account data, the device comprising:

[0033] A calculation module, used for acquiring the account data to be processed by the peripheral system based on the account data already recorded in the core system, and calculating the data volume of the account data;

[0034] A determination module, configured to determine idle test resources of the peripheral system in a test scenario, and determine a target data volume of the same batch of account data when the account data is transmitted in batches based on the idle test resources and the data volume of the account data;

[0035] A batching module, used for batching the account entry data based on the target data volume to obtain multiple batches of target account entry data;

[0036] The sending module is used to send multiple batches of the account entry data to the peripheral system in sequence, so that the peripheral system processes the multiple batches of the target account entry data and completes the joint debugging test with the core system.

[0037] An embodiment of the present application further provides a computer-readable storage medium, wherein a computer program is stored in the computer-readable storage medium. When the computer program is executed on a computer, the computer executes the method for transmitting accounting data described in any embodiment.

[0038] An embodiment of the present application also provides an electronic device, comprising a processor and a memory, wherein the memory stores a computer program, and the processor executes the method for transmitting accounting data described in any embodiment by calling the computer program stored in the memory.

[0039] When batching the account data, the embodiment of the present application first calculates the data volume of the account data and determines the idle test resources of the peripheral system in the test scenario. Then, based on the idle test resources and the data volume of the account data, the target data volume of the same batch of account data when the account data is transmitted in batches is determined. Finally, based on the obtained target data volume, the account data is batched. On the one hand, it can ensure that the peripheral system processes each batch of account data in a timely manner. On the other hand, it can flexibly determine the data volume of each batch of account data to modify the batch number of account data, so as to facilitate the peripheral system to obtain the batch of account data. BRIEF DESCRIPTION OF THE DRAWINGS

[0040] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present application, and those skilled in the art can obtain other drawings based on these drawings without creative work.

[0041] Figure 1 A flowchart of a method for transmitting account data provided in an embodiment of the present application.

[0042] Figure 2 A schematic diagram of the structure of the device for transmitting account data provided in an embodiment of the present application.

[0043] Figure 3 Another structural schematic diagram of the device for transmitting account data provided in an embodiment of the present application.

[0044] Figure 4 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0045] The technical solutions in the embodiments of the present application will be described clearly and completely below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, rather than all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present application.

[0046] An embodiment of the present application provides a method for transmitting account data, which can be applied to an electronic device.

[0047] See also Figure 1 , Figure 1 A flowchart of a method for transmitting account data provided by an embodiment of the present application. The method for transmitting account data is applied to an electronic device, and the method may include the following steps:

[0048] Step 101, based on the recorded data of the core system, the recorded data to be processed by the peripheral system is obtained, and the data volume of the recorded data is calculated.

[0049] Among them, after the core system records the transaction data, it obtains the recorded data, and the core system will transmit the recorded data to the peripheral system for processing.

[0050] The data volume can be expressed in megabytes (M), for example, the data volume is 100 megabytes (M).

[0051] Step 102, determining idle test resources of the peripheral system in a test scenario, and determining a target data volume of the same batch of accounting data when the accounting data is transmitted in batches based on the idle test resources and the data volume of the accounting data.

[0052] In some embodiments, determining the idle test resources of the peripheral system in the test scenario, and determining the target data volume of the same batch of account data when the account data is transmitted in batches based on the idle test resources and the data volume of the account data, includes:

[0053] Acquire the current idle test resources of the peripheral system in the test scenario;

[0054] Acquire reference idle resources and a reference batch data size corresponding to the reference idle resources;

[0055] Comparing the idle test resource with the reference idle resource to obtain a comparison result;

[0056] Based on the data volume of the accounting data and the comparison result, the reference batch data volume is adjusted to obtain a target data volume of the same batch of accounting data when the accounting data is transmitted in batches.

[0057] In some embodiments, adjusting the reference batch data size based on the data size of the accounting data and the comparison result to obtain a target data size of the same batch of accounting data when the accounting data is transmitted in batches includes:

[0058] Comparing the data size of the account entry data with a preset data size;

[0059] If the data volume of the recorded data is larger than the preset data volume, and the comparison result is that the idle test resources are larger than the reference idle resources, the reference batch data volume is increased to obtain an adjusted reference batch data volume, wherein the adjusted reference batch data volume is smaller than or equal to the idle batch data volume corresponding to the idle test resources;

[0060] The adjusted reference batch data volume is used as the target data volume of the same batch of accounting data when the accounting data is transmitted in batches.

[0061] Among them, increasing the size of the reference batch data can reduce the number of batches of accounting data, which can make it more convenient for the peripheral system to obtain the batch accounting data.

[0062] For example, the preset data volume is 100M, the data volume of the account data is 150M, and the reference batch data volume corresponding to the reference idle resources is 10M. At this time, the data volume of the account data is greater than the preset data volume. If the comparison result at this time is that the idle test resources are greater than the reference idle resources, the reference batch data volume is increased, for example, the reference batch data volume is increased from the original 10M to 15M, and the adjusted reference batch data volume is 15M. Then the adjusted reference batch data volume of 15M is used as the target data volume of the same batch of account data when the account data is transmitted in batches, that is, the data volume of each batch of account data is 15M. Among them, if the idle batch data volume corresponding to the idle test resources is 20M, the adjusted reference batch data volume is less than or equal to 20M, that is, the adjusted reference batch data volume cannot be greater than 20M. Therefore, the target data volume range of the same batch of account data obtained in the end is greater than 10M and less than or equal to 20M.

[0063] According to the prior art, when the amount of account data is 150M, 15 batches of account data will be obtained (the target amount of the same batch of account data is 10M). According to this solution, 10 batches of account data will be obtained (the target amount of the same batch of account data is 15M). Compared with the prior art, the number of batches of account data is 5 batches less than that of the prior art, so it is more convenient for the peripheral system to obtain the batch of account data (the more batches of account data, the more inconvenient it is for the peripheral system to obtain).

[0064] In some embodiments, after comparing the data size of the account data with the preset data size, the method further includes:

[0065] If the data volume of the recorded data is equal to the preset data volume, and the comparison result is that the idle test resources are larger than the reference idle resources, the reference batch data volume is increased or kept unchanged to obtain an adjusted reference batch data volume, wherein when the reference batch data volume is increased, the adjusted reference batch data volume is less than or equal to the idle batch data volume corresponding to the idle test resources;

[0066] The adjusted reference batch data volume is used as the target data volume of the same batch of accounting data when the accounting data is transmitted in batches.

[0067] Increasing the reference batch data size can reduce the number of batches of account entry data, making it easier for peripheral systems to obtain the batch of account entry data. Keeping the reference batch data size unchanged is because the number of batches of account entry data obtained can also be easily obtained by peripheral systems.

[0068] For example, the preset data volume is 200M, the data volume of the account data is also 200M, and the reference batch data volume corresponding to the reference idle resources is 10M. At this time, the data volume of the account data is equal to the preset data volume. If the comparison result at this time is that the idle test resources are greater than the reference idle resources (that is, the idle batch data volume corresponding to the idle test resources is greater than the reference batch data volume corresponding to the reference idle resources, for example, the idle batch data volume corresponding to the idle test resources is 25M), then the reference batch data volume is increased or kept unchanged, for example, the reference batch data volume is increased from the original 10M to 20M, or the reference batch data volume is kept unchanged at 10M, and the adjusted reference batch data volume is 20M or 10M, and then the adjusted reference batch data volume of 20M or 10M is used as the target data volume of the same batch of account data when the account data is transmitted in batches, that is, the data volume of each batch of account data is 20M or 10M. Among them, the adjusted reference batch data volume is less than or equal to the idle batch data volume corresponding to the idle test resources, that is, the adjusted reference batch data volume cannot be greater than 25M. Therefore, the target data volume range of the same batch of account data is greater than 10M and less than or equal to 25M.

[0069] Among them, according to the prior art, when the data size of the account data is 200M, 20 batches of account data will be obtained (the target data size of the same batch of account data is 10M). According to this solution, the number of batches of account data obtained will be 20 batches or 10 batches (the target data size of the same batch of account data is 20M). When you want to reduce the number of batches of account data to make it easier for the peripheral system to obtain the batch of account data, you can divide the account data into 10 batches; when the account data can be easily obtained by dividing it into 20 batches, then divide the account data into 20 batches, so the batch method is more flexible.

[0070] In some embodiments, after comparing the data size of the account data with the preset data size, the method further includes:

[0071] If the data volume of the recorded data is smaller than the preset data volume, and the comparison result is that the idle test resources are larger than the reference idle resources, the reference batch data volume is increased, kept unchanged, or decreased to obtain an adjusted reference batch data volume, wherein when the reference batch data volume is increased, the obtained adjusted reference batch data volume is smaller than or equal to the idle batch data volume corresponding to the idle test resources;

[0072] The adjusted reference batch data volume is used as the target data volume of the same batch of accounting data when the accounting data is transmitted in batches.

[0073] Among them, because the data size of the accounting data is smaller than the preset data size, even if the reference batch data size is appropriately reduced, the number of batches of accounting data obtained will not be too many, and it is also convenient for the peripheral system to obtain the batch accounting data.

[0074] In some embodiments, after comparing the data size of the account data with the preset data size, the method further includes:

[0075] If the data volume of the account data is greater than or equal to the preset data volume, and the comparison result is that the idle test resources are less than the reference idle resources, then the reference batch data volume is reduced to obtain an adjusted reference batch data volume;

[0076] The adjusted reference batch data volume is used as the target data volume of the same batch of accounting data when the accounting data is transmitted in batches.

[0077] Among them, because the idle test resources are smaller than the reference idle resources, in order to ensure that the peripheral system can process each batch of incoming data, the size of the reference batch data must be reduced.

[0078] In some embodiments, after comparing the data size of the account data with the preset data size, the method further includes:

[0079] If the data volume of the account data is smaller than the preset data volume, and the comparison result is that the idle test resources are smaller than the reference idle resources, then the reference batch data volume is reduced to obtain an adjusted reference batch data volume;

[0080] The adjusted reference batch data volume is used as the target data volume of the same batch of accounting data when the accounting data is transmitted in batches.

[0081] Among them, because the idle test resources are smaller than the reference idle resources, in order to ensure that the peripheral system can process each batch of incoming data, the size of the reference batch data must be reduced.

[0082] All the above optional technical solutions can be arbitrarily combined to form optional embodiments of the present application, which will not be described one by one here.

[0083] In specific implementation, the present application is not limited by the execution order of the various steps described. If no conflict occurs, some steps can be performed in other orders or simultaneously.

[0084] As can be seen from the above, the method for transmitting the account data provided in the embodiment of the present application is to

[0085] When batching the account data, first calculate the data volume of the account data and determine the idle test resources of the peripheral system in the test scenario. Then, based on the idle test resources and the data volume of the account data, determine the target data volume of the same batch of account data when the account data is transmitted in batches. Finally, batch the account data based on the obtained target data volume. On the one hand, it can ensure that the peripheral system processes each batch of account data in a timely manner. On the other hand, it can flexibly determine the data volume of each batch of account data to modify the batch number of account data, so as to facilitate the peripheral system to obtain the batch of account data.

[0086] The embodiment of the present application also provides a device for transmitting account data, which can be integrated in an electronic device.

[0087] See also Figure 2 , Figure 2 A schematic diagram of the structure of the device for transmitting the account data provided in the embodiment of the present application. The device for transmitting the account data 30 may include:

[0088] A calculation module 31 is used to obtain the account data to be processed by the peripheral system based on the account data already recorded in the core system, and calculate the data volume of the account data;

[0089] A determination module 32, configured to determine idle test resources of the peripheral system in a test scenario, and determine a target data volume of the same batch of account data when the account data is transmitted in batches based on the idle test resources and the data volume of the account data;

[0090] A batching module 33, configured to batch the account entry data based on the target data volume to obtain multiple batches of target account entry data;

[0091] The sending module 34 is used to send the multiple batches of the account entry data to the peripheral system in sequence, so that the peripheral system processes the multiple batches of the target account entry data and completes the joint debugging test with the core system.

[0092] In some embodiments, the determination module 32 is used to obtain the current idle test resources of the peripheral system under the test scenario; obtain reference idle resources and a reference batch data size corresponding to the reference idle resources; compare the idle test resources with the reference idle resources to obtain a comparison result; based on the data size of the accounting data and the comparison result, adjust the reference batch data size to obtain the target data size of the same batch of accounting data when the accounting data is transmitted in batches.

[0093] In some embodiments, the determination module 32 is used to compare the data size of the accounting data with a preset data size; if the data size of the accounting data is larger than the preset data size, and the comparison result is that the idle test resources are larger than the reference idle resources, then the reference batch data size is increased to obtain an adjusted reference batch data size, wherein the adjusted reference batch data size is less than or equal to the idle batch data size corresponding to the idle test resources; the adjusted reference batch data size is used as the target data size of the same batch of accounting data when the accounting data is transmitted in batches.

[0094] In some embodiments, the determination module 32 is used to increase or keep unchanged the reference batch data size if the data size of the accounting data is equal to the preset data size, and the comparison result is that the idle test resources are greater than the reference idle resources, to obtain an adjusted reference batch data size, wherein when the reference batch data size is increased, the adjusted reference batch data size is less than or equal to the idle batch data size corresponding to the idle test resources; and the adjusted reference batch data size is used as the target data size of the same batch of accounting data when the accounting data is transmitted in batches.

[0095] In some embodiments, the determination module 32 is used to increase, keep unchanged or decrease the reference batch data size if the data size of the accounting data is smaller than the preset data size, and the comparison result is that the idle test resources are larger than the reference idle resources, to obtain an adjusted reference batch data size, wherein when the reference batch data size is increased, the adjusted reference batch data size is smaller than or equal to the idle batch data size corresponding to the idle test resources; and the adjusted reference batch data size is used as the target data size of the same batch of accounting data when the accounting data is transmitted in batches.

[0096] In some embodiments, the determination module 32 is used to reduce the reference batch data size to obtain an adjusted reference batch data size if the data size of the accounting data is greater than or equal to the preset data size, and the comparison result is that the idle test resources are smaller than the reference idle resources; and use the adjusted reference batch data size as the target data size of the same batch of accounting data when the accounting data is transmitted in batches.

[0097] In some embodiments, the determination module 32 is used to reduce the reference batch data size to obtain an adjusted reference batch data size if the data size of the accounting data is smaller than the preset data size and the comparison result is that the idle test resources are smaller than the reference idle resources; and use the adjusted reference batch data size as the target data size of the same batch of accounting data when the accounting data is transmitted in batches.

[0098] In specific implementation, the above modules can be implemented as independent entities, or can be arbitrarily combined to be implemented as the same entity or several entities.

[0099] As can be seen from the above, the accounting data transmission device 30 provided in the embodiment of the present application obtains the accounting data to be processed by the peripheral system based on the accounting data of the core system through the calculation module 31, and calculates the data volume of the accounting data; determines the idle test resources of the peripheral system in the test scenario through the determination module 32, and determines the target data volume of the same batch of accounting data when the accounting data is transmitted in batches based on the idle test resources and the data volume of the accounting data; batches the accounting data based on the target data volume through the batching module 33 to obtain multiple batches of target accounting data; and sends the multiple batches of the accounting data to the peripheral system in sequence through the sending module 34, so that the peripheral system processes the multiple batches of the target accounting data and completes the joint debugging test with the core system.

[0100] See also Figure 3 , Figure 3 Another structural diagram of the device for transmitting account data provided in an embodiment of the present application, the device for transmitting account data 30 includes a memory 120, one or more processors 180, and one or more applications, wherein the one or more applications are stored in the memory 120 and configured to be executed by the processor 180; the processor 180 may include a calculation module 31, a determination module 32, a batch module 33 and a sending module 34. For example, the structures and connection relationships of the above components may be as follows:

[0101] The memory 120 can be used to store applications and data. The applications stored in the memory 120 include executable codes. The applications can be composed of various functional modules. The processor 180 executes various functional applications and data processing by running the applications stored in the memory 120. In addition, the memory 120 may include a high-speed random access memory and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other volatile solid-state storage devices. Accordingly, the memory 120 may also include a memory controller to provide the processor 180 with access to the memory 120.

[0102] The processor 180 is the control center of the device, and uses various interfaces and lines to connect various parts of the entire terminal, and executes various functions of the device and processes data by running or executing applications stored in the memory 120, and calling data stored in the memory 120, so as to monitor the device as a whole. Optionally, the processor 180 may include one or more processing cores; preferably, the processor 180 may integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, user interface, and application programs.

[0103] Specifically in this embodiment, the processor 180 will load the executable code corresponding to the process of one or more application programs into the memory 120 according to the following instructions, and the processor 180 will run the application programs stored in the memory 120 to implement various functions:

[0104] A calculation module 31 is used to obtain the account data to be processed by the peripheral system based on the account data already recorded in the core system, and calculate the data volume of the account data;

[0105] A determination module 32, configured to determine idle test resources of the peripheral system in a test scenario, and determine a target data volume of the same batch of account data when the account data is transmitted in batches based on the idle test resources and the data volume of the account data;

[0106] A batching module 33, configured to batch the account entry data based on the target data volume to obtain multiple batches of target account entry data;

[0107] The sending module 34 is used to send the multiple batches of the account entry data to the peripheral system in sequence, so that the peripheral system processes the multiple batches of the target account entry data and completes the joint debugging test with the core system.

[0108] In some embodiments, the determination module 32 is used to obtain the current idle test resources of the peripheral system under the test scenario; obtain reference idle resources and a reference batch data size corresponding to the reference idle resources; compare the idle test resources with the reference idle resources to obtain a comparison result; based on the data size of the accounting data and the comparison result, adjust the reference batch data size to obtain the target data size of the same batch of accounting data when the accounting data is transmitted in batches.

[0109] In some embodiments, the determination module 32 is used to compare the data size of the accounting data with a preset data size; if the data size of the accounting data is larger than the preset data size, and the comparison result is that the idle test resources are larger than the reference idle resources, then the reference batch data size is increased to obtain an adjusted reference batch data size, wherein the adjusted reference batch data size is less than or equal to the idle batch data size corresponding to the idle test resources; the adjusted reference batch data size is used as the target data size of the same batch of accounting data when the accounting data is transmitted in batches.

[0110] In some embodiments, the determination module 32 is used to increase or keep unchanged the reference batch data size if the data size of the accounting data is equal to the preset data size, and the comparison result is that the idle test resources are greater than the reference idle resources, to obtain an adjusted reference batch data size, wherein when the reference batch data size is increased, the adjusted reference batch data size is less than or equal to the idle batch data size corresponding to the idle test resources; and the adjusted reference batch data size is used as the target data size of the same batch of accounting data when the accounting data is transmitted in batches.

[0111] In some embodiments, the determination module 32 is used to increase, keep unchanged or decrease the reference batch data size if the data size of the accounting data is smaller than the preset data size, and the comparison result is that the idle test resources are larger than the reference idle resources, to obtain an adjusted reference batch data size, wherein when the reference batch data size is increased, the adjusted reference batch data size is smaller than or equal to the idle batch data size corresponding to the idle test resources; and the adjusted reference batch data size is used as the target data size of the same batch of accounting data when the accounting data is transmitted in batches.

[0112] In some embodiments, the determination module 32 is used to reduce the reference batch data size to obtain an adjusted reference batch data size if the data size of the accounting data is greater than or equal to the preset data size, and the comparison result is that the idle test resources are smaller than the reference idle resources; and use the adjusted reference batch data size as the target data size of the same batch of accounting data when the accounting data is transmitted in batches.

[0113] In some embodiments, the determination module 32 is used to reduce the reference batch data size to obtain an adjusted reference batch data size if the data size of the accounting data is smaller than the preset data size and the comparison result is that the idle test resources are smaller than the reference idle resources; and use the adjusted reference batch data size as the target data size of the same batch of accounting data when the accounting data is transmitted in batches.

[0114] The present application also provides an electronic device. Figure 4 , Figure 4 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application is shown, and the electronic device can be used to implement the method for transmitting account data provided in the above embodiment.

[0115] like Figure 4 As shown, the electronic device 1200 may include an RF (Radio Frequency) circuit 110, a memory 120 including one or more (only one is shown in the figure) computer-readable storage media, an input unit 130, a display unit 140, a sensor 150, an audio circuit 160, a transmission module 170, a processor 180 including one or more (only one is shown in the figure) processing cores, and a power supply 190. Those skilled in the art will understand that Figure 4 The structure of the electronic device 1200 shown in the figure does not constitute a limitation on the electronic device 1200, and may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently.

[0116] The RF circuit 110 is used to receive and send electromagnetic waves, realize the mutual conversion between electromagnetic waves and electrical signals, and thus communicate with a communication network or other devices. The RF circuit 110 may include various existing circuit elements for performing these functions, such as an antenna, a radio frequency transceiver, a digital signal processor, an encryption / decryption chip, a user identity module (SIM) card, a memory, etc. The RF circuit 110 can communicate with various networks such as the Internet, an intranet, a wireless network, or communicate with other devices through a wireless network.

[0117] The memory 120 can be used to store software programs and modules, such as the program instructions / modules corresponding to the method for downloading the account data in the above embodiment. The processor 180 executes various functional applications and data processing by running the software programs and modules stored in the memory 120. On the one hand, it can ensure that the peripheral system processes each batch of account data in a timely manner, and on the other hand, it can flexibly determine the data volume of each batch of account data to modify the batch number of account data, so as to facilitate the peripheral system to obtain the batch of account data. The memory 120 may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory 120 may further include a memory remotely arranged relative to the processor 180, and these remote memories may be connected to the electronic device 1200 via a network. Examples of the above network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.

[0118] The input unit 130 can be used to receive input digital or character information, and generate keyboard, mouse, joystick, optical or trackball signal input related to user settings and function control. Specifically, the input unit 130 may include a touch-sensitive surface 131 and other input devices 132. The touch-sensitive surface 131, also known as a touch display screen or a touch pad, can collect user touch operations on or near it (such as operations performed by users using fingers, styluses, or any other suitable objects or accessories on or near the touch-sensitive surface 131), and drive corresponding connection devices according to a pre-set program. Optionally, the touch-sensitive surface 131 may include a touch detection device and a touch controller. Among them, the touch detection device detects the user's touch orientation, detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into touch point coordinates, and then sends it to the processor 180, and can receive and execute commands sent by the processor 180. In addition, the touch-sensitive surface 131 can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic wave. In addition to the touch-sensitive surface 131, the input unit 130 may further include other input devices 132. Specifically, other input devices 132 may include but are not limited to one or more of a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, etc.

[0119] The display unit 140 may be used to display information input by the user or information provided to the user and various graphical user interfaces of the electronic device 1200, which may be composed of graphics, text, icons, videos and any combination thereof. The display unit 140 may include a display panel 141. Optionally, the display panel 141 may be configured in the form of an LCD (Liquid Crystal Display), an OLED (Organic Light-Emitting Diode), or the like. Further, the touch-sensitive surface 131 may cover the display panel 141. When the touch-sensitive surface 131 detects a touch operation on or near it, it is transmitted to the processor 180 to determine the type of touch event. Subsequently, the processor 180 provides a corresponding visual output on the display panel 141 according to the type of touch event. Although in Figure 4 In the embodiment, the touch-sensitive surface 131 and the display panel 141 are implemented as two independent components to realize the input and output functions. However, in some embodiments, the touch-sensitive surface 131 and the display panel 141 can be integrated to realize the input and output functions.

[0120] The electronic device 1200 may also include at least one sensor 150, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor may include an ambient light sensor and a proximity sensor, wherein the ambient light sensor may adjust the brightness of the display panel 141 according to the brightness of the ambient light, and the proximity sensor may turn off the display panel 141 and / or the backlight when the electronic device 1200 is moved to the ear. As a type of motion sensor, the gravity acceleration sensor can detect the magnitude of acceleration in each direction (generally three axes), and can detect the magnitude and direction of gravity when stationary. It can be used for applications that identify the posture of the mobile phone (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer, tapping), etc.; as for other sensors such as gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc. that can also be configured in the electronic device 1200, they will not be repeated here.

[0121] The audio circuit 160, the speaker 161, and the microphone 162 can provide an audio interface between the user and the electronic device 1200. The audio circuit 160 can transmit the received audio data to the speaker 161 after converting the received audio data into an electrical signal, which is converted into a sound signal for output; on the other hand, the microphone 162 converts the collected sound signal into an electrical signal, which is received by the audio circuit 160 and converted into audio data, and then the audio data is output to the processor 180 for processing, and then sent to another terminal through the RF circuit 110, or the audio data is output to the memory 120 for further processing. The audio circuit 160 may also include an earplug jack to provide communication between an external headset and the electronic device 1200.

[0122] The electronic device 1200 can help users send and receive emails, browse web pages, and access streaming media through the transmission module 170 (such as a Wi-Fi module), which provides users with wireless broadband Internet access. Figure 4 The transmission module 170 is shown, but it is understandable that it is not an essential component of the electronic device 1200 and can be omitted as needed without changing the essence of the invention.

[0123] The processor 180 is the control center of the electronic device 1200. It uses various interfaces and lines to connect various parts of the entire mobile phone. It executes various functions of the electronic device 1200 and processes data by running or executing software programs and / or modules stored in the memory 120, and calling data stored in the memory 120. Optionally, the processor 180 may include one or more processing cores; in some embodiments, the processor 180 may integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, user interface, and application programs, and the modem processor mainly processes wireless communications. It is understandable that the above-mentioned modem processor may not be integrated into the processor 180.

[0124] The electronic device 1200 also includes a power supply 190 (such as a battery) for supplying power to various components. In some embodiments, the power supply can be logically connected to the processor 180 through a power management system, so that the power management system can manage charging, discharging, and power consumption management. The power supply 190 can also include any components such as one or more DC or AC power supplies, recharging systems, power failure detection circuits, power converters or inverters, and power status indicators.

[0125] Although not shown, the electronic device 1200 may also include a camera (such as a front camera, a rear camera), a Bluetooth module, etc., which will not be described in detail here. Specifically in this embodiment, the display unit 140 of the electronic device 1200 is a touch screen display, and the electronic device 1200 also includes a memory 120, and one or more programs, wherein one or more programs are stored in the memory 120, and are configured to be executed by one or more processors 180. One or more programs include instructions for performing the following operations:

[0126] Based on the recorded data of the core system, the recorded data to be processed by the peripheral system is obtained, and the data volume of the recorded data is calculated;

[0127] Determine idle test resources of the peripheral system in a test scenario, and determine a target data volume of the same batch of account data when the account data is transmitted in batches based on the idle test resources and the data volume of the account data;

[0128] Based on the target data volume, the account entry data is divided into batches to obtain multiple batches of target account entry data;

[0129] The multiple batches of the accounting data are sent to the peripheral system in sequence, so that the peripheral system processes the multiple batches of the target accounting data and completes the joint debugging test with the core system.

[0130] In some embodiments, the processor 180 is used to obtain the current idle test resources of the peripheral system in a test scenario; obtain reference idle resources and a reference batch data size corresponding to the reference idle resources; compare the idle test resources with the reference idle resources to obtain a comparison result; based on the data size of the accounting data and the comparison result, adjust the reference batch data size to obtain a target data size of the same batch of accounting data when the accounting data is transmitted in batches.

[0131] In some embodiments, the processor 180 is used to compare the data size of the accounting data with a preset data size; if the data size of the accounting data is greater than the preset data size, and the comparison result is that the idle test resources are greater than the reference idle resources, then the reference batch data size is increased to obtain an adjusted reference batch data size, wherein the adjusted reference batch data size is less than or equal to the idle batch data size corresponding to the idle test resources; the adjusted reference batch data size is used as the target data size of the same batch of accounting data when the accounting data is transmitted in batches.

[0132] In some embodiments, the processor 180 is used to increase or keep unchanged the reference batch data size if the data size of the accounting data is equal to the preset data size, and the comparison result is that the idle test resources are greater than the reference idle resources, to obtain an adjusted reference batch data size, wherein when the reference batch data size is increased, the adjusted reference batch data size is less than or equal to the idle batch data size corresponding to the idle test resources; and the adjusted reference batch data size is used as the target data size of the same batch of accounting data when the accounting data is transmitted in batches.

[0133] In some embodiments, the processor 180 is used to increase, keep unchanged or decrease the reference batch data size if the data size of the accounting data is smaller than the preset data size, and the comparison result is that the idle test resources are larger than the reference idle resources, to obtain an adjusted reference batch data size, wherein when the reference batch data size is increased, the adjusted reference batch data size is smaller than or equal to the idle batch data size corresponding to the idle test resources; and the adjusted reference batch data size is used as the target data size of the same batch of accounting data when the accounting data is transmitted in batches.

[0134] In some embodiments, the processor 180 is used to reduce the reference batch data size to obtain an adjusted reference batch data size if the data size of the accounting data is greater than or equal to the preset data size, and the comparison result is that the idle test resources are smaller than the reference idle resources; and use the adjusted reference batch data size as the target data size of the same batch of accounting data when the accounting data is transmitted in batches.

[0135] In some embodiments, the processor 180 is used to reduce the reference batch data size to obtain an adjusted reference batch data size if the data size of the accounting data is smaller than the preset data size and the comparison result is that the idle test resources are smaller than the reference idle resources; and use the adjusted reference batch data size as the target data size of the same batch of accounting data when the accounting data is transmitted in batches.

[0136] As can be seen from the above, an embodiment of the present application provides an electronic device 1200, and the electronic device 1200 performs the following steps: based on the recorded data of the core system, obtaining the recorded data to be processed by the peripheral system, and calculating the data volume of the recorded data; determining the idle test resources of the peripheral system in the test scenario, and based on the idle test resources and the data volume of the recorded data, determining the target data volume of the same batch of recorded data when the recorded data is transmitted in batches; based on the target data volume, batching the recorded data to obtain multiple batches of target recorded data; sending the multiple batches of the recorded data to the peripheral system in sequence, so that the peripheral system processes the multiple batches of the target recorded data and completes the joint debugging test with the core system.

[0137] An embodiment of the present application further provides a storage medium, wherein a computer program is stored in the storage medium. When the computer program is executed on a computer, the computer executes the method for transmitting accounting data described in any of the above embodiments.

[0138] It should be noted that, for the method for transmitting the account data described in the present application, ordinary testers in the field can understand that the whole or part of the process of the method for transmitting the account data described in the embodiment of the present application can be completed by controlling the relevant hardware through a computer program, and the computer program can be stored in a computer-readable storage medium, such as a memory of an electronic device, and executed by at least one processor in the electronic device, and the execution process may include the process of the embodiment of the method for transmitting the account data. Among them, the storage medium can be a disk, an optical disk, a read-only memory (ROM), a random access memory (RAM), etc.

[0139] For the account data transmission device of the embodiment of the present application, each functional module can be integrated into a processing chip, or each module can exist physically separately, or two or more modules can be integrated into one module. The above-mentioned integrated module can be implemented in the form of hardware or in the form of a software functional module. If the integrated module is implemented in the form of a software functional module and sold or used as an independent product, it can also be stored in a computer-readable storage medium, such as a read-only memory, a disk or an optical disk.

[0140] The above is a detailed introduction to the method, device, storage medium and electronic device for transmitting the account data provided in the embodiments of the present application. This article uses specific examples to illustrate the principles and implementation methods of the present application. The description of the above embodiments is only used to help understand the method and core ideas of the present application; at the same time, for those skilled in the art, according to the ideas of the present application, there will be changes in the specific implementation methods and application scopes. In summary, the content of this specification should not be understood as a limitation on the present application.

Claims

1. A method for transmitting account data, characterized in that: The method comprises: Based on the recorded data of the core system, the recorded data to be processed by the peripheral system is obtained, and the data volume of the recorded data is calculated; Determine idle test resources of the peripheral system in a test scenario, and determine a target data volume of the same batch of account data when the account data is transmitted in batches based on the idle test resources and the data volume of the account data; Based on the target data volume, the account entry data is divided into batches to obtain multiple batches of target account entry data; Sending multiple batches of the target account entry data to the peripheral system in sequence, so that the peripheral system processes the multiple batches of the target account entry data and completes the joint debugging test with the core system.

2. The method for transmitting account data as claimed in claim 1, characterized in that: The determining of idle test resources of the peripheral system in the test scenario, and determining, based on the idle test resources and the data volume of the account data, a target data volume of the same batch of account data when the account data is transmitted in batches, includes: Acquire the current idle test resources of the peripheral system in the test scenario; Acquire reference idle resources and a reference batch data size corresponding to the reference idle resources; Comparing the idle test resource with the reference idle resource to obtain a comparison result; Based on the data volume of the accounting data and the comparison result, the reference batch data volume is adjusted to obtain a target data volume of the same batch of accounting data when the accounting data is transmitted in batches.

3. The method for transmitting account data as claimed in claim 2, characterized in that: The step of adjusting the reference batch data size based on the data size of the accounting data and the comparison result to obtain a target data size of the same batch of accounting data when the accounting data is transmitted in batches includes: Comparing the data size of the account entry data with a preset data size; If the data volume of the recorded data is larger than the preset data volume, and the comparison result is that the idle test resources are larger than the reference idle resources, the reference batch data volume is increased to obtain an adjusted reference batch data volume, wherein the adjusted reference batch data volume is smaller than or equal to the idle batch data volume corresponding to the idle test resources; The adjusted reference batch data volume is used as the target data volume of the same batch of accounting data when the accounting data is transmitted in batches.

4. The method for transmitting account data as claimed in claim 3, characterized in that: After comparing the data size of the account data with the preset data size, the method further includes: If the data volume of the recorded data is equal to the preset data volume, and the comparison result is that the idle test resources are larger than the reference idle resources, the reference batch data volume is increased or kept unchanged to obtain an adjusted reference batch data volume, wherein when the reference batch data volume is increased, the adjusted reference batch data volume is less than or equal to the idle batch data volume corresponding to the idle test resources; The adjusted reference batch data volume is used as the target data volume of the same batch of accounting data when the accounting data is transmitted in batches.

5. The method for transmitting account data as claimed in claim 3, characterized in that: After comparing the data size of the account data with the preset data size, the method further includes: If the data volume of the recorded data is smaller than the preset data volume, and the comparison result is that the idle test resources are larger than the reference idle resources, the reference batch data volume is increased, kept unchanged, or decreased to obtain an adjusted reference batch data volume, wherein when the reference batch data volume is increased, the obtained adjusted reference batch data volume is smaller than or equal to the idle batch data volume corresponding to the idle test resources; The adjusted reference batch data volume is used as the target data volume of the same batch of accounting data when the accounting data is transmitted in batches.

6. The method for transmitting account data as claimed in claim 3, characterized in that: After comparing the data size of the account data with the preset data size, the method further includes: If the data volume of the account data is greater than or equal to the preset data volume, and the comparison result is that the idle test resources are smaller than the reference idle resources, then the reference batch data volume is reduced to obtain an adjusted reference batch data volume; The adjusted reference batch data volume is used as the target data volume of the same batch of accounting data when the accounting data is transmitted in batches.

7. The method for transmitting account data as claimed in claim 3, characterized in that: After comparing the data size of the account data with the preset data size, the method further includes: If the data volume of the account data is smaller than the preset data volume, and the comparison result is that the idle test resources are smaller than the reference idle resources, then the reference batch data volume is reduced to obtain an adjusted reference batch data volume; The adjusted reference batch data volume is used as the target data volume of the same batch of accounting data when the accounting data is transmitted in batches.

8. A device for transmitting account data, characterized in that: The device comprises: A calculation module, used for acquiring the account data to be processed by the peripheral system based on the account data already recorded in the core system, and calculating the data volume of the account data; A determination module, configured to determine idle test resources of the peripheral system in a test scenario, and determine a target data volume of the same batch of account data when the account data is transmitted in batches based on the idle test resources and the data volume of the account data; A batching module, used for batching the account entry data based on the target data volume to obtain multiple batches of target account entry data; The sending module is used to send multiple batches of the target account entry data to the peripheral system in sequence, so that the peripheral system processes the multiple batches of the target account entry data and completes the joint debugging test with the core system.

9. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed on a computer, the computer executes the method for transmitting accounting data according to any one of claims 1 to 7.

10. An electronic device, characterized in that: The electronic device includes a processor and a memory, wherein a computer program is stored in the memory, and the processor is used to execute the method for transmitting accounting data according to any one of claims 1 to 7 by calling the computer program stored in the memory.

Citation Information

Patent Citations

  • Data query method, system and device and electronic equipment

    CN110096489A

  • Batch task processing method and device, computer equipment and storage medium

    CN110955516A