A method and system for selecting the number of concurrent readings, electronic equipment, and storage medium

By obtaining multiple concurrent value groups set at intervals and optimizing the reading process based on the reading time and accuracy, the reading accuracy problem caused by the increase in concurrent numbers is solved, and efficient and accurate information reading is achieved.

CN118282949BActive Publication Date: 2024-08-27HENGYE ELECTRONICS JIAXING CITY
View PDF 11 Cites 0 Cited by

Patent Information

Application Number
CN202410714699.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-06-04
Publication Date
2024-08-27
Estimated Expiration
2044-06-04

AI Technical Summary

Technical Problem

When copying information, as the number of concurrencies increases, the accuracy of the information cannot be guaranteed, leading to a conflict between efficiency and accuracy.

Method used

By obtaining multiple concurrent value groups set at intervals, concurrent reading of data is performed respectively, and the final concurrent reading value is determined based on the reading time and accuracy, and the reading process is optimized to take into account both efficiency and accuracy.

Benefits of technology

Through twice determined concurrent reading values, it is ensured that the reading effect is better, taking into account the efficiency and accuracy of reading to the greatest extent, and improving the overall performance of information reading.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118282949B
    Figure CN118282949B
Patent Text Reader

Abstract

The embodiments of this specification disclose a method and system for selecting a concurrent reading number, an electronic device, and a storage medium, wherein the concurrent number selection method determines a final concurrent reading number by determining the concurrent reading number twice based on the reading time and the reading accuracy, and the concurrent reading number determined the second time is selected based on the concurrent reading number determined the first time. This makes the reading effect better when the final concurrent reading number is used for formal reading, and takes into account the efficiency and accuracy of reading to the greatest extent.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] Multiple embodiments of the present specification relate to the field of information technology, and specifically to a method and system for selecting a concurrent number of copying and reading, an electronic device, and a storage medium. Background Art

[0002] In commercial or industrial scenarios, it is necessary to periodically read the information of downstream devices, that is, the upstream device actively reads the information of the downstream device. For example, the gas meter data of each user is periodically read, the operating parameter information of each device in the factory is periodically read, and the data of each electric meter in the factory is periodically read.

[0003] In order to improve the efficiency of information reading, currently, a concurrent reading method is usually adopted to read multiple reading objects at the same time. However, in the process of information reading, as the number of concurrent readings increases, the accuracy of the reading information cannot be guaranteed.

[0004] Therefore, there is an urgent need for a method that can ensure the accuracy of copying information while improving copying efficiency. Summary of the invention

[0005] The embodiments of this specification provide a method and system for selecting the number of concurrent readings, an electronic device, and a storage medium, which can improve the reading efficiency and ensure the accuracy of the reading information. The technical solution is as follows:

[0006] In a first aspect, an embodiment of the present specification provides a method for selecting a number of concurrent readings, including:

[0007] Acquire information of each copy-read object and a first concurrent value group, wherein the first concurrent value group includes a plurality of first concurrent values ​​set at intervals;

[0008] Based on the first concurrent values ​​set for each interval, the concurrent reading of data of all reading objects is completed according to the information of each reading object;

[0009] Acquire each first reading time and each first reading accuracy rate for completing concurrent data reading of all reading objects according to each first concurrent value;

[0010] Determine a first selected concurrent value in the first concurrent value group based on the first reading time and the first reading accuracy rate corresponding to each first concurrent value;

[0011] Acquire a second concurrent value group with the first selected concurrent value as the value center, wherein the second concurrent value group includes a plurality of second concurrent values ​​set at intervals;

[0012] Based on the second concurrency values ​​set for each interval, the concurrent reading of data of all reading objects is completed according to the information of each reading object;

[0013] Acquire each second reading time and each second reading accuracy rate for completing concurrent data reading of all reading objects according to each second concurrent value;

[0014] Based on the second copying time and the second copying accuracy rate corresponding to each second concurrent value, a second selected concurrent value is determined in the second concurrent value group.

[0015] As a preferred solution, obtaining the first concurrent value group includes:

[0016] Acquire the reading data item information and / or the reading data transmission protocol information;

[0017] Based on the copied data item information and / or the copied data transmission protocol information, determine the starting concurrent value, the ending concurrent value and the first interval value information;

[0018] A first concurrent value group is obtained based on the starting concurrent value, the ending concurrent value and the first interval value information.

[0019] As a preferred solution, the determining of the first selected concurrent value in the first concurrent value group based on the first copying time and the first copying accuracy rate corresponding to each first concurrent value includes:

[0020] Filter out all first concurrent values ​​in the first concurrent value group whose first copying accuracy is lower than a preset accuracy threshold;

[0021] Based on the first reading time and the first reading accuracy rate corresponding to each first concurrent value in the first concurrent value group after the filtering operation, a first selected concurrent value is determined in the first concurrent value group after the filtering operation.

[0022] As a preferred solution, the method of determining the first selected concurrent value in the first concurrent value group after the filtering operation based on the first reading time and the first reading accuracy rate corresponding to each first concurrent value in the first concurrent value group after the filtering operation includes:

[0023] Obtain time weight coefficient and accuracy weight coefficient;

[0024] Normalizing the first reading time and the first reading accuracy rate corresponding to each first concurrent value in the first concurrent value group after the filtering operation, so as to obtain the normalized first reading time and the normalized first reading accuracy rate corresponding to each first concurrent value in the first concurrent value group after the filtering operation;

[0025] Based on the time weight coefficient, the accuracy weight coefficient, and the normalized first reading time and the normalized first reading accuracy corresponding to each first concurrent value in the first concurrent value group after the filtering operation, obtain the reading result data corresponding to each first concurrent value in the first concurrent value group after the filtering operation;

[0026] Based on the copying result data corresponding to each first concurrent value in the first concurrent value group after the filtering operation, the first selected concurrent value in the first concurrent value group after the filtering operation is determined.

[0027] As a preferred solution, the step of obtaining the second concurrent value group with the first selected concurrent value as the value center includes:

[0028] Based on the reading result data of the first selected concurrent value, the reading result data of the first concurrent value located one interval before the first selected concurrent value in the first concurrent value group, and the reading result data of the first concurrent value located one interval after the first selected concurrent value in the first concurrent value group, obtaining the change of the reading result data;

[0029] Determine the second interval numerical information based on the first interval numerical information and the change of the copy reading result data;

[0030] A second concurrent value group is obtained by taking the first selected concurrent value as the value center and based on the second interval value information.

[0031] As a preferred solution, the reading result data based on the reading result data of the first selected concurrent value, the reading result data of the first concurrent value located one interval before the first selected concurrent value in the first concurrent value group, and the reading result data of the first concurrent value located one interval after the first selected concurrent value in the first concurrent value group, obtain the change of the reading result data, including:

[0032] Based on the reading result data of the first selected concurrent value and the reading result data of the first concurrent value in the first concurrent value group that is located one interval before the first selected concurrent value, obtaining the change of the previous reading result data;

[0033] Based on the reading result data of the first selected concurrent value and the reading result data of the first concurrent value in the first concurrent value group that is located one interval after the first selected concurrent value, the change of the reading result data after acquisition;

[0034] The determining of the second interval numerical information based on the first interval numerical information and the change of the copy reading result data includes:

[0035] Determine the front interval numerical value information based on the first interval numerical value information and the change of the front copy reading result data, and determine the rear interval numerical value information based on the first interval numerical value information and the change of the rear copy reading result data;

[0036] The method of taking the first selected concurrent value as the value center and based on the second interval value information to obtain the second concurrent value group includes:

[0037] The second concurrent value group is obtained by taking the first selected concurrent value as the value center and based on the previous interval value size information and the subsequent interval value size information.

[0038] As a preferred solution, the change of the previous reading result data includes: first change rate data and first value difference data between the reading result data of the first selected concurrent value and the reading result data of the first concurrent value in the first concurrent value group located in an interval before the first selected concurrent value;

[0039] The post-reading result data change includes second change rate data and second value difference data between the reading result data of the first selected concurrent value and the reading result data of the first concurrent value in the first concurrent value group that is located one interval after the first selected concurrent value.

[0040] In a second aspect, an embodiment of the present specification provides a system for selecting a concurrent number of copying and reading, including a first acquisition module, a copying and reading module, a second acquisition module, and a selection module;

[0041] The first acquisition module acquires information of each copying object and a first concurrent value group, wherein the first concurrent value group includes a plurality of first concurrent values ​​set at intervals;

[0042] The reading module completes concurrent reading of data of all reading objects according to information of each reading object based on the first concurrent value set at each interval;

[0043] The second acquisition module acquires each first reading time and each first reading accuracy rate of the reading module completing the concurrent reading of data for all reading objects according to each first concurrent value;

[0044] The selection module determines the first selected concurrent value in the first concurrent value group based on the first reading time and the first reading accuracy rate corresponding to each first concurrent value;

[0045] The first acquisition module further acquires a second concurrent value group with the first selected concurrent value as the value center, wherein the second concurrent value group includes a plurality of second concurrent values ​​set at intervals;

[0046] The reading module also completes concurrent reading of data of all reading objects according to the information of each reading object based on the second concurrent values ​​set at each interval;

[0047] The second acquisition module further acquires each second reading time and each second reading accuracy rate when the reading module completes the concurrent reading of data of all reading objects according to each second concurrent value;

[0048] The selection module further determines the second selected concurrent value in the second concurrent value group based on the second reading time and the second reading accuracy rate corresponding to each second concurrent value.

[0049] In a third aspect, an embodiment of this specification provides an electronic device, comprising a processor and a memory; the processor is connected to the memory; the memory is used to store executable program code; the processor runs a program corresponding to the executable program code by reading the executable program code stored in the memory, so as to execute the steps described in the first aspect of the above embodiment.

[0050] In a fourth aspect, an embodiment of this specification provides a computer storage medium, wherein the computer storage medium stores a plurality of instructions, wherein the instructions are suitable for being loaded by a processor and executing the steps described in the first aspect of the above embodiment.

[0051] The beneficial effects brought by the technical solutions provided by some embodiments of this specification include at least:

[0052] The final reading concurrency value is determined by twice determining the reading concurrency value based on the reading time and the reading accuracy, and the second reading concurrency value is selected based on the first reading concurrency value, so that the reading effect is better when the final reading concurrency value is used for formal reading, and the reading efficiency and reading accuracy are taken into account to the greatest extent. BRIEF DESCRIPTION OF THE DRAWINGS

[0053] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0054] Figure 1 It is a schematic diagram of the architecture of an implementation process of a method for selecting a concurrent number of copying and reading provided in an embodiment of this specification.

[0055] Figure 2 It is a flowchart of a method for selecting a concurrent number of copying and reading provided in an embodiment of this specification.

[0056] Figure 3 It is a structural diagram of a system for selecting a concurrent number of copying and reading provided in an embodiment of this specification.

[0057] Figure 4 It is a structural schematic diagram of an electronic device provided in an embodiment of this specification. DETAILED DESCRIPTION

[0058] The technical solutions in the embodiments of this specification will be described clearly and completely below in conjunction with the drawings in the embodiments of this specification.

[0059] The terms "first", "second", "third", etc. in the description and claims of this specification and the above-mentioned drawings are used to distinguish different objects, rather than to describe a specific order. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device that includes a series of steps or units is not limited to the listed steps or units, but optionally includes steps or units that are not listed, or optionally includes other steps or units inherent to these processes, methods, products or devices.

[0060] The following description provides examples and does not limit the scope, applicability or examples set forth in the claims. Changes may be made to the functions and arrangements of the elements described without departing from the scope of the present specification. Various processes or components may be appropriately omitted, substituted or added to each example. For example, the described method may be performed in an order different from the order described, and various steps may be added, omitted or combined. In addition, features described with respect to some examples may be combined in other examples.

[0061] Reference Figure 1 , which is a schematic diagram of an environment architecture for implementing a method for selecting a concurrent number of copying and reading provided in one or more embodiments of this specification.

[0062] The method for selecting the number of concurrent readings provided in one or more embodiments of this specification is applicable to an implementation environment in which the upstream device 101 actively reads data from the downstream device 102. In this implementation environment, the downstream device 102 should include multiple devices, and the upstream device 101 may be one or more devices.

[0063] The upstream device 101 may be a mobile phone, a personal computer, a tablet computer, an IoT (Internet of Things) device, a wearable smart device, a laptop computer, a desktop computer, and the like.

[0064] The downstream equipment 102 may be a gas meter, an electricity meter, a numerical control device, a heat treatment device, a packaging device, etc.

[0065] The following is an explanation of the method for selecting the number of concurrent readings provided in the embodiment of this specification based on the scenario of reading electric meter information:

[0066] The meter information reading scenario includes the system master station, 4G / 5G remote communication module, concentrator (note: upstream device 101), carrier module, and energy meter (note: downstream device 102). The remote communication module and carrier module cannot exist independently, but are plug-and-play modules that are plugged into the concentrator. The power bureau staff sends the energy meter file parameters and collection task parameters to the concentrator through the system master station. The concentrator reads the corresponding energy meter data through power line carrier communication based on these parameter information, and stores it in the database after reading. The energy meter data is uploaded to the system master station through the system master station’s call for reading or the concentrator’s active reporting. The system master station processes and counts the data, or collects electricity fees based on these data.

[0067] The carrier module has been updated from the original narrowband carrier to the current high-speed carrier (HPLC). The narrowband carrier can only read one piece of data from a meter at the same time. After the data is replied, another message can be sent. HPLC can support reading data from multiple meters at the same time. After the data is replied, another message can be sent. This way, the reading efficiency is several times higher than that of the narrowband carrier. The number of meters that can be read at the same time is called the concurrent number.

[0068] The default concurrency number set by HPLC manufacturers is generally large, such as 60. However, concentrator manufacturers will not directly use the concurrency number of 60, but use their own empirical values. For example, some manufacturers use 5, and some manufacturers use 10. However, directly using empirical values ​​cannot achieve the best reading effect in various reading scenarios. Therefore, different reading concurrency numbers need to be determined for different reading scenarios.

[0069] That is, it can be understood that in the scenario of meter information reading, before the concentrator formally reads data from multiple electricity meters, it is necessary to first select the reading concurrency number using the reading concurrency selection method described in the subsequent multiple embodiments of this specification. During the subsequent formal reading, the selected concurrency number is used to read data from multiple electricity meters in turn, so as to maximize the balance between reading efficiency and reading accuracy.

[0070] Reference Figure 2 As shown, Figure 2 A flowchart of a method for selecting a concurrent number of readings provided in an embodiment of this specification is applied to an upstream device 101 and may include at least the following steps:

[0071] Step 202: Acquire information of each copy-read object and a first concurrent value group, wherein the first concurrent value group includes a plurality of first concurrent values ​​set at intervals;

[0072] Step 204, based on the first concurrent values ​​set for each interval, concurrent reading of data of all reading objects is completed according to the information of each reading object;

[0073] Step 206, obtaining each first reading time and each first reading accuracy rate for completing concurrent data reading of all reading objects according to each first concurrent value;

[0074] Step 208: determining a first selected concurrent value in the first concurrent value group based on the first reading time and the first reading accuracy rate corresponding to each first concurrent value;

[0075] Step 210: obtaining a second concurrent value group with the first selected concurrent value as the value center, wherein the second concurrent value group includes a plurality of second concurrent values ​​set at intervals;

[0076] Step 212, based on the second concurrency values ​​set for each interval, concurrent reading of data of all reading objects is completed according to the information of each reading object;

[0077] Step 214, obtaining each second reading time and each second reading accuracy rate for completing concurrent data reading of all reading objects according to each second concurrent value;

[0078] Step 216: Determine a second selected concurrent value in the second concurrent value group based on the second reading time and the second reading accuracy rate corresponding to each second concurrent value.

[0079] The method for selecting the concurrent reading number described in multiple embodiments of this specification determines the final concurrent reading number by determining the concurrent reading number twice based on the reading time and the reading accuracy, and the concurrent reading number determined for the second time is selected based on the concurrent reading number determined for the first time, so that the reading effect is better when the final concurrent reading number is used for formal reading, and the reading efficiency and reading accuracy are taken into account to the greatest extent.

[0080] It should be noted that the copy-read object information is the identity and / or address information of the copy-read object, so that the information of the corresponding copy-read object can be copied according to the identity and / or address information of the copy-read object.

[0081] In one embodiment of the present specification, obtaining the first concurrent value group includes:

[0082] Step 2022: Acquire the copy-read data item information and / or the copy-read data transmission protocol information;

[0083] Step 2024: Determine the starting concurrent value, the ending concurrent value, and the first interval value information based on the copied data item information and / or the copied data transmission protocol information;

[0084] Step 2026: Obtain a first concurrent value group based on the starting concurrent value, the ending concurrent value, and the first interval value information.

[0085] It is understandable that the types and numbers of information items that need to be read in different reading scenarios are different. For example, the electric meter information reading scenario requires reading the meter usage, meter voltage, meter current, meter status and other information, while the gas meter information reading scenario requires reading the gas meter usage flow, gas meter temperature, gas meter status, valve status and other information. There may also be differences in the same reading scenario. Moreover, the data transmission protocols used in different reading scenarios are also different. For example, for reading scenarios with higher security requirements, a more secure data transmission protocol is required.

[0086] Therefore, when the same reading concurrency number is used to read information under different reading data item information and / or reading data transmission protocol information, the effect is different. Therefore, it is necessary to determine the starting concurrency value, the ending concurrency value and the first interval value information based on the reading data item information and / or the reading data transmission protocol information, and then obtain the first concurrency value group, instead of using the same first concurrency value group for all reading scenarios.

[0087] Preferably, the interval values ​​between each two adjacent first concurrent values ​​in the first concurrent value group are the same, because it is only a preliminary screening and no differentiated setting is required to avoid increasing the amount of calculation.

[0088] In one embodiment of the present specification, determining the first selected concurrent value in the first concurrent value group based on the first reading time and the first reading accuracy rate corresponding to each first concurrent value includes:

[0089] Step 2082, filtering out all first concurrent values ​​in the first concurrent value group whose first copying accuracy is lower than a preset accuracy threshold;

[0090] Step 2084: Determine a first selected concurrent value in the first concurrent value group after the filtering operation based on the first reading time and the first reading accuracy rate corresponding to each first concurrent value in the first concurrent value group after the filtering operation.

[0091] It is understandable that no matter what the copying scenario is, there is a lower limit for the copying accuracy. Copying methods with an accuracy rate lower than this cannot be used no matter how high their copying efficiency is.

[0092] Therefore, in this embodiment, a preset accuracy threshold is set in advance, and all first concurrent values ​​in the first concurrent value group whose first copying accuracy is lower than the preset accuracy threshold are filtered out, and the subsequent concurrent number determination operation is subsequently performed only for the first concurrent values ​​that are not filtered out.

[0093] In one embodiment of the present specification, determining the first selected concurrent value in the first concurrent value group after the filtering operation based on the first reading time and the first reading accuracy rate corresponding to each first concurrent value in the first concurrent value group after the filtering operation includes:

[0094] Step 20842: Obtain the time weight coefficient and the accuracy weight coefficient;

[0095] Step 20844: normalize the first reading time and the first reading accuracy rate corresponding to each first concurrent value in the first concurrent value group after the filtering operation, so as to obtain the normalized first reading time and the normalized first reading accuracy rate corresponding to each first concurrent value in the first concurrent value group after the filtering operation;

[0096] Step 20846: based on the time weight coefficient, the accuracy weight coefficient, and the normalized first reading time and the normalized first reading accuracy corresponding to each first concurrent value in the first concurrent value group after the filtering operation, obtain the reading result data corresponding to each first concurrent value in the first concurrent value group after the filtering operation;

[0097] Step 20848: Based on the copying result data corresponding to each first concurrent value in the first concurrent value group after the filtering operation, determine the first selected concurrent value in the first concurrent value group after the filtering operation.

[0098] It can be understood that, in this embodiment, different weight coefficients are given to the copying and reading time and the copying and reading accuracy, and the copying and reading time and the copying and reading accuracy are further normalized to obtain the normalized copying and reading time and the normalized copying and reading accuracy, and then the copying and reading result data corresponding to each first concurrent value is calculated based on the corresponding weight coefficient, the normalized copying and reading time, and the normalized copying and reading accuracy, and the copying and reading result data corresponding to each first concurrent value is used as the selection basis of the first selected concurrent value.

[0099] It should be noted that normalization is a commonly used technique in data preprocessing. Its main purpose is to scale the data to a fixed range, usually between 0 and 1.

[0100] In one embodiment of the present specification, the accuracy weight coefficient is greater than the acquisition time weight coefficient because accuracy is more important for various copying scenarios.

[0101] The reading result data can be calculated by, but not limited to, the following methods:

[0102] ;

[0103] in, Indicates the reading result data. represents the time weight coefficient, represents the accuracy weight coefficient, Indicates the normalized first reading time, Indicates the normalized first copy reading accuracy.

[0104] The solution described in this embodiment is explained below through specific examples:

[0105] For example, the first concurrent values ​​in the first concurrent value group are: 5, 10, 15, 20, 25, 30, 35, 40, and the corresponding reading result data of these 8 concurrent values ​​are: 2.6, 2.8, 3.5, 4.9, 7.0, 6.1, 5.2, 4.8. Therefore, in this embodiment, 25 is selected as the first selected concurrent value, because the corresponding reading result data 7.0 is the largest among the 8 reading result data.

[0106] In one embodiment of the present specification, the step of obtaining a second concurrent value group with the first selected concurrent value as the value center includes:

[0107] Step 2102: based on the reading result data of the first selected concurrent value, the reading result data of the first concurrent value in the first concurrent value group located one interval before the first selected concurrent value, and the reading result data of the first concurrent value in the first concurrent value group located one interval after the first selected concurrent value, obtain the change of the reading result data;

[0108] Step 2104: Determine the second interval value information based on the first interval value information and the change of the copy reading result data;

[0109] Step 2106: Taking the first selected concurrent value as the value center and based on the second interval value information, obtain a second concurrent value group.

[0110] It can be understood that, in this embodiment, based on the reading result data corresponding to the first selected concurrent value and the reading result data corresponding to the two adjacent first concurrent values, the reading result data change is obtained, and the second interval value information is further determined based on the reading result data change, so that the second interval value setting is more reasonable.

[0111] In one embodiment of the present specification, the step of obtaining the change of the reading result data based on the reading result data of the first selected concurrent value, the reading result data of the first concurrent value located one interval before the first selected concurrent value in the first concurrent value group, and the reading result data of the first concurrent value located one interval after the first selected concurrent value in the first concurrent value group includes:

[0112] Step 21022: based on the reading result data of the first selected concurrent value and the reading result data of the first concurrent value in the first concurrent value group that is located one interval before the first selected concurrent value, obtain the change of the previous reading result data;

[0113] Step 21024: based on the reading result data of the first selected concurrent value and the reading result data of the first concurrent value in the first concurrent value group that is located one interval after the first selected concurrent value, obtain the change of the subsequent reading result data.

[0114] The determining of the second interval numerical information based on the first interval numerical information and the change of the copy reading result data includes:

[0115] The front interval numerical value information is determined based on the first interval numerical value information and the change of the front copy reading result data, and the rear interval numerical value information is determined based on the first interval numerical value information and the change of the rear copy reading result data.

[0116] The method of taking the first selected concurrent value as the value center and based on the second interval value information to obtain the second concurrent value group includes:

[0117] The second concurrent value group is obtained by taking the first selected concurrent value as the value center and based on the previous interval value size information and the subsequent interval value size information.

[0118] It can be further understood that, since the data changes of the front copy reading results and the data changes of the rear copy reading results are calculated respectively, the numerical interval of the front end and the numerical interval of the rear end of the first selected concurrent value in the second concurrent value group can be set to be different, so that the second interval value setting is more reasonable.

[0119] In one embodiment of the present specification, the change of the previous reading result data includes: first change rate data and first value difference data between the reading result data of the first selected concurrent value and the reading result data of the first concurrent value in the first concurrent value group that is located one interval before the first selected concurrent value;

[0120] The post-reading result data change includes second change rate data and second value difference data between the reading result data of the first selected concurrent value and the reading result data of the first concurrent value in the first concurrent value group that is located one interval after the first selected concurrent value.

[0121] It is understandable that when setting the value interval in the second concurrent value group, the data change rate of the reading result and the data difference of the reading result are considered at the same time, so as to set the second concurrent value group more reasonably.

[0122] The solution described in this embodiment is explained below through specific examples:

[0123] Using the example in the above corresponding embodiment, the reading result data of the first selected concurrent value is 7.0, the reading result data of the first concurrent value located in the first concurrent value group one interval before the first selected concurrent value is 4.9, and the reading result data of the first concurrent value located in the first concurrent value group one interval after the first selected concurrent value is 6.1. Further, based on the reading result data being 4.9, 7.0, and 6.1, the reading result data change is obtained.

[0124] It should be noted here that the change of the copy reading result data includes the first change rate data, the first value difference data, the second change rate data, and the second value difference data:

[0125] Among them, the first change rate data is (7.0-4.9) / 4.9=0.43, and the first numerical difference data is 7.0-4.9=2.1; the second change rate data is (7.0-6.1) / 6.1=0.15, and the second numerical difference data is 7.0-6.1=0.9.

[0126] It is understandable that within the interval range where the change rate of the copy reading result data is greater or the difference of the copy reading result data is greater, the change of its concurrent value has a greater impact on the floating of the copy reading result data. Therefore, the second concurrent value should be set at a smaller interval within the interval range to avoid not selecting a concurrent value with a better copy reading effect. Based on the above calculation results, it can be known that the first change rate data is greater than the second change rate data, and the first value difference data is greater than the second value difference data, that is, the second concurrent value group can be set to, but is not limited to: 21, 22, 23, 24, 25, 27, 29, that is, the interval value of the front end of the first selected concurrent value is larger than that of the back end.

[0127] During the specific setting process, the interval value can be selected based on but not limited to a preset mapping relationship table, which should include: the mapping relationship between the first interval value information, the change rate data, the value difference data, and the interval value in the second concurrent value group.

[0128] It can also be understood that when setting the second concurrent value group, the interval range at both ends of the first selected concurrent value does not need to exceed the first interval value, so the above also needs to set the value interval in the second concurrent value group based on the first interval value information.

[0129] The above is a description of a specific embodiment of the specification. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recorded in the claims can be performed in an order different from that in the embodiments and still achieve the desired results. In addition, the processes depicted in the drawings do not necessarily require the specific order or continuous order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.

[0130] See next Figure 3 , Figure 3 A schematic diagram of the structure of a system for selecting a concurrent number of copying and reading provided in an embodiment of the present specification is shown.

[0131] The system for selecting the number of concurrent readings is applied to the upstream device 101, such as Figure 3 As shown, the system for selecting the number of concurrent readings may at least include a first acquisition module 301, a reading module 302, a second acquisition module 303, and a selection module 304;

[0132] The first acquisition module 301 acquires information of each copying object and a first concurrent value group, wherein the first concurrent value group includes a plurality of first concurrent values ​​set at intervals;

[0133] The reading module 302 completes concurrent reading of data of all reading objects according to information of each reading object based on the first concurrent value set at each interval;

[0134] The second acquisition module 303 acquires each first reading time and each first reading accuracy rate of the reading module completing the concurrent reading of data for all reading objects according to each first concurrent value;

[0135] The selection module 304 determines a first selected concurrent value in the first concurrent value group based on the first reading time and the first reading accuracy rate corresponding to each first concurrent value;

[0136] The first acquisition module 301 further acquires a second concurrent value group with the first selected concurrent value as the value center, wherein the second concurrent value group includes a plurality of second concurrent values ​​set at intervals;

[0137] The reading module 302 also completes concurrent reading of data of all reading objects according to the information of each reading object based on the second concurrent value set at each interval;

[0138] The second acquisition module 303 further acquires each second reading time and each second reading accuracy rate when the reading module completes the concurrent reading of data of all reading objects according to each second concurrent value;

[0139] The selection module 304 further determines the second selected concurrent value in the second concurrent value group based on the second reading time and the second reading accuracy rate corresponding to each second concurrent value.

[0140] In one embodiment of the present specification, the first acquisition module 301 includes a first acquisition subunit 3011, a second acquisition subunit 3012, and a third acquisition subunit 3013;

[0141] The first acquisition subunit 3011 acquires the copy-read data item information and / or the copy-read data transmission protocol information;

[0142] The second acquisition subunit 3012 determines the starting concurrent value, the ending concurrent value and the first interval value information based on the copied data item information and / or the copied data transmission protocol information;

[0143] The third acquisition subunit 3013 acquires a first concurrent value group based on the start concurrent value, the end concurrent value and the first interval value information.

[0144] In one embodiment of the present specification, the selection module 304 includes a filtering unit 3041 and a first selection unit 3042;

[0145] The filtering unit 3041 filters out all first concurrent values ​​in the first concurrent value group whose first copying accuracy is lower than a preset accuracy threshold;

[0146] The first selecting unit 3042 determines a first selected concurrent value in the first concurrent value group after the filtering operation based on the first reading time and the first reading accuracy rate corresponding to each first concurrent value in the first concurrent value group after the filtering operation.

[0147] In one embodiment of the present specification, the first selecting unit 3042 includes a coefficient determining subunit 30421, a normalizing subunit 30422, a calculating subunit 30423, and a first selecting subunit 30424;

[0148] The coefficient determination subunit 30421 obtains the time weight coefficient and the accuracy weight coefficient;

[0149] The normalization subunit 30422 performs normalization processing on the first reading time and the first reading accuracy rate corresponding to each first concurrent value in the first concurrent value group after the filtering operation, so as to obtain the normalized first reading time and the normalized first reading accuracy rate corresponding to each first concurrent value in the first concurrent value group after the filtering operation;

[0150] The calculation subunit 30423 obtains the reading result data corresponding to each first concurrent value in the first concurrent value group after the filtering operation based on the time weight coefficient, the accuracy weight coefficient, and the normalized first reading time and the normalized first reading accuracy corresponding to each first concurrent value in the first concurrent value group after the filtering operation;

[0151] The first selecting subunit 30424 determines a first selected concurrent value in the first concurrent value group after the filtering operation based on the copying result data corresponding to each first concurrent value in the first concurrent value group after the filtering operation.

[0152] In one embodiment of the present specification, the first acquisition module 301 further includes a fourth acquisition subunit 3014, a fifth acquisition subunit 3015, and a sixth acquisition subunit 3016;

[0153] The fourth acquisition subunit 3014 acquires the change of the reading result data based on the reading result data of the first selected concurrent value, the reading result data of the first concurrent value in the first concurrent value group located one interval before the first selected concurrent value, and the reading result data of the first concurrent value in the first concurrent value group located one interval after the first selected concurrent value;

[0154] The fifth acquisition subunit 3015 determines the second interval value information based on the first interval value information and the change of the copying result data;

[0155] The sixth acquisition subunit 3016 acquires a second concurrent value group based on the first selected concurrent value as the value center and based on the second interval value information.

[0156] In one embodiment of the present specification, the fourth acquisition subunit 3014 acquires the change of the previous reading result data based on the reading result data of the first selected concurrent value and the reading result data of the first concurrent value in the first concurrent value group that is located in an interval before the first selected concurrent value;

[0157] The fourth acquisition subunit 3014 also acquires the change of the subsequent reading result data based on the reading result data of the first selected concurrent value and the reading result data of the first concurrent value in the first concurrent value group that is located one interval after the first selected concurrent value.

[0158] The fifth acquisition subunit 3015 determines the previous interval value information based on the first interval value information and the change of the previous reading result data;

[0159] The fifth obtaining subunit 3015 further determines the later interval value size information based on the first interval value information and the change of the later copying result data.

[0160] The sixth acquisition subunit 3016 acquires a second concurrent value group based on the first selected concurrent value as the value center and based on the previous interval value size information and the subsequent interval value size information.

[0161] In one embodiment of the present specification, the change of the previous reading result data acquired by the fourth acquisition subunit 3014 includes: first change rate data and first value difference data between the reading result data of the first selected concurrent value and the reading result data of the first concurrent value in the first concurrent value group that is located in an interval before the first selected concurrent value;

[0162] The change of the post-reading result data acquired by the fourth acquisition subunit 3014 includes second change rate data and second value difference data between the reading result data of the first selected concurrent value and the reading result data of the first concurrent value in the first concurrent value group that is located one interval after the first selected concurrent value.

[0163] Each embodiment in this specification is described in a progressive manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the embodiment of the system for selecting the number of concurrent readings, since it is basically similar to the embodiment of the method for selecting the number of concurrent readings, the description is relatively simple, and the relevant parts can be referred to the partial description of the embodiment of the method for selecting the number of concurrent readings.

[0164] See also Figure 4 A schematic diagram of the structure of an electronic device provided in an embodiment of this specification is shown.

[0165] like Figure 4 As shown, the electronic device 400 may include: at least one processor 401 , at least one network interface 404 , a user interface 403 , a memory 405 , and at least one communication bus 402 .

[0166] The communication bus 402 may be used to realize the connection and communication among the above-mentioned components.

[0167] The user interface 403 may include buttons, and the optional user interface may also include a standard wired interface or a wireless interface.

[0168] The network interface 404 may include, but is not limited to, a Bluetooth module, an NFC module, a Wi-Fi module, etc.

[0169] Among them, the processor 401 may include one or more processing cores. The processor 401 uses various interfaces and lines to connect the various parts of the entire electronic device 400, and executes various functions and processes data of the electronic device 400 by running or executing instructions, programs, code sets or instruction sets stored in the memory 405, and calling data stored in the memory 405. Optionally, the processor 401 can be implemented in at least one hardware form of DSP, FPGA, and PLA. The processor 401 can integrate one or a combination of CPU, GPU, modem, etc. Among them, the CPU mainly processes the operating system, user interface, and application programs; the GPU is responsible for rendering and drawing the content to be displayed on the display screen; the modem is used to process wireless communications. It can be understood that the above-mentioned modem may not be integrated into the processor 401, and it can be implemented separately through a chip.

[0170] Among them, the memory 405 may include RAM or ROM. Optionally, the memory 405 includes a non-transitory computer-readable medium. The memory 405 can be used to store instructions, programs, codes, code sets or instruction sets. The memory 405 may include a program storage area and a data storage area, wherein the program storage area may store instructions for implementing an operating system, instructions for at least one function (such as a touch function, a sound playback function, an image playback function, etc.), instructions for implementing the above-mentioned various method embodiments, etc.; the data storage area may store data involved in the above-mentioned various method embodiments, etc. The memory 405 may also be at least one storage device located away from the aforementioned processor 401. The memory 405 as a computer storage medium may include an operating system, a network communication module, a user interface module, and a copying and reading concurrent number selection application. The processor 401 may be used to call the copying and reading concurrent number selection application stored in the memory 405, and execute the steps of the copying and reading concurrent number selection method mentioned in the aforementioned embodiment.

[0171] The embodiment of this specification also provides a computer-readable storage medium, which stores instructions, and when the instructions are executed on a computer or a processor, the computer or the processor executes one or more steps in the embodiment of the above-mentioned method for selecting the number of concurrent readings. If the components of the above-mentioned electronic device are implemented in the form of software functional units and sold or used as independent products, they can be stored in the computer-readable storage medium.

[0172] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented by software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the process or function described in the embodiment of this specification is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium or transmitted through the computer-readable storage medium. The computer instructions can be transmitted from a website site, computer, server or data center to another website site, computer, server or data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line (Digital Subscriber Line, DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) mode. The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device such as a server or data center that includes one or more available media integrated. The available medium may be a magnetic medium (eg, a floppy disk, a hard disk, a magnetic tape), an optical medium (eg, a digital versatile disc (DVD)), or a semiconductor medium (eg, a solid state drive (SSD)).

[0173] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiments can be implemented by instructing the relevant hardware through a computer program, and the program can be stored in a computer-readable storage medium. When the program is executed, it can include the processes of the embodiments of the above-mentioned methods. The aforementioned storage medium includes: ROM, RAM, magnetic disk or optical disk and other media that can store program codes. In the absence of conflict, the technical features in this embodiment and the implementation scheme can be combined arbitrarily.

[0174] The embodiments described above are merely preferred embodiments of this specification and are not intended to limit the scope of this specification. Without departing from the design spirit of this specification, various modifications and improvements made to the technical solutions of this specification by ordinary technicians in this field should fall within the scope of protection determined by the claims of this specification.

Claims

1. A method for selecting the number of concurrent copying and reading, characterized in that: include: Acquire information of each copy-read object and a first concurrent value group, wherein the first concurrent value group includes a plurality of first concurrent values ​​set at intervals; Based on the first concurrent values ​​set for each interval, the concurrent reading of data of all reading objects is completed according to the information of each reading object; Acquire each first reading time and each first reading accuracy rate for completing concurrent data reading of all reading objects according to each first concurrent value; Determine a first selected concurrent value in the first concurrent value group based on the first reading time and the first reading accuracy rate corresponding to each first concurrent value; Acquire a second concurrent value group with the first selected concurrent value as the value center, wherein the second concurrent value group includes a plurality of second concurrent values ​​set at intervals; Based on the second concurrency values ​​set for each interval, the concurrent reading of data of all reading objects is completed according to the information of each reading object; Acquire each second reading time and each second reading accuracy rate for completing concurrent data reading of all reading objects according to each second concurrent value; Determine a second selected concurrent value in the second concurrent value group based on the second copying time and the second copying accuracy rate corresponding to each second concurrent value; The determining of the first selected concurrent value in the first concurrent value group based on the first reading time and the first reading accuracy rate corresponding to each first concurrent value includes: Filter out all first concurrent values ​​in the first concurrent value group whose first copying accuracy is lower than a preset accuracy threshold; Determine a first selected concurrent value in the first concurrent value group after the filtering operation based on the first reading time and the first reading accuracy rate corresponding to each first concurrent value in the first concurrent value group after the filtering operation; The determining of the first selected concurrent value in the first concurrent value group after the filtering operation based on the first reading time and the first reading accuracy rate corresponding to each first concurrent value in the first concurrent value group after the filtering operation includes: Obtain time weight coefficient and accuracy weight coefficient; Normalizing the first reading time and the first reading accuracy rate corresponding to each first concurrent value in the first concurrent value group after the filtering operation, so as to obtain the normalized first reading time and the normalized first reading accuracy rate corresponding to each first concurrent value in the first concurrent value group after the filtering operation; Based on the time weight coefficient, the accuracy weight coefficient, and the normalized first reading time and the normalized first reading accuracy corresponding to each first concurrent value in the first concurrent value group after the filtering operation, obtain the reading result data corresponding to each first concurrent value in the first concurrent value group after the filtering operation; Based on the copying result data corresponding to each first concurrent value in the first concurrent value group after the filtering operation, the first selected concurrent value in the first concurrent value group after the filtering operation is determined.

2. A method for selecting the number of concurrent readings according to claim 1, characterized in that: Obtaining the first concurrent value group includes: Acquire the reading data item information and / or the reading data transmission protocol information; Based on the copied data item information and / or the copied data transmission protocol information, determine the starting concurrent value, the ending concurrent value and the first interval value information; A first concurrent value group is obtained based on the starting concurrent value, the ending concurrent value and the first interval value information.

3. A method for selecting the number of concurrent readings according to claim 1, characterized in that: The step of obtaining a second concurrent value group with the first selected concurrent value as the value center includes: Based on the reading result data of the first selected concurrent value, the reading result data of the first concurrent value located one interval before the first selected concurrent value in the first concurrent value group, and the reading result data of the first concurrent value located one interval after the first selected concurrent value in the first concurrent value group, obtaining the change of the reading result data; Determine the second interval numerical information based on the first interval numerical information and the change of the copy reading result data; A second concurrent value group is obtained by taking the first selected concurrent value as the value center and based on the second interval value information.

4. A method for selecting the number of concurrent readings according to claim 3, characterized in that: The method of obtaining the change of the reading result data based on the reading result data of the first selected concurrent value, the reading result data of the first concurrent value located in an interval before the first selected concurrent value in the first concurrent value group, and the reading result data of the first concurrent value located in an interval after the first selected concurrent value in the first concurrent value group includes: Based on the reading result data of the first selected concurrent value and the reading result data of the first concurrent value in the first concurrent value group that is located one interval before the first selected concurrent value, obtaining the change of the previous reading result data; Based on the reading result data of the first selected concurrent value and the reading result data of the first concurrent value in the first concurrent value group that is located one interval after the first selected concurrent value, the change of the reading result data after acquisition; The determining of the second interval numerical information based on the first interval numerical information and the change of the copy reading result data includes: Determine the front interval numerical value information based on the first interval numerical value information and the change of the front copy reading result data, and determine the rear interval numerical value information based on the first interval numerical value information and the change of the rear copy reading result data; The method of taking the first selected concurrent value as the value center and based on the second interval value information to obtain the second concurrent value group includes: The second concurrent value group is obtained by taking the first selected concurrent value as the value center and based on the previous interval value size information and the subsequent interval value size information.

5. A method for selecting the number of concurrent readings according to claim 4, characterized in that: The change of the previous reading result data includes: first change rate data and first value difference data between the reading result data of the first selected concurrent value and the reading result data of the first concurrent value in the first concurrent value group that is located one interval before the first selected concurrent value; The post-reading result data change includes second change rate data and second value difference data between the reading result data of the first selected concurrent value and the reading result data of the first concurrent value in the first concurrent value group that is located one interval after the first selected concurrent value.

6. A system for selecting the number of concurrent readings, based on a method for selecting the number of concurrent readings according to any one of claims 1 to 5, characterized in that: It includes a first acquisition module, a copying module, a second acquisition module, and a selection module; The first acquisition module acquires information of each copying object and a first concurrent value group, wherein the first concurrent value group includes a plurality of first concurrent values ​​set at intervals; The reading module completes concurrent reading of data of all reading objects according to information of each reading object based on the first concurrent value set at each interval; The second acquisition module acquires each first reading time and each first reading accuracy rate of the reading module completing the concurrent reading of data for all reading objects according to each first concurrent value; The selection module determines the first selected concurrent value in the first concurrent value group based on the first reading time and the first reading accuracy rate corresponding to each first concurrent value; The first acquisition module further acquires a second concurrent value group with the first selected concurrent value as the value center, wherein the second concurrent value group includes a plurality of second concurrent values ​​set at intervals; The reading module also completes concurrent reading of data of all reading objects according to the information of each reading object based on the second concurrent values ​​set at each interval; The second acquisition module further acquires each second reading time and each second reading accuracy rate when the reading module completes the concurrent reading of data of all reading objects according to each second concurrent value; The selection module further determines the second selected concurrent value in the second concurrent value group based on the second reading time and the second reading accuracy rate corresponding to each second concurrent value.

7. An electronic device comprising a processor and a memory; The processor is connected to the memory; The memory is used to store executable program code; The processor runs a program corresponding to the executable program code by reading the executable program code stored in the memory, so as to execute the method according to any one of claims 1 to 5.

8. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the method according to any one of claims 1 to 5 is implemented.

Citation Information

Patent Citations

  • Automatic meter reading method employing broadband carrier communication module

    CN108880619A

  • Electric meter load curve data reading method and device, and electronic equipment

    CN111025068A

  • Method for reading electric energy meter event and electric energy meter reading event system

    CN112614331A

  • Concurrent meter reading method and system applied to HPLC (High Performance Liquid Chromatography) meter reading

    CN115665211A

  • Reading method and device for frozen records of electric energy meter, electronic equipment and medium

    CN115980440A