CN114422974A - Communication method and device of Internet of things equipment - Google Patents

Communication method and device of Internet of things equipment Download PDF

Info

Publication number
CN114422974A
CN114422974A CN202210088160.0A CN202210088160A CN114422974A CN 114422974 A CN114422974 A CN 114422974A CN 202210088160 A CN202210088160 A CN 202210088160A CN 114422974 A CN114422974 A CN 114422974A
Authority
CN
China
Prior art keywords
internet
cloud platform
things
wireless module
connection
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202210088160.0A
Other languages
Chinese (zh)
Inventor
张金浩
李志鹏
金棋标
苗子实
李宁
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Eastone Huarui Technology Co ltd
Original Assignee
Beijing Eastone Huarui Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Eastone Huarui Technology Co ltd filed Critical Beijing Eastone Huarui Technology Co ltd
Priority to CN202210088160.0A priority Critical patent/CN114422974A/en
Publication of CN114422974A publication Critical patent/CN114422974A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/30Services specially adapted for particular environments, situations or purposes
    • GPHYSICS
    • G16INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR SPECIFIC APPLICATION FIELDS
    • G16YINFORMATION AND COMMUNICATION TECHNOLOGY SPECIALLY ADAPTED FOR THE INTERNET OF THINGS [IoT]
    • G16Y30/00IoT infrastructure
    • 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
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/19Connection re-establishment

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computing Systems (AREA)
  • Health & Medical Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • Medical Informatics (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The application discloses a communication method and device of an internet of things device, and aims to solve the problem that the traditional processing industry in the prior art does not achieve access to the internet of things. The method comprises the following steps: detecting a connection state between a wireless module installed on an Internet of things device and the Internet of things device; initiating a connection request to a cloud platform provided by the network equipment under the condition that the connection state is connected; and under the condition that the connection request is verified by the cloud platform, establishing communication connection with the cloud platform. According to the technical scheme, the intelligent gateway is applied to the traditional processing industry, equipment in the traditional processing industry can be accessed into the Internet of things, and data interaction between the equipment and the cloud platform is achieved.

Description

Communication method and device of Internet of things equipment
Technical Field
The application relates to the technical field of wireless communication networks, in particular to a communication method and device of an internet of things device.
Background
The intelligent factory construction is the self requirement of the traditional enterprise for implementing innovation drive and value creation strategy. The intelligent factory construction is the key for realizing innovation development of industry informatization.
Many conventional processing industries currently fail to implement intelligent factories. For example, in the clothing processing industry, information interaction between the operation equipment and the cloud platform cannot be realized, that is, the relevant information of the operation equipment cannot be automatically acquired, and the operation equipment cannot receive the information sent by the cloud platform, so that the development process of an intelligent factory is hindered.
Disclosure of Invention
In order to solve the above problems, the present invention provides a communication method for an internet of things device, so as to solve the above problems in the prior art.
In order to solve the above problem, the embodiment of the present invention is implemented as follows:
in a first aspect, an embodiment of the present invention provides a communication method for an internet of things device, where the method includes:
detecting a connection state between a wireless module installed on an Internet of things device and the Internet of things device;
initiating a connection request to a cloud platform provided by the network equipment under the condition that the connection state is connected;
and establishing communication connection with the cloud platform under the condition that the connection request is verified by the cloud platform.
In a second aspect, an embodiment of the present invention provides a communication apparatus for an internet of things device, where the apparatus includes:
the detection module is used for detecting the connection state between the wireless module arranged on the Internet of things equipment and the Internet of things equipment;
a sending module, configured to initiate a connection request to a cloud platform provided by a network device when the connection status is connected;
and the establishing module is used for establishing communication connection with the cloud platform under the condition that the connection request is verified by the cloud platform.
In a third aspect, an embodiment of the present invention provides an electronic device, including: a processor, a memory and a computer program stored on the memory and executable on the processor, the computer program, when executed by the processor, implementing the steps of the method of implementing communication of an internet of things device as claimed in any one of the above.
In a fourth aspect, the embodiment of the present invention provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the steps of the method for implementing communication of an internet of things device as described in any one of the above.
Compared with the prior art, the invention has the following beneficial effects: the method comprises the steps that a connection request is sent to a cloud platform provided by network equipment under the condition that a wireless module installed on the internet of things equipment is connected by detecting the connection state between the wireless module and the internet of things equipment; and establishing communication connection with the cloud platform under the condition that the connection request is verified by the cloud platform. Therefore, communication between the Internet of things equipment and the cloud platform is realized, and the development process of an intelligent factory is promoted.
Drawings
The accompanying drawings, which are included to provide a further understanding of the application and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the application and together with the description serve to explain the application and not to limit the application. In the drawings:
fig. 1 is a flowchart of a communication method of an internet of things device in an embodiment of the present application;
fig. 2 is a flowchart of a communication method of an internet of things device in another embodiment of the present application;
fig. 3 is a schematic structural diagram of a communication device of an internet of things device in an embodiment of the present application;
fig. 4 is a schematic structural diagram of an electronic device in an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the technical solutions of the present application will be described in detail and completely with reference to the following specific embodiments of the present application and the accompanying drawings. It should be apparent that the described embodiments are only some of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
In order to realize communication of the equipment of the Internet of things, the communication system of the equipment of the Internet of things is arranged, and the communication system comprises the equipment of the Internet of things, a wireless module, a wireless gateway and a cloud platform provided by network equipment. The wireless module is installed on the Internet of things equipment, and the wireless module is wirelessly connected with the wireless gateway. The following is a method applied to the communication system.
Fig. 1 is a flowchart of a communication method of an internet of things device in an embodiment of the present application. The method execution subject is a wireless gateway, and the method of fig. 1 may include:
s102: and detecting the connection state between the wireless module installed on the equipment connected with the Internet of things and the equipment connected with the Internet of things.
Wherein, the equipment of the internet of things can be the operation equipment in the workshop. The device may be, for example, a sewing machine device in the garment processing industry. The wireless module is installed on the equipment of the internet of things and comprises a wireless module integrated into the equipment of the internet of things. The wireless module can be a data acquisition module and has a communication function. The wireless module and the Internet of things equipment can be connected through a TTL/RS485/RS232 serial port. The wireless gateway specifically detects in a polling mode, the wireless gateway can be wirelessly connected with a plurality of wireless modules simultaneously, and the wireless modules are installed on the internet of things equipment, so that the internet of things equipment can be detected in time as long as the connection is established between the internet of things equipment and the wireless modules.
S104: and under the condition that the connection state is connected, initiating a connection request to a cloud platform provided by the network equipment.
The connection state is connected, and the fact that serial port communication between the internet of things device and the wireless module is normal can be understood. At this time, a connection request is initiated to the cloud platform provided by the network device to establish a transmission channel for communication.
S106: and establishing communication connection with the cloud platform under the condition that the connection request is verified by the cloud platform.
And after receiving the connection request, the cloud platform verifies the validity of the request, and if the connection request is legal, the wireless gateway establishes communication connection with the cloud platform. Namely, the information interaction between the internet of things equipment and the cloud platform is realized through the transmission channel established between the internet of things equipment and the cloud platform.
In the embodiment of the application, a connection request is initiated to a cloud platform provided by a network device by detecting a connection state between a wireless module installed on an internet of things device and the internet of things device under the condition that the connection state is connected; and establishing communication connection with the cloud platform under the condition that the connection request is verified by the cloud platform. Therefore, communication between the Internet of things equipment and the cloud platform is realized, and the development process of an intelligent factory is promoted.
Fig. 2 is a flowchart of a communication method of an internet of things device in another embodiment of the present application, where the method includes:
s202: and detecting the connection state between the wireless module installed on the equipment connected with the Internet of things and the equipment connected with the Internet of things.
S204: and under the condition that the connection state is connected, simulating a SOCKET to initiate a connection request to a cloud platform provided by the network equipment.
In a possible embodiment of the present application, initiating a connection request to a cloud platform provided by a network device specifically includes: and the analog SOCKET initiates a TCP long connection request to a cloud platform provided by the network equipment. The wireless gateway may initiate 60 socks to the cloud platform.
S206: and establishing communication connection with the cloud platform under the condition that the connection request is verified by the cloud platform.
S208: and establishing a mapping relation between the MAC address reported by the wireless module and the SOCKET, wherein the MAC address corresponds to the Internet of things equipment connected with the wireless module.
The mapping relationship may be a one-to-one correspondence relationship, that is, the MAC address and the SOCKET are in a one-to-one correspondence relationship. After communication connection is established based on SOCKET, the cloud platform can allocate a transmission channel to the internet of things device corresponding to the MAC address corresponding to the SOCKET. Even if a plurality of internet of things devices are accessed, information can be transmitted according to respective transmission channels.
S210: and carrying out ordered transmission of the uplink data packet and/or the downlink data packet based on the mapping relation.
The equipment of the internet of things transmits the uplink data packet through the transmission channel allocated to the equipment of the internet of things, and/or the equipment of the internet of things receives the downlink data packet through the transmission channel allocated to the equipment of the internet of things. The uplink data packet may include the operation data and/or operation parameters of the internet-of-things device connected with the wireless module, which are collected by the wireless module. The downlink data packet may include a control instruction sent by the cloud platform to the internet of things device. After establishing communication connection based on the one-to-one mapping relationship, the cloud platform may allocate a transmission channel to the internet of things device corresponding to the MAC address corresponding to the SOCKET. Even if a plurality of internet of things devices are accessed, information can be transmitted according to respective transmission channels.
The steps S202 and S206 are the same as the steps S102 and S206, and are not described again here.
In practical applications, in order to solve the technical problem, in consideration of possible interference between adjacent transmission channels, in the application, a preset frequency domain interval is provided between frequency domain resources used by the adjacent transmission channels corresponding to each of the internet of things devices. For example, 5HZ or 10HZ frequency domains are set between the frequency domain resources used by the adjacent transmission channels corresponding to the adjacent internet of things devices and are not used, so that the problem of mutual interference between the adjacent transmission channels is avoided, and the accuracy of data packet transmission is further ensured.
In addition, considering that the frequency domain resources that each wireless gateway can carry are limited, the present application provides a possible implementation manner for connecting the wireless module to the standby wireless gateway when the data volume of the wireless module connected to the wireless gateway exceeds the first threshold. The first threshold may be set to an upper limit value of frequency domain resources that can be carried by the wireless gateway, or smaller than the upper limit value. To ensure efficient transmission of data packets.
In one possible embodiment, if it is detected that the wireless module does not upload data within the first preset time period, the resource allocated to the wireless module is released.
When the wireless module does not upload data for a certain time, the wireless module is indicated that the internet of things device connected with the wireless module does not operate at the moment, and no data is uploaded at the moment, the resource allocated to the wireless module can be released, so that the released resource can be allocated to other required wireless modules, the waste of the resource is avoided, and the resource is fully utilized.
Further, consider the situation where the connection between the wireless gateway and the cloud platform may be broken. Therefore, the application provides a possible implementation manner, and heartbeat information is sent to the cloud platform according to a preset frequency; and if the feedback information of the cloud platform to the heartbeat information is not received within a second preset time, reestablishing the communication connection with the cloud platform. The second preset time is the time from the wireless gateway sending the heartbeat message to the time from the wireless gateway receiving the feedback information of the heartbeat message when the wireless gateway and the cloud platform are in a communication connection state. Therefore, if the feedback information of the cloud platform to the heartbeat information is not received when the second preset time length is exceeded, the communication connection can be reestablished with the cloud platform in time. Optionally, the second preset time is a reciprocal of the preset frequency, that is, the second preset time is equal to a sending period of the heartbeat information. Therefore, whether the feedback information of the cloud platform to the previous heartbeat information is received or not can be determined before the next heartbeat information is sent, so that the problem that the communication connection between the wireless gateway and the cloud platform is disconnected can be found as soon as possible and in time when the feedback information is not received, and the communication connection can be reestablished in time.
The present application also provides a communication apparatus of an internet of things device, as shown in fig. 3, the apparatus may include:
the detection module 310 is used for detecting the connection state between a wireless module installed on an internet of things device and the internet of things device;
a sending module 320, configured to initiate a connection request to a cloud platform provided by a network device when the connection status is connected;
an establishing module 330, configured to establish a communication connection with the cloud platform when the connection request is verified by the cloud platform.
The communication device of the internet of things equipment provided by the embodiment of the application can realize each process realized by the communication method of the internet of things equipment in the method embodiment, and is not repeated here for avoiding repetition.
In the embodiment of the application, a connection request is initiated to a cloud platform provided by a network device by detecting a connection state between a wireless module installed on an internet of things device and the internet of things device under the condition that the connection state is connected; and establishing communication connection with the cloud platform under the condition that the connection request is verified by the cloud platform. Therefore, communication between the Internet of things equipment and the cloud platform is realized, and the development process of an intelligent factory is promoted.
Fig. 4 is a schematic diagram of a hardware structure of an electronic device implementing various embodiments of the present invention.
The electronic device 400 includes, but is not limited to: radio frequency unit 401, network module 402, audio output unit 403, input unit 404, sensor 405, display unit 406, user input unit 407, interface unit 408, memory 409, processor 410, and power supply 411. Those skilled in the art will appreciate that the electronic device configuration shown in fig. 4 does not constitute a limitation of the electronic device, and that the electronic device may include more or fewer components than shown, or some components may be combined, or a different arrangement of components. In the embodiment of the present invention, the electronic device includes, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted terminal, a wearable device, a pedometer, and the like.
The processor 410 is configured to determine, for POI information points displayed on a display interface, a wireless local area network corresponding to each POI information point; determining current network heat information of the wireless local area network according to the first network information of the wireless local area network; and displaying the current network heat information at the corresponding position of the POI information point.
In the embodiment of the invention, the wireless local area network corresponding to each POI information point is determined, the current network heat information of the wireless local area network is determined according to the network information of the wireless local area network, and the current network heat information is displayed at the corresponding position of the POI information point, so that when the POI information point is displayed on a display interface, the POI information point is not limited to displaying simple information such as the type and name of the POI information point, and the current network heat information of the wireless local area network corresponding to the POI information point can be displayed, thereby providing richer POI information for a user; in addition, the user can also know the current state (such as the current operation state, the passenger flow volume and the like) of the POI information point according to the current network heat information, so the technical scheme can also ensure that the user can know larger information volume through abundant POI information, and avoid the situation that the user cannot judge whether to go to the POI information point or judge wrongly because the user cannot know sufficient POI information.
It should be understood that, in the embodiment of the present invention, the radio frequency unit 401 may be used for receiving and sending signals during a message sending and receiving process or a call process, and specifically, receives downlink data from a base station and then processes the received downlink data to the processor 410; in addition, the uplink data is transmitted to the base station. Typically, radio unit 401 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. Further, the radio unit 401 can also communicate with a network and other devices through a wireless communication system.
The electronic device provides wireless broadband internet access to the user via the network module 402, such as assisting the user in sending and receiving e-mails, browsing web pages, and accessing streaming media.
The audio output unit 403 may convert audio data received by the radio frequency unit 401 or the network module 402 or stored in the memory 409 into an audio signal and output as sound. Also, the audio output unit 403 may also provide audio output related to a specific function performed by the electronic apparatus 400 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 403 includes a speaker, a buzzer, a receiver, and the like.
The input unit 404 is used to receive audio or video signals. The input Unit 404 may include a Graphics Processing Unit (GPU) 4041 and a microphone 4042, and the Graphics processor 4041 processes image data of a still picture or video obtained by an image capturing apparatus (such as a camera) in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 406. The image frames processed by the graphic processor 4041 may be stored in the memory 409 (or other storage medium) or transmitted via the radio frequency unit 401 or the network module 402. The microphone 4042 may receive sound, and may be capable of processing such sound into audio data. The processed audio data may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 401 in case of the phone call mode.
The electronic device 400 also includes at least one sensor 405, such as light sensors, motion sensors, and other sensors. Specifically, the light sensor includes an ambient light sensor that adjusts the brightness of the display panel 4061 according to the brightness of ambient light, and a proximity sensor that turns off the display panel 4061 and/or the backlight when the electronic apparatus 400 is moved to the ear. As one type of motion sensor, an accelerometer sensor can detect the magnitude of acceleration in each direction (generally three axes), detect the magnitude and direction of gravity when stationary, and can be used to identify the posture of an electronic device (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), and vibration identification related functions (such as pedometer, tapping); the sensors 405 may also include a fingerprint sensor, a pressure sensor, an iris sensor, a molecular sensor, a gyroscope, a barometer, a hygrometer, a thermometer, an infrared sensor, etc., which will not be described in detail herein.
The display unit 406 is used to display information input by the user or information provided to the user. The Display unit 406 may include a Display panel 4061, and the Display panel 4061 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like.
The user input unit 407 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the electronic device. Specifically, the user input unit 407 includes a touch panel 4071 and other input devices 4072. Touch panel 4071, also referred to as a touch screen, may collect touch operations by a user on or near it (e.g., operations by a user on or near touch panel 4071 using a finger, a stylus, or any suitable object or attachment). The touch panel 4071 may include two parts, a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 410, receives a command from the processor 410, and executes the command. In addition, the touch panel 4071 can be implemented by using various types such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. In addition to the touch panel 4071, the user input unit 407 may include other input devices 4072. Specifically, the other input devices 4072 may include, but are not limited to, a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a track ball, a mouse, and a joystick, which are not described herein again.
Further, the touch panel 4071 can be overlaid on the display panel 4061, and when the touch panel 4071 detects a touch operation thereon or nearby, the touch operation is transmitted to the processor 410 to determine the type of the touch event, and then the processor 410 provides a corresponding visual output on the display panel 4061 according to the type of the touch event. Although in fig. 4, the touch panel 4071 and the display panel 4061 are two independent components to implement the input and output functions of the electronic device, in some embodiments, the touch panel 4071 and the display panel 4061 may be integrated to implement the input and output functions of the electronic device, and the implementation is not limited herein.
The interface unit 408 is an interface for connecting an external device to the electronic apparatus 400. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The interface unit 408 may be used to receive input (e.g., data information, power, etc.) from an external device and transmit the received input to one or more elements within the electronic apparatus 400 or may be used to transmit data between the electronic apparatus 400 and an external device.
The memory 409 may be used to store software programs as well as various data. The memory 409 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, the memory 409 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The processor 410 is a control center of the electronic device, connects various parts of the entire electronic device using various interfaces and lines, performs various functions of the electronic device and processes data by operating or executing software programs and/or modules stored in the memory 409 and calling data stored in the memory 409, thereby performing overall monitoring of the electronic device. Processor 410 may include one or more processing units; preferably, the processor 410 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 410.
The electronic device 400 may further include a power supply 411 (e.g., a battery) for supplying power to various components, and preferably, the power supply 411 may be logically connected to the processor 410 through a power management system, so as to implement functions of managing charging, discharging, and power consumption through the power management system.
In addition, the electronic device 400 includes some functional modules that are not shown, and are not described in detail herein.
Preferably, an embodiment of the present invention further provides an electronic device, which includes a processor 410, a memory 409, and a computer program that is stored in the memory 409 and can be run on the processor 410, and when being executed by the processor 410, the computer program implements each process of the foregoing POI information processing method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not described here again.
The embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the computer program implements each process of the foregoing POI information processing method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here. The computer-readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
The above description is only an example of the present application and is not intended to limit the present application. Various modifications and changes may occur to those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the scope of the claims of the present application.

Claims (11)

1. A communication method of an Internet of things device is applied to a wireless gateway, and the method comprises the following steps:
detecting a connection state between a wireless module installed on an Internet of things device and the Internet of things device;
initiating a connection request to a cloud platform provided by the network equipment under the condition that the connection state is connected;
and establishing communication connection with the cloud platform under the condition that the connection request is verified by the cloud platform.
2. The method of claim 1, wherein initiating the connection request to the cloud platform provided by the network device comprises:
and the analog SOCKET initiates a TCP long connection request to a cloud platform provided by the network equipment.
3. The method of claim 2, further comprising;
establishing a mapping relation between the MAC address reported by the wireless module and the SOCKET;
carrying out ordered transmission of uplink data packets and/or downlink data packets based on the mapping relation;
wherein the MAC address corresponds to an Internet of things device connected with the wireless module.
4. The method according to claim 1, wherein a preset frequency domain interval is provided between frequency domain resources used by adjacent transmission channels corresponding to each of the internet of things devices.
5. The method of claim 1, further comprising:
and when the data volume of the wireless module connected with the wireless gateway exceeds a first threshold value, connecting the wireless module to a standby wireless gateway.
6. The method of claim 1, further comprising:
and if the wireless module is detected not to upload data within the first preset time, releasing the resources allocated to the wireless module.
7. The method of claim 1, further comprising:
sending heartbeat information to the cloud platform according to a preset frequency;
and if the feedback information of the cloud platform to the heartbeat information is not received within a second preset time, reestablishing the communication connection with the cloud platform.
8. The method of claim 7, wherein the second predetermined duration is the inverse of the predetermined frequency.
9. A communication apparatus of an internet of things device, the apparatus comprising:
the detection module is used for detecting the connection state between the wireless module arranged on the Internet of things equipment and the Internet of things equipment;
a sending module, configured to initiate a connection request to a cloud platform provided by a network device when the connection status is connected;
and the establishing module is used for establishing communication connection with the cloud platform under the condition that the connection request is verified by the cloud platform.
10. An electronic device, comprising: processor, memory and a computer program stored on the memory and executable on the processor, the computer program, when executed by the processor, implementing the steps of the method of implementing communications for an internet of things device as claimed in any one of claims 1 to 8.
11. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method of carrying out a communication for an internet of things device according to any one of claims 1 to 8.
CN202210088160.0A 2022-01-25 2022-01-25 Communication method and device of Internet of things equipment Pending CN114422974A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210088160.0A CN114422974A (en) 2022-01-25 2022-01-25 Communication method and device of Internet of things equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210088160.0A CN114422974A (en) 2022-01-25 2022-01-25 Communication method and device of Internet of things equipment

Publications (1)

Publication Number Publication Date
CN114422974A true CN114422974A (en) 2022-04-29

Family

ID=81277105

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210088160.0A Pending CN114422974A (en) 2022-01-25 2022-01-25 Communication method and device of Internet of things equipment

Country Status (1)

Country Link
CN (1) CN114422974A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104596050A (en) * 2014-12-31 2015-05-06 东莞市炜奥环保科技有限公司 Intelligent air purifier remote monitoring system based on cloud platform
CN108965071A (en) * 2018-06-27 2018-12-07 努比亚技术有限公司 Household terminal control method, communication processing equipment, household terminal and storage medium
CN109905409A (en) * 2019-04-10 2019-06-18 上海上实龙创智慧能源科技股份有限公司 Things-internet gateway real time bidirectional communication system based on Socket.IO
US20200177484A1 (en) * 2018-11-30 2020-06-04 Sap Se IoT MONITORING
JP2021057924A (en) * 2021-01-08 2021-04-08 日本電気株式会社 Gateway device and control method
CN113793110A (en) * 2021-07-01 2021-12-14 科尔比乐(广州)智能装备有限公司 Industrial equipment data acquisition and analysis method based on cloud computing and cloud service platform

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104596050A (en) * 2014-12-31 2015-05-06 东莞市炜奥环保科技有限公司 Intelligent air purifier remote monitoring system based on cloud platform
CN108965071A (en) * 2018-06-27 2018-12-07 努比亚技术有限公司 Household terminal control method, communication processing equipment, household terminal and storage medium
US20200177484A1 (en) * 2018-11-30 2020-06-04 Sap Se IoT MONITORING
CN109905409A (en) * 2019-04-10 2019-06-18 上海上实龙创智慧能源科技股份有限公司 Things-internet gateway real time bidirectional communication system based on Socket.IO
JP2021057924A (en) * 2021-01-08 2021-04-08 日本電気株式会社 Gateway device and control method
CN113793110A (en) * 2021-07-01 2021-12-14 科尔比乐(广州)智能装备有限公司 Industrial equipment data acquisition and analysis method based on cloud computing and cloud service platform

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
刘宏伟等: "物联网中的网关接入系统设计", 《电信快报》, no. 11, 30 November 2012 (2012-11-30), pages 44 - 47 *
田创等: "物联网平台接入网关研究", 《信息技术》, no. 9, 30 September 2018 (2018-09-30), pages 125 - 128 *

Similar Documents

Publication Publication Date Title
CN110413168B (en) Icon management method and terminal
CN111741058A (en) Message pushing method and device, electronic equipment and storage medium
CN110166439B (en) Equipment sharing method, terminal, router and server
CN109343788B (en) Operation control method of mobile terminal and mobile terminal
CN110750189B (en) Icon display method and device
CN109831359B (en) Method for detecting connection state of data network and terminal equipment thereof
CN110944408B (en) Data transmission method and electronic equipment
CN110990172A (en) Application sharing method, first electronic device and computer-readable storage medium
CN109739300B (en) Antenna control method and terminal
CN110958710B (en) Channel access method, configuration method, terminal and network side equipment
CN111131885A (en) Play control method and electronic equipment
CN111061404A (en) Control method and first electronic device
CN111107223B (en) Message processing method and electronic equipment
CN110995924B (en) Account management method and electronic equipment
CN111417929A (en) Interface display method and control terminal
CN110022551B (en) Information interaction method and terminal equipment
CN109831582B (en) Non-response event processing method and terminal
CN109005297B (en) Display method of navigation application and mobile terminal
CN108089935B (en) Application program management method and mobile terminal
CN110621079B (en) Random access resource selection method and terminal equipment
CN110995816B (en) Sharing method and electronic device
CN111031173B (en) Incoming call processing method and electronic equipment
CN110121145B (en) Network connection method and mobile terminal
CN110825709B (en) Interaction method and electronic equipment
CN110365842B (en) Terminal control method and terminal equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination