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

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

Info

Publication number
CN111385772A
CN111385772A CN201811646765.7A CN201811646765A CN111385772A CN 111385772 A CN111385772 A CN 111385772A CN 201811646765 A CN201811646765 A CN 201811646765A CN 111385772 A CN111385772 A CN 111385772A
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.)
Granted
Application number
CN201811646765.7A
Other languages
Chinese (zh)
Other versions
CN111385772B (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

Images

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; CALCULATING OR 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; CALCULATING OR 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

Abstract

The application relates to the field of Internet of things, in particular to a communication method and device of the Internet of things, computer equipment and a storage medium. The method comprises the following steps: firstly, inquiring each short-range communication mode of an Internet of things module; and obtaining communication parameters and switching authority of various short-range communication modes; generating a short-range communication selection interface and each short-range communication control interface based on the communication parameters and the switching authority, 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 aid of the communication method of the Internet of things, communication setting can be completed quickly without searching and setting one by one, operation procedures are 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 and device, computer equipment and storage medium
Technical Field
The present application relates to the field of computer technologies, and in particular, to a method and an apparatus for internet of things communication, a computer device, and a storage medium.
Background
With the further promotion of informatization, the technology of the internet of things appears, namely the internet of things connected with objects. This has two layers: firstly, the core and the foundation of the internet of things are still the internet, and the internet is an extended and expanded network on the basis of the internet; and secondly, the user side extends and expands to any article to perform information exchange and communication, namely, the article information. The internet of things is widely applied to network fusion through communication perception technologies such as intelligent perception, identification technology and pervasive computing, and is also called as the third wave of development of the world information industry after computers and the internet.
In the prior art, the internet of things module can be connected with short-range communication devices such as WiFi and Bluetooth, however, when the internet of things module is connected with the communication devices 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 influenced.
Disclosure of Invention
Therefore, it is necessary to provide an internet of things communication method, an apparatus, a computer device and a storage medium for quickly establishing short-range communication for an internet of things module in order to solve the above technical problems.
A method of internet of things communication, the method comprising:
inquiring each short-range communication mode of the Internet of things module;
acquiring the communication parameters of each short-range communication mode and the switching authority of each short-range communication mode;
generating configuration parameters of a short-range communication selection interface and configuration parameters of each short-range communication control interface according to the communication parameters of each short-range communication mode and the switching authority of each short-range communication mode, 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, the querying each short-range communication mode of the internet of things module specifically includes:
and sending a query instruction to an Internet of things module, acquiring 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 a communication connection instruction, and establishing 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 specifically includes:
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, 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 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 specifically includes:
receiving an authentication request of the external short-range communication equipment, and reading an equipment number of the external short-range communication equipment;
according to the equipment number of the external short-range communication equipment, searching authentication information corresponding to the short-range communication equipment outside the segment in a preset authentication information table to obtain the authentication information;
and authenticating the external short-range communication equipment according to the authentication information.
In one embodiment, after receiving the 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 method further includes:
and receiving the equipment information of the external short-range communication equipment, modifying the 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 the receiving a communication connection instruction and establishing 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, the method further includes:
acquiring data information sent by the external short-range communication equipment through the Internet of things module;
and sending 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 query module is used for querying each short-range communication mode of the Internet of things module;
the parameter acquisition module is used for acquiring the communication parameters of each short-range communication mode and the switching permission of each short-range communication mode;
the interface generation module is used for generating configuration parameters of a short-range communication selection interface and configuration parameters of each short-range communication control interface according to the communication parameters of each short-range communication mode and the switching authority of each short-range communication mode and pushing the short-range communication selection interface;
the interface selection module is used for 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 the connection establishing module is used for receiving a communication connection instruction and establishing the communication connection between the Internet of things module and external short-range communication equipment according to the communication connection instruction and the communication parameters corresponding to the communication connection instruction.
In one embodiment, the communication method query module is specifically configured to:
and sending a query instruction to an Internet of things module, acquiring 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 and a processor, the memory storing a computer program, the processor implementing the following steps when executing the computer program:
inquiring each short-range communication mode of the Internet of things module;
acquiring the communication parameters of each short-range communication mode and the switching authority of each short-range communication mode;
generating configuration parameters of a short-range communication selection interface and configuration parameters of each short-range communication control interface according to the communication parameters of each short-range communication mode and the switching authority of each short-range communication mode, 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, on which a computer program is stored which, when executed by a processor, carries out the steps of:
inquiring each short-range communication mode of the Internet of things module;
acquiring the communication parameters of each short-range communication mode and the switching authority of each short-range communication mode;
generating configuration parameters of a short-range communication selection interface and configuration parameters of each short-range communication control interface according to the communication parameters of each short-range communication mode and the switching authority of each short-range communication mode, 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.
According to the Internet of things communication method, the Internet of things communication device, the computer equipment and the storage medium, all short-range communication modes of the Internet of things module are inquired; and obtaining communication parameters and switching authority of various short-range communication modes; generating configuration parameters of a short-range communication selection interface and configuration parameters of each short-range communication control interface based on the communication parameters and the switching authority, 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. This application is through the short range communication mode that acquires thing networking module and possess to based on each short range communication mode's communication parameter and switch authority, integrate into short range communication selection interface and short range communication control interface, accomplish the selection to thing networking module short range communication mode through audio-visual interface, it is very convenient to use, can accomplish the communication setting fast, need not look for one by one again, set up, operation flow has been simplified, can establish thing networking module and short range communication device's communication connection rapidly.
Drawings
Fig. 1 is a schematic flow chart of a communication method of the internet of things in one embodiment;
FIG. 2 is a schematic interface diagram of a short-range communication selection interface and a short-range communication control interface in one embodiment;
fig. 3 is a schematic flow chart of a communication method of the internet of things in another embodiment;
FIG. 4 is a schematic sub-flow chart illustrating step S900 of FIG. 1 according to an embodiment;
fig. 5 is a schematic flow chart of a communication method of the internet of things in another embodiment;
FIG. 6 is a block diagram of an embodiment of an IOT communication device;
FIG. 7 is a diagram illustrating an internal structure of a computer device according to an embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application 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 be communicated 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 controls the internet of things module, and the terminal firstly inquires each short-range communication mode of the internet of things module; acquiring communication parameters and switching authority 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 the communication mode, a communication mode selection instruction is generated and sent to 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 to connect, the terminal receives the communication connection instruction, and according to the communication connection instruction and communication parameters corresponding to the communication connection instruction, communication connection between the Internet of Things module and the external short-range communication device is established, wherein the Internet of Things module can be specifically an NB-IoT (Narrow Band Internet of Things) module.
As shown in fig. 1, in one embodiment, the internet of things communication method specifically includes the following steps:
and S100, inquiring each short-range communication mode of the Internet of things module.
The internet of things module is a module for internet of things communication, the internet of things module can realize long-distance wireless communication and short-range wireless communication at the same time, the short-range communication mode is a communication mode with a short communication distance, the short-range communication mode is mainly used for communicating with various devices in a close range, and the short-range communication mode specifically comprises WiFi, Bluetooth, infrared, NFC and the like. Firstly, various short-range communication modes of the internet of things module need to be inquired through the terminal.
S300, acquiring communication parameters of each short-range communication mode and switching authority of each short-range communication mode.
The communication parameters mainly refer to communication addresses of the communication modes, when the short-range communication mode is Bluetooth, the communication parameters can specifically be Bluetooth addresses of Bluetooth devices which can be connected to the Internet of things module, when the short-range communication mode is WiFi, the communication parameters can specifically be WiFi addresses of WiFi modules which can be connected to the Internet of things module, when the communication parameters of the Internet of things module are determined, the terminal can also acquire switching permissions of the communication modes of the Internet of things module, and through the switching permissions, the terminal can directly select to turn on or turn off the corresponding short-range communication mode.
In order to realize control over the module of the internet of things, specific communication parameters of various short-range communication modes of the module of the internet of things and switching permissions corresponding to the short-range communication modes need to be acquired.
And S500, generating configuration parameters of the short-range communication selection interface and configuration parameters of each short-range communication control interface according to the communication parameters of each short-range communication mode and the switching authority of each short-range communication mode, and pushing the short-range communication selection interface.
The short-range communication selection interface is an interface containing various short-range communication modes of various internet of things modules, a user can select a proper communication mode on the interface, and the short-range communication control interface is a selection interface corresponding to external short-range communication equipment in various short-range communication modes and contains a plurality of external short-range communication equipment in the corresponding modes.
After the terminal acquires the communication parameters of the short-range communication mode of the Internet of things module and the switching permission of each short-range communication mode, the configuration parameters of the short-range communication selection interface can be generated, and the short-range communication selection interface is generated to visually display the communication function of the corresponding Internet of things module to a user. And meanwhile, according to the short-range communication function of the Internet of things module, generating configuration parameters of each corresponding short-range communication equipment control interface, and generating the short-range communication control interface for selecting each short-range communication equipment which can be identified in the corresponding short-range communication mode. As shown in fig. 2, in one embodiment, the short-range Communication mode of the internet of things module includes WiFi, bluetooth, NFC (Near Field Communication, 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 mode is specifically shown on the right side of fig. 2.
And S700, 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.
After the short-range communication selection interface is pushed to a 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 the 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.
And S900, 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 the 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.
The communication method of the Internet of things comprises the steps of firstly inquiring each short-range communication mode of an Internet of things module; and obtaining communication parameters and switching authority of various short-range communication modes; generating configuration parameters of a short-range communication selection interface and configuration parameters of each short-range communication control interface based on the communication parameters and the switching authority, 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. This application acquires the short range communication mode that thing networking module possessed to based on each short range communication mode's communication parameter and switch authority, integrate into short range communication selection interface and short range communication control interface, accomplish the selection to thing networking module short range communication mode through audio-visual interface, it is very convenient to use, can accomplish the communication setting fast, need not look for one by one again, set up, operation flow has been simplified, can establish thing networking module and short range communication device's communication connection rapidly
As shown in fig. 3, in one embodiment, step S100 specifically includes:
and S120, sending a query instruction to the Internet of things module, acquiring 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 inquiry command refers to a command for inquiring functions of the internet of things module, in one embodiment, the terminal can scan the internet of things module based on the inquiry command by sending the inquiry command to the internet of things module, then obtain connection mode information fed back by the internet of things module, and identify the 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 connection mode information carrying model information to the terminal, and the terminal searches and confirms the short-range communication function of the internet of things module in a 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 quickly 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 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;
s940, 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;
s960, establishing communication connection between the Internet of things module and external short-range communication equipment.
In one embodiment, after the user selects a suitable 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, after the external short-range communication device receives the connection request, the terminal is required to provide corresponding authentication information, and then the authentication request is fed back to the internet of things module, and the internet of things module acquires corresponding authentication information according to the authentication request, and connects the external short-range communication device after the 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 specifically WiFi, WiFi needs to provide a WiFi password for connection authentication, and an authentication input interface can be provided for the user to acquire the WiFi password input by the user, so that corresponding connection authentication is completed. Through the authentication, the communication safety 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 an equipment number of the external short-range communication equipment;
according to the equipment number of the external short-range communication equipment, searching authentication information corresponding to the short-range communication equipment outside the segment in a preset authentication information table to obtain authentication information;
and authenticating the external short-range communication equipment according to the authentication information.
In one embodiment, the terminal pre-stores specific authentication information of each external short-range communication device, 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 to complete authentication. The convenience of the authentication process can be fully improved through automatic authentication.
As shown in fig. 5, in one embodiment, after S700, the method further includes:
and S800, receiving the equipment information of the external short-range communication equipment, modifying the configuration parameters of the 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 the configuration parameters of each short-range communication control interface, equipment information of external short-range communication equipment provided by a user can be acquired, corresponding short-range communication equipment is added to the corresponding short-range communication control interface based on the equipment information, a newly added short-range communication mode is added to the interface, and the connection selection of the Internet of things module can be enriched by modifying the communication mode selection instruction.
In one embodiment, after S900, the method further includes:
acquiring data information sent by external short-range communication equipment through an Internet of things module;
and sending the data information to an external data center through a narrow-band internet.
After the communication connection with the short-range communication equipment is established by the Internet of things module, data information provided by external short-range communication equipment 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 narrow-band internet can be communication with short-range communication and longer distance, and based on the internet of things communication method, information acquired from short-range communication equipment can be transmitted to the control center through the narrow-band 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 each area through internet of things modules arranged in each area of a house, so that the purpose of controlling only the devices is achieved.
In one embodiment, the internet of things communication method includes: and sending a query instruction to the Internet of things module, acquiring 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 switching permission of each short-range communication mode; and generating configuration parameters of the short-range communication selection interface and configuration parameters of each short-range communication control interface according to the communication parameters of each short-range communication mode and the switching authority of each short-range communication mode, and pushing the short-range communication selection interface. And 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. And receiving the equipment information of the external short-range communication equipment, modifying the configuration parameters of the 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 an equipment number of the external short-range communication equipment; according to the equipment number of the external short-range communication equipment, searching authentication information corresponding to the short-range communication equipment outside the segment in a preset authentication information table to obtain 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 sending the data information to an external data center through a 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, the steps are not necessarily performed in order as indicated by the arrows. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least some of the steps in fig. 1, 3, 4, and 5 may include multiple sub-steps or multiple stages, which are not necessarily performed at the same time, but may be performed at different times, which are not necessarily performed in sequence, but may be performed alternately or alternatingly with other steps or at least some of the sub-steps or stages of other steps.
As shown in fig. 6, an internet of things communication device includes:
a communication mode query module 100, configured to query short-range communication modes of the internet of things module;
a parameter obtaining module 300, configured to obtain communication parameters of each short-range communication mode and switching permissions of each short-range communication mode;
the interface generating module 500 is configured to generate configuration parameters of the short-range communication selection interface and configuration parameters of each short-range communication control interface according to the communication parameters of each short-range communication mode and the switching authority 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 the short-range communication control interface according to the communication mode selection instruction and configuration parameters of each short-range communication control interface;
the connection establishing module 900 is configured to receive the communication connection instruction, and establish a 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.
In one embodiment, the communication method querying module 100 is specifically configured to: and sending a query instruction to the Internet of things module, acquiring 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 establishing 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 establishing module 900 is further configured to: receiving an authentication request of external short-range communication equipment, and reading an equipment number of the external short-range communication equipment; according to the equipment number of the external short-range communication equipment, searching authentication information corresponding to the short-range communication equipment outside the segment in a preset authentication information table to obtain authentication information; and authenticating the external short-range communication equipment according to the authentication information.
In one embodiment, the system further includes an interface modification module, configured to receive device information of the external short-range communication device, modify a configuration parameter of the short-range communication control interface according to the device information, and push 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 external short-range communication equipment through an internet of things module; and sending the data information to an external data center through a narrow-band internet.
For specific limitations of the communication device of the internet of things, reference may be made to the above limitations on the communication method of the internet of things, and details are not repeated here. All or part of each module in the communication system of the internet of things can be realized by software, hardware and a combination thereof. The modules can be embedded in a hardware form or independent from a processor in the computer device, and can also be stored in a memory in the computer device in a software form, so that the processor can call and execute operations corresponding to the modules.
In one embodiment, a computer device is provided, which may be a terminal, and its internal structure diagram 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 comprises a nonvolatile 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 an operating system and computer programs in the non-volatile storage medium. The network interface of the computer device is used for communicating with an external terminal through a network connection. The computer program is executed by a processor to implement a method of communication of the internet of things. 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, a key, a track ball or a touch pad arranged on the shell of the computer equipment, an external keyboard, a touch pad or a mouse and the like.
Those skilled in the art will appreciate that the architecture shown in fig. 7 is merely a block diagram of some of the structures associated with the disclosed aspects and is not intended to limit the computing devices to which the disclosed aspects apply, as particular computing devices may include more or less components than those 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 a computer program stored therein, the processor implementing the following steps when executing the computer program:
inquiring each short-range communication mode of the Internet of things module;
acquiring communication parameters of each short-range communication mode and switching permission of each short-range communication mode;
generating configuration parameters of a short-range communication selection interface and configuration parameters of each short-range communication control interface according to the communication parameters of each short-range communication mode and the switching authority of each short-range communication mode, 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 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 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 an equipment number of the external short-range communication equipment; according to the equipment number of the external short-range communication equipment, searching authentication information corresponding to the short-range communication equipment outside the segment in a preset authentication information table to obtain 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 the equipment information of the external short-range communication equipment, modifying the 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, 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 sending the data information to an external data center through a 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 switching permission of each short-range communication mode;
generating configuration parameters of a short-range communication selection interface and configuration parameters of each short-range communication control interface according to the communication parameters of each short-range communication mode and the switching authority of each short-range communication mode, 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 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 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 an equipment number of the external short-range communication equipment; according to the equipment number of the external short-range communication equipment, searching authentication information corresponding to the short-range communication equipment outside the segment in a preset authentication information table to obtain 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 the equipment information of the external short-range communication equipment, modifying the configuration parameters of the 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 sending the data information to an external data center through a narrow-band internet.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware related to instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. Any reference to memory, storage, database, or other medium used in the embodiments provided herein may include non-volatile and/or volatile memory, among others. Non-volatile 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), Rambus Direct RAM (RDRAM), direct bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
The technical features of the above embodiments can be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the above embodiments are not described, but should be considered as the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above examples only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (10)

1. A method of internet of things communication, the method comprising:
inquiring each short-range communication mode of the Internet of things module;
acquiring the communication parameters of each short-range communication mode and the switching authority of each short-range communication mode;
generating configuration parameters of a short-range communication selection interface and configuration parameters of each short-range communication control interface according to the communication parameters of each short-range communication mode and the switching authority of each short-range communication mode, 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.
2. The method according to claim 1, wherein the querying of the short-range communication modes of the internet of things module specifically comprises:
sending a query instruction to an Internet of things module, and receiving 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.
3. The method according to claim 1, wherein the receiving a communication connection instruction, and establishing 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 specifically includes:
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, 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.
4. The method according to claim 3, wherein the receiving an 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 comprises:
receiving an authentication request of the external short-range communication equipment, and reading an equipment number of the external short-range communication equipment;
according to the equipment number of the external short-range communication equipment, searching authentication information corresponding to the short-range communication equipment outside the segment in a preset authentication information table to obtain the authentication information;
and authenticating the external short-range communication equipment according to the authentication information.
5. The method according to claim 1, wherein after 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, the method further comprises:
and receiving the equipment information of the external short-range communication equipment, modifying the configuration parameters of the short-range communication control interface according to the equipment information, and pushing the modified short-range communication control interface.
6. The method according to claim 1, wherein after the receiving the communication connection command and establishing the communication connection between the internet of things module and the external short-range communication device according to the communication connection command and the communication parameters corresponding to the communication connection command, the method further comprises:
acquiring data information sent by the external short-range communication equipment through the Internet of things module;
and sending the data information to an external data center through a narrow-band internet.
7. An internet of things communication device, the device comprising:
the communication mode query module is used for querying each short-range communication mode of the Internet of things module;
the parameter acquisition module is used for acquiring the communication parameters of each short-range communication mode and the switching permission of each short-range communication mode;
the interface generation module is used for generating configuration parameters of a short-range communication selection interface and configuration parameters of each short-range communication control interface according to the communication parameters of each short-range communication mode and the switching authority of each short-range communication mode and pushing the short-range communication selection interface;
the interface selection module is used for 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 the connection establishing module is used for receiving a communication connection instruction and establishing the communication connection between the Internet of things module and external short-range communication equipment according to the communication connection instruction and the communication parameters corresponding to the communication connection instruction.
8. The method of claim 7, wherein the communication means query module is specifically configured to:
and sending a query instruction to an Internet of things module, acquiring 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.
9. A computer device comprising a memory and a processor, the memory storing a computer program, wherein the processor implements the steps of the method of any one of claims 1 to 6 when executing the computer program.
10. 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 any one of claims 1 to 6.
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 true CN111385772A (en) 2020-07-07
CN111385772B 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 (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140187166A1 (en) * 2013-01-02 2014-07-03 Samsung Electronics Co., Ltd. Method and apparatus for controlling short range wireless communication
US20150044970A1 (en) * 2013-08-06 2015-02-12 Samsung Electronics Co., Ltd. Method and apparatus for establishing short range communication
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

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140187166A1 (en) * 2013-01-02 2014-07-03 Samsung Electronics Co., Ltd. Method and apparatus for controlling short range wireless communication
US20150044970A1 (en) * 2013-08-06 2015-02-12 Samsung Electronics Co., Ltd. Method and apparatus for establishing short range communication
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
CN111385772B (en) 2024-03-15

Similar Documents

Publication Publication Date Title
US10645568B2 (en) Carrier configuration processing method, device and system, and computer storage medium
CN105376738B (en) Wireless network access method, device and system
KR100996768B1 (en) System for remotely accessing a mass storage unit and a security storage unit in a portable communicating object
CN105992306B (en) Binding method of terminal and home gateway
CN109447411A (en) Business Process Control method, apparatus, computer equipment and storage medium
CN110650516B (en) Network distribution method and device, Internet of things equipment, terminal equipment and storage medium
CN103797828A (en) Application selection for multi-SIM environment
CN104185253A (en) Method for accessing wireless router, related device and system thereof
CN104797003A (en) Intelligent terminal user switching method and device
CN111586671B (en) Embedded user identification card configuration method and device, communication equipment and storage medium
CN108924906A (en) Smart machine control method, ZigBee gateway and storage medium
EP2727384B1 (en) Method for accessing at least one service and corresponding system
CN104936167A (en) Card writing method, system and equipment
KR20170092648A (en) Communication device, communication device control method, and program
CN114079915A (en) Method, system and device for determining user plane security algorithm
KR102462366B1 (en) APPRATUS AND METHOD FOR NEGOTIATING eUICC VERSION
CN111935698A (en) Network access method, device, terminal and storage medium
CN111385772B (en) Internet of things communication method, device, computer equipment and storage medium
CN108595274B (en) Program synchronization control method, device, system, computer device and storage medium
CN114449657A (en) Method and device for establishing policy association, terminal and network side equipment
CN111510910A (en) Communication module frequency band setting method and device, computer equipment and storage medium
WO2016087645A1 (en) Resource control apparatus, server apparatus and method for controlling a resource
CN107077633A (en) Information processor, information processing method and program
CN114244434A (en) Network distribution method, device, system, electronic equipment and storage medium
CN113518021A (en) Method, system, device and equipment for binding user account

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