CN113012415A - Discrete method, device, server and storage medium for uploading wrong peaks of tables of NB-IoT (NB-IoT) - Google Patents

Discrete method, device, server and storage medium for uploading wrong peaks of tables of NB-IoT (NB-IoT) Download PDF

Info

Publication number
CN113012415A
CN113012415A CN202110187046.9A CN202110187046A CN113012415A CN 113012415 A CN113012415 A CN 113012415A CN 202110187046 A CN202110187046 A CN 202110187046A CN 113012415 A CN113012415 A CN 113012415A
Authority
CN
China
Prior art keywords
reporting
time
preset
interval
target
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202110187046.9A
Other languages
Chinese (zh)
Inventor
费战波
师文佼
王坤明
魏帅
安明海
闫洪明
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
SUNTRONT TECH CO LTD
Original Assignee
SUNTRONT TECH CO LTD
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by SUNTRONT TECH CO LTD filed Critical SUNTRONT TECH CO LTD
Priority to CN202110187046.9A priority Critical patent/CN113012415A/en
Publication of CN113012415A publication Critical patent/CN113012415A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G08SIGNALLING
    • G08CTRANSMISSION SYSTEMS FOR MEASURED VALUES, CONTROL OR SIMILAR SIGNALS
    • G08C17/00Arrangements for transmitting signals characterised by the use of a wireless electrical link
    • G08C17/02Arrangements for transmitting signals characterised by the use of a wireless electrical link using a radio link
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q9/00Arrangements in telecontrol or telemetry systems for selectively calling a substation from a main station, in which substation desired apparatus is selected for applying a control signal thereto or for obtaining measured values therefrom
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q2209/00Arrangements in telecontrol or telemetry systems
    • H04Q2209/40Arrangements in telecontrol or telemetry systems using a wireless architecture
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q2209/00Arrangements in telecontrol or telemetry systems
    • H04Q2209/60Arrangements in telecontrol or telemetry systems for transmitting utility meters data, i.e. transmission of data from the reader of the utility meter
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q2209/00Arrangements in telecontrol or telemetry systems
    • H04Q2209/70Arrangements in the main station, i.e. central controller

Abstract

The application provides a method, a device, a server and a storage medium for discrete uploading of NB-IoT tables in a peak-to-peak manner, and relates to the field of data transmission. The method comprises the following steps: respectively determining first reporting time of at least one table from a preset reporting time period according to a preset peak staggering coefficient and a characteristic value of the at least one table; sending a first reporting command to each table, the first reporting command comprising: a first reporting time of each table; the first reporting command is used for enabling each table to upload reporting data at the first reporting time. Compared with the prior art, the method and the device avoid the problems of equipment communication failure or server processing delay and the like possibly caused by communication of a large number of equipment.

Description

Discrete method, device, server and storage medium for uploading wrong peaks of tables of NB-IoT (NB-IoT)
Technical Field
The application relates to the technical field of data transmission, in particular to a method, a device, a server and a storage medium for discrete uploading of NB-IoT tables in a peak-to-peak manner.
Background
With the development of science and technology, the meter reading does not need to be manually carried out to the meter to be read of each resident or unit to be read on site, but the data information of the intelligent meter is obtained through the concentrator or the server through the cooperation between the intelligent meter and the concentrator or the server.
In the prior art, communication between a meter and a concentrator or server is for example performed by wired communication or small wireless communication techniques.
However, if a large number of devices communicate simultaneously, the maximum network load is exceeded, which may result in failure of device communication. Meanwhile, the processing capacity of the server is increased rapidly, so that the problems of server processing delay, blocked service flow and the like can be caused.
Disclosure of Invention
An object of the present invention is to provide a method, an apparatus, a server, and a storage medium for NB-IoT table peak-to-peak uploading dispersion, so as to solve the problem in the prior art that a large amount of devices may cause device communication failure or server processing delay during communication.
In order to achieve the above purpose, the technical solutions adopted in the embodiments of the present application are as follows:
in a first aspect, an embodiment of the present application provides a method for acquiring reported data, where the method includes:
respectively determining the first reporting time of each table from a preset reporting time period according to a preset peak staggering coefficient and the characteristic value of each table;
sending a first reporting command to each table, the first reporting command comprising: a first reporting time of each table; the first reporting command is used for enabling each table to upload reporting data at the first reporting time.
Optionally, the determining, according to the preset peak staggering coefficient and the characteristic value of each table, the first reporting time of each table from a preset reporting time period includes:
dividing the reporting time period according to the preset peak staggering coefficient to obtain a plurality of reporting intervals;
determining a target reporting interval corresponding to each table from the plurality of reporting intervals respectively according to the characteristic value of each table and the number of the plurality of reporting intervals;
and determining the first reporting time of each table according to the characteristic value of each table, the starting time of the reporting time period and the target reporting interval.
Optionally, the determining the first reporting time of each table according to the feature value of each table, the starting time of the reporting time period, and the target reporting interval includes:
calculating the corresponding target position of each table in the target reporting interval according to the characteristic value of each table, the preset peak staggering coefficient and the number;
and calculating the first reporting time of each table according to the starting time, the target reporting interval, the preset peak staggering coefficient and the target position.
Optionally, the dividing the reporting time period according to the preset peak staggering coefficient to obtain a plurality of reporting intervals includes:
dividing the duration of the reporting time period by the preset peak staggering coefficient to obtain the number of the plurality of reporting intervals;
and dividing the reporting time period according to the number to obtain a plurality of reporting intervals.
Optionally, the determining, according to the feature value of each table and the number of the multiple reporting intervals, a target reporting interval corresponding to each table from the multiple reporting intervals respectively includes:
performing remainder operation on the number according to the characteristic value of each table to obtain an interval serial number corresponding to each table;
and determining the interval serial number, and determining a reporting interval corresponding to the interval serial number from the plurality of reporting intervals as the target reporting interval.
Optionally, the calculating, according to the feature value of each table, the preset peak staggering coefficient, and the number of the multiple reporting intervals, a corresponding target position of each table in the target reporting interval includes:
dividing the characteristic value of each table by the number, and then performing remainder operation on the preset peak staggering coefficient to obtain a position serial number corresponding to each table;
and determining the position corresponding to the position sequence number as the target position from the target reporting interval.
Optionally, the calculating the first reporting time of each table according to the starting time, the target reporting interval, the preset peak staggering coefficient and the target position includes:
multiplying the target reporting interval by the preset peak staggering coefficient to obtain peak staggering time in the target reporting interval;
and accumulating according to the starting time, the peak staggering time and the time corresponding to the target position to obtain the first reporting time.
Optionally, before the dividing the preset reporting time period according to the preset peak staggering coefficient to obtain the multiple reporting intervals, the method further includes:
and determining a time period corresponding to the table type as the reporting time period according to a preset table type, wherein the table type is the type of each table.
Optionally, if the reported data includes an identifier of a base station; the method further comprises the following steps:
acquiring a plurality of tables using the base station according to the identification of the base station;
if the number of the tables using the same base station reaches a preset table number threshold value, adjusting the preset peak staggering coefficient;
determining second reporting time for using each table of the base station from the reporting time period according to the adjusted peak staggering coefficient and the characteristic value of each table using the base station;
sending a second reporting command to each table, where the second reporting command includes: and a second reporting time of each table, where the second reporting command is used to enable each table to upload reporting data at the second reporting time.
In a second aspect, another embodiment of the present application provides an apparatus for acquiring reported data, where the apparatus includes: a determining module and a sending module, wherein:
the determining module is used for respectively determining the first reporting time of each table from a preset reporting time period according to a preset peak staggering coefficient and the characteristic value of each table;
the sending module is configured to send a first reporting command to each table, where the first reporting command includes: a first reporting time of each table; the first reporting command is used for enabling each table to upload reporting data at the first reporting time.
Optionally, the apparatus further comprises: the dividing module is used for dividing the reporting time period according to the preset peak staggering coefficient to obtain a plurality of reporting intervals;
the determining module is specifically configured to determine, according to the feature value of each table and the number of the multiple reporting intervals, a target reporting interval corresponding to each table from the multiple reporting intervals respectively; and determining the first reporting time of each table according to the characteristic value of each table, the starting time of the reporting time period and the target reporting interval.
Optionally, the apparatus further comprises: a calculating module, configured to calculate, according to the feature value of each table, the preset peak staggering coefficient, and the number, a corresponding target position of each table in the target reporting interval; and calculating the first reporting time of each table according to the starting time, the target reporting interval, the preset peak staggering coefficient and the target position.
Optionally, the calculating module is specifically configured to divide the duration of the reporting time period by the preset peak staggering coefficient to obtain the number of the multiple reporting intervals;
the dividing module is specifically configured to divide the reporting time period according to the number to obtain the multiple reporting intervals.
Optionally, the calculation module is specifically configured to perform remainder operation on the number according to the feature value of each table to obtain an interval serial number corresponding to each table;
the determining module is specifically configured to determine the interval sequence number, and determine, from the multiple reporting intervals, that a reporting interval corresponding to the interval sequence number is the target reporting interval.
Optionally, the calculation module is specifically configured to divide the feature value of each table by the number, and then perform a remainder operation on the preset peak-to-peak error coefficient to obtain a position serial number corresponding to each table;
the determining module is specifically configured to determine, from the target reporting interval, that the position corresponding to the position sequence number is the target position.
Optionally, the calculating module is specifically configured to multiply the target reporting interval by the preset peak staggering coefficient to obtain peak staggering time in the target reporting interval; and accumulating according to the starting time, the peak staggering time and the time corresponding to the target position to obtain the first reporting time.
Optionally, the determining module is specifically configured to determine, according to a preset table type, that a time period corresponding to the table type is the reporting time period, where the table type is a type of each table.
Optionally, the apparatus further comprises: an acquisition module and an adjustment module, wherein:
the acquisition module is used for acquiring a plurality of tables using the base station according to the identification of the base station;
the adjusting module is configured to adjust the preset peak offset coefficient if the number of tables using the same base station reaches a preset table number threshold;
the determining module is specifically configured to determine, according to the adjusted peak staggering coefficient and the feature value of each table using the base station, second reporting time for using each table of the base station from within the reporting time period;
the sending module is specifically configured to send a second reporting command to each table, where the second reporting command includes: and a second reporting time of each table, where the second reporting command is used to enable each table to upload reporting data at the second reporting time.
In a third aspect, another embodiment of the present application provides a server, including: a processor, a storage medium and a bus, the storage medium storing machine-readable instructions executable by the processor, the processor and the storage medium communicating via the bus when the server is running, the processor executing the machine-readable instructions to perform the steps of the method according to any one of the first aspect.
In a fourth aspect, another embodiment of the present application provides a storage medium having a computer program stored thereon, where the computer program is executed by a processor to perform the steps of the method according to any one of the above first aspects.
The beneficial effect of this application is: by adopting the method for acquiring the reported data, the corresponding reporting time of each table can be respectively determined in the preset reporting time period according to the preset peak error coefficient and the characteristic value of each table, and the corresponding uploading time is sent to each table, so that each table can upload the reported data according to the own uploading time.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are required to be used in the embodiments will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present application and therefore should not be considered as limiting the scope, and for those skilled in the art, other related drawings can be obtained from the drawings without inventive effort.
Fig. 1 is a schematic flow chart of a method for acquiring reported data according to an embodiment of the present application;
fig. 2 is a schematic flow chart of a method for acquiring reported data according to another embodiment of the present application;
fig. 3 is a schematic flow chart of a method for acquiring reported data according to another embodiment of the present application;
fig. 4 is a schematic structural diagram of an apparatus for acquiring reported data according to an embodiment of the present application;
fig. 5 is a schematic structural diagram of an apparatus for acquiring reported data according to another embodiment of the present application;
fig. 6 is a schematic structural diagram of a server according to an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some embodiments of the present application, but not all embodiments.
The components of the embodiments of the present application, generally described and illustrated in the figures herein, can be arranged and designed in a wide variety of different configurations. Thus, the following detailed description of the embodiments of the present application, presented in the accompanying drawings, is not intended to limit the scope of the claimed application, but is merely representative of selected embodiments of the application. All other embodiments, which can be derived by a person skilled in the art from the embodiments of the present application without making any creative effort, shall fall within the protection scope of the present application.
Additionally, the flowcharts used in this application illustrate operations implemented according to some embodiments of the present application. It should be understood that the operations of the flow diagrams may be performed out of order, and steps without logical context may be performed in reverse order or simultaneously. One skilled in the art, under the guidance of this application, may add one or more other operations to, or remove one or more operations from, the flowchart.
An application scenario of the method for acquiring the reported data is a scenario of meter reading through a server, and may determine first reporting time corresponding to each meter according to a preset peak staggering coefficient and a characteristic value of each meter, and then send each determined first reporting time to the corresponding meter, so that each meter may report data according to its own first reporting time, where the meter may be any meter, such as a water meter, a natural gas meter, and/or an electric meter, which may be in communication connection with the server and perform data reporting.
In the embodiments provided in the present application, the table may be, for example, a data acquisition table with a wireless communication function, which may directly communicate with the server through the base station, so that a concentrator is not needed, in one embodiment of the present application, the wireless communication function may be, for example, Narrow Band Internet of Things (NB-IoT) communication, and the setting of the specific wireless communication function may be flexibly adjusted according to the user needs, and is not limited to the above embodiments.
The following explains an acquisition method of reported data provided in the embodiments of the present application with reference to a plurality of specific application examples. Fig. 1 is a schematic flow chart of a method for acquiring reported data according to an embodiment of the present application, and as shown in fig. 1, the method includes:
s101: and respectively determining the first reporting time of at least one table from the preset reporting time period according to the preset peak staggering coefficient and the characteristic value of at least one table.
Illustratively, in an embodiment of the present application, each meter is a meter with a narrowband Internet of Things (NB-IoT) communication function, and each meter can directly communicate with the server through the NB-IoT, so that a link of a concentrator is omitted, and a problem of installation and wiring is solved.
For example, in an embodiment of the present application, the meter may be any meter, such as a water meter, an electric meter, a natural gas meter, etc., which is in communication connection with the server and needs to perform data reporting, and in some possible embodiments, each meter may perform data reporting actively.
Optionally, the feature value of the table is identification information of the table, and may be, for example, table address information (also called a table number, that is, an Identity (id) of the table) corresponding to the table, a serial number of the table (also called an International Mobile Equipment Identity, IMEI), and the like that may uniquely indicate the identification information of the table; in an embodiment of the present application, table address information is used as a characteristic value of a table, and since table addresses of a plurality of tables corresponding to the same server are continuous in an actual application process, the table addresses are used as the characteristic value to perform discretization, so that discretization results of first reporting time between discretized tables are relatively uniform.
In order to make the communication time distribution of each table in the preset reporting time period uniform, the method and the device need to calculate the first reporting time corresponding to each table according to the characteristic value of each table.
S102: a first reporting command is sent to each table.
Wherein, the first reporting order comprises: a first reporting time of each table; the first reporting command is used for enabling each table to upload the reporting data at the first reporting time.
Still take the case that the communication between the tables and the server is performed through the base station as an example, after the first reporting time corresponding to each table is dispersed within the preset reporting time period by using the method provided by the present application, if the number of tables is too large, a plurality of tables may be reported at the same time, but since each table may be communicated through different base stations and the server, the reporting command may be dispersed in terms of both time and space, thereby optimizing the network request and reducing the pressure of the base stations and the server.
By adopting the method for acquiring the reported data, the corresponding reporting time of each table can be respectively determined in the preset reporting time period according to the preset peak error coefficient and the characteristic value of each table, and the corresponding uploading time is sent to each table, so that each table can upload the reported data according to the own uploading time.
Optionally, on the basis of the foregoing embodiment, an embodiment of the present application may further provide a method for acquiring reported data, where an implementation process of determining an upload time in the foregoing method is described as follows with reference to the accompanying drawings. Fig. 2 is a schematic flowchart of a method for acquiring reported data according to another embodiment of the present application, and as shown in fig. 2, S101 may include:
s103: and dividing the reporting time period according to a preset peak staggering coefficient to obtain a plurality of reporting intervals.
For example, in an embodiment of the present application, for example, the number of the multiple reporting intervals may be obtained by dividing the duration of the reporting time period by a preset peak staggering coefficient; according to the number, the reporting time period is divided to obtain a plurality of reporting intervals, wherein each reporting interval can have a reporting interval serial number thereof, so that the reporting intervals can be distinguished from each other.
S104: and respectively determining a target reporting interval corresponding to each table from the plurality of reporting intervals according to the characteristic value of each table and the number of the plurality of reporting intervals.
For example, in an embodiment of the present application, for example, a remainder operation may be performed on the number (the number of reporting intervals) according to the feature value of each table, so as to obtain an interval serial number corresponding to each table; and determining the interval serial number, and determining the reporting interval corresponding to the interval serial number from the plurality of reporting intervals as a target reporting interval, namely the target reporting interval is the characteristic value/quantity of the table.
S105: and determining the first reporting time of each table according to the characteristic value of each table, the starting time of the reporting time period and the target reporting interval.
For example, in an embodiment of the present application, for example, a corresponding target position of each table in a target reporting interval may be calculated according to a feature value, a preset peak error coefficient, and a number of each table; and calculating the first reporting time of each table according to the starting time, the target reporting interval, the preset peak staggering coefficient and the target position.
For example, in an embodiment of the present application, for example, after dividing the characteristic value of each table by the number, a remainder operation is performed on the preset peak error coefficient to obtain a position serial number corresponding to each table; and determining the position corresponding to the position sequence number as the target position from the target reporting interval.
Multiplying the target reporting interval by a preset peak staggering coefficient to obtain peak staggering time in the target reporting interval; and accumulating according to the starting time, the peak staggering time and the time corresponding to the target position to obtain a first reporting time, namely the first reporting time is the starting time + (the target reporting interval is a preset peak staggering coefficient + the target position).
That is, in the method provided by the present application, the determination of the first reporting time is divided into four steps: determining a reporting interval, determining a target reporting interval, determining a corresponding target position in the target interval, and determining a first reporting time, wherein:
step 1, setting a preset peak staggering coefficient (unit: second), and further dividing the reporting time period by using the preset peak staggering coefficient according to the preset reporting time period, wherein the calculation formula is as follows:
the number of reporting intervals is (end time of reporting time period-starting time of reporting time period)/a preset peak error coefficient.
Step 2, the number of the divided reporting intervals is left according to the characteristic value of the table to obtain a target reporting interval in which the characteristic value of the table is located, and the calculation formula is as follows:
and the target reporting interval is the characteristic value/quantity of the table.
And 3, dividing the interval number of the reporting intervals by the characteristic value of the table, then taking the remainder of the preset peak staggering coefficient, and calculating the target position of the characteristic value of the table in the current target reporting interval, wherein the calculation formula is as follows:
and (4) the position in the target reporting interval is equal to the address/interval number% peak error coefficient of the table.
And 4, finally, calculating the first reporting time according to the calculation result, wherein the calculation formula is as follows:
the first reporting time is the starting time of the reporting time period + (the target reporting interval is the preset peak staggering coefficient + the position in the target reporting interval).
Optionally, in an embodiment of the present application, a time period corresponding to a table type may be determined as a reporting time period according to a preset table type, where the table type is a type of each table. That is, different types of meters may correspond to different reporting time periods, for example, the reporting time period of the water meter is 09:00-11:00 every day; the daily reporting time period of the electric meter is 13:00-15: 00; the correspondence between the specific different types of tables and the reporting time period may be flexibly adjusted according to the user's needs, and is not limited to the embodiments described above.
The method for reporting the data in the section according to the type of the preset table can distinguish different types of tables, so that only the table of one service reports the data in the same time period, and ensures that the table of the same type must be uploaded completely in one time period, thereby not delaying the uploading of the data of other types of tables in the next time period, and not influencing the execution of other services.
Optionally, on the basis of the foregoing embodiment, an embodiment of the present application may further provide a method for acquiring reported data, where an implementation process in the foregoing method is described as an example with reference to the following drawings. Fig. 3 is a schematic flow chart of a method for acquiring reported data according to another embodiment of the present application, and as shown in fig. 3, the method may further include:
s106: a plurality of tables using the base station are obtained according to the identification of the base station.
After receiving the reported data of the table, the server acquires the identification information of the base station according to the reported data, for example, the identification information can be base station ID information, and then acquires all the tables using the base station from the server; in an embodiment of the present application, the reporting data may include, for example: the identification information of the base station, the identification information of the table, and the collected data information of the table, and the content included in the specific reported data may be flexibly adjusted according to the user requirement, which is not limited to the embodiments described above.
S107: and if the number of the tables using the same base station reaches a preset table number threshold value, adjusting the preset peak staggering coefficient.
When the number of the tables using the same base station reaches the preset table number threshold, it indicates that the uploading stability is not high due to too many tables when a plurality of tables upload data simultaneously, and at this time, the reporting time of each table in the base station needs to be further optimized and adjusted, and the reporting time is dispersed again.
S108: and determining second reporting time of each table of the used base station from the reporting time period according to the adjusted peak staggering coefficient and the characteristic value of each table of the used base station.
S109: and sending a second report command to each table.
Wherein the second reporting command comprises: and the second reporting command is used for enabling each table to upload the reported data at the second reporting time.
The method for further dispersing the reporting time of the plurality of tables in the same base station and calculating the second reporting time of the plurality of tables in the same base station makes the reporting time of the plurality of tables in the same base station staggered with each other, so that the effect of wrong-peak uploading is achieved, the data reporting is optimized from space (base station) to time, and the stability of the data reporting is improved.
The following illustrates the complete process flow of the present application:
it is assumed that in an embodiment of the present application, the preset reporting time period is 01:00-2:40 per day, that is, all reporting of the reported data needs to be completed within the preset reporting time period per day, where the preset peak error coefficient may be set to 30 seconds, for example, and the characteristic values of each table are described by taking a table address as an example.
Example 1: the number of the tables is small, and the first reporting time of each table is staggered according to the preset reporting time period, so that the relationship between each table and the corresponding first reporting time is shown in table 1.
Table 1:
Figure BDA0002941867700000141
Figure BDA0002941867700000151
the calculation process of the first reporting time with the table address of 399 is taken as an example for explanation:
the number of reporting intervals is (2:40:00-1:00:00) ÷ 30 seconds ═ 100 × 60 ÷ 30 ÷ 200.
The target reporting interval is 399%, 200% and 199.
And (2) corresponding target positions (399 ÷ 200)% 30 ═ 1 in the target reporting interval.
The first reporting time is 1:00:00+ (199 × 30+1) 2:39: 31.
Example 2: the number of the tables is large, and after the first reporting time of each table is staggered according to the preset reporting time period, the reporting time of each table at the same reporting time of the same base station needs to be optimized again, and the second reporting time corresponding to each table is determined.
The preset reporting time period is, for example, 100 minutes in total, that is, 6000 seconds, and when the total number of tables is greater than 6000, it is inevitable that multiple tables report data at the same time. It can be determined from the above algorithm that the first reporting time between tables with a difference of 6000 table addresses is the same, for example: the first reporting time of the table with the table address of 0000,6000,12000,18000 is 1:00: 00.
If the 4 tables use the same base station for data reporting, the reporting time can be further discretized again through the adjusted preset peak error coefficient, and the tables reported by the base station are subjected to discretization calculation again to determine the second reporting time of each table. For example, the adjusted preset peak error coefficient is 35 seconds, and the second reporting time of each table with the table address of 0000,6000,12000,18000 is calculated as shown in table 2:
table 2:
table address 0000 6000 12000 18000
Reporting time 1:00:00 1:08:45 1:17:30 1:26:15
The calculation process of the second reporting time of the table with the table address of 6000 is taken as an example for explanation:
the number of reporting intervals is (2:40:00-1:00:00) ÷ (100 × 60) ÷ 35 ═ 171.
The target reporting interval is 6000% and 171 is 15.
The corresponding target position in the target interval is (6000 ÷ 171)% 35 ═ 0.
The second reported time is 1:00:00+ (15 × 35+0) 1:08: 45.
Therefore, the peak shifting of each table at the same uploading time in the same base station is realized again, and the report is carried out according to the second reporting time after the peak shifting, so that the effect of reporting the peak shifting in the base station is achieved.
By adopting the method for acquiring the reported data, the corresponding reporting time of each table can be respectively determined in the preset reporting time period according to the preset peak error coefficient and the characteristic value of each table, the corresponding uploading time is sent to each table, so that each table can upload the reported data according to the own uploading time, meanwhile, the reporting times of a plurality of tables in the same base station can be further dispersed, and the second reporting time of the plurality of tables in the same base station is calculated, so that the reporting times among the plurality of tables in the same base station are staggered mutually, and the effect of peak error uploading is achieved, and the method for acquiring the reported data is characterized in that each table has the own corresponding reporting time and uploads the data according to the corresponding reporting time, thereby realizing the peak error uploading and batch uploading, ensuring the stability of network service, and avoiding the situation that a large amount of tables upload data at the same time, the problems of communication failure of equipment or server processing delay and the like are caused, so that the data reporting is optimized from space (base station) to time, and the stability of the data reporting is improved.
The following explains an obtaining apparatus for reported data provided in the present application with reference to the accompanying drawings, where the obtaining apparatus for reported data can execute any one of the obtaining methods of reported data in fig. 1 to 3, and specific implementation and beneficial effects thereof are referred to above, and are not described again below.
Fig. 4 is a schematic structural diagram of an apparatus for acquiring report data according to an embodiment of the present application, and as shown in fig. 4, the apparatus includes: a determining module 201 and a sending module 202, wherein:
a determining module 201, configured to determine, according to a preset peak staggering coefficient and a characteristic value of at least one table, first reporting times of the at least one table from preset reporting time periods, respectively;
a sending module 202, configured to send a first reporting command to each table, where the first reporting command includes: a first reporting time of each table; the first reporting command is used for enabling each table to upload the reporting data at the first reporting time.
Fig. 5 is a schematic structural diagram of an apparatus for acquiring reported data according to another embodiment of the present application, and as shown in fig. 5, the apparatus further includes: the dividing module 203 is configured to divide the reporting time period according to a preset peak staggering coefficient to obtain a plurality of reporting intervals;
a determining module 201, configured to determine, according to a feature value of at least one table and the number of the multiple reporting intervals, a target reporting interval corresponding to the at least one table from the multiple reporting intervals, respectively; and determining the first reporting time of each table according to the characteristic value of each table, the starting time of the reporting time period and the target reporting interval.
As shown in fig. 5, the apparatus further includes: a calculating module 204, configured to calculate, according to the feature value, the preset peak staggering coefficient, and the number of each table, a corresponding target position of each table in the target reporting interval; and calculating the first reporting time of each table according to the starting time, the target reporting interval, the preset peak staggering coefficient and the target position.
Optionally, the calculating module 204 is specifically configured to divide the duration of the reporting time period by a preset peak staggering coefficient to obtain the number of the multiple reporting intervals;
the dividing module 203 is specifically configured to divide the reporting time period according to the number to obtain a plurality of reporting intervals.
Optionally, the calculating module 204 is specifically configured to perform a remainder operation on the number according to the feature value of the at least one table to obtain an interval serial number corresponding to the at least one table;
the determining module 201 is specifically configured to determine an interval serial number, and determine a reporting interval corresponding to the interval serial number from the multiple reporting intervals as a target reporting interval.
Optionally, the calculating module 204 is specifically configured to divide the characteristic value of each table by the number, and then perform remainder operation on the preset peak-to-peak error coefficient to obtain a position serial number corresponding to each table;
the determining module 201 is specifically configured to determine, from within the target reporting interval, that the location corresponding to the location sequence number is the target location.
Optionally, the calculating module 204 is specifically configured to multiply the target reporting interval by a preset peak staggering coefficient to obtain peak staggering time in the target reporting interval; and accumulating according to the starting time, the peak staggering time and the time corresponding to the target position to obtain first reporting time.
Optionally, the determining module 201 is specifically configured to determine, according to a preset table type, that a time period corresponding to the table type is a reporting time period, where the table type is a type of at least one table.
As shown in fig. 5, the apparatus further includes: an obtaining module 205 and an adjusting module 206, wherein:
an obtaining module 205, configured to obtain multiple tables for using a base station according to the identifier of the base station;
an adjusting module 206, configured to adjust a preset peak error coefficient if the number of tables using the same base station reaches a preset table number threshold;
a determining module 201, configured to determine, according to the adjusted peak staggering coefficient and the feature values of the tables of the used base station, second reporting time of each table of the used base station from within a reporting time period;
the sending module 202 is specifically configured to send a second reporting command to each table, where the second reporting command includes: and the second reporting command is used for enabling each table to upload the reported data at the second reporting time.
The above-mentioned apparatus is used for executing the method provided by the foregoing embodiment, and the implementation principle and technical effect are similar, which are not described herein again.
These above modules may be one or more integrated circuits configured to implement the above methods, such as: one or more Application Specific Integrated Circuits (ASICs), or one or more microprocessors (DSPs), or one or more Field Programmable Gate Arrays (FPGAs), among others. For another example, when one of the above modules is implemented in the form of a Processing element scheduler code, the Processing element may be a general-purpose processor, such as a Central Processing Unit (CPU) or other processor capable of calling program code. For another example, these modules may be integrated together and implemented in the form of a system-on-a-chip (SOC).
Fig. 6 is a schematic structural diagram of a server according to an embodiment of the present application, and as shown in fig. 6, the server includes: a processor 501, a storage medium 502, and a bus 503.
The processor 501 is used for storing a program, and the processor 501 calls the program stored in the storage medium 502 to execute the method embodiment corresponding to fig. 1-3. The specific implementation and technical effects are similar, and are not described herein again.
Optionally, the present application also provides a program product, such as a storage medium, on which a computer program is stored, including a program, which, when executed by a processor, performs embodiments corresponding to the above-described method.
In the several embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, or in a form of hardware plus a software functional unit.
The integrated unit implemented in the form of a software functional unit may be stored in a computer readable storage medium. The software functional unit is stored in a storage medium and includes several instructions for enabling a computer device (which may be a personal computer, a server, or a network device) or a processor (processor) to perform some steps of the methods according to the embodiments of the present application. And the aforementioned storage medium includes: a U disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.

Claims (10)

1. A method for acquiring reported data is characterized in that the method comprises the following steps:
respectively determining the first reporting time of each table from a preset reporting time period according to a preset peak staggering coefficient and the characteristic value of each table;
sending a first reporting command to each table, the first reporting command comprising: a first reporting time of each table; the first reporting command is used for enabling each table to upload reporting data at the first reporting time.
2. The method of claim 1, wherein the determining the first reporting time of each table from a preset reporting time period according to a preset peak error factor and a characteristic value of each table respectively comprises:
dividing the reporting time period according to the preset peak staggering coefficient to obtain a plurality of reporting intervals;
determining a target reporting interval corresponding to each table from the plurality of reporting intervals respectively according to the characteristic value of each table and the number of the plurality of reporting intervals;
and determining the first reporting time of each table according to the characteristic value of each table, the starting time of the reporting time period and the target reporting interval.
3. The method of claim 2, wherein the determining the first reporting time for each table according to the eigenvalue of each table, the starting time of the reporting time period and the target reporting interval comprises:
calculating the corresponding target position of each table in the target reporting interval according to the characteristic value of each table, the preset peak staggering coefficient and the number;
and calculating the first reporting time of each table according to the starting time, the target reporting interval, the preset peak staggering coefficient and the target position.
4. The method of claim 2, wherein the dividing the reporting time period according to the preset peak error coefficient to obtain a plurality of reporting intervals comprises:
dividing the duration of the reporting time period by the preset peak staggering coefficient to obtain the number of the plurality of reporting intervals;
and dividing the reporting time period according to the number to obtain a plurality of reporting intervals.
5. The method of claim 2, wherein the determining the target reporting interval corresponding to each table from the plurality of reporting intervals according to the eigenvalue of each table and the number of the plurality of reporting intervals comprises:
performing remainder operation on the number according to the characteristic value of each table to obtain an interval serial number corresponding to each table;
and determining the interval serial number, and determining a reporting interval corresponding to the interval serial number from the plurality of reporting intervals as the target reporting interval.
6. The method of claim 3, wherein the calculating the corresponding target position of each table within the target reporting interval according to the eigenvalue of each table, the preset peak-to-peak error coefficient and the number of the plurality of reporting intervals comprises:
dividing the characteristic value of each table by the number, and then performing remainder operation on the preset peak staggering coefficient to obtain a position serial number corresponding to each table;
and determining the position corresponding to the position sequence number as the target position from the target reporting interval.
7. The method of claim 3, wherein the calculating the first reporting time for each table according to the starting time, the target reporting interval, the preset peak-to-peak error coefficient and the target position comprises:
multiplying the target reporting interval by the preset peak staggering coefficient to obtain peak staggering time in the target reporting interval;
and accumulating according to the starting time, the peak staggering time and the time corresponding to the target position to obtain the first reporting time.
8. The method according to any of claims 1-7, wherein before the dividing a preset reporting time period according to a preset peak error coefficient to obtain a plurality of reporting intervals, the method further comprises:
and determining a time period corresponding to the table type as the reporting time period according to a preset table type, wherein the table type is the type of each table.
9. The method according to any of claims 1-7, characterized in that if the reported data includes the identity of the base station; the method further comprises the following steps:
acquiring a plurality of tables using the base station according to the identification of the base station;
if the number of the tables using the same base station reaches a preset table number threshold value, adjusting the preset peak staggering coefficient;
determining second reporting time for using each table of the base station from the reporting time period according to the adjusted peak staggering coefficient and the characteristic value of each table using the base station;
sending a second reporting command to each table, where the second reporting command includes: and a second reporting time of each table, where the second reporting command is used to enable each table to upload reporting data at the second reporting time.
10. An apparatus for acquiring reported data, the apparatus comprising: a determining module and a sending module, wherein:
the determining module is used for respectively determining the first reporting time of each table from a preset reporting time period according to a preset peak staggering coefficient and the characteristic value of each table;
the sending module is configured to send a first reporting command to each table, where the first reporting command includes: a first reporting time of each table; the first reporting command is used for enabling each table to upload reporting data at the first reporting time.
CN202110187046.9A 2021-02-07 2021-02-07 Discrete method, device, server and storage medium for uploading wrong peaks of tables of NB-IoT (NB-IoT) Pending CN113012415A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110187046.9A CN113012415A (en) 2021-02-07 2021-02-07 Discrete method, device, server and storage medium for uploading wrong peaks of tables of NB-IoT (NB-IoT)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110187046.9A CN113012415A (en) 2021-02-07 2021-02-07 Discrete method, device, server and storage medium for uploading wrong peaks of tables of NB-IoT (NB-IoT)

Publications (1)

Publication Number Publication Date
CN113012415A true CN113012415A (en) 2021-06-22

Family

ID=76402475

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110187046.9A Pending CN113012415A (en) 2021-02-07 2021-02-07 Discrete method, device, server and storage medium for uploading wrong peaks of tables of NB-IoT (NB-IoT)

Country Status (1)

Country Link
CN (1) CN113012415A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113709593A (en) * 2021-07-21 2021-11-26 深圳市敏泰智能科技有限公司 Method and system for uploading data by staggering peaks of NB-Iot intelligent water meter and NB-Iot intelligent water meter
CN114338744A (en) * 2021-12-30 2022-04-12 众达博飞节能科技(北京)有限公司 NB-IoT temperature and humidity collector
CN114827038A (en) * 2022-06-24 2022-07-29 深圳市麦希通讯技术有限公司 Data reporting method, device, equipment and storage medium
CN115103243A (en) * 2022-08-29 2022-09-23 济南瑞泉电子有限公司 Method and system for dynamically adjusting reporting time of NB (NB) water meter

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP3226456A1 (en) * 2016-04-01 2017-10-04 Panasonic Intellectual Property Corporation of America Asynchronous retransmission protocol
CN107613525A (en) * 2017-09-21 2018-01-19 新智数字科技有限公司 Report method of avoiding the peak hour, device and electronic equipment based on gauge table
CN109618411A (en) * 2019-01-21 2019-04-12 深圳高新兴物联科技有限公司 Data are avoided the peak hour report method, device, equipment and computer readable storage medium
CN110719230A (en) * 2018-07-13 2020-01-21 中兴通讯股份有限公司 Peak staggering interval adjusting method and device and computer readable storage medium
CN111885651A (en) * 2020-07-27 2020-11-03 中国联合网络通信集团有限公司 Processing method and device for service concurrency of Internet of things

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP3226456A1 (en) * 2016-04-01 2017-10-04 Panasonic Intellectual Property Corporation of America Asynchronous retransmission protocol
CN107613525A (en) * 2017-09-21 2018-01-19 新智数字科技有限公司 Report method of avoiding the peak hour, device and electronic equipment based on gauge table
CN110719230A (en) * 2018-07-13 2020-01-21 中兴通讯股份有限公司 Peak staggering interval adjusting method and device and computer readable storage medium
CN109618411A (en) * 2019-01-21 2019-04-12 深圳高新兴物联科技有限公司 Data are avoided the peak hour report method, device, equipment and computer readable storage medium
CN111885651A (en) * 2020-07-27 2020-11-03 中国联合网络通信集团有限公司 Processing method and device for service concurrency of Internet of things

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113709593A (en) * 2021-07-21 2021-11-26 深圳市敏泰智能科技有限公司 Method and system for uploading data by staggering peaks of NB-Iot intelligent water meter and NB-Iot intelligent water meter
CN114338744A (en) * 2021-12-30 2022-04-12 众达博飞节能科技(北京)有限公司 NB-IoT temperature and humidity collector
CN114827038A (en) * 2022-06-24 2022-07-29 深圳市麦希通讯技术有限公司 Data reporting method, device, equipment and storage medium
CN114827038B (en) * 2022-06-24 2022-09-27 深圳市麦希通讯技术有限公司 Data reporting method, device, equipment and storage medium
CN115103243A (en) * 2022-08-29 2022-09-23 济南瑞泉电子有限公司 Method and system for dynamically adjusting reporting time of NB (NB) water meter
CN115103243B (en) * 2022-08-29 2022-11-15 济南瑞泉电子有限公司 NB water meter reporting time dynamic adjustment method and system

Similar Documents

Publication Publication Date Title
CN113012415A (en) Discrete method, device, server and storage medium for uploading wrong peaks of tables of NB-IoT (NB-IoT)
US10664931B2 (en) Data analyzing system and method
CN110365765B (en) Bandwidth scheduling method and device of cache server
CN109981744B (en) Data distribution method and device, storage medium and electronic equipment
CN103988179A (en) Optimization mechanisms for latency reduction and elasticity improvement in geographically distributed datacenters
CN110445824A (en) NB-IoT data reporting method, device, system and computer readable storage medium
CN110932908A (en) Method, device and system for selecting network slice access
CN105353206A (en) Computing method and system for air conditioner power consumption
CN112685462B (en) Feeder line data analysis method, feeder line data analysis device, computer equipment and storage medium
CN112668173A (en) Method for calculating 10kV line topological relation threshold based on skewed distribution
CN112468573A (en) Data pushing method, device, equipment and storage medium
CN115379479B (en) Cell coverage type determining method, device, equipment and storage medium
CN110739082A (en) occupational health risk management and control measure evaluation method and related device
CN115987896A (en) Communication pipeline intelligent distribution system and method applied to communication network
CN105608638B (en) A kind of method and its system of the table code data synchronous regime determining intelligent terminal and electric energy meter
CN115218270A (en) Intelligent group control method and system for distributed electric heating of terminal substation level
CN113326303A (en) User electricity consumption behavior analysis method and related device
CN111385821B (en) LTE carrier demand quantity prediction method and device
CN114363208A (en) Method and device for testing energy efficiency ratio of data center, electronic equipment and storage medium
CN113055480A (en) Scheduling method and device
CN113114718A (en) Data transmission method and system in Internet of things, and Internet of things equipment and terminal
CN116016524B (en) Data processing method and device applied to motorized command platform
CN115409427B (en) Method and device for evaluating multiple states of resident load available regulation capacity
JP7426490B2 (en) Online office network disturbance processing method and device
CN109121140B (en) Parameter configuration method and equipment for wireless network cell

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20210622

RJ01 Rejection of invention patent application after publication