CN117061614B - Data processing method and terminal - Google Patents
Data processing method and terminal Download PDFInfo
- Publication number
- CN117061614B CN117061614B CN202311312196.3A CN202311312196A CN117061614B CN 117061614 B CN117061614 B CN 117061614B CN 202311312196 A CN202311312196 A CN 202311312196A CN 117061614 B CN117061614 B CN 117061614B
- Authority
- CN
- China
- Prior art keywords
- data
- priority
- queue
- receiving
- sequencing
- 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.)
- Active
Links
- 238000003672 processing method Methods 0.000 title claims abstract description 13
- 238000009434 installation Methods 0.000 claims abstract description 58
- 238000012163 sequencing technique Methods 0.000 claims description 79
- 230000005540 biological transmission Effects 0.000 claims description 37
- 238000000034 method Methods 0.000 claims description 11
- 238000004590 computer program Methods 0.000 claims description 8
- 238000012806 monitoring device Methods 0.000 description 5
- 230000009286 beneficial effect Effects 0.000 description 3
- 230000000007 visual effect Effects 0.000 description 3
- 238000004891 communication Methods 0.000 description 2
- 238000012544 monitoring process Methods 0.000 description 2
- 238000010586 diagram Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000007689 inspection Methods 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 238000012876 topography Methods 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/50—Network services
- H04L67/60—Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources
- H04L67/61—Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources taking into account QoS or priority requirements
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/06—Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D10/00—Energy efficient computing, e.g. low power processors, power management or thermal management
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The invention discloses a data processing method and a terminal, which are used for inserting received data reporting requests into a data receiving and sorting queue according to the determined priority of a data sending device, calculating the priority scores of the data reporting requests according to the electric quantity and signals of the data sending device, sorting the data reporting requests in the data receiving and sorting queue according to the priority scores, and processing the data reporting requests according to the priority and the priority scores of the data receiving and sorting queue, so that the data reporting requests can be processed preferentially according to different installation positions and different working states of the data sending device, and the data reporting requests of devices in remote or important areas or with low electric quantity and poor signals can be processed preferentially, thereby ensuring the priority processing of important data and improving the data processing efficiency.
Description
Technical Field
The present invention relates to the field of data processing technologies, and in particular, to a data processing method and a terminal.
Background
In the energy power transmission industry, with the popularization of the installation of the visual monitoring devices, in many visual platform systems, tens of thousands of visual monitoring devices are accessed in a single access server. The existing monitoring device mostly adopts a communication protocol of general technical Specification of power transmission line state monitoring devices or on-line monitoring communication protocol and information interaction Specification of power transmission lines, and in order to effectively monitor the site, the on-site monitoring device adopts a timing snapshot picture and reports the timing snapshot picture to a main station. For the situation that the number of single access server devices is large, the snapshot time of different devices is usually staggered, and it is expected that different devices can perform peak-shifting transmission, but when the number of devices is large, the number of devices requesting to upload pictures at the same time still can be thousands. The master station device accesses the service, in order to ensure the effectiveness of the service, the maximum number of the pictures to be uploaded is limited, and at the moment, the queues allowing the pictures to be uploaded are all queued according to the time sequence of receiving the picture uploading requests, namely, the device receiving the picture uploading requests firstly uploads the pictures, so that the data processing is completed.
Because the particularities of the power transmission industry are different in installation position, importance and attention, partial devices are inevitably located in areas with poor remote signals, or the situations of large difference in electric energy stored by different devices exist, and data can be uploaded preferentially in a plurality of picture uploading requests, namely devices which are installed in strategic power transmission channels, important lines of a core backbone network frame, difficult line inspection or repair areas, micro-topography micro-meteorological areas, goafs or geological bad areas, important crossing sections or areas damaged by external force or equipment with low electric energy.
Disclosure of Invention
The technical problems to be solved by the invention are as follows: a data processing method and a terminal are provided, which can ensure priority processing of important data and improve data processing efficiency.
In order to solve the technical problems, the invention adopts the following technical scheme:
a data processing method comprising the steps of:
receiving a data report request of a data transmitting device and determining the priority of the data transmitting device;
inserting the data reporting request into a data receiving and sorting queue according to the priority of the data sending device;
calculating a priority score of the data reporting request according to the electric quantity and the signal of the data sending device, and sequencing the data reporting request in the data receiving sequencing queue according to the priority score;
and processing the data reporting request according to the priority of the data receiving and sorting queue and the priority score.
In order to solve the technical problems, the invention adopts another technical scheme that:
a data processing terminal comprising a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing the following steps when executing the computer program:
receiving a data report request of a data transmitting device and determining the priority of the data transmitting device;
inserting the data reporting request into a data receiving and sorting queue according to the priority of the data sending device;
calculating a priority score of the data reporting request according to the electric quantity and the signal of the data sending device, and sequencing the data reporting request in the data receiving sequencing queue according to the priority score;
and processing the data reporting request according to the priority of the data receiving and sorting queue and the priority score.
The invention has the beneficial effects that: inserting the received data report requests into a data receiving and sorting queue according to the determined priority of the data sending device, calculating the priority scores of the data report requests according to the electric quantity and signals of the data sending device, sorting the data report requests in the data receiving and sorting queue according to the priority scores, and processing the data report requests according to the priority and the priority scores of the data receiving and sorting queue, so that the data report requests can be processed preferentially according to different installation positions and different working states of the data sending device, and the data report requests of devices in remote or important areas or devices with low electric quantity and poor signals can be processed preferentially, thereby ensuring the priority processing of important data and improving the data processing efficiency.
Drawings
FIG. 1 is a flow chart showing steps of a data processing method according to an embodiment of the present invention;
fig. 2 is a schematic structural diagram of a data processing terminal according to an embodiment of the present invention.
Detailed Description
In order to describe the technical contents, the achieved objects and effects of the present invention in detail, the following description will be made with reference to the embodiments in conjunction with the accompanying drawings.
Referring to fig. 1, a data processing method includes the steps of:
receiving a data report request of a data transmitting device and determining the priority of the data transmitting device;
inserting the data reporting request into a data receiving and sorting queue according to the priority of the data sending device;
calculating a priority score of the data reporting request according to the electric quantity and the signal of the data sending device, and sequencing the data reporting request in the data receiving sequencing queue according to the priority score;
and processing the data reporting request according to the priority of the data receiving and sorting queue and the priority score.
From the above description, the beneficial effects of the invention are as follows: inserting the received data report requests into a data receiving and sorting queue according to the determined priority of the data sending device, calculating the priority scores of the data report requests according to the electric quantity and signals of the data sending device, sorting the data report requests in the data receiving and sorting queue according to the priority scores, and processing the data report requests according to the priority and the priority scores of the data receiving and sorting queue, so that the data report requests can be processed preferentially according to different installation positions and different working states of the data sending device, and the data report requests of devices in remote or important areas or devices with low electric quantity and poor signals can be processed preferentially, thereby ensuring the priority processing of important data and improving the data processing efficiency.
Further, before the data report request of the received data sending device, the method further includes:
creating a data receiving and sequencing queue corresponding to the installation positions according to the installation positions of all the data sending devices;
determining the priority of each data receiving ordering queue;
the determining the priority of the data transmitting apparatus includes:
and determining the priority of the data transmission device according to the installation position of the data transmission device.
As is apparent from the above description, the data priority reception process of the device in the important position can be ensured by creating the corresponding data reception queue for each installation position, setting the priority for the data reception queue, and determining the priority of the data transmission device according to the installation position of the data transmission device.
Further, the calculating the priority score of the data reporting request according to the electric quantity and the signal of the data sending device includes:
acquiring a signal percentage value, a signal weight, an electric quantity percentage value and an electric quantity weight of the data transmitting device;
and calculating the priority score of the data reporting request according to the signal percentage value, the signal weight, the electric quantity percentage value and the electric quantity weight.
According to the description, the priority score of the data reporting request is calculated according to the signal percentage value, the signal weight, the electric quantity percentage value and the electric quantity weight, so that the data of the device with good network signals can be received preferentially, more data of the device can be received in a short time as much as possible, the throughput is improved, and the data of the device with low electric quantity is transmitted preferentially under the condition of the same signal value, so that the device has a larger opportunity to successfully upload the field picture data to the master station.
Further, the processing the data reporting request according to the priority of the data receiving ordering queue and the priority score includes:
traversing all the data sequencing queues in turn according to the order of the priority of the data receiving sequencing queues from high to low;
and for the traversed target data sequencing queue, sequentially receiving the data reporting requests in the target data sequencing queue according to the order of the priority scores from high to low.
From the above description, it can be seen that all the data sorting queues are traversed in sequence according to the order of the priority of the data receiving sorting queues from high to low, and the data reporting requests in the target data sorting queues are sequentially received according to the order of the priority scores from high to low, so that the sorting processing of data receiving is performed according to the importance of the device and the current running state of the device.
Further, the data ordering queues include unclassified installation region ordering queues;
the step of sequentially receiving the data report requests in the target data sorting queue according to the order of the priority scores from high to low for the traversed target data sorting queue comprises the following steps:
judging whether the traversed target data sequencing queues are the unclassified installation area sequencing queues or not, if so, sequentially receiving data according to the maximum processing node number and the priority value from high to low, then judging whether other data sequencing queues except the unclassified installation area sequencing queues are empty or not, if not, returning to execute the step of sequentially traversing all the data sequencing queues according to the priority value of the data receiving sequencing queues from high to low, if so, continuing to execute the step of sequentially receiving data according to the maximum processing node number and the priority value from high to low, until all the data reporting requests in the unclassified installation area sequencing queues are processed;
and if not, sequentially receiving the data of all the data reporting requests in the target data sequencing queue according to the order of the priority scores from high to low.
It can be seen from the above description that, in order to avoid excessive nodes of the device waiting for data reception in the unclassified installation area ordering queue, the number of the other data ordering queues with high priority is controlled to be excessively waiting, in this queue, after the number of the single maximum processing nodes is processed, whether the other receiving ordering queues are empty is checked, and once the receiving ordering queues are not empty, the processing according to the data priority is continued, so as to ensure that the data of the device with high priority is received preferentially, and improve the timeliness and efficiency of the data processing.
Referring to fig. 2, a data processing terminal includes a memory, a processor and a computer program stored on the memory and operable on the processor, wherein the processor implements the following steps when executing the computer program:
receiving a data report request of a data transmitting device and determining the priority of the data transmitting device;
inserting the data reporting request into a data receiving and sorting queue according to the priority of the data sending device;
calculating a priority score of the data reporting request according to the electric quantity and the signal of the data sending device, and sequencing the data reporting request in the data receiving sequencing queue according to the priority score;
and processing the data reporting request according to the priority of the data receiving and sorting queue and the priority score.
From the above description, the beneficial effects of the invention are as follows: inserting the received data report requests into a data receiving and sorting queue according to the determined priority of the data sending device, calculating the priority scores of the data report requests according to the electric quantity and signals of the data sending device, sorting the data report requests in the data receiving and sorting queue according to the priority scores, and processing the data report requests according to the priority and the priority scores of the data receiving and sorting queue, so that the data report requests can be processed preferentially according to different installation positions and different working states of the data sending device, and the data report requests of devices in remote or important areas or devices with low electric quantity and poor signals can be processed preferentially, thereby ensuring the priority processing of important data and improving the data processing efficiency.
Further, before the data report request of the received data sending device, the method further includes:
creating a data receiving and sequencing queue corresponding to the installation positions according to the installation positions of all the data sending devices;
determining the priority of each data receiving ordering queue;
the determining the priority of the data transmitting apparatus includes:
and determining the priority of the data transmission device according to the installation position of the data transmission device.
As is apparent from the above description, the data priority reception process of the device in the important position can be ensured by creating the corresponding data reception queue for each installation position, setting the priority for the data reception queue, and determining the priority of the data transmission device according to the installation position of the data transmission device.
Further, the calculating the priority score of the data reporting request according to the electric quantity and the signal of the data sending device includes:
acquiring a signal percentage value, a signal weight, an electric quantity percentage value and an electric quantity weight of the data transmitting device;
and calculating the priority score of the data reporting request according to the signal percentage value, the signal weight, the electric quantity percentage value and the electric quantity weight.
According to the description, the priority score of the data reporting request is calculated according to the signal percentage value, the signal weight, the electric quantity percentage value and the electric quantity weight, so that the data of the device with good network signals can be received preferentially, more data of the device can be received in a short time as much as possible, the throughput is improved, and the data of the device with low electric quantity is transmitted preferentially under the condition of the same signal value, so that the device has a larger opportunity to successfully upload the field picture data to the master station.
Further, the processing the data reporting request according to the priority of the data receiving ordering queue and the priority score includes:
traversing all the data sequencing queues in turn according to the order of the priority of the data receiving sequencing queues from high to low;
and for the traversed target data sequencing queue, sequentially receiving the data reporting requests in the target data sequencing queue according to the order of the priority scores from high to low.
From the above description, it can be seen that all the data sorting queues are traversed in sequence according to the order of the priority of the data receiving sorting queues from high to low, and the data reporting requests in the target data sorting queues are sequentially received according to the order of the priority scores from high to low, so that the sorting processing of data receiving is performed according to the importance of the device and the current running state of the device.
Further, the data ordering queues include unclassified installation region ordering queues;
the step of sequentially receiving the data report requests in the target data sorting queue according to the order of the priority scores from high to low for the traversed target data sorting queue comprises the following steps:
judging whether the traversed target data sequencing queues are the unclassified installation area sequencing queues or not, if so, sequentially receiving data according to the maximum processing node number and the priority value from high to low, then judging whether other data sequencing queues except the unclassified installation area sequencing queues are empty or not, if not, returning to execute the step of sequentially traversing all the data sequencing queues according to the priority value of the data receiving sequencing queues from high to low, if so, continuing to execute the step of sequentially receiving data according to the maximum processing node number and the priority value from high to low, until all the data reporting requests in the unclassified installation area sequencing queues are processed;
and if not, sequentially receiving the data of all the data reporting requests in the target data sequencing queue according to the order of the priority scores from high to low.
It can be seen from the above description that, in order to avoid excessive nodes of the device waiting for data reception in the unclassified installation area ordering queue, the number of the other data ordering queues with high priority is controlled to be excessively waiting, in this queue, after the number of the single maximum processing nodes is processed, whether the other receiving ordering queues are empty is checked, and once the receiving ordering queues are not empty, the processing according to the data priority is continued, so as to ensure that the data of the device with high priority is received preferentially, and improve the timeliness and efficiency of the data processing.
The data processing method and the terminal provided by the invention can be applied to a power transmission line monitoring scene, and the following description is given by a specific embodiment:
referring to fig. 1, a first embodiment of the present invention is as follows:
a data processing method comprising the steps of:
s1, creating a data receiving and sequencing queue corresponding to the installation positions according to the installation positions of all the data sending devices.
In an alternative embodiment, the platform system allows the access modules of the data transmission devices to be deployed in different servers, and the platform system assigns unique IDs, i.e., PAGID, to the access modules in the different servers, assigns unique IDs, i.e., termiald, to the different data transmission devices, and assigns an accessible termiald list in the corresponding access modules, the data transmission devices being the picture and video transmission devices.
In an alternative embodiment, the installation positions of all the data transmission devices comprise strategic transmission channels, important lines of a core backbone network frame, difficult-to-patrol or rush-repair areas and micro-terrain microclimate areas, hidden danger areas (such as goafs or geology bad areas, important crossing sections, external force damage multiple areas) and unclassified installation areas; the corresponding data receiving and sorting queues comprise a strategic power transmission channel sorting queue, an important line sorting queue of a core backbone network frame, a sorting queue of a line patrol or rush repair difficult area and a micro-terrain microclimate area, a hidden danger area sorting queue and an unclassified installation area sorting queue.
S2, determining the priority of each data receiving and sorting queue.
The priority of each data receiving and sorting queue can be flexibly set according to actual conditions, in an optional implementation mode, the priority of the strategic power transmission channel sorting queue is set to 1, the priority of the important line sorting queue of the core backbone network frame is set to 2, the priority of the sorting queue of the line patrol or rush repair difficult area and the micro-terrain micro-meteorological area is set to 3, the priority of the hidden danger area sorting queue is set to 4, the priority of the non-classified installation area sorting queue is set to 0, wherein the priority of 0 is the lowest, the priority of 1 is the highest, and the priorities of 2, 3 and 4 are sequentially reduced.
S3, receiving a data report request of the data sending device, and determining the priority of the data sending device.
Specifically, a data report request of a data transmission device is received, and the priority of the data transmission device is determined according to the installation position of the data transmission device.
In an alternative embodiment, the data sending device performs snapshot at the designated time, the channel and the preset bit according to the snapshot strategy or the snapshot instruction, and sends a data reporting request to the platform to send a photo instruction after the snapshot is successful, wherein the instruction comprises a terminal ID, a photographing time, a channel number, a preset bit number and the total number of the picture data packets.
S4, inserting the data reporting request into a data receiving and sorting queue according to the priority of the data sending device.
For example, if the installation location of the data transmission device is a strategic power transmission channel, the priority of the device is determined to be 1, and the data report request of the device is inserted into the strategic power transmission channel sequencing queue.
S5, calculating a priority score of the data reporting request according to the electric quantity and the signal of the data sending device, and sequencing the data reporting request in the data receiving sequencing queue according to the priority score, wherein the method specifically comprises the following steps:
s51, acquiring a signal percentage value, a signal weight, an electric quantity percentage value and an electric quantity weight of the data transmitting device.
Specifically, a signal percentage value rssi, a signal weight, an electric quantity percentage value indicator and an electric quantity weight of the data sending device are obtained, wherein the value ranges of the signal percentage value and the electric quantity percentage value are 0-100, and the signal weight and the electric quantity weight can be set according to actual conditions.
S52, calculating a priority score of the data reporting request according to the signal percentage value, the signal weight, the electric quantity percentage value and the electric quantity weight, wherein the priority score is specifically as follows:
score = signal percentage value + (100-charge percentage value) charge weight;
in the formula, score represents a priority Score.
S6, processing the data reporting request according to the priority of the data receiving and sorting queue and the priority score, wherein the method specifically comprises the following steps:
and S61, traversing all the data sequencing queues in sequence according to the order of the priority of the data receiving sequencing queues from high to low.
S611, for the traversed target data sorting queue, sequentially receiving the data reporting requests in the target data sorting queue according to the order of the priority scores from high to low, wherein the method specifically comprises the following steps:
and judging whether the traversed target data sequencing queue is the unclassified installation area sequencing queue or not, if so, executing S6111, and if not, executing S6112.
And S6111, sequentially receiving the data reporting requests in the unclassified installation area sequencing queues according to the order of the priority scores from high to low according to the maximum number of the processing nodes, judging whether other data sequencing queues except the unclassified installation area sequencing queues are empty, if not, returning to the step S61, and if so, continuing to execute the step S6111 until the data reporting requests in the unclassified installation area sequencing queues are processed.
The maximum number of processing nodes can be flexibly set according to practical situations, and in an alternative implementation, the maximum number of processing nodes is 10.
And S6112, sequentially receiving the data of all the data reporting requests in the target data sequencing queue according to the order of the priority scores from high to low.
The invention can ensure that the data of the device at the important position is received and processed preferentially by receiving the picture data of the device with good network signal preferentially, can receive more picture data of the device in a shortest time as much as possible, improves the throughput, and can lead the device to have a larger chance of successfully uploading the field picture data to the master station by preferentially transmitting the data of the device with low electric quantity under the condition of the same signal value.
Referring to fig. 2, a second embodiment of the present invention is as follows:
a data processing terminal comprising a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing the steps of the data processing method of embodiment one when the computer program is executed.
In summary, according to the data processing method and terminal provided by the invention, the received data reporting request is inserted into a data receiving and sorting queue according to the determined priority of the data sending device, the priority score of the data reporting request is calculated according to the electric quantity and the signal of the data sending device, the data reporting request is sorted in the data receiving and sorting queue according to the priority score, and the data reporting request is processed according to the priority and the priority score of the data receiving and sorting queue, so that the data reporting request can be processed preferentially according to different installation positions and different working states of the data sending device, the data reporting request of a device in a remote or important area or with low electric quantity and poor signal can be processed preferentially, thereby ensuring the priority processing of important data and improving the data processing efficiency; meanwhile, in order to avoid excessive nodes of devices waiting for data reception in the unclassified installation area sequencing queue, excessive waiting of other data sequencing queues with high priority is caused, in the queues, after the number of the single maximum processing nodes is controlled and the number of the maximum processing nodes is processed, whether the other receiving sequencing queues are empty is checked, and once the receiving sequencing queues are not empty, the processing according to the data priority is continued, so that the data of the devices with high priority are received preferentially, and the timeliness and the efficiency of the data processing are improved.
The foregoing description is only illustrative of the present invention and is not intended to limit the scope of the invention, and all equivalent changes made by the specification and drawings of the present invention, or direct or indirect application in the relevant art, are included in the scope of the present invention.
Claims (6)
1. A method of data processing comprising the steps of:
receiving a data report request of a data transmitting device and determining the priority of the data transmitting device;
inserting the data reporting request into a data receiving and sorting queue according to the priority of the data sending device;
calculating a priority score of the data reporting request according to the electric quantity and the signal of the data sending device, and sequencing the data reporting request in the data receiving sequencing queue according to the priority score;
processing the data reporting request according to the priority of the data receiving and sorting queue and the priority score;
before the data report request of the received data sending device, the method further comprises:
creating a data receiving and sorting queue corresponding to the installation position according to the installation position of all the data sending devices, wherein the installation position of all the data sending devices comprises a strategic power transmission channel, an important line of a core backbone network frame, a difficult line or rush-repair area, a micro-terrain microclimate area, a hidden danger area and an unclassified installation area, and the data receiving and sorting queue comprises a strategic power transmission channel sorting queue, an important line sorting queue of the core backbone network frame, a line or rush-repair difficult area, a micro-terrain microclimate area sorting queue, a hidden danger area sorting queue and an unclassified installation area sorting queue;
determining the priority of each data receiving ordering queue;
the determining the priority of the data transmitting apparatus includes:
determining the priority of the data transmission device according to the installation position of the data transmission device;
the calculating the priority score of the data reporting request according to the electric quantity and the signal of the data sending device comprises the following steps:
acquiring a signal percentage value, a signal weight, an electric quantity percentage value and an electric quantity weight of the data transmitting device;
and calculating the priority score of the data reporting request according to the signal percentage value, the signal weight, the electric quantity percentage value and the electric quantity weight.
2. The method of claim 1, wherein said processing said data report request according to said priority of said data reception ordering queue and said priority score comprises:
traversing all the data sequencing queues in turn according to the order of the priority of the data receiving sequencing queues from high to low;
and for the traversed target data sequencing queue, sequentially receiving the data reporting requests in the target data sequencing queue according to the order of the priority scores from high to low.
3. A data processing method according to claim 2, wherein the data ordering queue comprises an unclassified mounting area ordering queue;
the step of sequentially receiving the data report requests in the target data sorting queue according to the order of the priority scores from high to low for the traversed target data sorting queue comprises the following steps:
judging whether the traversed target data sequencing queues are the unclassified installation area sequencing queues or not, if so, sequentially receiving data according to the maximum processing node number and the priority value from high to low, then judging whether other data sequencing queues except the unclassified installation area sequencing queues are empty or not, if not, returning to execute the step of sequentially traversing all the data sequencing queues according to the priority value of the data receiving sequencing queues from high to low, if so, continuing to execute the step of sequentially receiving data according to the maximum processing node number and the priority value from high to low, until all the data reporting requests in the unclassified installation area sequencing queues are processed;
and if not, sequentially receiving the data of all the data reporting requests in the target data sequencing queue according to the order of the priority scores from high to low.
4. A data processing terminal comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the processor implements the following steps when executing the computer program:
receiving a data report request of a data transmitting device and determining the priority of the data transmitting device;
inserting the data reporting request into a data receiving and sorting queue according to the priority of the data sending device;
calculating a priority score of the data reporting request according to the electric quantity and the signal of the data sending device, and sequencing the data reporting request in the data receiving sequencing queue according to the priority score;
processing the data reporting request according to the priority of the data receiving and sorting queue and the priority score;
before the data report request of the received data sending device, the method further comprises:
creating a data receiving and sorting queue corresponding to the installation position according to the installation position of all the data sending devices, wherein the installation position of all the data sending devices comprises a strategic power transmission channel, an important line of a core backbone network frame, a difficult line or rush-repair area, a micro-terrain microclimate area, a hidden danger area and an unclassified installation area, and the data receiving and sorting queue comprises a strategic power transmission channel sorting queue, an important line sorting queue of the core backbone network frame, a line or rush-repair difficult area, a micro-terrain microclimate area sorting queue, a hidden danger area sorting queue and an unclassified installation area sorting queue;
determining the priority of each data receiving ordering queue;
the determining the priority of the data transmitting apparatus includes:
determining the priority of the data transmission device according to the installation position of the data transmission device;
the calculating the priority score of the data reporting request according to the electric quantity and the signal of the data sending device comprises the following steps:
acquiring a signal percentage value, a signal weight, an electric quantity percentage value and an electric quantity weight of the data transmitting device;
and calculating the priority score of the data reporting request according to the signal percentage value, the signal weight, the electric quantity percentage value and the electric quantity weight.
5. The data processing terminal of claim 4, wherein said processing said data reporting request according to said priority of said data reception ordering queue and said priority score comprises:
traversing all the data sequencing queues in turn according to the order of the priority of the data receiving sequencing queues from high to low;
and for the traversed target data sequencing queue, sequentially receiving the data reporting requests in the target data sequencing queue according to the order of the priority scores from high to low.
6. A data processing terminal according to claim 5, wherein the data ordering queue comprises an unclassified mounting area ordering queue;
the step of sequentially receiving the data report requests in the target data sorting queue according to the order of the priority scores from high to low for the traversed target data sorting queue comprises the following steps:
judging whether the traversed target data sequencing queues are the unclassified installation area sequencing queues or not, if so, sequentially receiving data according to the maximum processing node number and the priority value from high to low, then judging whether other data sequencing queues except the unclassified installation area sequencing queues are empty or not, if not, returning to execute the step of sequentially traversing all the data sequencing queues according to the priority value of the data receiving sequencing queues from high to low, if so, continuing to execute the step of sequentially receiving data according to the maximum processing node number and the priority value from high to low, until all the data reporting requests in the unclassified installation area sequencing queues are processed;
and if not, sequentially receiving the data of all the data reporting requests in the target data sequencing queue according to the order of the priority scores from high to low.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202311312196.3A CN117061614B (en) | 2023-10-11 | 2023-10-11 | Data processing method and terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202311312196.3A CN117061614B (en) | 2023-10-11 | 2023-10-11 | Data processing method and terminal |
Publications (2)
Publication Number | Publication Date |
---|---|
CN117061614A CN117061614A (en) | 2023-11-14 |
CN117061614B true CN117061614B (en) | 2024-03-19 |
Family
ID=88667772
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202311312196.3A Active CN117061614B (en) | 2023-10-11 | 2023-10-11 | Data processing method and terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN117061614B (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20160115173A (en) * | 2015-03-26 | 2016-10-06 | 한국전자통신연구원 | Method, terminal and gateway device for packet transmission |
CN108155967A (en) * | 2016-12-05 | 2018-06-12 | 中国移动通信有限公司研究院 | The transmission method and device of sensing data, sensor, gateway and system |
CN113992597A (en) * | 2021-09-13 | 2022-01-28 | 广州番禺电缆集团有限公司 | Cable monitoring data reporting method, device, equipment and storage medium |
CN114884997A (en) * | 2022-05-26 | 2022-08-09 | 广州番禺电缆集团有限公司 | Intelligent cable monitoring system for sensor data grading transmission |
WO2023039150A1 (en) * | 2021-09-10 | 2023-03-16 | Milwaukee Electric Tool Corporation | Devices and methods for location-dependent prioritized communication |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP7195976B2 (en) * | 2019-02-27 | 2022-12-26 | 株式会社日立製作所 | SENSOR DEVICE, SENSOR DEVICE MANAGEMENT SYSTEM, SENSOR DEVICE MANAGEMENT METHOD |
-
2023
- 2023-10-11 CN CN202311312196.3A patent/CN117061614B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20160115173A (en) * | 2015-03-26 | 2016-10-06 | 한국전자통신연구원 | Method, terminal and gateway device for packet transmission |
CN108155967A (en) * | 2016-12-05 | 2018-06-12 | 中国移动通信有限公司研究院 | The transmission method and device of sensing data, sensor, gateway and system |
WO2023039150A1 (en) * | 2021-09-10 | 2023-03-16 | Milwaukee Electric Tool Corporation | Devices and methods for location-dependent prioritized communication |
CN113992597A (en) * | 2021-09-13 | 2022-01-28 | 广州番禺电缆集团有限公司 | Cable monitoring data reporting method, device, equipment and storage medium |
CN114884997A (en) * | 2022-05-26 | 2022-08-09 | 广州番禺电缆集团有限公司 | Intelligent cable monitoring system for sensor data grading transmission |
Also Published As
Publication number | Publication date |
---|---|
CN117061614A (en) | 2023-11-14 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20120230206A1 (en) | Placement of wireless repeaters in a wireless communication network | |
CN111815799B (en) | Flight inspection monitoring system based on electric power tower and electric power line | |
CN106302017B (en) | The small capaciated flow network velocity-measuring system of high concurrent and method | |
CN105429905A (en) | Method, device and system for monitoring advertisement putting terminal | |
CN107483297B (en) | Active monitoring system and method for quality of service carried on embedded equipment | |
CN116980284B (en) | Optical cable fiber distribution box operation and maintenance information transmission method and system based on Internet of things | |
CN110505307B (en) | Method and system for exchanging traffic flow data between networks | |
CN117061614B (en) | Data processing method and terminal | |
CN107104956A (en) | A kind of remote sensing distribution method and system based on user's relative importance value | |
CN102271067A (en) | network detecting method, device and system | |
CN111404842B (en) | Data transmission method, device and computer storage medium | |
CN110266446B (en) | Method and device for adjusting out-of-order time length based on SACK mode | |
CN1835469A (en) | Communication relay apparatus, information management system, and control method | |
CN112637055B (en) | Multi-link aggregation method, system and storage medium based on VPN tunnel | |
EP3447986A1 (en) | Information processing device, information processing system, and information processing method | |
CN112134734B (en) | Configuration method and device of network equipment | |
CN111200669B (en) | Wireless ad hoc network method and system for power transmission line | |
CN108156086A (en) | A kind of strategy rule downloading method and device | |
CN113177883A (en) | Data queue-based arrangement transmission system | |
CN102833872A (en) | Service access method and system and terminal | |
CN113225204B (en) | Gateway control method and system | |
CN110138626A (en) | System, the method and device that a kind of pair of terminal device is monitored | |
CN115685817B (en) | Method, device and medium for processing data concurrency during CAN (controller area network) multi-node communication | |
CN112437458B (en) | Data transmission method, device, communication equipment and medium | |
CN118233860B (en) | Data transmission method and system for Internet of vehicles equipment |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |