WO2020119732A1 - Adjusting and testing method and apparatus for communication device networking - Google Patents

Adjusting and testing method and apparatus for communication device networking Download PDF

Info

Publication number
WO2020119732A1
WO2020119732A1 PCT/CN2019/124659 CN2019124659W WO2020119732A1 WO 2020119732 A1 WO2020119732 A1 WO 2020119732A1 CN 2019124659 W CN2019124659 W CN 2019124659W WO 2020119732 A1 WO2020119732 A1 WO 2020119732A1
Authority
WO
WIPO (PCT)
Prior art keywords
slave
request
commissioning
master
sent
Prior art date
Application number
PCT/CN2019/124659
Other languages
French (fr)
Chinese (zh)
Inventor
李秉荣
方彬浩
陈炳锐
Original Assignee
京信通信系统(中国)有限公司
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 京信通信系统(中国)有限公司 filed Critical 京信通信系统(中国)有限公司
Publication of WO2020119732A1 publication Critical patent/WO2020119732A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/14Arrangements for monitoring or testing data switching networks using software, i.e. software packages
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/50Testing arrangements

Definitions

  • the present application relates to the field of communication technology, and in particular, to a method and a device for commissioning a communication device network.
  • the master-slave star network requires that the debugging software can access the equipment of the entire network to realize centralized management and monitoring, centralized opening, centralized authorization, and real-time acquisition of the communication equipment in the entire network The status of the devices in the network.
  • the equipment of the master station and other stations does not have IP, so the communication between the master station and the slave station uses non-IP communication.
  • the commissioning software needs to be installed on the user terminal for commissioning the network, configure the user's local data, and then communicate with the master station to access the entire network. Therefore, the prior art commissioning process is more complicated for the user experience and inefficient.
  • the present application provides a method and device for commissioning and testing of communication equipment networking to simplify user operation procedures and improve user experience.
  • the master station server receives the first commissioning request sent by the debugging device, the commissioning software is installed on the master station server, and the first commissioning request is sent by the debugging device to the master station server based on the first communication protocol of;
  • the master station server sends a second commissioning request to the slave station device according to the first commissioning request, the second commissioning request is based on the second between the master server and the slave station device. Sent by communication protocol;
  • the master server receives the first feedback message sent by the slave device, and the first feedback message is sent based on the second communication protocol;
  • the master server sends a second feedback message to the debugging device, and the second feedback message is sent based on the first communication protocol;
  • the first communication protocol is an IP-type communication protocol
  • the second communication protocol is a non-IP-type communication protocol
  • An embodiment of the present application also provides a device for commissioning a communication device network, including:
  • a receiving unit configured to receive a first commissioning request sent by a debugging device, the commissioning software is installed on the server of the master station, and the first commissioning request is that the debugging device sends the commissioning device to the master station based on a first communication protocol Sent by the server;
  • a sending unit configured to send a second commissioning request to the slave station device according to the first commissioning request, where the second commissioning request is based on the second between the master server and the slave station device Sent by communication protocol;
  • the receiving unit is further configured to receive a first feedback message sent by the slave station device, where the first feedback message is sent based on the second communication protocol;
  • the sending unit is further configured to send a second feedback message to the debugging device, where the second feedback message is sent based on the first communication protocol;
  • the first communication protocol is an IP-type communication protocol
  • the second communication protocol is a non-IP-type communication protocol
  • An embodiment of the present application also provides an electronic device, including:
  • At least one processor and,
  • a memory communicatively connected to the at least one processor; wherein,
  • the memory stores instructions executable by the at least one processor, the instructions being executed by the at least one processor to enable the at least one processor to perform the method as described above.
  • An embodiment of the present application further provides a non-transitory computer-readable storage medium, where the non-transitory computer-readable storage medium stores computer instructions, and the computer instructions are used to cause the computer to execute the method described above.
  • the commissioning software is installed on the master server, the communication protocol between the debugging device and the master server is the first communication protocol, and the communication protocol between the master server and the slave device is the second communication protocol , Where the first communication protocol is an IP-type communication protocol, and the second communication protocol is a non-IP-type communication protocol.
  • the user sends the first commissioning request to the master server through the debugging device.
  • the master server sends the second commissioning request to the slave device connected to it according to the first commissioning request.
  • the slave device processes the second commissioning request.
  • the first feedback message is sent to the main station server, and the main station server sends a second feedback message to the debugging device, wherein the sending of the first commissioning request and the second feedback message conforms to the first communication protocol, and the second commissioning request
  • the sending of the first feedback message conforms to the second communication protocol. Therefore, in the embodiment of the present application, the server is deployed on the master station, and the commissioning software is installed on the server of the master station.
  • the communication between the master station and the slave station is still through the second communication protocol, and between the debugging device and the master station is through One communication protocol communication, so that there is no need to install commissioning software on the debugging device, and different commissioning devices can be used for commissioning of the entire network through the master server, which simplifies the user's processing process and improves the user experience.
  • FIG. 1 is a schematic diagram of a possible system architecture to which an embodiment of this application is applicable;
  • FIG. 2 is a schematic flowchart of a method for commissioning a communication device network provided by an embodiment of the present application
  • FIG. 3 is a schematic flowchart of a method for commissioning a communication device network provided by Embodiment 1 of the present application;
  • FIG. 4 is a schematic flowchart of a method for commissioning a communication device network provided by Embodiment 2 of the present application;
  • FIG. 5 is a schematic structural diagram of a commissioning device for networking of communication equipment according to an embodiment of the present application.
  • FIG. 6 is a schematic structural diagram of an electronic device provided by an embodiment of the present application.
  • a system architecture applicable to the embodiments of the present application includes a debugging device 101, a master server 102, and a slave device 103.
  • the debugging software is installed on the master server 102, and the user accesses the master server 102 through the debugging device 101 to further achieve the purpose of accessing different slave devices.
  • the debugging device 101 can be an electronic device with wireless communication function such as a mobile phone, a tablet computer, or a dedicated handheld device, or a personal computer (personal computer, PC for short), notebook computer, server, or other wired access device to connect to the Internet .
  • the master server 102 and/or the slave device 103 may be network devices such as computers.
  • the master server 102 and/or slave device 103 may be an independent device or a server cluster formed by multiple servers.
  • the master server 102 and/or the slave device 103 may use cloud computing technology for information processing.
  • the debugging device 101 can communicate with the master server 102 through the INTERNET network, or through mobile communication systems such as the Global System for Mobile Communications (GSM), long term evolution (LTE) system, etc.
  • the station server 102 communicates.
  • the communication protocol between the debugging device 101 and the master server 102 is an IP-type communication protocol.
  • the communication protocol between the debugging device 101 and the master server 102 is HTTP (HyperText Transfer Protocol, HyperText Transfer Protocol).
  • HTTP HyperText Transfer Protocol
  • the application embodiment mainly uses the HTTP protocol as an example. It should be noted that the communication protocol between the debugging device 101 and the master server 102 is not limited to HTTP, but may also be other IP-type communication protocols. Do restrictions.
  • the communication protocol between the master server 102 and the slave device 103 is a non-IP communication protocol
  • the communication protocol between the master server 102 and a plurality of slave devices 103 connected thereto is the same non-IP type Communication protocol
  • the non-IP type communication protocol is negotiated by the master station and the slave station.
  • an embodiment of the present application provides a method for commissioning a communication device network.
  • a communication device group implemented on the master server side provided by an embodiment of the present application
  • the network commissioning method includes the following steps:
  • Step 201 The master station server receives a first commissioning request sent by a debugging device, the commissioning software is installed on the master station server, and the first commissioning request is that the debugging device sends the commissioning device to the master based on the first communication protocol Station server.
  • Step 202 The master station server sends a second commissioning request to the slave station device according to the first commissioning request, where the second commissioning request is based on the relationship between the master server and the slave station device. Of the second communication protocol.
  • Step 203 The master server receives the first feedback message sent by the slave device, and the first feedback message is sent based on the second communication protocol.
  • Step 204 The master station server sends a second feedback message to the debugging device, where the second feedback message is sent based on the first communication protocol.
  • the commissioning software is installed on the master server, the communication protocol between the debugging device and the master server is the first communication protocol, and the communication protocol between the master server and the slave device is the second communication protocol , Where the first communication protocol is an IP-type communication protocol, and the second communication protocol is a non-IP-type communication protocol.
  • the user sends the first commissioning request to the master server through the debugging device.
  • the master server sends the second commissioning request to the slave device connected to it according to the first commissioning request.
  • the slave device processes the second commissioning request.
  • the first feedback message is sent to the main station server, and the main station server sends a second feedback message to the debugging device, wherein the sending of the first commissioning request and the second feedback message conforms to the first communication protocol, and the second commissioning request
  • the sending of the first feedback message conforms to the second communication protocol. Therefore, in the embodiment of the present application, the server is deployed on the master station, and the commissioning software is installed on the server of the master station.
  • the communication between the master station and the slave station is still through the second communication protocol, and between the debugging device and the master station is through One communication protocol communication, so that there is no need to install commissioning software on the debugging device, and different commissioning devices can be used for commissioning of the entire network through the master server, which simplifies the user's processing process and improves the user experience.
  • the following describes the networking commissioning method in the embodiments of the present application in detail from the aspects of creation of a master-slave network, access to a slave station, and management of a slave station.
  • the embodiment of the present application deploys an embedded network system in the server of the master station, so as to satisfy the IP-type communication protocol with the debugging device.
  • the first commissioning request is a device scan request.
  • the creation process includes:
  • the master server receives the device scanning request sent by the debugging device, and the device scanning request is sent by the debugging device to the master server based on the first communication protocol;
  • the master server sends a file acquisition request to all slave devices
  • the master server receives the page file and database file sent from the slave device;
  • the master server stores the page file and database file of the slave device, and stores the corresponding device identifier in the device management list;
  • the master server shows all slave devices to the debugging device.
  • the network commissioning software is deployed in the server of the master station, and the web page information and database information of all slave stations are stored in the database of the master station.
  • the user can connect to the master server through any debugging equipment, so as to access or manage the slave station.
  • you first need to create a master-slave network that is, store data from the slave station to the master station.
  • the debugging device sends a device scanning request to the master server through HTTP to collect page information and database information of all slave stations.
  • the master server sends a file acquisition request to all slave devices connected to it to obtain the page file and database file of the slave station.
  • the master server After receiving the page file and database file of the slave station device, the master server performs classification storage and writes the device identification of the slave station device into the device management list.
  • the network system can be divided into multiple folder structures, such as server, html, js, resource, plugins, database, exec, and otherStation.
  • the folder otherStation contains folders dev01 to devN, where dev01 corresponds to slave station 01, dev02 corresponds to slave station 02, and so on, devN corresponds to slave station N.
  • Each dev folder contains folders html, js, resource, database. In this way, the entire folder structure becomes a network system for the master-slave network.
  • the server stores the embedded network system files of the main station
  • html stores the html files of the main station
  • js stores the js files of the main station
  • the resource folder stores the resource files of the main station
  • plugins stores some external plug-ins and external frameworks
  • database stores The database file
  • exec stores the background executable file cgi of the master station server
  • otherStation stores the web page file of each slave station.
  • the master server shows the master-slave networking system to users in the form of topology.
  • the master server After collecting the page files and database files of the slave station, the master server displays the entire master-slave networking system in the form of topology.
  • the network topology has information such as the alarm status, device number, production serial number and remarks of each slave station. . Among them, the alarm status is displayed in the form of an alarm indicator.
  • the user can access the slave station device through the network topology.
  • the first commissioning request sent by the commissioning device to the master server is an access request.
  • the specific process for the user to access the slave device includes:
  • the master server receives the access request sent by the debugging device, and the access request is sent by the debugging device to the master server based on the first communication protocol;
  • the master server converts the format of the access request so that the access request conforms to the format of the second communication protocol
  • the master server broadcasts the access request, and the access request includes the identity of the accessed slave device;
  • the master server receives the access feedback message sent by the slave device.
  • the access feedback message is a response message sent by the slave device to the master server after determining that the slave device matches the identifier of the slave device according to the received access request;
  • the master server converts the format of the access feedback message so that the access feedback message conforms to the format of the first communication protocol
  • the master server sends an access feedback message to the debugging device.
  • the debugging device when accessing the slave device, sends an access request to the master server, and the access request complies with HTTP. Specifically, the user clicks the icon in the network topology to link to the corresponding slave device, and the link address is: http://IP/web/otherStation/dev03/device.html.
  • IP is the IP address of the master server
  • dev03 means accessing the page of slave device 03.
  • the front end of the master server sends an access request to the background through AJAX, and the access request contains the device identification of the accessed slave device.
  • the access request in xml format or json format is converted into a message that meets the communication protocol of the master and slave stations, and is carried out through HDLC (High-Level Data Link Control) broadcast.
  • the slave device obtains the access request broadcast by the master server in the background, and determines whether it is the access object of the access request through the device identifier of the slave device carried in the access request, and only the slave device corresponding to the access request responds the data to the master Station server background.
  • the master server receives the access feedback message sent by the slave device, converts the format of the access feedback message into xml format or json format, and responds to the front end.
  • the front end displays the data to the user.
  • the user can perform operations such as management and setting of the slave station based on the acquired data. Due to the diversity of slave devices, different pages can be designed for different types of slave stations to meet the requirements of distinguishing different device types and personalization.
  • the commissioning device manages the slave stations in the network through the master server, which may specifically include device addition, device removal, device replacement, and the like.
  • the master server assigns a new device number to the newly added slave device and uses the network creation process to obtain the newly accessed slave device Web page files and database files, and add the number of the new slave device to the device management list.
  • embodiments of the present application include:
  • the master server receives a device removal request sent by the debugging device
  • the master server deletes the slave device corresponding to the device removal request from the device management list, and deletes the corresponding page file and database file in the local storage.
  • the user accesses the device management page of the master server through the debugging device.
  • the operation that the user can perform is to click the slave device to be removed, and after deleting the dialog box, click the Delete button.
  • the front end of the master server sends the removal request to the background program.
  • the data format of the removal request can be xml or json.
  • the background program deletes the folder of the corresponding slave device in otherStation, that is, deletes the page file of the slave device, deletes the database file of the slave device, and deletes the device identification of the slave device from the device management list.
  • the slave device is removed, the user cannot access the slave device.
  • management of the slave device also includes device data update, device upgrade, device calibration and station opening, and device authorization.
  • the commissioning device can send a status display request to the master server to determine the status of each slave device, whether there are new or deleted slave devices, and whether the slave device data is updated.
  • the specific process includes the following steps:
  • the master server receives the status display request sent by the debugging device, and the status display request is sent by the debugging device to the master server based on the first communication protocol;
  • the master server obtains the first verification code of the slave device from the local storage
  • the master station server sends the second commissioning request to the slave station device, where the second commissioning request includes the first verification code
  • the master server receives the unupdated feedback sent by the slave device.
  • the unupdated feedback is sent when the slave device determines that the first check code is the same as the second check code stored in the slave device; or, the master server receives the slave Update feedback sent by the station device.
  • the update feedback includes the updated page file and/or database file of the slave device.
  • the update feedback determines that the first check code is not the same as the second check code stored in the slave device. Sent at the same time;
  • the master server shows the slave device to the debugging device.
  • the master server after receiving the status display request sent by the debugging device, the master server obtains the page file and database file of the slave device.
  • the master server searches for the page files and database files of the slave devices one by one under the local otherStation according to the assigned device ID. If the page file and database file of the slave device are found, the master server obtains the first check code of the slave device from the local storage, such as a CRC (Cyclic Redundancy Check, Cyclic Redundancy Check) code, and sends it to Slave equipment. After receiving the CRC code, the slave device compares it with the CRC code stored by itself.
  • CRC Cyclic Redundancy Check, Cyclic Redundancy Check
  • the CRC code remains unchanged; when the page file and/or database file in the slave device is updated, the CRC code is also updated accordingly, so , You can know whether the file is updated by comparing the CRC code.
  • the page file and/or database file in the slave device respond to the feedback that the master server is not updated, and carry the CRC code that is not updated; when the page file and/or database file in the slave device is updated, Package the updated file and send it to the master server, and carry the new CRC code at the same time.
  • the master server After receiving the message from the slave device, the master server checks the CRC code, and if it is inconsistent, it updates the slave file stored in the master server.
  • the master server shows the status of the slave device to the debugging device.
  • the link topology of the slave station device can be displayed through the network topology to inform the user that the slave station device cannot be accessed.
  • the debugging device For the upgrade of the slave device, the debugging device selects the corresponding slave device on the network topology, and uploads the upgrade software to the master server through the file control. After the upload is completed, the front end of the master server sends an upgrade notification and the corresponding slave device identification to the background. Read the file uploaded by the debugging device in the background, and then broadcast it to the corresponding slave device through HDLC, so that the slave device can upgrade the software.
  • the above data update steps need to be performed to determine whether the page file and database file of the slave device have changed. If there is a change, the master server reacquires the page file and database of the slave device file.
  • the debugging device sends a calibration request to the master server, and the calibration request includes the standard frequency band and the input power of the standard frequency band.
  • the specific process of equipment calibration includes the following steps:
  • the master server receives the calibration request sent by the debugging device, and the calibration request is sent by the debugging device to the master station server based on the first communication protocol;
  • the master server obtains the frequency bands of all slaves from local storage
  • the master server matches all the frequency bands of the slave stations with the standard frequency bands, and determines the slave stations to be calibrated which are in accordance with the standard frequency band
  • the master server sends a calibration start command to the slave station to be calibrated.
  • the calibration start command includes the input power of the standard frequency band, so that the slave station to be calibrated performs calibration according to the input power of the standard frequency band.
  • the user controls all the slave devices through the master server, and can calibrate all the slave devices in the same frequency band at one time, so that the target power of the slave devices meets the user's requirements.
  • the calibration of the slave device sends the input power of a frequency band to the master server through the debugging device.
  • the master server obtains all the frequency bands of all the slave stations from the storage and matches the received calibration frequency band.
  • the slave device with the channel As a slave to be calibrated.
  • the master server sends the calibration start commands to the slave stations to be calibrated one by one, so that the slave devices can be calibrated to reach the output target power.
  • This calibration method simplifies the calibration process and facilitates the opening and use of slave devices.
  • the slave station device may be authorized by the master station server to control the slave station device to open a frequency band purchased for purchase.
  • the authorization of the slave station device is turned on, the unopened frequency band will be hidden on the network topology of the master station server.
  • Embodiment 1 is a process of creating a master-slave network and user access to a slave station. Specific steps are shown in FIG. 3 and include:
  • Step 301 The debugging device sends a scan request to the master server.
  • Step 302 The master server sends a file acquisition request to all slave devices connected to it according to the received device scan request.
  • Step 303 The slave device sends the page file and the database file to the master server.
  • Step 304 After receiving the page file and database file of the slave station device, the master server performs classification storage, and writes the device identification of the slave station device into the device management list.
  • Step 305 The master server sends a scan request feedback to the debugging device, and displays the entire master-slave networking system to the debugging device through the network topology.
  • Step 306 The debugging device sends an access request to the master server through HTTP, and the access request includes the device identification of the accessed slave device.
  • Step 307 The master server converts the format of the access request into a message that satisfies the communication protocol of the master slave.
  • Step 308 The master server broadcasts the access request, and the access request includes the identity of the accessed slave device.
  • Step 309 The slave device obtains the access request, and determines the access object of the access request by identifying the device identifier of the slave device carried in the access request.
  • Step 310 The slave device sends an access feedback message to the master server, and the slave device is the access object of the access request.
  • Step 311 The master server converts the received access feedback message into a xml format or a json format.
  • Step 312 The master server sends an access feedback message to the debugging device via HTTP.
  • Embodiment 2 The master station server manages the slave station equipment. The specific steps are shown in FIG. 4 and include:
  • Step 401 The debugging device sends a device removal request to the master server, where the device removal request includes the device identifier of the slave device.
  • Step 402 The master server deletes the folder corresponding to the slave device according to the device identifier, and deletes the device identifier of the slave device from the device management list.
  • Step 403 The master server sends device removal feedback to the debugging device.
  • Step 404 The debugging device sends a status display request to the master server based on HTTP.
  • Step 405 The master server obtains the first CRC code of the slave device from the local storage.
  • Step 406 The master server sends a status display request from the slave device.
  • the status display request includes the first CRC code.
  • Step 407 The slave device compares the received first CRC code with the second CRC code stored by itself. If the two are the same, step 408 is executed, otherwise step 409 is executed.
  • Step 408 The slave device sends unupdated feedback to the master server.
  • Step 409 The slave device sends update feedback to the master server, and the update feedback includes the updated page file and/or database file of the slave device.
  • Step 410 The master server shows the slave device to the debugging device.
  • An embodiment of the present application also provides a device for commissioning a communication device network, as shown in FIG. 5, including:
  • the receiving unit 501 is configured to receive a first commissioning request sent by a debugging device, the commissioning software is installed on the server of the master station, and the first commissioning request is that the debugging device sends a request to the master based on the first communication protocol Station server;
  • the sending unit 502 is configured to send a second commissioning request to the slave station device according to the first commissioning request, where the second commissioning request is based on the first request between the master server and the slave station device. Sent by two communication protocols;
  • the receiving unit 501 is further configured to receive a first feedback message sent by the slave station device, where the first feedback message is sent based on the second communication protocol;
  • the sending unit 502 is further configured to send a second feedback message to the debugging device, where the second feedback message is sent based on the first communication protocol;
  • the first communication protocol is an IP-type communication protocol
  • the second communication protocol is a non-IP-type communication protocol
  • the first commissioning request is a device scanning request
  • the sending unit 502 is also used to send a file acquisition request to all slave station devices;
  • the receiving unit 501 is also used to receive the page file and the database file sent from the station device;
  • It also includes a processing unit 503 for storing the page file and database file of the slave device, and storing the corresponding device identification in the device management list;
  • the sending unit 502 is also used to show all slave devices to the debugging device.
  • the receiving unit 501 is further configured to receive a device removal request sent by the debugging device;
  • the processing unit 503 is further configured to delete the slave device corresponding to the device removal request from the device management list, and delete the corresponding page file and database file in the local storage.
  • the first commissioning request is a status display request
  • the processing unit 503 is also used to obtain the first verification code of the slave device from the local storage;
  • the sending unit 502 is further configured to send the second commissioning request to the slave station device, where the second commissioning request includes the first verification code;
  • the receiving unit 501 is further configured to receive unupdated feedback sent by the slave station device, where the unupdated feedback determines the first check code and the first stored in the slave station device by the slave station device. Sent when the two check codes are the same; or receiving update feedback sent by the slave device, where the update feedback includes the page file and/or database file updated by the slave device, and the update feedback is the slave. The station device determines that the first check code is different from the second check code stored in the slave device;
  • the sending unit 502 is further configured to show the slave device to the debugging device according to the first feedback message.
  • the first commissioning request is an access request
  • the processing unit 503 is further configured to convert the format of the access request so that the access request conforms to the format of the second communication protocol;
  • the sending unit 502 is further configured to broadcast the access request, where the access request includes the identity of the accessed slave device;
  • the receiving unit 501 is further configured to receive an access feedback message sent by the slave station device, where the access feedback message determines that the slave station device matches the identifier of the slave station device according to the received access request Response message sent to the master station server later;
  • the processing unit 503 is further configured to convert the format of the access feedback message so that the access feedback message conforms to the format of the first communication protocol;
  • the sending unit 502 is further configured to send the access feedback message to the debugging device.
  • the first commissioning request is a calibration request
  • the calibration request includes a standard frequency band and input power of the standard frequency band
  • the processing unit 503 is also used to obtain the frequency bands of all the slave stations from local storage; match the frequency bands of all the slave stations with the standard frequency band, and determine the slave station to be calibrated that matches the standard frequency band;
  • the sending unit 502 is further configured to send a calibration start command to the slave station to be calibrated, where the calibration start command includes the input power of the standard frequency band, so that the slave station to be calibrated according to the standard frequency band Input power for calibration.
  • this application also provides an electronic device, as shown in FIG. 6, including
  • It includes a processor 601, a memory 602, a transceiver 603, and a bus interface 604, where the processor 601, the memory 602, and the transceiver 603 are connected through a bus interface 604;
  • the processor 601 is configured to read the program in the memory 602 and execute the following methods:
  • the commissioning software is installed on the master station server, and the first commissioning request is sent by the debugging device to the master station server based on a first communication protocol;
  • the first communication protocol is an IP-type communication protocol
  • the second communication protocol is a non-IP-type communication protocol

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Debugging And Monitoring (AREA)
  • Computer And Data Communications (AREA)

Abstract

The present application relates to an adjusting and testing method and apparatus for communication device networking, comprising: a master station server receives a first adjusting and testing request sent by a debugging device, debugging software being installed on the master station server, and the first adjusting and testing request being sent by the debugging device to the master station server on the basis of a first communication protocol; the master station server sends a second adjusting and testing request to a slave station device according to the first adjusting and testing request, the second adjusting and testing request being sent by the master station server on the basis of a second communication protocol between the master station server and the slave station device; the master station server receives a first feedback message sent by the slave station device, the first feedback message being sent on the basis of the second communication protocol; the master station server sends a second feedback message to the debugging device, the second feedback message being sent on the basis of the first communication protocol.

Description

一种通信设备组网的调测方法及装置Method and device for adjusting and testing communication equipment networking 技术领域Technical field
本申请涉及通信技术领域,尤其涉及一种通信设备组网的调测方法及装置。The present application relates to the field of communication technology, and in particular, to a method and a device for commissioning a communication device network.
背景技术Background technique
在模拟的通信设备中,主从式星型组网要求调试软件能够对整个组网的设备进行访问,实现对整个网络中的通信设备进行集中管理及监控、集中开站、集中授权,实时获取组网中的设备的状态。In the simulated communication equipment, the master-slave star network requires that the debugging software can access the equipment of the entire network to realize centralized management and monitoring, centralized opening, centralized authorization, and real-time acquisition of the communication equipment in the entire network The status of the devices in the network.
由于模拟通信设备中,主站与其他站点的设备不具备IP化,主站与从站之间的通信采用的是非IP通信的方式。这种情况下,对组网进行调测的用户终端上需安装调测软件,配置用户本地数据,再通过与主站进行通信达到访问整网的目的。因此,现有技术的调测流程对于用户体验较为复杂,效率低下。Because of the analog communication equipment, the equipment of the master station and other stations does not have IP, so the communication between the master station and the slave station uses non-IP communication. In this case, the commissioning software needs to be installed on the user terminal for commissioning the network, configure the user's local data, and then communicate with the master station to access the entire network. Therefore, the prior art commissioning process is more complicated for the user experience and inefficient.
发明内容Summary of the invention
本申请提供一种通信设备组网的调测方法及装置,用以简化用户操作流程,改善用户体验。The present application provides a method and device for commissioning and testing of communication equipment networking to simplify user operation procedures and improve user experience.
本申请实施例提供的一种通信设备组网的调测方法,包括:A method for commissioning a communication device network provided by an embodiment of the present application includes:
主站服务器接收调试设备发送的第一调测请求,所述主站服务器上安装有调测软件,所述第一调测请求为所述调试设备基于第一通信协议向所述主站服务器发送的;The master station server receives the first commissioning request sent by the debugging device, the commissioning software is installed on the master station server, and the first commissioning request is sent by the debugging device to the master station server based on the first communication protocol of;
所述主站服务器根据所述第一调测请求,向从站设备发送第二调测请求,所述第二调测请求为所述主站服务器基于与所述从站设备之间的第二通信协议发送的;The master station server sends a second commissioning request to the slave station device according to the first commissioning request, the second commissioning request is based on the second between the master server and the slave station device. Sent by communication protocol;
所述主站服务器接收所述从站设备发送的第一反馈消息,所述第一反馈消息为基于所述第二通信协议发送的;The master server receives the first feedback message sent by the slave device, and the first feedback message is sent based on the second communication protocol;
所述主站服务器向所述调试设备发送第二反馈消息,所述第二反馈消息为基于所述第一通信协议发送的;The master server sends a second feedback message to the debugging device, and the second feedback message is sent based on the first communication protocol;
其中,所述第一通信协议为IP类的通信协议,所述第二通信协议为非IP类的通信协议。Wherein, the first communication protocol is an IP-type communication protocol, and the second communication protocol is a non-IP-type communication protocol.
本申请实施例还提供一种通信设备组网的调测装置,包括:An embodiment of the present application also provides a device for commissioning a communication device network, including:
接收单元,用于接收调试设备发送的第一调测请求,所述主站服务器上安装有调测软件,所述第一调测请求为所述调试设备基于第一通信协议向所述主站服务器发送的;A receiving unit, configured to receive a first commissioning request sent by a debugging device, the commissioning software is installed on the server of the master station, and the first commissioning request is that the debugging device sends the commissioning device to the master station based on a first communication protocol Sent by the server;
发送单元,用于根据所述第一调测请求,向从站设备发送第二调测请求,所述第二调测请求为所述主站服务器基于与所述从站设备之间的第二通信协议发送的;A sending unit, configured to send a second commissioning request to the slave station device according to the first commissioning request, where the second commissioning request is based on the second between the master server and the slave station device Sent by communication protocol;
所述接收单元,还用于接收所述从站设备发送的第一反馈消息,所述第一反馈消息为基于所述第二通信协议发送的;The receiving unit is further configured to receive a first feedback message sent by the slave station device, where the first feedback message is sent based on the second communication protocol;
所述发送单元,还用于向所述调试设备发送第二反馈消息,所述第二反馈消息为基于所述第一通信协议发送的;The sending unit is further configured to send a second feedback message to the debugging device, where the second feedback message is sent based on the first communication protocol;
其中,所述第一通信协议为IP类的通信协议,所述第二通信协议为非IP类的通信协议。Wherein, the first communication protocol is an IP-type communication protocol, and the second communication protocol is a non-IP-type communication protocol.
本申请实施例还提供一种电子设备,包括:An embodiment of the present application also provides an electronic device, including:
至少一个处理器;以及,At least one processor; and,
与所述至少一个处理器通信连接的存储器;其中,A memory communicatively connected to the at least one processor; wherein,
所述存储器存储有可被所述至少一个处理器执行的指令,所述指令被所述至少一个处理器执行,以使所述至少一个处理器能够执行如上所述的方法。The memory stores instructions executable by the at least one processor, the instructions being executed by the at least one processor to enable the at least one processor to perform the method as described above.
本申请实施例还提供一种非暂态计算机可读存储介质,所述非暂态计算机可读存储介质存储计算机指令,所述计算机指令用于使所述计算机执行如上 所述的方法。An embodiment of the present application further provides a non-transitory computer-readable storage medium, where the non-transitory computer-readable storage medium stores computer instructions, and the computer instructions are used to cause the computer to execute the method described above.
本申请实施例中,在主站服务器上安装调测软件,调试设备与主站服务器之间的通信协议为第一通信协议,主站服务器与从站设备之间的通信协议为第二通信协议,其中,第一通信协议为IP类的通信协议,第二通信协议为非IP类的通信协议。用户通过调试设备向主站服务器发送第一调测请求,主站服务器根据第一调测请求,向与之相连的从站设备发送第二调测请求,从站设备对第二调测请求处理后,向主站服务器发送第一反馈消息,主站服务器再向调试设备发送第二反馈消息,其中,第一调测请求和第二反馈消息的发送符合第一通信协议,第二调测请求和第一反馈消息的发送符合第二通信协议。因此,本申请实施例中,在主站部署服务器,并在主站服务器上安装调测软件,主站与从站之间仍通过第二通信协议通信,而调试设备与主站之间通过第一通信协议通信,这样无需在调试设备上安装调测软件,可以用不同的调试设备通过主站服务器进行全网的调测,简化了用户的处理流程,改善了用户体验。In the embodiment of the present application, the commissioning software is installed on the master server, the communication protocol between the debugging device and the master server is the first communication protocol, and the communication protocol between the master server and the slave device is the second communication protocol , Where the first communication protocol is an IP-type communication protocol, and the second communication protocol is a non-IP-type communication protocol. The user sends the first commissioning request to the master server through the debugging device. The master server sends the second commissioning request to the slave device connected to it according to the first commissioning request. The slave device processes the second commissioning request. After that, the first feedback message is sent to the main station server, and the main station server sends a second feedback message to the debugging device, wherein the sending of the first commissioning request and the second feedback message conforms to the first communication protocol, and the second commissioning request The sending of the first feedback message conforms to the second communication protocol. Therefore, in the embodiment of the present application, the server is deployed on the master station, and the commissioning software is installed on the server of the master station. The communication between the master station and the slave station is still through the second communication protocol, and between the debugging device and the master station is through One communication protocol communication, so that there is no need to install commissioning software on the debugging device, and different commissioning devices can be used for commissioning of the entire network through the master server, which simplifies the user's processing process and improves the user experience.
附图说明BRIEF DESCRIPTION
图1为本申请实施例所适用的一种可能的系统构架的示意图;FIG. 1 is a schematic diagram of a possible system architecture to which an embodiment of this application is applicable;
图2为本申请实施例提供的一种通信设备组网的调测方法的流程示意图;2 is a schematic flowchart of a method for commissioning a communication device network provided by an embodiment of the present application;
图3为本申请实施例一提供的通信设备组网的调测方法的流程示意图;FIG. 3 is a schematic flowchart of a method for commissioning a communication device network provided by Embodiment 1 of the present application;
图4为本申请实施例二提供的通信设备组网的调测方法的流程示意图;4 is a schematic flowchart of a method for commissioning a communication device network provided by Embodiment 2 of the present application;
图5为本申请实施例提供的一种通信设备组网的调测装置的结构示意图;5 is a schematic structural diagram of a commissioning device for networking of communication equipment according to an embodiment of the present application;
图6为本申请实施例提供的电子设备的结构示意图。6 is a schematic structural diagram of an electronic device provided by an embodiment of the present application.
具体实施方式detailed description
本申请实施例适用的一种系统架构,如图1所示,包括调试设备101、主站服务器102以及从站设备103。其中,主站服务器102上安装有调试软件, 用户通过调试设备101访问主站服务器102,进一步达到访问不同从站设备的目的。A system architecture applicable to the embodiments of the present application, as shown in FIG. 1, includes a debugging device 101, a master server 102, and a slave device 103. Among them, the debugging software is installed on the master server 102, and the user accesses the master server 102 through the debugging device 101 to further achieve the purpose of accessing different slave devices.
调试设备101可以是手机、平板电脑或者是专用的手持设备等具有无线通信功能的电子设备,也可以是个人计算机(personal computer,简称PC),笔记本电脑,服务器等有线接入方式连接上网的设备。主站服务器102和/或从站设备103可以是计算机等网络设备。主站服务器102和/或从站设备103可以是一个独立的设备,也可以是多个服务器所形成的服务器集群。优选地,主站服务器102和/或从站设备103可以采用云计算技术进行信息处理。The debugging device 101 can be an electronic device with wireless communication function such as a mobile phone, a tablet computer, or a dedicated handheld device, or a personal computer (personal computer, PC for short), notebook computer, server, or other wired access device to connect to the Internet . The master server 102 and/or the slave device 103 may be network devices such as computers. The master server 102 and/or slave device 103 may be an independent device or a server cluster formed by multiple servers. Preferably, the master server 102 and/or the slave device 103 may use cloud computing technology for information processing.
调试设备101可以通过INTERNET网络与主站服务器102进行通信,也可以通过全球移动通信系统(Global System for Mobile Communications,简称GSM)、长期演进(long term evolution,简称LTE)系统等移动通信系统与主站服务器102进行通信。调试设备101与主站服务器102之间的通信协议为IP类的通信协议,优选的,调试设备101与主站服务器102之间的通信协议为HTTP(超文本传输协议,HyperText Transfer Protocol),本申请实施例主要以HTTP协议为例进行介绍,需要说明的是调试设备101与主站服务器102之间的通信协议不仅限于HTTP,也可以是其它的IP类通信协议,本申请实施例对此不做限制。此外,主站服务器102与从站设备103之间的通信协议为非IP类的通信协议,主站服务器102和与之连接的多个从站设备103之间的通信协议为同一个非IP类通信协议,该非IP类通信协议由主站与从站自行商定。The debugging device 101 can communicate with the master server 102 through the INTERNET network, or through mobile communication systems such as the Global System for Mobile Communications (GSM), long term evolution (LTE) system, etc. The station server 102 communicates. The communication protocol between the debugging device 101 and the master server 102 is an IP-type communication protocol. Preferably, the communication protocol between the debugging device 101 and the master server 102 is HTTP (HyperText Transfer Protocol, HyperText Transfer Protocol). The application embodiment mainly uses the HTTP protocol as an example. It should be noted that the communication protocol between the debugging device 101 and the master server 102 is not limited to HTTP, but may also be other IP-type communication protocols. Do restrictions. In addition, the communication protocol between the master server 102 and the slave device 103 is a non-IP communication protocol, and the communication protocol between the master server 102 and a plurality of slave devices 103 connected thereto is the same non-IP type Communication protocol, the non-IP type communication protocol is negotiated by the master station and the slave station.
基于图1所示的系统架构,本申请实施例提供了一种通信设备组网的调测方法,如图2所示,本申请实施例提供的在主站服务器侧实现的一种通信设备组网的调测方法包括以下步骤:Based on the system architecture shown in FIG. 1, an embodiment of the present application provides a method for commissioning a communication device network. As shown in FIG. 2, a communication device group implemented on the master server side provided by an embodiment of the present application The network commissioning method includes the following steps:
步骤201、主站服务器接收调试设备发送的第一调测请求,所述主站服务器上安装有调测软件,所述第一调测请求为所述调试设备基于第一通信协议向所述主站服务器发送的。Step 201: The master station server receives a first commissioning request sent by a debugging device, the commissioning software is installed on the master station server, and the first commissioning request is that the debugging device sends the commissioning device to the master based on the first communication protocol Station server.
步骤202、所述主站服务器根据所述第一调测请求,向从站设备发送第二 调测请求,所述第二调测请求为所述主站服务器基于与所述从站设备之间的第二通信协议发送的。Step 202: The master station server sends a second commissioning request to the slave station device according to the first commissioning request, where the second commissioning request is based on the relationship between the master server and the slave station device. Of the second communication protocol.
步骤203、所述主站服务器接收所述从站设备发送的第一反馈消息,所述第一反馈消息为基于所述第二通信协议发送的。Step 203: The master server receives the first feedback message sent by the slave device, and the first feedback message is sent based on the second communication protocol.
步骤204、所述主站服务器向所述调试设备发送第二反馈消息,所述第二反馈消息为基于所述第一通信协议发送的。Step 204: The master station server sends a second feedback message to the debugging device, where the second feedback message is sent based on the first communication protocol.
本申请实施例中,在主站服务器上安装调测软件,调试设备与主站服务器之间的通信协议为第一通信协议,主站服务器与从站设备之间的通信协议为第二通信协议,其中,第一通信协议为IP类的通信协议,第二通信协议为非IP类的通信协议。用户通过调试设备向主站服务器发送第一调测请求,主站服务器根据第一调测请求,向与之相连的从站设备发送第二调测请求,从站设备对第二调测请求处理后,向主站服务器发送第一反馈消息,主站服务器再向调试设备发送第二反馈消息,其中,第一调测请求和第二反馈消息的发送符合第一通信协议,第二调测请求和第一反馈消息的发送符合第二通信协议。因此,本申请实施例中,在主站部署服务器,并在主站服务器上安装调测软件,主站与从站之间仍通过第二通信协议通信,而调试设备与主站之间通过第一通信协议通信,这样无需在调试设备上安装调测软件,可以用不同的调试设备通过主站服务器进行全网的调测,简化了用户的处理流程,改善了用户体验。In the embodiment of the present application, the commissioning software is installed on the master server, the communication protocol between the debugging device and the master server is the first communication protocol, and the communication protocol between the master server and the slave device is the second communication protocol , Where the first communication protocol is an IP-type communication protocol, and the second communication protocol is a non-IP-type communication protocol. The user sends the first commissioning request to the master server through the debugging device. The master server sends the second commissioning request to the slave device connected to it according to the first commissioning request. The slave device processes the second commissioning request. After that, the first feedback message is sent to the main station server, and the main station server sends a second feedback message to the debugging device, wherein the sending of the first commissioning request and the second feedback message conforms to the first communication protocol, and the second commissioning request The sending of the first feedback message conforms to the second communication protocol. Therefore, in the embodiment of the present application, the server is deployed on the master station, and the commissioning software is installed on the server of the master station. The communication between the master station and the slave station is still through the second communication protocol, and between the debugging device and the master station is through One communication protocol communication, so that there is no need to install commissioning software on the debugging device, and different commissioning devices can be used for commissioning of the entire network through the master server, which simplifies the user's processing process and improves the user experience.
下面分别从主从组网的创建、对从站的访问,以及对从站的管理方面,详细描述本申请实施例中的组网调测方法。The following describes the networking commissioning method in the embodiments of the present application in detail from the aspects of creation of a master-slave network, access to a slave station, and management of a slave station.
本申请实施例在主站服务器中部署嵌入式网络系统,从而满足与调试设备之间的IP类通信协议。在组网的创建过程中,第一调测请求为设备扫描请求,创建过程包括:The embodiment of the present application deploys an embedded network system in the server of the master station, so as to satisfy the IP-type communication protocol with the debugging device. During the creation of the network, the first commissioning request is a device scan request. The creation process includes:
主站服务器接收调试设备发送的设备扫描请求,设备扫描请求为调试设备基于第一通信协议向主站服务器发送的;The master server receives the device scanning request sent by the debugging device, and the device scanning request is sent by the debugging device to the master server based on the first communication protocol;
主站服务器向所有从站设备发送文件获取请求;The master server sends a file acquisition request to all slave devices;
主站服务器接收从站设备发送的页面文件和数据库文件;The master server receives the page file and database file sent from the slave device;
主站服务器将所述从站设备的页面文件和数据库文件进行存储,并将对应的设备标识存储在设备管理列表中;The master server stores the page file and database file of the slave device, and stores the corresponding device identifier in the device management list;
主站服务器向所述调试设备展示所有从站设备。The master server shows all slave devices to the debugging device.
在具体实施例过程中,主站服务器中部署有组网调测软件,所有从站的网页信息以及数据库信息均存储在主站的数据库中。用户可以通过任意调试设备连接主站服务器,从而达到访问或管理从站的目的。具体的,首先需要创建主从组网,即将从站的数据存储到主站中。调试设备通过HTTP向主站服务器发送设备扫描请求,以收集所有从站的页面信息和数据库信息。主站服务器根据收到的设备扫描请求,向与其连接的所有从站设备发送文件获取请求,以获取从站的页面文件和数据库文件。主站服务器接收到从站设备的页面文件和数据库文件后,进行分类存储,并将从站设备的设备标识写入设备管理列表中。In the process of the specific embodiment, the network commissioning software is deployed in the server of the master station, and the web page information and database information of all slave stations are stored in the database of the master station. The user can connect to the master server through any debugging equipment, so as to access or manage the slave station. Specifically, you first need to create a master-slave network, that is, store data from the slave station to the master station. The debugging device sends a device scanning request to the master server through HTTP to collect page information and database information of all slave stations. According to the received device scanning request, the master server sends a file acquisition request to all slave devices connected to it to obtain the page file and database file of the slave station. After receiving the page file and database file of the slave station device, the master server performs classification storage and writes the device identification of the slave station device into the device management list.
举例来说,主站服务器的嵌入式网络系统中,可以将网络系统分为多个文件夹结构,如server、html、js、resource、plugins、database、exec、otherStation。在文件夹otherStation中包含文件夹dev01~devN,其中,dev01对应于从站01,dev02对应于从站02,以此类推,devN对应于从站N。每个dev文件夹中又包含文件夹html、js、resource、database。这样,整个文件夹结构就够成了主从组网的网络系统。其中,server存放主站的嵌入式网络系统文件,html存放主站的html文件,js存放主站的js文件,resource文件夹存放主站的资源文件,plugins存放一些外部插件和外部框架,database存放数据库文件,exec存放主站服务器的后台可执行文件cgi,otherStation存放各从站的web页面文件。之后,主站服务器以拓扑的形式向用户展示主从组网系统。For example, in the embedded network system of the master server, the network system can be divided into multiple folder structures, such as server, html, js, resource, plugins, database, exec, and otherStation. The folder otherStation contains folders dev01 to devN, where dev01 corresponds to slave station 01, dev02 corresponds to slave station 02, and so on, devN corresponds to slave station N. Each dev folder contains folders html, js, resource, database. In this way, the entire folder structure becomes a network system for the master-slave network. Among them, the server stores the embedded network system files of the main station, html stores the html files of the main station, js stores the js files of the main station, the resource folder stores the resource files of the main station, plugins stores some external plug-ins and external frameworks, database stores The database file, exec stores the background executable file cgi of the master station server, and otherStation stores the web page file of each slave station. After that, the master server shows the master-slave networking system to users in the form of topology.
在收集完从站的页面文件和数据库文件之后,主站服务器将整个主从组网系统以拓扑的形式展示出来,网络拓扑有各个从站的告警状态、设备编号、 生产序列号及备注等信息。其中,告警状态以告警指示灯的形式展现。After collecting the page files and database files of the slave station, the master server displays the entire master-slave networking system in the form of topology. The network topology has information such as the alarm status, device number, production serial number and remarks of each slave station. . Among them, the alarm status is displayed in the form of an alarm indicator.
用户可以通过网络拓扑,对从站设备进行访问,此时,调测设备向主站服务器发送的第一调测请求为访问请求。用户对从站设备进行访问的具体流程包括:The user can access the slave station device through the network topology. At this time, the first commissioning request sent by the commissioning device to the master server is an access request. The specific process for the user to access the slave device includes:
主站服务器接收调试设备发送的访问请求,访问请求为调试设备基于第一通信协议向主站服务器发送的;The master server receives the access request sent by the debugging device, and the access request is sent by the debugging device to the master server based on the first communication protocol;
主站服务器将访问请求进行格式转换,以使访问请求符合第二通信协议的格式;The master server converts the format of the access request so that the access request conforms to the format of the second communication protocol;
主站服务器将访问请求进行广播,访问请求中包括访问的从站设备标识;The master server broadcasts the access request, and the access request includes the identity of the accessed slave device;
主站服务器接收从站设备发送的访问反馈消息,访问反馈消息为从站设备根据接收到的访问请求确定与从站设备标识相匹配后向主站服务器发送的应答消息;The master server receives the access feedback message sent by the slave device. The access feedback message is a response message sent by the slave device to the master server after determining that the slave device matches the identifier of the slave device according to the received access request;
主站服务器将访问反馈消息进行格式转换,以使访问反馈消息符合第一通信协议的格式;The master server converts the format of the access feedback message so that the access feedback message conforms to the format of the first communication protocol;
主站服务器向调试设备发送访问反馈消息。The master server sends an access feedback message to the debugging device.
在具体实施过程中,当访问从站设备时,调试设备向主站服务器发送访问请求,该访问请求符合HTTP。具体可以为,用户单击网络拓扑中的图标,链接到对应的从站设备,链接地址:http://IP/web/otherStation/dev03/device.html。其中IP为主站服务器的IP地址,dev03表示访问从站设备03的页面。当跳转到上述页面后,主站服务器的前端通过AJAX发送访问请求到后台,该访问请求中包含被访问的从站设备的设备标识。后台接收到访问请求后,将xml格式或json格式的访问请求,进行格式转换,转换成满足主站从站通信协议的消息,通过HDLC(高级数据链路控制,High-Level Data Link Control)进行广播。从站设备获取主站服务器后台广播的访问请求,通过访问请求中携带的从站设备的设备标识,确定是否是该访问请求的访问对象,只有该访问请求对应的从站设备将数据响应给主站服务器的后台。主站服务器接收到从站设备发送的访 问反馈消息,将访问反馈消息进行格式转换,转换成xml格式或json格式,响应给前端。前端再将数据向用户显示。用户可以根据获取的数据进行从站的管理、设置等操作。由于从站设备的多样性,对于不同类型的从站,可以设计差异化的页面,达到区分不同设备类型和个性化的要求。In the specific implementation process, when accessing the slave device, the debugging device sends an access request to the master server, and the access request complies with HTTP. Specifically, the user clicks the icon in the network topology to link to the corresponding slave device, and the link address is: http://IP/web/otherStation/dev03/device.html. Among them, IP is the IP address of the master server, and dev03 means accessing the page of slave device 03. After jumping to the above page, the front end of the master server sends an access request to the background through AJAX, and the access request contains the device identification of the accessed slave device. After receiving the access request in the background, the access request in xml format or json format is converted into a message that meets the communication protocol of the master and slave stations, and is carried out through HDLC (High-Level Data Link Control) broadcast. The slave device obtains the access request broadcast by the master server in the background, and determines whether it is the access object of the access request through the device identifier of the slave device carried in the access request, and only the slave device corresponding to the access request responds the data to the master Station server background. The master server receives the access feedback message sent by the slave device, converts the format of the access feedback message into xml format or json format, and responds to the front end. The front end then displays the data to the user. The user can perform operations such as management and setting of the slave station based on the acquired data. Due to the diversity of slave devices, different pages can be designed for different types of slave stations to meet the requirements of distinguishing different device types and personalization.
进一步地,本申请实施例中,调测设备通过主站服务器对组网中的从站进行管理,具体可以包括设备新增、设备移除、设备替换等。Further, in the embodiment of the present application, the commissioning device manages the slave stations in the network through the master server, which may specifically include device addition, device removal, device replacement, and the like.
对于设备新增,可以向主站服务器发送设备扫描请求,以获取新的从站设备的页面文件和数据库文件。即当有新设备接入时,触发主站服务器的扫描功能,主站服务器为新加入的从站设备分配新的设备编号,并采用组网创建过程的方式,获取新接入的从站设备的网页文件和数据库文件,并把新从站设备的编号加入到设备管理列表中。For new equipment, you can send a device scan request to the master server to obtain the page file and database file of the new slave device. That is, when a new device is connected, the scan function of the master server is triggered. The master server assigns a new device number to the newly added slave device and uses the network creation process to obtain the newly accessed slave device Web page files and database files, and add the number of the new slave device to the device management list.
对于设备移除,本申请实施例包括:For device removal, embodiments of the present application include:
所述主站服务器接收所述调试设备发送的设备移除请求;The master server receives a device removal request sent by the debugging device;
所述主站服务器将所述设备移除请求对应的从站设备从所述设备管理列表中删除,并删除所述本地存储中对应的页面文件和数据库文件。The master server deletes the slave device corresponding to the device removal request from the device management list, and deletes the corresponding page file and database file in the local storage.
具体地,当从站设备从组网中移除时,用户通过调试设备访问主站服务器的设备管理页面。举例来说,用户可执行的操作为单击待移除的从站设备,在跳出对话框后,单击删除按钮。主站服务器的前端收到移除请求后,发送该移除请求至后台程序,移除请求的数据格式可以为xml或json。后台程序将otherStation中对应的从站设备的文件夹删除,即删除该从站设备的页面文件,同时删除该从站设备的数据库文件,并从设备管理列表中删除该从站设备的设备标识。当从站设备移除后,用户就不能对该从站设备进行访问。Specifically, when the slave device is removed from the network, the user accesses the device management page of the master server through the debugging device. For example, the operation that the user can perform is to click the slave device to be removed, and after deleting the dialog box, click the Delete button. After receiving the removal request, the front end of the master server sends the removal request to the background program. The data format of the removal request can be xml or json. The background program deletes the folder of the corresponding slave device in otherStation, that is, deletes the page file of the slave device, deletes the database file of the slave device, and deletes the device identification of the slave device from the device management list. When the slave device is removed, the user cannot access the slave device.
对于设备替换,可以看做同时进行设备移除和设备新增,这里不多做赘述。For device replacement, it can be regarded as simultaneous device removal and device addition, which will not be repeated here.
进一步地,对从站设备的管理还包括设备数据更新、设备升级、设备的校准及开站、设备的授权等。Further, the management of the slave device also includes device data update, device upgrade, device calibration and station opening, and device authorization.
调试设备可以通过向主站服务器发送状态展示请求,以确定每个从站设备 的状态,是否有从站设备新增或删除,以及从站设备是否数据更新等。对于数据更新,具体的流程包括以下步骤:The commissioning device can send a status display request to the master server to determine the status of each slave device, whether there are new or deleted slave devices, and whether the slave device data is updated. For data update, the specific process includes the following steps:
主站服务器接收调试设备发送的状态展示请求,状态展示请求为调试设备基于第一通信协议向主站服务器发送的;The master server receives the status display request sent by the debugging device, and the status display request is sent by the debugging device to the master server based on the first communication protocol;
主站服务器从本地存储中获取从站设备的第一校验码;The master server obtains the first verification code of the slave device from the local storage;
主站服务器向所述从站设备发送所述第二调测请求,所述第二调测请求中包含所述第一校验码;The master station server sends the second commissioning request to the slave station device, where the second commissioning request includes the first verification code;
主站服务器接收从站设备发送的未更新反馈,未更新反馈为从站设备确定第一校验码与从站设备中存储的第二校验码相同时发送的;或者,主站服务器接收从站设备发送的更新反馈,更新反馈中包括从站设备更新的页面文件和/或数据库文件,更新反馈为从站设备确定第一校验码与从站设备中存储的第二校验码不相同时发送的;The master server receives the unupdated feedback sent by the slave device. The unupdated feedback is sent when the slave device determines that the first check code is the same as the second check code stored in the slave device; or, the master server receives the slave Update feedback sent by the station device. The update feedback includes the updated page file and/or database file of the slave device. The update feedback determines that the first check code is not the same as the second check code stored in the slave device. Sent at the same time;
主站服务器向调试设备展示从站设备。The master server shows the slave device to the debugging device.
在具体实现过程中,主站服务器接收到调试设备发送的状态展示请求后,获取从站设备的页面文件和数据库文件。主站服务器根据已分配的设备标识,在本地otherStation下逐个查找从站设备的页面文件和数据库文件。如果查找到从站设备的页面文件和数据库文件,则主站服务器从本地存储中获取该从站设备的第一校验码,例如CRC(循环冗余校验,Cyclic Redundancy Check)码,发送给从站设备。从站设备接收到该CRC码后,与自身存储的CRC码进行比较。当从站设备中的页面文件和/或数据库文件没有更新时,则CRC码不变;当从站设备中的页面文件和/或数据库文件有更新时,则CRC码也会随之更新,因此,可以通过比较CRC码获知文件是否更新升级。当从站设备中的页面文件和/或数据库文件没有更新时,响应主站服务器未更新反馈,并携带未更新的CRC码;当从站设备中的页面文件和/或数据库文件有更新时,将更新的文件打包发送给主站服务器,并同时携带新的CRC码。主站服务器接 收到从站设备反馈的消息后,校验CRC码,如果不一致,则更新主站服务器中存储的从站文件。之后,主站服务器向调试设备展示从站设备的状态。特殊的,当某个从站设备与主站服务器之间的链路断开时,可通过网络拓扑显示该从站设备的链路异常,以告知用户无法访问该从站设备。In the specific implementation process, after receiving the status display request sent by the debugging device, the master server obtains the page file and database file of the slave device. The master server searches for the page files and database files of the slave devices one by one under the local otherStation according to the assigned device ID. If the page file and database file of the slave device are found, the master server obtains the first check code of the slave device from the local storage, such as a CRC (Cyclic Redundancy Check, Cyclic Redundancy Check) code, and sends it to Slave equipment. After receiving the CRC code, the slave device compares it with the CRC code stored by itself. When the page file and/or database file in the slave device is not updated, the CRC code remains unchanged; when the page file and/or database file in the slave device is updated, the CRC code is also updated accordingly, so , You can know whether the file is updated by comparing the CRC code. When the page file and/or database file in the slave device is not updated, respond to the feedback that the master server is not updated, and carry the CRC code that is not updated; when the page file and/or database file in the slave device is updated, Package the updated file and send it to the master server, and carry the new CRC code at the same time. After receiving the message from the slave device, the master server checks the CRC code, and if it is inconsistent, it updates the slave file stored in the master server. After that, the master server shows the status of the slave device to the debugging device. Specially, when the link between a slave station device and the master server is broken, the link topology of the slave station device can be displayed through the network topology to inform the user that the slave station device cannot be accessed.
对于从站设备的升级,调试设备在网络拓扑上选择对应的从站设备,并通过file控件将升级软件上传到主站服务器。上传完成后,主站服务器的前端向后台发送升级通知和对应的从站设备标识。后台读取调试设备上传的文件,再通过HDLC广播给对应的从站设备,以使从站设备进行软件升级。For the upgrade of the slave device, the debugging device selects the corresponding slave device on the network topology, and uploads the upgrade software to the master server through the file control. After the upload is completed, the front end of the master server sends an upgrade notification and the corresponding slave device identification to the background. Read the file uploaded by the debugging device in the background, and then broadcast it to the corresponding slave device through HDLC, so that the slave device can upgrade the software.
从站设备完成软件升级后,需要执行上述数据更新的步骤,以判断从站设备的页面文件和数据库文件是否有变化,如果有变化,则主站服务器重新获取该从站设备的页面文件和数据库文件。After the slave device completes the software upgrade, the above data update steps need to be performed to determine whether the page file and database file of the slave device have changed. If there is a change, the master server reacquires the page file and database of the slave device file.
对于从站设备的校准,调试设备向主站服务器发送校准请求,校准请求中包括标准频段及标准频段的输入功率。设备校准的具体过程包括以下步骤:For the calibration of the slave device, the debugging device sends a calibration request to the master server, and the calibration request includes the standard frequency band and the input power of the standard frequency band. The specific process of equipment calibration includes the following steps:
主站服务器接收调试设备发送的校准请求,校准请求为调试设备基于第一通信协议向主站服务器发送的;The master server receives the calibration request sent by the debugging device, and the calibration request is sent by the debugging device to the master station server based on the first communication protocol;
主站服务器从本地存储中获取所有从站的频段;The master server obtains the frequency bands of all slaves from local storage;
主站服务器将所有从站的频段与标准频段相匹配,确定与标准频段相符的待校准从站;The master server matches all the frequency bands of the slave stations with the standard frequency bands, and determines the slave stations to be calibrated which are in accordance with the standard frequency band
主站服务器向待校准从站发送校准启动命令,校准启动命令中包含标准频段的输入功率,以使待校准从站依据标准频段的输入功率进行校准。The master server sends a calibration start command to the slave station to be calibrated. The calibration start command includes the input power of the standard frequency band, so that the slave station to be calibrated performs calibration according to the input power of the standard frequency band.
具体实施过程中,用户通过主站服务器对所有从站设备的控制,可以一次性对同一频段的所有从站设备进行校准,使从站设备的目标功率达到用户的要求。从站设备的校准通过调试设备向主站服务器发送一个频段的输入功率,主站服务器从存储中获取所有从站的所有频段,与接收到的校准频段进行匹配,将具有该频道的从站设备作为待校准从站。当启动校准时,主站服务器逐个发 送校准启动命令至待校准从站,以使从站设备进行校准,达到输出的目标功率。这种校准方式简化了校准流程,给从站设备开站和使用提供了便利。In the specific implementation process, the user controls all the slave devices through the master server, and can calibrate all the slave devices in the same frequency band at one time, so that the target power of the slave devices meets the user's requirements. The calibration of the slave device sends the input power of a frequency band to the master server through the debugging device. The master server obtains all the frequency bands of all the slave stations from the storage and matches the received calibration frequency band. The slave device with the channel As a slave to be calibrated. When the calibration is started, the master server sends the calibration start commands to the slave stations to be calibrated one by one, so that the slave devices can be calibrated to reach the output target power. This calibration method simplifies the calibration process and facilitates the opening and use of slave devices.
此外,本申请实施例还可以通过主站服务器对从站设备进行授权,从而控制从站设备开通付费购买的频段。当对从站设备开启授权后,在主站服务器的网络拓扑上将隐藏未开通的频段。In addition, in the embodiment of the present application, the slave station device may be authorized by the master station server to control the slave station device to open a frequency band purchased for purchase. When the authorization of the slave station device is turned on, the unopened frequency band will be hidden on the network topology of the master station server.
为了更清楚地理解本申请,下面以具体实施例对上述流程进行详细描述,实施例一为主从组网创建和用户对从站的访问过程,具体步骤如图3所示,包括:In order to understand this application more clearly, the following process will be described in detail with specific embodiments. Embodiment 1 is a process of creating a master-slave network and user access to a slave station. Specific steps are shown in FIG. 3 and include:
步骤301:调试设备向主站服务器发送扫描请求。Step 301: The debugging device sends a scan request to the master server.
步骤302:主站服务器根据收到的设备扫描请求,向与其连接的所有从站设备发送文件获取请求。Step 302: The master server sends a file acquisition request to all slave devices connected to it according to the received device scan request.
步骤303:从站设备向主站服务器发送页面文件和数据库文件。Step 303: The slave device sends the page file and the database file to the master server.
步骤304:主站服务器接收到从站设备的页面文件和数据库文件后,进行分类存储,并将从站设备的设备标识写入设备管理列表中。Step 304: After receiving the page file and database file of the slave station device, the master server performs classification storage, and writes the device identification of the slave station device into the device management list.
步骤305:主站服务器向调试设备发送扫描请求反馈,通过网络拓扑的方式向调试设备展示整个主从组网系统。Step 305: The master server sends a scan request feedback to the debugging device, and displays the entire master-slave networking system to the debugging device through the network topology.
步骤306:调试设备通过HTTP向主站服务器发送访问请求,该访问请求中包含被访问的从站设备的设备标识。Step 306: The debugging device sends an access request to the master server through HTTP, and the access request includes the device identification of the accessed slave device.
步骤307:主站服务器将访问请求进行格式转换,转换成满足主站从站通信协议的消息。Step 307: The master server converts the format of the access request into a message that satisfies the communication protocol of the master slave.
步骤308:主站服务器将访问请求进行广播,访问请求中包括被访问的从站设备标识。Step 308: The master server broadcasts the access request, and the access request includes the identity of the accessed slave device.
步骤309:从站设备获取访问请求,通过辨识访问请求中携带的从站设备的设备标识,确定为该访问请求的访问对象。Step 309: The slave device obtains the access request, and determines the access object of the access request by identifying the device identifier of the slave device carried in the access request.
步骤310:从站设备向主站服务器发送访问反馈消息,该从站设备为访问请求的访问对象。Step 310: The slave device sends an access feedback message to the master server, and the slave device is the access object of the access request.
步骤311:主站服务器将接收到的访问反馈消息进行格式转换,转换成xml格式或json格式。Step 311: The master server converts the received access feedback message into a xml format or a json format.
步骤312:主站服务器通过HTTP向调试设备发送访问反馈消息。Step 312: The master server sends an access feedback message to the debugging device via HTTP.
实施例二为主站服务器对从站设备进行管理,具体步骤如图4所示,包括:Embodiment 2 The master station server manages the slave station equipment. The specific steps are shown in FIG. 4 and include:
步骤401:调试设备向主站服务器发送设备移除请求,该设备移除请求中包括移除从站设备的设备标识。Step 401: The debugging device sends a device removal request to the master server, where the device removal request includes the device identifier of the slave device.
步骤402:主站服务器根据设备标识,将对应从站设备的文件夹删除,并从设备管理列表中删除该从站设备的设备标识。Step 402: The master server deletes the folder corresponding to the slave device according to the device identifier, and deletes the device identifier of the slave device from the device management list.
步骤403:主站服务器向调试设备发送设备移除反馈。Step 403: The master server sends device removal feedback to the debugging device.
步骤404:调试设备基于HTTP向主站服务器发送状态展示请求。Step 404: The debugging device sends a status display request to the master server based on HTTP.
步骤405:主站服务器从本地存储中获取从站设备的第一CRC码。Step 405: The master server obtains the first CRC code of the slave device from the local storage.
步骤406:主站服务器将从站设备发送状态展示请求,该状态展示请求中包含第一CRC码。Step 406: The master server sends a status display request from the slave device. The status display request includes the first CRC code.
步骤407:从站设备将接收到的第一CRC码与自身存储的第二CRC码进行对比,若两者相同,则执行步骤408,否则执行步骤409。Step 407: The slave device compares the received first CRC code with the second CRC code stored by itself. If the two are the same, step 408 is executed, otherwise step 409 is executed.
步骤408:从站设备向主站服务器发送未更新反馈。Step 408: The slave device sends unupdated feedback to the master server.
步骤409:从站设备向主站服务器发送更新反馈,该更新反馈中包括从站设备更新的页面文件和/或数据库文件。Step 409: The slave device sends update feedback to the master server, and the update feedback includes the updated page file and/or database file of the slave device.
步骤410:主站服务器向调试设备展示从站设备。Step 410: The master server shows the slave device to the debugging device.
本申请实施例还提供了一种通信设备组网的调测装置,如图5所示,包括:An embodiment of the present application also provides a device for commissioning a communication device network, as shown in FIG. 5, including:
接收单元501,用于接收调试设备发送的第一调测请求,所述主站服务器上安装有调测软件,所述第一调测请求为所述调试设备基于第一通信协议向所述主站服务器发送的;The receiving unit 501 is configured to receive a first commissioning request sent by a debugging device, the commissioning software is installed on the server of the master station, and the first commissioning request is that the debugging device sends a request to the master based on the first communication protocol Station server;
发送单元502,用于根据所述第一调测请求,向从站设备发送第二调测请求,所述第二调测请求为所述主站服务器基于与所述从站设备之间的第二通信协议发送的;The sending unit 502 is configured to send a second commissioning request to the slave station device according to the first commissioning request, where the second commissioning request is based on the first request between the master server and the slave station device. Sent by two communication protocols;
所述接收单元501,还用于接收所述从站设备发送的第一反馈消息,所述第一反馈消息为基于所述第二通信协议发送的;The receiving unit 501 is further configured to receive a first feedback message sent by the slave station device, where the first feedback message is sent based on the second communication protocol;
所述发送单元502,还用于向所述调试设备发送第二反馈消息,所述第二反馈消息为基于所述第一通信协议发送的;The sending unit 502 is further configured to send a second feedback message to the debugging device, where the second feedback message is sent based on the first communication protocol;
其中,所述第一通信协议为IP类的通信协议,所述第二通信协议为非IP类的通信协议。Wherein, the first communication protocol is an IP-type communication protocol, and the second communication protocol is a non-IP-type communication protocol.
进一步地,所述第一调测请求为设备扫描请求;Further, the first commissioning request is a device scanning request;
所述发送单元502,还用于向所有从站设备发送文件获取请求;The sending unit 502 is also used to send a file acquisition request to all slave station devices;
所述接收单元501,还用于接收从站设备发送的页面文件和数据库文件;The receiving unit 501 is also used to receive the page file and the database file sent from the station device;
还包括处理单元503,用于将所述从站设备的页面文件和数据库文件进行存储,并将对应的设备标识存储在设备管理列表中;It also includes a processing unit 503 for storing the page file and database file of the slave device, and storing the corresponding device identification in the device management list;
所述发送单元502,还用于向所述调试设备展示所有从站设备。The sending unit 502 is also used to show all slave devices to the debugging device.
进一步地,所述接收单元501,还用于接收所述调试设备发送的设备移除请求;Further, the receiving unit 501 is further configured to receive a device removal request sent by the debugging device;
所述处理单元503,还用于将所述设备移除请求对应的从站设备从所述设备管理列表中删除,并删除所述本地存储中对应的页面文件和数据库文件。The processing unit 503 is further configured to delete the slave device corresponding to the device removal request from the device management list, and delete the corresponding page file and database file in the local storage.
进一步地,所述第一调测请求为状态展示请求;Further, the first commissioning request is a status display request;
所述处理单元503,还用于从本地存储中获取从站设备的第一校验码;The processing unit 503 is also used to obtain the first verification code of the slave device from the local storage;
所述发送单元502,还用于向所述从站设备发送所述第二调测请求,所述第二调测请求中包含所述第一校验码;The sending unit 502 is further configured to send the second commissioning request to the slave station device, where the second commissioning request includes the first verification code;
所述接收单元501,还用于接收所述从站设备发送的未更新反馈,所述未更新反馈为所述从站设备确定所述第一校验码与所述从站设备中存储的第二校验码相同时发送的;或者接收所述从站设备发送的更新反馈,所述更新反馈中包括所述从站设备更新的页面文件和/或数据库文件,所述更新反馈为所述从站设备确定所述第一校验码与所述从站设备中存储的第二校验码不相同时发送的;The receiving unit 501 is further configured to receive unupdated feedback sent by the slave station device, where the unupdated feedback determines the first check code and the first stored in the slave station device by the slave station device. Sent when the two check codes are the same; or receiving update feedback sent by the slave device, where the update feedback includes the page file and/or database file updated by the slave device, and the update feedback is the slave The station device determines that the first check code is different from the second check code stored in the slave device;
所述发送单元502,还用于根据所述第一反馈消息向所述调试设备展示所述从站设备。The sending unit 502 is further configured to show the slave device to the debugging device according to the first feedback message.
进一步地,所述第一调测请求为访问请求;Further, the first commissioning request is an access request;
所述处理单元503,还用于将所述访问请求进行格式转换,以使所述访问请求符合所述第二通信协议的格式;The processing unit 503 is further configured to convert the format of the access request so that the access request conforms to the format of the second communication protocol;
所述发送单元502,还用于将所述访问请求进行广播,所述访问请求中包括访问的从站设备标识;The sending unit 502 is further configured to broadcast the access request, where the access request includes the identity of the accessed slave device;
所述接收单元501,还用于接收所述从站设备发送的访问反馈消息,所述访问反馈消息为所述从站设备根据接收到的所述访问请求确定与所述从站设备标识相匹配后向所述主站服务器发送的应答消息;The receiving unit 501 is further configured to receive an access feedback message sent by the slave station device, where the access feedback message determines that the slave station device matches the identifier of the slave station device according to the received access request Response message sent to the master station server later;
所述处理单元503,还用于将所述访问反馈消息进行格式转换,以使所述访问反馈消息符合所述第一通信协议的格式;The processing unit 503 is further configured to convert the format of the access feedback message so that the access feedback message conforms to the format of the first communication protocol;
所述发送单元502,还用于向所述调试设备发送所述访问反馈消息。The sending unit 502 is further configured to send the access feedback message to the debugging device.
进一步地,所述第一调测请求为校准请求,所述校准请求中包括标准频段及所述标准频段的输入功率;Further, the first commissioning request is a calibration request, and the calibration request includes a standard frequency band and input power of the standard frequency band;
所述处理单元503,还用于从本地存储中获取所有从站的频段;将所有从站的频段与所述标准频段相匹配,确定与所述标准频段相符的待校准从站;The processing unit 503 is also used to obtain the frequency bands of all the slave stations from local storage; match the frequency bands of all the slave stations with the standard frequency band, and determine the slave station to be calibrated that matches the standard frequency band;
所述发送单元502,还用于向所述待校准从站发送校准启动命令,所述校准启动命令中包含所述标准频段的输入功率,以使所述待校准从站依据所述标准频段的输入功率进行校准。The sending unit 502 is further configured to send a calibration start command to the slave station to be calibrated, where the calibration start command includes the input power of the standard frequency band, so that the slave station to be calibrated according to the standard frequency band Input power for calibration.
基于相同的原理,本申请还提供一种电子设备,如图6所示,包括Based on the same principle, this application also provides an electronic device, as shown in FIG. 6, including
包括处理器601、存储器602、收发机603、总线接口604,其中处理器601、存储器602与收发机603之间通过总线接口604连接;It includes a processor 601, a memory 602, a transceiver 603, and a bus interface 604, where the processor 601, the memory 602, and the transceiver 603 are connected through a bus interface 604;
所述处理器601,用于读取所述存储器602中的程序,执行下列方法:The processor 601 is configured to read the program in the memory 602 and execute the following methods:
接收调试设备发送的第一调测请求,所述主站服务器上安装有调测软件,所述第一调测请求为所述调试设备基于第一通信协议向所述主站服务器发送 的;Receiving a first commissioning request sent by a debugging device, the commissioning software is installed on the master station server, and the first commissioning request is sent by the debugging device to the master station server based on a first communication protocol;
根据所述第一调测请求,向从站设备发送第二调测请求,所述第二调测请求为所述主站服务器基于与所述从站设备之间的第二通信协议发送的;Sending a second commissioning request to the slave station device according to the first commissioning request, where the second commissioning request is sent by the master server based on a second communication protocol with the slave station device;
接收所述从站设备发送的第一反馈消息,所述第一反馈消息为基于所述第二通信协议发送的;Receiving a first feedback message sent by the slave station device, where the first feedback message is sent based on the second communication protocol;
向所述调试设备发送第二反馈消息,所述第二反馈消息为基于所述第一通信协议发送的;Sending a second feedback message to the debugging device, where the second feedback message is sent based on the first communication protocol;
其中,所述第一通信协议为IP类的通信协议,所述第二通信协议为非IP类的通信协议。Wherein, the first communication protocol is an IP-type communication protocol, and the second communication protocol is a non-IP-type communication protocol.

Claims (14)

  1. 一种通信设备组网的调测方法,包括:A commissioning method for communication equipment networking, including:
    主站服务器接收调试设备发送的第一调测请求,所述主站服务器上安装有调测软件,所述第一调测请求为所述调试设备基于第一通信协议向所述主站服务器发送的;The master station server receives the first commissioning request sent by the debugging device, the commissioning software is installed on the master station server, and the first commissioning request is sent by the debugging device to the master station server based on the first communication protocol of;
    所述主站服务器根据所述第一调测请求,向从站设备发送第二调测请求,所述第二调测请求为所述主站服务器基于与所述从站设备之间的第二通信协议发送的;The master station server sends a second commissioning request to the slave station device according to the first commissioning request, the second commissioning request is based on the second between the master server and the slave station device. Sent by communication protocol;
    所述主站服务器接收所述从站设备发送的第一反馈消息,所述第一反馈消息为基于所述第二通信协议发送的;The master server receives the first feedback message sent by the slave device, and the first feedback message is sent based on the second communication protocol;
    所述主站服务器向所述调试设备发送第二反馈消息,所述第二反馈消息为基于所述第一通信协议发送的;The master server sends a second feedback message to the debugging device, and the second feedback message is sent based on the first communication protocol;
    其中,所述第一通信协议为IP类的通信协议,所述第二通信协议为非IP类的通信协议。Wherein, the first communication protocol is an IP-type communication protocol, and the second communication protocol is a non-IP-type communication protocol.
  2. 如权利要求1所述的方法,其特征在于,所述第一调测请求为设备扫描请求;The method according to claim 1, wherein the first commissioning request is a device scan request;
    所述主站服务器根据所述第一调测请求,向从站设备发送第二调测请求,包括:The master station server sends a second commissioning request to the slave device according to the first commissioning request, including:
    所述主站服务器向所有从站设备发送文件获取请求;The master server sends a file acquisition request to all slave devices;
    所述主站服务器接收所述从站设备发送的第一反馈消息,包括:The receiving of the first feedback message sent by the slave station device by the master station server includes:
    所述主站服务器接收从站设备发送的页面文件和数据库文件;The master server receives the page file and database file sent from the slave device;
    所述主站服务器接收所述从站设备发送的第一反馈消息之后,所述主站服务器向所述调试设备发送第二反馈消息之前,还包括:After the master server receives the first feedback message sent by the slave device, before the master server sends the second feedback message to the debugging device, the method further includes:
    所述主站服务器将所述从站设备的页面文件和数据库文件进行存储,并将对应的设备标识存储在设备管理列表中;The master server stores the page file and database file of the slave device, and stores the corresponding device identifier in the device management list;
    所述主站服务器向所述调试设备发送第二反馈消息,包括:The master server sends a second feedback message to the debugging device, including:
    所述主站服务器向所述调试设备展示所有从站设备。The master server shows all slave devices to the debugging device.
  3. 如权利要求2所述的方法,其特征在于,还包括:The method of claim 2, further comprising:
    所述主站服务器接收所述调试设备发送的设备移除请求;The master server receives a device removal request sent by the debugging device;
    所述主站服务器将所述设备移除请求对应的从站设备从所述设备管理列表中删除,并删除所述本地存储中对应的页面文件和数据库文件。The master server deletes the slave device corresponding to the device removal request from the device management list, and deletes the corresponding page file and database file in the local storage.
  4. 如权利要求1所述的方法,其特征在于,所述第一调测请求为状态展示请求;The method according to claim 1, wherein the first commissioning request is a status display request;
    所述主站服务器根据所述第一调测请求,向从站设备发送第二调测请求之前,还包括:Before sending the second commissioning request to the slave station device according to the first commissioning request, the master station server further includes:
    所述主站服务器从本地存储中获取从站设备的第一校验码;The master server acquires the first verification code of the slave device from local storage;
    所述主站服务器向从站设备发送第二调测请求,包括:The master server sending a second commissioning request to the slave device includes:
    所述主站服务器向所述从站设备发送所述第二调测请求,所述第二调测请求中包含所述第一校验码;The master station server sends the second commissioning request to the slave station device, where the second commissioning request includes the first verification code;
    所述主站服务器接收所述从站设备发送的第一反馈消息,包括:The receiving of the first feedback message sent by the slave station device by the master station server includes:
    所述主站服务器接收所述从站设备发送的未更新反馈,所述未更新反馈为所述从站设备确定所述第一校验码与所述从站设备中存储的第二校验码相同时发送的;或者The master server receives unupdated feedback sent by the slave device, the unupdated feedback determines the first check code and the second check code stored in the slave device for the slave device Sent at the same time; or
    所述主站服务器接收所述从站设备发送的更新反馈,所述更新反馈中包括所述从站设备更新的页面文件和/或数据库文件,所述更新反馈为所述从站设备确定所述第一校验码与所述从站设备中存储的第二校验码不相同时发送的;The master server receives update feedback sent by the slave device, the update feedback includes a page file and/or database file updated by the slave device, and the update feedback determines that the slave device Sent when the first check code is different from the second check code stored in the slave station device;
    所述主站服务器向所述调试设备发送第二反馈消息,包括:The master server sending a second feedback message to the debugging device includes:
    所述主站服务器根据所述第一反馈消息向所述调试设备展示所述从站设备。The master station server displays the slave station device to the debugging device according to the first feedback message.
  5. 如权利要求1所述的方法,其特征在于,所述第一调测请求为访问请求;The method of claim 1, wherein the first commissioning request is an access request;
    所述主站服务器根据所述第一调测请求,向从站设备发送第二调测请求, 包括:The master station server sending a second commissioning request to the slave station device according to the first commissioning request includes:
    所述主站服务器将所述访问请求进行格式转换,以使所述访问请求符合所述第二通信协议的格式;The master server performs format conversion of the access request so that the access request conforms to the format of the second communication protocol;
    所述主站服务器将所述访问请求进行广播,所述访问请求中包括访问的从站设备标识;The master server broadcasts the access request, and the access request includes the identifier of the accessed slave device;
    所述主站服务器接收所述从站设备发送的第一反馈消息,包括:The receiving of the first feedback message sent by the slave station device by the master station server includes:
    所述主站服务器接收所述从站设备发送的访问反馈消息,所述访问反馈消息为所述从站设备根据接收到的所述访问请求确定与所述从站设备标识相匹配后向所述主站服务器发送的应答消息;The master station server receives an access feedback message sent by the slave station device, where the access feedback message is determined by the slave station device according to the received access request and after matching with the identifier of the slave station device. The response message sent by the master server;
    所述主站服务器向所述调试设备发送第二反馈消息,还包括:The master station server sends a second feedback message to the debugging device, further including:
    所述主站服务器将所述访问反馈消息进行格式转换,以使所述访问反馈消息符合所述第一通信协议的格式;The master server converts the format of the access feedback message so that the access feedback message conforms to the format of the first communication protocol;
    所述主站服务器向所述调试设备发送所述访问反馈消息。The master server sends the access feedback message to the debugging device.
  6. 如权利要求1所述的方法,其特征在于,所述第一调测请求为校准请求,所述校准请求中包括标准频段及所述标准频段的输入功率;The method according to claim 1, wherein the first commissioning request is a calibration request, and the calibration request includes a standard frequency band and input power of the standard frequency band;
    所述主站服务器根据所述第一调测请求,向从站设备发送第二调测请求之前,还包括:Before sending the second commissioning request to the slave station device according to the first commissioning request, the master station server further includes:
    所述主站服务器从本地存储中获取所有从站的频段;The master station server obtains the frequency bands of all slave stations from local storage;
    所述主站服务器将所有从站的频段与所述标准频段相匹配,确定与所述标准频段相符的待校准从站;The master station server matches the frequency bands of all the slave stations with the standard frequency band, and determines the slave station to be calibrated that matches the standard frequency band;
    所述主站服务器根据所述第一调测请求,向从站设备发送第二调测请求,包括:The master station server sends a second commissioning request to the slave device according to the first commissioning request, including:
    所述主站服务器向所述待校准从站发送校准启动命令,所述校准启动命令中包含所述标准频段的输入功率,以使所述待校准从站依据所述标准频段的输入功率进行校准。The master server sends a calibration start command to the slave station to be calibrated, the calibration start command includes the input power of the standard frequency band, so that the slave station to be calibrated performs calibration according to the input power of the standard frequency band .
  7. 一种通信设备组网的调测装置,包括:A commissioning device for communication equipment networking, including:
    接收单元,用于接收调试设备发送的第一调测请求,所述主站服务器上安装有调测软件,所述第一调测请求为所述调试设备基于第一通信协议向所述主站服务器发送的;A receiving unit, configured to receive a first commissioning request sent by a debugging device, the commissioning software is installed on the server of the master station, and the first commissioning request is that the debugging device sends the commissioning device to the master station based on a first communication protocol Sent by the server;
    发送单元,用于根据所述第一调测请求,向从站设备发送第二调测请求,所述第二调测请求为所述主站服务器基于与所述从站设备之间的第二通信协议发送的;A sending unit, configured to send a second commissioning request to the slave station device according to the first commissioning request, where the second commissioning request is based on the second between the master server and the slave station device Sent by communication protocol;
    所述接收单元,还用于接收所述从站设备发送的第一反馈消息,所述第一反馈消息为基于所述第二通信协议发送的;The receiving unit is further configured to receive a first feedback message sent by the slave station device, where the first feedback message is sent based on the second communication protocol;
    所述发送单元,还用于向所述调试设备发送第二反馈消息,所述第二反馈消息为基于所述第一通信协议发送的;The sending unit is further configured to send a second feedback message to the debugging device, where the second feedback message is sent based on the first communication protocol;
    其中,所述第一通信协议为IP类的通信协议,所述第二通信协议为非IP类的通信协议。Wherein, the first communication protocol is an IP-type communication protocol, and the second communication protocol is a non-IP-type communication protocol.
  8. 如权利要求7所述的装置,其特征在于,所述第一调测请求为设备扫描请求;The apparatus according to claim 7, wherein the first commissioning request is a device scanning request;
    所述发送单元,还用于向所有从站设备发送文件获取请求;The sending unit is also used to send a file acquisition request to all slave station devices;
    所述接收单元,还用于接收从站设备发送的页面文件和数据库文件;The receiving unit is also used to receive the page file and database file sent from the station device;
    还包括处理单元,用于将所述从站设备的页面文件和数据库文件进行存储,并将对应的设备标识存储在设备管理列表中;It also includes a processing unit for storing the page file and database file of the slave device, and storing the corresponding device identification in the device management list;
    所述发送单元,还用于向所述调试设备展示所有从站设备。The sending unit is also used to show all slave devices to the debugging device.
  9. 如权利要求8所述的装置,其特征在于,The device of claim 8, wherein
    所述接收单元,还用于接收所述调试设备发送的设备移除请求;The receiving unit is further configured to receive a device removal request sent by the debugging device;
    所述处理单元,还用于将所述设备移除请求对应的从站设备从所述设备管理列表中删除,并删除所述本地存储中对应的页面文件和数据库文件。The processing unit is further configured to delete the slave device corresponding to the device removal request from the device management list, and delete the corresponding page file and database file in the local storage.
  10. 如权利要求7所述的装置,其特征在于,所述第一调测请求为状态展示请求;The apparatus according to claim 7, wherein the first commissioning request is a status display request;
    所述处理单元,还用于从本地存储中获取从站设备的第一校验码;The processing unit is also used to obtain the first verification code of the slave device from the local storage;
    所述发送单元,还用于向所述从站设备发送所述第二调测请求,所述第二调测请求中包含所述第一校验码;The sending unit is further configured to send the second commissioning request to the slave station device, where the second commissioning request includes the first verification code;
    所述接收单元,还用于接收所述从站设备发送的未更新反馈,所述未更新反馈为所述从站设备确定所述第一校验码与所述从站设备中存储的第二校验码相同时发送的;或者接收所述从站设备发送的更新反馈,所述更新反馈中包括所述从站设备更新的页面文件和/或数据库文件,所述更新反馈为所述从站设备确定所述第一校验码与所述从站设备中存储的第二校验码不相同时发送的;The receiving unit is further configured to receive unupdated feedback sent by the slave station device, where the unupdated feedback determines the first check code and the second stored in the slave station device for the slave station device Sent when the check codes are the same; or receiving update feedback sent by the slave device, where the update feedback includes the page file and/or database file updated by the slave device, and the update feedback is the slave When the device determines that the first check code is different from the second check code stored in the slave device;
    所述发送单元,还用于根据所述第一反馈消息向所述调试设备展示所述从站设备。The sending unit is further configured to show the slave station device to the debugging device according to the first feedback message.
  11. 如权利要求7所述的装置,其特征在于,所述第一调测请求为访问请求;The apparatus according to claim 7, wherein the first commissioning request is an access request;
    所述处理单元,还用于将所述访问请求进行格式转换,以使所述访问请求符合所述第二通信协议的格式;The processing unit is further configured to convert the format of the access request so that the access request conforms to the format of the second communication protocol;
    所述发送单元,还用于将所述访问请求进行广播,所述访问请求中包括访问的从站设备标识;The sending unit is further configured to broadcast the access request, where the access request includes the identity of the accessed slave device;
    所述接收单元,还用于接收所述从站设备发送的访问反馈消息,所述访问反馈消息为所述从站设备根据接收到的所述访问请求确定与所述从站设备标识相匹配后向所述主站服务器发送的应答消息;The receiving unit is further configured to receive an access feedback message sent by the slave station device, where the access feedback message is determined by the slave station device to match the identifier of the slave station device according to the received access request A response message sent to the master server;
    所述处理单元,还用于将所述访问反馈消息进行格式转换,以使所述访问反馈消息符合所述第一通信协议的格式;The processing unit is further configured to convert the format of the access feedback message so that the access feedback message conforms to the format of the first communication protocol;
    所述发送单元,还用于向所述调试设备发送所述访问反馈消息。The sending unit is further configured to send the access feedback message to the debugging device.
  12. 如权利要求7所述的装置,其特征在于,所述第一调测请求为校准请求,所述校准请求中包括标准频段及所述标准频段的输入功率;The apparatus according to claim 7, wherein the first commissioning request is a calibration request, and the calibration request includes a standard frequency band and input power of the standard frequency band;
    所述处理单元,还用于从本地存储中获取所有从站的频段;将所有从站的频段与所述标准频段相匹配,确定与所述标准频段相符的待校准从站;The processing unit is also used to obtain the frequency bands of all the slave stations from local storage; match the frequency bands of all the slave stations with the standard frequency bands, and determine the slave stations to be calibrated corresponding to the standard frequency bands;
    所述发送单元,还用于向所述待校准从站发送校准启动命令,所述校准启 动命令中包含所述标准频段的输入功率,以使所述待校准从站依据所述标准频段的输入功率进行校准。The sending unit is further configured to send a calibration start command to the slave station to be calibrated, the calibration start command including the input power of the standard frequency band, so that the slave station to be calibrated according to the input of the standard frequency band Power calibration.
  13. 一种电子设备,包括:An electronic device, including:
    至少一个处理器;以及,At least one processor; and,
    与所述至少一个处理器通信连接的存储器;其中,A memory communicatively connected to the at least one processor; wherein,
    所述存储器存储有可被所述至少一个处理器执行的指令,所述指令被所述至少一个处理器执行,以使所述至少一个处理器能够执行权利要求1-6任一所述的方法。The memory stores instructions executable by the at least one processor, the instructions being executed by the at least one processor to enable the at least one processor to perform the method of any one of claims 1-6 .
  14. 一种非暂态计算机可读存储介质,所述非暂态计算机可读存储介质存储计算机指令,所述计算机指令用于使所述计算机执行权利要求1~6任一所述方法。A non-transitory computer-readable storage medium, the non-transitory computer-readable storage medium stores computer instructions, and the computer instructions are used to cause the computer to perform the method according to any one of claims 1 to 6.
PCT/CN2019/124659 2018-12-14 2019-12-11 Adjusting and testing method and apparatus for communication device networking WO2020119732A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201811536421.0 2018-12-14
CN201811536421.0A CN109347706A (en) 2018-12-14 2018-12-14 A kind of adjusting, measuring method and device of communication equipment networking

Publications (1)

Publication Number Publication Date
WO2020119732A1 true WO2020119732A1 (en) 2020-06-18

Family

ID=65304018

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/124659 WO2020119732A1 (en) 2018-12-14 2019-12-11 Adjusting and testing method and apparatus for communication device networking

Country Status (2)

Country Link
CN (1) CN109347706A (en)
WO (1) WO2020119732A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109347706A (en) * 2018-12-14 2019-02-15 京信通信系统(中国)有限公司 A kind of adjusting, measuring method and device of communication equipment networking
CN114040427B (en) * 2021-10-28 2023-07-07 中国联合网络通信集团有限公司 Adjustment and measurement method, device, equipment and system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105259853A (en) * 2015-11-09 2016-01-20 无锡华东电站自动化仪表厂 A redundant on-site bus I/O control device
CN107453954A (en) * 2017-08-31 2017-12-08 深圳市汇川控制技术有限公司 A kind of Networked E-Journals method, system and equipment
US20170373879A1 (en) * 2016-06-23 2017-12-28 Kyland Technology Co.,Ltd. Method for implementing an industry internet field broadband bus
CN109347706A (en) * 2018-12-14 2019-02-15 京信通信系统(中国)有限公司 A kind of adjusting, measuring method and device of communication equipment networking

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100495987C (en) * 2005-08-05 2009-06-03 英业达股份有限公司 Method and system for network equipment testing
US10284456B2 (en) * 2016-11-10 2019-05-07 Contec, Llc Systems and methods for testing electronic devices using master-slave test architectures
CN107342789B (en) * 2017-06-20 2020-11-06 重庆渝丰电线电缆有限公司 Networking communication method of cable anti-theft monitoring system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105259853A (en) * 2015-11-09 2016-01-20 无锡华东电站自动化仪表厂 A redundant on-site bus I/O control device
US20170373879A1 (en) * 2016-06-23 2017-12-28 Kyland Technology Co.,Ltd. Method for implementing an industry internet field broadband bus
CN107453954A (en) * 2017-08-31 2017-12-08 深圳市汇川控制技术有限公司 A kind of Networked E-Journals method, system and equipment
CN109347706A (en) * 2018-12-14 2019-02-15 京信通信系统(中国)有限公司 A kind of adjusting, measuring method and device of communication equipment networking

Also Published As

Publication number Publication date
CN109347706A (en) 2019-02-15

Similar Documents

Publication Publication Date Title
US9021462B2 (en) Systems and methods for provisioning equipment
US20210211503A1 (en) Systems and methods for remote management of appliances
US10972362B2 (en) Network service configuration method and network management device
CN108563579B (en) White box testing method, device and system and storage medium
CN109284140B (en) Configuration method and related equipment
CN104714817A (en) Method, system and control terminal for upgrading household appliance software through infrared signal
WO2020119732A1 (en) Adjusting and testing method and apparatus for communication device networking
CN113572689A (en) Microservice gateway management method, system, device, readable storage medium and product
CN109391673A (en) A kind of method, system and the terminal device of management update file
WO2015131682A1 (en) Version updating method and system, and base station and computer storage medium
CN111683066A (en) Heterogeneous system integration method and device, computer equipment and storage medium
WO2022142153A1 (en) Electricity meter upgrading method and system, smart meter, and storage medium
US9542837B2 (en) Ulifecare management service method and device using adaptive control protocol for USN interface
CN114090033A (en) OTA (over the air) upgrading method and device, electronic equipment and readable medium
CN115525302B (en) Deployment method and device for large-scale digital object warehouse cluster
WO2017045345A1 (en) Resource management method and apparatus, and multi-mode soft base station unified network management
CN110198533B (en) Method for remotely controlling BLE Bluetooth device and BLE Bluetooth device
US10061908B2 (en) Program editing device, program management device, and computer readable medium
CN115129574A (en) Code testing method and device
JP6042243B2 (en) Monitoring system, monitoring server, and monitoring method
CN111461718A (en) Access method, device and system of block chain node
WO2022257927A1 (en) Key burning method and apparatus, electronic device board card, and storage medium
US20220173964A1 (en) System and method for setting information on wireless communication
CN102385514B (en) Method, equipment and system for conducting management operation on software in centralized way
CN111225099B (en) Terminal test method, server, test equipment and storage medium

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 19896366

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 19896366

Country of ref document: EP

Kind code of ref document: A1

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 29/10/2021)

122 Ep: pct application non-entry in european phase

Ref document number: 19896366

Country of ref document: EP

Kind code of ref document: A1