CN108667950A - A kind of method and apparatus obtaining device identification - Google Patents

A kind of method and apparatus obtaining device identification Download PDF

Info

Publication number
CN108667950A
CN108667950A CN201810246958.7A CN201810246958A CN108667950A CN 108667950 A CN108667950 A CN 108667950A CN 201810246958 A CN201810246958 A CN 201810246958A CN 108667950 A CN108667950 A CN 108667950A
Authority
CN
China
Prior art keywords
iot modules
module
target device
device identification
equipment
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201810246958.7A
Other languages
Chinese (zh)
Other versions
CN108667950B (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.)
Hisense Group Co Ltd
Original Assignee
Hisense Group 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 Hisense Group Co Ltd filed Critical Hisense Group Co Ltd
Priority to CN201810246958.7A priority Critical patent/CN108667950B/en
Publication of CN108667950A publication Critical patent/CN108667950A/en
Priority to PCT/CN2018/111251 priority patent/WO2019179093A1/en
Application granted granted Critical
Publication of CN108667950B publication Critical patent/CN108667950B/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
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/09Mapping addresses
    • H04L61/25Mapping addresses of the same type
    • H04L61/2503Translation of Internet protocol [IP] addresses
    • H04L61/255Maintenance or indexing of mapping tables
    • H04L61/2553Binding renewal aspects, e.g. using keep-alive messages
    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/50Address allocation
    • H04L61/5038Address allocation for local use, e.g. in LAN or USB networks, or in a controller area network [CAN]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/50Address allocation
    • H04L61/5076Update or notification mechanisms, e.g. DynDNS

Abstract

The invention discloses a kind of methods and apparatus obtaining device identification, need transformation and upgrade production line, the equipment of procuring equipment mark write-in and increase device identification that process is written when device identification to solve to obtain, to reduce productive problem.NB IoT modules judge whether that the device identification of the target device can be obtained from the target device that needs control, if the device identification of the target device can not be obtained from the target device that needs control, the module of NB IoT modules mark is then sent to network side, the device identification of the module mark binding with the NB IoT modules of the network side preservation is returned to the NB IoT modules by network side, which needs the device identification of the target device controlled using the device identification received as the NB IoT modules.The device identification of target device is obtained by NB IoT modules from network side, then need not be obtained in process of production, to improve productivity.

Description

A kind of method and apparatus obtaining device identification
Technical field
The present invention relates to electronic technology field, more particularly to a kind of method and apparatus obtaining device identification.
Background technology
Traditional equipment need not be communicated with the external world, and usual device identification is to be pasted onto equipment list in the form of a label Face, so as to the demands such as equipment management or equipment retrospect.
Traditional equipment need not be communicated with the external world, thus need not by built in device identification in a device, usually Device identification is to be pasted onto equipment surface in the form of a label, so that therefore the demands such as equipment management or equipment retrospect produce work It is controlled without corresponding device identification write-in station, tooling and productive temp in skill flow.
With the continuous development of science and technology, that communication module is embedded into the smart machine in traditional equipment is more and more general Time.After equipment increases intelligent management, need that unique device identification is written in a device, so that smart machine and the external world are led to Letter.
Currently, if write device identifies in process of production, the existing production line of upgrading, increase equipment mark are needed Know write device and increase device identification and process is written, to reduce productivity.
Invention content
The present invention provides a kind of method and apparatus obtaining device identification, existing in the prior art to equipment to solve When mark write-in, transformation and upgrade production line, procuring equipment mark write device are needed, and increase device identification and write process, to Reduce productive problem.
In a first aspect, a kind of method obtaining device identification provided in an embodiment of the present invention, including:NB-IoT (NarrowBand-Internet Of Things, narrowband Internet of Things) module judges whether that the target that can be controlled from needs is set The standby middle device identification for obtaining the target device;If the target device can not be obtained from the target device that needs control Device identification, then the NB-IoT modules modules of NB-IoT modules mark is sent to network side;The NB-IoT moulds Group receives the device identification with module mark binding that the network side returns;Described in the NB-IoT modules will receive Device identification of the device identification as the target device.
The above method, NB-IoT modules judge it is no can be from needing obtain the target device in the target device that controls Device identification, if the device identification of the target device can not be obtained from the target device that needs control, by the NB-IoT moulds The module mark of group is sent to network side, and network side is by the module mark binding with the NB-IoT modules of the network side preservation Device identification returns to the NB-IoT modules, and the NB-IoT modules are using the device identification received as the NB-IoT module needs The device identification of the target device of control.The device identification of target device is obtained by NB-IoT modules from network side, then is not required to It to obtain in process of production, to improve productive while save substantial contribution.
In one possible implementation, the NB-IoT modules are by the device identification received and the NB-IoT moulds The module mark of group is sent to the target device.
Above-mentioned possible realization method, target device receive device identification and module mark, realize device identification and mould The correspondence of group mark, to bind target device and NB-IoT modules.
In one possible implementation, the NB-IoT modules can obtained from the target device that needs control The device identification of the target device, and determine with the target device binding NB-IoT modules replace after, will described in The device identification of the module mark and the target device of NB-IoT modules is sent to network side, so that the network side updates mould The binding relationship of group mark and device identification.
Above-mentioned possible realization method, NB-IoT modules can obtain device identification from target device, and determine mesh The NB-IoT modules of marking device binding are replaced, then by the device identification of the module of NB-IoT modules mark and target device It is sent to network side, so that the binding relationship of network side update module mark and device identification.Due to network side preservation NB- The binding relationship of module mark and device identification before the replacement of IoT modules after NB-IoT modules change, needs to update network The binding relationship of module mark and device identification that side preserves.
In one possible implementation, if the NB-IoT modules can not be obtained from the NB-IoT modules and mould The device identification of group mark binding, it is determined that replaced with the NB-IoT modules of target device binding;If or the NB- The module mark and the module of the NB-IoT modules for the device identification binding that IoT modules are obtained from target device identify not Together, it is determined that replaced with the NB-IoT modules of target device binding;If or the NB-IoT modules are from target device The device identification of middle acquisition is different from the device identification preserved in the NB-IoT modules, it is determined that is bound with the target device NB-IoT modules replace.
Above-mentioned possible realization method lists and determines that the NB-IoT modules bound with the target device are replaced Three kinds of situations.
In one possible implementation, the NB-IoT modules can obtained from the target device that needs control The device identification of the target device, and after determining that the NB-IoT modules with target device binding are replaced, by The module mark of the NB-IoT modules is sent to the target device.
Above-mentioned possible realization method, NB-IoT modules can obtain the device identification of target device, and determine it is described with The NB-IoT modules of the target device binding are replaced, then the module of NB-IoT modules mark are sent to the target Equipment, module mark and the device identification in target device of NB-IoT modules realize correspondence, NB-IoT are realized with this The binding of module and target device.
Second aspect, the embodiment of the present invention also provide a kind of NB-IoT modules, which includes:At least one processing is single Member and at least one storage unit, wherein the storage unit has program stored therein code, when said program code is described When processing unit executes so that the processing unit executes the function of each embodiment of above-mentioned first aspect.
The third aspect, the embodiment of the present invention also provide a kind of equipment, and the processing unit in the equipment includes that the present invention is implemented Any NB-IoT modules that example provides, the equipment have the function of realizing each embodiment of above-mentioned first aspect.
In addition, technique effect caused by any realization method can be found in first party in second aspect and the third aspect Technique effect caused by different realization methods in face, details are not described herein again.
Description of the drawings
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 having to pay creative labor, it can also be obtained according to these attached drawings His attached drawing.
Fig. 1 is the flow diagram that inventive embodiments obtain device identification method;
Fig. 2 is the schematic diagram that inventive embodiments establish device id and module ID correspondences;
Fig. 3 is the Method Of Accomplishment schematic diagram of the first acquisition device identification of inventive embodiments;
Fig. 4 is the Method Of Accomplishment schematic diagram of second of acquisition device identification of inventive embodiments;
Fig. 5 is a kind of NB-IoT modular structures schematic diagram of inventive embodiments;
Fig. 6 is the device structure schematic diagram of second of acquisition device identification of inventive embodiments.
Specific implementation mode
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.
With the continuous development of science and technology, technology of Internet of things is gradually widely applied to industry-by-industry, is made in production Make, smart home, communication and logistics, the fields such as automobile all play increasingly important role, the epoch of all things on earth interconnection just and its Rapidly come into our life.
Such as in smart home field, smart home device in family has been managed and configured by smart home application It is widely used.A communication module is increased unlike traditional equipment, in smart machine, utilizes communication module and service The communication of device, to realize that the remote control to equipment controls.Such as intelligent air condition, in order to realize the intelligence pipe to air conditioner Reason then needs that a unique device id is written as device identification, when user uses the intelligence on mobile phone to every air conditioner When domestic applications, it is necessary to the unique mark of device id as the binding of air conditioner be used to set application program and this air conditioner The management to air conditioner can be realized in standby binding, application program and air conditioner after being bound.
Application program and device identification are bound, then need to obtain device identification.
The embodiment of the present invention obtains device identification by NB-IoT modules embedded in equipment.
Here NB-IoT is narrowband Internet of Things, with covering is wide, connection is more, rate is fast, at low cost, low in energy consumption, framework The features such as excellent.
The embodiment of the present invention is described in further detail with reference to the accompanying drawings of the specification.
As shown in Figure 1, a kind of method obtaining device identification provided in an embodiment of the present invention, specifically includes following steps:
S100, NB-IoT module judge whether that setting for the target device can be obtained from the target device that needs control Standby mark;
If S101, the device identification that the target device can not be obtained from the target device that needs control, the NB- The module mark of the NB-IoT modules is sent to network side by IoT modules;
S102, the NB-IoT modules receive the device identification with module mark binding that the network side returns;
S103, the NB-IoT modules are using the device identification received as the device identification of the target device.
NB-IoT modules judge whether that the equipment mark of the target device can be obtained from the target device that needs control Know, if the device identification of the target device can not be obtained from the target device that needs control, by the mould of the NB-IoT modules Group mark is sent to network side, and network side is by the equipment mark of the module mark binding with the NB-IoT modules of the network side preservation Know and return to the NB-IoT modules, which controls the device identification received as NB-IoT modules needs The device identification of target device.The device identification of target device is obtained by NB-IoT modules from network side, then need not be in life It is obtained during production, productivity is also improved while to save substantial contribution.
Equipment in the embodiment of the present invention can be intelligent air condition, and smart television, intelligent refrigerator etc. can be by NB-IoT moulds The all devices of group control are all suitable for the embodiment of the present invention.
The module of NB-IoT modules is identified by taking module ID as an example, and device identification says the present invention by taking device id as an example It is bright.
In force, module ID has been written into when producing NB-IoT modules in NB-IoT modules, but NB-IoT moulds Group needs to be possible to no device id in device to be controlled, so to obtain device id.
First in the production process of equipment, record distributes to the correspondence of the device id and module ID of equipment, then It is uploaded to specified server, if the correspondence of device id and module ID have existed, does not need scanning record equipment Equipment id information, only need printing device ID labels, be then pasted onto in equipment.As shown in Fig. 2, being as follows:
Step 200 is finished in functions of the equipments inspection, pastes station into device id label;
The module id information of step 201, scanning record NB-IoT modules;
Step 202, the device id information labels for judging whether there is terminal device are to execute step 203, otherwise execute step Rapid 205;
Step 203, scanning record have the id information of terminal device label;
Step 204, the correspondence for establishing module ID and device id, and it is sent to specified server;
Step 205, printing device ID labels;
Step 206, on the terminal device attaching apparatus ID labels;
Step 207, terminal device packaging, storage.
The correspondence of module ID and device id is established in the production process of equipment, and is uploaded to given server, Equipment powers on booting for the first time after manufacture, and NB-IoT modules are communicated with equipment foundation, and NB-IoT modules are read in equipment first The binding information of equipment id information and equipment, the wherein binding information of equipment are the module of the NB-IoT modules of equipment last time binding Id information, then the module binding information in NB-IoT modules reading NB-IoT modules, wherein module binding information were tied up for last time The equipment id information of fixed equipment.
When NB-IoT modules read the information in equipment and in NB-IoT modules, there are three types of situations, are equipment and NB- respectively IoT modules are bound for the first time, and the mainboard in equipment carried out replacement, and NB-IoT modules carried out replacement, below to these three situations It illustrates respectively.
Scene one, equipment and NB-IoT modules are bound for the first time:
Equipment first powers on booting, and NB-IoT modules read the binding letter of the equipment id information and equipment in equipment first Then breath reads the module binding information in NB-IoT modules, if there is no equipment id information and the binding information of equipment in equipment, There is no module binding information in NB-IoT modules, it is determined that equipment and NB-IoT modules are bound to be first, at this time NB-IoT modules The module ID of the NB-IoT modules is sent to network side equipment.
Since in process of production, the correspondence of device id and module ID have been uploaded to specified server, also It is network side equipment, so when the module ID of the NB-IoT modules is sent to network side equipment by NB-IoT modules, network side The device id corresponding with the module ID of the NB-IoT modules preserved in network side equipment can be sent to the NB-IoT by equipment Module.
The NB-IoT modules receive the device identification with module mark binding that the network side returns.
Due to the device id that network side equipment returns, the module with the NB-IoT modules being stored in network side equipment The corresponding device ids of ID, so the device id received is target device ID, that is, NB-IoT modules need device to be controlled Device id.
For example, in the production process of equipment, the device id for distributing to equipment is A, B, C, the mould of the NB-IoT modules Group ID is D, E, F, and the correspondence for recording the device id and module ID of distributing to equipment is:A is corresponding with D, and B is corresponding with E, C and F Corresponding, if the NB-IoT modules that module ID is D do not read device id from the device, mould D is sent to net by NB-IoT modules Network side, it is A that network side equipment, which inquires device id corresponding with D, then A is returned to NB-IoT modules.
After NB-IoT modules receive device id, device id and module ID are sent to target device.
Optionally, the module of the device identification received and the NB-IoT modules is identified and is sent by the NB-IoT modules To the target device.
After target device receives the module ID and device id of the transmission of NB-IoT modules, device id is written in equipment, And device id and module ID are preserved in a device.
Mainboard in scene two, equipment is replaced:
Equipment first powers on booting, and NB-IoT modules read the binding letter of the equipment id information and equipment in equipment first Then breath reads the module binding information in NB-IoT modules, if there is no equipment id information and the binding information of equipment in equipment, There is module binding information in NB-IoT modules, it is determined that the mainboard in equipment carried out replacement, at this time NB-IoT modules and network Side apparatus is communicated, and the module ID of the NB-IoT modules is sent to network side equipment.
Since in process of production, the correspondence of device id and module ID have been uploaded to specified server, also It is network side equipment, so when the module ID of the NB-IoT modules is sent to network side equipment by NB-IoT modules, network side The device id corresponding with the module ID of the NB-IoT modules preserved in network side equipment can be sent to the NB-IoT by equipment Module.
The NB-IoT modules receive the device identification with module mark binding that the network side returns.
Due to the device id that network side equipment returns, the module with the NB-IoT modules being stored in network side equipment The corresponding device ids of ID, so the device id received is target device ID, that is, NB-IoT modules need device to be controlled Device id.
After NB-IoT modules receive device id, device id and module ID are sent to target device.
Optionally, the module of the device identification received and the NB-IoT modules is identified and is sent by the NB-IoT modules To the target device.
After target device receives the module ID and device id of the transmission of NB-IoT modules, device id is written in equipment, And device id and module ID are preserved in a device.
Scene three, NB-IoT modules carried out replacement:
If NB-IoT modules read equipment id information, equipment id information can be read, but preserved in equipment mould It is preserved in the group equipment that id information is different with the module id information of the NB-IoT modules or NB-IoT modules are read from the device Equipment id information is not preserved during the module id information of module id information and the NB-IoT modules itself is different or NB-IoT modules, Replacement occurred for judgement NB-IoT modules at this time.
Optionally, if the NB-IoT modules can not obtain the equipment with module mark binding from the NB-IoT modules Mark, it is determined that replaced with the NB-IoT modules of target device binding;Or
If module mark and the NB-IoT of the device identification binding that the NB-IoT modules are obtained from target device The module mark of module is different, it is determined that is replaced with the NB-IoT modules of target device binding;Or
If the NB-IoT modules are set from the device identification obtained in target device with what is preserved in the NB-IoT modules Standby mark is different, it is determined that is replaced with the NB-IoT modules of target device binding.
What needs to be explained here is that when NB-IoT modules and equipment are bound, network side equipment is returned to NB-IoT modules Equipment id information corresponding with the module id information of the NB-IoT modules is returned, NB-IoT modules preserve the equipment id information, and will The module id information of equipment id information and the NB-IoT modules is sent to equipment, and the equipment id information received is written to by equipment In equipment, and preserve the module id information of the equipment id information and the NB-IoT modules.
For example, the NB-IoT modules that the equipment that equipment id information is A is B with module id information are bound, then in equipment The id information of write-in is A, and the equipment id information preserved in equipment is A, and the module id information of preservation is B, is protected in NB-IoT modules The equipment id information deposited is A.
In force, equipment first powers on booting, NB-IoT modules read from the device first equipment id information and Then the module id information preserved in equipment reads the equipment id information preserved in NB-IoT modules.
Here the module id information preserved in equipment is the module id information for the NB-IoT modules bound with equipment last time, If the module id information preserved in equipment is empty information, illustrate that the equipment is no and NB-IoT modules carried out binding.
Here the equipment id information preserved in NB-IoT modules is the equipment for the equipment bound with NB-IoT module last time Id information, if the equipment id information preserved in NB-IoT modules is empty information, illustrate the NB-IoT modules without and equipment Carried out binding.
If the equipment id information preserved in the equipment id information and NB-IoT modules in the equipment that NB-IoT modules are read It is inconsistent, then illustrate that NB-IoT modules carried out replacement.
For example the equipment id information in the equipment of NB-IoT modules reading is A, the device id letter preserved in NB-IoT modules Breath is B, then the equipment that explanation and NB-IoT module last time bind is the equipment that equipment id information is B, it is determined that device id is believed Breath is that the NB-IoT modules in the equipment of A carried out replacement.
If the module id information of the module id information and the NB-IoT modules preserved in the equipment that NB-IoT modules are read It is inconsistent, then illustrate that NB-IoT modules carried out replacement.
For example the module id information preserved in the equipment of NB-IoT modules reading is C, the module ID letters of the NB-IoT modules Breath is D, then explanation and the NB-IoT modules of equipment last time binding are the NB-IoT modules that module id information is C, it is determined that setting NB-IoT modules in standby carried out replacement, and the module id information of the NB-IoT modules after replacement is D.
If NB-IoT modules read NB-IoT modules in there is no equipment id information, can also illustrate NB-IoT modules into Went replacement.
Because NB-IoT modules can read equipment equipment id information and equipment in the module id information that preserves, then Illustrate that equipment carried out binding, if there is no equipment id information in the NB-IoT modules in equipment, illustrates that NB-IoT modules do not have Binding was carried out, so determining that the NB-IOT modules in equipment carried out replacement.
NB-IoT modules can read device id from the device, and can determine that the NB-IoT modules in equipment occurred It replaces, then the binding relationship information of the device id of network side preservation and module ID need to update.
Optionally, the NB-IoT modules can obtain setting for the target device from the target device that needs control Standby mark, and after determining that the NB-IoT modules with target device binding are replaced, by the module of the NB-IoT modules The device identification of mark and the target device is sent to network side, so that network side update module mark and device identification Binding relationship.
For example, in process of production, the NB-IoT modules that the equipment that equipment id information is A is B with module id information are established Binding relationship, then the binding relationship preserved in remote server is that A is corresponding with B, if the NB-IoT modules progress in equipment It replaces, the module id information after replacement is C, then the correspondence of A and B should be updated to A and C in remote server.
Specific update mode is that module id information C and equipment id information A are sent to network side and set by NB-IoT modules Standby, network side equipment inquires the module ID corresponding with equipment id information A preserved in network side equipment according to equipment id information A Module id information B is changed to module id information C, completes the module id information and equipment of NB-IOT modules in server by information B The correspondence of id information.
Network side is by after the binding relationship update of module mark and device identification, and NB-IoT modules are by the mould of NB-IoT modules Group mark is sent to target device.
Optionally, the NB-IoT modules can obtain setting for the target device from the target device that needs control Standby mark, and after determining that the NB-IoT modules with target device binding are replaced, by the NB-IoT modules Module mark is sent to the target device.
After target device receives the module mark of NB-IoT modules transmission, the module received mark is saved in equipment In, and the module of the NB-IoT modules bound with equipment last time preserved in equipment is identified and is deleted.
As shown in figure 3, the first method for obtaining device identification of the embodiment of the present invention includes:
Step 300, NB-IoT modules read the binding information of equipment id information and equipment in equipment, and wherein equipment is tied up Determine the module id information for the NB-IoT modules that information is last time binding;
Step 301, NB-IoT modules, which are read, preserves module binding information in module, wherein module binding information was tied up for last time The equipment id information of fixed equipment;
Can step 302, NB-IoT modules read equipment id information from the device, if can, step 303 is executed, otherwise Execute step 310;
Step 303, equipment and NB-IoT modules are first binding or the mainboard replacement of equipment;
Step 304, NB-IoT modules are communicated with remote server, and the module ID of NB-IoT modules is sent to remote server Information;
The module id information that step 305, remote server are sent according to NB-IoT modules is inquired in remote server and is preserved Equipment id information corresponding with the module id information;
The equipment id information inquired is sent to NB-IoT modules by step 306, remote server;
After step 307, NB-IoT modules receive the equipment id information of remote server transmission, the device id that will receive The module id information of information and NB-IoT modules is sent to NB-IoT modules and needs the target device controlled;
After step 308, target device receive equipment id information and the module id information of the transmission of NB-IoT modules, by equipment Id information is written in equipment, and preserves module id information;
Step 309, NB-IoT modules preserve the equipment id information received, execute step 315;
The device id preserved in equipment id information and NB-IoT modules in the equipment that step 310, NB-IoT modules are read The module id information of the module id information and NB-IoT modules that are preserved in the equipment that information difference or NB-IoT modules are read is not Without equipment id information together or in NB-IoT modules, then judge that module is replaced;
Step 311, NB-IoT modules are communicated with remote server, the equipment id information that NB-IoT modules are read with The module id information of NB-IoT modules is sent to remote server;
The module id information corresponding with equipment id information preserved in step 312, remote server inquiry remote server, The module ID letters for the NB-IoT modules that the module id information preserved in remote server the NB-IoT modules received are sent Breath is replaced, and is preserved;
Step 313, NB-IoT modules send the module id information of NB-IoT modules to target device, will be protected in target device The binding information deposited is updated to the module id information of the NB-IoT modules received;
The equipment that binding information in NB-IoT modules is updated to the reading of NB-IoT modules by step 314, NB-IoT modules Id information;
Step 315 completes bindings.
As shown in figure 4, the complete method of second of acquisition device identification of the embodiment of the present invention includes:
Step 400, NB-IoT modules read the binding information of equipment id information and equipment in equipment;
Step 401, NB-IoT modules, which are read, preserves module binding information in module;
Step 402 judges whether NB-IoT modules and equipment are to bind for the first time, if so, executing step 405, are otherwise executed Step 403;
Step 403 judges whether the mainboard in equipment carried out replacement, if so, step 405 is executed, it is no to then follow the steps 404;
Step 404 judges whether the module in equipment carried out replacement, if so, step 411 is executed, it is no to then follow the steps 415;
Step 405, NB-IoT modules are communicated with remote server, and the module ID of NB-IoT modules is sent to remote server Information;
The module id information that step 406, remote server are sent according to NB-IoT modules is inquired in remote server and is preserved Equipment id information corresponding with the module id information;
The equipment id information inquired is sent to NB-IoT modules by step 407, remote server;
After step 408, NB-IoT modules receive the equipment id information of remote server transmission, the device id that will receive The module id information of information and NB-IoT modules is sent to NB-IoT modules and needs the target device controlled;
After step 409, target device receive equipment id information and the module id information of the transmission of NB-IoT modules, by equipment Id information is written in equipment, and preserves module id information;
Step 410, NB-IoT modules preserve the equipment id information received, execute step 415;
Step 411, NB-IoT modules are communicated with remote server, the equipment id information that NB-IoT modules are read with The module id information of NB-IoT modules is sent to remote server;
The module id information corresponding with equipment id information preserved in step 412, remote server inquiry remote server, The module id information of the module id information preserved in remote server the NB-IoT modules received is replaced, and is preserved;
Step 413, NB-IoT modules send the module id information of NB-IoT modules to target device, will be protected in target device The binding information deposited is updated to the module id information of the NB-IoT modules received;
The equipment that binding information in NB-IoT modules is updated to the reading of NB-IoT modules by step 414, NB-IoT modules Id information;
Step 415 completes bindings.
Based on same inventive concept, a kind of equipment obtaining device identification is additionally provided in the embodiment of the present invention, due to this The principle that equipment solves the problems, such as is similar to acquisition of the embodiment of the present invention method of device identification, therefore the implementation of the equipment can be joined The implementation of square method, overlaps will not be repeated.
As shown in figure 5, NB-IoT modules provided in an embodiment of the present invention, the module include:At least one processing unit 500 and at least one storage unit 501, wherein the storage unit 501 has program stored therein code, works as said program code When being executed by the processing unit 500 so that the processing unit 500 executes following process:
Judging whether can be from the device identification for needing to obtain the target device in the target device that controls;If can not be from It needs to obtain the device identification of the target device in the target device controlled, is then sent to the module of NB-IoT modules mark Network side;Receive the device identification with module mark binding that the network side returns;The device identification that will be received Device identification as the target device.
Optionally, the processing unit 500 is additionally operable to:
The module of the device identification received and NB-IoT modules mark is sent to the target device.
Optionally, the processing unit 500 is additionally operable to:
The device identification of the target device can be being obtained from needing the target device controlled, and determining and the mesh After the NB-IoT modules of marking device binding are replaced, by the module mark of the NB-IoT modules and setting for the target device Standby mark is sent to network side, so that the binding relationship of the network side update module mark and device identification.
Optionally, the processing unit 500 is specifically used for:
The device identification with module mark binding can not be obtained from the NB-IoT modules, it is determined that set with the target The NB-IoT modules of standby binding are replaced;Or obtained from target device device identification binding module mark with it is described The module mark of NB-IoT modules is different, it is determined that is replaced with the NB-IoT modules of target device binding;Or from mesh The device identification obtained in marking device is different from the device identification preserved in the NB-IoT modules, it is determined that is set with the target The NB-IoT modules of standby binding are replaced.
Optionally, the processing unit 500 is additionally operable to:
Can from needing to obtain the device identification of the target device in the target device that controls, and determine it is described with it is described After the NB-IoT modules of target device binding are replaced, the module mark of the NB-IoT modules is sent to the target and is set It is standby.
Based on same inventive concept, a kind of equipment obtaining device identification is additionally provided in the embodiment of the present invention, due to this The principle that equipment solves the problems, such as is similar to acquisition of the embodiment of the present invention method of device identification, therefore the implementation of the equipment can be joined The implementation of square method, overlaps will not be repeated.
As shown in fig. 6, the embodiment of the present invention also provides a kind of equipment obtaining device identification, including sending module 600, connect Receive module 601 and determining module 602:
Sending module 600:For in the equipment mark that can not obtain the target device from needing the target device controlled After knowledge, the module mark of the NB-IoT modules is sent to network side;
Receiving module 601:The device identification with module mark binding returned for receiving the network side;
Determining module 602:For using the device identification received as the device identification of the target device.
Optionally, the sending module 600 is additionally operable to:
The module of the device identification received and NB-IoT modules mark is sent to the target device.
Optionally, the sending module 600 is additionally operable to:
The device identification of the target device can be being obtained from needing the target device controlled, and determining and the mesh After the NB-IoT modules of marking device binding are replaced, by the module mark of the NB-IoT modules and setting for the target device Standby mark is sent to network side, so that the binding relationship of the network side update module mark and device identification.
Optionally, the determining module 602 is specifically used for:
The device identification with module mark binding can not be obtained from the NB-IoT modules, it is determined that set with the target The NB-IoT modules of standby binding are replaced;Or obtained from target device device identification binding module mark with it is described The module mark of NB-IoT modules is different, it is determined that is replaced with the NB-IoT modules of target device binding;Or from mesh The device identification obtained in marking device is different from the device identification preserved in the NB-IoT modules, it is determined that is set with the target The NB-IoT modules of standby binding are replaced.
Optionally, the sending module 600 is additionally operable to:
Can from needing to obtain the device identification of the target device in the target device that controls, and determine it is described with it is described After the NB-IoT modules of target device binding are replaced, the module mark of the NB-IoT modules is sent to the target and is set It is standby.
Based on same inventive concept, a kind of equipment obtaining device identification is additionally provided in the embodiment of the present invention, due to this The principle that equipment solves the problems, such as is similar to acquisition of the embodiment of the present invention method of device identification, therefore the implementation of the equipment can be joined The implementation of square method, overlaps will not be repeated.
The embodiment of the present invention also provides a kind of equipment, and the processing unit in the equipment includes provided in an embodiment of the present invention A kind of one NB-IoT modules.
The embodiment of the present invention also provides a kind of computer-readable non-volatile memory medium, including program code, when described When program code is run on the computing device, said program code is obtained for making the computing device execute the embodiment of the present invention The step of method of device identification.
Above by reference to showing according to the method, apparatus (system) of the embodiment of the present application and/or the frame of computer program product Figure and/or flow chart describe the application.It should be understood that can realize that block diagram and or flow chart is shown by computer program instructions The combination of one block of figure and the block of block diagram and or flow chart diagram.These computer program instructions can be supplied to logical With computer, the processor of special purpose computer and/or other programmable data processing units, to generate machine so that via meter The instruction that calculation machine processor and/or other programmable data processing units execute creates for realizing block diagram and or flow chart block In specified function action method.
Correspondingly, the application can also be implemented with hardware and/or software (including firmware, resident software, microcode etc.).More Further, the application can take computer usable or the shape of computer program product on computer readable storage medium Formula has the computer realized in the medium usable or computer readable program code, to be made by instruction execution system It is used with or in conjunction with instruction execution system.In the present context, computer can be used or computer-readable medium can be with It is arbitrary medium, can includes, store, communicating, transmitting or transmitting program, is made by instruction execution system, device or equipment With, or instruction execution system, device or equipment is combined to use.
Obviously, various changes and modifications can be made to the invention without departing from essence of the invention by those skilled in the art God 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 obtaining device identification, which is characterized in that this method includes:
Narrowband Internet of Things NB-IoT modules judge whether that the target device can be obtained from the target device that needs control Device identification;
If the device identification of the target device can not be obtained from the target device that needs control, the NB-IoT modules will The module mark of the NB-IoT modules is sent to network side;
The NB-IoT modules receive the device identification with module mark binding that the network side returns;
The NB-IoT modules are using the device identification received as the device identification of the target device.
2. the method as described in claim 1, which is characterized in that the NB-IoT modules receive that the network side returns with institute After the device identification for stating module mark binding, further include:
The module of the device identification received and NB-IoT modules mark is sent to the target by the NB-IoT modules Equipment.
3. the method as described in claim 1, which is characterized in that this method further includes:
The NB-IoT modules are in the device identification that can obtain the target device from needing the target device that controls, and really After the fixed NB-IoT modules with target device binding are replaced, by the module mark of the NB-IoT modules and the mesh The device identification of marking device is sent to network side, so that the binding relationship of the network side update module mark and device identification.
4. method as claimed in claim 3, which is characterized in that the NB-IoT modules determine and target device binding NB-IoT modules are replaced, including:
If the NB-IoT modules can not obtain the device identification with module mark binding from the NB-IoT modules, it is determined that It is replaced with the NB-IoT modules of target device binding;Or
If module mark and the NB-IoT modules of the device identification binding that the NB-IoT modules are obtained from target device Module mark it is different, it is determined that replaced with the NB-IoT modules of target device binding;Or
If the equipment mark that the NB-IoT modules are preserved from the device identification obtained in target device and the NB-IoT modules Know different, it is determined that replaced with the NB-IoT modules of target device binding.
5. method as claimed in claim 3, which is characterized in that this method further includes:
The NB-IoT modules are in the device identification that can obtain the target device from needing the target device that controls, and really After the fixed NB-IoT modules with target device binding are replaced, the module of the NB-IoT modules is identified and is sent To the target device.
6. a kind of narrowband Internet of Things NB-IoT modules, which is characterized in that the module includes:At least one processing unit and at least One storage unit, wherein the storage unit has program stored therein code, when said program code is executed by the processing unit When so that the processing unit executes following process:
Judging whether can be from the device identification for needing to obtain the target device in the target device that controls;If can not be from needs The device identification of the target device is obtained in the target device of control, then the module of NB-IoT modules mark is sent to network Side;Receive the device identification with module mark binding that the network side returns;Using the device identification received as The device identification of the target device.
7. module as claimed in claim 6, which is characterized in that the processing unit is additionally operable to:
The module of the device identification received and NB-IoT modules mark is sent to the target device.
8. module as claimed in claim 6, which is characterized in that the processing unit is additionally operable to:
In the device identification that can obtain the target device from needing the target device controlled, and determination is set with the target After the NB-IoT modules of standby binding are replaced, by the equipment mark of the module mark and the target device of the NB-IoT modules Knowledge is sent to network side, so that the binding relationship of the network side update module mark and device identification.
9. module as claimed in claim 8, which is characterized in that the processing unit is specifically used for:
The device identification with module mark binding can not be obtained from the NB-IoT modules, it is determined that tie up with the target device Fixed NB-IoT modules are replaced;Or module mark and the NB-IoT of the device identification binding obtained from target device The module mark of module is different, it is determined that is replaced with the NB-IoT modules of target device binding;Or from target device The device identification of middle acquisition is different from the device identification preserved in the NB-IoT modules, it is determined that is bound with the target device NB-IoT modules replace.
10. a kind of equipment, which is characterized in that the processing unit includes any narrowband Internet of Things of claim 6~9 NB-IoT modules.
CN201810246958.7A 2018-03-23 2018-03-23 Method and device for obtaining device identification Active CN108667950B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201810246958.7A CN108667950B (en) 2018-03-23 2018-03-23 Method and device for obtaining device identification
PCT/CN2018/111251 WO2019179093A1 (en) 2018-03-23 2018-10-22 Method for obtaining device identifier in nb-iot, and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810246958.7A CN108667950B (en) 2018-03-23 2018-03-23 Method and device for obtaining device identification

Publications (2)

Publication Number Publication Date
CN108667950A true CN108667950A (en) 2018-10-16
CN108667950B CN108667950B (en) 2021-12-21

Family

ID=63782509

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810246958.7A Active CN108667950B (en) 2018-03-23 2018-03-23 Method and device for obtaining device identification

Country Status (2)

Country Link
CN (1) CN108667950B (en)
WO (1) WO2019179093A1 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2019179093A1 (en) * 2018-03-23 2019-09-26 海信集团有限公司 Method for obtaining device identifier in nb-iot, and device
CN110536283A (en) * 2019-09-02 2019-12-03 百度在线网络技术(北京)有限公司 Terminal identifier acquisition method, device, electronic equipment and medium
CN111641581A (en) * 2019-03-01 2020-09-08 阿里巴巴集团控股有限公司 Data processing method, device, equipment and storage medium

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111065093B (en) * 2020-01-10 2023-04-18 宁波方太厨具有限公司 Wireless ad hoc network system

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105282234A (en) * 2015-09-14 2016-01-27 北京奇虎科技有限公司 Intelligent device connection method, device and system
CN106413124A (en) * 2015-07-31 2017-02-15 腾讯科技(深圳)有限公司 Device binding method and apparatus
WO2017054134A1 (en) * 2015-09-29 2017-04-06 华为技术有限公司 Method and device for determining a frequency resource
CN106685947A (en) * 2016-12-23 2017-05-17 Tcl集团股份有限公司 Smart-TV private cloud equipment access method and system
CN106954233A (en) * 2016-01-07 2017-07-14 中兴通讯股份有限公司 The method and communication equipment of a kind of protenchyma on-line customer core net selection
CN107367949A (en) * 2017-06-14 2017-11-21 珠海格力电器股份有限公司 Obtain the methods, devices and systems of product identification
CN107493212A (en) * 2017-08-30 2017-12-19 海信集团有限公司 Configuration processing method, terminal, server and the system of intelligent home device

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9774604B2 (en) * 2015-01-16 2017-09-26 Zingbox, Ltd. Private cloud control
CN105404258B (en) * 2015-11-30 2019-03-08 聚好看科技股份有限公司 Smart home management method and platform
CN107181651A (en) * 2017-06-23 2017-09-19 海信集团有限公司 Intelligent home device collocation method and device
CN107800687B (en) * 2017-09-26 2020-04-14 无锡小天鹅电器有限公司 Equipment binding method and system based on Internet of things and washing machine
CN108667950B (en) * 2018-03-23 2021-12-21 海信集团有限公司 Method and device for obtaining device identification

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106413124A (en) * 2015-07-31 2017-02-15 腾讯科技(深圳)有限公司 Device binding method and apparatus
CN105282234A (en) * 2015-09-14 2016-01-27 北京奇虎科技有限公司 Intelligent device connection method, device and system
WO2017054134A1 (en) * 2015-09-29 2017-04-06 华为技术有限公司 Method and device for determining a frequency resource
CN106954233A (en) * 2016-01-07 2017-07-14 中兴通讯股份有限公司 The method and communication equipment of a kind of protenchyma on-line customer core net selection
CN106685947A (en) * 2016-12-23 2017-05-17 Tcl集团股份有限公司 Smart-TV private cloud equipment access method and system
CN107367949A (en) * 2017-06-14 2017-11-21 珠海格力电器股份有限公司 Obtain the methods, devices and systems of product identification
CN107493212A (en) * 2017-08-30 2017-12-19 海信集团有限公司 Configuration processing method, terminal, server and the system of intelligent home device

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2019179093A1 (en) * 2018-03-23 2019-09-26 海信集团有限公司 Method for obtaining device identifier in nb-iot, and device
CN111641581A (en) * 2019-03-01 2020-09-08 阿里巴巴集团控股有限公司 Data processing method, device, equipment and storage medium
CN111641581B (en) * 2019-03-01 2022-07-19 阿里巴巴集团控股有限公司 Data processing method, device, equipment and storage medium
CN110536283A (en) * 2019-09-02 2019-12-03 百度在线网络技术(北京)有限公司 Terminal identifier acquisition method, device, electronic equipment and medium
CN110536283B (en) * 2019-09-02 2022-06-14 百度在线网络技术(北京)有限公司 Terminal identifier acquisition method, device, electronic equipment and medium

Also Published As

Publication number Publication date
WO2019179093A1 (en) 2019-09-26
CN108667950B (en) 2021-12-21

Similar Documents

Publication Publication Date Title
CN108667950A (en) A kind of method and apparatus obtaining device identification
CN100385855C (en) System and its method for central remote automatic upgrading software
CN107367949B (en) Obtain the methods, devices and systems of product identification
CN111786885B (en) Distributed full-link gray level routing method and device
CN103458004B (en) Internet of things equipment CAMEL-Subscription-Information variation and equipment
CN110365510A (en) It is a kind of can to network node batch OTA upgrade things-internet gateway and OTA upgrade method
CN101296146B (en) Remote upgrading system of television set
CN103164244A (en) Firmware system long-distance updating methods based on unified extensible firmware interface
CN104954394A (en) Software differential packet production and update method, server, terminal and update system
CN106648716A (en) Increment updating method, server and intelligent card
CN104144466A (en) Access method for sensor in Internet of Things, Internet of Things system and server
CN106598530A (en) Display panel configuration method and device
CN108769275A (en) A kind of access system and server
CN110245128A (en) Method for building up and device, storage medium, the electronic device of meta-model
CN101521600B (en) Service control method in gateway equipment and gateway equipment
CN103778395A (en) Application installation method for near field communication (NFC) terminal and near field communication (NFC) terminal
CN103164232A (en) Method and system of updating intelligent terminal operating system and computer
CN111756858A (en) Remote development processing system, method and device of embedded equipment
CN106056436A (en) Data fallback method, device and system
CN110430293A (en) Matching method and device, the storage medium and processor of multi-line system
CN101969501A (en) Mobile terminal, and data synchronization system and method thereof
CN101251807A (en) Method for upgrading set top box front panel programmable SCM
CN102568113A (en) Module, device, system and method for capital transfer among electronic purses of mobile terminals
CN101986269A (en) Method for implementing machine refreshing through network under Android platform
CN102300198B (en) Realize method and system and the mobile phone remote service centre of mobile phone remote service

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