CN108337300B - Man-machine interface communication method and system applied to narrow-band Internet of things - Google Patents

Man-machine interface communication method and system applied to narrow-band Internet of things Download PDF

Info

Publication number
CN108337300B
CN108337300B CN201810056848.4A CN201810056848A CN108337300B CN 108337300 B CN108337300 B CN 108337300B CN 201810056848 A CN201810056848 A CN 201810056848A CN 108337300 B CN108337300 B CN 108337300B
Authority
CN
China
Prior art keywords
post office
information post
communication
data packet
target information
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
CN201810056848.4A
Other languages
Chinese (zh)
Other versions
CN108337300A (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.)
Suzhou University
Original Assignee
Suzhou University
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 Suzhou University filed Critical Suzhou University
Priority to CN201810056848.4A priority Critical patent/CN108337300B/en
Publication of CN108337300A publication Critical patent/CN108337300A/en
Application granted granted Critical
Publication of CN108337300B publication Critical patent/CN108337300B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Health & Medical Sciences (AREA)
  • Computing Systems (AREA)
  • General Health & Medical Sciences (AREA)
  • Medical Informatics (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The embodiment of the application provides a man-machine interface communication method and a man-machine interface communication system applied to a narrow-band Internet of things, wherein a user side sends a link request to a target information post office according to an IP address and interface information after acquiring the IP address and the interface information of the information post office, establishes a communication link with the target information post office, establishes a butt-joint service interface between the user side and the information post office, and communicates through the communication link and the service interface; in the communication process of the user side and the information post office, the user side sends a detection data packet to the target information post office according to a preset time interval, the information post office sends a response data packet to the user side after receiving the detection data packet, the link state of a communication link is controlled by sending the detection data packet and the response data packet, the communication link is disconnected at the communication interval, communication resources are released, the communication efficiency is improved, and meanwhile, the detection data packet and the response data packet are sent in the communication process, so that data loss is avoided.

Description

Man-machine interface communication method and system applied to narrow-band Internet of things
Technical Field
The application relates to the technical field of Internet of things, in particular to a man-machine interface communication method and system applied to a narrow-band Internet of things.
Background
The Narrow-Band Internet of Things (NB-IoT) is a new generation of Internet of Things communication system, and has the basic technical characteristics of large connection, wide coverage, deep penetration, low cost, low power consumption and the like. The narrowband Internet of things comprises a mobile terminal (namely a man-machine interaction system), an information post office and an NB-IoT terminal in communication connection with the information post office, wherein the NB-IoT terminal takes a microcontroller as a core, has functions of data acquisition, control, operation and the like, has an NB-IoT communication function, even comprises a mechanical structure, and is used for software and hardware entities with specific functions, such as an NB-IoT gas meter, an NB-IoT traffic light, an NB-IoT intelligent agricultural device and the like, namely various actual NB-IoT application products. With the development of narrowband internet of things technology, the NB-IoT application system will become a key technology for many entity industries. However, there is a high technical threshold for developing NB-IoT application systems, which is mainly reflected in: software and hardware collaborative design is needed, and knowledge in the fields of software, hardware and industry is involved; some systems have high real-time requirements; many products must have strong anti-interference and stability; continuous soft and hard combined test is required in the development process.
In the existing narrow-band Internet of things communication system, a mobile terminal and an information post office are in a communication process, a communication link is always kept in a connected state after being established, communication resources are occupied, communication efficiency is low, and meanwhile, data are easy to lose in the communication process.
Disclosure of Invention
In view of this, an object of the present application is to provide a human-machine interface communication method and system applied to a narrowband internet of things, so as to solve the technical problems of low communication efficiency and easy data loss in a narrowband internet of things communication system.
Based on the above purpose, the application provides a human-machine interface communication method applied to a narrowband internet of things, applied to a user side, and including:
acquiring an IP address and interface information of a target information post office;
sending a link request to the target information post office according to the IP address and the interface information, and establishing a communication link with the target information post office;
creating a service interface, and communicating with the target information post office through the service interface and the communication link;
in the process of communicating with the target information post office, sending a detection data packet to the target information post office according to a preset time interval, and judging whether the detection data packet is responded or not;
if the detection data packet is not responded, the service interface is closed, and meanwhile, the communication with the target information post office is stopped.
In some embodiments, said communicating with said target information post office via said service interface and said communication link comprises:
and carrying out a plurality of times of intermittent communication with the target information post office through the service interface and the communication link:
the method also comprises the step of judging whether the link state of the communication link is a disconnection state before communicating with the target information post office each time.
In some embodiments, the method further comprises:
and when the link state of the communication link is in a disconnection state, generating link state feedback information and displaying the feedback information.
In some embodiments, the method further comprises:
and when the link state of the communication link is not in a disconnection state, sending a detection data packet to the target information post office, and communicating with the target information post office after receiving a response data packet of the detection data packet.
In some embodiments, the determining whether the detection packet is responded specifically includes:
detecting whether a response packet corresponding to the detection packet can be received or not, and judging that the detection packet is responded when the response packet corresponding to the detection packet can be received;
when a response packet corresponding to the detection packet cannot be received, it is determined that the detection packet is not responded to.
In some embodiments, further comprising:
and judging the receiving state of the response data packet, and stopping communicating with the target information post office when the response data packet is stopped to be received.
In some embodiments, further comprising:
and stopping sending the detection data packet to the target information post office, and disconnecting a communication link with the target information post office after stopping sending the detection data packet to the target information post office.
In some embodiments, further comprising:
and deleting the service interface after the communication link with the target information post office is disconnected.
Based on the above purpose, the present application further provides a man-machine interface communication method applied to a narrowband internet of things, applied to an information post office, including:
receiving a link request sent by a user side, and establishing a communication link with the user side;
creating a service interface, and communicating with the user side through the service interface and the communication link;
and receiving a detection data packet sent by the user side according to a preset time interval in the communication process with the target information post office, and responding to the received detection data packet.
In some embodiments, said communicating with said user end over said traffic interface and said communication link comprises:
performing multiple intermittent communications with the user side through the service interface and the communication link;
and after receiving the detection data packet sent by the user side, sending a corresponding response data packet to the user side, and carrying out single communication with the user side.
In some embodiments, further comprising:
and judging the receiving state of the detection data packet, and stopping communicating with the user side when the detection data packet is stopped to be received.
In some embodiments, further comprising:
and stopping sending the response data packet to the target information post office, and disconnecting the communication link with the user side after stopping sending the response data packet to the target information post office.
In some embodiments, further comprising:
and deleting the service interface after the communication link with the target information post office is disconnected.
Based on the purpose, the application also provides a man-machine interface communication system applied to the narrow-band Internet of things, which comprises a user side and an information post office;
when the user side communicates with the information post office, the user side is used for acquiring the IP address and the interface information of the information post office, sending a link request to the target information post office according to the IP address and the interface information, establishing a communication link with the target information post office, establishing a butt-joint service interface between the user side and the information post office, and communicating with the service interface through the communication link;
in the communication process of the user side and the information post office, the user side sends a detection data packet to the target information post office according to a preset time interval, the information post office sends a response data packet to the user side after receiving the detection data packet, and the link state of the communication link is controlled by sending the detection data packet and the response data packet.
In some embodiments, the user terminal comprises an interface layer, a service logic layer and a data access layer;
the interface layer is used for displaying data and receiving data input by a user, the service logic layer is used for processing different service logics, and the data access layer is used for processing read-write operation of the data according to the processing result of the service logic layer on the service logics;
the business logic layer is arranged between the data access layer and the interface layer, the data access layer is arranged at the bottom, and the dependency relationship among the interface layer, the business logic layer and the data access layer is downward.
In some embodiments, the data access device further comprises a data encapsulation object layer between the interface layer and the service logic layer and between the service logic layer and the data access layer, wherein the data encapsulation object layer is used for unifying the exchange format of data between layers.
The embodiment of the application provides a man-machine interface communication method and system applied to a narrow-band Internet of things, wherein after an IP address and interface information of an information post office are obtained by a user side, a link request is sent to a target information post office according to the IP address and the interface information, a communication link with the target information post office is established, and the user side and the information post office establish a butt-joint service interface and communicate with the service interface through the communication link; in the communication process of the user side and the information post office, the user side sends a detection data packet to the target information post office according to a preset time interval, the information post office sends a response data packet to the user side after receiving the detection data packet, the link state of the communication link is controlled by sending the detection data packet and the response data packet, the communication link is disconnected at the communication interval, communication resources are released, the communication efficiency is improved, and meanwhile, the detection data packet and the response data packet are sent in the communication process, so that the loss of data is avoided.
Drawings
Other features, objects and advantages of the present application will become more apparent upon reading of the following detailed description of non-limiting embodiments thereof, made with reference to the accompanying drawings in which:
fig. 1 is a flowchart of a communication method of a human-machine interface of a user side of a narrowband internet of things according to a first embodiment of the present application;
fig. 2 is a flowchart of a communication method of a human-machine interface of a user side of a narrowband internet of things according to a second embodiment of the present application;
fig. 3 is a flowchart of a communication method of a human-machine interface of an information post office of a narrowband internet of things according to a third embodiment of the present application;
fig. 4 is a structural diagram of a human-machine interface communication system of a narrowband internet of things according to a fourth embodiment of the present application:
fig. 5 is a schematic structural diagram of a user side of a human-machine interface communication system of a narrowband internet of things according to a fifth embodiment of the present application.
Detailed Description
The present application will be described in further detail with reference to the following drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the relevant invention and not restrictive of the invention. It should be noted that, for convenience of description, only the portions related to the related invention are shown in the drawings.
It should be noted that the embodiments and features of the embodiments in the present application may be combined with each other without conflict. The present application will be described in detail below with reference to the embodiments with reference to the attached drawings.
The implementation of the narrowband internet of things is technically generally divided into three parts: the communication between the user side and the information post office is usually required to ensure low communication efficiency and avoid data loss at the same time as the core part of the narrowband Internet of things.
Fig. 1 is a flowchart of a communication method of a human-machine interface at a user side of a narrowband internet of things according to an embodiment of the present application. As shown in fig. 1, the communication method for the human-machine interface of the user side of the narrowband internet of things in this embodiment includes the following steps:
s101: and acquiring the IP address and interface information of the target information post office.
The method in this embodiment is a communication method applied to a man-machine interface of a user side of a narrowband internet of things, where the user side in this embodiment may be a user side dedicated to the narrowband internet of things, that is, a user side dedicated to the narrowband internet of things, or may be a mobile terminal including a smart phone, a tablet computer, and a desktop computer, and software for performing data interaction with an information post office in the narrowband internet of things may be installed in the mobile terminal, where the software may be an independent program or an embedded program, and may be, for example, embedded into existing communication software as a small program. When a user needs to communicate with an information post office through a user terminal, a target information post office needing to communicate is determined at first, and the IP address and the interface information of the target information post office are obtained according to the target information post office. When the IP address and the interface information of the target information post office are obtained, the target information post office can be accessed through the obtained IP address, a link request can be sent to the IP address to establish a communication link, and meanwhile, an interface for data transmission when the target information post office is communicated can be determined according to the interface information.
S102: and sending a link request to the target information post office according to the IP address and the interface information, and establishing a communication link with the target information post office.
In this embodiment, after acquiring the IP address and the interface information of the target information post office, the IP address may be used as a target access address, an interface corresponding to the interface information may be used as a target data transmission interface, and a link request is sent to the access address to establish a communication link with the interface of the information post office.
S103: and creating a service interface, and communicating with the target information post office through the service interface and the communication link.
After establishing a communication link with the target information post office, a service interface may be created, where the service interface may be a service interface dedicated for communicating with the target information post office, and data interaction is performed with the target information post office only through the service interface. Data can be sent out through the service interface, the data sent out are transmitted to the target information post office through the communication link, and the data sent by the target information post office through the communication link can be received through the service interface.
S104: and in the process of communicating with the target information post office, sending a detection data packet to the target information post office according to a preset time interval, and judging whether the detection data packet is responded.
In this embodiment, after the user side completes establishment of the communication link with the target information post office, data interaction (i.e., communication) may be performed through the communication link, and the user may further obtain data acquired by the NB-IoT terminal by sending an access request to the target information post office, and meanwhile, the target information post office may also send the data acquired by the NB-IoT terminal to the user side through the communication link, thereby completing active reporting of data information. In order to avoid data loss in the transmission process, when a user side communicates with a target information post office, a detection data packet is sent to the target information post office according to a preset time interval, wherein the detection data packet can be a data packet containing acquisition information for acquiring data acquired by an NB-IoT terminal connected with the target information post office, and can also be an air data packet. And determining whether to communicate with the target information post office by sending a detection packet to the target information post office to determine whether the detection packet is responded to.
S105: if the detection data packet is not responded, the service interface is closed, and meanwhile, the communication with the target information post office is stopped.
When the detection packet is not responded, the service interface created in step S103 is closed while stopping communication with the target information post office.
In the communication method of the man-machine interface of the client of the narrowband internet of things in the embodiment, the client establishes a communication link with the target information post office by acquiring the IP address and the interface information of the target information post office. In the process of communicating with the target information post office, sending a detection data packet to the target information post office according to a preset time interval, and judging whether the detection data packet is responded; if the detection data packet is not responded, the service interface is closed, and meanwhile, the communication with the target information post office is stopped. The data loss caused by direct communication is avoided, the service interface is closed at the same time, the communication resource is saved, and the communication efficiency is improved.
As an optional embodiment of the present application, in the above embodiment, the communicating with the target information post office through the service interface and the communication link may include:
carrying out a plurality of times of intermittent communication with the target information post office through the service interface and the communication link;
the method may further include determining whether a link status of the communication link is a disconnected status before each communication with the target information post office.
In the communication method in this embodiment, the user side may perform intermittent communication with the target information post office, and perform no data interaction during the communication interval time, and before performing the next communication, may determine whether the link state of the communication link is a disconnected state, thereby avoiding data loss.
As an optional embodiment of the present application, in the above embodiment, when the link state of the communication link is a disconnection state, link state feedback information is generated and displayed. When the link state of the communication link is the disconnection state, feedback information can be generated and displayed to the user, so that the user can perform relevant operations according to the feedback information.
As an alternative embodiment of the present application, the foregoing embodiment further includes:
and when the link state of the communication link is not in a disconnection state, sending a detection data packet to the target information post office, and communicating with the target information post office after receiving a response data packet of the detection data packet. Before data transmission, whether the communication link can cause data loss is confirmed by a method of sending a detection data packet, and after a response data packet of the detection data packet is received, communication is carried out with the target information post office. The determining whether the detection packet is responded specifically includes: detecting whether a response packet corresponding to the detection packet can be received or not, and judging that the detection packet is responded when the response packet corresponding to the detection packet can be received; when a response packet corresponding to the detection packet cannot be received, it is determined that the detection packet is not responded to.
In addition, by judging the reception state of the response packet during communication with the destination information post office, communication with the destination information post office may be stopped when reception of the response packet is stopped.
Of course, the user terminal can also actively disconnect the communication link with the target information post office. Specifically, the user side may stop sending the detection packet to the target information post office, disconnect a communication link with the target information post office after stopping sending the detection packet to the target information post office, and delete the service interface after disconnecting the communication link with the target information post office, thereby stopping communication with the target information post office.
According to the communication method of the man-machine interface of the user side in the embodiment, multiple intermittent communication can be carried out in the communication process with the target information post office, and the communication link can be disconnected in the communication interval, so that occupation of communication resources is avoided, and further the communication efficiency is improved.
Next, continuing to refer to fig. 2, as shown in fig. 2, a flowchart of a communication method of a human-machine interface at a user side of a narrowband internet of things according to a second embodiment of the present application is shown. The communication method of the man-machine interface of the user side of the narrowband internet of things in the embodiment comprises the following steps:
s201: and acquiring the IP address and interface information of the target information post office.
S202: and sending a link request to the target information post office according to the IP address and the interface information, and establishing a communication link with the target information post office.
S203: and creating a service interface, and carrying out multiple intermittent communication with the target information post office through the service interface and the communication link.
S204: before each communication with the destination information post office, it is determined whether or not the link state of the communication link is a disconnected state, and if the link state of the communication link is a disconnected state, the process proceeds to step S205, and if the link state of the communication link is not a disconnected state, the process proceeds to step S206.
S205: and generating link state feedback information and displaying the feedback information.
S206: and firstly sending a detection data packet to the target information post office, and communicating with the target information post office after receiving a response data packet of the detection data packet.
The communication method of the man-machine interface of the user side of the embodiment can carry out multiple intermittent communications in the communication process with the target information post office, and can disconnect the communication link in the communication interval, thereby avoiding the occupation of communication resources and further improving the communication efficiency. Meanwhile, in the discontinuous communication process, the data loss caused by direct communication is avoided by sending the detection data packet.
Fig. 3 is a flowchart of a communication method of a man-machine interface of an information post office of a narrowband internet of things according to a third embodiment of the present application. The communication method of the man-machine interface of the information post office comprises the following steps:
s301: and receiving a link request sent by a user side, and establishing a communication link with the user side.
In this embodiment, in the communication process between the user side and the information post office, after the information post office receives the link request sent by the user side, a communication link with the user side is established. The information post office can store the registration information of the user side, carries out identity recognition on the user side according to the registration information, and establishes a communication link with the user side when recognizing that the user side is the user side registered in the information post office. The user end and the information post office can communicate through the communication link, namely, the user end can send information to the information post office through the communication link, and the information post office can also send information to the user end through the communication link.
S302: and creating a service interface, and communicating with the user side through the service interface and the communication link.
After establishing a communication link with a user terminal, the information post office may create a service interface and send information to the user terminal through the created service interface, or may receive information sent by the user terminal through the created service interface. The service interface can be created by monitoring the link request sent by the user side and monitoring the link request sent by the user side. The service interface can be a programming interface (Socket), and the data exchange is realized by bidirectional communication connection between the programming interface and the user side, and meanwhile, the user side can also establish the programming interface (Socket) and is butted with the programming interface in the information post office.
S303: and receiving the detection data packet sent by the user side according to the preset time interval, and responding to the received detection data packet.
In the communication process between the information post office and the user terminal, the user terminal sends a detection data packet to the information post office according to the preset time interval through the communication link established in the steps so as to judge the communication quality of the communication link, thereby avoiding the data loss caused by directly transmitting data. After receiving the detection data packet sent by the user side, the information post office responds to the received detection data packet, namely responds to the currently received data packet, generates response information and sends the response information to the user side. The user side may determine the communication quality of the communication link according to whether the response information can be received or according to the integrity of the received response information.
As an optional embodiment of the communication method of the man-machine interface of the information post office, the communicating with the user terminal through the service interface and the communication link in the above embodiment includes:
performing multiple intermittent communications with the user side through the service interface and the communication link; and after receiving the detection data packet sent by the user side, sending a corresponding response data packet to the user side, and carrying out single communication with the user side. The user side can send information to the information post office intermittently, and the information post office responds to the information after receiving the information sent by the user side, so that the information post office can also carry out multiple intermittent communications with the user side through the service interface and the communication link. In addition, the information post office can also actively report data to the user side, and the reported data can also be sent intermittently.
As an optional embodiment of the communication method of the man-machine interface of the information post office, in the above embodiment, the method may further include: and judging the receiving state of the detection data packet, and stopping communicating with the user side when the detection data packet is stopped to be received.
The information post office can stop receiving the detection data packet sent by the user side, and actively disconnect the communication link with the user side when stopping receiving the detection data packet, thereby stopping communicating with the user side.
As an optional embodiment of the communication method of the man-machine interface of the information post office of the present application, the information post office may stop sending the response packet to the target information post office, and actively disconnect the communication link with the target information post office after stopping sending the response packet to the target information post office, thereby stopping communication with the user terminal.
In the above embodiment, after the information post office disconnects the communication link with the user side, the service interface created when the communication link is established may be deleted.
Next, continuing to refer to fig. 4, as shown in fig. 4, a structure diagram of a man-machine interface communication system of a narrowband internet of things according to a fourth embodiment of the present application is shown. The man-machine interface communication system of the narrowband internet of things in the embodiment comprises a user side 401 and an information post office 402, wherein the user side 401 can be provided with a man-machine interface, and can communicate with the information post office 402 through the man-machine interface. In this embodiment, when the user side 401 communicates with the information post office 402, the user side 401 is configured to obtain an IP address and interface information of the information post office 402, send a link request to the target information post office 402 according to the IP address and the interface information, establish a communication link with the target information post office 402, create a service interface for interfacing between the user side 401 and the information post office 402, and communicate with the service interface through the communication link.
In the communication process between the user side 401 and the information post office 402, the user side 401 sends a detection data packet to the target information post office 402 according to a preset time interval, the information post office 402 sends a response data packet to the user side 401 after receiving the detection data packet, and the link state of the communication link is controlled by sending the detection data packet and the response data packet.
The man-machine interface communication system of the narrowband internet of things in the embodiment can achieve the technical effects similar to those of the method embodiment, and details are not repeated here.
Fig. 5 is a schematic structural diagram of a user side of a human-machine interface communication system of a narrowband internet of things according to a fifth embodiment of the present application.
In this embodiment, a user side of the man-machine interface communication system of the narrowband internet of things may include an interface layer 501, a service logic layer 502, and a data access layer 503;
the interface layer 501 is configured to display data and receive data input by a user, the service logic layer 502 is configured to process different service logics, and the data access layer 503 is configured to process read-write operations of data according to processing results of the service logic layer 502 on the service logics;
the service logic layer 502 is located between the data access layer 503 and the interface layer 501, the data access layer 503 is located at the bottom, and the dependency relationship among the interface layer 501, the service logic layer 502 and the data access layer 503 is downward.
In this embodiment, the user side is divided into three layers of interfaces, so that the program programming structure is clearer, the coupling degree is low, the maintainability and the expandability are improved, the synchronous implementation of development tasks is facilitated, and the requirement change is easily adapted. Although the interfaces of the software are different, the functions underlying the interfaces are all consistent. Therefore, the interface layer 501 can be operated on different terminal devices to meet the requirements of different expression forms without changing the service logic layer 502 and the data access layer 503, thereby improving the user end practicability of the man-machine interface communication system.
In addition, as an optional embodiment of the user side of the man-machine interface communication system of the narrowband internet of things in the present application, in the above embodiment, the system may further include a data encapsulation object layer 504 between the interface layer 501 and the service logic layer 502, and between the service logic layer 502 and the data access layer 503, where the data encapsulation object layer 504 is used to unify the exchange formats of data between layers, so that data transmission between layers may be facilitated, and data transmission is simplified.
The above description is only a preferred embodiment of the application and is illustrative of the principles of the technology employed. It will be appreciated by those skilled in the art that the scope of the invention herein disclosed is not limited to the particular combination of features described above, but also encompasses other arrangements formed by any combination of the above features or their equivalents without departing from the spirit of the invention. For example, the above features may be replaced with (but not limited to) features having similar functions disclosed in the present application.

Claims (6)

1. A man-machine interface communication method applied to a narrow-band Internet of things is applied to a user side and is characterized by comprising the following steps:
acquiring an IP address and interface information of a target information post office;
sending a link request to the target information post office according to the IP address and the interface information, and establishing a communication link with the target information post office;
creating a service interface, and communicating with the target information post office through the service interface and the communication link; the service interface is a service interface specially used for communicating with the target information post office, and data interaction is carried out between the service interface and the target information post office only through the service interface;
in the process of communicating with the target information post office, sending a detection data packet to the target information post office according to a preset time interval, and judging whether the detection data packet is responded or not;
if the detection data packet is not responded, closing the service interface and simultaneously stopping communicating with the target information post office;
carrying out a plurality of times of intermittent communication with the target information post office through the service interface and the communication link;
before communicating with the target information post office each time, judging whether the link state of the communication link is a disconnected state; when the link state of the communication link is a disconnection state, generating link state feedback information and displaying the feedback information; and when the link state of the communication link is not in a disconnection state, sending a detection data packet to the target information post office, and communicating with the target information post office after receiving a response data packet of the detection data packet.
2. The method according to any one of claims 1, wherein the determining whether the detection packet is responded to specifically comprises:
detecting whether a response packet corresponding to the detection packet can be received or not, and judging that the detection packet is responded when the response packet corresponding to the detection packet can be received;
when a response packet corresponding to the detection packet cannot be received, it is determined that the detection packet is not responded to.
3. The method of claim 2, further comprising:
and judging the receiving state of the response data packet, and stopping communicating with the target information post office when the response data packet is stopped to be received.
4. The method of claim 1, further comprising:
and stopping sending the detection data packet to the target information post office, and disconnecting a communication link with the target information post office after stopping sending the detection data packet to the target information post office.
5. The method of claim 4, further comprising:
and deleting the service interface after the communication link with the target information post office is disconnected.
6. A man-machine interface communication method applied to a narrow-band Internet of things is applied to an information post office, and is characterized by comprising the following steps:
receiving a link request sent by a user side, and establishing a communication link with the user side;
creating a service interface, and communicating with the user side through the service interface and the communication link; the service interface is a programming interface (Socket) and is in bidirectional communication connection with the user side through the programming interface to realize data exchange;
receiving a detection data packet sent by the user side according to a preset time interval in the communication process with the user side, and responding to the received detection data packet;
performing multiple intermittent communications with the user side through the service interface and the communication link;
after receiving the detection data packet sent by the user side, sending a corresponding response data packet to the user side, and carrying out single communication with the user side;
and judging the receiving state of the detection data packet, actively disconnecting a communication link with the user side when the detection data packet is stopped being received, and stopping the communication with the user side.
CN201810056848.4A 2018-01-19 2018-01-19 Man-machine interface communication method and system applied to narrow-band Internet of things Active CN108337300B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810056848.4A CN108337300B (en) 2018-01-19 2018-01-19 Man-machine interface communication method and system applied to narrow-band Internet of things

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810056848.4A CN108337300B (en) 2018-01-19 2018-01-19 Man-machine interface communication method and system applied to narrow-band Internet of things

Publications (2)

Publication Number Publication Date
CN108337300A CN108337300A (en) 2018-07-27
CN108337300B true CN108337300B (en) 2021-03-12

Family

ID=62925842

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810056848.4A Active CN108337300B (en) 2018-01-19 2018-01-19 Man-machine interface communication method and system applied to narrow-band Internet of things

Country Status (1)

Country Link
CN (1) CN108337300B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109041262B (en) 2018-08-23 2020-06-16 Oppo广东移动通信有限公司 Data transmission method and related device

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1777280A (en) * 2005-12-07 2006-05-24 浙江工业大学 Video monitoring method for small hydropower station telemechanical system in narrowband network
CN101360010A (en) * 2008-09-19 2009-02-04 中山大学 Set-top box remote monitoring method based on internet service station
CN101383723A (en) * 2007-09-07 2009-03-11 深圳华为通信技术有限公司 Remote management method, apparatus and equipment
CN104066129A (en) * 2014-06-30 2014-09-24 深圳市中兴移动通信有限公司 Network switching method and system
CN106993059A (en) * 2017-05-25 2017-07-28 湖州中科星农科技有限公司 A kind of agriculture feelings monitoring system based on NB IoT
CN107370241A (en) * 2017-07-25 2017-11-21 厦门南鹏物联科技有限公司 A kind of distribution box third party monitoring system
CN107438291A (en) * 2016-05-26 2017-12-05 中兴通讯股份有限公司 Connection management method, SCEF entities, MME and the UE of a kind of small data transmission

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107529210A (en) * 2016-06-17 2017-12-29 财团法人资讯工业策进会 Narrow frequency Internet of things system and its advance signal transmission method

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1777280A (en) * 2005-12-07 2006-05-24 浙江工业大学 Video monitoring method for small hydropower station telemechanical system in narrowband network
CN101383723A (en) * 2007-09-07 2009-03-11 深圳华为通信技术有限公司 Remote management method, apparatus and equipment
CN101360010A (en) * 2008-09-19 2009-02-04 中山大学 Set-top box remote monitoring method based on internet service station
CN104066129A (en) * 2014-06-30 2014-09-24 深圳市中兴移动通信有限公司 Network switching method and system
CN107438291A (en) * 2016-05-26 2017-12-05 中兴通讯股份有限公司 Connection management method, SCEF entities, MME and the UE of a kind of small data transmission
CN106993059A (en) * 2017-05-25 2017-07-28 湖州中科星农科技有限公司 A kind of agriculture feelings monitoring system based on NB IoT
CN107370241A (en) * 2017-07-25 2017-11-21 厦门南鹏物联科技有限公司 A kind of distribution box third party monitoring system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
"基于窄带物联网的地下停车场灯控系统设计与实现";何苏利;《科技创新与应用》;20180116;106-107 *

Also Published As

Publication number Publication date
CN108337300A (en) 2018-07-27

Similar Documents

Publication Publication Date Title
WO2018192487A1 (en) Method and apparatus for controlling smart device linkage
US10409251B2 (en) Automatic inspection and monitoring method based on time domain slotting control
CN104144106B (en) A kind of message forwarding method, Apparatus and system
CN105183299A (en) Human-computer interface service processing system and method
CN116668402A (en) Intelligent cloud box access method, device, equipment and storage medium
CN113391559A (en) Smart home equipment control method and terminal equipment
CN109684148B (en) Airborne embedded software virtual bus communication construction method based on ARINC653
CN106200804B (en) Display method and system of intelligent terminal equipment
CN108337300B (en) Man-machine interface communication method and system applied to narrow-band Internet of things
CN103676922A (en) Remote diagnosis method
CN106559236B (en) Equipment resource management method and device of service board, main control board and frame type equipment
CN109683780A (en) Control method, system and the controlled terminal of mobile terminal
CN104301131A (en) Fault management method and device
CN104426715A (en) Distributed testing tool control method
CN103685353A (en) Method and device for managing terminal through gateway
CN103036911B (en) Business data processing system and business data processing method
CN112152879A (en) Network quality determination method and device, electronic equipment and readable storage medium
CN116389615A (en) Dual-protocol information transmission method, device and equipment based on same port
CN106326019A (en) PPT state notification method and system
CN105072166A (en) Service outlet and customer real-time interactive communication method and device
CN109271454A (en) A kind of method and the network equipment that data are synchronous
CN104657152A (en) Data transmission management method and electronic equipment
JP7447339B2 (en) Communication methods and systems in service management and orchestration
CN114846901B (en) Communication method, device, equipment and storage medium
CN109982121B (en) Set top box, cloud virtual system and equipment redirection method

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