CN115208758A - Batch management method for emergency broadcasting equipment - Google Patents

Batch management method for emergency broadcasting equipment Download PDF

Info

Publication number
CN115208758A
CN115208758A CN202210664304.2A CN202210664304A CN115208758A CN 115208758 A CN115208758 A CN 115208758A CN 202210664304 A CN202210664304 A CN 202210664304A CN 115208758 A CN115208758 A CN 115208758A
Authority
CN
China
Prior art keywords
emergency broadcasting
configuration data
server
broadcasting equipment
socket
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.)
Granted
Application number
CN202210664304.2A
Other languages
Chinese (zh)
Other versions
CN115208758B (en
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.)
Fujian Newland Communication Science Technologies Co ltd
Original Assignee
Fujian Newland Communication Science Technologies 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 Fujian Newland Communication Science Technologies Co ltd filed Critical Fujian Newland Communication Science Technologies Co ltd
Priority to CN202210664304.2A priority Critical patent/CN115208758B/en
Publication of CN115208758A publication Critical patent/CN115208758A/en
Application granted granted Critical
Publication of CN115208758B publication Critical patent/CN115208758B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • H04L41/0813Configuration setting characterised by the conditions triggering a change of settings
    • H04L41/0816Configuration setting characterised by the conditions triggering a change of settings the condition being an adaptation, e.g. in response to network events
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04HBROADCAST COMMUNICATION
    • H04H20/00Arrangements for broadcast or for distribution combined with broadcast
    • H04H20/12Arrangements for observation, testing or troubleshooting
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04HBROADCAST COMMUNICATION
    • H04H20/00Arrangements for broadcast or for distribution combined with broadcast
    • H04H20/53Arrangements specially adapted for specific applications, e.g. for traffic information or for mobile receivers
    • H04H20/59Arrangements specially adapted for specific applications, e.g. for traffic information or for mobile receivers for emergency or urgency
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0866Checking the configuration
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0876Aspects of the degree of configuration automation
    • H04L41/0886Fully automatic configuration

Abstract

The invention provides a batch management method of emergency broadcasting equipment in the technical field of emergency broadcasting, which comprises the following steps: step S10, establishing connection between each emergency broadcast device and a server based on a CS framework and a socket; s20, the server acquires configuration data required to be configured by each emergency broadcasting device and monitors a configuration request sent by the emergency broadcasting device; step S30, the server sends the corresponding configuration data to emergency broadcasting equipment in a UDP form based on the configuration request; s40, after the received configuration data is verified by each emergency broadcasting device, automatically configuring the configuration data; and S50, after the configuration data is configured, each emergency broadcasting device automatically starts a test flow and feeds back a test result to the server. The invention has the advantages that: the efficiency of emergency broadcasting equipment management has greatly been promoted.

Description

Batch management method for emergency broadcasting equipment
Technical Field
The invention relates to the technical field of emergency broadcasting, in particular to a batch management method for emergency broadcasting equipment.
Background
The emergency broadcast is a transmission system which transmits emergency information to a specific area and a specific crowd by using a broadcast television, a new media and other modes and through a broadcast television transmission coverage network and other information networks. This transmission system relies on emergency broadcasting equipment such as a sound post, a receiver, an adapter, and a voice microphone, which are widely distributed and installed in different places, and even if the same hardware is used, different parameters need to be configured according to the installation location.
Corresponding parameters are required to be configured and tested according to actual requirements before the emergency broadcasting equipment leaves a factory, and traditionally, each emergency broadcasting equipment is sequentially connected with a computer and is configured and tested, even if the configuration and testing process has more automatic steps, when a large number of emergency broadcasting equipment needs to be processed, considerable manpower and time are required to be consumed.
Therefore, how to provide a method for managing emergency broadcasting equipment in batches to improve the efficiency of emergency broadcasting equipment management becomes a technical problem to be solved urgently.
Disclosure of Invention
The invention aims to solve the technical problem of providing a batch management method for emergency broadcasting equipment, so as to improve the management efficiency of the emergency broadcasting equipment.
The invention is realized by the following steps: a batch management method for emergency broadcasting equipment comprises the following steps:
step S10, establishing connection between each emergency broadcast device and a server based on a CS framework and a socket;
step S20, a server acquires configuration data required to be configured by each emergency broadcasting equipment and monitors a configuration request sent by the emergency broadcasting equipment;
step S30, the server sends the corresponding configuration data to emergency broadcasting equipment in a UDP form based on the configuration request;
s40, after each emergency broadcasting device verifies the received configuration data, automatically configuring the configuration data;
and S50, after the configuration data is configured, each emergency broadcasting device automatically starts a test flow and feeds back a test result to the server.
Further, the step S10 is specifically:
creating a socket for UDP communication at a server, binding the socket with a preset port and an address, and receiving data transmitted by the socket through a recvfrom function;
respectively creating an original socket by each emergency broadcasting device, and configuring family parameters, type parameters and protocol parameters of the original socket;
and each emergency broadcasting device establishes connection with the server through the original socket and the socket.
Furthermore, the family parameter adopts PF _ PACKET, the type parameter adopts SOCK _ DGRAM, and the protocol parameter adopts ETH _ P _ IP.
Further, the step S20 specifically includes:
the server acquires configuration data which are required to be configured by each emergency broadcasting device and carry the serial number, and monitors configuration requests which are sent by the emergency broadcasting devices and carry the serial number, the IP address, the MAC address, the UDP protocol data head and the broadcasting address through the socket.
Further, in step S20, the configuration request is in a format of "request type + sequence number + request content", the request type is 2 bytes in length, and the request content adopts a JSON format.
Further, the step S30 specifically includes:
the server analyzes the configuration request to obtain a serial number, an IP address and an MAC address, matches corresponding configuration data based on the serial number, adds the IP address and the MAC address into the configuration data, and sends the corresponding configuration data to emergency broadcasting equipment through a socket in a UDP form.
Further, the step S40 specifically includes:
and after each emergency broadcasting device checks the serial number carried by the received configuration data, automatically configuring the configuration data.
Further, the step S50 specifically includes:
after the configuration data is configured, the emergency broadcasting equipment automatically starts a preset test program to execute a test flow, records the test result of each test flow, feeds the test result back to the server in a UDP (user datagram protocol) mode and carries out visual display, and the emergency broadcasting equipment indicates the test result through an indicator light.
The invention has the advantages that:
the method comprises the steps of establishing connection between each emergency broadcast device and a server through a CS framework and an original socket (raw socket), wherein the CS framework allows a plurality of emergency broadcast devices and one server to carry out service request and receiving, the original socket allows receiving and sending of information without any transport layer protocol, namely, some inspection and limitation of a UDP protocol are allowed to be bypassed, so that the emergency broadcast devices are not configured with IP addresses and gateways before leaving factories, or all the emergency broadcast devices are configured with the same IP addresses, correct communication can be carried out through the original socket, a test flow is automatically started after configuration data configuration is completed, namely, each emergency broadcast device and the server are only required to be accessed into the same local area network, configuration and test of batch configuration data can be carried out on each emergency broadcast device, and finally, the management efficiency of the emergency broadcast devices is greatly improved.
Drawings
The invention will be further described with reference to the following examples with reference to the accompanying drawings.
Fig. 1 is a flowchart of a batch management method for emergency broadcasting equipment according to the present invention.
Detailed Description
The technical scheme in the embodiment of the application has the following general idea: the connection between each emergency broadcast device and the server is established through a CS framework and an original socket, the CS framework allows a plurality of emergency broadcast devices to perform service request and receiving with one server, the original socket allows receiving and sending information without any transport layer protocol, and a test flow is automatically started after configuration data configuration is completed, namely, the emergency broadcast devices are concurrently configured and tested, so that the management efficiency of the emergency broadcast devices is improved.
Referring to fig. 1, a preferred embodiment of a batch management method for emergency broadcasting equipment according to the present invention includes the following steps:
step S10, establishing connection between each emergency broadcast device and a server based on a CS framework and a socket;
s20, the server acquires configuration data required to be configured by each emergency broadcasting device and monitors a configuration request sent by the emergency broadcasting device;
step S30, the server sends the corresponding configuration data to emergency broadcasting equipment in a UDP form based on the configuration request;
s40, after the received configuration data is verified by each emergency broadcasting device, automatically configuring the configuration data;
and S50, after the configuration data is configured for each emergency broadcasting device, automatically starting a test flow and feeding back a test result to the server.
The step S10 specifically includes:
creating a socket for UDP communication at a server, binding the socket with a preset port and an address, and receiving data transmitted by the socket through a recvfrom function;
each emergency broadcasting device respectively uses a socket () function to create an original socket (raw socket), and configures family parameters, type parameters and protocol parameters of the original socket;
and each emergency broadcasting device establishes connection with the server through the original socket and the socket.
Raw sockets allow the transceiving of IP datagrams without any transport layer protocol information, for transport layer protocols like TCP, UDP, etc., the data payload part is automatically encapsulated into packets and the socket user is unaware of the existence of the protocol header; using raw sockets, a user can also manipulate network packets directly from the bottom-layer perspective, as opposed to simply specifying an IP address and sending the data.
The CS architecture is a structure in a computer network, and a plurality of clients request and receive a server from a central server; the client provides an interface allowing the user to request the server for service, and can process and display the returned result of the server, while the server keeps the state of waiting for receiving the request and performs corresponding action according to the request.
And constructing the UDP data packet sent by the emergency broadcasting equipment each time by using a structaddr _ ll structure, and broadcasting by using a sendto () function.
The family parameter adopts PF _ PACKET, data below a network layer are allowed to be operated, the type parameter adopts SOCK _ DGRAM, and the protocol parameter adopts ETH _ P _ IP.
The step S20 is specifically:
the server acquires configuration data carrying the serial number, which needs to be configured by each emergency broadcast device, and monitors a configuration request carrying the serial number, an IP address, an MAC address, a UDP protocol data head and a broadcast address, which are sent by the emergency broadcast device, through the socket. The serial numbers are used for identifying each emergency broadcasting device.
In step S20, the configuration request is in the format of "request type + sequence number + request content", the request type is 2 bytes long, and the request content is in the JSON format.
The step S30 specifically includes:
the server analyzes the configuration request to obtain a serial number, an IP address and an MAC address, matches corresponding configuration data based on the serial number, adds the IP address and the MAC address into the configuration data, and sends the corresponding configuration data to emergency broadcasting equipment through a socket in a UDP form.
The step S40 is specifically:
and after each emergency broadcasting device checks the serial number carried by the received configuration data, the configuration data is automatically configured.
The step S50 is specifically:
after the configuration data is configured, each emergency broadcasting device automatically starts a preset test program to execute a test flow, records a test result of each test flow, feeds the test result back to a server in a UDP (user datagram protocol) form and visually displays the test result, and indicates the test result through an indicator light, for example, if the test result is successful, a green light flickers, and if the test result is failed, a red light flickers, so that a tester can quickly locate a problem product.
In summary, the invention has the advantages that:
the method comprises the steps that the connection between each emergency broadcast device and a server is established through a CS framework and an original socket (raw socket), the CS framework allows a plurality of emergency broadcast devices to request and receive services of one server, the original socket allows the receiving and sending of information without any transport layer protocol, namely, some checking and limiting of a UDP protocol are allowed to be bypassed, so that the emergency broadcast devices are not configured with IP addresses and gateways before leaving factories, or all the emergency broadcast devices are configured with the same IP addresses, correct communication can be carried out through the original socket, a test flow is automatically started after configuration data configuration is completed, namely, each emergency broadcast device and the server are only required to be accessed into the same local area network, configuration and test of batch configuration data can be carried out on each emergency broadcast device, and finally the management efficiency of the emergency broadcast devices is greatly improved.
Although specific embodiments of the invention have been described above, it will be understood by those skilled in the art that the specific embodiments described are illustrative only and are not limiting upon the scope of the invention, and that equivalent modifications and variations can be made by those skilled in the art without departing from the spirit of the invention, which is to be limited only by the appended claims.

Claims (8)

1. A batch management method for emergency broadcasting equipment is characterized by comprising the following steps: the method comprises the following steps:
step S10, establishing connection between each emergency broadcast device and a server based on a CS framework and a socket;
step S20, a server acquires configuration data required to be configured by each emergency broadcasting equipment and monitors a configuration request sent by the emergency broadcasting equipment;
step S30, the server sends the corresponding configuration data to emergency broadcasting equipment in a UDP form based on the configuration request;
s40, after the received configuration data is verified by each emergency broadcasting device, automatically configuring the configuration data;
and S50, after the configuration data is configured, each emergency broadcasting device automatically starts a test flow and feeds back a test result to the server.
2. The emergency broadcasting equipment batch management method of claim 1, wherein: the step S10 specifically includes:
creating a socket for UDP communication at a server, binding the socket with a preset port and an address, and receiving data transmitted by the socket through a recvfrom function;
respectively creating an original socket by each emergency broadcasting device, and configuring family parameters, type parameters and protocol parameters of the original socket;
and each emergency broadcasting device establishes connection with the server through the original socket and the socket.
3. The emergency broadcasting equipment batch management method of claim 2, wherein: the family parameter adopts PF _ PACKET, the type parameter adopts SOCK _ DGRAM, and the protocol parameter adopts ETH _ P _ IP.
4. The emergency broadcasting equipment batch management method of claim 1, wherein: the step S20 is specifically:
the server acquires configuration data which are required to be configured by each emergency broadcasting device and carry the serial number, and monitors configuration requests which are sent by the emergency broadcasting devices and carry the serial number, the IP address, the MAC address, the UDP protocol data head and the broadcasting address through the socket.
5. The emergency broadcasting equipment batch management method of claim 1, wherein: in step S20, the configuration request is in the format of "request type + sequence number + request content", the request type is 2 bytes long, and the request content is in the JSON format.
6. The emergency broadcasting equipment batch management method of claim 1, wherein: the step S30 specifically includes:
the server analyzes the configuration request to obtain a serial number, an IP address and an MAC address, matches corresponding configuration data based on the serial number, adds the IP address and the MAC address to the configuration data, and sends the corresponding configuration data to emergency broadcasting equipment through a socket in a UDP form.
7. The emergency broadcasting equipment batch management method of claim 1, wherein: the step S40 is specifically:
and after each emergency broadcasting device checks the serial number carried by the received configuration data, automatically configuring the configuration data.
8. The emergency broadcasting equipment batch management method of claim 1, wherein: the step S50 specifically includes:
after the configuration data is configured, the emergency broadcasting equipment automatically starts a preset test program to execute a test flow, records the test result of each test flow, feeds the test result back to the server in a UDP (user datagram protocol) mode and carries out visual display, and the emergency broadcasting equipment indicates the test result through an indicator light.
CN202210664304.2A 2022-06-14 2022-06-14 Batch management method for emergency broadcasting equipment Active CN115208758B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210664304.2A CN115208758B (en) 2022-06-14 2022-06-14 Batch management method for emergency broadcasting equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210664304.2A CN115208758B (en) 2022-06-14 2022-06-14 Batch management method for emergency broadcasting equipment

Publications (2)

Publication Number Publication Date
CN115208758A true CN115208758A (en) 2022-10-18
CN115208758B CN115208758B (en) 2023-05-30

Family

ID=83575681

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210664304.2A Active CN115208758B (en) 2022-06-14 2022-06-14 Batch management method for emergency broadcasting equipment

Country Status (1)

Country Link
CN (1) CN115208758B (en)

Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2007094059A1 (en) * 2006-02-15 2007-08-23 R & W, Inc. Data transmitting and receiving method
EP2223465A1 (en) * 2007-10-31 2010-09-01 Lucent Technologies Inc. Method and apparatus for leveraging end user terminals in self-learning networks
CN102724293A (en) * 2012-05-23 2012-10-10 南京智达康无线通信科技股份有限公司 Method and system for performing WLAN (wireless local area network) testing for remote centralized management of notebook computers
CN105263017A (en) * 2015-10-12 2016-01-20 四川九鼎智远知识产权运营有限公司 System and method for testing data stream transmission reliability of emergency broadcasting system
CN106789393A (en) * 2016-11-16 2017-05-31 武汉烽火网络有限责任公司 A kind of CS frameworks communication equipment automatization test system and method
CN111092776A (en) * 2019-12-31 2020-05-01 联想(北京)有限公司 Batch equipment-based comprehensive management method, management server and system
CN112799327A (en) * 2021-01-08 2021-05-14 福建新大陆通信科技股份有限公司 Remote management method for emergency equipment
CN112804368A (en) * 2020-12-08 2021-05-14 中国电子科技集团公司第三十研究所 Method and system for automatically allocating IP and testing in batches
CN113014565A (en) * 2021-02-19 2021-06-22 北京天维信通科技有限公司 Zero trust architecture for realizing port scanning prevention and service port access method and equipment
CN113468045A (en) * 2021-06-04 2021-10-01 济南浪潮数据技术有限公司 Test system, method and assembly for server batch configuration software
CN114158036A (en) * 2021-12-06 2022-03-08 成都飞鱼星科技股份有限公司 Method, device, system and medium for configuring and managing AP
CN114285739A (en) * 2021-11-19 2022-04-05 苏州浪潮智能科技有限公司 Node information batch configuration method, device, terminal and storage medium
CN114374456A (en) * 2021-12-06 2022-04-19 福建新大陆通信科技股份有限公司 Outdoor LED screen adaptation method, device and medium

Patent Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2007094059A1 (en) * 2006-02-15 2007-08-23 R & W, Inc. Data transmitting and receiving method
EP2223465A1 (en) * 2007-10-31 2010-09-01 Lucent Technologies Inc. Method and apparatus for leveraging end user terminals in self-learning networks
CN102724293A (en) * 2012-05-23 2012-10-10 南京智达康无线通信科技股份有限公司 Method and system for performing WLAN (wireless local area network) testing for remote centralized management of notebook computers
CN105263017A (en) * 2015-10-12 2016-01-20 四川九鼎智远知识产权运营有限公司 System and method for testing data stream transmission reliability of emergency broadcasting system
CN106789393A (en) * 2016-11-16 2017-05-31 武汉烽火网络有限责任公司 A kind of CS frameworks communication equipment automatization test system and method
CN111092776A (en) * 2019-12-31 2020-05-01 联想(北京)有限公司 Batch equipment-based comprehensive management method, management server and system
CN112804368A (en) * 2020-12-08 2021-05-14 中国电子科技集团公司第三十研究所 Method and system for automatically allocating IP and testing in batches
CN112799327A (en) * 2021-01-08 2021-05-14 福建新大陆通信科技股份有限公司 Remote management method for emergency equipment
CN113014565A (en) * 2021-02-19 2021-06-22 北京天维信通科技有限公司 Zero trust architecture for realizing port scanning prevention and service port access method and equipment
CN113468045A (en) * 2021-06-04 2021-10-01 济南浪潮数据技术有限公司 Test system, method and assembly for server batch configuration software
CN114285739A (en) * 2021-11-19 2022-04-05 苏州浪潮智能科技有限公司 Node information batch configuration method, device, terminal and storage medium
CN114158036A (en) * 2021-12-06 2022-03-08 成都飞鱼星科技股份有限公司 Method, device, system and medium for configuring and managing AP
CN114374456A (en) * 2021-12-06 2022-04-19 福建新大陆通信科技股份有限公司 Outdoor LED screen adaptation method, device and medium

Also Published As

Publication number Publication date
CN115208758B (en) 2023-05-30

Similar Documents

Publication Publication Date Title
US7502855B2 (en) Wireless classroom system allowing user to access a particular classroom by selecting corresponding network from a list of wireless networks
US9077682B2 (en) Downloading a code image to remote devices
US8295277B2 (en) Analyzing a network with a cache advance proxy
EP2124404A1 (en) A device, system and method for automatically configuring application terminals in home network
CN105553943B (en) Pass transmission method, screen transmission method, equipment and the data transmission system of screen software
EP1858199A2 (en) Communication system and management device and relay device used therein
US20130104116A1 (en) Method and apparatus for upgrading wireless repeater
CN106961426B (en) Communication method and device of intelligent equipment
CN107623752B (en) Network management method and device based on link layer
US8213327B2 (en) Communication quality measurement system, device, management server and method thereof
JP2016517245A (en) Data transmission method, apparatus, and computer storage medium
CN107205239A (en) A kind of method and detection device for detecting wireless network connection
CN105337814A (en) Network equipment connection method, equipment and system
US20150372866A1 (en) Method and Apparatus for Providing Automatic Node Configuration Using A Dongle
CN115208758B (en) Batch management method for emergency broadcasting equipment
CN107484227B (en) Wifi networking multi-hot-spot control communication method
US20040060069A1 (en) Testing and verification of cable modem systems
CN114071544A (en) Network testing method and device and electronic equipment
US10931529B2 (en) Terminal device management method, server, and terminal device for managing terminal devices in local area network
JP2011182212A (en) Communication control apparatus and communication quality measuring method
CN110351155B (en) Program-controlled network performance testing method and system of implantable medical equipment
EP3570495A1 (en) Device management method and related device
CN116567457A (en) Method for binding ONU equipment by mobile equipment in local area network
JP2009065404A (en) Communication failure segmentation method, video distribution system having communication failure segmentation function, and receiving terminal
CN111225080B (en) Method for acquiring gateway down-hanging equipment information

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