CN109788034A - For the configuration method of gateway access equipment, electronic equipment and storage medium - Google Patents

For the configuration method of gateway access equipment, electronic equipment and storage medium Download PDF

Info

Publication number
CN109788034A
CN109788034A CN201811553334.6A CN201811553334A CN109788034A CN 109788034 A CN109788034 A CN 109788034A CN 201811553334 A CN201811553334 A CN 201811553334A CN 109788034 A CN109788034 A CN 109788034A
Authority
CN
China
Prior art keywords
gateway
equipment
access device
access
configuration
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201811553334.6A
Other languages
Chinese (zh)
Other versions
CN109788034B (en
Inventor
饶洋
严春南
李立群
张民恕
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
ZHUHAI PILOT TECHNOLOGY Co Ltd
Original Assignee
ZHUHAI PILOT TECHNOLOGY Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by ZHUHAI PILOT TECHNOLOGY Co Ltd filed Critical ZHUHAI PILOT TECHNOLOGY Co Ltd
Priority to CN201811553334.6A priority Critical patent/CN109788034B/en
Publication of CN109788034A publication Critical patent/CN109788034A/en
Application granted granted Critical
Publication of CN109788034B publication Critical patent/CN109788034B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)
  • Computer And Data Communications (AREA)

Abstract

The invention discloses a kind of configuration methods for gateway access equipment comprising: gateway S1, is inquired according to gateway IP using configuration software, access device is accessed into the gateway;S2, it enables the gateway open gateway transparent transmission mode, configuration software is made to send broadcast packet order under gateway transparent transmission mode to access device;S3, the equipment essential information that access device is fed back in response to broadcast packet order and according to the information of the register of its own storage is received;S4, the topological structure that access device is obtained according to equipment essential information, and the collection point that corresponding topological structure file is directed into gateway is generated, to carry out the information configuration of access device to the collection point of gateway.Invention additionally discloses electronic equipment and computer readable storage mediums.The present invention solves the problems, such as that needing manpower configures gateway collection point according to the different model of access device, the communication protocol of different editions.

Description

For the configuration method of gateway access equipment, electronic equipment and storage medium
Technical field
The present invention relates to the configuration technology fields for gateway access equipment, more particularly to one kind to be used for gateway access equipment Configuration method, electronic equipment and storage medium.
Background technique
When to access multiple devices gateway debugged for the first time when, existing configuration software only known gateway IP with And Equipment Foundations information (such as device model) could be by device configuration to corresponding gateway, and can only get equipment point It just can be carried out the acquisition layer configuration of gateway in the case where table.Practical application scene be usually configured under a gateway it is various types of Equipment, and device model will appear version different situation identical, the equipment of different editions just has different communications Agreement, scene just need manpower to configure collection point according to the communication protocol of different model different editions respectively by configuration software The information such as information, such as register number, data type, unit, title, communication protocol, configuration process is comparatively laborious, low efficiency Under, and it is easy error.It is therefore desirable to the more excellent configuration method for gateway access equipment.
Summary of the invention
For overcome the deficiencies in the prior art, one of the objects of the present invention is to provide a kind of for gateway access equipment Configuration method, this method solve need manpower according to the different model of access device, the communication protocol of different editions to configure The problem of gateway collection point.
The second object of the present invention is to provide a kind of electronics for realizing the above-mentioned configuration method for gateway access equipment Equipment.
The third object of the present invention is to provide a kind of calculating for storing the above-mentioned configuration method for gateway access equipment Machine readable storage medium storing program for executing.
An object of the present invention adopts the following technical scheme that realization:
A kind of configuration method for gateway access equipment comprising following steps:
S1, gateway is inquired according to gateway IP using configuration software, by access device access gateway;
S2, it enables gateway open gateway transparent transmission mode, configuration software is made to send broadcast packet order extremely under gateway transparent transmission mode Access device;
S3, the equipment that access device is fed back in response to broadcast packet order and according to the information of the register of its own storage is received Essential information;
S4, the topological structure that access device is obtained according to equipment essential information, and generate corresponding topological structure file and lead Enter to the collection point of gateway, to carry out the information configuration of access device to the collection point of gateway.
Further, the inquiry mode of the inquiry gateway is UPD broadcast query technology.
Further, the register includes special identifier register, device address register, device version number register And device model register.
Further, the equipment essential information includes equipment special identifier, device address, device version number and equipment Model.
Further, the configuration software is equipped with template corresponding with every kind of access device model, includes in the template Data type, unit, title and the communication protocol of the register of the access device of corresponding model, configuration software are set by access The device model of standby feedback obtains corresponding template and knows the topological structure of the access device.
The second object of the present invention adopts the following technical scheme that realization:
A kind of electronic equipment, comprising: one or more processors;Storage device, for storing one or more programs, when One or more of programs are executed by one or more of processors, so that one or more of processors realize this hair The configuration method for gateway access equipment of the bright first purpose.
The third object of the present invention adopts the following technical scheme that realization:
A kind of computer readable storage medium, is stored thereon with computer program, realization when which is executed by processor The configuration method for gateway access equipment of one of the object of the invention.
Compared with prior art, the beneficial effects of the present invention are: configuration softwares to pass through institute under broadcast packet command scan(ning) gateway Some access devices, access device is according to broadcast packet order feedback device essential information, and configuration software is according to equipment essential information It obtains the topological structure of access device and configures the collection point that topological structure file is directed into gateway;This is used for gateway and connects The configuration method for entering equipment, which solves, to be needed manpower and configures asking for collection point according to different model, the communication protocol of different editions Topic, saves the working time, improves work efficiency, and reduces artificial error, further increases the standard of the configuration information of collection point True property enables access device better adapt to complicated network environment.
Detailed description of the invention
Fig. 1 is the flow chart of the configuration method for gateway access equipment of the embodiment of the present invention one;
Fig. 2 is the structural schematic diagram of the electronic equipment of the embodiment of the present invention two.
Specific embodiment
In the following, being described further in conjunction with attached drawing and specific embodiment to the present invention, it should be noted that not Under the premise of conflicting, new implementation can be formed between various embodiments described below or between each technical characteristic in any combination Example.
Embodiment one
The embodiment of the present invention one discloses a kind of configuration method for gateway access equipment, please refers to shown in Fig. 1, packet Include following steps:
(in the present embodiment, configuration software is installed in computer, 485 converter one end connect computer, and the other end connects net 485 interfaces are closed, 485 interface of gateway connects 485 buses of access device;If computer does not have serial ports, serial ports can be turned with USB; Configuration software is controlled by computer.)
S1, gateway all in local area network is inquired using UPD broadcast query technology according to gateway IP using configuration software, chosen It selects the gateway needed to configure and the configuration information of the gateway is downloaded in configuration software, access device is accessed into the gateway Under;
The gateway that S2, order need to configure opens gateway transparent transmission mode, sends configuration software under gateway transparent transmission mode extensively Packet order is broadcast to the access device being linked under the gateway;
S3, configuration software reception access device are anti-according to the information of the register of its own storage in response to broadcast packet order Feedback equipment essential information (register include special identifier register, device address register, device version number register and The registers such as device model register;Equipment essential information includes equipment special identifier, device address, device version number and sets The information such as standby model);
S4, configuration software according to equipment essential information obtain access device topological structure (in the present embodiment, configuration software Equipped with template corresponding with every kind of access device model, the data class of the register of the access device comprising corresponding model in template The information such as type, unit, title and communication protocol, configuration software obtain corresponding template by the device model that access device is fed back And know the topological structure of the access device), configuration software generates the collection point that corresponding topological structure file is directed into gateway, To which the collection point to gateway carries out the information configuration of access device, gateway receives the number that the collection point of the corresponding gateway is sent According to.
Configuration software passes through access device all under broadcast packet command scan(ning) gateway, and access device is according to broadcast packet order Feedback device essential information, configuration software are according to the topological structure of equipment essential information acquisition access device and literary by topological structure The collection point that part is directed into gateway is configured;The configuration method for being used for gateway access equipment, which solves, needs manpower according to not Same model, the communication protocol of different editions the problem of configuring collection point, save the working time, improve work efficiency, subtract Few artificial error, further increases the accuracy of the configuration information of collection point, access device is enabled to better adapt to complicated network Environment.
Embodiment two
Fig. 2 is the structural schematic diagram of a kind of electronic equipment provided by Embodiment 2 of the present invention, as shown in Fig. 2, the electronics is set Standby includes processor 310, memory 320, input unit 330 and output device 340;The number of processor 310 in computer equipment It measures and can be one or more, in Fig. 2 by taking a processor 310 as an example;Processor 310, memory 320 in electronic equipment, Input unit 330 can be connected with output device 340 by bus or other modes, in Fig. 2 for being connected by bus.
Memory 320 is used as a kind of computer readable storage medium, can be used for storing software program, journey can be performed in computer Sequence and module, such as the corresponding program instruction/module of the configuration method for gateway access equipment in the embodiment of the present invention.Place Software program, instruction and the module that reason device 310 is stored in memory 320 by operation, thereby executing each of electronic equipment Kind functional application and data processing, that is, realize the above-mentioned configuration method for gateway access equipment.
Memory 320 can mainly include storing program area and storage data area, wherein storing program area can store operation system Application program needed for system, at least one function;Storage data area, which can be stored, uses created data etc. according to terminal.This Outside, memory 320 may include high-speed random access memory, can also include nonvolatile memory, for example, at least one Disk memory, flush memory device or other non-volatile solid state memory parts.In some instances, memory 320 can be into one Step includes the memory remotely located relative to processor 310, these remote memories can be set by network connection to electronics It is standby.The example of above-mentioned network includes but is not limited to internet, intranet, local area network, mobile radio communication and combinations thereof.
Input unit 330 can be used for receiving the subscriber identity information of input.Output device 340 may include the display such as display screen Equipment.
Embodiment three
The embodiment of the present invention three also provides a kind of storage medium comprising computer executable instructions, and the computer can be held Row instruction by computer processor when being executed for executing a kind of configuration method for gateway access equipment, this method packet It includes:
S1, gateway all in local area network is inquired using UPD broadcast query technology according to gateway IP using configuration software, chosen It selects the gateway needed to configure and the configuration information of the gateway is downloaded in configuration software, access device is accessed into the gateway Under;
The gateway that S2, order need to configure opens gateway transparent transmission mode, sends configuration software under gateway transparent transmission mode extensively Packet order is broadcast to the access device being linked under the gateway;
S3, configuration software reception access device are anti-according to the information of the register of its own storage in response to broadcast packet order Feedback equipment essential information (register include special identifier register, device address register, device version number register and The registers such as device model register;Equipment essential information includes equipment special identifier, device address, device version number and sets The information such as standby model);
S4, configuration software according to equipment essential information obtain access device topological structure (in the present embodiment, configuration software Equipped with template corresponding with every kind of access device model, the data class of the register of the access device comprising corresponding model in template The information such as type, unit, title and communication protocol, configuration software obtain corresponding template by the device model that access device is fed back And know the topological structure of the access device), configuration software generates the collection point that corresponding topological structure file is directed into gateway, To which the collection point to gateway carries out the information configuration of access device, gateway receives the number that the collection point of the corresponding gateway is sent According to.
Certainly, a kind of storage medium comprising computer executable instructions, computer provided by the embodiment of the present invention The method operation that executable instruction is not limited to the described above can also be performed provided by any embodiment of the invention for gateway Relevant operation in the configuration method of access device.
By the description above with respect to embodiment, it is apparent to those skilled in the art that, the present invention It can be realized by software and required common hardware, naturally it is also possible to which by hardware realization, but in many cases, the former is more Good embodiment.Based on this understanding, technical solution of the present invention substantially in other words contributes to the prior art Part can be embodied in the form of software products, which can store in computer readable storage medium In, floppy disk, read-only memory (Read-Only Memory, ROM), random access memory (Random such as computer Access Memory, RAM), flash memory (FLASH), hard disk or CD etc., including some instructions use so that an electronic equipment (can be mobile phone, personal computer, server or the network equipment etc.) executes method described in each embodiment of the present invention.
The above embodiment is only the preferred embodiment of the present invention, and the scope of protection of the present invention is not limited thereto, The variation and replacement for any unsubstantiality that those skilled in the art is done on the basis of the present invention belong to institute of the present invention Claimed range.

Claims (7)

1. a kind of configuration method for gateway access equipment, which comprises the following steps:
S1, gateway is inquired according to gateway IP using configuration software, access device is accessed into the gateway;
S2, it enables the gateway open gateway transparent transmission mode, configuration software is made to send broadcast packet order under gateway transparent transmission mode to connecing Enter equipment;
S3, reception access device are basic according to the equipment of the information feedback of the register of its own storage in response to broadcast packet order Information;
S4, the topological structure that access device is obtained according to equipment essential information, and generate corresponding topological structure file and be directed into The collection point of gateway, to carry out the information configuration of access device to the collection point of gateway.
2. being used for the configuration method of gateway access equipment as described in claim 1, which is characterized in that the inquiry gateway is looked into Inquiry mode is UPD broadcast query technology.
3. being used for the configuration method of gateway access equipment as described in claim 1, which is characterized in that the register includes spy Different marker register, device address register, device version number register and device model register.
4. being used for the configuration method of gateway access equipment as claimed in claim 3, which is characterized in that the equipment essential information Including equipment special identifier, device address, device version number and device model.
5. being used for the configuration method of gateway access equipment as claimed in claim 4, which is characterized in that the configuration software is equipped with Template corresponding with every kind of access device model, the data class of the register of the access device comprising corresponding model in the template Type, unit, title and communication protocol, the device model that configuration software is fed back by access device obtain corresponding template and know The topological structure of the access device.
6. a kind of electronic equipment characterized by comprising
One or more processors;
Storage device, for storing one or more programs,
When one or more of programs are executed by one or more of processors, so that one or more of processors are real Now such as the configuration method as claimed in any one of claims 1 to 5 for gateway access equipment.
7. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the program is held by processor Such as the configuration method as claimed in any one of claims 1 to 5 for gateway access equipment is realized when row.
CN201811553334.6A 2018-12-18 2018-12-18 Configuration method for gateway access equipment, electronic equipment and storage medium Active CN109788034B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811553334.6A CN109788034B (en) 2018-12-18 2018-12-18 Configuration method for gateway access equipment, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811553334.6A CN109788034B (en) 2018-12-18 2018-12-18 Configuration method for gateway access equipment, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN109788034A true CN109788034A (en) 2019-05-21
CN109788034B CN109788034B (en) 2021-12-07

Family

ID=66497285

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811553334.6A Active CN109788034B (en) 2018-12-18 2018-12-18 Configuration method for gateway access equipment, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN109788034B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110727846A (en) * 2019-09-09 2020-01-24 杭州玖欣物联科技有限公司 Industrial Internet data acquisition and classification processing method
CN114338256A (en) * 2021-11-29 2022-04-12 广州河东科技有限公司 Intelligent home gateway configuration method and device, terminal equipment and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102185737A (en) * 2011-05-10 2011-09-14 中兴通讯股份有限公司 Automatic equipment information acquisition method and system
CN102594916A (en) * 2012-03-19 2012-07-18 深圳职业技术学院 Networking method for deeper depth self-organizing wireless sensing network
CN103095495A (en) * 2013-01-06 2013-05-08 华为技术有限公司 Network implementation configuration method, device and system
WO2016050034A1 (en) * 2014-09-30 2016-04-07 中兴通讯股份有限公司 Group addressing processing method, device, mtc intercommunicating gateway and api gw

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102185737A (en) * 2011-05-10 2011-09-14 中兴通讯股份有限公司 Automatic equipment information acquisition method and system
CN102594916A (en) * 2012-03-19 2012-07-18 深圳职业技术学院 Networking method for deeper depth self-organizing wireless sensing network
CN103095495A (en) * 2013-01-06 2013-05-08 华为技术有限公司 Network implementation configuration method, device and system
WO2016050034A1 (en) * 2014-09-30 2016-04-07 中兴通讯股份有限公司 Group addressing processing method, device, mtc intercommunicating gateway and api gw

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110727846A (en) * 2019-09-09 2020-01-24 杭州玖欣物联科技有限公司 Industrial Internet data acquisition and classification processing method
CN114338256A (en) * 2021-11-29 2022-04-12 广州河东科技有限公司 Intelligent home gateway configuration method and device, terminal equipment and storage medium
CN114338256B (en) * 2021-11-29 2023-10-03 广州河东科技有限公司 Intelligent home gateway configuration method, device, terminal equipment and storage medium

Also Published As

Publication number Publication date
CN109788034B (en) 2021-12-07

Similar Documents

Publication Publication Date Title
CN105430108B (en) Test environment access method and proxy server
CN102143243B (en) Dynamic routing processing method and dynamic routing processing device and home gateway thereof
CN108924274B (en) Domain name system DNS processing method and device, storage medium and electronic equipment
CN105959644B (en) A kind of configuration method and device of video monitoring equipment
CN110213523A (en) Video conference processing method, system, device, computer equipment and storage medium
CN104778121A (en) Game program test method, device and system
CN103248525A (en) Method and device of configuring network resources
CN104270204A (en) Testing method and testing equipment for wireless communication module
CN109788034A (en) For the configuration method of gateway access equipment, electronic equipment and storage medium
CN104679239B (en) A kind of terminal input method
CN107580011A (en) A kind of data sharing method and desktop cloud server terminal
CN104917791A (en) Method and apparatus for transmitting control instructions
CN112580730A (en) Terminal type identification method and device
CN114997101A (en) Signal control method, system, medium and device based on chip verification system
CN104144185A (en) Data communication method, device and terminal
CN110113218A (en) A kind of gateway configuration method, system, computer storage medium and electronic equipment
CN104539752B (en) Access method and system between multilevel field platform
CN106161647A (en) The method of a kind of cloud terminal unit batch discovery and cloud terminal management system
CN106454541A (en) Calling method, calling device and calling system
CN106101112A (en) Access the method for privately owned equipment, system and the public network server using dynamic IP
CN107743304B (en) A kind of device identification method and relevant device
CN103856496A (en) Information publishing method, information publishing equipment and information publishing system
EP3065387A1 (en) Method and device for achieving matching between acquisition system and analysis system
CN109120731B (en) Universal communication method, system and device
CN105512020B (en) Test method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant