WO2019179093A1 - Method for obtaining device identifier in nb-iot, and device - Google Patents

Method for obtaining device identifier in nb-iot, and device Download PDF

Info

Publication number
WO2019179093A1
WO2019179093A1 PCT/CN2018/111251 CN2018111251W WO2019179093A1 WO 2019179093 A1 WO2019179093 A1 WO 2019179093A1 CN 2018111251 W CN2018111251 W CN 2018111251W WO 2019179093 A1 WO2019179093 A1 WO 2019179093A1
Authority
WO
WIPO (PCT)
Prior art keywords
electronic device
iot
identifier
target
device identifier
Prior art date
Application number
PCT/CN2018/111251
Other languages
French (fr)
Chinese (zh)
Inventor
王昕�
薛晓英
Original Assignee
海信集团有限公司
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 海信集团有限公司 filed Critical 海信集团有限公司
Publication of WO2019179093A1 publication Critical patent/WO2019179093A1/en

Links

Images

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

Definitions

  • the present disclosure relates to the field of electronic technologies, and in particular, to a method and device for acquiring device identifiers in an NB-IOT network.
  • the present disclosure provides a method and apparatus for acquiring device identification in an NB-IOT network.
  • a method for obtaining a device identifier in an NB-IOT network includes: determining, by an electronic device for NB-IoT (NarrowBand-Internet Of Things), whether it can be from a target device that needs to be controlled.
  • NB-IoT NearBand-Internet Of Things
  • the electronic device for NB-IoT uses the electronic device for NB-IoT
  • the electronic device identifier is sent to the remote server; the electronic device for the NB-IoT receives the device identifier that is bound by the remote server and is bound to the electronic device identifier; and the electronic device for the NB-IoT
  • the received device identifier is used as the device identifier of the target device.
  • the electronic device for NB-IoT determines the remote server based on a preset Internet Protocol (IP) address and port number.
  • IP Internet Protocol
  • the electronic device for the NB-IoT needs to determine the remote server that communicates with the electronic device for the NB-IoT, and the method of determining the remote server is based on the preset. The IP address and port number are determined.
  • the electronic device for NB-IoT transmits the received device identification and the electronic device identification of the electronic device for NB-IoT to the target device.
  • the target device receives the device identifier and the electronic device identifier, and implements a correspondence between the device identifier and the electronic device identifier, thereby binding the target device and the electronic device for the NB-IoT.
  • the electronic device for NB-IoT is capable of acquiring a device identifier of the target device from a target device that needs to be controlled, and determining a binding for the target device for NB-IoT. After the electronic device is replaced, the electronic device identifier of the electronic device for the NB-IoT and the device identifier of the target device are sent to the remote server, so that the remote server updates the electronic device identifier and the device identifier. Binding relationship.
  • the electronic device for the NB-IoT can acquire the device identifier from the target device, and determine that the electronic device for the NB-IoT bound by the target device is replaced, and the electronic device for the NB-IoT is used.
  • the identifier of the electronic device and the device identifier of the target device are sent to the remote server, so that the remote server updates the binding relationship between the electronic device identifier and the device identifier.
  • the remote server saves the binding relationship between the electronic device identifier and the device identifier before the electronic device replacement for the NB-IoT.
  • the electronic device identifier saved by the remote server needs to be updated. Binding relationship with the device ID.
  • determining to be tied to the target device Determining that the electronic device for the NB-IoT is replaced; or the electronic device identification bound to the device identification acquired from the target device by the electronic device for the NB-IoT and the electronic device for the NB-IoT
  • the electronic device identifier of the device is different, determining that the electronic device for the NB-IoT bound to the target device is replaced; or responding to the device identifier acquired by the electronic device for the NB-IoT from the target device
  • the device identifiers stored in the electronic device for the NB-IoT are different, and it is determined that the electronic device for the NB-IoT bound to the target device is replaced.
  • the electronic device for NB-IoT is capable of acquiring a device identifier of the target device from a target device that needs to be controlled, and determining that the NB- is bound to the target device. After the electronic device of the IoT is replaced, the electronic device identifier of the electronic device for the NB-IoT is sent to the target device.
  • the electronic device for the NB-IoT can acquire the device identifier of the target device, and determine that the electronic device for the NB-IoT bound to the target device is replaced, and the NB-IoT is used for the NB-
  • the electronic device identifier of the electronic device of the IoT is sent to the target device, and the electronic device identifier of the electronic device for the NB-IoT is associated with the device identifier in the target device, thereby implementing the electronic device for the NB-IoT Binding to the target device.
  • the embodiment of the present disclosure further provides a method for obtaining a device identifier in an NB-IOT network, including: receiving, by a remote server, an electronic device identifier sent by an electronic device used by the NB-IOT, according to a binding relationship between the identifier of the electronic device and the device identifier Determining, by the device identifier corresponding to the identifier of the electronic device, sending the determined device identifier to the electronic device for the NB-IoT.
  • the method further includes: the remote server receiving the electronic device identifier of the electronic device for the NB-IOT sent by the electronic device for the NB-IOT and the target device that needs to be controlled
  • the device identifier is used to update the binding relationship between the electronic device identifier and the device identifier.
  • the remote server updates the binding relationship between the electronic device identifier and the device identifier.
  • An embodiment of the present disclosure further provides an electronic device for NB-IoT, the electronic device comprising: a processor and a memory, wherein the memory stores a computer program, and the processor is configured to execute the computer program when The computer program, when executed by the processor, causes the processor to perform the functions of the various embodiments of the electronic device method side described above for NB-IoT.
  • the embodiment of the present disclosure further provides a device, where the processor in the device includes any one of the NB-IoT electronic device provided by the embodiment of the present disclosure, and the device has the electronic device method for implementing the NB-IoT described above.
  • the processor in the device includes any one of the NB-IoT electronic device provided by the embodiment of the present disclosure, and the device has the electronic device method for implementing the NB-IoT described above.
  • Embodiments of the present disclosure also provide a remote server including: a processor and a memory, wherein the memory stores a computer program, the processor configured to execute the computer program such that the processor The functions of the various embodiments of the remote server method side described above are performed.
  • FIG. 1 is a schematic flowchart of a method for acquiring a device identifier according to an embodiment of the present invention
  • FIG. 2 is a schematic diagram of establishing a correspondence between a device ID and an electronic device ID according to an embodiment of the present invention
  • FIG. 3 is a schematic diagram of a method for obtaining a device identifier in a first NB-IOT network according to an embodiment of the present invention
  • FIG. 4 is a schematic diagram of a method for obtaining a device identifier in a second NB-IOT network according to an embodiment of the present invention
  • FIG. 5 is a schematic structural diagram of an electronic device for NB-IoT according to an embodiment of the invention.
  • FIG. 6 is a schematic structural diagram of a device for acquiring a device identifier according to a second embodiment of the present invention.
  • FIG. 7 is a schematic structural diagram of a remote server according to an embodiment of the present disclosure.
  • smart home devices in the home through smart home applications have been widely used.
  • a communication module is added to the smart device, and communication between the communication module and the server is utilized, thereby realizing remote control control of the device.
  • Smart devices that embed communication modules into legacy devices are becoming more common. After the device is added with intelligent management, a unique device identifier needs to be written in the device so that the smart device can communicate with the outside world.
  • smart air conditioners in order to achieve intelligent management of air conditioners, it is necessary to write a unique device ID for each air conditioner as the device identifier.
  • the device ID of the air conditioner When the user uses the smart home application on the mobile phone, the device ID of the air conditioner must be used as the device.
  • the unique identifier of the binding binds the application to the device of the air conditioner, and the application and the air conditioner are bound to realize the management of the air conditioner.
  • the existing production line needs to be upgraded, the device identification writing device is added, and the device identification writing process is added, and the transformation cost is high.
  • Embodiments of the present disclosure acquire device identification by an electronic device embedded in the device for NB-IoT.
  • the NB-IoT here is a narrowband Internet of Things with wide coverage, many connections, fast speed, low cost, low power consumption and excellent architecture.
  • a method for obtaining a device identifier in an NB-IOT network includes the following steps:
  • the electronic device used by the NB-IoT determines whether the device identifier of the target device can be obtained from the target device that needs to be controlled.
  • the electronic device for the NB-IoT sends the electronic device identifier of the electronic device for the NB-IoT to the remote device, in response to the device identifier of the target device being unavailable from the target device that needs to be controlled. server;
  • the electronic device for NB-IoT receives a device identifier that is returned by the remote server and is bound to the identifier of the electronic device.
  • the electronic device for the NB-IoT uses the received device identifier as a device identifier of the target device.
  • the electronic device for the NB-IoT determines whether the device identifier of the target device can be obtained from the target device that needs to be controlled, and is used in response to the device identifier of the target device cannot be obtained from the target device that needs to be controlled.
  • the electronic device identifier of the electronic device of the NB-IoT is sent to the remote server, and the remote server returns the device identifier saved by the remote server and the electronic device identifier of the electronic device for the NB-IoT to the
  • the electronic device for the NB-IoT uses the received device identifier as the device identifier of the target device that the electronic device for the NB-IoT needs to control.
  • the device identification of the target device is obtained from the remote server through the electronic device for the NB-IoT, and does not need to be obtained in the production process, thereby saving a lot of money and improving productivity.
  • the device in the embodiment of the present disclosure refers to any terminal device that has a specific function and does not have data interaction with a remote server, such as a conventional refrigerator, an air conditioner, a washing machine, etc., and can be used for electronic device control of the NB-IoT.
  • a remote server such as a conventional refrigerator, an air conditioner, a washing machine, etc.
  • Embodiments of the present disclosure are applicable to all devices.
  • the electronic device for NB-IoT in the embodiment of the present disclosure is a device that utilizes an NB-IoT network deployed by an operator, and can perform data interaction with a remote server, and is composed of a NB-IoT main chip, a radio frequency circuit unit, and a baseband circuit unit.
  • the NB-IoT main chip is a SoC (System on Chip) chip with built-in NB-IoT protocol stack, application processor core and memory, etc., which can work in the NB-IoT cellular network deployed by the operator.
  • SoC System on Chip
  • the RF circuit unit includes a transmitter, a receiver, and a power amplifier for transmitting and receiving wireless signals between the NB-IoT electronic device and the NB-IoT access network
  • the baseband circuit unit includes power supply, clock, UMI, UART, SPI, I2C, GPIO and other peripheral devices. It mainly supplies power, clock signal, UMI and other inputs to the main chip, and provides UART, SPI, I2C, GPIO and other interfaces for customers. Used to interface with devices and expand functions.
  • the combination of the device and the electronic device for NB-IoT allows the device to perform data interaction with the remote server, enabling data acquisition and remote control on the device.
  • the electronic device identification of the electronic device for the NB-IoT is exemplified by the electronic device ID, and the device identification is described by taking the device ID as an example.
  • the electronic device ID has been written into the electronic device for the NB-IoT when the electronic device for NB-IoT is produced, but there may be no device among the devices that need to be controlled by the electronic device for the NB-IoT ID, so get the device ID.
  • the correspondence between the device ID and the electronic device ID assigned to the device is recorded, and then uploaded to the designated server. If the correspondence between the device ID and the electronic device ID already exists, the scanning device is not required to be scanned. Device ID information, just print the device ID tag and paste it on the device. As shown in Figure 2, the specific steps are as follows:
  • Step 200 After the device function check is completed, enter the device ID label pasting station;
  • Step 201 Scan electronic device ID information of an electronic device used for NB-IoT;
  • Step 202 determining whether there is a device ID information label of the terminal device, yes, step 203 is performed, otherwise step 205 is performed;
  • Step 203 Scan the ID information of the label of the existing terminal device
  • Step 204 Establish a correspondence between the electronic device ID and the device ID, and send the corresponding relationship to the specified server.
  • Step 205 printing a device ID tag
  • Step 206 Paste a device ID label on the terminal device.
  • Step 207 the terminal device is packaged and stored.
  • the correspondence between the electronic device ID and the device ID is established and uploaded to the designated server.
  • the device is powered on for the first time after being shipped from the factory, and the electronic device for the NB-IoT establishes communication with the device, first used for NB.
  • - IoT's electronic device reads the device ID information in the device and the binding information of the device, wherein the binding information of the device is the electronic device ID information of the electronic device for the NB-IoT that the device last binds, and then used for
  • the electronic device of the NB-IoT reads the electronic device binding information in the electronic device for the NB-IoT, wherein the electronic device binding information is the device ID information of the last bound device.
  • the device is powered on for the first time, and the electronic device for the NB-IoT first reads the device ID information and the binding information of the device, and then reads the electronic device binding information in the electronic device for the NB-IoT.
  • the electronic device for the NB-IoT In response to the device having no device ID information and binding information of the device, and the electronic device for the NB-IoT does not have the electronic device binding information, determining that the device and the electronic device for the NB-IoT are initially bound, The electronic device for the NB-IoT transmits the electronic device ID of the electronic device for the NB-IoT to the remote server.
  • the electronic device for the NB-IoT since the electronic device for the NB-IoT needs to transmit the electronic device ID of the electronic device for the NB-IoT to the remote server, the electronic device for the NB-IoT determines the remote server.
  • the manner in which the electronic device for the NB-IoT determines the remote server can be determined according to a preset IP address and a port number.
  • the default IP address and port number here is the IP address and port number of the remote server that communicates with the electronic device used for the NB-IoT.
  • the IP address and port number of the remote server are written into the electronic device for the NB-IoT, and the electronic device for the NB-IoT is saved according to itself.
  • the IP address and port number determine the remote server and communicate with the remote server.
  • the device is produced, the IP address and port number of the remote server are written to the device for the NB-IoT electronic device. Communicate with the device, the device sends its saved IP address and port number to the electronic device for NB-IoT, and the electronic device for the NB-IoT determines the remote server according to the received IP address and port number, and Communicate with a remote server.
  • the remote server Since the correspondence between the device ID and the electronic device ID has been uploaded to the designated server, that is, the remote server, in the production process, when the electronic device for the NB-IoT uses the electronic device for the NB-IoT electronic device
  • the remote server determines the device ID corresponding to the electronic device ID of the electronic device used for the NB-IoT according to the binding relationship between the electronic device identifier and the device identifier saved in the remote server. And transmitting the determined device ID to the electronic device for the NB-IoT.
  • the electronic device for the NB-IoT After the electronic device for the NB-IoT establishes communication with the remote server, the electronic device for the NB-IoT receives the device identifier that is returned by the remote server and is bound to the electronic device identifier.
  • the device ID returned by the remote server is the device ID corresponding to the electronic device ID of the electronic device for the NB-IoT stored in the remote server, so the received device ID is the target device ID, that is, The device ID of the device that the NB-IoT electronic device needs to control.
  • the device IDs assigned to the devices are A, B, and C
  • the electronic device IDs of the electronic devices for the NB-IoT are D, E, and F
  • the device IDs assigned to the devices are recorded.
  • the correspondence relationship with the electronic device ID is: A corresponds to D, B corresponds to E, C corresponds to F, and the electronic device for NB-IoT in response to the electronic device ID D does not read the device ID from the device.
  • the electronic device for the NB-IoT sends the modulo D to the remote server, and the remote server queries the device ID corresponding to D as A, and then returns A to the electronic device for the NB-IoT.
  • the electronic device for the NB-IoT After receiving the device ID, the electronic device for the NB-IoT transmits the device ID and the electronic device ID to the target device.
  • the electronic device for the NB-IoT sends the received device identifier and the electronic device identifier of the electronic device for the NB-IoT to the target device.
  • the target device After receiving the electronic device ID and device ID sent by the electronic device for the NB-IoT, the target device writes the device ID into the device, and saves the device ID and the electronic device ID in the device.
  • Scenario 2 Mainboard replacement in the device:
  • the device is powered on for the first time, and the electronic device for the NB-IoT first reads the device ID information and the binding information of the device, and then reads the electronic device binding information in the electronic device for the NB-IoT.
  • the electronic device for the NB-IoT has electronic device binding information, and then the motherboard in the device is determined to be replaced, and the NB-IoT is used at this time.
  • the electronic device communicates with the remote server, and transmits the electronic device ID of the electronic device for the NB-IoT to the remote server.
  • the remote server Since the correspondence between the device ID and the electronic device ID has been uploaded to the designated server, that is, the remote server, in the production process, when the electronic device for the NB-IoT uses the electronic device for the NB-IoT electronic device
  • the remote server sends the device ID corresponding to the electronic device ID of the electronic device for the NB-IoT saved in the remote server to the electronic device for the NB-IoT. .
  • the electronic device for the NB-IoT receives the device identifier bound by the remote server and bound to the electronic device identifier.
  • the device ID returned by the remote server is the device ID corresponding to the electronic device ID of the electronic device for the NB-IoT stored in the remote server, so the received device ID is the target device ID, that is, The device ID of the device that the NB-IoT electronic device needs to control.
  • the electronic device for the NB-IoT After receiving the device ID, the electronic device for the NB-IoT transmits the device ID and the electronic device ID to the target device.
  • the electronic device for the NB-IoT sends the received device identifier and the electronic device identifier of the electronic device for the NB-IoT to the target device.
  • the target device After receiving the electronic device ID and device ID sent by the electronic device for the NB-IoT, the target device writes the device ID into the device, and saves the device ID and the electronic device ID in the device.
  • the device ID information can be read, but the electronic device ID information stored in the device is different from the electronic device ID information of the electronic device for the NB-IoT, Or the electronic device ID information stored in the device read from the device by the electronic device for the NB-IoT is different from the electronic device ID information of the electronic device itself for the NB-IoT, or the electronic device for the NB-IoT
  • the device ID information is not saved, and it is determined that the electronic device used for the NB-IoT has been replaced.
  • determining to be bound to the target device In response to the electronic device for the NB-IoT being unable to acquire the device identifier bound to the electronic device identifier from the electronic device for the NB-IoT, determining to be bound to the target device The electronic device used for NB-IoT is replaced; or
  • the remote server returns the electronic device ID information corresponding to the electronic device for the NB-IoT to the electronic device for the NB-IoT.
  • Device ID information the electronic device for the NB-IoT saves the device ID information, and transmits the device ID information and the electronic device ID information of the electronic device for the NB-IoT to the device, and the device ID that the device will receive The information is written to the device, and the device ID information and the electronic device ID information of the electronic device for the NB-IoT are saved.
  • the device with the device ID information A is bound to the electronic device for the NB-IoT whose electronic device ID information is B, the ID information written in the device is A, and the device ID information stored in the device is A.
  • the saved electronic device ID information is B, and the device ID information stored in the electronic device for the NB-IoT is A.
  • the device is powered on for the first time, and the electronic device for the NB-IoT first reads the device ID information from the device and the electronic device ID information saved in the device, and then reads the electronic device for the NB-IoT. Device ID information saved in .
  • the electronic device ID information stored in the device is the electronic device ID information of the electronic device for the NB-IoT that is last bound to the device. If the electronic device ID information stored in the device is empty, the device does not have the device. Bind with electronic devices for NB-IoT.
  • the device ID information held in the electronic device for NB-IoT is the device ID information of the device last bound to the electronic device for NB-IoT, if the device is stored in the electronic device for NB-IoT If the ID information is null, the electronic device for the NB-IoT is not bound to the device.
  • the electronic device for the NB-IoT If the device ID information in the device read by the electronic device for the NB-IoT does not match the device ID information stored in the electronic device for the NB-IoT, the electronic device for the NB-IoT is replaced.
  • the device ID information in the device for reading the electronic device of the NB-IoT is A
  • the device ID information stored in the electronic device for the NB-IoT is B, which is illustrated on the electronic device for the NB-IoT.
  • the secondary bound device is a device whose device ID information is B, so it is determined that the electronic device for the NB-IoT in the device whose device ID information is A has been replaced.
  • the electronic device ID information stored in the device for reading by the electronic device of the NB-IoT does not match the electronic device ID information of the electronic device for the NB-IoT, the electronic device for the NB-IoT is replaced. .
  • the electronic device ID information stored in the device for reading the electronic device of the NB-IoT is C
  • the electronic device ID information of the electronic device for the NB-IoT is D, indicating that the device is last bound with the device.
  • the electronic device for NB-IoT is an electronic device for NB-IoT with electronic device ID information C, so it is determined that the electronic device for NB-IoT in the device has been replaced, and the replaced NB-IoT is used for replacement.
  • the electronic device ID information of the electronic device is D.
  • the device ID information is not included in the electronic device for the NB-IoT read by the electronic device for the NB-IoT, it can also be explained that the electronic device for the NB-IoT has been replaced.
  • the electronic device for the NB-IoT can read the device ID information of the device and the electronic device ID information stored in the device, the device is bound, in response to the electronic device for the NB-IoT in the device. If there is no device ID information, it means that the electronic device used for the NB-IoT has not been bound, so it is determined that the electronic device for the NB-IOT in the device has been replaced.
  • the electronic device for the NB-IoT can read the device ID from the device, and can determine that the electronic device for the NB-IoT in the device has been replaced, and the binding of the device ID and the electronic device ID saved by the remote server Relationship information needs to be updated.
  • the electronic device for the NB-IoT is capable of acquiring the device identifier of the target device from the target device that needs to be controlled, and determining the electronic device for the NB-IoT bound to the target device. After the replacement occurs, the electronic device identifier of the electronic device for the NB-IoT and the device identifier of the target device are sent to the remote server, so that the remote server updates the binding of the electronic device identifier and the device identifier. relationship.
  • the device with the device ID information A and the electronic device with the ID information B for the NB-IoT are bound, and the binding relationship stored in the remote server is A and B. If the electronic device for the NB-IoT in the device is replaced and the replaced electronic device ID information is C, the correspondence between A and B in the remote server should be updated to A and C.
  • the specific update manner is that the electronic device for the NB-IoT sends the electronic device ID information C and the device ID information A to the remote server, and the remote server queries the device ID saved in the remote server according to the device ID information A.
  • the electronic device ID information B corresponding to the information A is replaced with the electronic device ID information C, and the correspondence between the electronic device ID information and the device ID information of the electronic device for the NB-IOT in the server is completed.
  • the remote server receives the electronic device identifier of the electronic device for the NB-IoT and the device identifier of the target device that needs to be controlled, and updates the binding relationship between the electronic device identifier and the device identifier.
  • the electronic device for the NB-IoT After the remote server updates the binding relationship between the electronic device identifier and the device identifier, the electronic device for the NB-IoT sends the electronic device identifier of the electronic device for the NB-IoT to the target device.
  • the electronic device for the NB-IoT is configured to acquire the device identifier of the target device from the target device that needs to be controlled, and determine the NB-IoT bound to the target device. After the electronic device is replaced, the electronic device identifier of the electronic device for the NB-IoT is sent to the target device.
  • the target device After receiving the electronic device identifier sent by the electronic device for the NB-IoT, the target device saves the received electronic device identifier to the device, and saves the device last used for binding to the device for NB-IoT.
  • the electronic device identification of the electronic device is deleted.
  • the method for obtaining a device identifier in a first NB-IOT network includes:
  • Step 300 The device ID information and the binding information of the device in the electronic device of the NB-IoT are read, wherein the binding information of the device is the electronic device ID of the electronic device for the NB-IoT that is last bound. information;
  • Step 301 The electronic device binding information is saved in the electronic device reading electronic device for the NB-IoT, where the electronic device binding information is device ID information of the last bound device;
  • Step 302 the electronic device for NB-IoT can read the device ID information from the device, if yes, go to step 303, otherwise go to step 310;
  • Step 303 The device and the electronic device used for the NB-IoT are the first binding or the motherboard replacement of the device;
  • Step 304 The electronic device for the NB-IoT communicates with the remote server, and sends the electronic device ID information of the electronic device for the NB-IoT to the remote server;
  • Step 305 The remote server queries the device ID information corresponding to the electronic device ID information stored in the remote server according to the electronic device ID information sent by the electronic device for the NB-IoT.
  • Step 306 The remote server sends the queried device ID information to the electronic device for the NB-IoT.
  • Step 307 After receiving the device ID information sent by the remote server, the electronic device for the NB-IoT sends the received device ID information and the electronic device ID information of the electronic device for the NB-IoT to the NB-IoT.
  • Step 308 After receiving the device ID information and the electronic device ID information sent by the electronic device for the NB-IoT, the target device writes the device ID information into the device, and saves the electronic device ID information.
  • Step 309 the electronic device for NB-IoT saves the received device ID information, and performs step 315;
  • Step 310 The device ID information in the device read by the electronic device for the NB-IoT is different from the device ID information stored in the electronic device used for the NB-IoT, or the device used for reading the electronic device of the NB-IoT If the electronic device ID information stored in the electronic device ID information is different from the electronic device ID information of the electronic device used for the NB-IoT, or the electronic device for the NB-IoT has no device ID information, it is determined that the electronic device is replaced;
  • Step 311 The electronic device for the NB-IoT communicates with the remote server, and sends the device ID information read by the electronic device for the NB-IoT and the electronic device ID information of the electronic device for the NB-IoT to the remote server. ;
  • Step 312 The remote server queries the electronic device ID information corresponding to the device ID information stored in the remote server, and transmits the electronic device ID information stored in the remote server to the received NB-IoT electronic device for the NB- The electronic device ID information of the IoT electronic device is replaced and saved;
  • Step 313 The electronic device for the NB-IoT sends the electronic device ID information of the electronic device for the NB-IoT to the target device, and updates the binding information saved in the target device to the received electronic device for the NB-IoT.
  • Electronic device ID information of the device
  • Step 314 The electronic device for the NB-IoT updates the binding information in the electronic device for the NB-IoT to the device ID information read by the electronic device for the NB-IoT;
  • Step 315 completing the binding operation.
  • a complete method for obtaining a device identifier in a second NB-IOT network includes:
  • Step 400 The device ID information and the binding information of the device in the electronic device of the NB-IoT are read by the device;
  • Step 401 The electronic device for the NB-IoT reads the electronic device binding information in the electronic device;
  • Step 402 determining whether the electronic device and device used for the NB-IoT are the initial binding, and if so, executing step 405, otherwise performing step 403;
  • Step 403 it is determined whether the motherboard in the device has been replaced, and if so, step 405 is performed, otherwise step 404 is performed;
  • Step 404 it is determined whether the electronic device in the device has been replaced, and if so, step 411 is performed, otherwise step 415 is performed;
  • Step 405 The electronic device for the NB-IoT communicates with the remote server, and sends the electronic device ID information of the electronic device for the NB-IoT to the remote server.
  • Step 406 The remote server queries the device ID information corresponding to the electronic device ID information stored in the remote server according to the electronic device ID information sent by the electronic device for the NB-IoT.
  • Step 407 The remote server sends the queried device ID information to the electronic device for the NB-IoT.
  • Step 408 After receiving the device ID information sent by the remote server, the electronic device for the NB-IoT sends the received device ID information and the electronic device ID information of the electronic device for the NB-IoT to the NB-IoT.
  • Step 409 After receiving the device ID information and the electronic device ID information sent by the electronic device for the NB-IoT, the target device writes the device ID information into the device, and saves the electronic device ID information.
  • Step 410 the electronic device for NB-IoT saves the received device ID information, and performs step 415;
  • Step 411 The electronic device for the NB-IoT communicates with the remote server, and sends the device ID information read by the electronic device for the NB-IoT and the electronic device ID information of the electronic device for the NB-IoT to the remote server. ;
  • Step 412 The remote server queries the electronic device ID information corresponding to the device ID information stored in the remote server, and replaces the electronic device ID information stored in the remote server with the received electronic device ID information of the electronic device for the NB-IoT. And save;
  • Step 413 The electronic device for the NB-IoT sends the electronic device ID information of the electronic device for the NB-IoT to the target device, and updates the binding information saved in the target device to the received electronic device for the NB-IoT.
  • Electronic device ID information of the device
  • Step 414 The electronic device for the NB-IoT updates the binding information in the electronic device for the NB-IoT to the device ID information read by the electronic device for the NB-IoT;
  • Step 415 completing the binding operation.
  • an apparatus for obtaining a device identifier is also provided in the embodiment of the present disclosure.
  • the principle of solving the problem is similar to the method for obtaining the device identifier in the embodiment of the present disclosure. Therefore, the implementation of the device may refer to the implementation of the method. , the repetition will not be repeated.
  • an electronic device for NB-IoT includes: a processor 500 and a memory 501:
  • the processor 500 is configured to determine whether the device identifier of the target device can be obtained from the target device that needs to be controlled; and in response to the device identifier of the target device cannot be obtained from the target device that needs to be controlled, it is used for the NB-
  • the electronic device identifier of the electronic device of the IoT is sent to the remote server; the device identifier that is bound to the electronic device identifier returned by the remote server is received; and the received device identifier is used as the device identifier of the target device. .
  • determine the remote server in the following ways:
  • the remote server is determined according to the preset internet protocol IP address and port number.
  • processor 500 is further configured to:
  • processor 500 is further configured to:
  • the electronic device for the NB-IoT is obtained after the device identifier of the target device can be obtained from the target device that needs to be controlled, and the electronic device for the NB-IoT bound to the target device is determined to be replaced.
  • the electronic device identifier of the device and the device identifier of the target device are sent to the remote server, so that the remote server updates the binding relationship between the electronic device identifier and the device identifier.
  • the processor 500 is specifically configured to:
  • processor 500 is further configured to:
  • the device identifier of the target device can be obtained from the target device that needs to be controlled, and after determining that the electronic device for the NB-IoT bound to the target device is replaced, the NB-IoT is used. An electronic device identification of the electronic device is sent to the target device.
  • an apparatus for obtaining a device identifier in an NB-IOT network is also provided in the embodiment of the present disclosure.
  • the principle of solving the problem is similar to the method for obtaining the device identifier in the embodiment of the present disclosure, so the implementation of the device is implemented. See the implementation of the method, and the repetition will not be repeated.
  • the embodiment of the present disclosure further provides an apparatus for acquiring a device identifier, including a determining module 600, a sending module 601, a receiving module 602, and a determining module 603:
  • the determining module 600 is configured to determine whether the device identifier of the target device can be obtained from the target device that needs to be controlled;
  • the sending module 601 is configured to: after receiving the device identifier of the target device from the target device that needs to be controlled, send the electronic device identifier of the electronic device for the NB-IoT to the remote server;
  • the receiving module 602 is configured to receive a device identifier that is bound by the remote server and that is bound to the identifier of the electronic device.
  • the determining module 603 is configured to use the received device identifier as the device identifier of the target device.
  • the sending module 601 is further configured to:
  • the sending module 601 is further configured to:
  • the electronic device for the NB-IoT is obtained after the device identifier of the target device can be obtained from the target device that needs to be controlled, and the electronic device for the NB-IoT bound to the target device is determined to be replaced.
  • the electronic device identifier of the device and the device identifier of the target device are sent to the remote server, so that the remote server updates the binding relationship between the electronic device identifier and the device identifier.
  • the determining module 603 is specifically configured to:
  • the sending module 601 is further configured to:
  • the device identifier of the target device can be obtained from the target device that needs to be controlled, and after determining that the electronic device for the NB-IoT bound to the target device is replaced, the NB-IoT is used. An electronic device identification of the electronic device is sent to the target device.
  • an apparatus for obtaining a device identifier is also provided in the embodiment of the present disclosure.
  • the principle of solving the problem is similar to the method for obtaining the device identifier in the embodiment of the present disclosure. Therefore, the implementation of the device may refer to the implementation of the method. , the repetition will not be repeated.
  • the embodiment of the present disclosure further provides an apparatus, where the processing unit in the apparatus includes any one of the electronic devices for NB-IoT provided by the embodiments of the present disclosure.
  • a remote server is also provided in the embodiment of the present disclosure.
  • the method for solving the problem is similar to the method for obtaining the device identifier in the embodiment of the present disclosure. Therefore, the implementation of the device can be implemented by referring to the method. It will not be repeated here.
  • an embodiment of the present disclosure provides a remote server, where the remote server includes a processor 700 and a memory 701, wherein the memory 701 stores a computer program, and the processor 700 is configured to execute The computer program is described to cause the remote server to perform the following process:
  • processor 700 is further configured to:
  • Embodiments of the present disclosure also provide a computer readable non-volatile storage medium comprising program code for causing the computing device to perform an embodiment of the present disclosure when the program code is run on a computing device The steps of the method for obtaining device identification in the NB-IOT network.
  • the application can also be implemented in hardware and/or software (including firmware, resident software, microcode, etc.). Still further, the application can take the form of a computer program product on a computer usable or computer readable storage medium having computer usable or computer readable program code embodied in a medium for use by an instruction execution system or Used in conjunction with the instruction execution system.
  • a computer usable or computer readable medium can be any medium that can contain, store, communicate, communicate, or transport a program for use by an instruction execution system, apparatus or device, or in conjunction with an instruction execution system, Used by the device or device.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Health & Medical Sciences (AREA)
  • Computing Systems (AREA)
  • General Health & Medical Sciences (AREA)
  • Medical Informatics (AREA)
  • Information Transfer Between Computers (AREA)
  • Telephonic Communication Services (AREA)

Abstract

Disclosed are a method for obtaining a device identifier in a NB-IoT, and a device. The method comprises: an electronic device for a NB-IoT determines whether a device identifier of a target device to be controlled can be obtained from the target device, and in response to that the device identifier cannot be obtained from the target device, sends an electronic device identifier of the electronic device for the NB-IoT to a remote server; the remote server returns a device identifier bound with the electronic device identifier of the electronic device for the NB-IoT saved in the remote server back to the electronic device for the NB-IoT; and the electronic device for the NB-IoT uses the received device identifier as the device identifier of the target device to be controlled by the electronic device for the NB-IoT. A device identifier of a target device is obtained from a remote server by means of an electronic device for an NB-IoT, instead of being obtained in a production process, so that device identifier write is performed without modifying a production line, purchasing a device identifier write device, or adding a device identifier write program or other responsible programs.

Description

一种NB-IOT网络中获取设备标识的方法和设备Method and device for acquiring device identification in NB-IOT network
本申请要求在2018年03月23日提交中国专利局、申请号为201810246958.7、申请名称为“一种获取设备标识的方法和设备”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。The present application claims priority to Chinese Patent Application No. 201810246958.7 filed on March 23, 2018, the entire disclosure of which is incorporated herein by reference. In the application.
技术领域Technical field
本公开涉及电子技术领域,特别涉及一种NB-IOT网络中获取设备标识的方法和设备。The present disclosure relates to the field of electronic technologies, and in particular, to a method and device for acquiring device identifiers in an NB-IOT network.
背景技术Background technique
传统的设备不需要与外界进行通信,通常设备标识是以标签的形式粘贴在设备表面,以便设备管理或设备追溯等需求。Conventional devices do not need to communicate with the outside world. Usually, device identification is attached to the surface of the device in the form of a label for device management or device traceability.
因此,生产工艺流程中没有相应的设备标识写入工位、工装和生产节拍控制。Therefore, there is no corresponding equipment identification writing station, tooling and production tempo control in the production process.
发明内容Summary of the invention
本公开提供一种NB-IOT网络中获取设备标识的方法和设备。The present disclosure provides a method and apparatus for acquiring device identification in an NB-IOT network.
本公开实施例提供的一种NB-IOT网络中获取设备标识的方法,包括:用于NB-IoT(NarrowBand-Internet Of Things,窄带物联网)的电子设备判断是否能够从需要控制的目标设备中获取所述目标设备的设备标识;响应于无法从需要控制的目标设备中获取所述目标设备的设备标识,则所述用于NB-IoT的电子设备将所述用于NB-IoT的电子设备的电子设备标识发送给远端服务器;所述用于NB-IoT的电子设备接收所述远端服务器返回的与所述电子设备标识绑定的设备标识;所述用于NB-IoT的电子设备将收到的所述设备标识作为所述目标设备的设备标识。A method for obtaining a device identifier in an NB-IOT network according to an embodiment of the present disclosure includes: determining, by an electronic device for NB-IoT (NarrowBand-Internet Of Things), whether it can be from a target device that needs to be controlled. Obtaining a device identifier of the target device; in response to failing to acquire a device identifier of the target device from a target device that needs to be controlled, the electronic device for NB-IoT uses the electronic device for NB-IoT The electronic device identifier is sent to the remote server; the electronic device for the NB-IoT receives the device identifier that is bound by the remote server and is bound to the electronic device identifier; and the electronic device for the NB-IoT The received device identifier is used as the device identifier of the target device.
在一些实施方式中,用于NB-IoT的电子设备根据预设的互联网协议IP (Internet Protocol,互联网协议)地址和端口号确定远端服务器。In some embodiments, the electronic device for NB-IoT determines the remote server based on a preset Internet Protocol (IP) address and port number.
上述实现方式,由于远端服务器可能会有多个,所以用于NB-IoT的电子设备要确定与用于NB-IoT的电子设备通信的远端服务器,确定远端服务器的方式为根据预设的IP地址和端口号确定。In the above implementation manner, since there may be multiple remote servers, the electronic device for the NB-IoT needs to determine the remote server that communicates with the electronic device for the NB-IoT, and the method of determining the remote server is based on the preset. The IP address and port number are determined.
在一些实施方式中,所述用于NB-IoT的电子设备将接收到的设备标识和所述用于NB-IoT的电子设备的电子设备标识发送给所述目标设备。In some embodiments, the electronic device for NB-IoT transmits the received device identification and the electronic device identification of the electronic device for NB-IoT to the target device.
上述实现方式,目标设备接收到设备标识和电子设备标识,实现设备标识和电子设备标识的对应关系,从而将目标设备和用于NB-IoT的电子设备进行绑定。In the foregoing implementation manner, the target device receives the device identifier and the electronic device identifier, and implements a correspondence between the device identifier and the electronic device identifier, thereby binding the target device and the electronic device for the NB-IoT.
在一些实施方式中,所述用于NB-IoT的电子设备在能够从需要控制的目标设备中获取所述目标设备的设备标识,且确定与所述目标设备绑定的用于NB-IoT的电子设备发生更换后,将所述用于NB-IoT的电子设备的电子设备标识和所述目标设备的设备标识发送给远端服务器,以使所述远端服务器更新电子设备标识和设备标识的绑定关系。In some embodiments, the electronic device for NB-IoT is capable of acquiring a device identifier of the target device from a target device that needs to be controlled, and determining a binding for the target device for NB-IoT. After the electronic device is replaced, the electronic device identifier of the electronic device for the NB-IoT and the device identifier of the target device are sent to the remote server, so that the remote server updates the electronic device identifier and the device identifier. Binding relationship.
上述实现方式,用于NB-IoT的电子设备能够从目标设备中获取设备标识,并且确定目标设备绑定的用于NB-IoT的电子设备发生了更换,则将用于NB-IoT的电子设备的电子设备标识和目标设备的设备标识发送给远端服务器,以使远端服务器更新电子设备标识和设备标识的绑定关系。由于远端服务器保存了用于NB-IoT的电子设备更换前的电子设备标识和设备标识的绑定关系,用于NB-IoT的电子设备发生变化后,需要更新远端服务器保存的电子设备标识和设备标识的绑定关系。In the above implementation manner, the electronic device for the NB-IoT can acquire the device identifier from the target device, and determine that the electronic device for the NB-IoT bound by the target device is replaced, and the electronic device for the NB-IoT is used. The identifier of the electronic device and the device identifier of the target device are sent to the remote server, so that the remote server updates the binding relationship between the electronic device identifier and the device identifier. The remote server saves the binding relationship between the electronic device identifier and the device identifier before the electronic device replacement for the NB-IoT. After the electronic device for the NB-IoT changes, the electronic device identifier saved by the remote server needs to be updated. Binding relationship with the device ID.
在一些实施方式中,响应于所述用于NB-IoT的电子设备无法从所述用于NB-IoT的电子设备中获取与电子设备标识绑定的设备标识,则确定与所述目标设备绑定的用于NB-IoT的电子设备发生更换;或响应于所述用于NB-IoT的电子设备从目标设备中获取的设备标识绑定的电子设备标识与所述用于NB-IoT的电子设备的电子设备标识不同,则确定与所述目标设备绑定的用于NB-IoT的电子设备发生更换;或响应于所述用于NB-IoT的电子设备从目标 设备中获取的设备标识与所述用于NB-IoT的电子设备中保存的设备标识不同,则确定与所述目标设备绑定的用于NB-IoT的电子设备发生更换。In some embodiments, in response to the electronic device for NB-IoT being unable to acquire a device identifier bound to the electronic device identifier from the electronic device for NB-IoT, determining to be tied to the target device Determining that the electronic device for the NB-IoT is replaced; or the electronic device identification bound to the device identification acquired from the target device by the electronic device for the NB-IoT and the electronic device for the NB-IoT The electronic device identifier of the device is different, determining that the electronic device for the NB-IoT bound to the target device is replaced; or responding to the device identifier acquired by the electronic device for the NB-IoT from the target device The device identifiers stored in the electronic device for the NB-IoT are different, and it is determined that the electronic device for the NB-IoT bound to the target device is replaced.
上述实现方式,列举了确定与所述目标设备绑定的用于NB-IoT的电子设备发生了更换的三种情况。In the foregoing implementation manner, three cases are determined that the electronic device for the NB-IoT bound to the target device is replaced.
在一些实施方式中,所述用于NB-IoT的电子设备在能够从需要控制的目标设备中获取所述目标设备的设备标识,且确定所述与所述目标设备绑定的用于NB-IoT的电子设备发生更换后,将所述用于NB-IoT的电子设备的电子设备标识发送给所述目标设备。In some embodiments, the electronic device for NB-IoT is capable of acquiring a device identifier of the target device from a target device that needs to be controlled, and determining that the NB- is bound to the target device. After the electronic device of the IoT is replaced, the electronic device identifier of the electronic device for the NB-IoT is sent to the target device.
上述实现方式,用于NB-IoT的电子设备能够获取目标设备的设备标识,且确定所述与所述目标设备绑定的用于NB-IoT的电子设备发生了更换,则将用于NB-IoT的电子设备的电子设备标识发送给所述目标设备,用于NB-IoT的电子设备的电子设备标识与目标设备中的设备标识实现对应关系,以此来实现用于NB-IoT的电子设备和目标设备的绑定。In the above implementation manner, the electronic device for the NB-IoT can acquire the device identifier of the target device, and determine that the electronic device for the NB-IoT bound to the target device is replaced, and the NB-IoT is used for the NB- The electronic device identifier of the electronic device of the IoT is sent to the target device, and the electronic device identifier of the electronic device for the NB-IoT is associated with the device identifier in the target device, thereby implementing the electronic device for the NB-IoT Binding to the target device.
本公开实施例还提供一种NB-IOT网络中获取设备标识的方法,包括:远端服务器接收用于NB-IOT的电子设备发送的电子设备标识,根据电子设备标识和设备标识的绑定关系,确定所述电子设备标识对应的设备标识,将确定的所述设备标识发送给所述用于NB-IoT的电子设备。The embodiment of the present disclosure further provides a method for obtaining a device identifier in an NB-IOT network, including: receiving, by a remote server, an electronic device identifier sent by an electronic device used by the NB-IOT, according to a binding relationship between the identifier of the electronic device and the device identifier Determining, by the device identifier corresponding to the identifier of the electronic device, sending the determined device identifier to the electronic device for the NB-IoT.
在一些实施方式中,该方法还包括:所述远端服务器接收所述用于NB-IOT的电子设备发送的所述用于NB-IOT的电子设备的电子设备标识和需要控制的目标设备的设备标识,以更新所述电子设备标识和设备标识的绑定关系。In some embodiments, the method further includes: the remote server receiving the electronic device identifier of the electronic device for the NB-IOT sent by the electronic device for the NB-IOT and the target device that needs to be controlled The device identifier is used to update the binding relationship between the electronic device identifier and the device identifier.
上述实现方式,当用于NB-IOT的电子设备的电子设备标识和需要控制的目标设备的设备标识有更新时,远端服务器更新电子设备标识和设备标识的绑定关系。In the above implementation manner, when the electronic device identifier of the electronic device for the NB-IOT and the device identifier of the target device to be controlled are updated, the remote server updates the binding relationship between the electronic device identifier and the device identifier.
本公开实施例还提供一种用于NB-IoT的电子设备,该电子设备包括:处理器和存储器,其中,所述存储器存储有计算机程序,所述处理器配置为执行所述计算机程序,当所述计算机程序被所述处理器执行时,使得所述处理 器执行上述用于NB-IoT的电子设备方法侧的各实施例的功能。An embodiment of the present disclosure further provides an electronic device for NB-IoT, the electronic device comprising: a processor and a memory, wherein the memory stores a computer program, and the processor is configured to execute the computer program when The computer program, when executed by the processor, causes the processor to perform the functions of the various embodiments of the electronic device method side described above for NB-IoT.
本公开实施例还提供一种设备,该设备中的处理器包括本公开实施例提供的任一一种用于NB-IoT的电子设备,该设备具有实现上述用于NB-IoT的电子设备方法侧的各实施例的功能。The embodiment of the present disclosure further provides a device, where the processor in the device includes any one of the NB-IoT electronic device provided by the embodiment of the present disclosure, and the device has the electronic device method for implementing the NB-IoT described above. The functions of the various embodiments of the side.
本公开实施例还提供一种远端服务器,该远端服务器包括:处理器和存储器,其中,所述存储器存储有计算机程序,所述处理器配置为执行所述计算机程序,使得所述处理器执行上述远端服务器方法侧的各实施例的功能。Embodiments of the present disclosure also provide a remote server including: a processor and a memory, wherein the memory stores a computer program, the processor configured to execute the computer program such that the processor The functions of the various embodiments of the remote server method side described above are performed.
附图说明DRAWINGS
为了更清楚地说明本公开实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简要介绍,显而易见地,下面描述中的附图仅仅是本公开的一些实施例,对于本领域的普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present disclosure, the following drawings will be briefly described in the description of the embodiments, and the accompanying drawings in the following description are only Those skilled in the art can also obtain other drawings based on these drawings without paying for inventive labor.
图1为发明实施例获取设备标识方法的流程示意图;1 is a schematic flowchart of a method for acquiring a device identifier according to an embodiment of the present invention;
图2为发明实施例建立设备ID和电子设备ID对应关系的示意图;2 is a schematic diagram of establishing a correspondence between a device ID and an electronic device ID according to an embodiment of the present invention;
图3为发明实施例第一种NB-IOT网络中获取设备标识的方法示意图;3 is a schematic diagram of a method for obtaining a device identifier in a first NB-IOT network according to an embodiment of the present invention;
图4为发明实施例第二种NB-IOT网络中获取设备标识的方法示意图;4 is a schematic diagram of a method for obtaining a device identifier in a second NB-IOT network according to an embodiment of the present invention;
图5为发明实施例一种用于NB-IoT的电子设备结构示意图;FIG. 5 is a schematic structural diagram of an electronic device for NB-IoT according to an embodiment of the invention; FIG.
图6为发明实施例第二种获取设备标识的设备结构示意图;6 is a schematic structural diagram of a device for acquiring a device identifier according to a second embodiment of the present invention;
图7为本公开实施例一种远端服务器结构示意图。FIG. 7 is a schematic structural diagram of a remote server according to an embodiment of the present disclosure.
具体实施方式detailed description
为了使本公开的目的、技术方案和优点更加清楚,下面将结合附图对本公开作进一步地详细描述,显然,所描述的实施例仅仅是本公开一部份实施例,而不是全部的实施例。基于本公开中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其它实施例,都属于本公开保护的范围。The present disclosure will be further described in detail with reference to the accompanying drawings, in which FIG. . All other embodiments obtained by a person of ordinary skill in the art based on the embodiments of the present disclosure without departing from the inventive scope are the scope of the disclosure.
随着科学技术的不断发展,物联网技术正在逐步广泛应用到各个行业,在生产制造,智能家居,交通物流,汽车等领域都发挥着越来越重要的作用,万物互联的时代正及其迅速的走进我们的生活。With the continuous development of science and technology, Internet of Things technology is gradually being widely applied to various industries, playing an increasingly important role in the fields of manufacturing, smart home, transportation and logistics, and automobiles. The era of Internet of Everything is rapidly Walk into our lives.
比如在智能家居领域,通过智能家居应用来管理和配置家庭内的智能家居设备已被广泛使用。与传统设备不同的是,智能设备中增加了一个通信模块,利用通信模块与服务器的通信,从而实现对设备的远程控制控制。For example, in the smart home field, smart home devices in the home through smart home applications have been widely used. Different from the traditional device, a communication module is added to the smart device, and communication between the communication module and the server is utilized, thereby realizing remote control control of the device.
将通信模块嵌入到传统设备中的智能设备越来越普遍。设备增加智能管理后,需要在设备中写入唯一的设备标识,以便智能设备与外界进行通信。比如智能空调,为了实现对空调器的智能管理,则需要对每台空调器写入一个唯一的设备ID作为设备标识,当用户使用手机上的智能家居应用时,必须用空调器的设备ID作为绑定的唯一标识将应用程序和这台空调器进行设备绑定,应用程序和空调器进行绑定后即可实现对空调器的管理。Smart devices that embed communication modules into legacy devices are becoming more common. After the device is added with intelligent management, a unique device identifier needs to be written in the device so that the smart device can communicate with the outside world. For example, smart air conditioners, in order to achieve intelligent management of air conditioners, it is necessary to write a unique device ID for each air conditioner as the device identifier. When the user uses the smart home application on the mobile phone, the device ID of the air conditioner must be used as the device. The unique identifier of the binding binds the application to the device of the air conditioner, and the application and the air conditioner are bound to realize the management of the air conditioner.
将应用程序和设备标识进行绑定,则需要获取设备标识。Bind the application to the device ID, you need to get the device ID.
目前,如果在生产过程中写入设备标识,则需要升级改造现有生产线、增加设备标识写入设备以及增加设备标识写入工序,改造成本较高。At present, if the device identification is written in the production process, the existing production line needs to be upgraded, the device identification writing device is added, and the device identification writing process is added, and the transformation cost is high.
本公开实施例通过设备中嵌入的用于NB-IoT的电子设备对设备标识进行获取。Embodiments of the present disclosure acquire device identification by an electronic device embedded in the device for NB-IoT.
这里的NB-IoT为窄带物联网,具有覆盖广、连接多、速率快、成本低、功耗低、架构优等特点。The NB-IoT here is a narrowband Internet of Things with wide coverage, many connections, fast speed, low cost, low power consumption and excellent architecture.
下面结合说明书附图对本公开实施例做进一步详细描述。The embodiments of the present disclosure are further described in detail below with reference to the accompanying drawings.
如图1所示,本公开实施例提供的一种NB-IOT网络中获取设备标识的方法,具体包括以下步骤:As shown in FIG. 1 , a method for obtaining a device identifier in an NB-IOT network according to an embodiment of the present disclosure includes the following steps:
S100、用于NB-IoT的电子设备判断是否能够从需要控制的目标设备中获取所述目标设备的设备标识;S100. The electronic device used by the NB-IoT determines whether the device identifier of the target device can be obtained from the target device that needs to be controlled.
S101、响应于从需要控制的目标设备中无法获取所述目标设备的设备标识,所述用于NB-IoT的电子设备将所述用于NB-IoT的电子设备的电子设备标识发送给远端服务器;S101. The electronic device for the NB-IoT sends the electronic device identifier of the electronic device for the NB-IoT to the remote device, in response to the device identifier of the target device being unavailable from the target device that needs to be controlled. server;
S102、所述用于NB-IoT的电子设备接收所述远端服务器返回的与所述电子设备标识绑定的设备标识;S102. The electronic device for NB-IoT receives a device identifier that is returned by the remote server and is bound to the identifier of the electronic device.
S103、所述用于NB-IoT的电子设备将收到的所述设备标识作为所述目标设备的设备标识。S103. The electronic device for the NB-IoT uses the received device identifier as a device identifier of the target device.
用于NB-IoT的电子设备判断是否能够从需要控制的目标设备中获取所述目标设备的设备标识,响应于无法从需要控制的目标设备中获取该目标设备的设备标识,则将该用于NB-IoT的电子设备的电子设备标识发送给远端服务器,远端服务器将该远端服务器保存的与该用于NB-IoT的电子设备的电子设备标识绑定的设备标识返回到该用于NB-IoT的电子设备,该用于NB-IoT的电子设备将接收到的设备标识作为该用于NB-IoT的电子设备需要控制的目标设备的设备标识。目标设备的设备标识通过用于NB-IoT的电子设备从远端服务器获得,则不需要在生产过程中获得,从而节省大量资金的同时也提高了生产性。The electronic device for the NB-IoT determines whether the device identifier of the target device can be obtained from the target device that needs to be controlled, and is used in response to the device identifier of the target device cannot be obtained from the target device that needs to be controlled. The electronic device identifier of the electronic device of the NB-IoT is sent to the remote server, and the remote server returns the device identifier saved by the remote server and the electronic device identifier of the electronic device for the NB-IoT to the The electronic device of the NB-IoT, the electronic device for the NB-IoT uses the received device identifier as the device identifier of the target device that the electronic device for the NB-IoT needs to control. The device identification of the target device is obtained from the remote server through the electronic device for the NB-IoT, and does not need to be obtained in the production process, thereby saving a lot of money and improving productivity.
本公开实施例中的设备是指任意一种具有特定功能,不具备与远程服务器进行数据交互的终端设备,比如传统的冰箱、空调、洗衣机等,可以被用于NB-IoT的电子设备控制的所有设备都适用本公开实施例。The device in the embodiment of the present disclosure refers to any terminal device that has a specific function and does not have data interaction with a remote server, such as a conventional refrigerator, an air conditioner, a washing machine, etc., and can be used for electronic device control of the NB-IoT. Embodiments of the present disclosure are applicable to all devices.
本公开实施例中用于NB-IoT的电子设备是一个利用运营商部署的NB-IoT网络,能够与远端服务器进行数据交互的设备,由NB-IoT主芯片、射频电路单元和基带电路单元构成,其中NB-IoT主芯片是一种SoC(System on chip,片上系统)芯片,内置NB-IoT协议栈、应用处理器内核和存储器等,可以工作在运营商部署的NB-IoT蜂窝网络中,通过NB-IoT蜂窝网络进行数据发送和接收;射频电路单元包括发射机、接收机和功率放大器等,用于NB-IoT的电子设备和NB-IoT接入网之间进行无线信号发射和接收;基带电路单元包括供电、时钟、UMI、UART、SPI、I2C、GPIO等外围设备,主要为主芯片提供电源、时钟信号、UMI等输入,同时为客户提供UART、SPI、I2C、GPIO等接口,用于与设备对接和功能扩展。The electronic device for NB-IoT in the embodiment of the present disclosure is a device that utilizes an NB-IoT network deployed by an operator, and can perform data interaction with a remote server, and is composed of a NB-IoT main chip, a radio frequency circuit unit, and a baseband circuit unit. The NB-IoT main chip is a SoC (System on Chip) chip with built-in NB-IoT protocol stack, application processor core and memory, etc., which can work in the NB-IoT cellular network deployed by the operator. Data transmission and reception through the NB-IoT cellular network; the RF circuit unit includes a transmitter, a receiver, and a power amplifier for transmitting and receiving wireless signals between the NB-IoT electronic device and the NB-IoT access network The baseband circuit unit includes power supply, clock, UMI, UART, SPI, I2C, GPIO and other peripheral devices. It mainly supplies power, clock signal, UMI and other inputs to the main chip, and provides UART, SPI, I2C, GPIO and other interfaces for customers. Used to interface with devices and expand functions.
设备与用于NB-IoT的电子设备相结合,可以让设备具备与远端服务器进 行数据交互的能力,可以实现设备上的数据采集和远程控制等功能。The combination of the device and the electronic device for NB-IoT allows the device to perform data interaction with the remote server, enabling data acquisition and remote control on the device.
用于NB-IoT的电子设备的电子设备标识以电子设备ID为例,设备标识以设备ID为例对本公开进行说明。The electronic device identification of the electronic device for the NB-IoT is exemplified by the electronic device ID, and the device identification is described by taking the device ID as an example.
在实施中,电子设备ID在生产用于NB-IoT的电子设备时已经写入到用于NB-IoT的电子设备中,但是用于NB-IoT的电子设备需要控制的设备中有可能没有设备ID,所以要获取设备ID。In an implementation, the electronic device ID has been written into the electronic device for the NB-IoT when the electronic device for NB-IoT is produced, but there may be no device among the devices that need to be controlled by the electronic device for the NB-IoT ID, so get the device ID.
首先在设备的生产过程中,记录分配给设备的设备ID和电子设备ID的对应关系,然后上传至指定的服务器,如果设备ID和电子设备ID的对应关系已经存在,则不需要扫描录入设备的设备ID信息,只需打印设备ID标签,然后粘贴在设备上。如图2所示,具体步骤如下:First, in the production process of the device, the correspondence between the device ID and the electronic device ID assigned to the device is recorded, and then uploaded to the designated server. If the correspondence between the device ID and the electronic device ID already exists, the scanning device is not required to be scanned. Device ID information, just print the device ID tag and paste it on the device. As shown in Figure 2, the specific steps are as follows:
步骤200、在设备功能检查完毕,进入设备ID标签粘贴工位;Step 200: After the device function check is completed, enter the device ID label pasting station;
步骤201、扫描录入用于NB-IoT的电子设备的电子设备ID信息;Step 201: Scan electronic device ID information of an electronic device used for NB-IoT;
步骤202、判断是否有终端设备的设备ID信息标签,是,执行步骤203,否则执行步骤205; Step 202, determining whether there is a device ID information label of the terminal device, yes, step 203 is performed, otherwise step 205 is performed;
步骤203、扫描录入已有终端设备标签的ID信息;Step 203: Scan the ID information of the label of the existing terminal device;
步骤204、建立电子设备ID和设备ID的对应关系,并发送至指定的服务器;Step 204: Establish a correspondence between the electronic device ID and the device ID, and send the corresponding relationship to the specified server.
步骤205、打印设备ID标签; Step 205, printing a device ID tag;
步骤206、在终端设备上粘贴设备ID标签;Step 206: Paste a device ID label on the terminal device.
步骤207、终端设备包装、入库。 Step 207, the terminal device is packaged and stored.
在设备的生产过程中建立了电子设备ID和设备ID的对应关系,并上传至指定服务器,设备在出厂后首次上电开机,用于NB-IoT的电子设备与设备建立通信,首先用于NB-IoT的电子设备读取设备中的设备ID信息和设备的绑定信息,其中设备的绑定信息为设备上次绑定的用于NB-IoT的电子设备的电子设备ID信息,然后用于NB-IoT的电子设备读取用于NB-IoT的电子设备中的电子设备绑定信息,其中电子设备绑定信息为上次绑定的设备的设备ID信息。In the production process of the device, the correspondence between the electronic device ID and the device ID is established and uploaded to the designated server. The device is powered on for the first time after being shipped from the factory, and the electronic device for the NB-IoT establishes communication with the device, first used for NB. - IoT's electronic device reads the device ID information in the device and the binding information of the device, wherein the binding information of the device is the electronic device ID information of the electronic device for the NB-IoT that the device last binds, and then used for The electronic device of the NB-IoT reads the electronic device binding information in the electronic device for the NB-IoT, wherein the electronic device binding information is the device ID information of the last bound device.
用于NB-IoT的电子设备读取设备中和用于NB-IoT的电子设备中的信息时,有三种情况,分别是设备和用于NB-IoT的电子设备初次绑定,设备中的主板进行过更换,用于NB-IoT的电子设备进行过更换,下面对这三种情况分别进行说明。When using the information in the electronic device reading device for the NB-IoT and the electronic device for the NB-IoT, there are three cases, namely, the initial binding of the device and the electronic device for the NB-IoT, and the motherboard in the device. After replacement, the electronic equipment used for NB-IoT has been replaced. The following three cases are described separately.
场景一、设备和用于NB-IoT的电子设备初次绑定:Scenario 1, device and initial binding of the electronic device for NB-IoT:
设备第一次上电开机,用于NB-IoT的电子设备首先读取设备中的设备ID信息和设备的绑定信息,然后读取用于NB-IoT的电子设备中的电子设备绑定信息,响应于设备中没有设备ID信息和设备的绑定信息,用于NB-IoT的电子设备中没有电子设备绑定信息,则确定设备和用于NB-IoT的电子设备为初次绑定,此时用于NB-IoT的电子设备将该用于NB-IoT的电子设备的电子设备ID发送给远端服务器。The device is powered on for the first time, and the electronic device for the NB-IoT first reads the device ID information and the binding information of the device, and then reads the electronic device binding information in the electronic device for the NB-IoT. In response to the device having no device ID information and binding information of the device, and the electronic device for the NB-IoT does not have the electronic device binding information, determining that the device and the electronic device for the NB-IoT are initially bound, The electronic device for the NB-IoT transmits the electronic device ID of the electronic device for the NB-IoT to the remote server.
在实施中,由于用于NB-IoT的电子设备需要将该用于NB-IoT的电子设备的电子设备ID发送给远端服务器,所以用于NB-IoT的电子设备要确定远端服务器。In an implementation, since the electronic device for the NB-IoT needs to transmit the electronic device ID of the electronic device for the NB-IoT to the remote server, the electronic device for the NB-IoT determines the remote server.
用于NB-IoT的电子设备确定远端服务器的方式,可以根据预设的IP地址和端口号确定。这里的预设的IP地址和端口号,是与用于NB-IoT的电子设备进行通信的远端服务器的IP地址和端口号。The manner in which the electronic device for the NB-IoT determines the remote server can be determined according to a preset IP address and a port number. The default IP address and port number here is the IP address and port number of the remote server that communicates with the electronic device used for the NB-IoT.
具体的,可以在生产用于NB-IoT的电子设备时,将远端服务器的IP地址和端口号写入到用于NB-IoT的电子设备中,用于NB-IoT的电子设备根据自身保存的IP地址和端口号确定远端服务器,并与远端服务器进行通信;也可以在生产设备时,将远端服务器的IP地址和端口号写入到设备中,用于NB-IoT的电子设备与设备进行通信,设备将自身保存的IP地址和端口号发送给用于NB-IoT的电子设备,用于NB-IoT的电子设备再根据接收到的IP地址和端口号确定远端服务器,并与远端服务器进行通信。Specifically, when the electronic device for the NB-IoT is produced, the IP address and port number of the remote server are written into the electronic device for the NB-IoT, and the electronic device for the NB-IoT is saved according to itself. The IP address and port number determine the remote server and communicate with the remote server. Alternatively, when the device is produced, the IP address and port number of the remote server are written to the device for the NB-IoT electronic device. Communicate with the device, the device sends its saved IP address and port number to the electronic device for NB-IoT, and the electronic device for the NB-IoT determines the remote server according to the received IP address and port number, and Communicate with a remote server.
由于在生产过程中,设备ID和电子设备ID的对应关系已经上传至指定的服务器,也就是远端服务器,所以当用于NB-IoT的电子设备将该用于NB-IoT的电子设备的电子设备ID发送给远端服务器时,远端服务器会根据 远端服务器中保存的电子设备标识和设备标识的绑定关系,确定该用于NB-IoT的电子设备的电子设备ID相对应的设备ID,并将确定的设备ID发送给该用于NB-IoT的电子设备。Since the correspondence between the device ID and the electronic device ID has been uploaded to the designated server, that is, the remote server, in the production process, when the electronic device for the NB-IoT uses the electronic device for the NB-IoT electronic device When the device ID is sent to the remote server, the remote server determines the device ID corresponding to the electronic device ID of the electronic device used for the NB-IoT according to the binding relationship between the electronic device identifier and the device identifier saved in the remote server. And transmitting the determined device ID to the electronic device for the NB-IoT.
用于NB-IoT的电子设备与远端服务器建立通信后,所述用于NB-IoT的电子设备接收所述远端服务器返回的与所述电子设备标识绑定的设备标识。After the electronic device for the NB-IoT establishes communication with the remote server, the electronic device for the NB-IoT receives the device identifier that is returned by the remote server and is bound to the electronic device identifier.
由于远端服务器返回的设备ID,是存储在远端服务器中的与该用于NB-IoT的电子设备的电子设备ID对应的设备ID,所以接收到的设备ID为目标设备ID,也就是用于NB-IoT的电子设备需要控制的设备的设备ID。The device ID returned by the remote server is the device ID corresponding to the electronic device ID of the electronic device for the NB-IoT stored in the remote server, so the received device ID is the target device ID, that is, The device ID of the device that the NB-IoT electronic device needs to control.
比如,在设备的生产过程中,分配给设备的设备ID为A、B、C,所述用于NB-IoT的电子设备的电子设备ID为D、E、F,记录分配给设备的设备ID和电子设备ID的对应关系为:A与D对应,B与E对应,C与F对应,响应于电子设备ID为D的用于NB-IoT的电子设备未从设备中读取到设备ID,则用于NB-IoT的电子设备将模D发送给远端服务器,远端服务器查询与D对应的设备ID为A,则将A返回给用于NB-IoT的电子设备。For example, in the production process of the device, the device IDs assigned to the devices are A, B, and C, and the electronic device IDs of the electronic devices for the NB-IoT are D, E, and F, and the device IDs assigned to the devices are recorded. The correspondence relationship with the electronic device ID is: A corresponds to D, B corresponds to E, C corresponds to F, and the electronic device for NB-IoT in response to the electronic device ID D does not read the device ID from the device. Then, the electronic device for the NB-IoT sends the modulo D to the remote server, and the remote server queries the device ID corresponding to D as A, and then returns A to the electronic device for the NB-IoT.
用于NB-IoT的电子设备接收到设备ID后,将设备ID和电子设备ID发送给目标设备。After receiving the device ID, the electronic device for the NB-IoT transmits the device ID and the electronic device ID to the target device.
可选的,所述用于NB-IoT的电子设备将接收到的设备标识和所述用于NB-IoT的电子设备的电子设备标识发送给所述目标设备。Optionally, the electronic device for the NB-IoT sends the received device identifier and the electronic device identifier of the electronic device for the NB-IoT to the target device.
目标设备接收到用于NB-IoT的电子设备发送的电子设备ID和设备ID后,将设备ID写入到设备中,并将设备ID和电子设备ID保存在设备中。After receiving the electronic device ID and device ID sent by the electronic device for the NB-IoT, the target device writes the device ID into the device, and saves the device ID and the electronic device ID in the device.
场景二、设备中的主板更换:Scenario 2: Mainboard replacement in the device:
设备第一次上电开机,用于NB-IoT的电子设备首先读取设备中的设备ID信息和设备的绑定信息,然后读取用于NB-IoT的电子设备中的电子设备绑定信息,响应于设备中没有设备ID信息和设备的绑定信息,用于NB-IoT的电子设备中有电子设备绑定信息,则确定设备中的主板进行过更换,此时用于NB-IoT的电子设备与远端服务器进行通信,将该用于NB-IoT的电子设备的电子设备ID发送给远端服务器。The device is powered on for the first time, and the electronic device for the NB-IoT first reads the device ID information and the binding information of the device, and then reads the electronic device binding information in the electronic device for the NB-IoT. In response to the device having no device ID information and device binding information, the electronic device for the NB-IoT has electronic device binding information, and then the motherboard in the device is determined to be replaced, and the NB-IoT is used at this time. The electronic device communicates with the remote server, and transmits the electronic device ID of the electronic device for the NB-IoT to the remote server.
由于在生产过程中,设备ID和电子设备ID的对应关系已经上传至指定的服务器,也就是远端服务器,所以当用于NB-IoT的电子设备将该用于NB-IoT的电子设备的电子设备ID发送给远端服务器时,远端服务器会将远端服务器中保存的与该用于NB-IoT的电子设备的电子设备ID相对应的设备ID发送给该用于NB-IoT的电子设备。Since the correspondence between the device ID and the electronic device ID has been uploaded to the designated server, that is, the remote server, in the production process, when the electronic device for the NB-IoT uses the electronic device for the NB-IoT electronic device When the device ID is sent to the remote server, the remote server sends the device ID corresponding to the electronic device ID of the electronic device for the NB-IoT saved in the remote server to the electronic device for the NB-IoT. .
所述用于NB-IoT的电子设备接收所述远端服务器返回的与所述电子设备标识绑定的设备标识。The electronic device for the NB-IoT receives the device identifier bound by the remote server and bound to the electronic device identifier.
由于远端服务器返回的设备ID,是存储在远端服务器中的与该用于NB-IoT的电子设备的电子设备ID对应的设备ID,所以接收到的设备ID为目标设备ID,也就是用于NB-IoT的电子设备需要控制的设备的设备ID。The device ID returned by the remote server is the device ID corresponding to the electronic device ID of the electronic device for the NB-IoT stored in the remote server, so the received device ID is the target device ID, that is, The device ID of the device that the NB-IoT electronic device needs to control.
用于NB-IoT的电子设备接收到设备ID后,将设备ID和电子设备ID发送给目标设备。After receiving the device ID, the electronic device for the NB-IoT transmits the device ID and the electronic device ID to the target device.
可选的,所述用于NB-IoT的电子设备将接收到的设备标识和所述用于NB-IoT的电子设备的电子设备标识发送给所述目标设备。Optionally, the electronic device for the NB-IoT sends the received device identifier and the electronic device identifier of the electronic device for the NB-IoT to the target device.
目标设备接收到用于NB-IoT的电子设备发送的电子设备ID和设备ID后,将设备ID写入到设备中,并将设备ID和电子设备ID保存在设备中。After receiving the electronic device ID and device ID sent by the electronic device for the NB-IoT, the target device writes the device ID into the device, and saves the device ID and the electronic device ID in the device.
场景三、用于NB-IoT的电子设备进行过更换:Scenario 3: The electronic device used for NB-IoT has been replaced:
如果用于NB-IoT的电子设备读取设备ID信息时,能够读取到设备ID信息,但设备中保存的电子设备ID信息和该用于NB-IoT的电子设备的电子设备ID信息不同,或用于NB-IoT的电子设备从设备中读取的设备中保存的电子设备ID信息与该用于NB-IoT的电子设备自身的电子设备ID信息不同,或用于NB-IoT的电子设备中未保存设备ID信息,此时判定用于NB-IoT的电子设备发生过更换。If the electronic device for the NB-IoT reads the device ID information, the device ID information can be read, but the electronic device ID information stored in the device is different from the electronic device ID information of the electronic device for the NB-IoT, Or the electronic device ID information stored in the device read from the device by the electronic device for the NB-IoT is different from the electronic device ID information of the electronic device itself for the NB-IoT, or the electronic device for the NB-IoT The device ID information is not saved, and it is determined that the electronic device used for the NB-IoT has been replaced.
可选的,响应于所述用于NB-IoT的电子设备无法从所述用于NB-IoT的电子设备中获取与电子设备标识绑定的设备标识,则确定与所述目标设备绑定的用于NB-IoT的电子设备发生更换;或Optionally, in response to the electronic device for the NB-IoT being unable to acquire the device identifier bound to the electronic device identifier from the electronic device for the NB-IoT, determining to be bound to the target device The electronic device used for NB-IoT is replaced; or
响应于所述用于NB-IoT的电子设备从目标设备中获取的设备标识绑定 的电子设备标识与所述用于NB-IoT的电子设备的电子设备标识不同,则确定与所述目标设备绑定的用于NB-IoT的电子设备发生更换;或Determining that the electronic device identifier bound by the device identifier acquired by the electronic device for the NB-IoT is different from the electronic device identifier of the electronic device for the NB-IoT, and determining the target device The bound electronic device for NB-IoT is replaced; or
响应于所述用于NB-IoT的电子设备从目标设备中获取的设备标识与所述用于NB-IoT的电子设备中保存的设备标识不同,则确定与所述目标设备绑定的用于NB-IoT的电子设备发生更换。Determining, in response to the device identifier acquired by the electronic device for the NB-IoT from the target device being different from the device identifier saved in the electronic device for the NB-IoT, determining, for binding with the target device The NB-IoT electronic device has been replaced.
这里需要说明的是,用于NB-IoT的电子设备和设备进行绑定时,远端服务器向用于NB-IoT的电子设备返回与该用于NB-IoT的电子设备的电子设备ID信息对应的设备ID信息,用于NB-IoT的电子设备保存该设备ID信息,并将设备ID信息和该用于NB-IoT的电子设备的电子设备ID信息发送给设备,设备将接收到的设备ID信息写入到设备中,并保存该设备ID信息和该用于NB-IoT的电子设备的电子设备ID信息。It should be noted that when the electronic device and the device for the NB-IoT are bound, the remote server returns the electronic device ID information corresponding to the electronic device for the NB-IoT to the electronic device for the NB-IoT. Device ID information, the electronic device for the NB-IoT saves the device ID information, and transmits the device ID information and the electronic device ID information of the electronic device for the NB-IoT to the device, and the device ID that the device will receive The information is written to the device, and the device ID information and the electronic device ID information of the electronic device for the NB-IoT are saved.
比如,设备ID信息为A的设备与电子设备ID信息为B的用于NB-IoT的电子设备进行绑定,则设备中写入的ID信息为A,设备中保存的设备ID信息为A,保存的电子设备ID信息为B,用于NB-IoT的电子设备中保存的设备ID信息为A。For example, if the device with the device ID information A is bound to the electronic device for the NB-IoT whose electronic device ID information is B, the ID information written in the device is A, and the device ID information stored in the device is A. The saved electronic device ID information is B, and the device ID information stored in the electronic device for the NB-IoT is A.
在实施中,设备第一次上电开机,用于NB-IoT的电子设备首先从设备中读取设备ID信息以及设备中保存的电子设备ID信息,然后读取用于NB-IoT的电子设备中保存的设备ID信息。In the implementation, the device is powered on for the first time, and the electronic device for the NB-IoT first reads the device ID information from the device and the electronic device ID information saved in the device, and then reads the electronic device for the NB-IoT. Device ID information saved in .
这里的设备中保存的电子设备ID信息为与设备上次绑定的用于NB-IoT的电子设备的电子设备ID信息,如果设备中保存的电子设备ID信息为空信息,则说明该设备没有和用于NB-IoT的电子设备进行过绑定。The electronic device ID information stored in the device is the electronic device ID information of the electronic device for the NB-IoT that is last bound to the device. If the electronic device ID information stored in the device is empty, the device does not have the device. Bind with electronic devices for NB-IoT.
这里的用于NB-IoT的电子设备中保存的设备ID信息为与用于NB-IoT的电子设备上次绑定的设备的设备ID信息,如果用于NB-IoT的电子设备中保存的设备ID信息为空信息,则说明该用于NB-IoT的电子设备没有和设备进行过绑定。Here, the device ID information held in the electronic device for NB-IoT is the device ID information of the device last bound to the electronic device for NB-IoT, if the device is stored in the electronic device for NB-IoT If the ID information is null, the electronic device for the NB-IoT is not bound to the device.
如果用于NB-IoT的电子设备读取的设备中的设备ID信息和用于NB-IoT的电子设备中保存的设备ID信息不一致,则说明用于NB-IoT的电子设备进 行过更换。If the device ID information in the device read by the electronic device for the NB-IoT does not match the device ID information stored in the electronic device for the NB-IoT, the electronic device for the NB-IoT is replaced.
比如用于NB-IoT的电子设备读取的设备中的设备ID信息为A,用于NB-IoT的电子设备中保存的设备ID信息为B,则说明与用于NB-IoT的电子设备上次绑定的设备为设备ID信息为B的设备,所以判定设备ID信息为A的设备中的用于NB-IoT的电子设备进行过更换。For example, the device ID information in the device for reading the electronic device of the NB-IoT is A, and the device ID information stored in the electronic device for the NB-IoT is B, which is illustrated on the electronic device for the NB-IoT. The secondary bound device is a device whose device ID information is B, so it is determined that the electronic device for the NB-IoT in the device whose device ID information is A has been replaced.
如果用于NB-IoT的电子设备读取的设备中保存的电子设备ID信息与该用于NB-IoT的电子设备的电子设备ID信息不一致,则说明用于NB-IoT的电子设备进行过更换。If the electronic device ID information stored in the device for reading by the electronic device of the NB-IoT does not match the electronic device ID information of the electronic device for the NB-IoT, the electronic device for the NB-IoT is replaced. .
比如用于NB-IoT的电子设备读取的设备中保存的电子设备ID信息为C,该用于NB-IoT的电子设备的电子设备ID信息为D,则说明与设备上次绑定的用于NB-IoT的电子设备为电子设备ID信息为C的用于NB-IoT的电子设备,所以判定设备中的用于NB-IoT的电子设备进行过更换,更换后的用于NB-IoT的电子设备的电子设备ID信息为D。For example, the electronic device ID information stored in the device for reading the electronic device of the NB-IoT is C, and the electronic device ID information of the electronic device for the NB-IoT is D, indicating that the device is last bound with the device. The electronic device for NB-IoT is an electronic device for NB-IoT with electronic device ID information C, so it is determined that the electronic device for NB-IoT in the device has been replaced, and the replaced NB-IoT is used for replacement. The electronic device ID information of the electronic device is D.
如果用于NB-IoT的电子设备读取的用于NB-IoT的电子设备中没有设备ID信息,则也能说明用于NB-IoT的电子设备进行过更换。If the device ID information is not included in the electronic device for the NB-IoT read by the electronic device for the NB-IoT, it can also be explained that the electronic device for the NB-IoT has been replaced.
因为用于NB-IoT的电子设备能够读取到设备的设备ID信息以及设备中保存的电子设备ID信息,则说明设备进行过绑定,响应于设备中的用于NB-IoT的电子设备中没有设备ID信息,则说明用于NB-IoT的电子设备没有进行过绑定,所以确定设备中的用于NB-IOT的电子设备进行过更换。Since the electronic device for the NB-IoT can read the device ID information of the device and the electronic device ID information stored in the device, the device is bound, in response to the electronic device for the NB-IoT in the device. If there is no device ID information, it means that the electronic device used for the NB-IoT has not been bound, so it is determined that the electronic device for the NB-IOT in the device has been replaced.
用于NB-IoT的电子设备能够从设备中读取设备ID,并且能够确定设备中的用于NB-IoT的电子设备发生过更换,则远端服务器保存的设备ID和电子设备ID的绑定关系信息需要更新。The electronic device for the NB-IoT can read the device ID from the device, and can determine that the electronic device for the NB-IoT in the device has been replaced, and the binding of the device ID and the electronic device ID saved by the remote server Relationship information needs to be updated.
可选的,所述用于NB-IoT的电子设备在能够从需要控制的目标设备中获取所述目标设备的设备标识,且确定与所述目标设备绑定的用于NB-IoT的电子设备发生更换后,将所述用于NB-IoT的电子设备的电子设备标识和所述目标设备的设备标识发送给远端服务器,以使所述远端服务器更新电子设备标识和设备标识的绑定关系。Optionally, the electronic device for the NB-IoT is capable of acquiring the device identifier of the target device from the target device that needs to be controlled, and determining the electronic device for the NB-IoT bound to the target device. After the replacement occurs, the electronic device identifier of the electronic device for the NB-IoT and the device identifier of the target device are sent to the remote server, so that the remote server updates the binding of the electronic device identifier and the device identifier. relationship.
比如,在生产过程中,设备ID信息为A的设备与电子设备ID信息为B的用于NB-IoT的电子设备建立了绑定关系,则远程服务器中保存的绑定关系为A与B对应,如果设备中的用于NB-IoT的电子设备进行了更换,更换后的电子设备ID信息为C,则远程服务器中A与B的对应关系应该更新为A与C。For example, in the production process, the device with the device ID information A and the electronic device with the ID information B for the NB-IoT are bound, and the binding relationship stored in the remote server is A and B. If the electronic device for the NB-IoT in the device is replaced and the replaced electronic device ID information is C, the correspondence between A and B in the remote server should be updated to A and C.
具体的更新方式为,用于NB-IoT的电子设备将电子设备ID信息C和设备ID信息A发送给远端服务器,远端服务器根据设备ID信息A查询到远端服务器中保存的与设备ID信息A对应的电子设备ID信息B,将电子设备ID信息B更换为电子设备ID信息C,完成服务器中用于NB-IOT的电子设备的电子设备ID信息与设备ID信息的对应关系。The specific update manner is that the electronic device for the NB-IoT sends the electronic device ID information C and the device ID information A to the remote server, and the remote server queries the device ID saved in the remote server according to the device ID information A. The electronic device ID information B corresponding to the information A is replaced with the electronic device ID information C, and the correspondence between the electronic device ID information and the device ID information of the electronic device for the NB-IOT in the server is completed.
远端服务器接收到用于NB-IoT的电子设备的电子设备标识和需要控制的目标设备的设备标识,更新该电子设备标识和设备标识的绑定关系。The remote server receives the electronic device identifier of the electronic device for the NB-IoT and the device identifier of the target device that needs to be controlled, and updates the binding relationship between the electronic device identifier and the device identifier.
远端服务器将电子设备标识和设备标识的绑定关系更新后,用于NB-IoT的电子设备将用于NB-IoT的电子设备的电子设备标识发送给目标设备。After the remote server updates the binding relationship between the electronic device identifier and the device identifier, the electronic device for the NB-IoT sends the electronic device identifier of the electronic device for the NB-IoT to the target device.
可选的,所述用于NB-IoT的电子设备在能够从需要控制的目标设备中获取所述目标设备的设备标识,且确定所述与所述目标设备绑定的用于NB-IoT的电子设备发生更换后,将所述用于NB-IoT的电子设备的电子设备标识发送给所述目标设备。Optionally, the electronic device for the NB-IoT is configured to acquire the device identifier of the target device from the target device that needs to be controlled, and determine the NB-IoT bound to the target device. After the electronic device is replaced, the electronic device identifier of the electronic device for the NB-IoT is sent to the target device.
目标设备接收到用于NB-IoT的电子设备发送的电子设备标识后,将接收到的电子设备标识保存到设备中,并将设备中保存的与设备上次绑定的用于NB-IoT的电子设备的电子设备标识删除。After receiving the electronic device identifier sent by the electronic device for the NB-IoT, the target device saves the received electronic device identifier to the device, and saves the device last used for binding to the device for NB-IoT. The electronic device identification of the electronic device is deleted.
如图3所示,本公开实施例第一种NB-IOT网络中获取设备标识的方法包括:As shown in FIG. 3, the method for obtaining a device identifier in a first NB-IOT network according to an embodiment of the present disclosure includes:
步骤300、用于NB-IoT的电子设备读取设备中的设备ID信息和设备的绑定信息,其中设备的绑定信息为上次绑定的用于NB-IoT的电子设备的电子设备ID信息;Step 300: The device ID information and the binding information of the device in the electronic device of the NB-IoT are read, wherein the binding information of the device is the electronic device ID of the electronic device for the NB-IoT that is last bound. information;
步骤301、用于NB-IoT的电子设备读取电子设备中保存电子设备绑定信 息,其中电子设备绑定信息为上次绑定的设备的设备ID信息;Step 301: The electronic device binding information is saved in the electronic device reading electronic device for the NB-IoT, where the electronic device binding information is device ID information of the last bound device;
步骤302、用于NB-IoT的电子设备能否从设备中读取到设备ID信息,若能,执行步骤303,否则执行步骤310; Step 302, the electronic device for NB-IoT can read the device ID information from the device, if yes, go to step 303, otherwise go to step 310;
步骤303、设备和用于NB-IoT的电子设备为初次绑定或设备的主板更换;Step 303: The device and the electronic device used for the NB-IoT are the first binding or the motherboard replacement of the device;
步骤304、用于NB-IoT的电子设备与远程服务器通信,向远程服务器发送用于NB-IoT的电子设备的电子设备ID信息;Step 304: The electronic device for the NB-IoT communicates with the remote server, and sends the electronic device ID information of the electronic device for the NB-IoT to the remote server;
步骤305、远程服务器根据用于NB-IoT的电子设备发送的电子设备ID信息,查询远程服务器中保存的与该电子设备ID信息对应的设备ID信息;Step 305: The remote server queries the device ID information corresponding to the electronic device ID information stored in the remote server according to the electronic device ID information sent by the electronic device for the NB-IoT.
步骤306、远程服务器将查询到的设备ID信息发送给用于NB-IoT的电子设备;Step 306: The remote server sends the queried device ID information to the electronic device for the NB-IoT.
步骤307、用于NB-IoT的电子设备接收到远程服务器发送的设备ID信息后,将接收到的设备ID信息和用于NB-IoT的电子设备的电子设备ID信息发送给用于NB-IoT的电子设备需要控制的目标设备;Step 307: After receiving the device ID information sent by the remote server, the electronic device for the NB-IoT sends the received device ID information and the electronic device ID information of the electronic device for the NB-IoT to the NB-IoT. The target device that the electronic device needs to control;
步骤308、目标设备接收到用于NB-IoT的电子设备发送的设备ID信息和电子设备ID信息后,将设备ID信息写入到设备中,并保存电子设备ID信息;Step 308: After receiving the device ID information and the electronic device ID information sent by the electronic device for the NB-IoT, the target device writes the device ID information into the device, and saves the electronic device ID information.
步骤309、用于NB-IoT的电子设备保存接收到的设备ID信息,执行步骤315; Step 309, the electronic device for NB-IoT saves the received device ID information, and performs step 315;
步骤310、用于NB-IoT的电子设备读取的设备中的设备ID信息与用于NB-IoT的电子设备中保存的设备ID信息不同,或用于NB-IoT的电子设备读取的设备中保存的电子设备ID信息与用于NB-IoT的电子设备的电子设备ID信息不同,或用于NB-IoT的电子设备中无设备ID信息,则判定电子设备更换;Step 310: The device ID information in the device read by the electronic device for the NB-IoT is different from the device ID information stored in the electronic device used for the NB-IoT, or the device used for reading the electronic device of the NB-IoT If the electronic device ID information stored in the electronic device ID information is different from the electronic device ID information of the electronic device used for the NB-IoT, or the electronic device for the NB-IoT has no device ID information, it is determined that the electronic device is replaced;
步骤311、用于NB-IoT的电子设备与远程服务器进行通信,将用于NB-IoT的电子设备读取的设备ID信息与用于NB-IoT的电子设备的电子设备ID信息发送给远程服务器;Step 311: The electronic device for the NB-IoT communicates with the remote server, and sends the device ID information read by the electronic device for the NB-IoT and the electronic device ID information of the electronic device for the NB-IoT to the remote server. ;
步骤312、远程服务器查询远程服务器中保存的与设备ID信息对应的电 子设备ID信息,将远程服务器中保存的电子设备ID信息用接收到的用于NB-IoT的电子设备发送的用于NB-IoT的电子设备的电子设备ID信息替换,并保存;Step 312: The remote server queries the electronic device ID information corresponding to the device ID information stored in the remote server, and transmits the electronic device ID information stored in the remote server to the received NB-IoT electronic device for the NB- The electronic device ID information of the IoT electronic device is replaced and saved;
步骤313、用于NB-IoT的电子设备向目标设备发送用于NB-IoT的电子设备的电子设备ID信息,将目标设备中保存的绑定信息更新为接收到的用于NB-IoT的电子设备的电子设备ID信息;Step 313: The electronic device for the NB-IoT sends the electronic device ID information of the electronic device for the NB-IoT to the target device, and updates the binding information saved in the target device to the received electronic device for the NB-IoT. Electronic device ID information of the device;
步骤314、用于NB-IoT的电子设备将用于NB-IoT的电子设备中的绑定信息更新为用于NB-IoT的电子设备读取的设备ID信息;Step 314: The electronic device for the NB-IoT updates the binding information in the electronic device for the NB-IoT to the device ID information read by the electronic device for the NB-IoT;
步骤315、完成绑定操作。 Step 315, completing the binding operation.
如图4所示,本公开实施例第二种NB-IOT网络中获取设备标识的完整方法包括:As shown in FIG. 4, a complete method for obtaining a device identifier in a second NB-IOT network according to an embodiment of the present disclosure includes:
步骤400、用于NB-IoT的电子设备读取设备中的设备ID信息和设备的绑定信息;Step 400: The device ID information and the binding information of the device in the electronic device of the NB-IoT are read by the device;
步骤401、用于NB-IoT的电子设备读取电子设备中保存电子设备绑定信息;Step 401: The electronic device for the NB-IoT reads the electronic device binding information in the electronic device;
步骤402、判断用于NB-IoT的电子设备和设备是否是初次绑定,若是,执行步骤405,否则执行步骤403; Step 402, determining whether the electronic device and device used for the NB-IoT are the initial binding, and if so, executing step 405, otherwise performing step 403;
步骤403、判断设备中的主板是否进行过更换,若是,执行步骤405,否则执行步骤404; Step 403, it is determined whether the motherboard in the device has been replaced, and if so, step 405 is performed, otherwise step 404 is performed;
步骤404、判断设备中的电子设备是否进行过更换,若是,执行步骤411,否则执行步骤415; Step 404, it is determined whether the electronic device in the device has been replaced, and if so, step 411 is performed, otherwise step 415 is performed;
步骤405、用于NB-IoT的电子设备与远程服务器通信,向远程服务器发送用于NB-IoT的电子设备的电子设备ID信息;Step 405: The electronic device for the NB-IoT communicates with the remote server, and sends the electronic device ID information of the electronic device for the NB-IoT to the remote server.
步骤406、远程服务器根据用于NB-IoT的电子设备发送的电子设备ID信息,查询远程服务器中保存的与该电子设备ID信息对应的设备ID信息;Step 406: The remote server queries the device ID information corresponding to the electronic device ID information stored in the remote server according to the electronic device ID information sent by the electronic device for the NB-IoT.
步骤407、远程服务器将查询到的设备ID信息发送给用于NB-IoT的电子设备;Step 407: The remote server sends the queried device ID information to the electronic device for the NB-IoT.
步骤408、用于NB-IoT的电子设备接收到远程服务器发送的设备ID信息后,将接收到的设备ID信息和用于NB-IoT的电子设备的电子设备ID信息发送给用于NB-IoT的电子设备需要控制的目标设备;Step 408: After receiving the device ID information sent by the remote server, the electronic device for the NB-IoT sends the received device ID information and the electronic device ID information of the electronic device for the NB-IoT to the NB-IoT. The target device that the electronic device needs to control;
步骤409、目标设备接收到用于NB-IoT的电子设备发送的设备ID信息和电子设备ID信息后,将设备ID信息写入到设备中,并保存电子设备ID信息;Step 409: After receiving the device ID information and the electronic device ID information sent by the electronic device for the NB-IoT, the target device writes the device ID information into the device, and saves the electronic device ID information.
步骤410、用于NB-IoT的电子设备保存接收到的设备ID信息,执行步骤415; Step 410, the electronic device for NB-IoT saves the received device ID information, and performs step 415;
步骤411、用于NB-IoT的电子设备与远程服务器进行通信,将用于NB-IoT的电子设备读取的设备ID信息与用于NB-IoT的电子设备的电子设备ID信息发送给远程服务器;Step 411: The electronic device for the NB-IoT communicates with the remote server, and sends the device ID information read by the electronic device for the NB-IoT and the electronic device ID information of the electronic device for the NB-IoT to the remote server. ;
步骤412、远程服务器查询远程服务器中保存的与设备ID信息对应的电子设备ID信息,将远程服务器中保存的电子设备ID信息用接收到的用于NB-IoT的电子设备的电子设备ID信息替换,并保存;Step 412: The remote server queries the electronic device ID information corresponding to the device ID information stored in the remote server, and replaces the electronic device ID information stored in the remote server with the received electronic device ID information of the electronic device for the NB-IoT. And save;
步骤413、用于NB-IoT的电子设备向目标设备发送用于NB-IoT的电子设备的电子设备ID信息,将目标设备中保存的绑定信息更新为接收到的用于NB-IoT的电子设备的电子设备ID信息;Step 413: The electronic device for the NB-IoT sends the electronic device ID information of the electronic device for the NB-IoT to the target device, and updates the binding information saved in the target device to the received electronic device for the NB-IoT. Electronic device ID information of the device;
步骤414、用于NB-IoT的电子设备将用于NB-IoT的电子设备中的绑定信息更新为用于NB-IoT的电子设备读取的设备ID信息;Step 414: The electronic device for the NB-IoT updates the binding information in the electronic device for the NB-IoT to the device ID information read by the electronic device for the NB-IoT;
步骤415、完成绑定操作。 Step 415, completing the binding operation.
基于同一发明构思,本公开实施例中还提供了一种获取设备标识的设备,由于该设备解决问题的原理与本公开实施例获取设备标识的方法相似,因此该设备的实施可以参见方法的实施,重复之处不再赘述。Based on the same inventive concept, an apparatus for obtaining a device identifier is also provided in the embodiment of the present disclosure. The principle of solving the problem is similar to the method for obtaining the device identifier in the embodiment of the present disclosure. Therefore, the implementation of the device may refer to the implementation of the method. , the repetition will not be repeated.
如图5所示,本公开实施例提供的用于NB-IoT的电子设备,该电子设备包括:处理器500以及存储器501:As shown in FIG. 5, an electronic device for NB-IoT provided by an embodiment of the present disclosure includes: a processor 500 and a memory 501:
处理器500,用于判断是否能够从需要控制的目标设备中获取所述目标设备的设备标识;响应于无法从需要控制的目标设备中获取所述目标设备的 设备标识,则将用于NB-IoT的电子设备的电子设备标识发送给远端服务器;接收所述远端服务器返回的与所述电子设备标识绑定的设备标识;将收到的所述设备标识作为所述目标设备的设备标识。The processor 500 is configured to determine whether the device identifier of the target device can be obtained from the target device that needs to be controlled; and in response to the device identifier of the target device cannot be obtained from the target device that needs to be controlled, it is used for the NB- The electronic device identifier of the electronic device of the IoT is sent to the remote server; the device identifier that is bound to the electronic device identifier returned by the remote server is received; and the received device identifier is used as the device identifier of the target device. .
可选的,通过下列方式确定远端服务器:Optionally, determine the remote server in the following ways:
根据预设的互联网协议IP地址和端口号确定远端服务器。The remote server is determined according to the preset internet protocol IP address and port number.
可选的,所述处理器500还用于:Optionally, the processor 500 is further configured to:
将接收到的设备标识和所述用于NB-IoT的电子设备的电子设备标识发送给所述目标设备。And transmitting the received device identifier and the electronic device identifier of the electronic device for the NB-IoT to the target device.
可选的,所述处理器500还用于:Optionally, the processor 500 is further configured to:
在能够从需要控制的目标设备中获取所述目标设备的设备标识,且确定与所述目标设备绑定的用于NB-IoT的电子设备发生更换后,将所述用于NB-IoT的电子设备的电子设备标识和所述目标设备的设备标识发送给远端服务器,以使所述远端服务器更新电子设备标识和设备标识的绑定关系。The electronic device for the NB-IoT is obtained after the device identifier of the target device can be obtained from the target device that needs to be controlled, and the electronic device for the NB-IoT bound to the target device is determined to be replaced. The electronic device identifier of the device and the device identifier of the target device are sent to the remote server, so that the remote server updates the binding relationship between the electronic device identifier and the device identifier.
可选的,所述处理器500具体用于:Optionally, the processor 500 is specifically configured to:
无法从所述用于NB-IoT的电子设备中获取与电子设备标识绑定的设备标识,则确定与所述目标设备绑定的用于NB-IoT的电子设备发生更换;或从目标设备中获取的设备标识绑定的电子设备标识与所述用于NB-IoT的电子设备的电子设备标识不同,则确定与所述目标设备绑定的用于NB-IoT的电子设备发生更换;或从目标设备中获取的设备标识与所述用于NB-IoT的电子设备中保存的设备标识不同,则确定与所述目标设备绑定的用于NB-IoT的电子设备发生更换。Unable to obtain the device identifier bound to the electronic device identifier from the electronic device for the NB-IoT, and determine that the electronic device for the NB-IoT bound to the target device is replaced; or from the target device Obtaining that the acquired device identifier is different from the electronic device identifier of the electronic device for the NB-IoT, and determining that the electronic device for the NB-IoT bound to the target device is replaced; or The device identifier acquired in the target device is different from the device identifier saved in the electronic device for the NB-IoT, and it is determined that the electronic device for the NB-IoT bound to the target device is replaced.
可选的,所述处理器500还用于:Optionally, the processor 500 is further configured to:
能够从需要控制的目标设备中获取所述目标设备的设备标识,且确定所述与所述目标设备绑定的用于NB-IoT的电子设备发生更换后,将所述用于NB-IoT的电子设备的电子设备标识发送给所述目标设备。The device identifier of the target device can be obtained from the target device that needs to be controlled, and after determining that the electronic device for the NB-IoT bound to the target device is replaced, the NB-IoT is used. An electronic device identification of the electronic device is sent to the target device.
基于同一发明构思,本公开实施例中还提供了一种NB-IOT网络中获取设备标识的设备,由于该设备解决问题的原理与本公开实施例获取设备标识的 方法相似,因此该设备的实施可以参见方法的实施,重复之处不再赘述。Based on the same inventive concept, an apparatus for obtaining a device identifier in an NB-IOT network is also provided in the embodiment of the present disclosure. The principle of solving the problem is similar to the method for obtaining the device identifier in the embodiment of the present disclosure, so the implementation of the device is implemented. See the implementation of the method, and the repetition will not be repeated.
如图6所示,本公开实施例还提供一种获取设备标识的设备,包括判断模块600、发送模块601、接收模块602和确定模块603:As shown in FIG. 6, the embodiment of the present disclosure further provides an apparatus for acquiring a device identifier, including a determining module 600, a sending module 601, a receiving module 602, and a determining module 603:
判断模块600:用于判断是否能够从需要控制的目标设备中获取所述目标设备的设备标识;The determining module 600 is configured to determine whether the device identifier of the target device can be obtained from the target device that needs to be controlled;
发送模块601:用于响应于无法从需要控制的目标设备中获取所述目标设备的设备标识后,将所述用于NB-IoT的电子设备的电子设备标识发送给远端服务器;The sending module 601 is configured to: after receiving the device identifier of the target device from the target device that needs to be controlled, send the electronic device identifier of the electronic device for the NB-IoT to the remote server;
接收模块602:用于接收所述远端服务器返回的与所述电子设备标识绑定的设备标识;The receiving module 602 is configured to receive a device identifier that is bound by the remote server and that is bound to the identifier of the electronic device.
确定模块603:用于将收到的所述设备标识作为所述目标设备的设备标识。The determining module 603 is configured to use the received device identifier as the device identifier of the target device.
可选的,所述发送模块601还用于:Optionally, the sending module 601 is further configured to:
将接收到的设备标识和所述用于NB-IoT的电子设备的电子设备标识发送给所述目标设备。And transmitting the received device identifier and the electronic device identifier of the electronic device for the NB-IoT to the target device.
可选的,所述发送模块601还用于:Optionally, the sending module 601 is further configured to:
在能够从需要控制的目标设备中获取所述目标设备的设备标识,且确定与所述目标设备绑定的用于NB-IoT的电子设备发生更换后,将所述用于NB-IoT的电子设备的电子设备标识和所述目标设备的设备标识发送给远端服务器,以使所述远端服务器更新电子设备标识和设备标识的绑定关系。The electronic device for the NB-IoT is obtained after the device identifier of the target device can be obtained from the target device that needs to be controlled, and the electronic device for the NB-IoT bound to the target device is determined to be replaced. The electronic device identifier of the device and the device identifier of the target device are sent to the remote server, so that the remote server updates the binding relationship between the electronic device identifier and the device identifier.
可选的,所述确定模块603具体用于:Optionally, the determining module 603 is specifically configured to:
无法从所述用于NB-IoT的电子设备中获取与电子设备标识绑定的设备标识,则确定与所述目标设备绑定的用于NB-IoT的电子设备发生更换;或从目标设备中获取的设备标识绑定的电子设备标识与所述用于NB-IoT的电子设备的电子设备标识不同,则确定与所述目标设备绑定的用于NB-IoT的电子设备发生更换;或从目标设备中获取的设备标识与所述用于NB-IoT的电子设备中保存的设备标识不同,则确定与所述目标设备绑定的用于NB-IoT的电子 设备发生更换。Unable to obtain the device identifier bound to the electronic device identifier from the electronic device for the NB-IoT, and determine that the electronic device for the NB-IoT bound to the target device is replaced; or from the target device Obtaining that the acquired device identifier is different from the electronic device identifier of the electronic device for the NB-IoT, and determining that the electronic device for the NB-IoT bound to the target device is replaced; or The device identifier acquired in the target device is different from the device identifier saved in the electronic device for the NB-IoT, and it is determined that the electronic device for the NB-IoT bound to the target device is replaced.
可选的,所述发送模块601还用于:Optionally, the sending module 601 is further configured to:
能够从需要控制的目标设备中获取所述目标设备的设备标识,且确定所述与所述目标设备绑定的用于NB-IoT的电子设备发生更换后,将所述用于NB-IoT的电子设备的电子设备标识发送给所述目标设备。The device identifier of the target device can be obtained from the target device that needs to be controlled, and after determining that the electronic device for the NB-IoT bound to the target device is replaced, the NB-IoT is used. An electronic device identification of the electronic device is sent to the target device.
基于同一发明构思,本公开实施例中还提供了一种获取设备标识的设备,由于该设备解决问题的原理与本公开实施例获取设备标识的方法相似,因此该设备的实施可以参见方法的实施,重复之处不再赘述。Based on the same inventive concept, an apparatus for obtaining a device identifier is also provided in the embodiment of the present disclosure. The principle of solving the problem is similar to the method for obtaining the device identifier in the embodiment of the present disclosure. Therefore, the implementation of the device may refer to the implementation of the method. , the repetition will not be repeated.
本公开实施例还提供一种设备,该设备中的处理单元包括本公开实施例提供的任一一种用于NB-IoT的电子设备。The embodiment of the present disclosure further provides an apparatus, where the processing unit in the apparatus includes any one of the electronic devices for NB-IoT provided by the embodiments of the present disclosure.
基于同一发明构思,本公开实施例中还提供了一种远端服务器,由于该设备解决问题的原理与本公开实施例获取设备标识的方法相似,因此该设备的实施可以参见方法的实施,重复之处不再赘述。Based on the same inventive concept, a remote server is also provided in the embodiment of the present disclosure. The method for solving the problem is similar to the method for obtaining the device identifier in the embodiment of the present disclosure. Therefore, the implementation of the device can be implemented by referring to the method. It will not be repeated here.
如图7所示,本公开实施例提供一种远端服务器,该远端服务器包括:处理器700和存储器701,其中,所述存储器701存储有计算机程序,所述处理器700配置为执行所述计算机程序以使所述远端服务器执行下列过程:As shown in FIG. 7, an embodiment of the present disclosure provides a remote server, where the remote server includes a processor 700 and a memory 701, wherein the memory 701 stores a computer program, and the processor 700 is configured to execute The computer program is described to cause the remote server to perform the following process:
接收用于NB-IOT的电子设备发送的电子设备标识后,根据电子设备标识和设备标识的绑定关系,确定所述电子设备标识对应的设备标识;将确定的所述设备标识发送给所述用于NB-IoT的电子设备。After receiving the identifier of the electronic device sent by the electronic device for the NB-IOT, determining the device identifier corresponding to the identifier of the electronic device according to the binding relationship between the identifier of the electronic device and the identifier of the device; and sending the determined device identifier to the Electronic equipment for NB-IoT.
可选的,所述处理器700还用于:Optionally, the processor 700 is further configured to:
接收所述用于NB-IOT的电子设备发送的所述用于NB-IOT的电子设备的电子设备标识和需要控制的目标设备的设备标识,以更新所述电子设备标识和设备标识的绑定关系。Receiving, by the electronic device for the NB-IOT, the electronic device identifier of the electronic device for the NB-IOT and the device identifier of the target device that needs to be controlled, to update the binding of the electronic device identifier and the device identifier relationship.
本公开实施例还提供一种计算机可读非易失性存储介质,包括程序代码,当所述程序代码在计算设备上运行时,所述程序代码用于使所述计算设备执行本公开实施例NB-IOT网络中获取设备标识的方法的步骤。Embodiments of the present disclosure also provide a computer readable non-volatile storage medium comprising program code for causing the computing device to perform an embodiment of the present disclosure when the program code is run on a computing device The steps of the method for obtaining device identification in the NB-IOT network.
以上参照示出根据本申请实施例的方法、装置(系统)和/或计算机程序 产品的框图和/或流程图描述本申请。应理解,可以通过计算机程序指令来实现框图和/或流程图示图的一个块以及框图和/或流程图示图的块的组合。可以将这些计算机程序指令提供给通用计算机、专用计算机的处理器和/或其它可编程数据处理装置,以产生机器,使得经由计算机处理器和/或其它可编程数据处理装置执行的指令创建用于实现框图和/或流程图块中所指定的功能/动作的方法。The present application has been described above with reference to block diagrams and/or flowchart illustrations of a method, apparatus (system) and/or computer program product according to embodiments of the present application. It will be understood that one block of the block diagrams and/or flowchart illustrations and combinations of blocks of the block diagrams and/or flowchart illustrations can be implemented by computer program instructions. These computer program instructions may be provided to a general purpose computer, a processor of a special purpose computer, and/or other programmable data processing apparatus to produce a machine such that instructions for execution via a computer processor and/or other programmable data processing apparatus are created for A method of implementing the functions/actions specified in the block diagrams and/or flowchart blocks.
相应地,还可以用硬件和/或软件(包括固件、驻留软件、微码等)来实施本申请。更进一步地,本申请可以采取计算机可使用或计算机可读存储介质上的计算机程序产品的形式,其具有在介质中实现的计算机可使用或计算机可读程序代码,以由指令执行系统来使用或结合指令执行系统而使用。在本申请上下文中,计算机可使用或计算机可读介质可以是任意介质,其可以包含、存储、通信、传输、或传送程序,以由指令执行系统、装置或设备使用,或结合指令执行系统、装置或设备使用。Accordingly, the application can also be implemented in hardware and/or software (including firmware, resident software, microcode, etc.). Still further, the application can take the form of a computer program product on a computer usable or computer readable storage medium having computer usable or computer readable program code embodied in a medium for use by an instruction execution system or Used in conjunction with the instruction execution system. In the context of the present application, a computer usable or computer readable medium can be any medium that can contain, store, communicate, communicate, or transport a program for use by an instruction execution system, apparatus or device, or in conjunction with an instruction execution system, Used by the device or device.
显然,本领域的技术人员可以对本公开进行各种改动和变型而不脱离本公开的精神和范围。这样,倘若本公开的这些修改和变型属于本公开权利要求及其等同技术的范围之内,则本公开也意图包含这些改动和变型在内。It will be apparent to those skilled in the art that various changes and modifications can be made in the present disclosure without departing from the spirit and scope of the disclosure. Thus, it is intended that the present invention cover the modifications and the modifications

Claims (16)

  1. 一种NB-IOT网络中获取设备标识的方法,其特征在于,该方法包括:A method for obtaining a device identifier in an NB-IOT network, the method comprising:
    用于窄带物联网NB-IoT的电子设备判断是否能够从需要控制的目标设备中获取所述目标设备的设备标识;The electronic device for the narrowband Internet of Things NB-IoT determines whether the device identifier of the target device can be obtained from the target device that needs to be controlled;
    响应于无法从所述目标设备中获取设备标识,则所述用于NB-IoT的电子设备将所述用于NB-IoT的电子设备的电子设备标识发送给远端服务器;The electronic device for the NB-IoT transmits the electronic device identifier of the electronic device for the NB-IoT to the remote server in response to the inability to obtain the device identifier from the target device;
    所述用于NB-IoT的电子设备接收所述远端服务器返回的与所述电子设备标识绑定的设备标识;The electronic device for NB-IoT receives a device identifier that is returned by the remote server and is bound to the electronic device identifier;
    所述用于NB-IoT的电子设备将收到的所述设备标识作为所述目标设备的设备标识。The electronic device for the NB-IoT uses the received device identifier as the device identifier of the target device.
  2. 如权利要求1所述的方法,其特征在于,所述用于NB-IoT的电子设备通过下列方式确定远端服务器:The method of claim 1 wherein said electronic device for NB-IoT determines the remote server in the following manner:
    所述用于NB-IoT的电子设备根据预设的互联网协议IP地址和端口号确定远端服务器。The electronic device for NB-IoT determines the remote server according to a preset internet protocol IP address and port number.
  3. 如权利要求1所述的方法,其特征在于,所述用于NB-IoT的电子设备接收所述远端服务器返回的与所述电子设备标识绑定的设备标识后,还包括:The method of claim 1, wherein the electronic device for the NB-IoT, after receiving the device identifier that is bound to the electronic device identifier returned by the remote server, further includes:
    所述用于NB-IoT的电子设备将接收到的设备标识和所述用于NB-IoT的电子设备的电子设备标识发送给所述目标设备。The electronic device for the NB-IoT transmits the received device identifier and the electronic device identifier of the electronic device for the NB-IoT to the target device.
  4. 如权利要求1所述的方法,其特征在于,该方法还包括:The method of claim 1 further comprising:
    所述用于NB-IoT的电子设备在能够从需要控制的目标设备中获取所述目标设备的设备标识,且确定与所述目标设备绑定的用于NB-IoT的电子设备发生更换后,将所述用于NB-IoT的电子设备的电子设备标识和所述目标设备的设备标识发送给远端服务器,以使所述远端服务器更新电子设备标识和设备标识的绑定关系。The electronic device for the NB-IoT is capable of acquiring the device identifier of the target device from the target device that needs to be controlled, and determining that the electronic device for the NB-IoT bound to the target device is replaced, Sending the electronic device identifier of the electronic device for the NB-IoT and the device identifier of the target device to the remote server, so that the remote server updates the binding relationship between the electronic device identifier and the device identifier.
  5. 如权利要求4所述的方法,其特征在于,所述用于NB-IoT的电子设 备确定与所述目标设备绑定的用于NB-IoT的电子设备发生更换,包括:The method of claim 4, wherein the electronic device for the NB-IoT determines that the electronic device for the NB-IoT bound to the target device is replaced, comprising:
    响应于所述用于NB-IoT的电子设备无法从所述用于NB-IoT的电子设备中获取与电子设备标识绑定的设备标识,则确定与所述目标设备绑定的用于NB-IoT的电子设备发生更换;或Determining, in response to the electronic device for the NB-IoT, acquiring the device identifier bound to the electronic device identifier from the electronic device for the NB-IoT, determining the binding for the target device for the NB- Replacement of IoT's electronic equipment; or
    响应于所述用于NB-IoT的电子设备从目标设备中获取的设备标识绑定的电子设备标识与所述用于NB-IoT的电子设备的电子设备标识不同,则确定与所述目标设备绑定的用于NB-IoT的电子设备发生更换;或Determining that the electronic device identifier bound by the device identifier acquired by the electronic device for the NB-IoT is different from the electronic device identifier of the electronic device for the NB-IoT, and determining the target device The bound electronic device for NB-IoT is replaced; or
    响应于所述用于NB-IoT的电子设备从目标设备中获取的设备标识与所述用于NB-IoT的电子设备中保存的设备标识不同,则确定与所述目标设备绑定的用于NB-IoT的电子设备发生更换。Determining, in response to the device identifier acquired by the electronic device for the NB-IoT from the target device being different from the device identifier saved in the electronic device for the NB-IoT, determining, for binding with the target device The NB-IoT electronic device has been replaced.
  6. 如权利要求4所述的方法,其特征在于,该方法还包括:The method of claim 4, further comprising:
    所述用于NB-IoT的电子设备在能够从需要控制的目标设备中获取所述目标设备的设备标识,且确定所述与所述目标设备绑定的用于NB-IoT的电子设备发生更换后,将所述用于NB-IoT的电子设备的电子设备标识发送给所述目标设备。The electronic device for the NB-IoT is capable of acquiring the device identifier of the target device from the target device that needs to be controlled, and determining that the electronic device for the NB-IoT bound to the target device is replaced. Thereafter, the electronic device identifier of the electronic device for the NB-IoT is sent to the target device.
  7. 一种NB-IOT网络中获取设备标识的方法,其特征在于,该方法包括:A method for obtaining a device identifier in an NB-IOT network, the method comprising:
    远端服务器接收用于NB-IOT的电子设备发送的电子设备标识后,根据电子设备标识和设备标识的绑定关系,确定所述电子设备标识对应的设备标识;After receiving the identifier of the electronic device sent by the electronic device of the NB-IOT, the remote server determines the device identifier corresponding to the identifier of the electronic device according to the binding relationship between the identifier of the electronic device and the identifier of the device;
    所述远端服务器将确定的所述设备标识发送给所述用于NB-IoT的电子设备。The remote server sends the determined device identifier to the electronic device for the NB-IoT.
  8. 如权利要求7所述的方法,其特征在于,该方法还包括:The method of claim 7 further comprising:
    所述远端服务器接收所述用于NB-IOT的电子设备发送的所述用于NB-IOT的电子设备的电子设备标识和需要控制的目标设备的设备标识,并更新所述电子设备标识和设备标识的绑定关系。Receiving, by the remote server, the electronic device identifier of the electronic device for the NB-IOT sent by the electronic device for the NB-IOT and the device identifier of the target device that needs to be controlled, and updating the electronic device identifier and Binding relationship of the device ID.
  9. 一种用于窄带物联网NB-IoT的电子设备,其特征在于,该电子设备 包括:处理器以及存储器,其中,所述存储器存储有计算机程序,所述处理器配置为执行所述计算机程序以使所述电子设备执行下列过程:An electronic device for a narrowband Internet of Things NB-IoT, characterized in that the electronic device comprises: a processor and a memory, wherein the memory stores a computer program, the processor being configured to execute the computer program The electronic device is caused to perform the following process:
    判断是否能够从需要控制的目标设备中获取所述目标设备的设备标识;响应于从所述目标设备中无法获取设备标识,则将用于NB-IoT的电子设备的电子设备标识发送给远端服务器;接收所述远端服务器返回的与所述电子设备标识绑定的设备标识;将收到的所述设备标识作为所述目标设备的设备标识。Determining whether the device identifier of the target device can be obtained from the target device that needs to be controlled; in response to the device identifier being unavailable from the target device, sending the electronic device identifier of the electronic device for the NB-IoT to the remote device Receiving, by the server, a device identifier that is bound to the electronic device identifier returned by the remote server; and using the received device identifier as a device identifier of the target device.
  10. 如权利要求9所述的电子设备,其特征在于,通过下列方式确定远端服务器:The electronic device of claim 9 wherein the remote server is determined in the following manner:
    根据预设的互联网协议IP地址和端口号确定远端服务器。The remote server is determined according to the preset internet protocol IP address and port number.
  11. 如权利要求9所述的电子设备,其特征在于,所述处理器还用于:The electronic device of claim 9, wherein the processor is further configured to:
    将接收到的设备标识和所述用于NB-IoT的电子设备的电子设备标识发送给所述目标设备。And transmitting the received device identifier and the electronic device identifier of the electronic device for the NB-IoT to the target device.
  12. 如权利要求9所述的电子设备,其特征在于,所述处理器还用于:The electronic device of claim 9, wherein the processor is further configured to:
    在能够从需要控制的目标设备中获取所述目标设备的设备标识,且确定与所述目标设备绑定的用于NB-IoT的电子设备发生更换后,将所述用于NB-IoT的电子设备的电子设备标识和所述目标设备的设备标识发送给远端服务器,以使所述远端服务器更新电子设备标识和设备标识的绑定关系。The electronic device for the NB-IoT is obtained after the device identifier of the target device can be obtained from the target device that needs to be controlled, and the electronic device for the NB-IoT bound to the target device is determined to be replaced. The electronic device identifier of the device and the device identifier of the target device are sent to the remote server, so that the remote server updates the binding relationship between the electronic device identifier and the device identifier.
  13. 如权利要求12所述的电子设备,其特征在于,所述处理器具体用于:The electronic device according to claim 12, wherein the processor is specifically configured to:
    无法从所述用于NB-IoT的电子设备中获取与电子设备标识绑定的设备标识,则确定与所述目标设备绑定的用于NB-IoT的电子设备发生更换;或从目标设备中获取的设备标识绑定的电子设备标识与所述用于NB-IoT的电子设备的电子设备标识不同,则确定与所述目标设备绑定的用于NB-IoT的电子设备发生更换;或从目标设备中获取的设备标识与所述用于NB-IoT的电子设备中保存的设备标识不同,则确定与所述目标设备绑定的用于NB-IoT的电子设备发生更换。Unable to obtain the device identifier bound to the electronic device identifier from the electronic device for the NB-IoT, and determine that the electronic device for the NB-IoT bound to the target device is replaced; or from the target device Obtaining that the acquired device identifier is different from the electronic device identifier of the electronic device for the NB-IoT, and determining that the electronic device for the NB-IoT bound to the target device is replaced; or The device identifier acquired in the target device is different from the device identifier saved in the electronic device for the NB-IoT, and it is determined that the electronic device for the NB-IoT bound to the target device is replaced.
  14. 一种设备,其特征在于,所述处理器包括权利要求9~13任一所述的用于NB-IoT的电子设备。An apparatus, characterized in that the processor comprises the electronic device for NB-IoT according to any one of claims 9 to 13.
  15. 一种远端服务器,其特征在于,该远端服务器包括:处理器以及存储器,其中,所述存储器存储有计算机程序,所述处理器配置为执行所述计算机程序以使所述远端服务器执行:A remote server, comprising: a processor and a memory, wherein the memory stores a computer program, the processor configured to execute the computer program to cause the remote server to execute :
    接收用于NB-IOT的电子设备发送的电子设备标识后,根据电子设备标识和设备标识的绑定关系,确定所述电子设备标识对应的设备标识;将确定的所述设备标识发送给所述用于NB-IoT的电子设备。After receiving the identifier of the electronic device sent by the electronic device for the NB-IOT, determining the device identifier corresponding to the identifier of the electronic device according to the binding relationship between the identifier of the electronic device and the identifier of the device; and sending the determined device identifier to the Electronic equipment for NB-IoT.
  16. 如权利要求15所述的远端服务器,其特征在于,所述处理器还用于:The remote server according to claim 15, wherein the processor is further configured to:
    接收所述用于NB-IOT的电子设备发送的所述用于NB-IOT的电子设备的电子设备标识和需要控制的目标设备的设备标识,以更新所述电子设备标识和设备标识的绑定关系。Receiving, by the electronic device for the NB-IOT, the electronic device identifier of the electronic device for the NB-IOT and the device identifier of the target device that needs to be controlled, to update the binding of the electronic device identifier and the device identifier relationship.
PCT/CN2018/111251 2018-03-23 2018-10-22 Method for obtaining device identifier in nb-iot, and device WO2019179093A1 (en)

Applications Claiming Priority (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
CN201810246958.7 2018-03-23

Publications (1)

Publication Number Publication Date
WO2019179093A1 true WO2019179093A1 (en) 2019-09-26

Family

ID=63782509

Family Applications (1)

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

Country Status (2)

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

Cited By (1)

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

Families Citing this family (3)

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

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105404258A (en) * 2015-11-30 2016-03-16 青岛海信传媒网络技术有限公司 Intelligent household management method and platform
US20160212099A1 (en) * 2015-01-16 2016-07-21 Zingbox, Ltd. Private cloud control
CN107181651A (en) * 2017-06-23 2017-09-19 海信集团有限公司 Intelligent home device collocation method and device
CN107493212A (en) * 2017-08-30 2017-12-19 海信集团有限公司 Configuration processing method, terminal, server and the system of intelligent home device
CN107800687A (en) * 2017-09-26 2018-03-13 无锡小天鹅股份有限公司 Apparatus bound method, system and washing machine based on Internet of Things
CN108667950A (en) * 2018-03-23 2018-10-16 海信集团有限公司 A kind of method and apparatus obtaining device identification

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106413124B (en) * 2015-07-31 2021-03-23 腾讯科技(深圳)有限公司 Equipment binding method and device
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
CN106954233B (en) * 2016-01-07 2021-05-25 中兴通讯股份有限公司 Method for selecting narrow-band Internet of things user core network and communication equipment
CN106685947B (en) * 2016-12-23 2021-04-13 深圳市Tcl高新技术开发有限公司 Access method and system for private cloud equipment of smart television
CN107367949B (en) * 2017-06-14 2018-12-07 珠海格力电器股份有限公司 Method, device and system for acquiring product identification

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160212099A1 (en) * 2015-01-16 2016-07-21 Zingbox, Ltd. Private cloud control
CN105404258A (en) * 2015-11-30 2016-03-16 青岛海信传媒网络技术有限公司 Intelligent household management method and platform
CN107181651A (en) * 2017-06-23 2017-09-19 海信集团有限公司 Intelligent home device collocation method and device
CN107493212A (en) * 2017-08-30 2017-12-19 海信集团有限公司 Configuration processing method, terminal, server and the system of intelligent home device
CN107800687A (en) * 2017-09-26 2018-03-13 无锡小天鹅股份有限公司 Apparatus bound method, system and washing machine based on Internet of Things
CN108667950A (en) * 2018-03-23 2018-10-16 海信集团有限公司 A kind of method and apparatus obtaining device identification

Cited By (1)

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

Also Published As

Publication number Publication date
CN108667950A (en) 2018-10-16
CN108667950B (en) 2021-12-21

Similar Documents

Publication Publication Date Title
WO2019179093A1 (en) Method for obtaining device identifier in nb-iot, and device
CN110089040A (en) The method and sending ending equipment of data transmission
US8307062B2 (en) Standardized mechanism of remote management of embedded radio modules
KR101788691B1 (en) Method for realizing selection of security unit in near field communication, mobile terminal and pos machine
US9467209B2 (en) Method, apparatus, and terminal device for near field communication radio frequency communication
CN101226651B (en) Mobile terminal with check on work attendance function, check on work attendance system as well as method thereof
WO2014183690A1 (en) Method of processing application program upgrade, and terminal device
US20070108280A1 (en) Memory card and terminal equipment incorporating the same
CN104253634A (en) Double-frequency multi-protocol multifunctional NFC (near field communication) integrating system and application method
US20120089708A1 (en) Identifier management server, application service platform, method and system for recognizing device using identifier of sensor node
US20100070966A1 (en) Method for updating firmware of radio frequency identification reader through network system
US9898747B2 (en) Information processing system performing synchronization between memory devices and memory devices performing wireless communication
JP5935235B2 (en) COMMUNICATION DEVICE, COMMUNICATION SYSTEM, AND COMMUNICATION METHOD
CN105981414A (en) Systems and methods for an inductive communication interface
CN106162811B (en) Method and device for establishing network connection
CN110868447B (en) Multi-rocket concurrent measurement and control system and working method thereof
US20150142937A1 (en) Method and system for remote equipment data installation
JP6858200B2 (en) Methods for routing data frames, near field communication controllers, and terminals
EP2677790B1 (en) NFC system comprising a plurality of secure elements
US9824246B2 (en) Radio frequency identification tag having input device
JP2005071155A (en) Communication equipment terminal with updatable firmware
CN113645606B (en) Bluetooth device discovery method, device, terminal and storage medium
CN115695077A (en) Bus data receiving method and device, electronic equipment and storage medium
US20100156601A1 (en) LLRP-Based Flexible Reader System And Method
JP6271983B2 (en) COMMUNICATION DEVICE, ITS CONTROL METHOD, PROGRAM

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 18910698

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 18910698

Country of ref document: EP

Kind code of ref document: A1