CN118118075A - Beidou director-based data acquisition system and control method thereof - Google Patents

Beidou director-based data acquisition system and control method thereof Download PDF

Info

Publication number
CN118118075A
CN118118075A CN202410129261.7A CN202410129261A CN118118075A CN 118118075 A CN118118075 A CN 118118075A CN 202410129261 A CN202410129261 A CN 202410129261A CN 118118075 A CN118118075 A CN 118118075A
Authority
CN
China
Prior art keywords
beidou
director
user machine
target user
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
CN202410129261.7A
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.)
State Grid Corp of China SGCC
State Grid Qinghai Electric Power Co Ltd
Information and Telecommunication Branch of State Grid Qinghai Electric Power Co Ltd
Original Assignee
State Grid Corp of China SGCC
State Grid Qinghai Electric Power Co Ltd
Information and Telecommunication Branch of State Grid Qinghai Electric Power 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 State Grid Corp of China SGCC, State Grid Qinghai Electric Power Co Ltd, Information and Telecommunication Branch of State Grid Qinghai Electric Power Co Ltd filed Critical State Grid Corp of China SGCC
Priority to CN202410129261.7A priority Critical patent/CN118118075A/en
Publication of CN118118075A publication Critical patent/CN118118075A/en
Pending legal-status Critical Current

Links

Landscapes

  • Mobile Radio Communication Systems (AREA)

Abstract

The application provides a data acquisition system based on a Beidou director and a control method of the system. The system comprises: the acquisition end is used for acquiring the ammeter data of the user machine and packaging the ammeter data in the form of Beidou short messages; the first Beidou command machine is used for receiving the Beidou short messages sent by the acquisition end and carrying out packet processing on the Beidou short messages; the first Beidou director sends the target ID of the target user machine to the second Beidou director under the condition of packet failure, and the second Beidou director requests the target user machine to resend the Beidou short message and performs packet processing on the received Beidou short message. The big Dipper short message communication capacity is limited by the big Dipper card in the prior art, single communication capacity is limited, communication frequency is limited, and message receiving and transmitting efficiency is low.

Description

Beidou director-based data acquisition system and control method thereof
Technical Field
The application relates to the technical field of Beidou data communication, in particular to a data acquisition system based on a Beidou command machine, a control method of the data acquisition system based on the Beidou command machine and a second Beidou command machine.
Background
The Beidou satellite navigation system is a global satellite navigation system which is autonomously built and operated in China and focuses on the national safety and economic social development requirements, and is a national important space-time infrastructure for providing all-weather, all-day and high-precision positioning, navigation and time service for global users. The Beidou system provides services, has been widely applied in the fields of transportation, agriculture, forestry, fishery, hydrologic monitoring, weather forecast, communication time service, power dispatching, disaster relief, disaster reduction, public safety and the like, serves important national infrastructure, and generates remarkable economic benefit and social benefit. The short message service is a two-way message communication service provided by the Beidou satellite navigation system based on RDSS, and is one of the characteristic services of the Beidou satellite navigation system. At present, beidou regional short message communication and global short message communication provide services for mass users and part of actual users.
Meanwhile, along with the promotion of automatic construction of intelligent power grids in China, not only is the automatic collection of resident electricity information realized in town areas, but also the requirements of full coverage, full collection and full cost control are also provided for electricity consumption in remote areas. For remote areas with excessive private network deployment cost, which are not covered by public network signals and optical fiber communication links, intelligent acquisition of power grid data by adopting a Beidou short message communication mode is an effective solution.
However, because the communication capacity of the Beidou short message is limited by the Beidou card, the single communication capacity is limited and the communication frequency is limited, so that the message receiving and transmitting efficiency is low.
Disclosure of Invention
The application mainly aims to provide a data acquisition system based on a Beidou command machine, a control method of the data acquisition system based on the Beidou command machine and a second Beidou command machine, so as to at least solve the problems that in the prior art, the communication capacity of Beidou short messages is limited by a Beidou card, the single communication capacity is limited, the communication frequency is limited, and the message receiving and transmitting efficiency is low.
In order to achieve the above object, according to one aspect of the present application, there is provided a data acquisition system based on a Beidou director, including: the acquisition end is used for acquiring the ammeter data of the user machine and packaging the ammeter data in the form of Beidou short messages; the first Beidou command machine is in communication connection with the acquisition end and is used for receiving the Beidou short messages sent by the acquisition end and carrying out packet processing on the Beidou short messages; the second Beidou command machine is respectively in communication connection with the acquisition end and the first Beidou command machine, the first Beidou command machine sends a target ID of a target user machine to the second Beidou command machine under the condition of packet failure, and the second Beidou command machine requests the target user machine to resend the Beidou short message and performs packet processing on the received Beidou short message; the server is in communication connection with the first Beidou director and the second Beidou director respectively, and is used for receiving data packets sent by the first Beidou director under the condition of successful packet grouping, and is used for receiving data packets sent by the second Beidou director under the condition of successful packet grouping, and is used for receiving information reported by the second Beidou director under the condition of failed packet grouping, such that the target user machine is abnormal.
Optionally, the collecting end includes: the intelligent electric meters are used for storing the electric meter data of the user machines, and the intelligent electric meters are in one-to-one correspondence with the user machines; the concentrator is respectively in communication connection with a plurality of intelligent electric meters and is used for integrating the electric meter data of all the intelligent electric meters; the communication all-in-one machine is in communication connection with the concentrator and is used for realizing data communication.
Optionally, the system further comprises: the Beidou satellite is respectively in communication connection with the communication integrated machine, the first Beidou command machine and the second Beidou command machine, and is used for providing short message communication; the ground total station is in communication connection with the Beidou satellite and is used for controlling the Beidou satellite to operate.
According to another aspect of the present application, there is provided a control method of any one of the data acquisition systems based on the Beidou director, the method including: the second Beidou director acquires a target ID of a target user machine, wherein the target user machine is a user machine which fails to package Beidou short messages by the first Beidou director; the second Beidou director establishes communication connection with the target user machine in a point-to-point communication mode, and requests the target user machine to resend the Beidou short message; the second Beidou director receives the Beidou short message retransmitted by the target user machine and performs packet processing on the retransmitted Beidou short message; and the second Beidou director sends packet success information to the target user machine under the condition of successful packet formation, and reports the abnormality of the target user machine to a server under the condition of packet formation failure.
Optionally, the second Beidou director acquires a target ID of the target user machine, including: the second Beidou director acquires a first type of target ID, wherein the first type of target ID is the target ID of the target user machine with abnormal sequence numbers of data packets of the first Beidou director group; the second Beidou director acquires a second type of target ID, wherein the second type of target ID is the target ID of the target user machine, which is still not received after polling, of the target user machine, and the time length of which the first Beidou director does not receive the data sent by the target user machine reaches the target time length, and the target user machine is requested to resend the data in a point-to-point communication mode.
Optionally, after the second Beidou director acquires the target ID of the target user machine, the method further comprises: the second Beidou director establishes communication connection with the target user machine in a point-to-point communication mode under the condition that the type of the target ID is the first type, and requests the target user machine to resend the Beidou short message; and under the condition that the duration of not receiving the Beidou short message sent by the target user machine reaches the target duration, the second Beidou director changes the type of the target ID into a second type.
Optionally, after the second Beidou director acquires the target ID of the target user machine, the method further comprises: the second Beidou director establishes communication connection with the target user machine in a point-to-point communication mode under the condition that the type of the target ID is the first type, and requests the target user machine to resend the Beidou short message; reporting the abnormality of the target user machine to the server by the second Beidou director when the number of packet failure times is greater than or equal to a first preset number of times; and the second Beidou director uploads the composed data packet to the server under the condition that the packet is successfully assembled.
Optionally, after the second Beidou director acquires the target ID of the target user machine, the method further comprises: the second Beidou director establishes communication connection with the target user machine in a mode of random point-to-point communication without timing under the condition that the type of the target ID is a second type; reporting the abnormality of the target user machine to the server by the second Beidou director when the communication failure times with the target user machine are larger than or equal to second preset times; and the second Beidou director requests the target user machine to resend the Beidou short message under the condition that the second Beidou director is successful in communication with the target user machine.
Optionally, after the second Beidou director sends the packet success information to the target user machine under the condition that the packet is successful, and the second Beidou director reports the abnormality of the target user machine to the server under the condition that the packet is failed, the method further includes: the second Beidou director acquires new application information of the acquisition end under the condition that a new acquisition end is accessed to the system, wherein the application information at least comprises a local ID; the second Beidou director checks the application information to obtain a check result; the second Beidou director sends verification success information to the new acquisition end under the condition that the verification result representation passes verification; and discarding the new application information of the acquisition end by the second Beidou director under the condition that the verification result representation fails verification.
According to still another aspect of the present application, there is provided a second Beidou director, the second Beidou director being any one of the second Beidou director in the Beidou director-based data acquisition system, the second Beidou director comprising: the first acquisition unit is used for acquiring a target ID of a target user machine, wherein the target user machine is a user machine which fails to package the Beidou short message by the first Beidou director; the first processing unit is used for establishing communication connection with the target user machine in a point-to-point communication mode and requesting the target user machine to resend the Beidou short message; the second processing unit is used for receiving the Beidou short message retransmitted by the target user machine and carrying out packet processing on the retransmitted Beidou short message; and the third processing unit is used for sending the packet success information to the target user machine under the condition of successful packet assembly, and reporting the exception of the target user machine to a server under the condition of packet assembly failure.
By applying the technical scheme of the application, two Beidou command machines are designed, one Beidou command machine is designed in the prior art, so that limited single communication capacity is limited, therefore, the two Beidou command machines work cooperatively in the scheme, the first Beidou command machine is used for normal work, if packet is failed, the second Beidou command machine is used for taking charge of abnormal communication (sending data and packet data), the first Beidou command machine is continuously responsible for other communication transmission without taking charge of abnormal communication, and the acquisition efficiency and the sending efficiency of the power grid message can be improved by adopting a double-machine cooperative work mode.
Drawings
The accompanying drawings, which are included to provide a further understanding of the application and are incorporated in and constitute a part of this specification, illustrate embodiments of the application and together with the description serve to explain the application. In the drawings:
Fig. 1 shows a schematic structural diagram of a data acquisition system based on a Beidou director;
fig. 2 is a block diagram of a hardware structure of a mobile terminal for executing a control method of a data acquisition system based on a Beidou director according to an embodiment of the present application;
Fig. 3 is a schematic flow chart of a control method of a data acquisition system based on a Beidou director according to an embodiment of the present application;
FIG. 4 shows a schematic diagram of the architecture of a dual director;
fig. 5 shows a block diagram of a second Beidou director according to an embodiment of the present application.
Wherein the above figures include the following reference numerals:
102. A processor; 104. a memory; 106. a transmission device; 108. an input-output device; 10. the first Beidou command machine; 11. the second Beidou command machine; 12. a server; 13. a smart meter; 14. a concentrator; 15. the communication all-in-one machine; 16. a Beidou satellite; 17. a ground total station.
Detailed Description
It should be noted that, without conflict, the embodiments of the present application and features of the embodiments may be combined with each other. The application will be described in detail below with reference to the drawings in connection with embodiments.
In order that those skilled in the art will better understand the present application, a technical solution in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in which it is apparent that the described embodiments are only some embodiments of the present application, not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the present application without making any inventive effort, shall fall within the scope of the present application.
It should be noted that the terms "first," "second," and the like in the description and the claims of the present application and the above figures are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged where appropriate in order to describe the embodiments of the application herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
For convenience of description, the following will describe some terms or terminology involved in the embodiments of the present application:
Beidou command machine: the intelligent terminal equipment based on the Beidou satellite positioning system can acquire accurate positioning information through the Beidou satellite system, can perform functions of data transmission, communication, navigation and the like, and provides omnibearing command and control support for users.
Beidou short message: the method is a function of sending and receiving short messages by using a Beidou satellite navigation system. The function can be used for real-time communication and position information transmission, and is suitable for various fields of application, such as aviation, offshore, vehicle management and the like.
Communication all-in-one: the integrated device is integrated with multiple communication functions, and can realize multiple functions such as telephone, fax, printing, copying, data sending, data receiving and the like.
As described in the background art, in the prior art, the communication capacity of the Beidou short message is limited by the Beidou card, the single communication capacity is limited, and the communication frequency is limited, so that the message receiving and transmitting efficiency is low.
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention.
The application provides a data acquisition system based on a Beidou director, as shown in fig. 1, comprising:
the acquisition end is used for acquiring the ammeter data of the user machine and packaging the ammeter data in the form of Beidou short messages;
The first Beidou command machine 10 is in communication connection with the acquisition end, and is used for receiving the Beidou short messages sent by the acquisition end and performing packet processing on the Beidou short messages;
The second Beidou director 11 is respectively in communication connection with the acquisition end and the first Beidou director, the first Beidou director sends a target ID of a target user machine to the second Beidou director under the condition of packet failure, and the second Beidou director requests the target user machine to resend the Beidou short message and performs packet processing on the received Beidou short message;
The server 12 is in communication connection with the first Beidou director and the second Beidou director respectively, the server is used for receiving data packets sent by the first Beidou director under the condition of successful packet grouping, the server is used for receiving data packets sent by the second Beidou director under the condition of successful packet grouping, and the server is used for receiving the information of the target user machine abnormality reported under the condition of failure of the second Beidou director group packet.
In the above system, two Beidou command machines are designed, one Beidou command machine is designed in the prior art, so that limited single communication capacity can be caused, therefore, in the scheme, the two Beidou command machines work cooperatively, the first Beidou command machine is used for working normally, if packet failure occurs, the second Beidou command machine is adopted to take charge of abnormal communication (data sending and packet data sending), the first Beidou command machine continues to take charge of other communication transmission without going to take charge of abnormal communication, and therefore, the acquisition efficiency and the sending efficiency of the power grid message can be improved by adopting a double-machine cooperative work mode.
Specifically, in order to solve the problems of difficult uploading of power grid data in partial remote areas, poor real-time performance and the like, the requirements of full coverage and full acquisition are met, new equipment is added to have flexibility, and the requirement of strong practicability is met.
In a specific embodiment, as shown in fig. 1, the collection end includes a plurality of smart meters 13, a concentrator 14, and a communication all-in-one machine 15, where the plurality of smart meters are used to store the meter data of the plurality of user machines, and the smart meters are in one-to-one correspondence with the user machines; the concentrator is respectively connected with the plurality of intelligent electric meters in a communication way, and is used for integrating the electric meter data of all the intelligent electric meters; the communication all-in-one machine is in communication connection with the concentrator and is used for realizing data communication.
In this scheme, this collection end has included smart electric meter, concentrator and communication all-in-one, can gather user's ammeter data through smart electric meter to unify all ammeter data of collecting through the concentrator, so that the system has the function of unifying the collection data, can realize the sending and the receipt of data through the communication all-in-one, and the receipt refers to the data that the reception director sent, specifically can be through the big dipper satellite forwarding.
In a specific embodiment, as shown in fig. 1, the system further includes a beidou satellite 16 and a ground total station 17, where the beidou satellite is respectively in communication connection with the communication all-in-one machine, the first beidou director and the second beidou director, and the beidou satellite is used for providing short message communication; the ground master station is in communication connection with the Beidou satellite, and the ground master station is used for controlling the Beidou satellite to operate.
In this scheme, big dipper satellite can send the signal to ground, realizes the communication of data, and ground master station is big dipper satellite's control center, can control big dipper satellite operation, guarantees the normal operating of system.
Specifically, as shown in fig. 1, the two Beidou director and the server form a data service end, and the service end is used for receiving data of the acquisition end and sending a control instruction to the acquisition end.
The method embodiments provided in the embodiments of the present application may be performed in a mobile terminal, a computer terminal or similar computing device. Taking the mobile terminal as an example, fig. 2 is a hardware structure block diagram of the mobile terminal of the control method of the data acquisition system based on the Beidou director according to the embodiment of the application. As shown in fig. 2, the mobile terminal may include one or more (only one is shown in fig. 2) processors 102 (the processor 102 may include, but is not limited to, a microprocessor MCU or a processing device such as a programmable logic device FPGA) and a memory 104 for storing data, wherein the mobile terminal may further include a transmission device 106 for communication functions and an input-output device 108. It will be appreciated by those skilled in the art that the structure shown in fig. 2 is merely illustrative and not limiting of the structure of the mobile terminal described above. For example, the mobile terminal may also include more or fewer components than shown in fig. 2, or have a different configuration than shown in fig. 2.
The memory 104 may be used to store a computer program, for example, a software program of application software and a module, such as a computer program corresponding to a display method of device information in an embodiment of the present invention, and the processor 102 executes the computer program stored in the memory 104 to perform various functional applications and data processing, that is, to implement the above-described method. Memory 104 may include high-speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory 104 may further include memory remotely located relative to the processor 102, which may be connected to the mobile terminal via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof. The transmission device 106 is used to receive or transmit data via a network. Specific examples of the network described above may include a wireless network provided by a communication provider of the mobile terminal. In one example, the transmission device 106 includes a network adapter (Network Interface Controller, simply referred to as a NIC) that can connect to other network devices through a base station to communicate with the internet. In one example, the transmission device 106 may be a Radio Frequency (RF) module, which is configured to communicate with the internet wirelessly.
In this embodiment, a control method of a data acquisition system based on a Beidou director operating on a mobile terminal, a computer terminal or a similar computing device is provided, and it should be noted that the steps illustrated in the flowchart of the drawings may be performed in a computer system such as a set of computer executable instructions, and that although a logic sequence is illustrated in the flowchart, in some cases, the steps illustrated or described may be performed in a different sequence than that illustrated herein.
Fig. 3 is a flow chart of a control method of a data acquisition system based on a Beidou director according to an embodiment of the application. As shown in fig. 3, the method comprises the steps of:
Step S201, a second Beidou director acquires a target ID of a target user machine, wherein the target user machine is a user machine which fails to package Beidou short messages by the first Beidou director;
Specifically, the data acquisition end packages the acquired data according to the Beidou short message format and sends the packaged data to the first Beidou command machine and the second Beidou command machine, the first Beidou command machine receives the short message information of the subordinate user machine of the data acquisition end and analyzes the short message information, the data are packaged according to the sub-package number, the data are sent to the server for decompression through the network after the successful package is completed, if the package is failed, the data are discarded, the subordinate user machine ID is sent to the second Beidou command machine, and the second Beidou command machine receives the target ID of the target user machine.
Specifically, aiming at the problem that the single communication capacity of the Beidou short message service is limited, the Beidou short message can be sent by using a data compression and data packetization mode in the scheme.
Specifically, the judgment as to whether the data has failed to be packed may be performed in the following manner: the sequence numbers of the data packets are not ordered according to a preset ordering mode, the first difference value between the Mth sequence number and the Mth-1 sequence number is not equal to the second difference value between the Mth sequence number and the Mth+1th sequence number, the end zone bit is not acquired, the data packets cannot be analyzed normally, the time length of the data packets which are not received is longer than or equal to the target time length, and the packet grouping failure can be determined when at least one of the conditions is met.
Step S202, the second Beidou director establishes communication connection with the target user machine in a point-to-point communication mode, and requests the target user machine to resend the Beidou short message;
specifically, the second Beidou director performs point-to-point communication with a part of subordinate user machines (i.e. the IDs of the user machines with failed packet), and requires the subordinate user machines to retransmit the power grid data (which may also be referred to as electric meter data herein).
Step 203, the second Beidou director receives the Beidou short message retransmitted by the target user machine, and performs packet processing on the retransmitted Beidou short message;
Specifically, after receiving the instruction of the second Beidou director, the subordinate user machine reads the buffer area to carry out data cycle retransmission, and after receiving the data of the target user machine, the second Beidou director analyzes the data and carries out packet combination again.
And step S204, the second Beidou director sends packet success information to the target user machine under the condition of successful packet formation, and reports the abnormality of the target user machine to a server under the condition of packet formation failure.
Specifically, if the grouping is successful, a short message with the message content of 0 is sent, and the user machine stops sending after receiving the message; if the grouping is not successful in the appointed time, recording the report abnormality of the user machine ID.
Through this embodiment, through two big dipper commander collaborative works, first big dipper commander is used for normal work, if the group package has failed, then adopts the second big dipper commander to be responsible for unusual communication (send data and group package data), and first big dipper commander continues to be responsible for other communication transmission and need not go to be responsible for unusual communication again, consequently adopts the mode of two machines collaborative works, can improve the collection efficiency and the sending efficiency of electric wire netting message.
The Beidou system allows the Beidou command machine to simultaneously receive information of subordinate machines by utilizing the monitoring function, and can simultaneously send communication information to subordinate users at a time.
Specifically, as shown in fig. 4, the first Beidou director and the Beidou user machine form a conventional single director user group, the user machine is preset with an ID of the first Beidou director, and a power grid data message is sent to the first Beidou director in a point-to-point manner; on the basis of the single director user group, the first Beidou director and the user machine are collectively used as subordinate machines of the second Beidou director.
In addition, the communication all-in-one machine can compress power grid data by adopting an LZW algorithm, unpack the compressed data according to the single message length of the Beidou card, and add a corresponding packet header.
The first Beidou director can simultaneously send the same information to all subordinate computers at one time by utilizing the general broadcasting function, realize the functions of batch acquisition, batch timing and the like, and also can send specific information to the appointed user machine point to point according to the user machine ID, such as acquisition position, data retransmission and the like.
According to the scheme, the cooperative strategy of the two Beidou command machines is adopted, the same power grid data is received in a non-simple mutually independent mode, the frequency resources of the two command machines are fully utilized, and the transmission efficiency of the acquisition system is improved.
In the specific implementation process, the second Beidou director acquires the target ID of the target user machine, and the method can be realized by the following steps: the second Beidou director acquires the target ID of a first type, wherein the target ID of the first type is the target ID of the target user machine with abnormal sequence numbers of data packets of the first Beidou director group; the second Beidou director acquires the target ID of a second type, wherein the target ID of the second type is the target ID of the target user machine, which is still not received by the target user machine after polling, and the time length of which the first Beidou director does not receive the data sent by the target user machine reaches the target time length and requests the target user machine to resend the data in a point-to-point communication mode.
In the scheme, if the first Beidou director fails to send the target ID to the second Beidou director due to packet failure, the target ID is marked as a first type, if the first Beidou director does not receive the short message information of the user machine for a long time, the first Beidou director still does not receive the short message information of the user machine after adopting a point-to-point communication mode, then the target ID is sent to the second Beidou director, the target ID is marked as a second type, and the second Beidou director receives the ID sent by the first Beidou director and has the type, and then corresponding processing can be carried out according to the type.
Specifically, the first Beidou director uploads the user machine ID to the user machine in the second Beidou director due to package failure, and the user machine is marked as '1' type; after the first Beidou director does not receive short message messages for a long time, checking subordinate list messages, recording subordinate user machines which do not receive the messages yet, and sending retransmission commands to the subordinate user machines in a point-to-many mode; and after polling for one time, the subordinate user machines which do not receive the message still report the second Beidou director machine, and the second Beidou director machine is marked as '2'.
The Beidou short message is affected by environmental factors around the equipment under the actual application condition, the condition of sending failure often occurs, and the short message communication is receipt-free, so that whether the message is received by the opposite party can not be determined.
In the specific implementation process, after the second Beidou director acquires the target ID of the target user machine, the method further comprises the following steps: under the condition that the type of the target ID is the first type, the second Beidou director establishes communication connection with the target user machine in a point-to-point communication mode, and requests the target user machine to resend the Beidou short message; and under the condition that the duration of the target user machine which does not receive the Beidou short message reaches the target duration, the second Beidou director changes the type of the target ID into a second type.
In the scheme, the second Beidou director adopts point-to-point communication to the user machine with the target ID of the first type, if the reply of the user machine is not received for a long time, the ID of the user machine is changed into the second type, and the user machine of the first type is actually caused by interference, and if the reply is not yet carried out for a long time, the user machine type can be accurately further determined through the scheme.
Specifically, the second Beidou director sequentially adopts point-to-point communication for the '1' subordinate user IDs, and if the short message of the subordinate user IDs is not received within a specified time, the subordinate user IDs are changed into '2'.
In the specific implementation process, after the second Beidou director acquires the target ID of the target user machine, the method further comprises the following steps: under the condition that the type of the target ID is the first type, the second Beidou director establishes communication connection with the target user machine in a point-to-point communication mode, and requests the target user machine to resend the Beidou short message; reporting the abnormality of the target user machine to the server by the second Beidou director when the number of packet failure times is greater than or equal to the first preset number of times; and the second Beidou director uploads the composed data packet to the server under the condition that the grouping is successful.
In this scheme, the target ID may be caused by interference or packet loss, if the first type of user machine still fails to group packets after repeating data, it is abnormal for the user machine, if the group packets succeed, it is uploaded to the server, so that the corresponding policy can be executed after determining the cause of the data transmission failure more accurately.
Specifically, the second Beidou director sequentially adopts point-to-point communication to the '1' subordinate user ID, positions the sub-packet number with failed packet grouping, performs a designated sub-packet retransmission instruction on the subordinate user, successfully groups the packets and sends the sub-packet number to the server; if the retransmission still fails to be packed more than k times (three times, five times or other times), the server is reported that the subordinate user machine is abnormal.
In the specific implementation process, after the second Beidou director acquires the target ID of the target user machine, the method further comprises the following steps: under the condition that the type of the target ID is the second type, the second Beidou director establishes communication connection with the target user machine in a mode of random point-to-point communication through irregular time; reporting the abnormality of the target user machine to the server by the second Beidou director when the communication failure frequency between the second Beidou director and the target user machine is greater than or equal to a second preset frequency; and under the condition that the second Beidou director is successful in communicating with the target user machine, requesting the target user machine to resend the Beidou short message.
In the scheme, the target ID is of a second type, namely the user machine is out of connection, if the user machine is out of connection, communication connection is established with the user machine in a mode of randomly penetrating point-to-point communication, if the user machine still cannot communicate with the user machine after multiple times of connection, the user machine is abnormally reported to a server, and if the connection is successful, the user machine is requested to resend data, so that a corresponding strategy can be executed after the reason of the data transmission failure is accurately determined.
Specifically, the second Beidou director adopts irregular random interpenetration of point-to-point communication for the '2' subordinate user machine ID, and if k times of point-to-point communication still fail, the server is reported that the subordinate user machine is abnormal.
Random interleaving of point-to-point communication means that transmission and reception of information are not performed at fixed time intervals or sequences during communication, but point-to-point communication is performed at different time points and positions at random.
For example, in a wireless sensor network, data transmission and sharing are required between sensor nodes. The time and location of the transmission cannot be predetermined due to the difference in location and environmental conditions between the nodes. Thus, in this case, the communication between the sensor nodes is an sporadic random interleaving point-to-point communication.
For example, in the context of a mobile internet, users communicate and data transfer via cell phones and other devices. The time and location of the communication may also vary randomly due to uncertainty in the location and movement status of the user. Thus, communication between users is random interleaving point-to-point communication at random.
Therefore, the reasons of transmission failure of the Beidou short message can be identified, and the reasons of failure, namely the first type and the second type, are corresponding, the first type is caused by data packet loss or interference, the second type is caused by user machine disconnection, so that the probability of false alarm can be reduced, and the corresponding strategy is executed after the reasons of data transmission failure are accurately determined.
The scheme classifies abnormal subordinate user machines, avoids the problem of abnormal short Beidou short message transmission due to external environment influence, and reduces the false alarm probability.
In some embodiments, the method further includes the following steps after the second Beidou director sends the packet success information to the target user machine when the second Beidou director fails to packet, and reports the target user machine abnormality to the server when the second Beidou director fails to packet: the second Beidou director acquires new application information of the acquisition end under the condition that a new acquisition end is accessed to the system, wherein the application information at least comprises a local ID; the second Beidou director checks the application information to obtain a check result; the second Beidou director sends verification success information to the new acquisition end under the condition that the verification result representation passes verification; and discarding the application information of the new acquisition end by the second Beidou director under the condition that the verification result representation fails to pass the verification.
In the scheme, if the second Beidou director receives the information of the new acquisition end to be accessed to the system, the application information of the new acquisition end can be checked, if the new acquisition end passes the check, the system is accessed, and if the check fails, the information is discarded, so that the system is ensured to have a safe access mechanism, and the system has flexibility.
Specifically, the second Beidou director further receives and processes a new acquisition terminal access application, the new acquisition terminal sends the local ID, the position, the collector ID, the application group and other contents to the second Beidou director, the second Beidou director performs rationality verification on the information, if the verification passes, the second Beidou director sends short message information of a success indication to the acquisition terminal, and the user ID of the short message information is written into a subordinate group where the second Beidou director is located; otherwise, the short message is discarded. According to the Beidou user group management rule, the new user group participated by the second Beidou director does not have the general broadcasting function any more, namely the second Beidou director can only send instructions to the user machine point to point. And when the subordinate number of the Beidou director does not reach the upper limit, writing the subordinate number of the Beidou director into a subordinate user list of the first Beidou director at intervals. And the user machine transmits the power grid data to the first Beidou director machine preferentially.
The method for checking the acquisition terminal accessed to the Beidou system by the Beidou director comprises the following three examples:
And (3) checking position information: the Beidou director can be used for checking by comparing the position information sent by the acquisition terminal with the difference between the position information and the actual position, so that the positioning accuracy of the acquisition terminal is ensured.
And (3) checking data transmission: the Beidou director can be used for checking by comparing the data information transmitted by the acquisition terminal with the consistency of the actual data, so that the data transmission accuracy of the acquisition terminal is ensured.
And (3) communication connection checking: the Beidou director can be used for testing communication connection with the acquisition terminal, checking the stability and reliability of communication connection of the Beidou director, and ensuring that the acquisition terminal can normally communicate with the Beidou system.
The method for checking the user terminal accessing the Beidou system by the Beidou director machine can comprise the following three examples:
User identity verification: the Beidou director can verify through identity information provided by the user side, so that the user side is ensured to have legal use permission.
Instruction execution verification: the Beidou director can send an instruction to the user side, then check whether the user side can execute correctly and return an execution result, and ensure that the user side can operate according to the instruction.
And (3) checking data transmission: the Beidou director can be used for checking the consistency of the Beidou director and the actual data by receiving the data information transmitted by the user side, so that the data transmission accuracy of the user side is ensured.
The embodiment of the application also provides a second Beidou command machine, and the second Beidou command machine can be used for executing the control method for the Beidou command machine-based data acquisition system. The second Beidou director is used for realizing the embodiment and the preferred implementation, and is not described again. As used below, the term "module" may be a combination of software and/or hardware that implements a predetermined function. While the second Beidou director described in the embodiments below is preferably implemented in software, implementation of hardware, or a combination of software and hardware, is also possible and contemplated.
The second Beidou director provided by the embodiment of the application is introduced below.
Fig. 5 is a block diagram of a second Beidou director according to an embodiment of the present application. As shown in fig. 5, the second beidou director includes:
the first obtaining unit 100 is configured to obtain a target ID of a target user machine, where the target user machine is a user machine that fails to group the beidou short message by the first beidou director;
Specifically, the data acquisition end packages the acquired data according to the Beidou short message format and sends the packaged data to the first Beidou command machine and the second Beidou command machine, the first Beidou command machine receives the short message information of the subordinate user machine of the data acquisition end and analyzes the short message information, the data are packaged according to the sub-package number, the data are sent to the server for decompression through the network after the successful package is completed, if the package is failed, the data are discarded, the subordinate user machine ID is sent to the second Beidou command machine, and the second Beidou command machine receives the target ID of the target user machine.
Specifically, aiming at the problem that the single communication capacity of the Beidou short message service is limited, the Beidou short message can be sent by using a data compression and data packetization mode in the scheme.
Specifically, the judgment as to whether the data has failed to be packed may be performed in the following manner: the sequence numbers of the data packets are not ordered according to a preset ordering mode, the first difference value between the Mth sequence number and the Mth-1 sequence number is not equal to the second difference value between the Mth sequence number and the Mth+1th sequence number, the end zone bit is not acquired, the data packets cannot be analyzed normally, the time length of the data packets which are not received is longer than or equal to the target time length, and the packet grouping failure can be determined when at least one of the conditions is met.
The first processing unit 200 is configured to establish a communication connection with the target user machine by using a peer-to-peer communication manner, and request the target user machine to resend the beidou short message;
specifically, the second Beidou director performs point-to-point communication with a part of subordinate user machines (i.e. the IDs of the user machines with failed packet), and requires the subordinate user machines to retransmit the power grid data (which may also be referred to as electric meter data herein).
The second processing unit 300 is configured to receive the Beidou short message retransmitted by the target user machine, and perform packet processing on the retransmitted Beidou short message;
Specifically, after receiving the instruction of the second Beidou director, the subordinate user machine reads the buffer area to carry out data cycle retransmission, and after receiving the data of the target user machine, the second Beidou director analyzes the data and carries out packet combination again.
And the third processing unit 400 is configured to send packet success information to the target user machine when the packet is successful, and report the exception of the target user machine to the server when the packet is failed.
Specifically, if the grouping is successful, a short message with the message content of 0 is sent, and the user machine stops sending after receiving the message; if the grouping is not successful in the appointed time, recording the report abnormality of the user machine ID.
Through this embodiment, through two big dipper commander collaborative works, first big dipper commander is used for normal work, if the group package has failed, then adopts the second big dipper commander to be responsible for unusual communication (send data and group package data), and first big dipper commander continues to be responsible for other communication transmission and need not go to be responsible for unusual communication again, consequently adopts the mode of two machines collaborative works, can improve the collection efficiency and the sending efficiency of electric wire netting message.
The Beidou system allows the Beidou command machine to simultaneously receive information of subordinate machines by utilizing the monitoring function, and can simultaneously send communication information to subordinate users at a time.
Specifically, as shown in fig. 4, the first Beidou director and the Beidou user machine form a conventional single director user group, the user machine is preset with an ID of the first Beidou director, and a power grid data message is sent to the first Beidou director in a point-to-point manner; on the basis of the single director user group, the first Beidou director and the user machine are collectively used as subordinate machines of the second Beidou director.
In addition, the communication all-in-one machine can compress power grid data by adopting an LZW algorithm, unpack the compressed data according to the single message length of the Beidou card, and add a corresponding packet header.
The first Beidou director can simultaneously send the same information to all subordinate computers at one time by utilizing the general broadcasting function, realize the functions of batch acquisition, batch timing and the like, and also can send specific information to the appointed user machine point to point according to the user machine ID, such as acquisition position, data retransmission and the like.
According to the scheme, the cooperative strategy of the two Beidou command machines is adopted, the same power grid data is received in a non-simple mutually independent mode, the frequency resources of the two command machines are fully utilized, and the transmission efficiency of the acquisition system is improved.
In the specific implementation process, the first acquisition unit comprises a first acquisition module and a second acquisition module, wherein the first acquisition module is used for acquiring the first type of the target ID, and the first type of the target ID is the target ID of the target user machine with abnormal sequence numbers of data packets of the first Beidou command unit packet; the second obtaining module is configured to obtain the second type of the target ID, where the second type of the target ID is a target duration when the first beidou director does not receive the data sent by the target user machine, and requests the target user machine to resend the data in a peer-to-peer communication manner, and after polling, the target ID of the target user machine that does not still receive the data sent by the target user machine is still obtained.
In the scheme, if the first Beidou director fails to send the target ID to the second Beidou director due to packet failure, the target ID is marked as a first type, if the first Beidou director does not receive the short message information of the user machine for a long time, the first Beidou director still does not receive the short message information of the user machine after adopting a point-to-point communication mode, then the target ID is sent to the second Beidou director, the target ID is marked as a second type, and the second Beidou director receives the ID sent by the first Beidou director and has the type, and then corresponding processing can be carried out according to the type.
Specifically, the first Beidou director uploads the user machine ID to the user machine in the second Beidou director due to package failure, and the user machine is marked as '1' type; after the first Beidou director does not receive short message messages for a long time, checking subordinate list messages, recording subordinate user machines which do not receive the messages yet, and sending retransmission commands to the subordinate user machines in a point-to-many mode; and after polling for one time, the subordinate user machines which do not receive the message still report the second Beidou director machine, and the second Beidou director machine is marked as '2'.
The Beidou short message is affected by environmental factors around the equipment under the actual application condition, the condition of sending failure often occurs, and the short message communication is receipt-free, so that whether the message is received by the opposite party can not be determined.
In a specific implementation process, the second Beidou director further comprises a fourth processing unit and a fifth processing unit, wherein the fourth processing unit is used for establishing communication connection with the target user machine in a point-to-point communication mode and requesting the target user machine to resend the Beidou short message under the condition that the type of the target ID is the first type after the target ID of the target user machine is acquired; and the fifth processing unit is used for changing the type of the target ID into the second type under the condition that the duration of the Beidou short message sent by the target user machine does not reach the target duration.
In the scheme, the second Beidou director adopts point-to-point communication to the user machine with the target ID of the first type, if the reply of the user machine is not received for a long time, the ID of the user machine is changed into the second type, and the user machine of the first type is actually caused by interference, and if the reply is not yet carried out for a long time, the user machine type can be accurately further determined through the scheme.
Specifically, the second Beidou director sequentially adopts point-to-point communication for the '1' subordinate user IDs, and if the short message of the subordinate user IDs is not received within a specified time, the subordinate user IDs are changed into '2'.
In a specific implementation process, the second Beidou director further comprises a sixth processing unit, a seventh processing unit and an eighth processing unit, wherein the sixth processing unit is used for establishing communication connection with the target user machine in a point-to-point communication mode and requesting the target user machine to resend the Beidou short message when the type of the target ID is the first type after the target ID of the target user machine is acquired; the seventh processing unit is configured to report the abnormality of the target user machine to the server when the number of packet failures is greater than or equal to a first predetermined number; and the eighth processing unit is used for uploading the composed data packet to the server under the condition that the grouping is successful.
In this scheme, the target ID may be caused by interference or packet loss, if the first type of user machine still fails to group packets after repeating data, it is abnormal for the user machine, if the group packets succeed, it is uploaded to the server, so that the corresponding policy can be executed after determining the cause of the data transmission failure more accurately.
Specifically, the second Beidou director sequentially adopts point-to-point communication to the '1' subordinate user ID, positions the sub-packet number with failed packet grouping, performs a designated sub-packet retransmission instruction on the subordinate user, successfully groups the packets and sends the sub-packet number to the server; if the retransmission still fails to be packed more than k times (three times, five times or other times), the server is reported that the subordinate user machine is abnormal.
In a specific implementation process, the second Beidou director further comprises a ninth processing unit, a tenth processing unit and an eleventh processing unit, wherein the ninth processing unit is used for establishing communication connection with the target user machine in a manner of periodically and randomly penetrating point-to-point communication under the condition that the type of the target ID is a second type after the target ID of the target user machine is acquired; the tenth processing unit is configured to report, to the server, that the target user machine is abnormal, when the number of times of communication failure with the target user machine is greater than or equal to a second predetermined number of times; and the eleventh processing unit is used for requesting the target user machine to resend the Beidou short message under the condition that the communication with the target user machine is successful.
In the scheme, the target ID is of a second type, namely the user machine is out of connection, if the user machine is out of connection, communication connection is established with the user machine in a mode of randomly penetrating point-to-point communication, if the user machine still cannot communicate with the user machine after multiple times of connection, the user machine is abnormally reported to a server, and if the connection is successful, the user machine is requested to resend data, so that a corresponding strategy can be executed after the reason of the data transmission failure is accurately determined.
Specifically, the second Beidou director adopts irregular random interpenetration of point-to-point communication for the '2' subordinate user machine ID, and if k times of point-to-point communication still fail, the server is reported that the subordinate user machine is abnormal.
Random interleaving of point-to-point communication means that transmission and reception of information are not performed at fixed time intervals or sequences during communication, but point-to-point communication is performed at different time points and positions at random.
For example, in a wireless sensor network, data transmission and sharing are required between sensor nodes. The time and location of the transmission cannot be predetermined due to the difference in location and environmental conditions between the nodes. Thus, in this case, the communication between the sensor nodes is an sporadic random interleaving point-to-point communication.
For example, in the context of a mobile internet, users communicate and data transfer via cell phones and other devices. The time and location of the communication may also vary randomly due to uncertainty in the location and movement status of the user. Thus, communication between users is random interleaving point-to-point communication at random.
Therefore, the reasons of transmission failure of the Beidou short message can be identified, and the reasons of failure, namely the first type and the second type, are corresponding, the first type is caused by data packet loss or interference, the second type is caused by user machine disconnection, so that the probability of false alarm can be reduced, and the corresponding strategy is executed after the reasons of data transmission failure are accurately determined.
The scheme classifies abnormal subordinate user machines, avoids the problem of abnormal short Beidou short message transmission due to external environment influence, and reduces the false alarm probability.
In some embodiments, the second Beidou director further includes a second acquiring unit, a checking unit, a twelfth processing unit and a thirteenth processing unit, where the second acquiring unit is configured to send packet success information to the target user machine when the packet is successful, report the abnormality of the target user machine to a server when the packet is failed, and acquire new application information of the acquisition end when a new acquisition end access system is provided, where the application information at least includes a local ID; the verification unit is used for verifying the application information to obtain a verification result; the twelfth processing unit is used for sending verification success information to the new acquisition end under the condition that the verification result representation passes verification; and the thirteenth processing unit is used for discarding the application information of the new acquisition end under the condition that the verification result representation fails verification.
In the scheme, if the second Beidou director receives the information of the new acquisition end to be accessed to the system, the application information of the new acquisition end can be checked, if the new acquisition end passes the check, the system is accessed, and if the check fails, the information is discarded, so that the system is ensured to have a safe access mechanism, and the system has flexibility.
Specifically, the second Beidou director further receives and processes a new acquisition terminal access application, the new acquisition terminal sends the local ID, the position, the collector ID, the application group and other contents to the second Beidou director, the second Beidou director performs rationality verification on the information, if the verification passes, the second Beidou director sends short message information of a success indication to the acquisition terminal, and the user ID of the short message information is written into a subordinate group where the second Beidou director is located; otherwise, the short message is discarded. According to the Beidou user group management rule, the new user group participated by the second Beidou director does not have the general broadcasting function any more, namely the second Beidou director can only send instructions to the user machine point to point. And when the subordinate number of the Beidou director does not reach the upper limit, writing the subordinate number of the Beidou director into a subordinate user list of the first Beidou director at intervals. And the user machine transmits the power grid data to the first Beidou director machine preferentially.
The method for checking the acquisition terminal accessed to the Beidou system by the Beidou director comprises the following three examples:
And (3) checking position information: the Beidou director can be used for checking by comparing the position information sent by the acquisition terminal with the difference between the position information and the actual position, so that the positioning accuracy of the acquisition terminal is ensured.
And (3) checking data transmission: the Beidou director can be used for checking by comparing the data information transmitted by the acquisition terminal with the consistency of the actual data, so that the data transmission accuracy of the acquisition terminal is ensured.
And (3) communication connection checking: the Beidou director can be used for testing communication connection with the acquisition terminal, checking the stability and reliability of communication connection of the Beidou director, and ensuring that the acquisition terminal can normally communicate with the Beidou system.
The method for checking the user terminal accessing the Beidou system by the Beidou director machine can comprise the following three examples:
User identity verification: the Beidou director can verify through identity information provided by the user side, so that the user side is ensured to have legal use permission.
Instruction execution verification: the Beidou director can send an instruction to the user side, then check whether the user side can execute correctly and return an execution result, and ensure that the user side can operate according to the instruction.
And (3) checking data transmission: the Beidou director can be used for checking the consistency of the Beidou director and the actual data by receiving the data information transmitted by the user side, so that the data transmission accuracy of the user side is ensured.
The second Beidou director comprises a processor and a memory, wherein the first acquisition unit, the first processing unit, the second processing unit, the third processing unit and the like are all stored in the memory as program units, and the processor executes the program units stored in the memory to realize corresponding functions. The modules are all located in the same processor; or the above modules may be located in different processors in any combination.
The processor includes a kernel, and the kernel fetches the corresponding program unit from the memory. The kernel can be provided with one or more, and the problem that the message receiving and transmitting efficiency is low due to the fact that the communication capacity of Beidou short messages in the prior art is limited by a Beidou card and the single communication capacity is limited and the communication frequency is limited is solved by adjusting kernel parameters.
The memory may include volatile memory, random Access Memory (RAM), and/or nonvolatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM), among other forms in computer readable media, the memory including at least one memory chip.
The embodiment of the invention provides a computer readable storage medium, which comprises a stored program, wherein the program is used for controlling equipment where the computer readable storage medium is located to execute the control method of the data acquisition system based on a Beidou director.
The embodiment of the invention provides a processor, which is used for running a program, wherein the control method of a data acquisition system based on a Beidou director is executed when the program runs.
The embodiment of the invention provides equipment, which comprises a processor, a memory and a program stored in the memory and capable of running on the processor, wherein the processor realizes the following steps of a control method of a data acquisition system based on a Beidou director when executing the program. The device herein may be a server, PC, PAD, cell phone, etc.
The application also provides a computer program product adapted to perform the program of steps of a control method of initializing a Beidou director-based data acquisition system when executed on a data processing device.
It will be appreciated by those skilled in the art that the modules or steps of the invention described above may be implemented in a general purpose computing device, they may be concentrated on a single computing device, or distributed across a network of computing devices, they may be implemented in program code executable by computing devices, so that they may be stored in a storage device for execution by computing devices, and in some cases, the steps shown or described may be performed in a different order than that shown or described herein, or they may be separately fabricated into individual integrated circuit modules, or multiple modules or steps of them may be fabricated into a single integrated circuit module. Thus, the present invention is not limited to any specific combination of hardware and software.
It will be appreciated by those skilled in the art that embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
In one typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
The memory may include volatile memory in a computer-readable medium, random Access Memory (RAM) and/or nonvolatile memory, etc., such as Read Only Memory (ROM) or flash RAM. Memory is an example of a computer-readable medium.
Computer readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of storage media for a computer include, but are not limited to, phase change memory (PRAM), static Random Access Memory (SRAM), dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), read Only Memory (ROM), electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium, which can be used to store information that can be accessed by a computing device. Computer-readable media, as defined herein, does not include transitory computer-readable media (transmission media), such as modulated data signals and carrier waves.
It should also be noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises an element.
From the above description, it can be seen that the above embodiments of the present application achieve the following technical effects:
1) According to the Beidou command machine-based data acquisition system, two Beidou command machines are designed, one Beidou command machine is designed in the prior art, so that limited single communication capacity is limited, and therefore, in the scheme, the two Beidou command machines work cooperatively, the first Beidou command machine is used for working normally, if packet grouping fails, the second Beidou command machine is used for taking charge of abnormal communication (sending data and packet data), the first Beidou command machine continues to take charge of other communication transmission without going to take charge of abnormal communication, and therefore, a double-machine cooperative working mode is adopted, and the acquisition efficiency and the sending efficiency of power grid messages can be improved.
2) According to the control method of the Beidou command machine-based data acquisition system, the two Beidou command machines work cooperatively, the first Beidou command machine is used for working normally, if the grouping fails, the second Beidou command machine is used for taking charge of abnormal communication (data transmission and grouping data), the first Beidou command machine is continuously responsible for other communication transmission without taking charge of abnormal communication, and therefore the acquisition efficiency and the transmission efficiency of power grid messages can be improved by adopting a double-machine cooperative work mode.
3) According to the second Beidou command machine, the two Beidou command machines work cooperatively, the first Beidou command machine is used for working normally, if the grouping fails, the second Beidou command machine is used for taking charge of abnormal communication (data transmission and grouping data), the first Beidou command machine continues to take charge of other communication transmission without taking charge of abnormal communication, and therefore the collection efficiency and the transmission efficiency of power grid messages can be improved by adopting a double-machine cooperative work mode.
The above description is only of the preferred embodiments of the present application and is not intended to limit the present application, but various modifications and variations can be made to the present application by those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the protection scope of the present application.

Claims (10)

1. Data acquisition system based on big dipper commander machine, its characterized in that includes:
the acquisition end is used for acquiring the ammeter data of the user machine and packaging the ammeter data in the form of Beidou short messages;
The first Beidou command machine is in communication connection with the acquisition end and is used for receiving the Beidou short messages sent by the acquisition end and carrying out packet processing on the Beidou short messages;
The second Beidou command machine is respectively in communication connection with the acquisition end and the first Beidou command machine, the first Beidou command machine sends a target ID of a target user machine to the second Beidou command machine under the condition of packet failure, and the second Beidou command machine requests the target user machine to resend the Beidou short message and performs packet processing on the received Beidou short message;
the server is in communication connection with the first Beidou director and the second Beidou director respectively, and is used for receiving data packets sent by the first Beidou director under the condition of successful packet grouping, and is used for receiving data packets sent by the second Beidou director under the condition of successful packet grouping, and is used for receiving information reported by the second Beidou director under the condition of failed packet grouping, such that the target user machine is abnormal.
2. The Beidou director-based data acquisition system of claim 1, wherein the acquisition end comprises:
The intelligent electric meters are used for storing the electric meter data of the user machines, and the intelligent electric meters are in one-to-one correspondence with the user machines;
the concentrator is respectively in communication connection with a plurality of intelligent electric meters and is used for integrating the electric meter data of all the intelligent electric meters;
The communication all-in-one machine is in communication connection with the concentrator and is used for realizing data communication.
3. The Beidou director based data acquisition system of claim 2, wherein the system further comprises:
the Beidou satellite is respectively in communication connection with the communication integrated machine, the first Beidou command machine and the second Beidou command machine, and is used for providing short message communication;
the ground total station is in communication connection with the Beidou satellite and is used for controlling the Beidou satellite to operate.
4. A method for controlling a data acquisition system based on a Beidou director as claimed in any one of claims 1 to 3, wherein the method comprises:
The second Beidou director acquires a target ID of a target user machine, wherein the target user machine is a user machine which fails to package Beidou short messages by the first Beidou director;
The second Beidou director establishes communication connection with the target user machine in a point-to-point communication mode, and requests the target user machine to resend the Beidou short message;
the second Beidou director receives the Beidou short message retransmitted by the target user machine and performs packet processing on the retransmitted Beidou short message;
And the second Beidou director sends packet success information to the target user machine under the condition of successful packet formation, and reports the abnormality of the target user machine to a server under the condition of packet formation failure.
5. The method of claim 4, wherein the second Beidou director obtains a target ID of a target user machine, comprising:
The second Beidou director acquires a first type of target ID, wherein the first type of target ID is the target ID of the target user machine with abnormal sequence numbers of data packets of the first Beidou director group;
The second Beidou director acquires a second type of target ID, wherein the second type of target ID is the target ID of the target user machine, which is still not received after polling, of the target user machine, and the time length of which the first Beidou director does not receive the data sent by the target user machine reaches the target time length, and the target user machine is requested to resend the data in a point-to-point communication mode.
6. The method of claim 5, wherein after the second Beidou director obtains the target ID of the target user machine, the method further comprises:
The second Beidou director establishes communication connection with the target user machine in a point-to-point communication mode under the condition that the type of the target ID is the first type, and requests the target user machine to resend the Beidou short message;
And under the condition that the duration of not receiving the Beidou short message sent by the target user machine reaches the target duration, the second Beidou director changes the type of the target ID into a second type.
7. The method of claim 5, wherein after the second Beidou director obtains the target ID of the target user machine, the method further comprises:
The second Beidou director establishes communication connection with the target user machine in a point-to-point communication mode under the condition that the type of the target ID is the first type, and requests the target user machine to resend the Beidou short message;
reporting the abnormality of the target user machine to the server by the second Beidou director when the number of packet failure times is greater than or equal to a first preset number of times;
and the second Beidou director uploads the composed data packet to the server under the condition that the packet is successfully assembled.
8. The method of claim 5, wherein after the second Beidou director obtains the target ID of the target user machine, the method further comprises:
The second Beidou director establishes communication connection with the target user machine in a mode of random point-to-point communication without timing under the condition that the type of the target ID is a second type;
reporting the abnormality of the target user machine to the server by the second Beidou director when the communication failure times with the target user machine are larger than or equal to second preset times;
And the second Beidou director requests the target user machine to resend the Beidou short message under the condition that the second Beidou director is successful in communication with the target user machine.
9. The method of claim 4, wherein after the second Beidou director sends the packet success information to the target user machine if the packet is successful, the second Beidou director reports the abnormality of the target user machine to a server if the packet is failed, the method further comprises:
The second Beidou director acquires new application information of the acquisition end under the condition that a new acquisition end is accessed to the system, wherein the application information at least comprises a local ID;
The second Beidou director checks the application information to obtain a check result;
The second Beidou director sends verification success information to the new acquisition end under the condition that the verification result representation passes verification;
And discarding the new application information of the acquisition end by the second Beidou director under the condition that the verification result representation fails verification.
10. A second beidou director, characterized in that, the second beidou director is in the data acquisition system based on the beidou director of any one of claims 1 to 3, the second beidou director includes:
The first acquisition unit is used for acquiring a target ID of a target user machine, wherein the target user machine is a user machine which fails to package the Beidou short message by the first Beidou director;
The first processing unit is used for establishing communication connection with the target user machine in a point-to-point communication mode and requesting the target user machine to resend the Beidou short message;
the second processing unit is used for receiving the Beidou short message retransmitted by the target user machine and carrying out packet processing on the retransmitted Beidou short message;
And the third processing unit is used for sending the packet success information to the target user machine under the condition of successful packet assembly, and reporting the exception of the target user machine to a server under the condition of packet assembly failure.
CN202410129261.7A 2024-01-30 2024-01-30 Beidou director-based data acquisition system and control method thereof Pending CN118118075A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202410129261.7A CN118118075A (en) 2024-01-30 2024-01-30 Beidou director-based data acquisition system and control method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202410129261.7A CN118118075A (en) 2024-01-30 2024-01-30 Beidou director-based data acquisition system and control method thereof

Publications (1)

Publication Number Publication Date
CN118118075A true CN118118075A (en) 2024-05-31

Family

ID=91217484

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202410129261.7A Pending CN118118075A (en) 2024-01-30 2024-01-30 Beidou director-based data acquisition system and control method thereof

Country Status (1)

Country Link
CN (1) CN118118075A (en)

Similar Documents

Publication Publication Date Title
CN102088393B (en) Method for transmitting positive and negative data across safety zone
US11146288B2 (en) Technologies for applying a redundancy encoding scheme to segmented network packets
CA2921075C (en) System, method and apparatus for transmitting electrical quantity data based on beidou satellite communication
CN106059848A (en) BeiDou short message communication-based electric power data acquisition transmission processing system and method
CN107360177B (en) A kind of message transmitting method and device based on UDP
CN109729602B (en) Link data processing method and device and computer storage medium
CN107612661A (en) Data communication method and device
CN113574965A (en) Remote LPWAN gateway backhaul with high latency communication system
CN107302572B (en) Architecture method of cloud monitoring center
CN111683404A (en) Positioning control method and device for terminal of Internet of things and electronic equipment
CN104660627A (en) Communication method and communication system for upper computer and lower computer
CN110113771B (en) Data processing method, device, gateway equipment and storage medium
CN113794510A (en) Internet of things gateway supporting Beidou short message communication
CN118118075A (en) Beidou director-based data acquisition system and control method thereof
CN115695497A (en) Diagnostic data remote transmission method and device, electronic equipment and medium
CN113934650B (en) 1553B memory dynamic allocation method based on CCSDS
CN113965447B (en) Online cloud diagnosis method, device, system, equipment and storage medium
CN114785659A (en) Instruction configuration method and device, electronic equipment and computer-readable storage medium
US20200348149A1 (en) Method for reading meters for fluids
CN103532726A (en) Information distribution system
CN118118567A (en) Power utilization information transmission method, device and transmission system
JP5535979B2 (en) Telemetering device, telemetering system, data processing method and program for telemetering device
CN114257465B (en) Equipment interaction method, device, system, super node and storage medium
CN115988003A (en) Distributed photovoltaic data mutual transmission and complementary full transmission method and system
Silva et al. Implementation of a dependable smart device in IoT era

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