[go: up one dir, main page]

CN111385772B - Internet of things communication method, device, computer equipment and storage medium - Google Patents

Internet of things communication method, device, computer equipment and storage medium Download PDF

Info

Publication number
CN111385772B
CN111385772B CN201811646765.7A CN201811646765A CN111385772B CN 111385772 B CN111385772 B CN 111385772B CN 201811646765 A CN201811646765 A CN 201811646765A CN 111385772 B CN111385772 B CN 111385772B
Authority
CN
China
Prior art keywords
short
range communication
communication
internet
equipment
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201811646765.7A
Other languages
Chinese (zh)
Other versions
CN111385772A (en
Inventor
孙权
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fibocom Wireless Inc
Original Assignee
Fibocom Wireless Inc
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 Fibocom Wireless Inc filed Critical Fibocom Wireless Inc
Priority to CN201811646765.7A priority Critical patent/CN111385772B/en
Publication of CN111385772A publication Critical patent/CN111385772A/en
Application granted granted Critical
Publication of CN111385772B publication Critical patent/CN111385772B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/70Services for machine-to-machine communication [M2M] or machine type communication [MTC]
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/0482Interaction with lists of selectable items, e.g. menus
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04847Interaction techniques to control parameter settings, e.g. interaction with sliders or dials
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The application relates to the field of internet of things, in particular to an internet of things communication method, an internet of things communication device, computer equipment and a storage medium. The method comprises the following steps: firstly, inquiring each short-range communication mode of the internet of things module; and acquiring communication parameters and switch permissions of various short-range communication modes; based on the communication parameters and the switch authority, generating a short-range communication selection interface and each short-range communication control interface, and pushing the short-range communication selection interface to a user; receiving a user communication mode selection instruction and pushing a short-range communication control interface; and receiving a communication connection instruction, and establishing communication connection between the Internet of things module and external short-range communication equipment. By the Internet of things communication method, communication setting can be completed quickly, one-to-one searching and setting are not needed, the operation flow is simplified, and communication connection between the Internet of things module and short-range communication equipment can be established quickly.

Description

Internet of things communication method, device, computer equipment and storage medium
Technical Field
The present disclosure relates to the field of computer technologies, and in particular, to a method and apparatus for communication of internet of things, a computer device, and a storage medium.
Background
With the further promotion of informatization, the internet of things technology appears, and the internet of things is the internet that the thing is connected. This has two layers of meaning: firstly, the core and the foundation of the Internet of things are still the Internet, and the Internet is an extended and expanded network based on the Internet; secondly, the user side extends and expands to any article to article, and information exchange and communication are carried out, namely, the article information is carried out. The internet of things is widely applied to the fusion of networks through communication sensing technologies such as intelligent sensing, recognition technologies, pervasive computing and the like, and is also called as the third wave of development of world information industry after a computer and the Internet.
In the prior art, the internet of things module can be connected with a WiFi, bluetooth and other short-range communication devices, however, when the connection is established with the communication device or the connection relation of the internet of things module is switched, the operation process is complex, and the working efficiency of the internet of things module is affected.
Disclosure of Invention
Based on this, it is necessary to provide an internet of things communication method, an apparatus, a computer device and a storage medium capable of quickly establishing short-range communication for an internet of things module.
An internet of things communication method, the method comprising:
inquiring each short-range communication mode of the Internet of things module;
acquiring communication parameters of each short-range communication mode and the switch authority of each short-range communication mode;
generating configuration parameters of a short-range communication selection interface and configuration parameters of short-range communication control interfaces according to the communication parameters of the short-range communication modes and the switch authority of the short-range communication modes, and pushing the short-range communication selection interface;
receiving a communication mode selection instruction, and pushing a short-range communication control interface according to the communication mode selection instruction and the configuration parameters of each short-range communication control interface;
and receiving a communication connection instruction, and establishing communication connection between the Internet of things module and external short-range communication equipment according to the communication connection instruction and communication parameters corresponding to the communication connection instruction.
In one embodiment, each short-range communication mode of the query internet of things module specifically includes:
and sending a query instruction to the Internet of things module, acquiring the connection mode information fed back by the Internet of things module, and identifying each short-range communication mode of the Internet of things module according to the connection mode information.
In one embodiment, the receiving the communication connection instruction, and establishing the communication connection between the internet of things module and the external short-range communication device according to the communication connection instruction and the communication parameter corresponding to the communication connection instruction specifically includes:
receiving a communication connection instruction, identifying external short-range communication equipment to be connected according to communication parameters corresponding to the communication connection instruction and the communication connection instruction, and sending a connection request to the external short-range communication equipment to be connected;
receiving an authentication request of the external short-range communication equipment, acquiring authentication information according to the authentication request, and authenticating the external short-range communication equipment according to the authentication information;
and establishing communication connection between the Internet of things module and the external short-range communication equipment.
In one embodiment, the receiving the authentication request of the external short-range communication device, obtaining authentication information according to the authentication request, and authenticating the external short-range communication device according to the authentication information specifically includes:
receiving an authentication request of the external short-range communication equipment, and reading the equipment number of the external short-range communication equipment;
searching authentication information corresponding to the short-range communication equipment outside the section in a preset authentication information table according to the equipment number of the external short-range communication equipment, and acquiring the authentication information;
and authenticating the external short-range communication equipment according to the authentication information.
In one embodiment, the receiving the communication mode selection instruction, pushing the short-range communication control interface according to the communication mode selection instruction and the configuration parameters of each short-range communication control interface, further includes:
and receiving equipment information of the external short-range communication equipment, modifying configuration parameters of the short-range communication control interface according to the equipment information, and pushing the modified short-range communication control interface.
In one embodiment, after receiving the communication connection instruction and establishing the communication connection between the internet of things module and the external short-range communication device according to the communication connection instruction and the communication parameter corresponding to the communication connection instruction, the method further includes:
acquiring data information sent by the external short-range communication equipment through the Internet of things module;
and transmitting the data information to an external data center through a narrow-band internet.
An internet of things communication device, the device comprising:
the communication mode inquiry module is used for inquiring each short-range communication mode of the internet of things module;
the parameter acquisition module is used for acquiring the communication parameters of the short-range communication modes and the switch authority of the short-range communication modes;
the interface generation module is used for generating configuration parameters of a short-range communication selection interface and configuration parameters of a short-range communication control interface according to the communication parameters of the short-range communication modes and the switch authority of the short-range communication modes, and pushing the short-range communication selection interface;
the interface selection module is used for receiving a communication mode selection instruction and pushing the short-range communication control interface according to the communication mode selection instruction and the configuration parameters of each short-range communication control interface;
the connection establishment module is used for receiving the communication connection instruction and establishing communication connection between the Internet of things module and external short-range communication equipment according to the communication connection instruction and communication parameters corresponding to the communication connection instruction.
In one embodiment, the communication mode query module is specifically configured to:
and sending a query instruction to the Internet of things module, acquiring the connection mode information fed back by the Internet of things module, and identifying each short-range communication mode of the Internet of things module according to the connection mode information.
A computer device comprising a memory storing a computer program and a processor which when executing the computer program performs the steps of:
inquiring each short-range communication mode of the Internet of things module;
acquiring communication parameters of each short-range communication mode and the switch authority of each short-range communication mode;
generating configuration parameters of a short-range communication selection interface and configuration parameters of short-range communication control interfaces according to the communication parameters of the short-range communication modes and the switch authority of the short-range communication modes, and pushing the short-range communication selection interface;
receiving a communication mode selection instruction, and pushing a short-range communication control interface according to the communication mode selection instruction and the configuration parameters of each short-range communication control interface;
and receiving a communication connection instruction, and establishing communication connection between the Internet of things module and external short-range communication equipment according to the communication connection instruction and communication parameters corresponding to the communication connection instruction.
A computer readable storage medium having stored thereon a computer program which when executed by a processor performs the steps of:
inquiring each short-range communication mode of the Internet of things module;
acquiring communication parameters of each short-range communication mode and the switch authority of each short-range communication mode;
generating configuration parameters of a short-range communication selection interface and configuration parameters of short-range communication control interfaces according to the communication parameters of the short-range communication modes and the switch authority of the short-range communication modes, and pushing the short-range communication selection interface;
receiving a communication mode selection instruction, and pushing a short-range communication control interface according to the communication mode selection instruction and the configuration parameters of each short-range communication control interface;
and receiving a communication connection instruction, and establishing communication connection between the Internet of things module and external short-range communication equipment according to the communication connection instruction and communication parameters corresponding to the communication connection instruction.
The communication method, the device, the computer equipment and the storage medium of the Internet of things firstly inquire about each short-range communication mode of the Internet of things module; and acquiring communication parameters and switch permissions of various short-range communication modes; based on the communication parameters and the switch authority, generating configuration parameters of a short-range communication selection interface and configuration parameters of each short-range communication control interface, and pushing the short-range communication selection interface to a user; receiving a user communication mode selection instruction, and pushing a short-range communication control interface according to the communication mode selection instruction; and receiving a communication connection instruction, and establishing communication connection between the Internet of things module and external short-range communication equipment according to the communication connection instruction and communication parameters corresponding to the communication connection instruction. According to the method and the device, the short-range communication modes of the Internet of things module are acquired, based on the communication parameters and the switch authority of each short-range communication mode, the short-range communication selection interface and the short-range communication control interface are integrated, the selection of the short-range communication modes of the Internet of things module is completed through the visual interface, the use is very convenient, the communication setting can be completed quickly, one-to-one searching and setting are not needed, the operation flow is simplified, and the communication connection between the Internet of things module and the short-range communication equipment can be established quickly.
Drawings
FIG. 1 is a flow chart of a communication method of the Internet of things in one embodiment;
FIG. 2 is an interface diagram of a short-range communication selection interface and a short-range communication control interface in one embodiment;
fig. 3 is a flow chart of a communication method of the internet of things in another embodiment;
FIG. 4 is a schematic flow chart illustrating a sub-process of step S900 in FIG. 1 according to one embodiment;
fig. 5 is a flow chart of a communication method of the internet of things in yet another embodiment;
FIG. 6 is a block diagram of an Internet of things communication device in one embodiment;
fig. 7 is an internal structural diagram of a computer device in one embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application will be further described in detail with reference to the accompanying drawings and examples. It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the present application.
The communication method of the Internet of things can be applied to the following application scenes, wherein the scenes comprise short-range communication equipment, an Internet of things module and a terminal, the short-range communication equipment can communicate with the Internet of things module through a network, the Internet of things module can receive data sent by the short-range communication equipment through the network, the terminal is connected with the Internet of things module and is used for controlling the Internet of things module, and the terminal firstly inquires about each short-range communication mode of the Internet of things module; acquiring communication parameters and switching permission of each short-range communication mode; generating a short-range communication selection interface and each short-range communication control interface, and pushing the short-range communication selection interface to a user; the user selects a communication mode, a communication mode selection instruction is generated for the terminal, the terminal receives the communication mode selection instruction fed back by the user, and a short-range communication control interface is pushed to the user according to the communication mode selection instruction; the user selects a proper short-range communication device for connection, the terminal receives a communication connection instruction, and establishes communication connection between the internet of things module and the external short-range communication device according to the communication connection instruction and communication parameters corresponding to the communication connection instruction, wherein the internet of things module can be an NB-IoT (Narrow Band Internet of Things, narrowband internet) module.
As shown in fig. 1, in one embodiment, the communication method of the internet of things of the present application specifically includes the following steps:
s100, inquiring each short-range communication mode of the Internet of things module.
The internet of things module refers to a module for carrying out internet of things communication, the internet of things module can simultaneously realize long-distance wireless communication and short-range wireless communication, the short-range communication mode refers to a communication mode with shorter communication distance, the communication method is mainly used for communicating with various devices in a short distance, and the short-range communication mode can specifically comprise WiFi, bluetooth, infrared, NFC and the like. Firstly, various short-range communication modes of the internet of things module are required to be inquired through the terminal.
S300, acquiring communication parameters of each short-range communication mode and the switching permission of each short-range communication mode.
The communication parameters mainly refer to communication addresses of all communication modes, when the short-range communication mode is Bluetooth, the communication parameters can be Bluetooth addresses of all Bluetooth devices which can be connected to the Internet of things module, when the short-range communication mode is WiFi, the communication parameters can be WiFi addresses of WiFi modules which can be connected to the Internet of things module, the terminal can acquire the switch authority of all communication modes of the Internet of things module while determining the communication parameters of the Internet of things module, and the terminal can directly select to start or close the corresponding short-range communication mode through the switch authority.
In order to realize control of the internet of things module, specific communication parameters of various short-range communication modes and switch permissions corresponding to the short-range communication modes of the internet of things module need to be acquired.
S500, generating configuration parameters of the short-range communication selection interface and configuration parameters of the short-range communication control interface according to the communication parameters of the short-range communication modes and the switch authority of the short-range communication modes, and pushing the short-range communication selection interface.
The short-range communication selection interface refers to an interface containing various short-range communication modes of various internet of things modules, a user can select an appropriate communication mode on the interface, and the short-range communication control interface refers to a selection interface of corresponding external short-range communication equipment in various short-range communication modes, wherein the selection interface contains a plurality of external short-range communication equipment in the corresponding modes.
After the terminal obtains the communication parameters of the short-range communication modes of the internet of things module and the switch authority of each short-range communication mode, the terminal can generate configuration parameters of a short-range communication selection interface and generate the short-range communication selection interface so as to intuitively display the communication functions of the corresponding internet of things module to a user. Meanwhile, configuration parameters of the corresponding short-range communication equipment control interfaces can be generated according to the short-range communication function of the internet of things module, and the short-range communication control interfaces are generated and used for selecting the identifiable short-range communication equipment in the corresponding short-range communication mode. As shown in fig. 2, in one embodiment, the short-range communication manner of the internet of things module includes WiFi, bluetooth, NFC (Near Field Communication, near field wireless communication technology) and infrared, the short-range communication selection interface is specifically shown on the left side of fig. 2, and the short-range communication control interface in the WiFi manner is specifically shown on the right side of fig. 2.
S700, receiving a communication mode selection instruction, and pushing the short-range communication control interface according to the communication mode selection instruction and configuration parameters of each short-range communication control interface.
After pushing the short-range communication selection interface to the user, the user can select a corresponding short-range communication mode according to the short-range communication selection interface to generate a corresponding communication mode selection instruction, the terminal selects a corresponding short-range communication mode according to the instruction of the user, configures parameters of a short-range communication control interface corresponding to the short-range communication mode to generate a short-range communication control interface, and pushes the interface to the user.
S900, receiving a communication connection instruction, and establishing communication connection between the Internet of things module and external short-range communication equipment according to the communication connection instruction and communication parameters corresponding to the communication connection instruction.
After the terminal pushes the short-range communication control interface, the user can select each external short-range communication device on the short-range communication control interface to generate a communication connection instruction, the terminal receives the communication connection instruction, and then the short-range communication connection between the Internet of things module and the external communication device selected by the user is established.
According to the communication method of the Internet of things, firstly, each short-range communication mode of the Internet of things module is inquired; and acquiring communication parameters and switch permissions of various short-range communication modes; based on the communication parameters and the switch authority, generating configuration parameters of a short-range communication selection interface and configuration parameters of each short-range communication control interface, and pushing the short-range communication selection interface to a user; receiving a user communication mode selection instruction, and pushing a short-range communication control interface according to the communication mode selection instruction; and receiving a communication connection instruction, and establishing communication connection between the Internet of things module and external short-range communication equipment according to the communication connection instruction and communication parameters corresponding to the communication connection instruction. The method and the device acquire the short-range communication mode of the Internet of things module, integrate the short-range communication selection interface and the short-range communication control interface based on the communication parameters and the switch authority of each short-range communication mode, complete the selection of the short-range communication mode of the Internet of things module through the visual interface, are very convenient to use, can quickly complete communication setting, do not need to search and set one by one, simplify the operation flow, and can quickly establish the communication connection between the Internet of things module and short-range communication equipment
In one embodiment, as shown in fig. 3, step S100 specifically includes:
s120, sending a query instruction to the Internet of things module, acquiring the connection mode information fed back by the Internet of things module, and identifying each short-range communication mode of the Internet of things module according to the connection mode information.
The query instruction is an instruction for querying a function of the internet of things module, in one embodiment, the terminal may scan the internet of things module based on the query instruction by sending the query instruction to the internet of things module, and then obtain connection mode information fed back by the internet of things module, and identify a short-range communication function of the internet of things module through the connection mode information. In another embodiment, the internet of things module can feed back the connection mode information carrying the model information to the terminal, and the terminal searches and confirms the short-range communication function of the internet of things module in the corresponding internet of things module database based on the model of the internet of things module. The short-range communication function of the current internet of things module can be rapidly determined through the query instruction.
As shown in fig. 4, in one embodiment, S900 specifically includes:
s920, receiving a communication connection instruction, identifying external short-range communication equipment to be connected according to communication parameters corresponding to the communication connection instruction and the communication connection instruction, and sending a connection request to the external short-range communication equipment to be connected;
s940, receiving an authentication request of the external short-range communication device, acquiring authentication information according to the authentication request, and authenticating the external short-range communication device according to the authentication information;
s960, establishing communication connection between the Internet of things module and external short-range communication equipment.
In one embodiment, after the user selects the appropriate short-range communication device, the terminal may first identify the short-range communication device selected by the user according to the communication connection instruction, and then send a connection request to the external short-range communication device, where after the external short-range communication device receives the connection request, the terminal is required to provide corresponding authentication information, so that the authentication request is fed back to the internet of things module, and the internet of things module obtains the corresponding authentication information according to the authentication request, and connects to the external short-range communication device after authentication is completed. In the authentication process, if authentication information needs to be acquired, the user can select to directly input the authentication number of the short-range communication device, in one embodiment, the short-range communication mode is WiFi, wiFi needs to provide a WiFi password for connection authentication, an authentication input interface can be provided for the user, the WiFi password input by the user is acquired, and corresponding connection authentication is completed. Through authentication, the communication security performance between the external short-range communication equipment and the Internet of things module can be enhanced.
In one embodiment, S940 specifically includes:
receiving an authentication request of external short-range communication equipment, and reading the equipment number of the external short-range communication equipment;
searching authentication information corresponding to the short-range communication equipment outside the section in a preset authentication information table according to the equipment number of the external short-range communication equipment, and acquiring the authentication information;
and authenticating the external short-range communication equipment according to the authentication information.
In one embodiment, specific authentication information of each external short-range communication device is pre-stored in the terminal, and after the user selects the corresponding external short-range communication device, the terminal can read the authentication information corresponding to the external short-range communication device based on the selection of the user, so as to complete authentication. The convenience of the authentication process can be fully improved through automatic authentication.
As shown in fig. 5, in one embodiment, S700 further includes:
s800, receiving equipment information of external short-range communication equipment, modifying configuration parameters of a corresponding short-range communication control interface according to the equipment information, and pushing the modified short-range communication control interface.
After receiving the communication mode selection instruction and pushing the short-range communication control interface according to the communication mode selection instruction and configuration parameters of each short-range communication control interface, the device information of external short-range communication devices provided by a user can be obtained, corresponding short-range communication devices are added on the corresponding short-range communication control interface based on the device information, a newly added short-range communication mode is added into the interface, and connection selection of the internet of things module can be enriched by modifying the communication mode selection instruction through diversity.
In one embodiment, S900 further includes:
acquiring data information sent by external short-range communication equipment through an Internet of things module;
and transmitting the data information to an external data center through the narrow-band internet.
After the internet of things module establishes communication connection with the short-range communication device, data information provided by the external short-range communication device can be acquired through the internet of things module, and the information is forwarded to an external data center through the internet of things module. The narrowband internet can be communication with a shorter range and a longer range, and based on the internet of things communication method, information acquired from the short range communication equipment can be transmitted to the control center through the narrowband internet of things to complete data collection. In one embodiment, the internet of things communication method is suitable for an intelligent home environment, and a control center of the intelligent home can acquire operation data of intelligent devices in all areas through internet of things modules arranged in all areas of a house, so that the purpose of controlling only devices is achieved.
In one embodiment, the internet of things communication method of the present application includes: and sending a query instruction to the Internet of things module, acquiring the connection mode information fed back by the Internet of things module, and identifying each short-range communication mode of the Internet of things module according to the connection mode information. Acquiring communication parameters of each short-range communication mode and the switch authority of each short-range communication mode; generating configuration parameters of the short-range communication selection interface and configuration parameters of the short-range communication control interface according to the communication parameters of the short-range communication modes and the switch authority of the short-range communication modes, and pushing the short-range communication selection interface. Receiving a communication mode selection instruction, and pushing the short-range communication control interface according to the communication mode selection instruction and configuration parameters of each short-range communication control interface. And receiving equipment information of external short-range communication equipment, modifying configuration parameters of a short-range communication control interface according to the equipment information, and pushing the modified short-range communication control interface. Receiving a communication connection instruction, identifying external short-range communication equipment to be connected according to the communication connection instruction and communication parameters corresponding to the communication connection instruction, and sending a connection request to the external short-range communication equipment to be connected; receiving an authentication request of external short-range communication equipment, and reading the equipment number of the external short-range communication equipment; searching authentication information corresponding to the short-range communication equipment outside the section in a preset authentication information table according to the equipment number of the external short-range communication equipment, and acquiring the authentication information; and authenticating the external short-range communication equipment according to the authentication information. And establishing communication connection between the Internet of things module and external short-range communication equipment. Acquiring data information sent by external short-range communication equipment through an Internet of things module; and transmitting the data information to an external data center through the narrow-band internet.
It should be understood that, although the steps in the flowcharts of fig. 1, 3, 4, and 5 are shown in order as indicated by the arrows, these steps are not necessarily performed in order as indicated by the arrows. The steps are not strictly limited to the order of execution unless explicitly recited herein, and the steps may be executed in other orders. Moreover, at least some of the steps of fig. 1, 3, 4 and 5 may comprise a plurality of sub-steps or phases, which are not necessarily performed at the same time, but may be performed at different times, nor does the order of execution of the sub-steps or phases necessarily follow one another, but may be performed alternately or alternately with at least some of the other steps or sub-steps of other steps.
As shown in fig. 6, an internet of things communication device, the device includes:
a communication mode query module 100, configured to query each short-range communication mode of the internet of things module;
the parameter obtaining module 300 is configured to obtain communication parameters of each short-range communication mode and a switch permission of each short-range communication mode;
the interface generating module 500 is configured to generate configuration parameters of a short-range communication selection interface and configuration parameters of a short-range communication control interface according to communication parameters of each short-range communication mode and switch permissions of each short-range communication mode, and push the short-range communication selection interface;
the interface selection module 700 is configured to receive a communication mode selection instruction, and push a short-range communication control interface according to the communication mode selection instruction and each short-range communication control interface configuration parameter;
the connection establishment module 900 is configured to receive a communication connection instruction, and establish a communication connection between the internet of things module and an external short-range communication device according to the communication connection instruction and a communication parameter corresponding to the communication connection instruction.
In one embodiment, the communication mode query module 100 is specifically configured to: and sending a query instruction to the Internet of things module, acquiring the connection mode information fed back by the Internet of things module, and identifying each short-range communication mode of the Internet of things module according to the connection mode information.
In one embodiment, the connection establishment module 900 is specifically configured to: receiving a communication connection instruction, identifying external short-range communication equipment to be connected according to the communication connection instruction and communication parameters corresponding to the communication connection instruction, and sending a connection request to the external short-range communication equipment to be connected; receiving an authentication request of external short-range communication equipment, acquiring authentication information according to the authentication request, and authenticating the external short-range communication equipment according to the authentication information; and establishing communication connection between the Internet of things module and external short-range communication equipment.
In one embodiment, the connection establishment module 900 is further configured to: receiving an authentication request of external short-range communication equipment, and reading the equipment number of the external short-range communication equipment; searching authentication information corresponding to the short-range communication equipment outside the section in a preset authentication information table according to the equipment number of the external short-range communication equipment, and acquiring the authentication information; and authenticating the external short-range communication equipment according to the authentication information.
In one embodiment, the device further comprises an interface modification module, which is used for receiving device information of the external short-range communication device, modifying configuration parameters of the short-range communication control interface according to the device information, and pushing the modified short-range communication control interface.
In one embodiment, the system further comprises an information forwarding module, which is used for acquiring data information sent by the external short-range communication equipment through the internet of things module; and transmitting the data information to an external data center through the narrow-band internet.
For specific limitation of the communication device of the internet of things, reference may be made to the limitation of the communication method of the internet of things, which is not described herein. All or part of the modules in the internet of things communication system can be realized by software, hardware and a combination thereof. The above modules may be embedded in hardware or may be independent of a processor in the computer device, or may be stored in software in a memory in the computer device, so that the processor may call and execute operations corresponding to the above modules.
In one embodiment, a computer device is provided, which may be a terminal, and the internal structure of which may be as shown in fig. 7. The computer device includes a processor, a memory, a network interface, a display screen, and an input device connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage media. The network interface of the computer device is used for communicating with an external terminal through a network connection. The computer program when executed by a processor implements a method of internet of things communication. The display screen of the computer equipment can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer equipment can be a touch layer covered on the display screen, can also be keys, a track ball or a touch pad arranged on the shell of the computer equipment, and can also be an external keyboard, a touch pad or a mouse and the like.
It will be appreciated by those skilled in the art that the structure shown in fig. 7 is merely a block diagram of some of the structures associated with the present application and is not limiting of the computer device to which the present application may be applied, and that a particular computer device may include more or fewer components than shown, or may combine certain components, or have a different arrangement of components.
In one embodiment, a computer device is provided comprising a memory and a processor, the memory having stored therein a computer program, the processor when executing the computer program performing the steps of:
inquiring each short-range communication mode of the Internet of things module;
acquiring communication parameters of each short-range communication mode and the switch authority of each short-range communication mode;
generating configuration parameters of a short-range communication selection interface and configuration parameters of a short-range communication control interface according to communication parameters of each short-range communication mode and switching permission of each short-range communication mode, and pushing the short-range communication selection interface;
receiving a communication mode selection instruction, and pushing the short-range communication control interface according to the communication mode selection instruction and configuration parameters of each short-range communication control interface;
and receiving a communication connection instruction, and establishing communication connection between the Internet of things module and external short-range communication equipment according to the communication connection instruction and communication parameters corresponding to the communication connection instruction.
In one embodiment, the processor when executing the computer program further performs the steps of: and sending a query instruction to the Internet of things module, acquiring the connection mode information fed back by the Internet of things module, and identifying each short-range communication mode of the Internet of things module according to the connection mode information.
In one embodiment, the processor when executing the computer program further performs the steps of: receiving a communication connection instruction, identifying external short-range communication equipment to be connected according to the communication connection instruction and communication parameters corresponding to the communication connection instruction, and sending a connection request to the external short-range communication equipment to be connected; receiving an authentication request of external short-range communication equipment, acquiring authentication information according to the authentication request, and authenticating the external short-range communication equipment according to the authentication information; and establishing communication connection between the Internet of things module and external short-range communication equipment.
In one embodiment, the processor when executing the computer program further performs the steps of: receiving an authentication request of external short-range communication equipment, and reading the equipment number of the external short-range communication equipment; searching authentication information corresponding to the short-range communication equipment outside the section in a preset authentication information table according to the equipment number of the external short-range communication equipment, and acquiring the authentication information; and authenticating the external short-range communication equipment according to the authentication information.
In one embodiment, the processor when executing the computer program further performs the steps of: and receiving equipment information of external short-range communication equipment, modifying configuration parameters of a short-range communication control interface according to the equipment information, and pushing the modified short-range communication control interface.
In one embodiment, the processor when executing the computer program further performs the steps of: acquiring data information sent by external short-range communication equipment through an Internet of things module; and transmitting the data information to an external data center through the narrow-band internet.
In one embodiment, a computer readable storage medium is provided having a computer program stored thereon, which when executed by a processor, performs the steps of:
inquiring each short-range communication mode of the Internet of things module;
acquiring communication parameters of each short-range communication mode and the switch authority of each short-range communication mode;
generating configuration parameters of a short-range communication selection interface and configuration parameters of a short-range communication control interface according to communication parameters of each short-range communication mode and switching permission of each short-range communication mode, and pushing the short-range communication selection interface;
receiving a communication mode selection instruction, and pushing the short-range communication control interface according to the communication mode selection instruction and configuration parameters of each short-range communication control interface;
and receiving a communication connection instruction, and establishing communication connection between the Internet of things module and external short-range communication equipment according to the communication connection instruction and communication parameters corresponding to the communication connection instruction.
In one embodiment, the computer program when executed by the processor further performs the steps of: and sending a query instruction to the Internet of things module, acquiring the connection mode information fed back by the Internet of things module, and identifying each short-range communication mode of the Internet of things module according to the connection mode information.
In one embodiment, the computer program when executed by the processor further performs the steps of: receiving a communication connection instruction, identifying external short-range communication equipment to be connected according to the communication connection instruction and communication parameters corresponding to the communication connection instruction, and sending a connection request to the external short-range communication equipment to be connected; receiving an authentication request of external short-range communication equipment, acquiring authentication information according to the authentication request, and authenticating the external short-range communication equipment according to the authentication information; and establishing communication connection between the Internet of things module and external short-range communication equipment.
In one embodiment, the computer program when executed by the processor further performs the steps of: receiving an authentication request of external short-range communication equipment, and reading the equipment number of the external short-range communication equipment; searching authentication information corresponding to the short-range communication equipment outside the section in a preset authentication information table according to the equipment number of the external short-range communication equipment, and acquiring the authentication information; and authenticating the external short-range communication equipment according to the authentication information.
In one embodiment, the computer program when executed by the processor further performs the steps of: and receiving equipment information of external short-range communication equipment, modifying configuration parameters of a corresponding short-range communication control interface according to the equipment information, and pushing the modified short-range communication control interface.
In one embodiment, the computer program when executed by the processor further performs the steps of: acquiring data information sent by external short-range communication equipment through an Internet of things module; and transmitting the data information to an external data center through the narrow-band internet.
Those skilled in the art will appreciate that implementing all or part of the above-described methods in accordance with the embodiments may be accomplished by way of a computer program stored on a non-transitory computer readable storage medium, which when executed may comprise the steps of the embodiments of the methods described above. Any reference to memory, storage, database, or other medium used in the various embodiments provided herein may include non-volatile and/or volatile memory. The nonvolatile memory can include Read Only Memory (ROM), programmable ROM (PROM), electrically Programmable ROM (EPROM), electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double Data Rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous Link DRAM (SLDRAM), memory bus direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), among others.
The technical features of the above embodiments may be arbitrarily combined, and all possible combinations of the technical features in the above embodiments are not described for brevity of description, however, as long as there is no contradiction between the combinations of the technical features, they should be considered as the scope of the description.
The foregoing examples represent only a few embodiments of the present application, which are described in more detail and are not to be construed as limiting the scope of the invention. It should be noted that it would be apparent to those skilled in the art that various modifications and improvements could be made without departing from the spirit of the present application, which would be within the scope of the present application. Accordingly, the scope of protection of the present application is to be determined by the claims appended hereto.

Claims (8)

1. An internet of things communication method, the method comprising:
sending a query instruction to an internet of things module, and receiving connection mode information fed back by the internet of things module;
identifying each short-range communication mode of the internet of things module according to the connection mode information;
acquiring communication parameters of each short-range communication mode and the switch authority of each short-range communication mode;
generating configuration parameters of a short-range communication selection interface and configuration parameters of short-range communication control interfaces according to the communication parameters of the short-range communication modes and the switch authority of the short-range communication modes, and pushing the short-range communication selection interface;
receiving a communication mode selection instruction, and pushing a short-range communication control interface according to the communication mode selection instruction and the configuration parameters of each short-range communication control interface;
receiving a communication connection instruction, identifying external short-range communication equipment to be connected according to communication parameters corresponding to the communication connection instruction and the communication connection instruction, and sending a connection request to the external short-range communication equipment to be connected;
receiving an authentication request of the external short-range communication equipment, and reading the equipment number of the external short-range communication equipment;
searching authentication information corresponding to the external short-range communication equipment in a preset authentication information table according to the equipment number of the external short-range communication equipment, and acquiring the authentication information;
authenticating the external short-range communication equipment according to the authentication information;
and establishing communication connection between the Internet of things module and external short-range communication equipment.
2. The method of claim 1, wherein the receiving the communication mode selection command, pushing the short-range communication control interface according to the communication mode selection command and the configuration parameters of each short-range communication control interface, further comprises:
and receiving equipment information of the external short-range communication equipment, modifying configuration parameters of the short-range communication control interface according to the equipment information, and pushing the modified short-range communication control interface.
3. The method according to claim 1, wherein after the receiving the communication connection instruction and establishing the communication connection between the internet of things module and the external short-range communication device according to the communication connection instruction and the communication parameter corresponding to the communication connection instruction, the method further comprises:
acquiring data information sent by the external short-range communication equipment through the Internet of things module;
and transmitting the data information to an external data center through a narrow-band internet.
4. An internet of things communication device, the device comprising:
the communication mode query module is used for sending a query instruction to the Internet of things module and receiving the connection mode information fed back by the Internet of things module; identifying each short-range communication mode of the internet of things module according to the connection mode information;
the parameter acquisition module is used for acquiring the communication parameters of the short-range communication modes and the switch authority of the short-range communication modes;
the interface generation module is used for generating configuration parameters of a short-range communication selection interface and configuration parameters of a short-range communication control interface according to the communication parameters of the short-range communication modes and the switch authority of the short-range communication modes, and pushing the short-range communication selection interface;
the interface selection module is used for receiving a communication mode selection instruction and pushing the short-range communication control interface according to the communication mode selection instruction and the configuration parameters of each short-range communication control interface;
the connection establishment module is used for receiving a communication connection instruction, identifying external short-range communication equipment to be connected according to the communication connection instruction and communication parameters corresponding to the communication connection instruction, and sending a connection request to the external short-range communication equipment to be connected; receiving an authentication request of the external short-range communication equipment, and reading the equipment number of the external short-range communication equipment; searching authentication information corresponding to the external short-range communication equipment in a preset authentication information table according to the equipment number of the external short-range communication equipment, and acquiring the authentication information; authenticating the external short-range communication equipment according to the authentication information; and establishing communication connection between the Internet of things module and the external short-range communication equipment.
5. The apparatus of claim 4, further comprising an interface modification module configured to receive device information of the external short-range communication device, modify configuration parameters of the short-range communication control interface according to the device information, and push the modified short-range communication control interface.
6. The apparatus of claim 4, further comprising an information forwarding module configured to obtain, by the internet of things module, data information sent by the external short-range communication device; and transmitting the data information to an external data center through a narrow-band internet.
7. A computer device comprising a memory and a processor, the memory storing a computer program, characterized in that the processor implements the steps of the method of any of claims 1 to 3 when the computer program is executed.
8. A computer readable storage medium, on which a computer program is stored, characterized in that the computer program, when being executed by a processor, implements the steps of the method of any of claims 1 to 3.
CN201811646765.7A 2018-12-29 2018-12-29 Internet of things communication method, device, computer equipment and storage medium Active CN111385772B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811646765.7A CN111385772B (en) 2018-12-29 2018-12-29 Internet of things communication method, device, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811646765.7A CN111385772B (en) 2018-12-29 2018-12-29 Internet of things communication method, device, computer equipment and storage medium

Publications (2)

Publication Number Publication Date
CN111385772A CN111385772A (en) 2020-07-07
CN111385772B true CN111385772B (en) 2024-03-15

Family

ID=71221147

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811646765.7A Active CN111385772B (en) 2018-12-29 2018-12-29 Internet of things communication method, device, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN111385772B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104967888A (en) * 2015-06-30 2015-10-07 小米科技有限责任公司 Remote control method and device and remote control equipment
CN106996004A (en) * 2016-01-26 2017-08-01 青岛海尔洗衣机有限公司 A kind of intelligent electrical appliance control and use its washing machine
CN108809914A (en) * 2017-05-05 2018-11-13 国民技术股份有限公司 Access control method, device, terminal and Internet of Things house system

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20140088484A (en) * 2013-01-02 2014-07-10 삼성전자주식회사 Method for controlling wireless communication and an electronic device thereof
KR102094017B1 (en) * 2013-08-06 2020-03-26 삼성전자주식회사 Method for transmitting data and an electronic device thereof

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104967888A (en) * 2015-06-30 2015-10-07 小米科技有限责任公司 Remote control method and device and remote control equipment
CN106996004A (en) * 2016-01-26 2017-08-01 青岛海尔洗衣机有限公司 A kind of intelligent electrical appliance control and use its washing machine
CN108809914A (en) * 2017-05-05 2018-11-13 国民技术股份有限公司 Access control method, device, terminal and Internet of Things house system

Also Published As

Publication number Publication date
CN111385772A (en) 2020-07-07

Similar Documents

Publication Publication Date Title
CN105100190B (en) The methods, devices and systems that the control planning of account and equipment is managed
CN105376738B (en) Wireless network access method, device and system
KR100735382B1 (en) Secure communication method and device of a Bluetooth device
EP3337219B1 (en) Carrier configuration processing method, device and system, and computer storage medium
CN108781473B (en) A method and device for sharing files between different terminals
CN109447411A (en) Business Process Control method, apparatus, computer equipment and storage medium
KR20140124304A (en) Controlling Method for Communication and Electronic Device supporting the same
CN103873692A (en) Method, device and system for resource sharing
KR20170092648A (en) Communication device, communication device control method, and program
CN108924906A (en) Smart machine control method, ZigBee gateway and storage medium
KR20120123941A (en) Method for paring radio communication using QRcord
EP2727384B1 (en) Method for accessing at least one service and corresponding system
CN111935698A (en) Network access method, device, terminal and storage medium
CN111385772B (en) Internet of things communication method, device, computer equipment and storage medium
CN109544265B (en) Electronic lock information processing method, electronic device and storage medium
CN113193979B (en) Method, device and computer equipment for realizing virtual peripheral sharing of Internet of things module
CN115038069A (en) Communication method, communication device, electronic device and storage medium
CN114785679A (en) Network configuration method, network configuration device, electronic equipment, storage medium and program product
CN105813138A (en) Information processing method and first electronic device
CN111510910B (en) Communication module frequency band setting method and device, computer equipment and storage medium
CN106685931B (en) Smart card application management method and system, terminal and smart card
CN104936010B (en) TV remote controlling method, device and system based on input method
CN113395345A (en) Network distribution method and device of Internet of things equipment and storage medium
CN116600283B (en) Network access mode identification method, device, communication equipment, medium and product
CN116600250B (en) Network access mode determining method, device, equipment, medium and product

Legal Events

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