CN110049449A - A kind of location determining method, system and relevant apparatus - Google Patents

A kind of location determining method, system and relevant apparatus Download PDF

Info

Publication number
CN110049449A
CN110049449A CN201910329997.8A CN201910329997A CN110049449A CN 110049449 A CN110049449 A CN 110049449A CN 201910329997 A CN201910329997 A CN 201910329997A CN 110049449 A CN110049449 A CN 110049449A
Authority
CN
China
Prior art keywords
gateway
terminal device
location information
sent
iotserver
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201910329997.8A
Other languages
Chinese (zh)
Inventor
贾建军
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Ningbo Hongxun Software Development Co Ltd
Original Assignee
Ningbo Hongxun Software Development 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 Ningbo Hongxun Software Development Co Ltd filed Critical Ningbo Hongxun Software Development Co Ltd
Priority to CN201910329997.8A priority Critical patent/CN110049449A/en
Publication of CN110049449A publication Critical patent/CN110049449A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/02Standardisation; Integration
    • H04L41/0246Exchanging or transporting network management information using the Internet; Embedding network management web servers in network elements; Web-services-based protocols
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0876Aspects of the degree of configuration automation
    • H04L41/0886Fully automatic configuration
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/12Discovery or management of network topologies
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/02Services making use of location information
    • H04W4/029Location-based management or tracking services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/30Services specially adapted for particular environments, situations or purposes
    • H04W4/38Services specially adapted for particular environments, situations or purposes for collecting sensor information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/08Access restriction or access information delivery, e.g. discovery data delivery
    • H04W48/10Access restriction or access information delivery, e.g. discovery data delivery using broadcasted information

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Automation & Control Theory (AREA)
  • Computer Security & Cryptography (AREA)
  • Small-Scale Networks (AREA)

Abstract

A kind of location determining method provided herein, comprising: send all terminal devices in the first broadcast data packet to bus;Receive the device location information that each terminal device is sent;After receiving IoTServer and being sent to the second broadcast data packet of network, gateway location information and the corresponding device location information of each terminal device are sent to IoTServer.Gateway sends all terminal devices in the first broadcast data packet to bus in this method, and respective device location information automatically can be sent to gateway by all terminal devices in bus;Gateway is sent to the second broadcast data packet of network in reception IoTServer, gateway location information and the corresponding device location information of each terminal device automatically can be sent to IoTServer, therefore IoTServer can automatically determine the position of terminal device using particular communication agreement, and then save human cost.In addition, this method can also save engineering time.The application also provides a kind of position determination system, gateway and computer readable storage medium, all has above-mentioned beneficial effect.

Description

A kind of location determining method, system and relevant apparatus
Technical field
This application involves position determination technology field, in particular to a kind of location determining method, system, gateway and computer Readable storage medium storing program for executing.
Background technique
Intelligent building is information-based important component.In recent years, due to the support of national policy, the weight of owner Depending on and the value of intellectualizing system itself embodied, intelligent building market is flourished.Intelligent building and people's lives It is closely bound up, the raising of intelligent building degree, the improvement people's lives quality of meeting high degree, therefore by very high point Note.Currently, domestic construction intelligence industry development is very fast, but due to technology disclose relatively with it is transparent, industry structures do not have aobvious Write variation.In addition, the problems such as building industry also faces performance difficulty, and debugging is complicated, and maintenance cost is high.Currently, most of building 1., the inspection of the scene of a crime intelligence requires to implement by following steps:, determining control or acquisition point;2., design it is intelligent Scheme;3., field wiring and equipment installation;4., system debug;5., maintenance work.
Intelligent Building System includes illumination supervision, energy management, video surveillance management and safeguard management etc..Building system It can include various sensor devices, controller equiment and gateway in system, and these terminal devices will disperse in building or factory The different location in area will enable these terminal devices quickly network, and build a complete building system and need complicated debugging Process.Currently, being the location information of artificial these terminal devices of manual configuration in the related technology, and then determine the position of terminal device It sets, but a large amount of human cost can be spent.
Therefore, how automatically determine terminal device position, and then save human cost be those skilled in the art urgently Technical problem to be solved.
Summary of the invention
The purpose of the application is to provide a kind of location determining method, system, gateway and computer readable storage medium, can It automatically determines the position of terminal device, and then saves human cost.
In order to solve the above technical problems, the application provides a kind of location determining method, it is applied to gateway, comprising:
Send all terminal devices in the first broadcast data packet to bus;
Receive the device location information that each terminal device is sent;
It is receiving after IoTServer is sent to the second broadcast data packet of network, by gateway location information and each described The corresponding device location information of terminal device is sent to the IoTServer.
Preferably, after the device location information for receiving each terminal device transmission, further includes:
Receive the terminal device information that each terminal device is sent;Wherein, the terminal device information includes at least Address, device model, control data and description;
The device location information of each terminal device transmission and the terminal device information are stored to gateway Database.
Preferably, IoTServer is received to be sent to after the second broadcast data packet of network, further includes:
The terminal device information of the gateway device infonnation of the gateway and each terminal device is sent to institute State IoTServer;
The device location of the gateway location information, the gateway device infonnation and each terminal device is believed Breath, the terminal device information are stored to IoTServer database.
Preferably, all terminal devices in the first broadcast data packet to bus of the transmission, comprising:
Security device, energy monitoring equipment and Lighting control in first broadcast data packet to the bus is sent to set It is standby.
The application also provides a kind of position determination system, is applied to gateway, comprising:
First broadcast data packet sending module, for sending all terminal devices in the first broadcast data packet to bus;
Device location information receiving module, the device location information sent for receiving each terminal device;
Location information sending module, for receiving after IoTServer is sent to the second broadcast data packet of network, by net Off position information and the corresponding device location information of each terminal device are sent to the IoTServer.
Preferably, the position determination system further include:
Terminal device information receiving module, the terminal device information sent for receiving each terminal device;Wherein, The terminal device information includes at least address, device model, control data and description;
First memory module, the device location information and the terminal for sending each terminal device are set Standby information is stored to gateway data library.
Preferably, the position determination system further include:
Facility information sending module, for will be described in the gateway device infonnation of the gateway and each terminal device Terminal device information is sent to the IoTServer;
Second memory module, for setting the gateway location information, the gateway device infonnation and each terminal The standby device location information, the terminal device information are stored to IoTServer database.
Preferably, the first broadcast data packet sending module, comprising:
First broadcast data packet transmission unit is set for sending security protection in first broadcast data packet to the bus Standby, energy monitoring equipment and lighting control equipment.
The application also provides a kind of gateway, comprising:
Memory and processor;Wherein, the memory is for storing computer program, and the processor is for executing institute The step of location determining method described above is realized when stating computer program.
The application also provides a kind of computer readable storage medium, and the computer-readable recording medium storage has computer The step of program, the computer program realizes location determining method described above when being executed by processor.
A kind of location determining method provided herein is applied to gateway, comprising: sends the first broadcast data packet to total All terminal devices on line;Receive the device location information that each terminal device is sent;It is sent to receiving IoTServer After second broadcast data packet of network, gateway location information and the corresponding device location information of each terminal device are sent To the IoTServer.
As it can be seen that gateway sends all terminal devices in the first broadcast data packet to bus, all ends in bus in this method Respective device location information automatically can be sent to gateway by end equipment;Gateway is sent to network in reception IoTServer After second broadcast data packet, automatically gateway location information and the corresponding device location information of each terminal device can be sent out It send to the IoTServer, therefore IoTServer can automatically determine the position of terminal device using particular communication agreement, into And save human cost.In addition, this method can also make terminal device network in a manner of most simple, the fastest, complete entirely certainly System building is controlled, engineering time is saved.The application also provides a kind of position determination system, gateway and computer-readable storage medium Matter all has above-mentioned beneficial effect, and details are not described herein.
Detailed description of the invention
In order to illustrate the technical solutions in the embodiments of the present application or in the prior art more clearly, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this The embodiment of application for those of ordinary skill in the art without creative efforts, can also basis The attached drawing of offer obtains other attached drawings.
Fig. 1 is a kind of flow chart of location determining method provided by the embodiment of the present application;
Fig. 2 is a kind of intelligent Building System configuration diagram provided by the embodiment of the present application;
Fig. 3 is a kind of structural block diagram of position determination system provided by the embodiment of the present application;
Fig. 4 is the structural block diagram of second of position determination system provided by the embodiment of the present application;
Fig. 5 is the structural block diagram of the third position determination system provided by the embodiment of the present application;
Fig. 6 is the structural block diagram of the 4th kind of position determination system provided by the embodiment of the present application;
Fig. 7 is a kind of memory and processor connection schematic diagram provided by the embodiment of the present application.
Specific embodiment
The core of the application is to provide a kind of location determining method, can automatically determine the position of terminal device, in turn Save human cost.Another core of the application is to provide a kind of position determination system, gateway and computer readable storage medium.
To keep the purposes, technical schemes and advantages of the embodiment of the present application clearer, below in conjunction with the embodiment of the present application In attached drawing, the technical scheme in the embodiment of the application is clearly and completely described, it is clear that described embodiment is Some embodiments of the present application, instead of all the embodiments.Based on the embodiment in the application, those of ordinary skill in the art Every other embodiment obtained without making creative work, shall fall in the protection scope of this application.
Intelligent Building System includes illumination supervision, energy management, video surveillance management and safeguard management etc..Building system It can include various sensor devices, controller equiment and gateway in system, and these terminal devices will disperse in building or factory The different location in area will enable these terminal devices quickly network, and build a complete building system and need complicated debugging Process.Currently, being the location information of artificial these terminal devices of manual configuration in the related technology, and then determine the position of terminal device It sets, but a large amount of human cost can be spent.The embodiment of the present application can automatically determine the position of terminal device, and then save Human cost is specific referring to FIG. 1, Fig. 1 is a kind of flow chart of location determining method provided by the embodiment of the present application, the position Determining method is set to specifically include:
S101, all terminal devices in the first broadcast data packet to bus are sent;
The executing subject of the embodiment of the present application is gateway, and gateway sent all ends in the first broadcast data packet to bus before this End equipment.Quantity of gateway is not especially limited at this, should be made according to the actual situation by those skilled in the art corresponding Setting, it will usually which multiple gateways are set.Further, type of communication interface of gateway is not especially limited at this, Ying You Those skilled in the art make corresponding setting according to the actual situation, and the communication that gateway is connect with IoTServer is usually arranged and connects Mouth is Ethernet interface, and the communication interface with terminal device is RS485 or RS232 interface.Gateway is by bus and terminal Equipment electrical connection, is not especially limited the type of terminal device at this, should be made according to the actual situation by those skilled in the art Corresponding setting out, generally includes video monitoring equipment, security device, energy monitoring equipment, lighting control equipment.Wherein, pacify Anti- equipment is specifically as follows gate inhibition's fence, and energy monitoring equipment is specifically as follows water meter, and lighting control equipment specifically may be used Think intelligent switch.Therefore all terminal devices in above-mentioned the first broadcast data packet to bus of transmission, it generally includes: it is wide to send first Security device, energy monitoring equipment and lighting control equipment in unicast packets to bus.Due to the framework of video monitoring equipment Particularity, those skilled in the art are usually arranged video monitoring equipment and directly connect with loTServer, therefore the video monitoring equipment Generally Ethernet interface, video monitoring equipment are specifically as follows camera.
From the foregoing, it can be understood that multiple gateways would generally be arranged, single gateway is electrically connected to the quantity of terminal device and type exists This is not especially limited, and corresponding setting, usual single gateway meeting should be made according to the actual situation by those skilled in the art Multiple same kind of terminal devices are electrically connected in order to manage, such as some gateway is electrically connected with three gate inhibition's fences It connects, which belongs to security device.Further, herein for the communication interface of single terminal equipment Type is also not especially limited, and depending on needing according to the actual situation, usually there is the communication interfaces such as RS485, RS232, CAN.By above It is found that gateway is to be electrically connected by bus with terminal device, type of bus is also not especially limited at this, the type of bus The type of communication interface corresponding to terminal device.If the communication interface of terminal device is RS485, gateway is to pass through RS485 Bus is electrically connected with terminal device;If the communication interface of terminal device is RS232, gateway is by RS232 bus and terminal Equipment electrical connection;If the communication interface of terminal device is CAN, gateway is to be electrically connected by CAN bus with terminal device.Specifically As shown in Fig. 2, Fig. 2 is a kind of intelligent Building System configuration diagram provided by the embodiment of the present application, in figure from the bottom up according to Secondary is terminal device, gateway, tmiData IoTServer, and terminal device includes video monitoring equipment, security device, energy prison Measurement equipment, lighting control equipment.As shown in Figure 2, tmiData IoTServer by Ethernet bus directly and video monitoring Equipment connects, and has " equipment 1 " and " equipment x " in the dotted line frame of video monitoring equipment, and being somebody's turn to do " x " indicates the quantity of video monitoring equipment It is not especially limited;Security device is connect by RS485 or RS232 bus, Ethernet bus with gateway, and the gateway is again It is connect by Ethernet (iNet) with tmiData IoTServer, there is " equipment 1 ", " equipment 2 " in the dotted line frame of security device " equipment x ", being somebody's turn to do " x " indicates that the quantity of security device is not especially limited;Energy monitoring equipment and lighting control equipment Connection relationship it is similar with security device, details are not described herein.
By step S101 it is found that gateway sends all terminal devices in the first broadcast data packet to bus.Wherein, first is wide Unicast packets are exactly the broadcast data packet that gateway is sent to terminal devices all in bus.At this in the first broadcast data packet Appearance is not especially limited, depending on needing according to the actual situation.The process of step S101 is not especially limited herein, it need to be according to reality Depending on the situation of border.
S102, the device location information that each terminal device is sent is received;
Gateway after all terminal devices, receives each on sending the first broadcast data packet to bus in the embodiment of the present application The device location information that terminal device is sent.From the foregoing, it can be understood that the embodiment of the present application does not limit the quantity of terminal device specifically It is fixed, therefore the quantity for the device location information that each terminal device is sent also is not especially limited, it should be by those skilled in the art Corresponding setting is made according to the actual situation.By step S101 and step S102 it is found that gateway is sending the first broadcast data packet All terminal devices on to bus can receive the device location information that each terminal device is sent automatically, avoid related skill Artificial manual configuration is needed in art, saves human cost.
It further, usually can also include: to receive respectively after receiving the device location information that each terminal device is sent The terminal device information that a terminal device is sent;Wherein, terminal device information includes at least address, device model, control Data and description;Device location information and terminal device information that each terminal device is sent are stored to gateway data library.By Above it will be appreciated that terminal device information include at least address, device model, control data and description, at this to address, Device model, control data and description are not especially limited, depending on needing according to the actual situation;For the capacity in gateway data library Also it is not especially limited, depending on needing according to the actual situation.
Step S101 and step S102 combine be a gateway discovery terminal device process, process do not limit specifically It is fixed, specifically it can be such that
1. utilizing hand-held device setting terminal facility information and device location information:
Address, installation site, device model, control data and description including setting terminal equipment etc..
2. gateway carries Web, search equipment is clicked:
Gateway carries web interface, various configurations can be carried out to gateway by web interface, when " searching on click configuration interface When rope equipment " button, gateway enters search equipment state.
3. gateway sends the first broadcast data packet, the equipment connected in bus is searched:
Gateway sends the first broadcast data packet (instruction of search equipment).
4. the device location information of oneself, terminal device information are sent to gateway by terminal device:
It, can be by the device location information of oneself, end when terminal device receives the instruction of the search equipment of gateway transmission End equipment information is sent to gateway, and terminal device information includes address, device model, control data and description etc., equipment Location information mainly includes installation site.
5. gateway gets the device location information of all terminal devices, terminal device information, it is stored in gateway data library:
After gateway receives the device location information of terminal device, terminal device information, it is stored in gateway data library, with preparation It gives IoTServer and control uses.
In the above process, hand-held device is can be used in user, more convenient simple.Because of system debug people in the prior art Member needs band PC to field adjustable equipment, and field condition is limited, implements very inconvenient.In addition, in above process, Yong Huke The address of equipment, the address IoTServer, equipment installation position and control point title to be set using hand-held device To equipment, save manual record work.And system debug personnel need the address, position, control of manual record equipment in the prior art Information processed and facility information.
S103, it is receiving after IoTServer is sent to the second broadcast data packet of network, by gateway location information and each The corresponding device location information of terminal device is sent to IoTServer.
Gateway is after receiving IoTServer and being sent to the second broadcast data packet of network in the embodiment of the present application, by gateway Location information and the corresponding device location information of each terminal device are sent to IoTServer.Wherein, the second broadcast data packet is just It is the broadcast data packet that IoTServer is sent to gateway.
Further, it after receiving IoTServer and being sent to the second broadcast data packet of network, also typically includes: by net The terminal device information of the gateway device infonnation of pass and each terminal device is sent to IoTServer;By gateway location information, net It closes facility information and the device location information of each terminal device, terminal device information is stored to IoTServer database.Its In, gateway device infonnation includes at least address, device type, control data and the description of gateway, leads at this to gateway News address, device type, control data and description are also not especially limited, and need to make corresponding setting according to the actual situation;? This is also not especially limited the amount of capacity of IoTServer database, depending on needing according to the actual situation.
Step S103 is the process of an IoTServer discovery gateway, and process is not especially limited, specifically can be such that
1. being configured using hand-held device setting terminal facility information, device location information or gateway using included Web:
The address of address, IoTServer including setting terminal equipment or gateway, installation site, equipment type Number, control data and description etc., terminal device is configured using hand-held device, and gateway can use hand-held device to open web interface It is configured.
2. the Web of IoTServer clicks search equipment:
The web interface for opening IoTServer, when clicking " search equipment " button on configuration interface, IoTServer into Enter to search for equipment state.
3. IoTServer sends the second broadcast data packet, the equipment in Network Search:
IoTServer sends the second broadcast packet (instruction of search equipment).
4. gateway sets gateway location information, the device location information of gateway device infonnation and each terminal device, terminal Standby information is sent to IoTServer:
It, can be by gateway location information, gateway when gateway receives the instruction of the search equipment of IoTServer transmission Information and the device location information of each terminal device, terminal device information are sent to IoTServer.
5. all devices information that IoTServer will acquire is stored in IoTServer database:
IoTServer is by the gateway location information received, the device location of gateway device infonnation and each terminal device Information, terminal device information are stored to IoTServer database, in case monitoring and control use.
Gateway sends all terminal devices in the first broadcast data packet to bus, all ends in bus in the embodiment of the present application Respective device location information automatically can be sent to gateway by end equipment;Gateway is sent to network in reception IoTServer Gateway location information and the corresponding device location information of each terminal device can be automatically sent to by the second broadcast data packet IoTServer, therefore IoTServer can automatically determine the position of terminal device using particular communication agreement, and then save people Power cost.Wherein, above-mentioned particular communication agreement is based on the communications protocol such as TCP/IP, CANopen, Modbus.In addition, This method can also make terminal device network in a manner of most simple, the fastest, complete entire robot control system(RCS) and build, save engineering Time.Although the technical solution of the embodiment of the present application mainly for wire communications such as Ethernet, RS485, RS232, CAN, It is the protection model that the wireless telecommunications such as other Bluetooth, zigbee, Sub-1G are equally applicable, therefore also belong to the application In enclosing.
A kind of position determination system provided by the embodiments of the present application, gateway and computer readable storage medium are carried out below It introduces, position determination system, gateway and computer readable storage medium described below and above-described location determining method Reference can be corresponded to each other.
Referring to FIG. 3, Fig. 3 is a kind of structural block diagram of position determination system provided by the embodiment of the present application;The position The system of determination includes:
First broadcast data packet sending module 301, for sending all terminal devices in the first broadcast data packet to bus;
Device location information receiving module 302, the device location information sent for receiving each terminal device;
Location information sending module 303, for receiving after IoTServer is sent to the second broadcast data packet of network, Gateway location information and the corresponding device location information of each terminal device are sent to IoTServer.
Based on the above embodiment, the position determination system usually can also include: in the present embodiment
Terminal device information receiving module 401, the terminal device information sent for receiving each terminal device;Wherein, Terminal device information includes at least address, device model, control data and description;
First memory module 402, device location information and terminal device information for sending each terminal device are deposited It stores up to gateway data library.It is the knot of second of position determination system provided by the embodiment of the present application for details, reference can be made to Fig. 4, Fig. 4 Structure block diagram.
Based on the above embodiment, the position determination system usually can also include: in the present embodiment
Facility information sending module 501, for by the terminal device of the gateway device infonnation of gateway and each terminal device Information is sent to IoTServer;
Second memory module 502, for by the equipment position of gateway location information, gateway device infonnation and each terminal device Confidence breath, terminal device information are stored to IoTServer database.For details, reference can be made to Fig. 5, Fig. 5 to be mentioned by the embodiment of the present application The structural block diagram of the third position determination system supplied.
Based on the above embodiment, the first broadcast data packet sending module 301 in the present embodiment, generally includes:
First broadcast data packet transmission unit 601, for sending security device, the energy in the first broadcast data packet to bus Monitoring device and lighting control equipment.It is that the 4th kind of position provided by the embodiment of the present application determines for details, reference can be made to Fig. 6, Fig. 6 The structural block diagram of system.
The application also provides a kind of gateway, comprising: memory 701 and processor 702;Wherein, memory 701 is for storing Computer program, processor 702 are used to realize the step of the location determining method of above-mentioned any embodiment when executing computer program Suddenly.For details, reference can be made to Fig. 7, Fig. 7 is a kind of memory and processor connection schematic diagram provided by the embodiment of the present application.
The application also provides a kind of computer readable storage medium, and computer-readable recording medium storage has computer journey Sequence, the step of location determining method of above-mentioned any embodiment is realized when computer program is executed by processor.
The computer readable storage medium may include: USB flash disk, mobile hard disk, read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic or disk etc. is various to deposit Store up the medium of program code.
Each embodiment is described in a progressive manner in specification, the highlights of each of the examples are with other realities The difference of example is applied, the same or similar parts in each embodiment may refer to each other.For embodiment provide system and Speech, since it is corresponding with the method that embodiment provides, so being described relatively simple, related place is referring to method part illustration ?.
Professional further appreciates that, unit described in conjunction with the examples disclosed in the embodiments of the present disclosure And algorithm steps, can be realized with electronic hardware, computer software, or a combination of the two, in order to clearly demonstrate hardware and The interchangeability of software generally describes each exemplary composition and step according to function in the above description.These Function is implemented in hardware or software actually, the specific application and design constraint depending on technical solution.Profession Technical staff can use different methods to achieve the described function each specific application, but this realization is not answered Think beyond the scope of this invention.
The step of method described in conjunction with the examples disclosed in this document or algorithm, can directly be held with hardware, processor The combination of capable software module or the two is implemented.Software module can be placed in random access memory (RAM), memory, read-only deposit Reservoir (ROM), electrically programmable ROM, electrically erasable ROM, register, hard disk, moveable magnetic disc, CD-ROM or technology In any other form of storage medium well known in field.
Above to a kind of location determining method, system, gateway and computer readable storage medium provided herein into It has gone and has been discussed in detail.Specific examples are used herein to illustrate the principle and implementation manner of the present application, the above implementation The explanation of example is merely used to help understand the present processes and its core concept.It should be pointed out that for the general of the art For logical technical staff, under the premise of not departing from the application principle, can also to the application, some improvement and modification can also be carried out, this A little improvement and modification are also fallen into the protection scope of the claim of this application.

Claims (10)

1. a kind of location determining method, which is characterized in that be applied to gateway, comprising:
Send all terminal devices in the first broadcast data packet to bus;
Receive the device location information that each terminal device is sent;
After receiving IoTServer and being sent to the second broadcast data packet of network, by gateway location information and each terminal The corresponding device location information of equipment is sent to the IoTServer.
2. location determining method according to claim 1, which is characterized in that receive setting for each terminal device transmission After standby location information, further includes:
Receive the terminal device information that each terminal device is sent;Wherein, the terminal device information includes at least communication Address, device model, control data and description;
The device location information of each terminal device transmission and the terminal device information are stored to gateway data Library.
3. location determining method according to claim 2, which is characterized in that receive IoTServer is sent to network the After two broadcast data packets, further includes:
The terminal device information of the gateway device infonnation of the gateway and each terminal device is sent to described IoTServer;
By the gateway location information, the device location information of the gateway device infonnation and each terminal device, The terminal device information is stored to IoTServer database.
4. location determining method according to claim 1, which is characterized in that the first broadcast data packet of the transmission to bus Upper all terminal devices, comprising:
Send security device, energy monitoring equipment and lighting control equipment in first broadcast data packet to the bus.
5. a kind of position determination system, which is characterized in that be applied to gateway, comprising:
First broadcast data packet sending module, for sending all terminal devices in the first broadcast data packet to bus;
Device location information receiving module, the device location information sent for receiving each terminal device;
Location information sending module, for receiving after IoTServer is sent to the second broadcast data packet of network, by gateway position Confidence breath and the corresponding device location information of each terminal device are sent to the IoTServer.
6. position determination system according to claim 5, which is characterized in that further include:
Terminal device information receiving module, the terminal device information sent for receiving each terminal device;Wherein, described Terminal device information includes at least address, device model, control data and description;
First memory module, the device location information and the terminal device for sending each terminal device are believed Breath is stored to gateway data library.
7. position determination system according to claim 6, which is characterized in that further include:
Facility information sending module, for by the terminal of the gateway device infonnation of the gateway and each terminal device Facility information is sent to the IoTServer;
Second memory module, for by the gateway location information, the gateway device infonnation and each terminal device The device location information, the terminal device information are stored to IoTServer database.
8. position determination system according to claim 5, which is characterized in that the first broadcast data packet sending module, Include:
First broadcast data packet transmission unit, for sending security device, energy in first broadcast data packet to the bus Source monitoring device and lighting control equipment.
9. a kind of gateway characterized by comprising
Memory and processor;Wherein, the memory is for storing computer program, the processor by execute it is described based on The step of location determining methods as described in any item such as Claims 1-4 are realized when calculation machine program.
10. a kind of computer readable storage medium, which is characterized in that the computer-readable recording medium storage has computer journey Sequence realizes the step such as the described in any item location determining methods of Claims 1-4 when the computer program is executed by processor Suddenly.
CN201910329997.8A 2019-04-23 2019-04-23 A kind of location determining method, system and relevant apparatus Pending CN110049449A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910329997.8A CN110049449A (en) 2019-04-23 2019-04-23 A kind of location determining method, system and relevant apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910329997.8A CN110049449A (en) 2019-04-23 2019-04-23 A kind of location determining method, system and relevant apparatus

Publications (1)

Publication Number Publication Date
CN110049449A true CN110049449A (en) 2019-07-23

Family

ID=67278714

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910329997.8A Pending CN110049449A (en) 2019-04-23 2019-04-23 A kind of location determining method, system and relevant apparatus

Country Status (1)

Country Link
CN (1) CN110049449A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110737983A (en) * 2019-10-11 2020-01-31 上海元城汽车技术有限公司 Method, device and equipment for testing functions of vehicles and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102075857A (en) * 2010-12-20 2011-05-25 大唐移动通信设备有限公司 Fusion system for femtocell and internet of things and method for implementing service of internet of things
CN105704674A (en) * 2016-04-26 2016-06-22 广东智嵌物联网技术有限公司 Method for realizing networking of mobile sensor network and system thereof and mobile sensors
CN106920382A (en) * 2015-12-26 2017-07-04 华为技术有限公司 Method, main website and data centralized unit that control intelligence instrument networks
WO2017187138A1 (en) * 2016-04-26 2017-11-02 Checkit Limited Network access control

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102075857A (en) * 2010-12-20 2011-05-25 大唐移动通信设备有限公司 Fusion system for femtocell and internet of things and method for implementing service of internet of things
CN106920382A (en) * 2015-12-26 2017-07-04 华为技术有限公司 Method, main website and data centralized unit that control intelligence instrument networks
CN105704674A (en) * 2016-04-26 2016-06-22 广东智嵌物联网技术有限公司 Method for realizing networking of mobile sensor network and system thereof and mobile sensors
WO2017187138A1 (en) * 2016-04-26 2017-11-02 Checkit Limited Network access control

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110737983A (en) * 2019-10-11 2020-01-31 上海元城汽车技术有限公司 Method, device and equipment for testing functions of vehicles and storage medium

Similar Documents

Publication Publication Date Title
CN104734363B (en) A kind of High-low voltage switch cabinet system based on Internet of Things
CN103048965B (en) A kind of visual centralized monitoring system of dynamic machine room carrying video
CN104660682B (en) A kind of OPC data collection and monitoring intelligent terminal based on TD-LTE
CN104573611B (en) A kind of distributed recognition of face group system
CN108846574A (en) A kind of the wisdom garden management system and method for three-dimensional visualization
CN107404421A (en) Flow monitoring, monitoring and managing method and system
CN103313427A (en) Method and device for starting data network of mobile terminal and mobile terminal
CN106707777A (en) Intelligent home remote control system based on cloud system
CN105825462A (en) Smart city information system based on internet of things and cloud computing
CN204538819U (en) A kind of High-low voltage switch cabinet supervising device based on Internet of Things
CN106780248A (en) City internet of things equipment operation control system and method based on big data technology
CN103595566A (en) Method and device for detecting idle IP addresses
CN103391425A (en) Monitoring intellectualized modifying method and system based on time division multiplexing video analysis
CN104967632B (en) Webpage abnormal data processing method, data server and system
CN107370644A (en) Inter-linked controlling method, device, computer-readable recording medium and computer equipment
CN111726421A (en) Method and device for realizing interconnection of network target range and industrial control equipment
CN107948008A (en) A kind of modeling method for low-voltage network monitoring system
CN115190278B (en) Monitoring system and method based on digital converter station
EP3979563A1 (en) Inter-domain data interaction method and apparatus
CN103051683A (en) Method for establishing virtual ammeter centralized collecting concentrator
CN110049449A (en) A kind of location determining method, system and relevant apparatus
CN107426014A (en) A kind of management system of EOC equipment
CN103888289B (en) Gateway control method, gateway, management and control device and system
CN103731316B (en) A kind of flow-monitoring device and method
CN109743365A (en) Monitor the method, apparatus and system of transmission line of electricity

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20190723

RJ01 Rejection of invention patent application after publication