CN109379433B - Monitoring method and device, storage medium and Internet of things monitoring server - Google Patents

Monitoring method and device, storage medium and Internet of things monitoring server Download PDF

Info

Publication number
CN109379433B
CN109379433B CN201811334331.3A CN201811334331A CN109379433B CN 109379433 B CN109379433 B CN 109379433B CN 201811334331 A CN201811334331 A CN 201811334331A CN 109379433 B CN109379433 B CN 109379433B
Authority
CN
China
Prior art keywords
communication module
party
server
internet
communication
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.)
Active
Application number
CN201811334331.3A
Other languages
Chinese (zh)
Other versions
CN109379433A (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.)
Gree Electric Appliances Inc of Zhuhai
Original Assignee
Gree Electric Appliances Inc of Zhuhai
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 Gree Electric Appliances Inc of Zhuhai filed Critical Gree Electric Appliances Inc of Zhuhai
Priority to CN201811334331.3A priority Critical patent/CN109379433B/en
Publication of CN109379433A publication Critical patent/CN109379433A/en
Application granted granted Critical
Publication of CN109379433B publication Critical patent/CN109379433B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
    • H04L67/125Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks involving control of end-device applications over a network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/52Network services specially adapted for the location of the user terminal

Abstract

The invention discloses a monitoring method, a monitoring device, a storage medium and an Internet of things monitoring server, wherein the method comprises the following steps: determining whether the main server receives the identity identification information of the communication module; the communication module is used for establishing a first communication connection between the main server and the Internet of things equipment to be monitored; and if the identity identification information is received, after the physical address of the communication module is acquired according to the identity identification information, establishing second communication connection between the at least one third-party server and the Internet of things equipment based on the physical address so as to realize third-party monitoring of the operating parameters of the Internet of things equipment by the at least one third-party server. The scheme of the invention can solve the problem that the existing monitoring scheme is difficult to meet the monitoring requirement, and achieves the effect of meeting different monitoring requirements.

Description

Monitoring method and device, storage medium and Internet of things monitoring server
Technical Field
The invention belongs to the technical field of monitoring of the Internet of things, and particularly relates to a monitoring method, a monitoring device, a storage medium and an Internet of things monitoring server, in particular to an implementation method, a device, a storage medium and an Internet of things monitoring server of a multi-server platform based on L BS (location based service) positioning.
Background
L BS location technology, i.e. the geographical location of the BS can be queried by using the L AC (i.e. location area code) and CI (i.e. cell number) of the BS, e.g. the information of the BS location can be found on the website www.gprsspg.com. the prior solution using this technology is only to query the geographical location of the device, and does not refine the monitoring requirement according to the location information, i.e. the L BS location function in the prior art does not relate to the multi-server platform monitoring function based on L BS location.
For example, for some nationwide projects, the traditional scheme is difficult to meet the requirement due to the large number of devices to be monitored and different monitoring schemes and different server platforms in different regions.
Disclosure of Invention
The invention aims to provide a monitoring method, a monitoring device, a storage medium and an internet of things monitoring server aiming at the defects, so as to solve the problems that in the prior art, the number of devices required to be monitored is large, monitoring schemes in different areas and used server platforms are different, and monitoring requirements are difficult to meet, and achieve the effect of meeting different monitoring requirements.
The invention provides a monitoring method, which comprises the following steps: determining whether a main server to be monitored receives the set identity identification information of the communication module; the communication module is used for establishing a first communication connection between the main server and the Internet of things equipment to be monitored; if the identification information is received, after the physical address of the communication module is acquired according to the identification information, second communication connection between at least one third-party server corresponding to the monitoring requirement of at least one third party and the Internet of things equipment is established based on the physical address, so that third-party monitoring of the operating parameters of the Internet of things equipment by the at least one third-party server is realized.
Optionally, determining whether the main server to be monitored receives the set identification information of the communication module includes: determining whether the main server to be monitored is connected with a network established between the main server and a set communication module; the network connection, comprising: a TCP network connection; and if the network connection is established between the main server and the communication module, receiving the identity identification information of the communication module reported by the communication module through the network connection.
Optionally, obtaining the physical address of the communication module according to the identification information includes: sending a query request for querying a physical address of the communication module to a set query server according to the identity identification information; and receiving the physical address of the communication module returned by the inquiry server after the inquiry server inquires the identity based on the inquiry request.
Optionally, the communication module includes a GPRS module, a 2G module, a 3G module, a 4G module, and a 5G module, any of which is capable of being compatible with multiple communication protocols and/or multiple encryption manners, and/or the identification information includes an ICCID number of a SIM card of the communication module, and/or the operation parameter includes at least one of an on-off state, an operating temperature, and an operation mode, and/or the query server includes an L BS interface server.
Optionally, establishing a second communication connection between the at least one third-party server and the internet of things device, which corresponds to the at least one monitoring requirement, based on the physical address includes: performing geographical location configuration on at least one third-party server corresponding to at least one monitoring requirement based on the physical address to obtain geographical location configuration information of a group of third-party servers, which are the same as the geographical location of the physical address, in the at least one third-party server; and sending the geographical position configuration information to the communication module so as to realize that the communication module establishes second communication connection with each third-party server in a group of third-party servers based on the geographical position configuration information, and further realize that each third-party server in the group of third-party servers monitors the third party of the Internet of things equipment.
Optionally, the performing, based on the physical address, a geographic location configuration on at least one third-party server corresponding to at least one monitoring requirement includes: and configuring N third-party servers, which are the same as the geographic position of the physical address, in at least one third-party server corresponding to at least one monitoring requirement into a group of third-party servers so as to obtain geographic position configuration information of the group of third-party servers based on the physical address.
Optionally, the number of the communication modules is more than one; wherein, establish a second communication connection between the at least one third-party server corresponding to the at least one monitoring requirement and the internet of things device based on the physical address, further comprising: performing geographical location configuration on at least one third-party server corresponding to at least one monitoring requirement based on the physical address of each communication module in more than one communication module to obtain geographical location configuration information of each group of third-party servers, which is identical to the geographical location of the physical address of each communication module, in at least one third-party server; sending the geographical position configuration information of each group of third-party servers to each communication module to realize that each communication module establishes second communication connection with each third-party server in each group of third-party servers based on the geographical position configuration information of each group of third-party servers, and further realize that each third-party server in each group of third-party servers monitors the third party of the Internet of things equipment.
Optionally, the method further comprises: establishing a first communication connection between a set main server and the Internet of things equipment to be monitored; wherein, establish the main server self that waits to monitor and treat the first communication connection between the thing networking device of monitoring, include: determining whether a dialing success message of the communication module connected with a base station for dialing is received; the dialing is carried out by connecting the communication module with a base station after establishing wired or wireless connection between the communication module and the Internet of things equipment to be monitored after being powered on; and if the successful dialing message is received, establishing network connection with the communication module through the base station, and further realizing first communication connection between the main server and the Internet of things equipment to be monitored.
In accordance with the above method, another aspect of the present invention provides a monitoring apparatus, including: the system comprises an acquisition unit, a communication module and a monitoring unit, wherein the acquisition unit is used for determining whether a main server to be monitored receives the set identity identification information of the communication module; the communication module is used for establishing a first communication connection between the main server and the Internet of things equipment to be monitored; and the control unit is used for establishing second communication connection between at least one third-party server and the Internet of things equipment corresponding to the monitoring requirement of at least one third party based on the physical address after the physical address of the communication module is acquired according to the identity identification information if the identity identification information is received, so that third-party monitoring of the operating parameters of the Internet of things equipment by at least one third-party server is realized.
Optionally, the determining, by the obtaining unit, whether the main server to be monitored receives the set identification information of the communication module includes: determining whether the main server to be monitored is connected with a network established between the main server and a set communication module; the network connection, comprising: a TCP network connection; and if the network connection is established between the main server and the communication module, receiving the identity identification information of the communication module reported by the communication module through the network connection.
Optionally, the obtaining, by the control unit, the physical address of the communication module according to the identification information includes: sending a query request for querying a physical address of the communication module to a set query server according to the identity identification information; and receiving the physical address of the communication module returned by the inquiry server after the inquiry server inquires the identity based on the inquiry request.
Optionally, the communication module includes a GPRS module, a 2G module, a 3G module, a 4G module, and a 5G module, any of which is capable of being compatible with multiple communication protocols and/or multiple encryption manners, and/or the identification information includes an ICCID number of a SIM card of the communication module, and/or the operation parameter includes at least one of an on-off state, an operating temperature, and an operation mode, and/or the query server includes an L BS interface server.
Optionally, the establishing, by the control unit, a second communication connection between the at least one third-party server corresponding to the at least one monitoring requirement and the internet of things device based on the physical address includes: performing geographical location configuration on at least one third-party server corresponding to at least one monitoring requirement based on the physical address to obtain geographical location configuration information of a group of third-party servers, which are the same as the geographical location of the physical address, in the at least one third-party server; and sending the geographical position configuration information to the communication module so as to realize that the communication module establishes second communication connection with each third-party server in a group of third-party servers based on the geographical position configuration information, and further realize that each third-party server in the group of third-party servers monitors the third party of the Internet of things equipment.
Optionally, the performing, by the control unit, a geographical location configuration on at least one third-party server corresponding to at least one monitoring requirement based on the physical address includes: and configuring N third-party servers, which are the same as the geographic position of the physical address, in at least one third-party server corresponding to at least one monitoring requirement into a group of third-party servers so as to obtain geographic position configuration information of the group of third-party servers based on the physical address.
Optionally, the number of the communication modules is more than one; wherein, the control unit establishes a second communication connection between the at least one third-party server corresponding to the at least one monitoring requirement and the internet of things device based on the physical address, and further comprises: performing geographical location configuration on at least one third-party server corresponding to at least one monitoring requirement based on the physical address of each communication module in more than one communication module to obtain geographical location configuration information of each group of third-party servers, which is identical to the geographical location of the physical address of each communication module, in at least one third-party server; sending the geographical position configuration information of each group of third-party servers to each communication module to realize that each communication module establishes second communication connection with each third-party server in each group of third-party servers based on the geographical position configuration information of each group of third-party servers, and further realize that each third-party server in each group of third-party servers monitors the third party of the Internet of things equipment.
Optionally, the method further comprises: the control unit is also used for establishing a first communication connection between the set main server and the Internet of things equipment to be monitored; wherein, the control unit establishes a communication connection between the main server self to be monitored and the internet of things equipment to be monitored, and the communication connection comprises: determining whether a dialing success message of the communication module connected with a base station for dialing is received; the dialing is carried out by connecting the communication module with a base station after establishing wired or wireless connection between the communication module and the Internet of things equipment to be monitored after being powered on; and if the successful dialing message is received, establishing network connection with the communication module through the base station, and further realizing first communication connection between the main server and the Internet of things equipment to be monitored.
In match with the above device, another aspect of the present invention provides an internet of things monitoring server, including: the monitoring device described above.
In accordance with the above method, a further aspect of the present invention provides a storage medium comprising: the storage medium has stored therein a plurality of instructions; the instructions are used for loading and executing the monitoring method by the processor.
In match with the above method, a further aspect of the present invention provides an internet of things monitoring server, including: a processor for executing a plurality of instructions; a memory to store a plurality of instructions; wherein the instructions are used for being stored by the memory and loaded and executed by the processor to perform the monitoring method.
According to the scheme, different monitoring schemes based on L BS positioning are realized by combining L BS positioning function, a communication module and a third-party server, various monitoring requirements can be met, and monitoring convenience and flexibility can be improved.
Furthermore, according to the scheme of the invention, different monitoring schemes are adopted according to the geographical position of the monitored Internet of things equipment, so that the individualized requirements of a plurality of different third parties are met, the monitoring convenience is good, and the use experience of a user is good.
Furthermore, the proposal of the invention adopts L BS positioning and the compatibility of the communication module to a plurality of protocols, so that the monitoring to the personalized requirements of a plurality of third party platforms becomes feasible, and the monitoring is more convenient and more reliable.
Furthermore, according to the scheme of the invention, the personalized monitoring requirements of the multi-server platform are realized through L BS positioning, so that the monitoring of the personalized requirements of a plurality of third-party platforms becomes feasible, the monitoring convenience is good, and the use experience of users is good.
Furthermore, the proposal of the invention adopts L BS positioning and communication module to be compatible with a plurality of protocols, adopts different monitoring schemes to meet the individual requirements of a plurality of different third parties, and has more flexible and convenient monitoring mode and wider application range.
Therefore, according to the scheme of the invention, different monitoring schemes are adopted according to the geographical position of the monitored Internet of things equipment, so that the personalized monitoring requirement of the multi-server platform is realized through L BS positioning, and the problems that in the prior art, the number of equipment to be monitored is large, the monitoring schemes in different areas and the used server platforms are different, and the monitoring requirement is difficult to meet are solved, so that the defects of large monitoring difficulty, inconvenience in use and small application range in the prior art are overcome, and the beneficial effects of small monitoring difficulty, convenience in use and wide application range are realized.
Additional features and advantages of the invention will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention.
The technical solution of the present invention is further described in detail by the accompanying drawings and embodiments.
Drawings
FIG. 1 is a schematic flow chart diagram illustrating an embodiment of a monitoring method according to the present invention;
fig. 2 is a schematic flow chart illustrating an embodiment of determining whether the main server to be monitored receives the set identification information of the communication module in the method of the present invention;
fig. 3 is a schematic flowchart illustrating an embodiment of obtaining a physical address of the communication module according to the identification information in the method of the present invention;
fig. 4 is a schematic flowchart of an embodiment of establishing a second communication connection between the at least one third-party server and the internet of things device corresponding to the at least one monitoring requirement based on the physical address in the method of the present invention;
fig. 5 is a schematic flow chart illustrating an embodiment of establishing a second communication connection between at least one third-party server and the internet of things device for at least one communication module in the method of the present invention;
fig. 6 is a schematic flow chart illustrating an embodiment of establishing a first communication connection between the main server to be monitored and the internet of things device to be monitored in the method of the present invention;
FIG. 7 is a schematic structural diagram of an embodiment of a monitoring device according to the present invention;
fig. 8 is a schematic system architecture diagram of an embodiment of a monitoring system of an internet of things monitoring server according to the present invention;
fig. 9 is a schematic monitoring flow diagram of a monitoring system where the monitoring server of the internet of things is located according to an embodiment of the present invention.
The reference numbers in the embodiments of the present invention are as follows, in combination with the accompanying drawings:
the system comprises 1-Internet of things equipment, 2-communication module, 3-base station, 4-main server, 5-third party server, 6-L BS interface server, 102-acquisition unit and 104-control unit.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the technical solutions of the present invention will be clearly and completely described below with reference to the specific embodiments of the present invention and the accompanying drawings. It is to be understood that the described embodiments are merely exemplary of the invention, and not restrictive of the full scope of the invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
In the prior document with publication number CN105892373A, an internet of things control system for remote L BS positioning navigation is disclosed, which only uses L BS positioning function to realize the corresponding relationship between L ED lamp and address, and does not realize remote monitoring of equipment or individualized monitoring requirements according to different areas, wherein L BS positioning uses L ED code and corresponding information of position and map information, and then combines with a navigation server to position L ED lamp, the navigation server stores L ED lamp code and map information before positioning, the limitation is large, and in the environment without wireless lan, the positioning function cannot be realized.
In the prior document with publication number CN108267768A, a multi-positioning mode vehicle positioning system is disclosed, which uses a combination of satellite positioning and mobile phone L BS positioning to improve positioning accuracy, but it does not mention personalized monitoring using the acquired positioning information, and if more than two subjects (vehicle owner/fleet manager/internet of vehicles company) need to monitor the vehicle, the requirement cannot be met.
According to an embodiment of the present invention, a monitoring method is provided, as shown in fig. 1, which is a schematic flow chart of an embodiment of the method of the present invention. The monitoring method can comprise the following steps: step S110 to step S130.
At step S110, it is determined whether the host server 4 to be monitored itself receives the set identification information of the communication module 2. The communication module 2 may be configured to establish a first communication connection between the main server 4 and the internet of things device 1 to be monitored.
For example: the internet of things device 1 may refer to: such as refrigerators, air conditioners, washing machines, etc., require monitoring of the operating state.
For example: the main server 4 may refer to: the server connected by default to the communication module 2 is a server that is used for receiving, storing and analyzing monitoring data by a main body (such as a government department/company/personal end) of the device needing to monitor the internet of things.
Specifically, the communication module 2 may include: any one of the GPRS module, the 2G module, the 3G module, the 4G module and the 5G module can be compatible with a plurality of communication protocols and/or a plurality of encryption modes.
For example: the communication module can be: the method is applicable to communication equipment compatible with various protocols, different encryption modes and the like.
For example: the communication module 2 may be: and the GPRS module, the 3G/4G module or the 5G module are responsible for uploading data of the Internet of things equipment 1 to the server.
From this, through the communication module of multiform, be favorable to promoting convenience and the flexibility of connecting the communication in the thing networking device monitoring process, and application scope is wide.
Specifically, the identification information may include: the ICCID number of the SIM card of the communication module 2.
For example: the geographical location of the device, including information such as provincial and urban streets, is queried according to the ICCID number (integrated circuit card identification, i.e., the SIM card number) of the SIM card of the communication module.
Therefore, the ICCID number of the SIM card of the communication module is used as the identity identification information of the communication module, so that the accuracy and convenience of identity identification are improved.
Optionally, with reference to a flowchart of an embodiment of determining whether the main server 4 to be monitored receives the set identification information of the communication module 2 in the method of the present invention shown in fig. 2, a specific process of determining whether the main server 4 to be monitored receives the set identification information of the communication module 2 in step S110 may include: step S210 and step S220.
Step S210, during the process of establishing the first communication connection between the main server 4 to be monitored and the internet of things device 1 to be monitored, or after establishing the first communication connection between the main server 4 to be monitored and the internet of things device 1 to be monitored, determining whether the main server 4 to be monitored is connected to the set communication module 2. The network connection may include: a TCP network connection.
Step S220, if the network connection has been established between the main server 4 itself and the communication module 2, receiving the identification information of the communication module 2 reported by the communication module 2 through the network connection.
For example, as shown in fig. 9, after the communication module 2 establishes a connection with the main server 4, it needs to report the ICCID number of the SIM card in the communication module 2 to the main server 4, and after the main server 4 receives the number, it queries L the BS interface server 6, and the latter (e.g. L BS interface server 6) returns the physical address of the communication module 2, such as information of the city and provincial streets.
Therefore, under the condition that the network connection is established between the main server and the communication module, the identity recognition information reported by the communication module through the network connection is received, so that the main server obtains the identity recognition information of the communication module, and the method is simple and convenient and has high reliability.
In step S120, if the identification information is received, after the physical address of the communication module (2) is obtained according to the identification information, a second communication connection between the at least one third-party server (5) and the internet of things device (1) corresponding to the monitoring requirement of the at least one third party is established based on the physical address, so as to realize third-party monitoring of the operating parameter of the internet of things device (1) by the at least one third-party server (5).
For example: the monitoring requirement of the third party is negotiated in advance, and after the communication module is connected to the main server, the main server acquires the physical address of the communication module. And then the main server sets a communication module to be connected with a third-party server corresponding to the geographical position according to different physical addresses.
For another example: if the identity identification information is received, determining whether at least one monitoring requirement for the internet of things equipment 1 sent by at least one third-party server 5 is received or not after the physical address of the communication module 2 is acquired according to the identity identification information; and if at least one monitoring requirement is received, establishing a second communication connection between the at least one third-party server 5 and the internet of things device 1 corresponding to the monitoring requirement of at least one third party based on the physical address, so as to realize third-party monitoring of the operating parameters of the internet of things device 1 by the at least one third-party server 5. Wherein one third party server 5 corresponds to one monitoring requirement. The multiple monitoring requirements may be different monitoring requirements.
For example, different monitoring schemes based on L BS positioning can be realized by combining L BS positioning function, a communication module and a third-party server, for example, different monitoring schemes can be adopted according to the geographical position of the monitored Internet of things equipment to meet the personalized requirements of a plurality of different third parties, so that the monitoring of the personalized requirements of a plurality of third-party platforms becomes feasible due to the adoption of L BS positioning and the compatibility of the communication module to a plurality of protocols, different regions can adopt different communication protocols (such as standard modbus protocol, custom protocol and the like), encryption algorithms (symmetric encryption, asymmetric encryption and the like), monitoring contents (all data, partial data) and the like according to respective requirements.
For example: as shown in fig. 8, the communication module connects a plurality of servers (generally two servers, such as a main server and a third-party server) according to the requirement. The communication module is connected through different TCP, and the data sent to different servers are different, so that the monitoring requirements of different third parties are met. As shown in fig. 9, after the communication module 2 is connected to the third-party platform, a normal monitoring process can be started, such as monitoring parameters of the on-off state, temperature, operation mode, and the like of the internet of things device. There may be multiple third-party platforms, for example, the third-party platform a represents a beijing server platform, the third-party platform B represents a tianjin platform, and the protocols and monitoring contents adopted by different platforms may be different.
For example: the third-party server 5 may refer to: in addition to the main server, other subjects (such as government/company/personal end) that need to monitor the internet of things device 1 are generally distinguished according to geographical locations, such as servers in beijing, servers in tianjin, and the like.
From this, through under the condition that the host server received communication module's identification information, obtain communication module's physical address according to this identification information, and then establish the communication connection between third party server and the thing networking device based on this physical address under the condition of the third party control demand to thing networking device that at least one third party server of receiving sent, thereby realize the third party control of third party server to thing networking device, greatly reduced the realization degree of difficulty of different control demands, the convenience and the reliability of third party control have also been promoted.
Specifically, the operating parameters may include: at least one of on-off state, operating temperature and running mode.
From this, through the control to the operation parameter of the multiple form of thing networking device, be favorable to promoting accurate nature and the variety to thing networking device running state control to promote user's use convenience and use experience better.
Optionally, with reference to a schematic flow chart of an embodiment of the method of the present invention shown in fig. 3, where the physical address of the communication module 2 is obtained according to the identification information, further describing a specific process of obtaining the physical address of the communication module 2 according to the identification information in step S120, the specific process may include: step S310 and step S320.
Step S310, enabling the main server 4 to send a query request for querying the physical address of the communication module 2 to a set query server according to the identification information. And the number of the first and second groups,
the query server may include L BS interface server 6.
For example, L BS interface server 6 may refer to a server for inquiring the physical location of a base station according to SIM card information (e.g., ICCID), such as a mobile-provided base station inquiry server.
Therefore, the L BS interface server is used for inquiring the physical address, the positioning accuracy is good, and the reliability of the inquiry result can be ensured.
Step S320, enabling the main server 4 to receive the physical address of the communication module 2 returned by the query server after performing the identity query based on the query request.
Therefore, the main server sends the query request to the query server according to the acquired identification information of the communication address, and then receives the physical address of the communication address returned by the query server after the identification query is carried out on the basis of the identification information, so that the main server acquires the physical address of the communication module, and the acquired physical address is good in accuracy and high in reliability.
Optionally, with reference to a flowchart of an embodiment of establishing a second communication connection between the at least one third-party server 5 corresponding to the at least one monitoring requirement and the internet of things device 1 based on the physical address in the method shown in fig. 4, a specific process of establishing a second communication connection between the at least one third-party server 5 corresponding to the at least one monitoring requirement and the internet of things device 1 based on the physical address in step S130 may include: step S410 and step S420.
Step S410, performing geographic location configuration on at least one third-party server 5 corresponding to at least one monitoring requirement based on the physical address, to obtain geographic location configuration information of a group of third-party servers 5 in the at least one third-party server 5, where the geographic location of the group is the same as the geographic location of the physical address.
More optionally, the step S410 of configuring the geographic location of the at least one third-party server 5 corresponding to the at least one monitoring requirement based on the physical address may include: and configuring N third-party servers 5, which are the same as the geographic position of the physical address, in at least one third-party server 5 corresponding to at least one monitoring requirement into a group of third-party servers 5, so as to obtain geographic position configuration information of the group of third-party servers 5 based on the physical address, wherein N is a natural number. For example: configuring N third party servers 5 corresponding to N monitoring requirements with the same geographic location as the physical address in the at least one monitoring requirement as a group of third party servers 5 to obtain geographic location configuration information of the group of third party servers 5 based on the physical address.
For example: after the main server 4 obtains the physical address of the communication module 2, according to the requirement, modules (such as the communication module 2) with different geographic positions are configured to be connected with different third party server 5 platforms (connected through an IP/domain name/port). For example, the communication modules in Beijing, Tianjin and Hebei Shizhuang are respectively connected with a third-party platform A, a third-party platform B and a third-party platform C. For some personalized requirements, such as different safety, platform adopted protocols and the like, functions of encryption, analysis of different protocols and the like are made in the internal program of the communication module 2, and when the platform configuration module of the main server 4 is connected with a third-party platform, the personalized configuration requirements can be sent to the communication module 2 through TCP connection, so that the requirements of different platforms can be met.
Therefore, the plurality of third-party servers which are based on the monitoring requirements and have the same geographical positions as the physical address of the communication module are configured into the group of third-party servers, so that the geographical positions of the group of third-party servers are configured, the configuration mode is simple and convenient, the group of third-party servers can monitor different requirements of the Internet of things equipment through the communication module, and the reliability and the flexibility are greatly improved.
Step S420, sending the geographic location configuration information to the communication module 2, so as to enable the communication module 2 to establish a second communication connection with each third-party server 5 in a group of third-party servers 5 based on the geographic location configuration information, thereby enabling each third-party server 5 in the group of third-party servers 5 to monitor a third party of the internet of things device 1.
Therefore, the geographic position configuration is carried out on the plurality of third-party servers corresponding to the monitoring requirements based on the acquired physical address of the communication module, and then the communication connection between the communication module and each third-party server in the group of third-party servers is realized according to the acquired geographic position configuration information, so that the third-party monitoring of the internet of things equipment by each third-party server in the group of third-party servers is realized, namely the individualized monitoring of the internet of things equipment by the third-party servers with different monitoring requirements is realized, and the realization difficulty is small and the reliability is high.
Wherein, the number of the communication modules 2 is more than one.
Correspondingly, the physical address may include: the physical address of each of the communication modules 2 in one or more of the communication modules 2. A set of said third party servers 5 may comprise: and in at least one third-party server 5 corresponding to at least one monitoring requirement, a group of third-party servers 5 are obtained by performing geographic position configuration on the basis of the physical address of each communication module 2 in more than one communication module 2.
Further optionally, the establishing, in step S130, a second communication connection between the at least one third-party server 5 and the internet of things device 1, where the second communication connection corresponds to at least one monitoring requirement based on the physical address, may further include: and establishing a second communication connection between the at least one third-party server 5 and the internet of things device 1 aiming at the at least one communication module.
With reference to the flowchart of fig. 5, in an embodiment of the method of the present invention, which is directed to establishing a second communication connection between at least one third-party server 5 and the internet of things device 1 for at least one communication module, a specific process of establishing a second communication connection between at least one third-party server 5 and the internet of things device 1 for at least one communication module is further described, and may include: step S510 and step S520.
Step S510, performing geographic location configuration on at least one third-party server 5 corresponding to at least one monitoring requirement based on the physical address of each communication module 2 in more than one communication module 2, to obtain geographic location configuration information of each group of third-party servers 5 in the at least one third-party server 5, where the geographic location of the physical address of each communication module 2 is the same as that of each third-party server 5.
Step S520, sending the geographical location configuration information of each group of third party servers 5 to each communication module 2, so as to establish a second communication connection between each communication module 2 and each third party server 5 in each group of third party servers 5 based on the geographical location configuration information of each group of third party servers 5, thereby realizing third party monitoring of the internet of things device 1 by each third party server 5 in each group of third party servers 5.
From this, through establish at least one to at least one communication module third party server 5 with the second communication between thing networking device 1 is connected, can realize that a plurality of third party servers of different control demands based on different physical addresses are to the third party control of thing networking device, and the flexibility of control is better, application scope is wider, and realizes that the degree of difficulty is little, user experience is good.
In an alternative embodiment, the method may further include: before determining whether the main server 4 to be monitored receives the set identity identification information of the communication module 2, establishing a first communication connection between the set main server 4 and the internet of things device 1 to be monitored.
Optionally, with reference to a flowchart of an embodiment of establishing the first communication connection between the main server 4 to be monitored and the internet of things device 1 to be monitored in the method of the present invention shown in fig. 6, a specific process of establishing the first communication connection between the main server 4 to be monitored and the internet of things device 1 to be monitored is further described, which may include: step S610 and step S620.
Step S610, determining whether a dialing success message fed back by the set base station 3 is received when the communication module 2 connects to the base station 3 for dialing. The dialing is performed by connecting the communication module 2 with the base station 3 after establishing wired or wireless connection between the internet of things device 1 to be monitored and the communication module 2 after being powered on.
Step S620, if the successful dialing message is received, establishing a network connection with the communication module 2 through the base station 3, so as to implement a first communication connection between the main server 4 itself and the internet of things device 1 to be monitored.
For example: as shown in fig. 9, the internet of things device 1 is powered on, and establishes communication with the communication module 2 (using a communication line), then the communication module 2 is connected to the base station 3 for dialing, and after the dialing is successful, establishes a TCP network connection with the main server 4. If the dialing fails, the dialing is continued, and the re-dialing is automatically restarted after the dialing fails for a period of time (such as 5 min).
Therefore, under the condition that the main server receives the rejection success message that the communication module is connected with the base station for dialing after the internet of things equipment is powered on, the network connection between the main server and the communication module is established through the base station, so that the first communication connection between the main server and the internet of things equipment is established, the monitoring of the main server on the internet of things equipment is realized, the address configuration of the main server on a third-party server based on the personalized monitoring requirement is realized, and the monitoring convenience and the reliability of different servers on the internet of things equipment are better.
Through a large amount of experimental verifications, adopt the technical scheme of this embodiment, through combining L BS locate function, communication module, third party server, realized L BS location-based different monitoring schemes, can realize multiple control demands, the convenience and the flexibility of control all can promote.
According to the embodiment of the invention, a monitoring device corresponding to the monitoring method is also provided. Referring to fig. 7, a schematic diagram of an embodiment of the apparatus of the present invention is shown. The monitoring device may include: an acquisition unit 102 and a control unit 104.
In an optional example, the obtaining unit 102 may be configured to determine whether the host server 4 to be monitored receives the set identification information of the communication module 2. The communication module 2 may be configured to establish a first communication connection between the main server 4 and the internet of things device 1 to be monitored. The specific functions and processes of the acquiring unit 102 are referred to in step S110.
For example: the internet of things device 1 may refer to: such as refrigerators, air conditioners, washing machines, etc., require monitoring of the operating state.
For example: the main server 4 may refer to: the server connected by default to the communication module 2 is a server that is used for receiving, storing and analyzing monitoring data by a main body (such as a government department/company/personal end) of the device needing to monitor the internet of things.
Specifically, the communication module 2 may include: any one of the GPRS module, the 2G module, the 3G module, the 4G module and the 5G module can be compatible with a plurality of communication protocols and/or a plurality of encryption modes.
For example: the communication module can be: the method is applicable to communication equipment compatible with various protocols, different encryption modes and the like.
For example: the communication module 2 may be: and the GPRS module, the 3G/4G module or the 5G module are responsible for uploading data of the Internet of things equipment 1 to the server.
From this, through the communication module of multiform, be favorable to promoting convenience and the flexibility of connecting the communication in the thing networking device monitoring process, and application scope is wide.
Specifically, the identification information may include: the ICCID number of the SIM card of the communication module 2.
For example: the geographical location of the device, including information such as provincial and urban streets, is queried according to the ICCID number (integrated circuit card identification, i.e., the SIM card number) of the SIM card of the communication module.
Therefore, the ICCID number of the SIM card of the communication module is used as the identity identification information of the communication module, so that the accuracy and convenience of identity identification are improved.
The apparatus according to claim 9, wherein the obtaining unit 102 determines whether the host server 4 to be monitored itself receives the set identification information of the communication module 2, and may include:
the obtaining unit 102 may be further specifically configured to determine whether the main server 4 to be monitored is already connected to the set communication module 2 in a process of establishing a first communication connection between the main server 4 to be monitored and the internet of things device 1 to be monitored, or after establishing a first communication connection between the main server 4 to be monitored and the internet of things device 1 to be monitored. The network connection may include: a TCP network connection. The specific functions and processes of the acquisition unit 102 are also referred to in step S210.
The obtaining unit 102 may be further configured to receive, if the network connection is established between the main server 4 and the communication module 2, the identification information of the communication module 2 reported by the communication module 2 through the network connection. The specific function and processing of the acquisition unit 102 are also referred to in step S220.
For example, as shown in fig. 9, after the communication module 2 establishes a connection with the main server 4, it needs to report the ICCID number of the SIM card in the communication module 2 to the main server 4, and after the main server 4 receives the number, it queries L the BS interface server 6, and the latter (e.g. L BS interface server 6) returns the physical address of the communication module 2, such as information of the city and provincial streets.
Therefore, under the condition that the network connection is established between the main server and the communication module, the identity recognition information reported by the communication module through the network connection is received, so that the main server obtains the identity recognition information of the communication module, and the method is simple and convenient and has high reliability.
In an optional example, the control unit 104 may be configured to, if the identification information is received, after a physical address of the communication module (2) is acquired according to the identification information, establish a second communication connection between the at least one third-party server (5) and the internet of things device (1) corresponding to a monitoring requirement of at least one third party based on the physical address, so as to implement third-party monitoring of the operating parameter of the internet of things device (1) by the at least one third-party server (5).
For example: the monitoring requirement of the third party is negotiated in advance, and after the communication module is connected to the main server, the main server acquires the physical address of the communication module. And then the main server sets a communication module to be connected with a third-party server corresponding to the geographical position according to different physical addresses.
For another example: the control unit 104 may be configured to, if the identification information is received, determine whether at least one monitoring requirement for the internet of things device 1 sent by at least one third-party server 5 is received after acquiring the physical address of the communication module 2 according to the identification information; and if at least one monitoring requirement is received, establishing a second communication connection between the at least one third-party server 5 and the internet of things device 1 corresponding to the monitoring requirement of at least one third party based on the physical address, so as to realize third-party monitoring of the operating parameters of the internet of things device 1 by the at least one third-party server 5. Wherein one third party server 5 corresponds to one monitoring requirement. The multiple monitoring requirements may be different monitoring requirements. The specific function and processing of the control unit 104 are referred to in step S120.
For example, different monitoring schemes based on L BS positioning can be realized by combining L BS positioning function, a communication module and a third-party server, for example, different monitoring schemes can be adopted according to the geographical position of the monitored Internet of things equipment to meet the personalized requirements of a plurality of different third parties, so that the monitoring of the personalized requirements of a plurality of third-party platforms becomes feasible due to the adoption of L BS positioning and the compatibility of the communication module to a plurality of protocols, different regions can adopt different communication protocols (such as standard modbus protocol, custom protocol and the like), encryption algorithms (symmetric encryption, asymmetric encryption and the like), monitoring contents (all data, partial data) and the like according to respective requirements.
For example: as shown in fig. 8, the communication module connects a plurality of servers (generally two servers, such as a main server and a third-party server) according to the requirement. The communication module is connected through different TCP, and the data sent to different servers are different, so that the monitoring requirements of different third parties are met. As shown in fig. 9, after the communication module 2 is connected to the third-party platform, a normal monitoring process can be started, such as monitoring parameters of the on-off state, temperature, operation mode, and the like of the internet of things device. There may be multiple third-party platforms, for example, the third-party platform a represents a beijing server platform, the third-party platform B represents a tianjin platform, and the protocols and monitoring contents adopted by different platforms may be different.
For example: the third-party server 5 may refer to: in addition to the main server, other subjects (such as government/company/personal end) that need to monitor the internet of things device 1 are generally distinguished according to geographical locations, such as servers in beijing, servers in tianjin, and the like.
From this, through under the condition that the host server received communication module's identification information, obtain communication module's physical address according to this identification information, and then establish the communication connection between third party server and the thing networking device based on this physical address under the condition of the third party control demand to thing networking device that at least one third party server of receiving sent, thereby realize the third party control of third party server to thing networking device, greatly reduced the realization degree of difficulty of different control demands, the convenience and the reliability of third party control have also been promoted.
Specifically, the operating parameters may include: at least one of on-off state, operating temperature and running mode.
From this, through the control to the operation parameter of the multiple form of thing networking device, be favorable to promoting accurate nature and the variety to thing networking device running state control to promote user's use convenience and use experience better.
Optionally, the acquiring, by the control unit 104, the physical address of the communication module 2 according to the identification information may include:
the control unit 104 may be further configured to enable the main server 4 to send, according to the identification information, an inquiry request that can be used for inquiring a physical address of the communication module 2 to a set inquiry server. The specific functions and processes of the control unit 104 are also referred to in step S310. And the number of the first and second groups,
the query server may include L BS interface server 6.
For example, L BS interface server 6 may refer to a server for inquiring the physical location of a base station according to SIM card information (e.g., ICCID), such as a mobile-provided base station inquiry server.
Therefore, the L BS interface server is used for inquiring the physical address, the positioning accuracy is good, and the reliability of the inquiry result can be ensured.
The control unit 104 may be further configured to enable the main server 4 to receive the physical address of the communication module 2 returned by the query server after performing the identity query based on the query request. The specific functions and processes of the control unit 104 are also referred to in step S320.
Therefore, the main server sends the query request to the query server according to the acquired identification information of the communication address, and then receives the physical address of the communication address returned by the query server after the identification query is carried out on the basis of the identification information, so that the main server acquires the physical address of the communication module, and the acquired physical address is good in accuracy and high in reliability.
Optionally, the establishing, by the control unit 104, a second communication connection between the at least one third-party server 5 and the internet of things device 1, which corresponds to the at least one monitoring requirement, based on the physical address, may include:
the control unit 104 may be further configured to perform geographic location configuration on at least one third-party server 5 corresponding to at least one monitoring requirement based on the physical address, so as to obtain geographic location configuration information of a group of third-party servers 5 in the at least one third-party server 5, where the geographic location of the group of third-party servers is the same as the geographic location of the physical address. The specific functions and processes of the control unit 104 are also referred to in step S410.
More optionally, the controlling unit 104 performs geographic location configuration on at least one third-party server 5 corresponding to at least one monitoring requirement based on the physical address, and may include: the control unit 104 may be further configured to configure, as a group of third-party servers 5, N third-party servers 5, which have the same geographic location as the physical address, in at least one third-party server 5 corresponding to at least one monitoring requirement, so as to obtain geographic location configuration information of a group of third-party servers 5 based on the physical address. For example: configuring N third party servers 5 corresponding to N monitoring requirements with the same geographic location as the physical address in the at least one monitoring requirement as a group of third party servers 5 to obtain geographic location configuration information of the group of third party servers 5 based on the physical address.
For example: after the main server 4 obtains the physical address of the communication module 2, according to the requirement, modules (such as the communication module 2) with different geographic positions are configured to be connected with different third party server 5 platforms (connected through an IP/domain name/port). For example, the communication modules in Beijing, Tianjin and Hebei Shizhuang are respectively connected with a third-party platform A, a third-party platform B and a third-party platform C. For some personalized requirements, such as different safety, platform adopted protocols and the like, functions of encryption, analysis of different protocols and the like are made in the internal program of the communication module 2, and when the platform configuration module of the main server 4 is connected with a third-party platform, the personalized configuration requirements can be sent to the communication module 2 through TCP connection, so that the requirements of different platforms can be met.
Therefore, the plurality of third-party servers which are based on the monitoring requirements and have the same geographical positions as the physical address of the communication module are configured into the group of third-party servers, so that the geographical positions of the group of third-party servers are configured, the configuration mode is simple and convenient, the group of third-party servers can monitor different requirements of the Internet of things equipment through the communication module, and the reliability and the flexibility are greatly improved.
The control unit 104 may be further specifically configured to send the geographic location configuration information to the communication module 2, so as to enable the communication module 2 to establish a second communication connection with each third-party server 5 in a set of third-party servers 5 based on the geographic location configuration information, and further enable each third-party server 5 in a set of third-party servers 5 to monitor a third party of the internet of things device 1. The specific function and processing of the control unit 104 are also referred to in step S420.
Therefore, the geographic position configuration is carried out on the plurality of third-party servers corresponding to the monitoring requirements based on the acquired physical address of the communication module, and then the communication connection between the communication module and each third-party server in the group of third-party servers is realized according to the acquired geographic position configuration information, so that the third-party monitoring of the internet of things equipment by each third-party server in the group of third-party servers is realized, namely the individualized monitoring of the internet of things equipment by the third-party servers with different monitoring requirements is realized, and the realization difficulty is small and the reliability is high.
Wherein, the number of the communication modules 2 is more than one.
Correspondingly, the physical address may include: the physical address of each of the communication modules 2 in one or more of the communication modules 2. A set of said third party servers 5 may comprise: and in at least one third-party server 5 corresponding to at least one monitoring requirement, a group of third-party servers 5 are obtained by performing geographic position configuration on the basis of the physical address of each communication module 2 in more than one communication module 2.
Further optionally, the controlling unit 104 establishes a second communication connection between the at least one third-party server 5 and the internet of things device 1, which corresponds to the at least one monitoring requirement, based on the physical address, and may further include: the process of establishing the second communication connection between the at least one third-party server 5 and the internet of things device 1 for the at least one communication module specifically includes the following steps:
the control unit 104 may be further configured to perform geographic location configuration on at least one third-party server 5 corresponding to at least one monitoring requirement based on a physical address of each of the more than one communication modules 2, so as to obtain geographic location configuration information of each group of third-party servers 5 in the at least one third-party server 5, where the geographic location of the physical address of each communication module 2 is the same as that of each group of third-party servers 5. The specific functions and processes of the control unit 104 are also referred to in step S510.
The control unit 104 may be further specifically configured to send the geographic position configuration information of each group of the third-party servers 5 to each communication module 2, so that each communication module 2 establishes a second communication connection with each third-party server 5 in each group of the third-party servers 5 based on the geographic position configuration information of each group of the third-party servers 5, and further, each third-party server 5 in each group of the third-party servers 5 monitors the third party of the internet of things device 1. The specific functions and processes of the control unit 104 are also referred to in step S520.
From this, through establish at least one to at least one communication module third party server 5 with the second communication between thing networking device 1 is connected, can realize that a plurality of third party servers of different control demands based on different physical addresses are to the third party control of thing networking device, and the flexibility of control is better, application scope is wider, and realizes that the degree of difficulty is little, user experience is good.
In an alternative embodiment, the method may further include: the control unit 104 may be further configured to establish a first communication connection between the set main server 4 and the to-be-monitored internet of things device 1 before determining whether the main server 4 to be monitored itself receives the set identification information of the communication module 2.
Optionally, the establishing, by the control unit 104, a first communication connection between the main server 4 to be monitored and the internet of things device 1 to be monitored may include:
the control unit 104 may be further configured to determine whether a dialing success message fed back by the set base station 3 is received when the communication module 2 connects to the base station 3 for dialing. The dialing is performed by connecting the communication module 2 with the base station 3 after establishing wired or wireless connection between the internet of things device 1 to be monitored and the communication module 2 after being powered on. The specific functions and processes of the control unit 104 are also referred to in step S610.
The control unit 104 may be further specifically configured to establish a network connection with the communication module 2 through the base station 3 if the successful dialing message is received, so as to implement a first communication connection between the main server 4 itself and the internet of things device 1 to be monitored. The specific functions and processes of the control unit 104 are also referred to in step S620.
For example: as shown in fig. 9, the internet of things device 1 is powered on, and establishes communication with the communication module 2 (using a communication line), then the communication module 2 is connected to the base station 3 for dialing, and after the dialing is successful, establishes a TCP network connection with the main server 4. If the dialing fails, the dialing is continued, and the re-dialing is automatically restarted after the dialing fails for a period of time (such as 5 min).
Therefore, under the condition that the main server receives the rejection success message that the communication module is connected with the base station for dialing after the internet of things equipment is powered on, the network connection between the main server and the communication module is established through the base station, so that the first communication connection between the main server and the internet of things equipment is established, the monitoring of the main server on the internet of things equipment is realized, the address configuration of the main server on a third-party server based on the personalized monitoring requirement is realized, and the monitoring convenience and the reliability of different servers on the internet of things equipment are better.
Since the processes and functions implemented by the apparatus of this embodiment substantially correspond to the embodiments, principles and examples of the method shown in fig. 1 to fig. 6, the description of this embodiment is not detailed, and reference may be made to the related descriptions in the foregoing embodiments, which are not described herein again.
Through a large number of tests, the technical scheme provided by the invention is adopted, different monitoring schemes are adopted according to the geographical position of the monitored Internet of things equipment, so that the individualized requirements of a plurality of different third parties are met, the monitoring convenience is good, and the use experience of a user is good.
According to the embodiment of the invention, the invention further provides the monitoring server of the Internet of things corresponding to the monitoring device. This thing networking monitor server can include: the monitoring device described above.
In an alternative embodiment, the solution of the present invention may combine L BS location function, communication module, and third party server to implement different monitoring solutions based on L BS location.
Specifically, different monitoring schemes can be adopted according to the geographical position of the monitored internet of things device, so that personalized requirements of a plurality of different third parties are met.
According to the scheme of the invention, L BS positioning and compatibility of the communication module to various protocols are adopted, so that monitoring of personalized requirements of a plurality of third party platforms becomes feasible.
In an alternative example, the solution of the present invention can implement personalized monitoring requirements of a multi-server platform through L BS positioning.
The L BS location may refer to querying the geographical location of the device according to the ICCID (integrated circuit identifier, i.e. SIM card number, which is equivalent to the id card of the mobile phone number) of the SIM card of the communication module, including information of the city and provincial streets and the like.
A multi-server platform, which may refer to: the communication module is simultaneously connected with different servers for monitoring the state of the Internet of things equipment.
The communication module can be: the method is applicable to communication equipment compatible with various protocols, different encryption modes and the like.
In an alternative embodiment, reference may be made to the examples shown in fig. 8 and 9 to illustrate specific implementation procedures of the scheme of the present invention.
Fig. 8 shows a system framework diagram in which a communication module is typically connected (e.g., TCP network connection) to only one server. In the scheme of the invention, the communication module can be connected with a plurality of servers (generally two servers, such as a main server and a certain third-party server) according to requirements. The communication module is connected through different TCP, and the data sent to different servers are different, so that the monitoring requirements of different third parties are met. Among them, TCP (Transmission Control Protocol) is a connection-oriented, reliable transport layer communication Protocol based on byte stream.
In fig. 8, the internet of things device 1 may refer to a device that needs to monitor an operation state, such as a refrigerator, an air conditioner, a washing machine, etc., the communication module 2 may refer to a GPRS module, a 3G/4G module, or a 5G module, which is responsible for uploading data of the internet of things device 1 to a server, the base station 3, i.e., a base station of a telecom operator, such as a link, a mobile terminal, a telecom, the host server 4 may refer to a server to which the communication module 2 is connected by default, which is a server that needs to monitor a main body (such as a government department/company/personal terminal) of the internet of things device to receive, store, and analyze the monitored data, the third party server 5 may refer to a server that needs to monitor a physical location of the internet of things device 1 (such as a government/company/personal terminal) other than the host server, which is generally distinguished according to a geographical location, such as a server in beijing, a server in tianjin, an L BS interface server 6, which may refer to an ICCID that refers to a.
In an alternative specific example, the working process of the L BS (location based service) positioning based multi-server platform internet of things monitoring server shown in fig. 8 may be divided into an initialization phase, a phase in which the main server configures the communication module to connect with a third party platform, and a phase in which the communication module communicates with the third party platform.
Referring to the example shown in fig. 9, a specific implementation process of the scheme of the present invention may include the following steps:
step 1, initialization phase
Firstly, the internet of things equipment 1 is powered on, communication is established with the communication module 2 (a communication line is adopted), then the communication module 2 is connected with the base station 3 for dialing, and after the dialing is successful, TCP network connection is established with the main server 4. If the dialing fails, the dialing is continued, and the re-dialing is automatically restarted after the dialing fails for a period of time (such as 5 min).
Step 2, in the initialization stage, after the communication module 2 establishes connection with the main server 4, it needs to report the ICCID number of the SIM card in the communication module 2 to the main server 4, after the main server 4 receives the number, it inquires L the BS interface server 6, and the latter (for example, L BS interface server 6) returns the physical address of the communication module 2, such as information of city and provincial streets, etc.
After the main server 4 obtains the physical address of the communication module 2, according to the requirement, modules (such as the communication module 2) with different geographic positions are configured to be connected with different third party server 5 platforms (connected through an IP/domain name/port). For example, the communication modules in Beijing, Tianjin and Hebei Shizhuang are respectively connected with a third-party platform A, a third-party platform B and a third-party platform C.
For some personalized requirements, such as different safety, platform adopted protocols and the like, functions of encryption, analysis of different protocols and the like are made in the internal program of the communication module 2, and when the platform configuration module of the main server 4 is connected with a third-party platform, the personalized configuration requirements can be sent to the communication module 2 through TCP connection, so that the requirements of different platforms can be met.
And 3, after the communication module 2 is connected with a third-party platform, a normal monitoring process can be started, such as monitoring parameters of the on-off state, the temperature, the running mode and the like of the equipment of the Internet of things. There may be multiple third-party platforms, for example, the third-party platform a represents a beijing server platform, the third-party platform B represents a tianjin platform, and the protocols and monitoring contents adopted by different platforms may be different.
Since the processing and functions implemented by the internet of things monitoring server in this embodiment substantially correspond to the embodiment, principle, and example of the device shown in fig. 7, details are not described in the description of this embodiment, and reference may be made to the relevant description in the foregoing embodiment, which is not described herein again.
Through a large number of tests, the technical scheme of the invention adopts L BS positioning and the compatibility of the communication module to a plurality of protocols, so that the monitoring of the personalized requirements of a plurality of third party platforms becomes feasible, and the monitoring is more convenient and more reliable.
According to an embodiment of the present invention, there is also provided a storage medium corresponding to the monitoring method. The storage medium may include: the storage medium has stored therein a plurality of instructions; the instructions are used for loading and executing the monitoring method by the processor.
Since the processing and functions implemented by the storage medium of this embodiment substantially correspond to the embodiments, principles, and examples of the methods shown in fig. 1 to fig. 6, details are not described in the description of this embodiment, and reference may be made to the related descriptions in the foregoing embodiments, which are not described herein again.
Through a large number of tests, the technical scheme of the invention realizes the personalized monitoring requirements of the multi-server platform through L BS positioning, so that the monitoring of the personalized requirements of a plurality of third-party platforms becomes feasible, the monitoring convenience is good, and the use experience of users is good.
According to the embodiment of the invention, the invention further provides the monitoring server of the Internet of things corresponding to the monitoring method. This thing networking monitor server can include: a processor for executing a plurality of instructions; a memory to store a plurality of instructions; wherein the instructions are used for being stored by the memory and loaded and executed by the processor to perform the monitoring method.
Since the processing and functions implemented by the internet of things monitoring server in this embodiment substantially correspond to the embodiments, principles, and examples of the methods shown in fig. 1 to fig. 6, details are not described in this embodiment, and reference may be made to relevant descriptions in the foregoing embodiments, which are not described herein again.
Through a large number of tests, the technical scheme of the invention adopts L BS positioning and communication modules to be compatible with a plurality of protocols, and adopts different monitoring schemes to meet individual requirements of a plurality of different third parties, and the monitoring mode is more flexible and convenient and has wider application range.
In summary, it is readily understood by those skilled in the art that the advantageous modes described above can be freely combined and superimposed without conflict.
The above description is only an example of the present invention, and is not intended to limit the present invention, and it is obvious to those skilled in the art that various modifications and variations can be made in the present invention. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the scope of the claims of the present invention.

Claims (23)

1. A method of monitoring, comprising:
determining whether a main server (4) to be monitored receives the set identity identification information of the communication module (2) or not; the communication module (2) is used for establishing a first communication connection between the main server (4) and the Internet of things equipment (1) to be monitored;
if the identification information is received, after a physical address of the communication module (2) is acquired according to the identification information, a second communication connection between at least one third-party server (5) corresponding to the monitoring requirement of at least one third party and the internet of things equipment (1) is established based on the physical address, so that the third-party monitoring of the running parameters of the internet of things equipment (1) by the at least one third-party server (5) is realized, and the method comprises the following steps: performing geographic location configuration on at least one third-party server (5) corresponding to at least one monitoring requirement based on the physical address to obtain geographic location configuration information of a group of third-party servers (5) in the at least one third-party server (5) with the same geographic location as the physical address; and sending the geographical position configuration information to the communication module (2) so as to enable the communication module (2) to establish second communication connection with each third-party server (5) in a group of third-party servers (5) based on the geographical position configuration information, and further enable each third-party server (5) in a group of third-party servers (5) to monitor a third party of the Internet of things equipment (1).
2. The method according to claim 1, wherein determining whether the primary server (4) to be monitored itself receives the identity information of the set communication module (2) comprises:
determining whether the main server (4) to be monitored is connected with the set network established between the communication module (2) or not; the network connection, comprising: a TCP network connection;
and if the network connection is established between the main server (4) and the communication module (2), receiving the identity identification information of the communication module (2) reported by the communication module (2) through the network connection.
3. The method according to claim 1 or 2, wherein obtaining the physical address of the communication module (2) based on the identification information comprises:
sending a query request for querying a physical address of the communication module (2) to a set query server according to the identity identification information; and the number of the first and second groups,
and receiving the physical address of the communication module (2) returned by the inquiry server after the inquiry server inquires the identity based on the inquiry request.
4. The method of claim 3, wherein,
the communication module (2) comprises: any one of the GPRS module, the 2G module, the 3G module, the 4G module and the 5G module can be compatible with a plurality of communication protocols and/or a plurality of encryption modes;
and/or the presence of a gas in the gas,
the identification information includes: the ICCID number of the SIM card of the communication module (2);
and/or the presence of a gas in the gas,
the operating parameters include: at least one of on-off state, working temperature and running mode;
and/or the presence of a gas in the gas,
the query server comprises an L BS interface server (6).
5. The method according to claim 1, wherein the geo-location configuration of at least one of the third party servers (5) corresponding to at least one of the monitoring needs based on the physical address comprises:
configuring N third party servers (5) which are the same as the geographic position of the physical address in at least one third party server (5) corresponding to at least one monitoring requirement into a group of third party servers (5) so as to obtain geographic position configuration information of the group of third party servers (5) based on the physical address, wherein N is a positive integer.
6. The method according to one of claims 1, 2, 4, 5, wherein the number of the communication modules (2) is more than one;
wherein the content of the first and second substances,
establishing a second communication connection between the at least one third-party server (5) corresponding to the at least one monitoring requirement and the internet of things device (1) based on the physical address, further comprising:
performing geographical location configuration on at least one third-party server (5) corresponding to at least one monitoring requirement based on the physical address of each communication module (2) in more than one communication module (2) to obtain geographical location configuration information of each group of third-party servers (5) in the at least one third-party server (5) which is the same as the geographical location of the physical address of each communication module (2);
sending the geographical position configuration information of each group of third-party servers (5) to each communication module (2) to realize that each communication module (2) establishes a second communication connection with each third-party server (5) in each group of third-party servers (5) based on the geographical position configuration information of each group of third-party servers (5), and further realize that each third-party server (5) in each group of third-party servers (5) monitors the third party of the internet of things equipment (1).
7. A method according to claim 3, characterized in that the number of communication modules (2) is more than one;
wherein the content of the first and second substances,
establishing a second communication connection between the at least one third-party server (5) corresponding to the at least one monitoring requirement and the internet of things device (1) based on the physical address, further comprising:
performing geographical location configuration on at least one third-party server (5) corresponding to at least one monitoring requirement based on the physical address of each communication module (2) in more than one communication module (2) to obtain geographical location configuration information of each group of third-party servers (5) in the at least one third-party server (5) which is the same as the geographical location of the physical address of each communication module (2);
sending the geographical position configuration information of each group of third-party servers (5) to each communication module (2) to realize that each communication module (2) establishes a second communication connection with each third-party server (5) in each group of third-party servers (5) based on the geographical position configuration information of each group of third-party servers (5), and further realize that each third-party server (5) in each group of third-party servers (5) monitors the third party of the internet of things equipment (1).
8. The method of any one of claims 1, 2, 4, 5, and 7, further comprising:
establishing a first communication connection between a set main server (4) and the Internet of things equipment (1) to be monitored;
wherein the content of the first and second substances,
establish the main server (4) itself that waits to monitor and wait to monitor the first communication connection between thing networking device (1), include:
determining whether a dialing success message of dialing when the communication module (2) is connected with a base station (3) is received; the dialing is carried out by connecting the communication module (2) with the base station (3) after establishing wired or wireless connection between the Internet of things equipment (1) to be monitored and the communication module (2) after being powered on;
if the successful dialing message is received, network connection with the communication module (2) is established through the base station (3), and then first communication connection between the main server (4) and the Internet of things equipment (1) to be monitored is achieved.
9. The method of claim 3, further comprising:
establishing a first communication connection between a set main server (4) and the Internet of things equipment (1) to be monitored;
wherein the content of the first and second substances,
establish the main server (4) itself that waits to monitor and wait to monitor the first communication connection between thing networking device (1), include:
determining whether a dialing success message of dialing when the communication module (2) is connected with a base station (3) is received; the dialing is carried out by connecting the communication module (2) with the base station (3) after establishing wired or wireless connection between the Internet of things equipment (1) to be monitored and the communication module (2) after being powered on;
if the successful dialing message is received, network connection with the communication module (2) is established through the base station (3), and then first communication connection between the main server (4) and the Internet of things equipment (1) to be monitored is achieved.
10. The method of claim 6, further comprising:
establishing a first communication connection between a set main server (4) and the Internet of things equipment (1) to be monitored;
wherein the content of the first and second substances,
establish the main server (4) itself that waits to monitor and wait to monitor the first communication connection between thing networking device (1), include:
determining whether a dialing success message of dialing when the communication module (2) is connected with a base station (3) is received; the dialing is carried out by connecting the communication module (2) with the base station (3) after establishing wired or wireless connection between the Internet of things equipment (1) to be monitored and the communication module (2) after being powered on;
if the successful dialing message is received, network connection with the communication module (2) is established through the base station (3), and then first communication connection between the main server (4) and the Internet of things equipment (1) to be monitored is achieved.
11. A monitoring device, comprising:
the acquisition unit is used for determining whether the main server (4) to be monitored receives the set identity identification information of the communication module (2); the communication module (2) is used for establishing a first communication connection between the main server (4) and the Internet of things equipment (1) to be monitored;
the control unit is used for establishing a second communication connection between at least one third-party server (5) corresponding to the monitoring requirement of at least one third party and the internet of things equipment (1) based on the physical address after the physical address of the communication module (2) is acquired according to the identification information if the identification information is received, so as to realize the third-party monitoring of the running parameters of the internet of things equipment (1) by the at least one third-party server (5), and comprises the following steps: performing geographic location configuration on at least one third-party server (5) corresponding to at least one monitoring requirement based on the physical address to obtain geographic location configuration information of a group of third-party servers (5) in the at least one third-party server (5) with the same geographic location as the physical address; and sending the geographical position configuration information to the communication module (2) so as to enable the communication module (2) to establish second communication connection with each third-party server (5) in a group of third-party servers (5) based on the geographical position configuration information, and further enable each third-party server (5) in a group of third-party servers (5) to monitor a third party of the Internet of things equipment (1).
12. The apparatus according to claim 11, wherein the acquiring unit determines whether the main server (4) to be monitored receives the set identification information of the communication module (2) by itself, and comprises:
determining whether the main server (4) to be monitored is connected with the set network established between the communication module (2) or not; the network connection, comprising: a TCP network connection;
and if the network connection is established between the main server (4) and the communication module (2), receiving the identity identification information of the communication module (2) reported by the communication module (2) through the network connection.
13. The device according to claim 11 or 12, wherein the control unit obtains the physical address of the communication module (2) according to the identification information, and comprises:
sending a query request for querying a physical address of the communication module (2) to a set query server according to the identity identification information; and the number of the first and second groups,
and receiving the physical address of the communication module (2) returned by the inquiry server after the inquiry server inquires the identity based on the inquiry request.
14. The apparatus of claim 13, wherein,
the communication module (2) comprises: any one of the GPRS module, the 2G module, the 3G module, the 4G module and the 5G module can be compatible with a plurality of communication protocols and/or a plurality of encryption modes;
and/or the presence of a gas in the gas,
the identification information includes: the ICCID number of the SIM card of the communication module (2);
and/or the presence of a gas in the gas,
the operating parameters include: at least one of on-off state, working temperature and running mode;
and/or the presence of a gas in the gas,
the query server comprises an L BS interface server (6).
15. The arrangement according to claim 11, wherein the control unit performs a geographical location configuration of at least one of the third party servers (5) corresponding to at least one of the monitoring needs based on the physical address, comprising:
configuring N third party servers (5) which are the same as the geographic position of the physical address in at least one third party server (5) corresponding to at least one monitoring requirement into a group of third party servers (5) so as to obtain geographic position configuration information of the group of third party servers (5) based on the physical address, wherein N is a positive integer.
16. The device according to one of claims 11, 12, 14, 15, characterized in that the number of communication modules (2) is more than one;
wherein the content of the first and second substances,
the control unit establishes a second communication connection between the at least one third-party server (5) corresponding to the at least one monitoring requirement and the internet of things device (1) based on the physical address, and further comprises:
performing geographical location configuration on at least one third-party server (5) corresponding to at least one monitoring requirement based on the physical address of each communication module (2) in more than one communication module (2) to obtain geographical location configuration information of each group of third-party servers (5) in the at least one third-party server (5) which is the same as the geographical location of the physical address of each communication module (2);
sending the geographical position configuration information of each group of third-party servers (5) to each communication module (2) to realize that each communication module (2) establishes a second communication connection with each third-party server (5) in each group of third-party servers (5) based on the geographical position configuration information of each group of third-party servers (5), and further realize that each third-party server (5) in each group of third-party servers (5) monitors the third party of the internet of things equipment (1).
17. The device according to claim 16, characterized in that the number of communication modules (2) is more than one;
wherein the content of the first and second substances,
the control unit establishes a second communication connection between the at least one third-party server (5) corresponding to the at least one monitoring requirement and the internet of things device (1) based on the physical address, and further comprises:
performing geographical location configuration on at least one third-party server (5) corresponding to at least one monitoring requirement based on the physical address of each communication module (2) in more than one communication module (2) to obtain geographical location configuration information of each group of third-party servers (5) in the at least one third-party server (5) which is the same as the geographical location of the physical address of each communication module (2);
sending the geographical position configuration information of each group of third-party servers (5) to each communication module (2) to realize that each communication module (2) establishes a second communication connection with each third-party server (5) in each group of third-party servers (5) based on the geographical position configuration information of each group of third-party servers (5), and further realize that each third-party server (5) in each group of third-party servers (5) monitors the third party of the internet of things equipment (1).
18. The apparatus of any one of claims 11, 12, 14, 15, 17, further comprising:
the control unit is also used for establishing a first communication connection between the set main server (4) and the Internet of things equipment (1) to be monitored;
wherein the content of the first and second substances,
the control unit establishes a first communication connection between a main server (4) to be monitored and the Internet of things equipment (1) to be monitored, and the first communication connection comprises the following steps:
determining whether a dialing success message of dialing when the communication module (2) is connected with a base station (3) is received; the dialing is carried out by connecting the communication module (2) with the base station (3) after establishing wired or wireless connection between the Internet of things equipment (1) to be monitored and the communication module (2) after being powered on;
if the successful dialing message is received, network connection with the communication module (2) is established through the base station (3), and then first communication connection between the main server (4) and the Internet of things equipment (1) to be monitored is achieved.
19. The apparatus of claim 13, further comprising:
the control unit is also used for establishing a first communication connection between the set main server (4) and the Internet of things equipment (1) to be monitored;
wherein the content of the first and second substances,
the control unit establishes a first communication connection between a main server (4) to be monitored and the Internet of things equipment (1) to be monitored, and the first communication connection comprises the following steps:
determining whether a dialing success message of dialing when the communication module (2) is connected with a base station (3) is received; the dialing is carried out by connecting the communication module (2) with the base station (3) after establishing wired or wireless connection between the Internet of things equipment (1) to be monitored and the communication module (2) after being powered on;
if the successful dialing message is received, network connection with the communication module (2) is established through the base station (3), and then first communication connection between the main server (4) and the Internet of things equipment (1) to be monitored is achieved.
20. The apparatus of claim 16, further comprising:
the control unit is also used for establishing a first communication connection between the set main server (4) and the Internet of things equipment (1) to be monitored;
wherein the content of the first and second substances,
the control unit establishes a first communication connection between a main server (4) to be monitored and the Internet of things equipment (1) to be monitored, and the first communication connection comprises the following steps:
determining whether a dialing success message of dialing when the communication module (2) is connected with a base station (3) is received; the dialing is carried out by connecting the communication module (2) with the base station (3) after establishing wired or wireless connection between the Internet of things equipment (1) to be monitored and the communication module (2) after being powered on;
if the successful dialing message is received, network connection with the communication module (2) is established through the base station (3), and then first communication connection between the main server (4) and the Internet of things equipment (1) to be monitored is achieved.
21. An internet of things monitoring server, comprising: a monitoring device according to any one of claims 11-20.
22. A storage medium having a plurality of instructions stored therein; the plurality of instructions for being loaded by a processor and for performing the monitoring method according to any one of claims 1 to 10.
23. An internet of things monitoring server, comprising:
a processor for executing a plurality of instructions;
a memory to store a plurality of instructions;
wherein the plurality of instructions are for storage by the memory and for loading and execution by the processor of the monitoring method of any one of claims 1-10.
CN201811334331.3A 2018-11-09 2018-11-09 Monitoring method and device, storage medium and Internet of things monitoring server Active CN109379433B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811334331.3A CN109379433B (en) 2018-11-09 2018-11-09 Monitoring method and device, storage medium and Internet of things monitoring server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811334331.3A CN109379433B (en) 2018-11-09 2018-11-09 Monitoring method and device, storage medium and Internet of things monitoring server

Publications (2)

Publication Number Publication Date
CN109379433A CN109379433A (en) 2019-02-22
CN109379433B true CN109379433B (en) 2020-08-04

Family

ID=65384731

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811334331.3A Active CN109379433B (en) 2018-11-09 2018-11-09 Monitoring method and device, storage medium and Internet of things monitoring server

Country Status (1)

Country Link
CN (1) CN109379433B (en)

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6726660B2 (en) * 2014-09-08 2020-07-22 サーモダイナミック・デザイン・エルエルシー Customizable data management system
WO2018183970A1 (en) * 2017-03-31 2018-10-04 Zumigo, Inc. Mobile device that generates location-based alerts in a power efficient manner
CN207304479U (en) * 2017-09-08 2018-05-01 深圳市智物联网络有限公司 A kind of photovoltaic apparatus monitoring system based on Internet of Things
CN108600960A (en) * 2018-03-14 2018-09-28 武汉派蒂科技有限责任公司 A kind of tracking positioning method and dynamic tracing network system based on NB-loT technologies
CN108711248A (en) * 2018-04-20 2018-10-26 浙江三网科技股份有限公司 A kind of Internet of Things smoke detector system based on NB-IOT
CN108734912A (en) * 2018-04-27 2018-11-02 成都晓理物联科技有限公司 Wisdom fire-fighting based on Internet of Things manages cloud platform system

Also Published As

Publication number Publication date
CN109379433A (en) 2019-02-22

Similar Documents

Publication Publication Date Title
US20190173951A1 (en) Vehicle communication using publish-subscribe messaging protocol
US10165509B2 (en) Network server and network access system
US20190191367A1 (en) Network slice selection method and apparatus
EP1748661A1 (en) System and method to configure the parameters of a mobile system
CN104394579B (en) A kind of information processing method and electronic equipment
JP4714261B2 (en) Optimal selection of communication networks in the location area of terminal equipment
US10887745B2 (en) Method and device for sharing file between different terminals
CN109168171B (en) Configuration information acquisition method, device, equipment and system
US20050221842A1 (en) Position management server and mobile communication system
WO2007003125A1 (en) A method for finding network service provider and the apparatus
CN105959188B (en) Method and device for controlling user terminal to be on-line
CN117177266A (en) Address acquisition method and device
CN109195199B (en) AP management method and device
CN113194519B (en) Network slice access method, NSSF, AMF and system
CN110581901B (en) Method and device for acquiring address information
CN114567880B (en) Communication method, system and computer readable storage medium
CN107959920B (en) Wireless network-based sign-in method and equipment
CN112738019B (en) Method and device for displaying device information, storage medium and electronic device
CN109379433B (en) Monitoring method and device, storage medium and Internet of things monitoring server
US20090296149A1 (en) Communication system, information storage device, management device, and terminal device
WO2015085573A1 (en) Method and device for communication using white spectrum
CN108632355B (en) Routing method for household appliance network, control terminal, readable storage medium and equipment
CN105263171B (en) Access point based on mobile terminal is requested and configuration processing method and system automatically
CN113824789B (en) Configuration method, device, equipment and storage medium of access descriptor
JP2004013731A (en) Management system for connection information of ic card, management method for connection information, ic card and server

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