A kind of adjusting, measuring method and device of communication equipment networking
Technical field
The present invention relates to field of communication technology more particularly to a kind of adjusting, measuring methods and device of communication equipment networking.
Background technique
In the communication equipment of simulation, the star-like networking requirement debugging software of master-slave mode can carry out the equipment of entire networking
Access, realization are managed concentratedly and are monitored to the communication equipment in whole network, concentrated and open station, concentrate authorization, obtained in real time
The state of equipment in networking.
It is logical between main website and slave station since in artificial traffic equipment, the equipment of main website and other websites does not have IPization
Believe the mode communicated using non-IP.In this case, networking is carried out needing installation and lineup software on the user terminal of commissioning,
User's local data is configured, then achievees the purpose that the whole net of access by communicate with main website.Therefore, the commissioning stream of the prior art
Journey is complex for user experience, inefficiency.
Summary of the invention
The application provides the adjusting, measuring method and device of a kind of communication equipment networking, to simplify user's operation process, improves
User experience.
A kind of adjusting, measuring method of communication equipment networking provided in an embodiment of the present invention, comprising:
Main website server receives the first commissioning request that commissioning device is sent, and it is soft to be equipped with commissioning in the main website server
Part, the first commissioning request is what the commissioning device was sent based on the first communication protocol to the main website server;
The main website server is requested according to first commissioning, sends the request of the second commissioning to slave station equipment, and described the
The request of two commissionings is that the main website server is sent based on the second communication protocol between the slave station equipment;
The main website server receives the first feedback message that the slave station equipment is sent, and first feedback message is base
It is sent in second communication protocol;
The main website server sends the second feedback message to the commissioning device, and second feedback message is based on institute
State the transmission of the first communication protocol;
Wherein, first communication protocol is the communication protocol of IP class, and second communication protocol is the communication of non-IP class
Agreement.
In a kind of optional embodiment, the first commissioning request is equipment scan request;
The main website server is requested according to first commissioning, sends the request of the second commissioning to slave station equipment, comprising:
The main website server sends file acquisition request to all slave station equipments;
The main website server receives the first feedback message that the slave station equipment is sent, comprising:
The main website server receives the page file and database file that slave station equipment is sent;
After the main website server receives the first feedback message that the slave station equipment is sent, the main website server to
The commissioning device is sent before the second feedback message, further includes:
The main website server stores the page file of the slave station equipment and database file, and will be corresponding
Device identification is stored in equipment management list;
The main website server sends the second feedback message to the commissioning device, comprising:
The main website server shows all slave station equipments to the commissioning device.
In a kind of optional embodiment, further includes:
The main website server receives the equipment that the commissioning device is sent and removes request;
The main website server, which removes the equipment, requests corresponding slave station equipment to be deleted from the equipment management list
Remove, and delete described in be locally stored in corresponding page file and database file.
In a kind of optional embodiment, the first commissioning request is that state shows request;
The main website server is requested according to first commissioning, before sending the request of the second commissioning to slave station equipment, also
Include:
The main website server from be locally stored it is middle obtain slave station equipment the first check code;
The main website server sends the request of the second commissioning to slave station equipment, comprising:
The main website server sends the second commissioning request to the slave station equipment, wraps in the second commissioning request
Containing first check code;
The main website server receives the first feedback message that the slave station equipment is sent, comprising:
Feedback that the main website server received that the slave station equipment sends do not update, it is described do not update be fed back to described in from
Station equipment, which determines, to be sent when the second check code stored in first check code and the slave station equipment is identical;Or
The main website server receives the update feedback that the slave station equipment is sent, include in the updates feedback described in from
The page file and/or database file that station equipment updates, the update are fed back to the slave station equipment and determine first school
Test the second check code for being stored in code and the slave station equipment it is not identical when send;
The main website server sends the second feedback message to the commissioning device, comprising:
The main website server shows the slave station equipment to the commissioning device according to first feedback message.
In a kind of optional embodiment, the first commissioning request is access request;
The main website server is requested according to first commissioning, sends the request of the second commissioning to slave station equipment, comprising:
The main website server formats the access request, so that the access request meets described second
The format of communication protocol;
The main website server broadcasts the access request, includes the slave station equipment of access in the access request
Mark;
The main website server receives the first feedback message that the slave station equipment is sent, comprising:
The main website server receives the access feedback message that the slave station equipment is sent, and the access feedback message is institute
It states after slave station equipment matches according to the access request received is determining with slave station equipment mark and is taken to the main website
The response message that business device is sent;
The main website server sends the second feedback message to the commissioning device, further includes:
The main website server formats the access feedback message, so that the access feedback message meets
The format of first communication protocol;
The main website server sends the access feedback message to the commissioning device.
In a kind of optional embodiment, the first commissioning request is calibration request, includes standard in the calibration request
The input power of frequency range and the standard bands;
The main website server is requested according to first commissioning, before sending the request of the second commissioning to slave station equipment, also
Include:
The main website server is from being locally stored the middle frequency range for obtaining all slave stations;
The main website server matches the frequency range of all slave stations and the standard bands, the determining and standard bands
The slave station to be calibrated being consistent;
The main website server is requested according to first commissioning, sends the request of the second commissioning to slave station equipment, comprising:
The main website server sends calibration start command to the slave station to be calibrated, includes in the calibration start command
The input power of the standard bands, so that the slave station to be calibrated is calibrated according to the input power of the standard bands.
The embodiment of the present invention also provides a kind of device for adjusting and measuring of communication equipment networking, comprising:
Receiving unit is equipped with tune in the main website server for receiving the first commissioning request of commissioning device transmission
Software is surveyed, the first commissioning request is what the commissioning device was sent based on the first communication protocol to the main website server;
Transmission unit sends the second commissioning to slave station equipment and requests for being requested according to first commissioning, and described second
Commissioning request is that the main website server is sent based on the second communication protocol between the slave station equipment;
The receiving unit, is also used to receive the first feedback message that the slave station equipment is sent, and first feedback disappears
Breath is to be sent based on second communication protocol;
The transmission unit is also used to send the second feedback message to the commissioning device, and second feedback message is
It is sent based on first communication protocol;
Wherein, first communication protocol is the communication protocol of IP class, and second communication protocol is the communication of non-IP class
Agreement.
In a kind of optional embodiment, the first commissioning request is equipment scan request;
The transmission unit is also used to send file acquisition request to all slave station equipments;
The receiving unit is also used to receive the page file and database file of slave station equipment transmission;
It further include processing unit, for the page file of the slave station equipment and database file to be stored, and will
Corresponding device identification is stored in equipment management list;
The transmission unit is also used to show all slave station equipments to the commissioning device.
In a kind of optional embodiment, the receiving unit is also used to receive the equipment that the commissioning device is sent and removes
Request;
The processing unit is also used to remove the equipment and requests corresponding slave station equipment from the equipment management list
Middle deletion, and delete described in be locally stored in corresponding page file and database file.
In a kind of optional embodiment, the first commissioning request is that state shows request;
The processing unit is also used to from the first check code that middle acquisition slave station equipment is locally stored;
The transmission unit is also used to send the second commissioning request to the slave station equipment, and second commissioning is asked
It include first check code in asking;
The receiving unit, be also used to receive the slave station equipment transmission does not update feedback, and described do not update is fed back to
The slave station equipment, which determines, to be sent when the second check code stored in first check code and the slave station equipment is identical;Or
Person receives the update feedback that the slave station equipment is sent, described to update the page file updated in feedback including the slave station equipment
And/or database file, the update are fed back to the slave station equipment and determine in first check code and the slave station equipment
What the second check code of storage was sent when not identical;
The transmission unit is also used to show that the slave station is set to the commissioning device according to first feedback message
It is standby.
In a kind of optional embodiment, the first commissioning request is access request;
The processing unit is also used to format the access request, so that the access request meets institute
State the format of the second communication protocol;
The transmission unit is also used to broadcast the access request, in the access request include access from
Station equipment mark;
The receiving unit, is also used to receive the access feedback message that the slave station equipment is sent, and the access feedback disappears
Breath is after the slave station equipment matches according to the access request received is determining with slave station equipment mark to described
The response message that main website server is sent;
The processing unit is also used to format the access feedback message, so that access feedback disappears
Breath meets the format of first communication protocol;
The transmission unit is also used to send the access feedback message to the commissioning device.
In a kind of optional embodiment, the first commissioning request is calibration request, includes standard in the calibration request
The input power of frequency range and the standard bands;
The processing unit is also used to from the frequency range that middle all slave stations of acquisition are locally stored;By the frequency range of all slave stations with
The standard bands match, and determine the slave station to be calibrated being consistent with the standard bands;
The transmission unit is also used to send calibration start command, the calibration start command to the slave station to be calibrated
In include the standard bands input power so that the slave station to be calibrated according to the standard bands input power carry out
Calibration.
The embodiment of the present invention also provides a kind of electronic equipment, comprising:
At least one processor;And
The memory being connect at least one described processor communication;Wherein,
The memory is stored with the instruction that can be executed by least one described processor, and described instruction is by described at least one
A processor executes, so that at least one described processor is able to carry out method as described above.
The embodiment of the present invention also provides a kind of non-transient computer readable storage medium, and the non-transient computer is readable to deposit
Storage media stores computer instruction, and the computer instruction is for making the computer execute method as described above.
In the embodiment of the present invention, the installation and lineup software in main website server, between commissioning device and main website server
Communication protocol is the first communication protocol, and the communication protocol between main website server and slave station equipment is the second communication protocol, wherein
First communication protocol is the communication protocol of IP class, and the second communication protocol is the communication protocol of non-IP class.User passes through commissioning device
The request of the first commissioning is sent to main website server, main website server is requested according to the first commissioning, to the slave station equipment being attached thereto
The request of the second commissioning is sent, after slave station equipment handles the second commissioning request, sends the first feedback message to main website server, it is main
Site server sends the second feedback message to commissioning device again, wherein the request of the first commissioning and the transmission of the second feedback message accord with
The first communication protocol is closed, the request of the second commissioning and the transmission of the first feedback message meet the second communication protocol.Therefore, the present invention is real
It applies in example, in main website deployment services device, and the installation and lineup software in main website server, yet by second between main website and slave station
Communication protocol communication, and by the first communication protocol communication between commissioning device and main website, in this way without pacifying on commissioning device
Software is surveyed in adjustment, can be carried out the commissioning of the whole network by main website server with different commissioning devices, be simplified the processing of user
Process improves user experience.
Detailed description of the invention
To describe the technical solutions in the embodiments of the present invention more clearly, make required in being described below to embodiment
Attached drawing is briefly introduced, it should be apparent that, drawings in the following description are only some embodiments of the invention, for this
For the those of ordinary skill in field, without any creative labor, it can also be obtained according to these attached drawings
His attached drawing.
A kind of schematic diagram for possible system architecture that Fig. 1 is applicable in by the embodiment of the present invention;
Fig. 2 is a kind of flow diagram of the adjusting, measuring method of communication equipment networking provided in an embodiment of the present invention;
Fig. 3 is the flow diagram of the adjusting, measuring method for the communication equipment networking that the embodiment of the present invention one provides;
Fig. 4 is the flow diagram of the adjusting, measuring method of communication equipment networking provided by Embodiment 2 of the present invention;
Fig. 5 is a kind of structural schematic diagram of the device for adjusting and measuring of communication equipment networking provided in an embodiment of the present invention;
Fig. 6 is the structural schematic diagram of electronic equipment provided in an embodiment of the present invention.
Specific embodiment
To make the objectives, technical solutions, and advantages of the present invention clearer, below in conjunction with attached drawing to the present invention make into
It is described in detail to one step, it is clear that the described embodiments are only some of the embodiments of the present invention, rather than whole implementation
Example.Based on the embodiments of the present invention, obtained by those of ordinary skill in the art without making creative efforts
All other embodiment, shall fall within the protection scope of the present invention.
The applicable a kind of system architecture of the embodiment of the present invention, as shown in Figure 1, including commissioning device 101, main website server
102 and slave station equipment 103.Wherein, debugging software is installed, user is accessed by commissioning device 101 in main website server 102
Main website server 102 further achievees the purpose that the different slave station equipments of access.
Commissioning device 101, which can be mobile phone, tablet computer either dedicated handheld device etc., has wireless communication function
Electronic equipment, be also possible to personal computer (personal computer, abbreviation PC), laptop, server etc. has
The equipment of line access mode connection online.Main website server 102 and/or slave station equipment 103 can be the network equipments such as computer.
Main website server 102 and/or slave station equipment 103 can be an independent equipment, are also possible to multiple servers and are formed by
Server cluster.Preferably, main website server 102 and/or slave station equipment 103 can be carried out at information using cloud computing technology
Reason.
Commissioning device 101 can be communicated by INTERNET network with main website server 102, and the whole world can also be passed through
Mobile communication system (Global System for Mobile Communications, abbreviation GSM), long term evolution (long
Term evolution, abbreviation LTE) mobile communication system such as system are communicated with main website server 102.Commissioning device 101
Communication protocol between main website server 102 is the communication protocol of IP class, it is preferred that commissioning device 101 and main website server
Communication protocol between 102 is HTTP (hypertext transfer protocol, HyperText Transfer Protocol), and the present invention is real
It applies example to be mainly introduced by taking http protocol as an example, it should be noted that logical between commissioning device 101 and main website server 102
Letter agreement is not limited only to HTTP, is also possible to other IP class communication protocols, the embodiment of the present invention is without limitation.In addition,
Communication protocol between main website server 102 and slave station equipment 103 is the communication protocol of non-IP class, main website server 102 and with
Connection multiple slave station equipments 103 between communication protocol be the same non-IP class communication protocol, the non-IP class communication protocol
It is voluntarily decided through consultation by main website with slave station.
Based on system architecture shown in FIG. 1, the embodiment of the invention provides a kind of adjusting, measuring methods of communication equipment networking, such as
Shown in Fig. 2, a kind of adjusting, measuring method of the communication equipment networking provided in an embodiment of the present invention realized in main website server side includes
Following steps:
Step 201, main website server receive the first commissioning request that commissioning device is sent, and install in the main website server
There is commissioning software, the first commissioning request is that the commissioning device is sent based on the first communication protocol to the main website server
's.
Step 202, the main website server are requested according to first commissioning, are sent the second commissioning to slave station equipment and are asked
It asks, the second commissioning request is that the main website server is sent based on the second communication protocol between the slave station equipment
's.
Step 203, the main website server receive the first feedback message that the slave station equipment is sent, first feedback
Message is to be sent based on second communication protocol.
Step 204, the main website server send the second feedback message, second feedback message to the commissioning device
For what is sent based on first communication protocol.
In the embodiment of the present invention, the installation and lineup software in main website server, between commissioning device and main website server
Communication protocol is the first communication protocol, and the communication protocol between main website server and slave station equipment is the second communication protocol, wherein
First communication protocol is the communication protocol of IP class, and the second communication protocol is the communication protocol of non-IP class.User passes through commissioning device
The request of the first commissioning is sent to main website server, main website server is requested according to the first commissioning, to the slave station equipment being attached thereto
The request of the second commissioning is sent, after slave station equipment handles the second commissioning request, sends the first feedback message to main website server, it is main
Site server sends the second feedback message to commissioning device again, wherein the request of the first commissioning and the transmission of the second feedback message accord with
The first communication protocol is closed, the request of the second commissioning and the transmission of the first feedback message meet the second communication protocol.Therefore, the present invention is real
It applies in example, in main website deployment services device, and the installation and lineup software in main website server, yet by second between main website and slave station
Communication protocol communication, and by the first communication protocol communication between commissioning device and main website, in this way without pacifying on commissioning device
Software is surveyed in adjustment, can be carried out the commissioning of the whole network by main website server with different commissioning devices, be simplified the processing of user
Process improves user experience.
Creation from principal and subordinate's networking, the access to slave station separately below, and to the management aspect of slave station, detailed description is originally
Networking adjusting, measuring method in inventive embodiments.
The embodiment of the present invention disposes Embedded network system in main website server, to meet between commissioning device
IP class communication protocol.During the creation of networking, the request of the first commissioning is equipment scan request, and creation process includes:
Main website server receives the equipment scan request that commissioning device is sent, and equipment scan request is that commissioning device is based on the
One communication protocol is sent to main website server;
Main website server sends file acquisition request to all slave station equipments;
Main website server receives the page file and database file that slave station equipment is sent;
Main website server stores the page file of the slave station equipment and database file, and by corresponding equipment
Mark is stored in equipment management list;
Main website server shows all slave station equipments to the commissioning device.
Networking commissioning software, the webpage information of all slave stations are deployed with during specific embodiment, in main website server
And database information is stored in the database of main website.User can connect main website server by any commissioning device,
To achieve the purpose that access or management slave station.Specifically, the data storage of slave station is arrived firstly the need of creation principal and subordinate's networking
In main website.Commissioning device passes through HTTP to main website server sending device scan request, to collect the page info of all slave stations
And database information.Main website server sends text according to the equipment scan request received, to all slave station equipments connected to it
Part acquisition request, to obtain the page file and database file of slave station.Main website server receives the page text of slave station equipment
After part and database file, classification storage is carried out, and will be in the device identification write device management list of slave station equipment.
For example, in the Embedded network system of main website server, network system can be divided into multiple file knots
Structure, such as server, html, js, resource, plugins, database, exec, otherStation.In file
It include file dev01~devN in otherStation, wherein dev01 corresponds to slave station 01, and dev02 corresponds to slave station 02,
And so on, devN corresponds to slave station N.In each dev file again comprising file html, js, resource,
database.In this way, entire folder structure is just enough at the network system of principal and subordinate's networking.Wherein, server stores main website
Embedded network system file, html store the html file of main website, and js stores the js file of main website, and resource file is deposited
The resource file of main website is put, plugins stores some external plug-ins and external frame, and database stores database file,
Exec stores the backstage executable file cgi of main website server, and otherStation stores the web page file of each slave station.It
Afterwards, main website server shows principal and subordinate's group network system to user in the form of topology.
After the page file and database file for having collected slave station, main website server by entire principal and subordinate's group network system with
The form of topology is shown, and network topology has the alarm status, device numbering, the production letter such as sequence number and remarks of each slave station
Breath.Wherein, alarm status is showed in the form of alarm indicator.
User can access to slave station equipment by network topology, at this point, commissioning equipment is sent to main website server
The first commissioning request be access request.User includes: to the detailed process that slave station equipment accesses
Main website server receives the access request that commissioning device is sent, and access request is that commissioning device is based on the first communication protocols
It discusses to main website server transmission;
Main website server formats access request, so that access request meets the format of the second communication protocol;
Main website server broadcasts access request, includes the slave station equipment mark of access in access request;
Main website server receives the access feedback message that slave station equipment is sent, and access feedback message is slave station equipment according to connecing
The access request received is determining and slave station equipment identifies the response message sent after matching to main website server;
Main website server is formatted feedback message is accessed, so that access feedback message meets the first communication protocol
Format;
Main website server sends access feedback message to commissioning device.
In the specific implementation process, when accessing slave station equipment, commissioning device sends access request to main website server, should
Access request meets HTTP.It is specifically as follows, the icon in user click network topology is linked to corresponding slave station equipment, chain
It is grounded location: http://IP/web/otherStation/dev03/device.html.Wherein IP is the IP of main website server
Location, dev03 indicate the page of access slave station equipment 03.After jumping to the above-mentioned page, the front end of main website server passes through AJAX
Access request is sent to the device identification for from the background, in the access request including accessed slave station equipment.Backstage receives access
After request, the access request of xml format or json format formats, is converted into meeting main website slave station communication agreement
Message, broadcasted by HDLC (High-Level Data Link Control, High-Level Data Link Control).Slave station is set
The standby access request for obtaining the broadcast of main website server backstage, by the device identification of the slave station equipment carried in access request, really
It is fixed whether be the access request access object, data respond to main website service by the only corresponding slave station equipment of the access request
The backstage of device.Main website server receives the access feedback message of slave station equipment transmission, and access feedback message is carried out format and is turned
It changes, is converted into xml format or json format, responds to front end.Front end again shows data to user.User can be according to acquisition
Data carry out management, setting etc. of slave station and operate.It, can be with for different types of slave station due to the diversity of slave station equipment
The page for designing differentiation reaches and distinguishes distinct device type and personalized requirement.
Further, in the embodiment of the present invention, commissioning equipment is managed the slave station in networking by main website server,
It can specifically include equipment is newly-increased, equipment removes, equipment is replaced etc..
It is newly-increased for equipment, it can be to main website server sending device scan request, to obtain the page of new slave station equipment
Face file and database file.I.e. when there is new equipment access, the scanning function of main website server is triggered, main website server is new
The slave station equipment of addition distributes new device numbering, and in such a way that networking creates process, obtains the slave station equipment newly accessed
Web page files and database file, and the number of new slave station equipment is added in equipment management list.
Equipment is removed, the embodiment of the present invention includes:
The main website server receives the equipment that the commissioning device is sent and removes request;
The main website server, which removes the equipment, requests corresponding slave station equipment to be deleted from the equipment management list
Remove, and delete described in be locally stored in corresponding page file and database file.
Specifically, when slave station equipment is removed from networking, user pass through commissioning device access main website server equipment
Administration page.For example, the operation that user can be performed is to click slave station equipment to be removed, after jumping out dialog box, is clicked
Delete button.After the front end of main website server receives removal request, sends the removal and request to background program, remove the number of request
It can be xml or json according to format.Background program deletes the file of slave station equipment corresponding in otherStation, that is, deletes
Except the page file of the slave station equipment, while the database file of the slave station equipment is deleted, and is deleted from equipment management list
The device identification of the slave station equipment.After slave station equipment removes, user cannot access to the slave station equipment.
For equipment replace, can regard as at the same carry out equipment remove and equipment increase newly, do not repeat here.
Further, further include device data update, device upgrade, the calibration of equipment to the management of slave station equipment and open
It stands, the authorization of equipment etc..
Commissioning device can show request by sending state to main website server, with the shape of each slave station equipment of determination
State, if having slave station equipment newly-increased or delete and slave station equipment whether data update etc..Data are updated, it is specific to flow
Journey the following steps are included:
Main website server receives the state that commissioning device is sent and shows request, and state shows that request is that commissioning device is based on the
One communication protocol is sent to main website server;
Main website server from be locally stored it is middle obtain slave station equipment the first check code;
Main website server sends the second commissioning request to the slave station equipment, includes institute in the second commissioning request
State the first check code;
What main website server received that slave station equipment sends does not update feedback, does not update and is fed back to slave station equipment and determines the first school
Test the second check code for being stored in code and slave station equipment it is identical when send;It is sent alternatively, main website server receives slave station equipment
Update feedback, update feedback in include slave station equipment update page file and/or database file, update be fed back to slave station
Equipment, which determines, to be sent when the second check code stored in the first check code and slave station equipment is not identical;
Main website server shows slave station equipment to commissioning device.
During specific implementation, main website server receive commissioning device transmission state show request after, obtain from
The page file and database file of station equipment.Main website server is according to allocated device identification, in local
The page file and database file of slave station equipment are searched under otherStation one by one.If finding the page of slave station equipment
File and database file, then main website server is from being locally stored middle the first check code for obtaining the slave station equipment, such as CRC
(cyclic redundancy check, Cyclic Redundancy Check) code, is sent to slave station equipment.Slave station equipment receives the CRC code
Afterwards, it is compared with the CRC code of itself storage.When in slave station equipment page file and/or database file do not update when,
Then CRC code is constant;When in slave station equipment page file and/or database file have update when, then CRC code also can therewith more
Newly, therefore, it can know whether file updates upgrading by comparing CRC code.When the page file and/or data in slave station equipment
When library file does not update, response main website server does not update feedback, and carries the CRC code not updated;When in slave station equipment
When page file and/or database file have update, the file of update is transmitted to main website server, and is carried simultaneously new
CRC code.After main website server receives the message of slave station equipment feedback, check (CRC) codes, if it is inconsistent, updating main website
The slave station file stored in server.Later, main website server shows the state of slave station equipment to commissioning device.Special, when
When link between some slave station equipment and main website server disconnects, it can show that the link of the slave station equipment is different by network topology
Often, to inform that user can not access the slave station equipment.
Upgrading for slave station equipment, commissioning device selects corresponding slave station equipment in network topology, and passes through file
Control will upgrade software upload to main website server.After the completion of upload, the front end of main website server sends upgrade notification to backstage
It is identified with corresponding slave station equipment.The file that commissioning device uploads is read on backstage, then is broadcast to corresponding slave station by HDLC and is set
It is standby, so that slave station equipment carries out software upgrading.
After slave station equipment completes software upgrading, the step of above-mentioned data update is needed to be implemented, to judge the page of slave station equipment
Whether face file and database file change, if changed, main website server reacquires the page of the slave station equipment
File and database file.
Calibration for slave station equipment, commissioning device send calibration request to main website server, include mark in calibration request
The input power of quasi- frequency range and standard bands.The detailed process of equipment Alignment the following steps are included:
Main website server receives the calibration request that commissioning device is sent, and calibration request is that commissioning device is based on the first communication protocols
It discusses to main website server transmission;
Main website server is from being locally stored the middle frequency range for obtaining all slave stations;
Main website server matches the frequency range of all slave stations with standard bands, and determination is consistent to be calibrated with standard bands
Slave station;
Main website server sends calibration start command to slave station to be calibrated, calibrates defeated comprising standard bands in start command
Enter power, so that the input power of slave station establishing criteria frequency range to be calibrated is calibrated.
In specific implementation process, user, can be disposably to same by control of the main website server to all slave station equipments
All slave station equipments of one frequency range are calibrated, and the target power of slave station equipment is made to reach the requirement of user.The school of slave station equipment
Standard by commissioning device to main website server send a frequency range input power, main website server obtained from storage it is all from
All frequency ranges stood are matched with the calibration frequency range received, using the slave station equipment with the channel as slave station to be calibrated.
When starting calibration, main website server is sent one by one calibrates start command to slave station to be calibrated, so that slave station equipment is calibrated,
Reach the target power of output.This calibrating mode simplifies calibration process, opens station to slave station equipment and use is provided convenience.
In addition, the embodiment of the present invention can also authorize slave station equipment by main website server, to control slave station
Equipment opens the frequency range of payment purchase.After opening authorization to slave station equipment, it will be hidden in the network topology of main website server
The frequency range that do not open.
For a clearer understanding of the present invention, above-mentioned process is described in detail with specific embodiment below, embodiment
One is the access process of principal and subordinate's networking creation and user to slave station, and specific steps are as shown in Figure 3, comprising:
Step 301: commissioning device sends scan request to main website server.
Step 302: main website server is sent according to the equipment scan request received to all slave station equipments connected to it
File acquisition request.
Step 303: slave station equipment sends page file and database file to main website server.
Step 304: after main website server receives page file and the database file of slave station equipment, carrying out classification and deposit
Storage, and will be in the device identification write device management list of slave station equipment.
Step 305: main website server sends scan request feedback to commissioning device, to debugging by way of network topology
Equipment shows entire principal and subordinate's group network system.
Step 306: commissioning device sends access request to main website server by HTTP, includes interviewed in the access request
The device identification for the slave station equipment asked.
Step 307: main website server formats access request, is converted into meeting main website slave station communication agreement
Message.
Step 308: main website server broadcasts access request, includes accessed slave station equipment mark in access request
Know.
Step 309: slave station equipment obtains access request, by the equipment mark of the slave station equipment carried in identification access request
Know, is determined as the access object of the access request.
Step 310: slave station equipment sends access feedback message to main website server, which is the visit of access request
Ask object.
Step 311: main website server formats the access feedback message received, be converted into xml format or
Json format.
Step 312: main website server sends access feedback message to commissioning device by HTTP.
Embodiment two is that main website server is managed slave station equipment, and specific steps are as shown in Figure 4, comprising:
Step 401: commissioning device is removed to main website server sending device and is requested, and it includes removing in request which, which removes,
The device identification of slave station equipment.
Step 402: main website server deletes the file of corresponding slave station equipment according to device identification, and from equipment pipe
The device identification of the slave station equipment is deleted in reason list.
Step 403: main website server is removed to commissioning device sending device to be fed back.
Step 404: commissioning device is based on HTTP and sends state displaying request to main website server.
Step 405: main website server from be locally stored it is middle obtain slave station equipment the first CRC code.
Step 406: slave station equipment is sent state and shows request by main website server, which shows to include first in request
CRC code.
Step 407: slave station equipment compares the second CRC code that the first CRC code received is stored with itself, if two
Person is identical, thens follow the steps 408, no to then follow the steps 409.
Step 408: slave station equipment does not update feedback to main website server transmission.
Step 409: slave station equipment is sent to main website server updates feedback, includes that slave station equipment updates in update feedback
Page file and/or database file.
Step 410: main website server shows slave station equipment to commissioning device.
The embodiment of the invention also provides a kind of device for adjusting and measuring of communication equipment networking, as shown in Figure 5, comprising:
Receiving unit 501 is equipped in the main website server for receiving the first commissioning request of commissioning device transmission
Commissioning software, the first commissioning request are that the commissioning device is sent based on the first communication protocol to the main website server
's;
Transmission unit 502 sends the request of the second commissioning to slave station equipment for requesting according to first commissioning, described
The request of second commissioning is that the main website server is sent based on the second communication protocol between the slave station equipment;
The receiving unit 501 is also used to receive the first feedback message that the slave station equipment is sent, first feedback
Message is to be sent based on second communication protocol;
The transmission unit 502 is also used to send the second feedback message, second feedback message to the commissioning device
For what is sent based on first communication protocol;
Wherein, first communication protocol is the communication protocol of IP class, and second communication protocol is the communication of non-IP class
Agreement.
Further, the first commissioning request is equipment scan request;
The transmission unit 502 is also used to send file acquisition request to all slave station equipments;
The receiving unit 501 is also used to receive the page file and database file of slave station equipment transmission;
It further include processing unit 503, for the page file of the slave station equipment and database file to be stored, and
Corresponding device identification is stored in equipment management list;
The transmission unit 502 is also used to show all slave station equipments to the commissioning device.
Further, the receiving unit 501 is also used to receive the equipment that the commissioning device is sent and removes request;
The processing unit 503 is also used to remove the equipment and requests corresponding slave station equipment from the equipment management
Deleted in list, and delete described in be locally stored in corresponding page file and database file.
Further, the first commissioning request is that state shows request;
The processing unit 503 is also used to from the first check code that middle acquisition slave station equipment is locally stored;
The transmission unit 502 is also used to send the second commissioning request, second commissioning to the slave station equipment
It include first check code in request;
The receiving unit 501, is also used to receive that the slave station equipment sends does not update feedback, described not update feedback
It is sent when determining that the second check code stored in first check code and the slave station equipment is identical for the slave station equipment;
Or the update feedback that the slave station equipment is sent is received, it include the page text that the slave station equipment updates in the update feedback
Part and/or database file, the update are fed back to the slave station equipment and determine first check code and the slave station equipment
What the second check code of middle storage was sent when not identical;
The transmission unit 502 is also used to show the slave station to the commissioning device according to first feedback message
Equipment.
Further, the first commissioning request is access request;
The processing unit 503 is also used to format the access request, so that the access request meets
The format of second communication protocol;
The transmission unit 502 is also used to broadcast the access request, includes access in the access request
Slave station equipment mark;
The receiving unit 501 is also used to receive the access feedback message that the slave station equipment is sent, the access feedback
Message determines for the slave station equipment according to the access request received and the slave station equipment identifies after matching to institute
State the response message of main website server transmission;
The processing unit 503 is also used to format the access feedback message, so that the access is fed back
Message meets the format of first communication protocol;
The transmission unit 502 is also used to send the access feedback message to the commissioning device.
Further, first commissioning request is calibration request, includes standard bands in the calibration request and described
The input power of standard bands;
The processing unit 503 is also used to from the frequency range that middle all slave stations of acquisition are locally stored;By the frequency range of all slave stations
Match with the standard bands, determines the slave station to be calibrated being consistent with the standard bands;
The transmission unit 502 is also used to send calibration start command, the calibration starting life to the slave station to be calibrated
In order include the standard bands input power so that the slave station to be calibrated according to the standard bands input power into
Row calibration.
Based on identical principle, the present invention also provides a kind of electronic equipment, as shown in Figure 6, comprising:
Including processor 601, memory 602, transceiver 603, bus interface 604, wherein processor 601, memory 602
It is connect between transceiver 603 by bus interface 604;
The processor 601 executes following method for reading the program in the memory 602:
The first commissioning request that commissioning device is sent is received, commissioning software is installed in the main website server, described the
The request of one commissioning is what the commissioning device was sent based on the first communication protocol to the main website server;
It is requested according to first commissioning, sends the request of the second commissioning to slave station equipment, the second commissioning request is institute
State what main website server was sent based on the second communication protocol between the slave station equipment;
The first feedback message that the slave station equipment is sent is received, first feedback message is based on second communication
What agreement was sent;
The second feedback message is sent to the commissioning device, second feedback message is based on first communication protocol
It sends;
Wherein, first communication protocol is the communication protocol of IP class, and second communication protocol is the communication of non-IP class
Agreement.
The present invention be referring to according to the method for the embodiment of the present invention, the process of equipment (system) and computer program product
Figure and/or block diagram describe.It should be understood that every one stream in flowchart and/or the block diagram can be realized by computer program instructions
The combination of process and/or box in journey and/or box and flowchart and/or the block diagram.It can provide these computer programs
Instruct the processor of general purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices to produce
A raw machine, so that being generated by the instruction that computer or the processor of other programmable data processing devices execute for real
The device for the function of being specified in present one or more flows of the flowchart and/or one or more blocks of the block diagram.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing devices with spy
Determine in the computer-readable memory that mode works, so that it includes referring to that instruction stored in the computer readable memory, which generates,
Enable the manufacture of device, the command device realize in one box of one or more flows of the flowchart and/or block diagram or
The function of being specified in multiple boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device, so that counting
Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, thus in computer or
The instruction executed on other programmable devices is provided for realizing in one or more flows of the flowchart and/or block diagram one
The step of function of being specified in a box or multiple boxes.
Although preferred embodiments of the present invention have been described, it is created once a person skilled in the art knows basic
Property concept, then additional changes and modifications may be made to these embodiments.So it includes excellent that the following claims are intended to be interpreted as
It selects embodiment and falls into all change and modification of the scope of the invention.
Obviously, various changes and modifications can be made to the invention without departing from essence of the invention by those skilled in the art
Mind and range.In this way, if these modifications and changes of the present invention belongs to the range of the claims in the present invention and its equivalent technologies
Within, then the invention is also intended to include including these modification and variations.