CN106533858B - A kind of method of network entry of intelligent meter, apparatus and system - Google Patents

A kind of method of network entry of intelligent meter, apparatus and system Download PDF

Info

Publication number
CN106533858B
CN106533858B CN201610969528.9A CN201610969528A CN106533858B CN 106533858 B CN106533858 B CN 106533858B CN 201610969528 A CN201610969528 A CN 201610969528A CN 106533858 B CN106533858 B CN 106533858B
Authority
CN
China
Prior art keywords
intelligent meter
networking
time
information
solicited message
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
CN201610969528.9A
Other languages
Chinese (zh)
Other versions
CN106533858A (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.)
Ennew Digital Technology Co Ltd
Original Assignee
Ennew Digital Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ennew Digital Technology Co Ltd filed Critical Ennew Digital Technology Co Ltd
Priority to CN201610969528.9A priority Critical patent/CN106533858B/en
Publication of CN106533858A publication Critical patent/CN106533858A/en
Application granted granted Critical
Publication of CN106533858B publication Critical patent/CN106533858B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/2854Wide area networks, e.g. public data networks
    • H04L12/2856Access arrangements, e.g. Internet access
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/10Network architectures or network communication protocols for network security for controlling access to devices or network resources
    • H04L63/108Network architectures or network communication protocols for network security for controlling access to devices or network resources when the policy decisions are valid for a limited amount of time

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Hardware Design (AREA)
  • Computer Security & Cryptography (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The present invention discloses a kind of method of network entry of intelligent meter, apparatus and system, this method comprises: at the first time according to the networking saved for each intelligent meter, judging the networking solicited message for whether receiving intelligent meter transmission in the first time corresponding first time period;If it is, when the device number information for judging to carry in networking solicited message, using identifier information, using key information and the device number information that itself is saved, using identifier information, it is consistent using key information when, unpaired message is sent to the intelligent meter, make intelligent meter at set time intervals, generates updated networking at the first time;If not, starting intelligent meter abnormal alarm.Due in embodiments of the present invention, when application server can be according to the networking solicited message for not receiving intelligent meter transmission in the first time corresponding first time period in preservation, start intelligent meter abnormal alarm, therefore application server can avoid the loss of operation enterprise with the true and false of identification intelligent table.

Description

A kind of method of network entry of intelligent meter, apparatus and system
Technical field
The present invention relates to intelligent meter technical field more particularly to a kind of method of network entry of intelligent meter, apparatus and system.
Background technique
With the fast development of science and technology, people's living standard increasingly improved, the convenience to living environment it is also proposed that Higher requirement, various intelligent meters enter huge numbers of families one after another.The appearance of intelligent meter is provided convenience to people's lives. Existing intelligent meter is based on low-power consumption wide area network LoRaWAN standard agreement in communication, and LoRaWAN standard agreement can guarantee not With intercommunity of the intelligent meter in communication process of producer's different product model, so the intelligence based on LoRaWAN standard agreement Table can be promoted on a large scale.
LoRaWAN standard agreement is broadly divided into two kinds of network access modes: ABP network access mode and OTA network access mode.In order to guarantee The safety of product promotion, stability, increase network communication key cracks difficulty, uses OTA network access mode substantially.
When being networked using OTA network access mode, networking process is as shown in Figure 1, wireless communication module when networking, in intelligent meter NODE is sent to application server AS ERVER by base station GATEWAY and carries the device number information DevEUI of intelligent meter, using clothes The networking solicited message using identifier information APPEUI and application key information APPKey of business device, ASERVER ask networking DevEUI, APPEUI and APPKey for carrying in information is asked to be verified, after verification passes through, through GATEWAY into intelligent meter NODE module send include application layer key information APPSkey, device address information DevAddr and network layer key The unpaired message of NwkSkey.After intelligent meter receives unpaired message, that is, can be used above-mentioned 6 information with include network server, The network side equipment of application server and operation system carries out data interaction.
In the prior art, intelligent meter is possible to be replicated, and false intelligent meter occurs, and false intelligent meter passes through in duplication intelligent meter Above-mentioned 6 information, original intelligent meter and network side equipment can be replaced to carry out data interaction, and in the prior art, application Server can not judge the true and false of the intelligent meter that data interaction is carried out with itself, and loss can be thus brought to operation enterprise.
Summary of the invention
The embodiment of the present invention provides a kind of method of network entry of intelligent meter, apparatus and system, to solve prior art application Server is unable to the true and false problem of identification intelligent table.
In order to achieve the above objectives, the embodiment of the invention discloses a kind of method of network entry of intelligent meter, are applied to application service Device, comprising:
At the first time according to the networking saved for each intelligent meter, judge in the networking first time corresponding first Whether networking solicited message that corresponding intelligent meter send is received in period;
If so, when the device number information that judge to carry in the networking solicited message, using identifier information, using close Device number information that key information is pre-saved with itself for the intelligent meter, using identifier information, consistent using key information When, unpaired message is sent to the intelligent meter, so that intelligent meter is at set time intervals, when generating updated networking first Between, and the application server is at set time intervals, generates updated networking at the first time;
If not, starting intelligent meter abnormal alarm.
Further, the unpaired message includes:
Application layer key information, device address information and network layer key information.
Further, corresponding intelligent meter is not received in the networking at the first time corresponding first time period to send Networking solicited message include:
The networking solicited message that the corresponding intelligent meter is sent is not received;Or
The networking solicited message that the corresponding intelligent meter is sent is received, but receives the time of the networking solicited message not In the first time period.
Further, after the starting intelligent meter abnormal alarm, the method also includes:
According to the identification information for the intelligent meter for including in the intelligent meter abnormal alarm, to the intelligent meter of the identification information Alarm times are updated;
Judge whether updated alarm times reach the frequency threshold value of setting, if so, by the intelligence of the identification information Table is added to blacklist.
On the other hand, the embodiment of the invention discloses a kind of method of network entry of intelligent meter, are applied to intelligent meter, the method Include:
At the first time according to the networking itself saved, networking solicited message is sent to application server, wherein the networking Portable device information in solicited message using identifier information and applies key information;
The unpaired message that application server is sent is received, and at set time intervals, generates and updated networks the One time, wherein the unpaired message is that application server judges that corresponding first time period is inscribed at the first time in the networking The networking solicited message of intelligent meter transmission is received, and judges the device number information carried in the networking solicited message, application Identifier information, is applied the device number information pre-saved using key information and the application server for the intelligent meter Identifier information is sent when consistent using key information.
Further, the unpaired message includes:
Application layer key information, device address information and network layer key information.
In another aspect, the embodiment of the invention provides a kind of networking device of intelligent meter, described device includes:
Judgment module, at the first time, being judged according to the networking saved for each intelligent meter in the networking first Whether networking solicited message that corresponding intelligent meter send is received in time corresponding first time period;
Sending module, if for receiving entering for intelligent meter transmission in the first time corresponding first time period Net solicited message, when judging the device number information carried in the networking solicited message, believe using identifier information, using key Breath with itself be directed to the intelligent meter pre-save device number information, using identifier information, it is consistent using key information when, to The intelligent meter sends unpaired message, so that intelligent meter is at set time intervals, generates updated networking at the first time, and And the application server is at set time intervals, generates updated networking at the first time;
Alarm module, if for not receiving intelligent meter hair in the networking at the first time corresponding first time period The networking solicited message sent starts intelligent meter abnormal alarm.
Further, described device further include:
Update module, for the identification information according to the intelligent meter for including in the intelligent meter abnormal alarm, to the mark The alarm times of the intelligent meter of information are updated;
Adding module, for judging whether updated alarm times reach the frequency threshold value of setting, if so, by the mark The intelligent meter for knowing information is added to blacklist.
The embodiment of the invention provides a kind of networking device of intelligent meter, described device includes: sending module, is used for basis The networking itself saved sends networking solicited message at the first time, to application server, wherein taking in the networking solicited message Carrying device information, using identifier information and apply key information;
Receiving module, the unpaired message sent for receiving service, and at set time intervals, it generates updated It networks at the first time, wherein the unpaired message is that application server judges first time corresponding in networking first time The networking solicited message of intelligent meter transmission is received in section, and judges that the device number carried in the networking solicited message is believed Breath is believed using identifier information, using key information and the application server for the device number that the intelligent meter pre-saves Breath is sent when consistent using identifier information, using key information.
The embodiment of the invention provides a kind of networking system of intelligent meter, the networking system of the intelligent meter includes as above answering The networking device of intelligent meter for application server, and the as above networking device applied to the intelligent meter of intelligent meter.
The embodiment of the present invention provides a kind of method of network entry of intelligent meter, apparatus and system, which comprises according to being directed to The networking that each intelligent meter saves at the first time, judges whether receive in the networking at the first time corresponding first time period The networking solicited message sent to corresponding intelligent meter;If so, when the device number for judging to carry in the networking solicited message Information, using identifier information, using key information and the device number information itself pre-saved for the intelligent meter, using knowledge Alias information, it is consistent using key information when, to the intelligent meter send unpaired message so that intelligent meter is according between the time of setting Every, generation updated networking first time, and the application server is at set time intervals, generates updated It networks at the first time;If not, starting intelligent meter abnormal alarm.Since in embodiments of the present invention, application server is for every A intelligent meter judges whether receive entering for corresponding intelligent meter transmission in its corresponding first time period at the first time that networks Net solicited message, if not, starting intelligent meter abnormal alarm, to realize the judgement true and false to intelligent meter, if receive into Net solicited message sends unpaired message to the intelligent meter, so that intelligent meter is according between the time of setting then after verification passes through Every, generation updated networking first time, but updated network is intelligent meter at the first time according between the time of setting Every being generated by preset algorithm, therefore, false intelligent meter cannot obtain updated networking at the first time, therefore further It ensure that the safety of intelligent meter, so as to avoid the loss of operation enterprise.
Detailed description of the invention
To describe the technical solutions in the embodiments of the present invention more clearly, make required in being described below to embodiment Attached drawing is briefly introduced, it should be apparent that, drawings in the following description are only some embodiments of the invention, for this For the those of ordinary skill in field, without creative efforts, it can also be obtained according to these attached drawings other Attached drawing.
Fig. 1 is the networking flow diagram of OTA network access mode in the prior art;
Fig. 2 is a kind of networking process schematic for intelligent meter that the embodiment of the present invention 1 provides;
Fig. 3 is a kind of networking process schematic for intelligent meter that the embodiment of the present invention 2 provides;
Fig. 4 is a kind of networking process schematic for intelligent meter that the embodiment of the present invention 3 provides;
Fig. 5 is low-power consumption wide area network LoRaWAN standard agreement system architecture figure;
Fig. 6 is a kind of networking apparatus structure schematic diagram of intelligent meter provided in an embodiment of the present invention;
Fig. 7 be another embodiment of the present invention provides a kind of intelligent meter networking apparatus structure schematic diagram;
Fig. 8 is a kind of networking system structure diagram of intelligent meter provided in an embodiment of the present invention.
Specific embodiment
To make the objectives, technical solutions, and advantages of the present invention clearer, below in conjunction with attached drawing to the present invention make into It is described in detail to one step, it is clear that the described embodiments are only some of the embodiments of the present invention, rather than whole implementation Example.Based on the embodiments of the present invention, obtained by those of ordinary skill in the art without making creative efforts All other embodiment, shall fall within the protection scope of the present invention.
Embodiment 1:
Fig. 2 be a kind of networking process schematic of intelligent meter provided in an embodiment of the present invention, the process the following steps are included:
S201: at the first time according to the networking saved for each intelligent meter, judge corresponding at the first time in the networking First time period in whether receive the networking solicited message that corresponding intelligent meter is sent.
A kind of method of network entry of intelligent meter provided in an embodiment of the present invention is applied to application server.
Application server is directed to each intelligent meter, preserves the networking first time of the corresponding intelligent meter, application server For each intelligent meter save networking at the first time can be identical, can also entirely different or part it is identical.And Application server can determine its corresponding first time period, such as can according to the networking at the first time according to default rule Be comprising the networking at the first time, length be setting value a period, preferably the networking at the first time be this first Minimum value in period.
For example, the networking that application server is saved for some intelligent meter is at the first time 8:00 on October 1st, 2016, Corresponding first time period can be 8:00-8:10 on October 1st, 2016, therefore be directed to the intelligent meter, and application server judges Whether the networking solicited message of intelligent meter transmission is received in this period of 8:00-8:10 on October 1 in 2016.
S202: it if it is judged that for when being, when the device number information for judging to carry in the networking solicited message, applies Identifier information, using key information and the device number information itself pre-saved for the intelligent meter, using identifier information, When consistent using key information, unpaired message is sent to the intelligent meter, so that intelligent meter is at set time intervals, is generated more Networking first time after new, and the application server is at set time intervals, generates updated networking first Time.
If application server receives the networking of intelligent meter transmission in the corresponding first time period at the first time that networks Solicited message, wherein application server is the networking solicited message that intelligent meter transmission is received by base station, needs to sentence at this time The device number information that is carried in the networking solicited message of breaking, using identifier information, using key information and itself for should Device number information that intelligent meter pre-saves, using identifier information, whether consistent using key information, if unanimously, passed through Base station sends unpaired message to intelligent meter, and the unpaired message includes application layer key information, device address information and network layer Key information.
Meanwhile application server is at set time intervals, updated networking is generated at the first time, so as to intelligent meter It is networked again at the first time according to the updated networking.
Specifically, the networking can be generated at the first time based on preset algorithm, and application server and intelligent meter are adopted The networking is generated at the first time with identical algorithm, thus guarantee the time consistency that the two generates, and the networking at the first time can To be generated based on program.In addition, the record in order to realize the time interval, application server may include timer, application The time interval that server is set according to timer passes through the updated networking first of the operation Program Generating in application server Time.The time interval can be shorter time, such as 20s, 30 minutes etc., be also possible to longer time, such as 5 days, 10 days etc..
For example, the time that application server sends unpaired message is 8:00 on October 8th, 2016, the time of timer setting Interval can be 2 days, then application server passes through the operation Program Generating in application server in 8:00 on October 10th, 2016 At the first time, the updated networking can be at the first time 8:00 on October 15th, 2016 for updated networking, then exist In on October 15th, 2016 corresponding 8:00-8:10 in 15 days October 2016 period of 8:00, application server judges whether to connect Receive the networking solicited message that corresponding intelligent meter is sent.
Since in embodiments of the present invention, application server is directed to each intelligent meter, it is right at the first time to judge to network at it Whether networking solicited message that corresponding intelligent meter send is received in the first time period answered, if not, starting intelligent meter is different Often alarm, so that the judgement true and false to intelligent meter is realized, if receiving networking solicited message, after verification passes through, to this Intelligent meter sends unpaired message, so that intelligent meter is at set time intervals, generates updated networking at the first time, still It is updated networking be at the first time intelligent meter at set time intervals, generated by preset algorithm, therefore, false intelligence Energy table cannot obtain updated networking at the first time, therefore further ensure the safety of intelligent meter, so as to avoid operation The loss of enterprise.
Certainly, if the device number information carried in the networking solicited message, believed using identifier information, using key Breath with itself be directed to device number information that the intelligent meter pre-saves, using identifier information, inconsistent using key information, this When, application server determines that intelligent meter verification does not pass through, after application server does not send unpaired message and update to intelligent meter Networking at the first time.
S203: if it is judged that when being no, start intelligent meter abnormal alarm.
If application server does not receive entering for intelligent meter transmission in the corresponding first time period at the first time that networks Net solicited message, application server starts intelligent meter abnormal alarm at this time.
Specifically, because application server preserves its corresponding networking at the first time for each intelligent meter, if When not receiving the networking solicited message that corresponding intelligent meter is sent in a certain corresponding first time period at the first time that networks, because Application server itself records the identification information for having the intelligent meter, therefore when starting intelligent meter abnormal alarm, can carry the intelligence The identification information of energy table, wherein the identification information of the intelligent meter can be the letter of the unique identifications intelligent meter such as device number of intelligent meter Breath.
Due in embodiments of the present invention, for each intelligent meter, judging when it networks first time corresponding first Between the networking solicited message that corresponding intelligent meter is sent whether is received in section, if not, starting intelligent meter abnormal alarm, thus Realize the judgement true and false to intelligent meter.
Embodiment 2:
On the basis of the above embodiments, in order to enable true and false, this hair of application server more accurately identification intelligent table In bright embodiment, the networking that corresponding intelligent meter is sent is not received in the corresponding first time period at the first time that networks Solicited message includes:
The networking solicited message that the corresponding intelligent meter is sent is not received;Or
The networking solicited message that the corresponding intelligent meter is sent is received, but receives the time of the networking solicited message not In the first time period.
Application server does not receive what corresponding intelligent meter was sent in the corresponding first time period at the first time that networks When networking solicited message, application server recognizes intelligent meter exception, starts intelligent meter abnormal alarm, carries the intelligent meter Identification information, and the intelligent meter can be identified as to abnormal intelligent meter.
And if application server does not receive intelligent meter hair in the networking at the first time corresponding first time period The networking solicited message sent, such as the networking solicited message is received before the first time period, then when application server is sentenced The time that the networking solicited message of intelligent meter transmission is received in disconnecting is not located in networking first time corresponding first time period When, start intelligent meter abnormal alarm, carries the identification information of the intelligent meter, and the intelligent meter can be identified as abnormal intelligent Table.Alternatively, because application server does not receive the intelligence in the networking first time corresponding first time period of the intelligent meter The networking solicited message that energy table is sent can will then start intelligent meter abnormal alarm, and carry the identification information of the intelligent meter, and The intelligent meter can be identified as to abnormal intelligent meter, when the networking for receiving intelligent meter transmission again after the first time period When solicited message, it can continue to start intelligent meter abnormal alarm, the identification information of the intelligent meter be carried, so as to facilitate work Personnel trace, and position false intelligent meter.
For example, the networking first time corresponding first time period that application server is saved for intelligent meter is 2016 10 Moon 8:00-8:10 on the 1st, if the time that application server receives the networking solicited message of the intelligent meter is September 28 in 2016 Day 10:25, at this point, the time for receiving the networking solicited message is not located at the networking corresponding first time period at the first time Interior, application server recognizes intelligent meter exception, starts intelligent meter abnormal alarm, and the intelligent meter is identified as abnormal intelligent Table.And judge whether receive the intelligence within this period of 8:00-8:10 on October 1 in 2016 after application server The networking solicited message of table, if not, application server starts intelligent meter abnormal alarm.
If illustrating that intelligent meter has had already appeared exception after application server intelligent movable table abnormal alarm, in order to avoid Influence of the false intelligent meter to operation can record the identification information of the intelligent meter in blacklist, when receiving the intelligent meter When interaction data, application server disconnects the connection with the intelligent meter.In addition, the data between intelligent meter and application server are sent out Send the influence that may be subjected to a variety of environmental factors, it is thus possible to will appear time of the networking solicited message of transmission not this Situation in one period, therefore in order to avoid maloperation, when recording the identification information of intelligent meter into blacklist, using clothes Business device can decide whether that the identification information by the intelligent meter adds according to the number of the abnormal alarm sent for the intelligent meter It is added in blacklist, the number of the abnormal alarm for example can be 3 times or 4 inferior numbers.
Specifically, in embodiments of the present invention after the starting intelligent meter abnormal alarm, the method also includes:
According to the identification information for the intelligent meter for including in the intelligent meter abnormal alarm, to the intelligent meter of the identification information Alarm times are updated;
Judge whether updated alarm times reach the frequency threshold value of setting, if so, by the intelligence of the identification information Table is added to blacklist.
Fig. 3 be a kind of networking process schematic of intelligent meter provided in an embodiment of the present invention, the process the following steps are included:
S301: being directed to each intelligent meter, and whether judgement comes at the first time for the networking that the intelligent meter saves, if It is no, S302 is carried out, if so, carrying out S303.
S302: judging whether to receive the networking solicited message of intelligent meter transmission, if so, S305 is carried out, if not, Carry out S301.
S303: judge corresponding intelligent meter hair whether is received in the networking at the first time corresponding first time period The networking solicited message sent, if so, S304 is carried out, if not, carrying out S305.
S304: judge the device number information carried in the networking solicited message, believe using identifier information, using key Breath with itself be directed to device number information that the intelligent meter pre-saves, using identifier information, whether consistent using key information, If consistent, unpaired message is sent to the intelligent meter, so that intelligent meter at set time intervals, generates updated networking At the first time, and the application server at set time intervals, updated networkings first time is generated, if not Unanimously, networking failure response information is returned to intelligent meter.
S305: starting intelligent meter abnormal alarm carries the identification information of the intelligent meter.
S306: according to the identification information for the intelligent meter for including in the intelligent meter abnormal alarm, to the intelligence of the identification information The alarm times of energy table are updated.
S307: judging whether updated alarm times reach the frequency threshold value of setting, if so, by the identification information Intelligent meter is added to blacklist.
Embodiment 3:
Fig. 4 be a kind of networking process schematic of intelligent meter provided in an embodiment of the present invention, the process the following steps are included:
S401: at the first time according to the networking itself saved, networking solicited message is sent to application server, wherein described Portable device information in networking solicited message using identifier information and applies key information.
A kind of method of network entry of intelligent meter provided in an embodiment of the present invention is applied to intelligent meter, and intelligent meter includes intelligence electricity Table, intelligent gas meter, intellectual water meter etc..
Networking is preserved in intelligent meter at the first time, when networking arrival at the first time, intelligent meter is sent out to application server It is sent into net solicited message.
For example, preserve networking in intelligent meter is 8:00 on October 1st, 2016 at the first time, when current time is 2016 When 8:00 on the 1st in October, networking solicited message is sent base station by intelligent meter, sends application for networking solicited message by base station Server, wherein Portable device information in the networking solicited message, using identifier information and applying key information.
S402: receiving the unpaired message that application server is sent, and at set time intervals, generate it is updated enter Net is at the first time, wherein the unpaired message is that application server judges first time period corresponding in networking first time Inside receive the intelligent meter transmission networking solicited message, and judge the device number information carried in the networking solicited message, The device number information that is pre-saved using identifier information, using key information and the application server for the intelligent meter, It is sent when consistent using identifier information, using key information.
Intelligent meter at the first time, when networking arrival at the first time, is sent out according to the networking itself saved to application server It is sent into net solicited message.It is sent when application server receives the intelligent meter in the corresponding first time period at the first time that networks Networking solicited message, and judge the device number information carried in the networking solicited message, using identifier information, using close Device number information that key information and the application server are pre-saved for the intelligent meter, using identifier information, using close When key information is consistent, application server to the intelligent meter send unpaired message, the unpaired message include application layer key information, Device address information and network layer key information.When application server sends unpaired message to intelligent meter, application server is first Base station first is sent by unpaired message, intelligent meter is sent for unpaired message by base station.
When intelligent meter receives the unpaired message of application server transmission, at set time intervals, generate after updating Networking at the first time.
Specifically, the networking can be generated at the first time based on preset algorithm, and intelligent meter and application server are adopted The networking is generated at the first time with identical algorithm, thus guarantee the time consistency that the two generates, and the networking at the first time can To be generated based on program.In addition, the record in order to realize the time interval, intelligent meter may include timer, intelligent meter root According to the time interval that timer is set, at the first time by the updated networking of operation Program Generating in intelligent meter.The time Interval can be the shorter time, such as 20s, 30 minutes etc., be also possible to longer time, such as 5 days, 10 days etc..
For example, the time that intelligent meter receives unpaired message is 8:00 on October 8th, 2016, between the time of timer setting Every that can be 2 days, then intelligent meter be in 8:00 on October 10th, 2016, by the operation Program Generating in intelligent meter it is updated enter At the first time, the updated networking can be 8:00 on October 15th, 2016 to net at the first time, when arrival in October, 2016 When 8:00 on the 15th, intelligent meter sends networking solicited message to application server again.
When intelligent meter receives unpaired message in the embodiment of the present invention, at set time intervals, generate updated Network at the first time, it is described it is updated networking be at the first time intelligent meter at set time intervals, pass through preset calculation What method generated, therefore, false intelligent meter cannot obtain updated networking at the first time, therefore the embodiment of the present invention can be effective Identification intelligent table it is true and false.
Certainly, if the device number information carried in the networking solicited message, believed using identifier information, using key Breath with itself be directed to device number information that the intelligent meter pre-saves, using identifier information, inconsistent using key information, this When, application server does not pass through the networking solicited message verification of the intelligent meter, and intelligent meter does not receive application server transmission Unpaired message.
Since in embodiments of the present invention, intelligent meter at the first time, is sent out according to the networking itself saved to application server It is sent into net solicited message, application server judges to receive the intelligent meter in the networking at the first time corresponding first time period The networking solicited message of transmission, and after verification passes through, application server sends unpaired message to intelligent meter, and intelligent meter receives When unpaired message, at set time intervals, updated networking is generated at the first time by preset algorithm, the update Networking afterwards be at the first time intelligent meter at set time intervals, generated by preset algorithm, therefore, false intelligent meter Updated networking cannot be obtained at the first time, thus the embodiment of the present invention can effective identification intelligent table it is true and false.
On the basis of the various embodiments described above of the present invention, intelligent meter at the first time, passes through base according to the networking itself saved It stands and sends networking solicited message to application server, the networking first time that application server is saved according to the intelligent meter, sentence Break and receive the networking solicited message of intelligent meter transmission in the first time corresponding first time period, enters described in the judgement The device number information that is carried in net solicited message, using identifier information, using key information and itself is pre- for the intelligent meter The device number information that first saves, using identifier information, it is consistent using key information when, send and match to intelligent meter by base station Information, at this point, the intelligent meter networks successfully.
After intelligent meter networks successfully, then preset data can be sent to network side equipment according to the time and period of agreement Packet, the time and period of the agreement are determined by LoRaWAN standard agreement.Fig. 5 is LoRaWAN standard agreement system architecture Figure, as shown in figure 5, intelligent meter includes main control module 51 and wireless communication module Node module 52, the main control module 51 is used for Control acquisition information, the Node module 52 are mounted on intelligent meter, can carry out data interaction with main control module 51. It further include base station Gateway53 and network side equipment in LoRaWAN standard agreement system architecture figure, wherein network side equipment includes Network server NServer54, application server AS erver55 and operation system 56.
For intelligent meter when carrying out data interaction with network side equipment, the main control module 51 on intelligent meter adds data packet Close, Node module 52 carries out communication encryption to data packet, and network layer key information is carried in data packet, using key information and is answered With layer key information, Gateway53 is delivered a packet to, Gateway53 is a terminal, is not appointed to data packet Where reason, Gateway53 are sent to NServer54 after receiving data packet, by the data packet, pass through NServer54 pairs Network layer key information decryption, deliver a packet to AServer55 later, by AServeer55 to application key information and After the decryption of application layer key information, operation system 56 is delivered a packet to, operation system 56 carries out packet decryption.Work as network Side apparatus to intelligent meter send data packet when, and by operation system 56 to data packet encrypt, NServer54 and AServeer55 carries out communication encryption to data packet, delivers a packet to Gateway53, is sent out data by Gateway53 The Node module 52 being sent in intelligent meter, delivers a packet to main control module 51 later.
Fig. 6 is a kind of networking apparatus structure schematic diagram of intelligent meter provided in an embodiment of the present invention, is applied to application service Device, the device include:
Judgment module 61, at the first time, judge according to the networking saved for each intelligent meter in the networking the Whether networking solicited message that corresponding intelligent meter send is received in one time corresponding first time period;
Sending module 62, if for receiving intelligent meter transmission in the first time corresponding first time period Networking solicited message, when judge the device number information carried in the networking solicited message, using identifier information, using key Device number information that information is pre-saved with itself for the intelligent meter, using identifier information, it is consistent using key information when, Unpaired message is sent to the intelligent meter, so that intelligent meter is at set time intervals, generates updated networking at the first time, And the application server is at set time intervals, generates updated networking at the first time;
Alarm module 63, if for not receiving intelligent meter in the networking at the first time corresponding first time period The networking solicited message of transmission starts intelligent meter abnormal alarm.
Described device further include:
Update module 64, for the identification information according to the intelligent meter for including in the intelligent meter abnormal alarm, to the mark The alarm times for knowing the intelligent meter of information are updated;
Adding module 65, for judging whether updated alarm times reach the frequency threshold value of setting, if so, should The intelligent meter of identification information is added to blacklist.
Fig. 7 be another embodiment of the present invention provides a kind of intelligent meter networking apparatus structure schematic diagram, be applied to intelligence Table, the device include:
Sending module 71, the networking for being saved according to itself at the first time, the request letter that networks are sent to application server Breath, wherein Portable device information in the networking solicited message, using identifier information and applying key information;
Receiving module 72 is generated for receiving the unpaired message of application server transmission, and at set time intervals Updated networking is at the first time, wherein the unpaired message is that application server judges corresponding at the first time in the networking The networking solicited message of intelligent meter transmission is received in first time period, and judges that is carried in the networking solicited message sets Standby number information is set with the application server for what the intelligent meter pre-saved using identifier information, using key information Standby number information is sent when consistent using identifier information, using key information.
Fig. 8 is the embodiment of the invention provides a kind of networking system structure diagram of intelligent meter, and the intelligent meter enters Net system include the intelligent meter applied to application server 81 networking device and the intelligence applied to intelligent meter 82 The networking device of table.
The embodiment of the present invention provides a kind of method of network entry of intelligent meter, apparatus and system, which comprises according to being directed to The networking that each intelligent meter saves at the first time, judges whether receive in the networking at the first time corresponding first time period The networking solicited message sent to corresponding intelligent meter;If so, when the device number for judging to carry in the networking solicited message Information, using identifier information, using key information and the device number information itself pre-saved for the intelligent meter, using knowledge Alias information, it is consistent using key information when, to the intelligent meter send unpaired message so that intelligent meter is according between the time of setting Every, generation updated networking first time, and the application server is at set time intervals, generates updated It networks at the first time;If not, starting intelligent meter abnormal alarm.Since in embodiments of the present invention, application server is for every A intelligent meter judges whether receive entering for corresponding intelligent meter transmission in its corresponding first time period at the first time that networks Net solicited message, if not, starting intelligent meter abnormal alarm, to realize the judgement true and false to intelligent meter, if receive into Net solicited message sends unpaired message to the intelligent meter, so that intelligent meter is according between the time of setting then after verification passes through Every at the first time, updated network is intelligent meter at the first time according between the time of setting to the updated networking of generation Every generation, therefore false intelligent meter is can not to obtain updated networking at the first time, therefore further ensure intelligent meter Safety, so as to avoid the loss of operation enterprise.
The present invention be referring to according to the method for the embodiment of the present invention, the process of equipment (system) and computer program product Figure and/or block diagram describe.It should be understood that every one stream in flowchart and/or the block diagram can be realized by computer program instructions The combination of process and/or box in journey and/or box and flowchart and/or the block diagram.It can provide these computer programs Instruct the processor of general purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices to produce A raw machine, so that being generated by the instruction that computer or the processor of other programmable data processing devices execute for real The device for the function of being specified in present one or more flows of the flowchart and/or one or more blocks of the block diagram.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing devices with spy Determine in the computer-readable memory that mode works, so that it includes referring to that instruction stored in the computer readable memory, which generates, Enable the manufacture of device, the command device realize in one box of one or more flows of the flowchart and/or block diagram or The function of being specified in multiple boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device, so that counting Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, thus in computer or The instruction executed on other programmable devices is provided for realizing in one or more flows of the flowchart and/or block diagram one The step of function of being specified in a box or multiple boxes.
Although preferred embodiments of the present invention have been described, it is created once a person skilled in the art knows basic Property concept, then additional changes and modifications may be made to these embodiments.So it includes excellent that the following claims are intended to be interpreted as It selects embodiment and falls into all change and modification of the scope of the invention.
Obviously, various changes and modifications can be made to the invention without departing from essence of the invention by those skilled in the art Mind and range.In this way, if these modifications and changes of the present invention belongs to the range of the claims in the present invention and its equivalent technologies Within, then the present invention is also intended to include these modifications and variations.

Claims (10)

1. a kind of method of network entry of intelligent meter, which is characterized in that be applied to application server, which comprises
At the first time according to the networking saved for each intelligent meter, judge first time corresponding in the networking first time Whether networking solicited message that corresponding intelligent meter send is received in section;
If so, when judging the device number information carried in the networking solicited message, believing using identifier information, using key Breath with itself be directed to the intelligent meter pre-save device number information, using identifier information, it is consistent using key information when, to The intelligent meter sends unpaired message, so that intelligent meter is at set time intervals, generates updated networking at the first time, and It is networked, and the application server is at set time intervals, is generated again at the first time according to the updated networking Updated networking is at the first time;
If not, starting intelligent meter abnormal alarm.
2. the method according to claim 1, wherein the unpaired message includes:
Application layer key information, device address information and network layer key information.
3. the method according to claim 1, wherein in the networking at the first time corresponding first time period Not receiving the networking solicited message that corresponding intelligent meter is sent includes:
The networking solicited message that the corresponding intelligent meter is sent is not received;Or
The networking solicited message that the corresponding intelligent meter is sent is received, but the time for receiving the networking solicited message is not located at In the first time period.
4. the method according to claim 1, wherein the method is also after the starting intelligent meter abnormal alarm Include:
Alarm according to the identification information for the intelligent meter for including in the intelligent meter abnormal alarm, to the intelligent meter of the identification information Number is updated;
Judge whether updated alarm times reach the frequency threshold value of setting, if so, the intelligent meter of the identification information is added It is added to blacklist.
5. a kind of method of network entry of intelligent meter, which is characterized in that be applied to intelligent meter, which comprises
At the first time according to the networking itself saved, networking solicited message is sent to application server, wherein the networking is requested Portable device information in information using identifier information and applies key information;
The unpaired message that application server is sent is received, and at set time intervals, when generating updated networking first Between, and networked again at the first time according to the updated networking, wherein the unpaired message is that application server judges at this The networking solicited message of intelligent meter transmission is received in the corresponding first time period at the first time that networks, and judges the networking The device number information that is carried in solicited message, using identifier information, using key information and the application server for should Device number information that intelligent meter pre-saves is sent when consistent using identifier information, using key information.
6. according to the method described in claim 5, it is characterized in that, the unpaired message includes:
Application layer key information, device address information and network layer key information.
7. a kind of networking device of intelligent meter, which is characterized in that described device includes:
Judgment module, at the first time, being judged according to the networking saved for each intelligent meter in the networking first time Whether networking solicited message that corresponding intelligent meter send is received in corresponding first time period;
Sending module, if the networking for receiving intelligent meter transmission in the first time corresponding first time period is asked Seek information, when the device number information for judging to carry in the networking solicited message, using identifier information, using key information with The device number information that itself pre-saves for the intelligent meter, using identifier information, it is consistent using key information when, to the intelligence Energy table sends unpaired message, so that intelligent meter is at set time intervals, generates updated networking at the first time, and according to The updated networking networks again at the first time, and the application server is at set time intervals, generates and updates Networking afterwards is at the first time;
Alarm module, if for not receiving intelligent meter transmission in the corresponding first time period at the first time that networks Networking solicited message starts intelligent meter abnormal alarm.
8. device according to claim 7, which is characterized in that described device further include:
Update module, for the identification information according to the intelligent meter for including in the intelligent meter abnormal alarm, to the identification information The alarm times of intelligent meter be updated;
Adding module, for judging whether updated alarm times reach the frequency threshold value of setting, if so, the mark is believed The intelligent meter of breath is added to blacklist.
9. a kind of networking device of intelligent meter, which is characterized in that described device includes:
Sending module, the networking for being saved according to itself send networking solicited message at the first time, to application server, wherein Portable device information in the networking solicited message using identifier information and applies key information;
Receiving module, the unpaired message sent for receiving service, and at set time intervals, generate updated networking At the first time, and according to the updated networking it networks again at the first time, wherein the unpaired message is that application server is sentenced Break and receive the networking solicited message of intelligent meter transmission in the networking at the first time corresponding first time period, and judges institute State the device number information carried in networking solicited message, using identifier information, using key information and the application server The device number information that pre-saves for the intelligent meter is sent when consistent using identifier information, using key information.
10. a kind of networking system of intelligent meter, which is characterized in that the networking system of the intelligent meter includes such as claim 7-8 The networking device of described in any item intelligent meters applied to application server, and it is as claimed in claim 9 applied to intelligence The networking device of the intelligent meter of table.
CN201610969528.9A 2016-10-27 2016-10-27 A kind of method of network entry of intelligent meter, apparatus and system Active CN106533858B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610969528.9A CN106533858B (en) 2016-10-27 2016-10-27 A kind of method of network entry of intelligent meter, apparatus and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610969528.9A CN106533858B (en) 2016-10-27 2016-10-27 A kind of method of network entry of intelligent meter, apparatus and system

Publications (2)

Publication Number Publication Date
CN106533858A CN106533858A (en) 2017-03-22
CN106533858B true CN106533858B (en) 2019-09-03

Family

ID=58326155

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610969528.9A Active CN106533858B (en) 2016-10-27 2016-10-27 A kind of method of network entry of intelligent meter, apparatus and system

Country Status (1)

Country Link
CN (1) CN106533858B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110519830B (en) * 2019-09-06 2021-07-06 中国机械设备工程股份有限公司 LoRaWAN system capable of identifying terminal equipment duplicate number and terminal equipment thereof
CN114125883B (en) * 2020-09-01 2024-04-05 美的智慧家居科技有限公司 Network access method and device of intelligent equipment, electronic equipment and storage medium
CN114189910B (en) * 2021-11-26 2023-08-25 青岛海信智慧生活科技股份有限公司 Electronic equipment, gateway and network access method of electronic equipment

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103647788A (en) * 2013-12-23 2014-03-19 国网重庆市电力公司 Node safety authentication method in smart grid
CN105991379A (en) * 2015-03-04 2016-10-05 美的集团股份有限公司 Network access method and system of electrical equipment

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103647788A (en) * 2013-12-23 2014-03-19 国网重庆市电力公司 Node safety authentication method in smart grid
CN105991379A (en) * 2015-03-04 2016-10-05 美的集团股份有限公司 Network access method and system of electrical equipment

Also Published As

Publication number Publication date
CN106533858A (en) 2017-03-22

Similar Documents

Publication Publication Date Title
CN107770182B (en) Data storage method of home gateway and home gateway
CN104935593B (en) The transmission method and device of data message
CN104851174B (en) Machine room intelligent gate inhibition's open method of a kind of high reliability and open system
CN105246073B (en) The access authentication method and server of wireless network
CN105933888B (en) A kind of eSIM card method for burn-recording and device based on NFC
CN106899410A (en) A kind of method and device of equipment identities certification
CN108537046A (en) A kind of online contract signature system and method based on block chain technology
CN106341372A (en) Terminal authentication processing method and device, and terminal authentication method, device and system
CN103929748A (en) Internet of things wireless terminal, configuration method thereof and wireless network access point
CN106533858B (en) A kind of method of network entry of intelligent meter, apparatus and system
CN106101097A (en) Home appliance and with the communication system of Cloud Server and method, Cloud Server
CN105681154A (en) Method and device for sending message in instant messaging software
CN107888603A (en) A kind of registration of Internet of Things smart machine, authentication method and Internet of Things
CN102143492B (en) Method for establishing virtual private network (VPN) connection, mobile terminal and server
CN106130818A (en) Network sharing, requesting terminal and network share flux monitoring method and system
CN105100268B (en) A kind of method of controlling security of internet of things equipment, system and application server
CN110300400B (en) Sign-in method, device, electronic equipment and storage medium
CN106899642A (en) A kind of Internet of Things link management method and equipment
CN109698834A (en) A kind of encrypted transmission method and system
CN107135229A (en) Intelligent home information safe verification method, device, equipment and system
CN115225339B (en) Safe access and data transmission method and system for sensing terminal of power transmission Internet of things
CN108322366A (en) Access the methods, devices and systems of network
CN108696475A (en) A kind of distribution power automation terminal automatic registration method and device with safety certification
CN103476025B (en) Progress management method, progress management system and mobile terminal
CN107241449A (en) Method of data synchronization and device, hand-held mobile terminal and storage medium

Legal Events

Date Code Title Description
C06 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